[{"question": "Who was the prize winner when Mrs. Miniver got the Academy Award for Best Writing, Adapted Screenplay?", "choices": ["Canada\u2013Hong Kong relations", "Bolivia\u2013Brazil border", "15th Academy Awards", "South Sudan\u2013United States relations", "Australia\u2013Netherlands relations", "Ghana\u2013Russia relations", "Azerbaijan\u2013China relations", "25th Tony Awards", "Chad\u2013Sudan border", "Egypt\u2013Indonesia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mrs. Miniver"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mrs. Miniver\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "15th Academy Awards"}, {"question": "How many Pennsylvania counties have a population greater than 7800 or a population less than 40000000?", "choices": ["39", "40", "41", "42", "43", "44", "45", "46", "47", "48"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7800", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "40000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Pennsylvania"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"7800\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"40000000\"^^xsd:double ) .  } }", "answer": "39"}, {"question": "How many musical compositions are named Yellow Submarine?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Yellow Submarine"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical composition"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical composition\" . ?e <title> ?pv . ?pv <pred:value> \"Yellow Submarine\" .  }", "answer": "1"}, {"question": "What is the connection between Jewel (the one whose title is Jewel) to English?", "choices": ["foundational text", "drafted by", "afflicts", "Wikidata property", "honorific suffix", "original language of film or TV show", "donated by", "discoverer or inventor", "source of material", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jewel"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Jewel"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jewel\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Jewel\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Is 129586 the exploitation visa number of Bridget Jones's Diary?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bridget Jones's Diary"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["exploitation visa number"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["129586"]}], "sparql": "ASK { ?e <pred:name> \"Bridget Jones's Diary\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"129586\" .  }", "answer": "no"}, {"question": "What first-level administrative country subdivision has the subreddit northernterritory (this statement's language is English)?", "choices": ["Chiapas", "England", "Greater Poland Voivodeship", "Khyber Pakhtunkhwa", "Minas Gerais", "Northern Territory", "Punjab", "Lublin Voivodeship", "Podlaskie Voivodeship", "Upper Austria"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "northernterritory"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["first-level administrative country subdivision"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <subreddit> ?pv . ?pv <pred:value> \"northernterritory\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Northern Territory"}, {"question": "Seymour Cassel got nominated for Academy Award for best supporting actor, tell me the subject of this statement", "choices": ["Norway\u2013Saudi Arabia relations", "Greece\u2013Philippines relations", "Germany\u2013Republic of the Congo relations", "India\u2013Myanmar border", "Iran\u2013Israel relations", "China\u2013Russia border", "Albania\u2013China relations", "Iran\u2013Venezuela relations", "Jordan\u2013Pakistan relations", "41st Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seymour Cassel"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seymour Cassel\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "41st Academy Awards"}, {"question": "Does My Neighbor Totoro or Hannah Arendt, originally in German, possess the longer run-time?", "choices": ["The Hunchback of Notre Dame", "My Neighbor Totoro", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "Hannah Arendt", "Training Day", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Neighbor Totoro"]}, {"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hannah Arendt"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"My Neighbor Totoro\" .  } UNION { ?e <pred:name> \"Hannah Arendt\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"German\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hannah Arendt"}, {"question": "What is the higher education institution is headquartered in the city whose postal code is 20157", "choices": ["A.C. Milan", "McMaster University", "Heriot-Watt University", "505 Games", "University of Sheffield", "FC Inter Milan", "Columbia University Graduate School of Journalism", "Politecnico di Milano", "University of Birmingham", "Loyola Marymount University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "20157"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> \"20157\" .   }", "answer": "Politecnico di Milano"}, {"question": "What is the ISNI of the person who is a cast member in the character role of The Leader in The Incredible Hulk (that has Liv Tyler as a cast member)?", "choices": ["0000 0001 1029 3159", "0000 0001 2131 3303", "0000 0003 6851 5409", "0000 0000 6306 9938", "0000 0000 6302 4879", "0000 0001 0536 3773", "0000 0000 8096 0298", "0000 0000 8373 1140", "0000 0001 2029 2037", "0000 0001 1447 175X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liv Tyler"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Incredible Hulk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "The Leader"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Incredible Hulk\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Liv Tyler\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"The Leader\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2029 2037"}, {"question": "Did the New Jersey city bordering Teaneck have a population of 260000000 in the year 1910?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Teaneck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "1910"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["260000000", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Teaneck\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"260000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1910 .  }", "answer": "no"}, {"question": "How many film genres release region is the form of government whose Dewey Decimal Classification is 2--436?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--436"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "Relate", "dependencies": [2], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film genre"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"form of government\" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--436\" .   }", "answer": "1"}, {"question": "When was the debut show of the TV series that is the spin-off of Hercules, distributed by Walt Disney Studios Motion Pictures?", "choices": ["2009-12-26", "1949-04-07", "2005-08-08", "1909-01-25", "1969-11-10", "1976-09-05", "2002-03-12", "2007-10-15", "1999-03-26", "1998-09-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["series spin-off", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of first performance"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> \"Hercules\" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> \"Walt Disney Studios Motion Pictures\" .  ?e <date_of_first_performance> ?pv .  }", "answer": "1999-03-26"}, {"question": "When was Richard Widmark nominated for an Academy Award for Best Supporting Actor?", "choices": ["1933-06-16", "1957-12-01", "2003-08-01", "2010-07-01", "1972-01-25", "2018-11-14", "1947-01-01", "2008-12-01", "2019-01-12", "2005-11-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Widmark"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Widmark\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1947-01-01"}, {"question": "Was the Primetime Emmy Award nominated to Robin Williams in 1996 established at a date other than 1905?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robin Williams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1996", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Primetime Emmy Award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1905", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Robin Williams\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1996 . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1905 ) .  }", "answer": "yes"}, {"question": "What relation type does the disease suffered by Alan Alda map to?", "choices": ["Austin Powers: The Spy Who Shagged Me", "exact match", "broad match", "13.48.0.0/14", "275 beats per minute", "close match", "Michael Jackson", "2.16 percentage", "working language", "narrow match"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Alda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable people with this condition", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["UMLS CUI", "C0032371", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e <notable_people_with_this_condition> ?e_1 . ?e_1 <pred:name> \"Alan Alda\" .  ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0032371\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "exact match"}, {"question": "What is the connection between Little Shop of Horrors to John Candy?", "choices": ["performer", "officeholder", "designated as terrorist by", "studies", "art director", "cast member", "operating area", "theme music", "has parts of the class", "located in time zone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Little Shop of Horrors"]}, {"function": "Find", "dependencies": [], "inputs": ["John Candy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Little Shop of Horrors\" . ?e_2 <pred:name> \"John Candy\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many professions were created in 1789?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1789", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e <inception> ?pv . ?pv <pred:year> 1789 .  }", "answer": "2"}, {"question": "What was the cost of  The Maltese Falcon (the one that received National Film Registry)?", "choices": ["2479000 United States dollar", "163000000 United States dollar", "2777000 United States dollar", "5000000 United States dollar", "270000000 United States dollar", "300000 United States dollar", "691833 United States dollar", "800000 United States dollar", "185000000 United States dollar", "8291712 Russian ruble"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Maltese Falcon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Maltese Falcon\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"National Film Registry\" .  ?e <cost> ?pv .  }", "answer": "300000 United States dollar"}, {"question": "When was the visual artwork titled Mildred Pierce published?", "choices": ["1997-06-27", "2006-04-21", "2010-10-08", "1941-01-01", "1945-09-24", "1965", "1999-12-03", "1973-12-25", "1998-09-01", "2008-12-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Mildred Pierce"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Mildred Pierce\" . ?e <publication_date> ?pv .  }", "answer": "1945-09-24"}, {"question": "What town in the United States has the postal code 06880 and what is the area?", "choices": ["3798.08 square kilometre", "269.91 square kilometre", "407 square mile", "313.620528 square kilometre", "241038 square kilometre", "52.6 square kilometre", "204.51 square kilometre", "297.4 square kilometre", "92212 square kilometre", "33.45 square mile"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "06880"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"06880\" . ?e <area> ?pv .  }", "answer": "33.45 square mile"}, {"question": "Is 10 weeks not the length of the film titled Tough Guys Don't Dance?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Tough Guys Don't Dance"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["10 week", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Tough Guys Don't Dance\" . ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v != \"10\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What sovereign state is the country of the sovereign state whose country calling code is +677?", "choices": ["Kiribati", "Iceland", "Bangladesh", "People's Republic of China", "Bahamas", "Switzerland", "Solomon Islands", "East Timor", "Weimar Republic", "Mongolia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["country calling code", "+677"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <country_calling_code> ?pv . ?pv <pred:value> \"+677\" .   }", "answer": "Solomon Islands"}, {"question": "What is the IPTC Newscode of the sport of Johnny Yong Bosch?", "choices": ["mediatopic/20000682", "mediatopic/20001151", "mediatopic/20000320", "mediatopic/20000100", "mediatopic/20000268", "mediatopic/20000969", "mediatopic/20000685", "mediatopic/20000704", "mediatopic/20000452", "mediatopic/20000658"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johnny Yong Bosch"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPTC Newscode"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:name> \"Johnny Yong Bosch\" .  ?e <IPTC_Newscode> ?pv .  }", "answer": "mediatopic/20000969"}, {"question": "Does Dwayne Johnson or Kate Moss have the lower personal net worth?", "choices": ["Kate Moss", "James E. Reilly", "Paul Simon", "Richard Gere", "Sylvester Stallone", "Max Fleischer", "Dwayne Johnson", "Rahul Dev Burman", "Simon Cowell", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dwayne Johnson"]}, {"function": "Find", "dependencies": [], "inputs": ["Kate Moss"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dwayne Johnson\" .  } UNION { ?e <pred:name> \"Kate Moss\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kate Moss"}, {"question": "Bury My Heart at Wounded Knee is the title of the movie released in which region on 2007-05-20?", "choices": ["Toronto", "Thailand", "Taormina Film Fest", "Denmark", "Latvia", "Argentina", "Sorrento", "United States of America", "Seattle International Film Festival", "Mexico"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Bury My Heart at Wounded Knee"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-05-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Bury My Heart at Wounded Knee\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-05-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Which former French region has the smallest population and a population that is not equal to 97000?", "choices": ["Alsace", "Burgundy", "Nord-Pas-de-Calais", "Champagne-Ardenne", "Lower Normandy", "Languedoc-Roussillon", "Poitou-Charentes", "Lorraine", "Upper Normandy", "Aquitaine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "97000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"97000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Champagne-Ardenne"}, {"question": "Does Brownsville or Boston have the smaller population?", "choices": ["Brownsville", "Compton", "Franklin", "Lansing", "Columbus", "New Haven", "Boulder", "Waukegan", "Greenville", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brownsville"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brownsville\" .  } UNION { ?e <pred:name> \"Boston\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brownsville"}, {"question": "Afrikaans has influenced what number of languages?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Afrikaans"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Afrikaans\" .   }", "answer": "0"}, {"question": "Is Charlotte, population 82675, or mayor-led Chandler at a higher elevation?", "choices": ["Franklin", "Waukegan", "Lansing", "Columbus", "New Haven", "Oakland", "Compton", "Chandler", "Charlotte", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "82675", "="]}, {"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "Relate", "dependencies": [2], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chandler"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlotte\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"82675\"^^xsd:double . } UNION { ?e <pred:name> \"Chandler\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"mayor\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chandler"}, {"question": "What is the connection between Richard Harris (who is a teammate of the Chicago Bears) and defensive end?", "choices": ["director/manager", "mountain range", "position played on team / speciality", "replaces", "country", "commissioned by", "talk show guest", "history of topic", "political alignment", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago Bears"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Harris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["defensive end"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Harris\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Chicago Bears\" . ?e_2 <pred:name> \"defensive end\" . ?e_1 ?p ?e_2 .  }", "answer": "position played on team / speciality"}, {"question": "Was the visual artwork whose official website is http://www.youvegotmail.com published after 2011 in Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.youvegotmail.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2011", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.youvegotmail.com\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2011 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "no"}, {"question": "Sandoval County is related in what way to New Mexico, where 2010: The Year We Make Contact was filmed?", "choices": ["official color", "position held", "coextensive with", "located in the administrative territorial entity", "official residence", "league", "home world", "statistical leader", "has effect", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sandoval County"]}, {"function": "Find", "dependencies": [], "inputs": ["2010: The Year We Make Contact"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New Mexico"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sandoval County\" . ?e_2 <pred:name> \"New Mexico\" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> \"2010: The Year We Make Contact\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Tell me the one that has the smallest area within the Arizona county that you can find in Arizona (which shares a border with Sonora)", "choices": ["Mohave County", "Pima County", "Navajo County", "Coconino County", "Apache County", "Cochise County", "Santa Cruz County", "Yavapai County", "Pinal County", "Maricopa County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sonora"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Arizona"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Arizona\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Sonora\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "What is the connection between Keenen Ivory Wayans to screenwriter?", "choices": ["home world", "newspaper format", "medical condition", "risk factor", "main subject", "has contributing factor", "product or material produced", "appointed by", "occupation", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Keenen Ivory Wayans"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Keenen Ivory Wayans\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which British Museum person-institution designation belongs to the soccer team headquartered in Washington, D.C.?", "choices": ["129152", "26444", "48780", "170419", "51066", "118679", "94185", "182070", "38103", "182503"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Washington, D.C.\" .  ?e <British_Museum_person-institution> ?pv .  }", "answer": "170419"}, {"question": "Which television series has Twitter username PAFjp?", "choices": ["American Dad!", "Robot Chicken", "Training Day", "Phineas and Ferb", "Modern Family", "Glee", "Will & Grace", "Tiny Toon Adventures", "American Idol", "Batman Beyond"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "PAFjp"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"PAFjp\" .  }", "answer": "Phineas and Ferb"}, {"question": "Is wt79b93f2hk48sc the Libris-URI of the person whose ISNI is 0000 0001 2127 5298?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2127 5298"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["wt79b93f2hk48sc"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2127 5298\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"wt79b93f2hk48sc\" .  }", "answer": "no"}, {"question": "How is Sam Wood (the one that was nominated for Academy Award for Best Director) connected to English?", "choices": ["place of publication", "chairperson", "location of formation", "languages spoken, written or signed", "head of state", "programming language", "continent", "cites", "quotes work", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sam Wood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sam Wood\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Director\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Of metro areas occupying more than 2400 square miles, which is the biggest in terms of area?", "choices": ["Seattle metropolitan area", "New York metropolitan area", "Pittsburgh metropolitan area", "Miami metropolitan area", "Greater Los Angeles Area", "Washington metropolitan area", "Portland metropolitan area", "Greater St. Louis", "New Orleans metropolitan area", "Chicago metropolitan area"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2400 square mile", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"2400\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "New York metropolitan area"}, {"question": "Is 0.9 academic term not the running time of the film produced by Will Ferrell?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will Ferrell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0.9 academic term", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Will Ferrell\" .  ?e <duration> ?pv . ?pv <pred:unit> \"academic term\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Hal Smith (the one that is a cast member of Sesame Street) is in Winnie the Pooh (the one whose birth name is Edward Winnie-the-Pooh Bear), what is his end time as a performer?", "choices": ["1917-03-02", "1957-03-06", "1948-03-20", "2002-12-08", "1917-03-04", "1986", "2016-12-06", "1534-01-01", "1918-10-01", "2014-10-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winnie the Pooh"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Edward Winnie-the-Pooh Bear"]}, {"function": "Find", "dependencies": [], "inputs": ["Sesame Street"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hal Smith"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["performer", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Winnie the Pooh\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Edward Winnie-the-Pooh Bear\" . ?e_2 <pred:name> \"Hal Smith\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Sesame Street\" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1986"}, {"question": "How many cities are the place of publication of Hamlet (which publicates in Leipzig) or have a population greater than 5900000?", "choices": ["38", "39", "40", "41", "42", "43", "44", "45", "46", "47"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leipzig"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of publication", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamlet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of publication", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "5900000", ">"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["city"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" .  { ?e_1 <place_of_publication> ?e . ?e_1 <pred:name> \"Hamlet\" . ?e_1 <place_of_publication> ?e_2 . ?e_2 <pred:name> \"Leipzig\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"5900000\"^^xsd:double ) .  } }", "answer": "38"}, {"question": "For what work was Laurie Metcalf nominated for an Academy Award for Best Supporting Actress?", "choices": ["House of Flying Daggers", "Life or Something Like It", "The Ghost and the Darkness", "Lady Bird", "The Will Rogers Follies", "East of Eden", "My Cousin Vinny", "Temptation: Confessions of a Marriage Counselor", "Thief", "Lena...Lovely and Alive"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laurie Metcalf"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Laurie Metcalf\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Lady Bird"}, {"question": "Star Trek: The Animated Series is based on which TV series?", "choices": ["Mission: Impossible", "Edge of Darkness", "Search for Tomorrow", "Bleak House", "Red Dwarf", "Avatar: The Last Airbender", "24", "Robot Chicken", "American Horror Story", "Star Trek: The Original Series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Animated Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Star Trek: The Animated Series\" .   }", "answer": "Star Trek: The Original Series"}, {"question": "Which has less mass, Chuck Connors who is in the United States Army or Chris Carter of the Boston Red Sox?", "choices": ["Chuck Connors", "Chris Carter", "David Byrne", "William Henry Harrison", "Simon Cowell", "Sylvester Stallone", "Richard Gere", "Max Fleischer", "Paul Simon", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Army"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military branch", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chuck Connors"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Boston Red Sox"]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Carter"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chuck Connors\" . ?e <military_branch> ?e_1 . ?e_1 <pred:name> \"United States Army\" .   } UNION { ?e <pred:name> \"Chris Carter\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Boston Red Sox\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chuck Connors"}, {"question": "What is the area of Allegheny County?", "choices": ["1302.2 square kilometre", "1929 square kilometre", "1713 square kilometre", "58.0 square kilometre", "3389 square kilometre", "11819 square kilometre", "218 square kilometre", "91.345196 square kilometre", "12200 square kilometre", "873 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Allegheny County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Allegheny County\" . ?e <area> ?pv .  }", "answer": "1929 square kilometre"}, {"question": "For the pome that has the nutrient L-Arginine, what is the language associated with this creative work for its pronunciation audio of Nl-appel.ogg?", "choices": ["Dutch", "Modern Greek", "Ewe", "Standard Chinese", "Classical Latin", "Cook Islands M\u0101ori", "Welsh", "\u01c0Xam language", "Belgian French", "Latin script"], "program": [{"function": "Find", "dependencies": [], "inputs": ["L-Arginine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["pome"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pronunciation audio", "Nl-appel.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pome\" . ?e <nutrient> ?e_1 . ?e_1 <pred:name> \"L-Arginine\" .  ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Nl-appel.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Dutch"}, {"question": "How many Ohio counties occupy under 7500000 square km or partly include Redding?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "7500000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "Find", "dependencies": [], "inputs": ["Redding"]}, {"function": "Relate", "dependencies": [3], "inputs": ["partially contains", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Ohio"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" .  { ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"7500000\"^^xsd:double ) .  } UNION { ?e <partially_contains> ?e_1 . ?e_1 <pred:name> \"Redding\" .  } }", "answer": "28"}, {"question": "What language is associated with the subreddit Markham, belonging to the city that is the residence of Ben Johnson (who participated in the 1984 Summer Olympics)?", "choices": ["Bashkir", "Turkish", "Hungarian", "English", "British English", "Punjabi", "Austrian German", "Icelandic", "Indian English", "Estonian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1984 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["subreddit", "Markham", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Ben Johnson\" . ?e_1 <participant_of> ?e_2 . ?e_2 <pred:name> \"1984 Summer Olympics\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"Markham\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Was the person with the ISNI of 0000 0001 1612 6159 born before 1980?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1612 6159"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1980", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1612 6159\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) .  }", "answer": "yes"}, {"question": "What is the Deutsche Synchronkartei actor-ID of the person with CANTIC-ID a1182749x?", "choices": ["6976", "3314", "1649", "1477", "22148", "721", "6706", "221", "10046", "41803"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1182749x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1182749x\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv .  }", "answer": "1477"}, {"question": "How many Twitter subscribers does the account GunngerGale have which is used by Brian De Palma's spouse?", "choices": ["217755", "31", "4481308", "9298418", "460968", "2066115", "235870", "10677", "546", "4529196"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian De Palma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "GunnerGale", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Brian De Palma\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"GunnerGale\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "217755"}, {"question": "Which film has title The Phantom and whose producer is Robert Evans (the one that has the occupation of film producer) ?", "choices": ["The Cotton Club", "Pleasantville", "Chinatown", "Sliver", "The Fifth Element", "A Prairie Home Companion", "The Phantom", "The Towering Inferno", "Talk to Her", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Phantom"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Evans"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"The Phantom\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Robert Evans\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"film producer\" .  }", "answer": "The Phantom"}, {"question": "How many independent cities are an administrative division of the United States state that contains Portsmouth (whose official website is http://www.portsmouthva.gov/)?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portsmouth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.portsmouthva.gov/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent city"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"Portsmouth\" . ?e_3 <official_website> ?pv . ?pv <pred:value> \"http://www.portsmouthva.gov/\" .   }", "answer": "20"}, {"question": "Is Stefani Joanne Angelina Germanotta the birth name of the person who is influenced by Roscoe Arbuckle?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roscoe Arbuckle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Stefani Joanne Angelina Germanotta"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Roscoe Arbuckle\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Stefani Joanne Angelina Germanotta\" .  }", "answer": "no"}, {"question": "What is the time point of Australia (the one that has a diplomatic relation with Barbados) an ethnic group of English people?", "choices": ["2006-10-01", "2011", "2000-08-01", "1977", "1915-01-01", "2005-06-01", "1915", "1950-04-01", "1929", "1533-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barbados"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English people"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["ethnic group", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Australia\" . ?e_1 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> \"Barbados\" . ?e_2 <pred:name> \"English people\" . ?e_1 <ethnic_group> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ethnic_group> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "What does Hollywood Records have in common with United States of America?", "choices": ["material used", "child astronomical body", "narrative role", "field of work", "platform", "work location", "doctoral student", "manner of death", "business division", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hollywood Records"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hollywood Records\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When did Peter Pan (the one whose duration is 105 minute) receive the National Film Registry?", "choices": ["2000-01-01", "-1000", "2015-07-01", "2002-07-08", "2018-08-16", "1951-03-29", "1873", "1534", "2010-06-13", "1960-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Pan"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "105 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Pan\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"105\"^^xsd:double . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2000-01-01"}, {"question": "Of the geographic regions that were locations of War of the Austrian Succession which has the largest area?", "choices": ["Europe", "Pacific Ocean", "Africa", "Antarctica", "North America", "Transylvania", "Atlantic Canada", "Piedmont", "South America", "Southern California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War of the Austrian Succession"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <location> ?e . ?e_1 <pred:name> \"War of the Austrian Succession\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "North America"}, {"question": "Name all the animated feature films whose publication date is in 1988 and its duration not equal to 100 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1988", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["100 minute", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1988 . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"100\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which human has the ISNI 0000 0000 8188 8304 and 333584 subscribers under the Twitter username beck?", "choices": ["Simon Cowell", "Paul Simon", "Richard Gere", "Rahul Dev Burman", "Babyface", "William Henry Harrison", "Sylvester Stallone", "Beck", "James E. Reilly", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "beck"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "333584", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISNI", "0000 0000 8188 8304"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"beck\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"333584\"^^xsd:double . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8188 8304\" .  }", "answer": "Beck"}, {"question": "Does id Software or Valve Corporation have a larger work staff?", "choices": ["Backbone Entertainment", "Eidos Interactive", "Jaleco", "FromSoftware", "id Software", "Sonic Team", "Valve Corporation", "U.S. Gold", "Sierra Entertainment", "Irem"], "program": [{"function": "Find", "dependencies": [], "inputs": ["id Software"]}, {"function": "Find", "dependencies": [], "inputs": ["Valve Corporation"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"id Software\" .  } UNION { ?e <pred:name> \"Valve Corporation\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Valve Corporation"}, {"question": "for the person with the Instagram username of mattdillon, tell me his or her CANTIC-ID", "choices": ["a11752531", "a12345830", "a10073991", "a1130389x", "a11683971", "a10315214", "a11154731", "a11610037", "a11882542", "a10470736"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "mattdillon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"mattdillon\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a10073991"}, {"question": "What is the association of Alice in Wonderland (whose length is 88 minutes) with film based on literature?", "choices": ["appears in the form of", "film distribute region", "fabrication method", "licensed to broadcast to", "instrument", "approved by", "writing system", "notable work", "published in", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "88 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice in Wonderland\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"88\"^^xsd:double . ?e_2 <pred:name> \"film based on literature\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which is shorter: Phoenix, featuring cast member Brittany Murphy, or I Spy, the Golden Raspberry nominee for Worst Screen Couple/Ensemble?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "I Spy", "Rebecca", "Training Day", "Pleasantville", "The Towering Inferno", "Talk to Her", "Phoenix", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brittany Murphy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Phoenix"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screen Couple/Ensemble"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["I Spy"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Phoenix\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Brittany Murphy\" .   } UNION { ?e <pred:name> \"I Spy\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Screen Couple/Ensemble\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "I Spy"}, {"question": "What is the area os the city which WOEID is 2349680?", "choices": ["620 square mile", "30.522981 square kilometre", "1063 square kilometre", "204.51 square kilometre", "2324.26 square kilometre", "404.38 square kilometre", "60.06 square kilometre", "50.380248 square kilometre", "80.81 square kilometre", "899 square mile"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "2349680"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"2349680\" . ?e <area> ?pv .  }", "answer": "2324.26 square kilometre"}, {"question": "Is Christian Bale's ISNI 0000 0000 3999 5798?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christian Bale"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 3999 5798"]}], "sparql": "ASK { ?e <pred:name> \"Christian Bale\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3999 5798\" .  }", "answer": "no"}, {"question": "How many record labels have a start time not in 1964?", "choices": ["135", "136", "137", "138", "139", "140", "141", "142", "143", "144"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1964", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1964 ) .  }", "answer": "139"}, {"question": "Which movie is longer, Date Night or Big Fish?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "Pleasantville", "Date Night", "Training Day", "The Fifth Element", "Big Fish", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Date Night"]}, {"function": "Find", "dependencies": [], "inputs": ["Big Fish"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Date Night\" .  } UNION { ?e <pred:name> \"Big Fish\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Big Fish"}, {"question": "Is Viking metal's inception time in 1980?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Viking metal"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1980", "="]}], "sparql": "ASK { ?e <pred:name> \"Viking metal\" . ?e <inception> ?pv . ?pv <pred:year> 1980 .  }", "answer": "yes"}, {"question": "What has a longer duration, The Hauting which was published on 1999-10-14, or Man on the Moon?", "choices": ["Man on the Moon", "Talk to Her", "Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "Training Day", "Curse of the Golden Flower", "The Fifth Element", "The Towering Inferno", "The Haunting"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Haunting"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1999-10-14", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Man on the Moon"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Haunting\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1999-10-14\"^^xsd:date . } UNION { ?e <pred:name> \"Man on the Moon\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Man on the Moon"}, {"question": "What is the Instagram username of the person whose official website http://www.mariahcarey.com?", "choices": ["everton", "houstondynamo", "rosariodawson", "naomiwatts", "teacha_krsone", "mariahcarey", "warrenellis", "zenit_spb", "hilaryswank", "polimi"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.mariahcarey.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.mariahcarey.com\" . ?e <Instagram_username> ?pv .  }", "answer": "mariahcarey"}, {"question": "What fictional profession is from the movie where the official website is on http://wwws.warnerbros.co.uk/movies/catwoman/home.html?", "choices": ["Thor", "Hulk", "Sonic the Hedgehog", "Darwin", "Iron Man", "Batman", "Ghost Rider", "Frankenstein", "Superman", "Catwoman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://wwws.warnerbros.co.uk/movies/catwoman/home.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["fictional profession"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e_1 <based_on> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://wwws.warnerbros.co.uk/movies/catwoman/home.html\" .   }", "answer": "Catwoman"}, {"question": "How is Davis Entertainment related to John Davis (the producer of Chronicle)?", "choices": ["country", "opposite of", "geography of topic", "studies", "founded by", "conflict", "allegiance", "candidacy in election", "field of this occupation", "capital of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Davis Entertainment"]}, {"function": "Find", "dependencies": [], "inputs": ["Chronicle"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Davis Entertainment\" . ?e_2 <pred:name> \"John Davis\" . ?e_3 <producer> ?e_2 . ?e_3 <pred:name> \"Chronicle\" . ?e_1 ?p ?e_2 .  }", "answer": "founded by"}, {"question": "Regarding the sovereign state that is exported to Denmark, and its nominal GDP being 69032258.0645161 United States dollar, tell me its time point.", "choices": ["2010-09-15", "2011-12-27", "2010-12-01", "1989-12-01", "1999-01-01", "2004-03-01", "1699-12-01", "1963-01-01", "2010-05-01", "1971-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "69032258.0645161 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <exported_to> ?e_1 . ?e_1 <pred:name> \"Denmark\" .  ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"69032258.0645161\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "What is the connection between European Union to North America?", "choices": ["mother", "continent", "manufacturer", "works in collection", "subsidiary", "captain", "licensed to broadcast to", "said to be the same as", "drug used for treatment", "military casualty classification"], "program": [{"function": "Find", "dependencies": [], "inputs": ["European Union"]}, {"function": "Find", "dependencies": [], "inputs": ["North America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"European Union\" . ?e_2 <pred:name> \"North America\" . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "Is 0000 0001 0010 9610 the ISNI of the private school that U.K. citizen William Morris attended?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Morris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private school"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0000 0001 0010 9610"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"private school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"William Morris\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0010 9610\" .  }", "answer": "yes"}, {"question": "When was the person with ISNI 0000 0000 4113 8576 born?", "choices": ["1884-03-16", "1936-10-22", "1965-12-21", "1958-09-03", "1923-11-07", "1947-05-06", "1968-05-11", "1948-01-30", "1946-11-17", "1968-08-25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4113 8576"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 4113 8576\" . ?e <date_of_birth> ?pv .  }", "answer": "1923-11-07"}, {"question": "Is Dalton Trumbo the native name of the person who married Mel Brooks on 1964-08-05?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mel Brooks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1964-08-05", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Dalton Trumbo"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Mel Brooks\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1964-08-05\"^^xsd:date . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Dalton Trumbo\" .  }", "answer": "no"}, {"question": "Is http://www.west-chester.com the official website of the animated feature film titled \u05d5\u05d0\u05dc\u05e1 \u05e2\u05dd \u05d1\u05d0\u05e9\u05d9\u05e8?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u05d5\u05d0\u05dc\u05e1 \u05e2\u05dd \u05d1\u05d0\u05e9\u05d9\u05e8"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.west-chester.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u05d5\u05d0\u05dc\u05e1 \u05e2\u05dd \u05d1\u05d0\u05e9\u05d9\u05e8\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.west-chester.com\" .  }", "answer": "no"}, {"question": "When did Til Schweiger earn a SAG Award for Outstanding Performance by a Cast in a Motion Picture ?", "choices": ["2010", "2013", "1999-03-24", "2003-11-01", "1998-01-01", "2013-01-11", "2011-05-01", "1957-12-01", "1781", "2016-03-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Til Schweiger"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Til Schweiger\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "What is the Twitter username of the father of Asia Argento?", "choices": ["tamworthfc", "hornets", "united", "pamelaadlon", "beourguest", "DarioArgento", "jon_vitti", "BlueJays", "lsu", "rccelta"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asia Argento"]}, {"function": "Relate", "dependencies": [0], "inputs": ["father", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <father> ?e . ?e_1 <pred:name> \"Asia Argento\" .  ?e <Twitter_username> ?pv .  }", "answer": "DarioArgento"}, {"question": "Which film noir movie is titled Brighton Rock?", "choices": ["The Third Man", "The Grifters", "Pleasantville", "Rebecca", "Dressed to Kill", "Gaslight", "Chinatown", "Brighton Rock", "Talk to Her", "Dick Tracy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film noir"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Brighton Rock"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"film noir\" .  ?e <title> ?pv . ?pv <pred:value> \"Brighton Rock\" .  }", "answer": "Brighton Rock"}, {"question": "Which one among Maine, that border Washington County (the one that borders Aroostook County) are of the smallest size ?", "choices": ["York County", "Franklin County", "Hancock County", "Penobscot County", "Oxford County", "Somerset County", "Cumberland County", "Aroostook County", "Kennebec County", "Washington County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aroostook County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Maine"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Washington County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Aroostook County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hancock County"}, {"question": "Which has the smallest area among the unitary states whose population is less than 63000000?", "choices": ["Kazakhstan", "Greece", "Luxembourg", "Finland", "Monaco", "Liechtenstein", "Ukrainian Soviet Socialist Republic", "Moldova", "Malta", "Fiji"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "63000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"63000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monaco"}, {"question": "How is Mark Williams, the Victoria University of Wellington employee) related to the University of Auckland?", "choices": ["location of formation", "child astronomical body", "place of birth", "conferred by", "contributor(s) to the creative work", "operating system", "educated at", "designated as terrorist by", "hair color", "native language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victoria University of Wellington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Auckland"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mark Williams\" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> \"Victoria University of Wellington\" . ?e_2 <pred:name> \"University of Auckland\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Between Wild Wild West or Jack Reacher, released in Greece, which performed worse at the box office?", "choices": ["Talk to Her", "Pleasantville", "The Towering Inferno", "Training Day", "The Fifth Element", "Rebecca", "A Prairie Home Companion", "Jack Reacher", "Curse of the Golden Flower", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wild Wild West"]}, {"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Reacher"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wild Wild West\" .  } UNION { ?e <pred:name> \"Jack Reacher\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Greece\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jack Reacher"}, {"question": "When did Jena become part of the Weimar Republic?", "choices": ["1505-01-01", "1989-10-06", "1918-11-28", "1837-01-01", "2010-02-10", "1993-01-25", "2005-03-24", "1991-09-05", "1919-11-09", "2015-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jena"]}, {"function": "Find", "dependencies": [], "inputs": ["Weimar Republic"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jena\" . ?e_2 <pred:name> \"Weimar Republic\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1919-11-09"}, {"question": "How many ethnic communities are associated with Ben Kingsley?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Kingsley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic community"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ethnic community"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic community\" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"ethnic community\" . ?e_2 <ethnic_group> ?e_1 . ?e_2 <pred:name> \"Ben Kingsley\" .   }", "answer": "0"}, {"question": "When did Lou Reed receive the Rock and Roll Hall of Fame?", "choices": ["1996-11-20", "2017-03-01", "1858-12-01", "1920-01-01", "2015", "2016-01-04", "2006-07-01", "2015-06-01", "1940-10-01", "1835-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lou Reed"]}, {"function": "Find", "dependencies": [], "inputs": ["Rock and Roll Hall of Fame"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lou Reed\" . ?e_2 <pred:name> \"Rock and Roll Hall of Fame\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Which film director has acted as a cast member in An American in Paris?", "choices": ["M. Night Shyamalan", "William Henry Harrison", "Gene Kelly", "Leslie Caron", "Max Fleischer", "Mark Ruffalo", "Sylvester Stallone", "Franchot Tone", "Ajay Devgan", "Arnold Schwarzenegger"], "program": [{"function": "Find", "dependencies": [], "inputs": ["An American in Paris"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"An American in Paris\" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> \"film director\" .  }", "answer": "Gene Kelly"}, {"question": "What is the relationship between Mike Mills, who was educated at Cooper Union, and screenwriter?", "choices": ["dialect of", "territory overlaps", "health specialty", "donated by", "occupation", "has parts of the class", "properties for this type", "location of final assembly", "significant person", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cooper Union"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Mills"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mike Mills\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Cooper Union\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What year did the school that educated Mickey Rourke start?", "choices": ["1841", "1704-01-01", "1950-02-25", "1815", "1479", "1970-07-23", "1081", "1969-03-21", "1998-05-19", "1969"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mickey Rourke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Mickey Rourke\" .  ?e <inception> ?pv .  }", "answer": "1969"}, {"question": "Of movie genres with a run-time other than 480 minutes which is shortest?", "choices": ["heist film", "kung fu film", "Revisionist Western", "blaxploitation", "Hindi Film Industry", "film based on literature", "art film", "screwball comedy film", "Chicken Run", "neo-noir"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "480 minute", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"480\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chicken Run"}, {"question": "Is the number of out-of-school children in the unitary state whose IOC country code is CUB more than 50 as of the date 2008-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IOC country code", "CUB"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["number of out-of-school children", "point in time", "2008-01-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["50", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <IOC_country_code> ?pv_1 . ?pv_1 <pred:value> \"CUB\" . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"50\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2008-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How many sports seasons whose country is the sovereign state that contains Pennsylvania?", "choices": ["48", "49", "50", "51", "52", "53", "54", "55", "56", "57"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sports season"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Pennsylvania\" .   }", "answer": "49"}, {"question": "Is 0000 0001 2096 7890 John Ratzenberger's ISNI?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Ratzenberger"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 2096 7890"]}], "sparql": "ASK { ?e <pred:name> \"John Ratzenberger\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2096 7890\" .  }", "answer": "no"}, {"question": "Did the television series Batman end before 1995?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Batman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1995", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Batman\" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  }", "answer": "yes"}, {"question": "How is the James Stewart who died on 1957-05-23 related to England (a common property of people)?", "choices": ["foundational text", "country for sport", "platform", "lyrics by", "language of work or name", "partner", "occupant", "copyright holder", "part of the series", "dedicated to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Stewart"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1957-05-23", "="]}, {"function": "Find", "dependencies": [], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["properties for this type", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Stewart\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1957-05-23\"^^xsd:date . ?e_2 <pred:name> \"England\" . ?e_3 <properties_for_this_type> ?e_2 . ?e_3 <pred:name> \"human\" . ?e_1 ?p ?e_2 .  }", "answer": "country for sport"}, {"question": "How many popular musics are influenced by the band which has ISNI 0000 0001 2369 4269?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2369 4269"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["popular music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"band\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2369 4269\" .   }", "answer": "1"}, {"question": "What is the OCLC control number for Harry Potter and the Prisoner of Azkaban (the one that is a notable work of J. K. Rowling)?", "choices": ["220389620", "26502801", "16386945", "225632887", "137281452", "27417158", "304833", "5735281", "225632785", "124028290"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. K. Rowling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Prisoner of Azkaban"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["OCLC control number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Harry Potter and the Prisoner of Azkaban\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"J. K. Rowling\" .  ?e <OCLC_control_number> ?pv .  }", "answer": "225632887"}, {"question": "Which type of sport has IAB code 543?", "choices": ["freestyle skiing", "taekwondo", "skateboarding", "curling", "American football", "cross-country skiing", "association football", "auto racing", "biathlon", "water polo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "543"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"543\" .  }", "answer": "water polo"}, {"question": "What is St Edmund Hall's ISNI?", "choices": ["0000 0004 0388 9378", "0000 0001 0740 6917", "0000 0004 0514 226X", "0000 0000 8096 0714", "0000 0004 0376 062X", "0000 0001 1030 3150", "0000 0003 6853 7325", "0000 0001 2194 6055", "0000 0001 1490 0542", "0000 0001 2036 0247"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Edmund Hall"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"St Edmund Hall\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2194 6055"}, {"question": "When did the business with the official site of http://tecmo.co.jp dissolve?", "choices": ["2010-04-01", "2000-03-25", "2013-06-28", "2008", "2015-11-01", "1988", "1979-06-01", "1988-01-01", "1867-01-01", "1897"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tecmo.co.jp"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tecmo.co.jp\" . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "2010-04-01"}, {"question": "Was Jack Warner (the one whose date of death is 1950-08-23) not born in 1915?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Warner"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1950-08-23", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1915", "!="]}], "sparql": "ASK { ?e <pred:name> \"Jack Warner\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1950-08-23\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1915 ) .  }", "answer": "yes"}, {"question": "What language is associated with the official website http://www.morgan.edu of Morgan State University ?", "choices": ["Australian English", "American English", "Toki Pona", "Slavic languages", "Belgian French", "Breton", "English", "Hindi", "Ewe", "Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morgan State University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.morgan.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Morgan State University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.morgan.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which one is longer, De-Lovely or Dead Man", "choices": ["The Towering Inferno", "De-Lovely", "Rebecca", "A Prairie Home Companion", "Talk to Her", "The Hunchback of Notre Dame", "Pleasantville", "Training Day", "Dead Man", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["De-Lovely"]}, {"function": "Find", "dependencies": [], "inputs": ["Dead Man"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"De-Lovely\" .  } UNION { ?e <pred:name> \"Dead Man\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "De-Lovely"}, {"question": "What is the birth date of a person born in Kassel?", "choices": ["1943-03-15", "1923-11-06", "1887-07-28", "1902-12-05", "1889-04-16", "1947-08-15", "1761-01-25", "1924-08-31", "1946-01-01", "1935-11-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kassel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Kassel\" .  ?e <date_of_birth> ?pv .  }", "answer": "1946-01-01"}, {"question": "Which film has its number of episodes not equal to 160 and has the title Little Women?", "choices": ["Shackleton", "The Goodbye Girl", "The Music Man", "Samson and Delilah", "My-HiME", "Magic Knight Rayearth", "From Here to Eternity", "Little Women", "Chrono Crusade", "A Christmas Carol"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "160", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Little Women"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"160\"^^xsd:double ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Little Women\" .  }", "answer": "Little Women"}, {"question": "Is the unisex given/first name exemplified by Lynn Redgrave matched with the Cologne phonetic code 56 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lynn Redgrave"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unisex given name"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Cologne phonetics"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["56"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"unisex given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Lynn Redgrave\" .  ?e <Cologne_phonetics> ?pv . ?pv <pred:value> \"56\" .  }", "answer": "yes"}, {"question": "When did  John Hughes (the one that is a member of New York Rangers) become a member of the New York Rangers?", "choices": ["2004-06-05", "2000-11-17", "1990-01-01", "2013-11-18", "1803-02-19", "1797-11-04", "1980", "1621-09-25", "2009-03-17", "1956-12-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York Rangers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York Rangers"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Hughes\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"New York Rangers\" . ?e_2 <pred:name> \"New York Rangers\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1980"}, {"question": "How is How to Train Your Dragon whose official website is http://www.howtotrainyourdragongame.com/ related to multiplayer video game?", "choices": ["diaspora", "work location", "has dialect (DEPRECATED)", "mascot", "located in time zone", "heritage designation", "superhuman feature or ability", "member of", "season starts", "game mode"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How to Train Your Dragon"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.howtotrainyourdragongame.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"How to Train Your Dragon\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.howtotrainyourdragongame.com/\" . ?e_2 <pred:name> \"multiplayer video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "Which New York county that shares a border with Pennsylvania has the smallest land area?", "choices": ["Westchester County", "Albany County", "Warren County", "Tompkins County", "Rensselaer County", "Montgomery County", "Broome County", "Otsego County", "Oswego County", "Rockland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"New York\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Pennsylvania\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "When did the father of John Quincy Adams (the one that is an ethnic group of white people) die?", "choices": ["1961-10-22", "2007-11-28", "2008-03-31", "2002-12-25", "2015-07-31", "1826-07-04", "1946-04-21", "1949-09-22", "2008-09-15", "1821-02-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["white people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Quincy Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["father", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <father> ?e . ?e_1 <pred:name> \"John Quincy Adams\" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> \"white people\" .  ?e <date_of_death> ?pv .  }", "answer": "1826-07-04"}, {"question": "How many chemical compounds are said to be the same as the food whose pronunciation audio, in the Modern Greek language, is El-\u03b6\u03ac\u03c7\u03b1\u03c1\u03b7.ogg?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "El-\u03b6\u03ac\u03c7\u03b1\u03c1\u03b7.ogg"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "Modern Greek"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["food"]}, {"function": "Relate", "dependencies": [3], "inputs": ["said to be the same as", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["chemical compound"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"food\" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> \"El-\u03b6\u03ac\u03c7\u03b1\u03c1\u03b7.ogg\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Modern Greek\" .   }", "answer": "1"}, {"question": "How many subscribers do the Los Angeles Lakers have under their Twitter username of Lakers?", "choices": ["7450611", "280965", "235870", "80208", "93", "587756", "449", "13687", "6", "8048485"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Lakers"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "Lakers", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Los Angeles Lakers\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Lakers\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "7450611"}, {"question": "Which area is larger, Washington County (the one that is located in Iowa) or Washington County (the one that shares border with Dakota County)?", "choices": ["Kent County", "Delaware County", "Washington County", "Washington County", "Washoe County", "San Juan County", "Cass County", "Lee County", "Greene County", "African Union"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iowa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dakota County"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Iowa\" .   } UNION { ?e <pred:name> \"Washington County\" . ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> \"Dakota County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Washington County"}, {"question": "How is Qantas related to the Boeing 737?", "choices": ["office contested", "twinned administrative body", "replaced by", "lyrics by", "airline hub", "sidekick of", "item operated", "work location", "manufacturer", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Qantas"]}, {"function": "Find", "dependencies": [], "inputs": ["Boeing 737"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Qantas\" . ?e_2 <pred:name> \"Boeing 737\" . ?e_1 ?p ?e_2 .  }", "answer": "item operated"}, {"question": "When was The Big Bang Theory a SAG Award nominee for Outstanding Performance by a Female Actor in a Comedy Series?", "choices": ["2016-03-01", "1867-12-01", "2007-04-18", "2014-11-01", "1970-04-01", "2001-03-11", "2014", "2014-04-01", "1740", "2012-04-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Big Bang Theory"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Comedy Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Big Bang Theory\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Comedy Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2014"}, {"question": "What award was won by Joss Whedon in 2013?", "choices": ["Saturn Award for Best Director", "Independent Spirit Award for Best Female Lead", "Genie Award for Best Achievement in Editing", "Academy Award for Best Supporting Actor", "Grammy Award for Best Reggae Album", "AACTA Award for Best Actress in a Leading Role", "Latin Grammy Award for Best Male Pop Vocal Album", "Royal Victorian Chain", "Grammy Award for Best Metal Performance", "Golden Globe Award for Best Animated Feature Film"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joss Whedon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2013", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Joss Whedon\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2013 .  }", "answer": "Saturn Award for Best Director"}, {"question": "Is Chris Thile officially connected with the website at http://www.comedycentral.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Thile"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.comedycentral.com/"]}], "sparql": "ASK { ?e <pred:name> \"Chris Thile\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.comedycentral.com/\" .  }", "answer": "no"}, {"question": "What is the connection between Chris Newman (the one that is the citizen of United Kingdom) to English?", "choices": ["family name", "applies to jurisdiction", "film release region", "vehicle normally used", "main food source", "business division", "influenced by", "medical condition", "languages spoken, written or signed", "properties for this type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Newman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Newman\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Which movie is longer, King Kong (the one whose publication date is 1976-12-25) or The Impossible?", "choices": ["Training Day", "Rebecca", "King Kong", "Pleasantville", "The Impossible", "The Fifth Element", "A Prairie Home Companion", "The Towering Inferno", "The Hunchback of Notre Dame", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King Kong"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1976-12-25", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Impossible"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"King Kong\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1976-12-25\"^^xsd:date . } UNION { ?e <pred:name> \"The Impossible\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "King Kong"}, {"question": "For the U.S. city whose postal code is 65800\u201365899, is its ISNI 0000 0004 4661 4753?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "65800\u201365899"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0004 4661 4753"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"65800\u201365899\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 4661 4753\" .  }", "answer": "yes"}, {"question": "How is  MTV Movie Award for Best Villain related to Stephen Dorff ?", "choices": ["use", "coextensive with", "winner", "opposite of", "geography of topic", "ancestral home", "location", "natural product of taxon", "said to be the same as", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Villain"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Dorff"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"MTV Movie Award for Best Villain\" . ?e_2 <pred:name> \"Stephen Dorff\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Is the movie with a cast including Blake Edwards titled The Best Years of Our Lives ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Blake Edwards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["The Best Years of Our Lives"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Blake Edwards\" .  ?e <title> ?pv . ?pv <pred:value> \"The Best Years of Our Lives\" .  }", "answer": "yes"}, {"question": "What language is used in http://www.udechile.cl/, the official website of an association football club whose Twitter username is udechile (the subscription number of this statement is 530070) ?", "choices": ["Punjabi", "Spanish", "Yue Chinese", "Ewe", "German", "Hebrew", "Chinese", "Thai", "Polish", "Valencian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "udechile"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "530070", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.udechile.cl/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"udechile\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"530070\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.udechile.cl/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Spanish"}, {"question": "Which academic discipline is associated with the OSM tag or key Tag:healthcare:speciality=community?", "choices": ["public health", "biochemistry", "psychiatry", "motivational speaking", "neuroscience", "architecture", "Yellow Submarine", "soprano", "English Studies", "choir"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:healthcare:speciality=community"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:healthcare:speciality=community\" .  }", "answer": "public health"}, {"question": "Is 853716 the population of East Timor as of 1994?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Timor"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "1994"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["853716", "="]}], "sparql": "ASK { ?e <pred:name> \"East Timor\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"853716\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1994 .  }", "answer": "yes"}, {"question": "Is sonic20th the Twitter username having 31585 subscribers for the activity containing Sonic the Hedgehog (whose publication date is 1991-10-25)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1991-10-25", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of the series", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["activity"]}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["Twitter username", "number of subscribers", "31585"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["sonic20th"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"Sonic the Hedgehog\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1991-10-25\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"sonic20th\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"31585\"^^xsd:double .  }", "answer": "yes"}, {"question": "How many fictional universes are famous Frank Gehry creations from later than 1992?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Gehry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional universe"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1992", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional universe"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional universe\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Frank Gehry\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1992 ) .  }", "answer": "0"}, {"question": "What is the unemployment rate of Romania (the one whose maritime identification digits is 264)?", "choices": ["3.8 percentage", "23 percentage", "1 percentage", "17.3 percentage", "16.0 percentage", "60 percentage", "7 percentage", "15 percentage", "11.7 percentage", "7.3 percentage"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Romania"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["maritime identification digits", "264"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["unemployment rate"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Romania\" . ?e <maritime_identification_digits> ?pv_1 . ?pv_1 <pred:value> \"264\" . ?e <unemployment_rate> ?pv .  }", "answer": "7 percentage"}, {"question": "How was it determined that Fayette County (the one whose area is 2067 square kilometre) has a population of 136482?", "choices": ["2010 United States Census", "lead-lead dating", "resident registration", "estimation process", "Canada 2011 Census", "Census", "2000 United States Census", "questionnaire", "Family record booklet", "United Kingdom Census 1971"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fayette County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2067 square kilometre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "136482", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Fayette County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2067\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"136482\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the kinship between Sharmila Tagore and Kareena Kapoor?", "choices": ["uncle", "sister's husband", "grandson", "cousin", "adopted son", "mother-in-law", "brother-in-law", "daughter-in-law", "female first cousin", "male first cousin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sharmila Tagore"]}, {"function": "Find", "dependencies": [], "inputs": ["Kareena Kapoor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["relative", "type of kinship"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sharmila Tagore\" . ?e_2 <pred:name> \"Kareena Kapoor\" . ?e_1 <relative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e_2 ] <type_of_kinship> ?qpv .  }", "answer": "daughter-in-law"}, {"question": "Fame, originally in French, has what connection to Holland Taylor?", "choices": ["cast member", "position held", "participant", "appears in the form of", "soundtrack album", "professional or sports partner", "sport", "located in or next to body of water", "has cause", "designed to carry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Holland Taylor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fame\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"French\" . ?e_2 <pred:name> \"Holland Taylor\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the ISNI of the person that is the screen writer of Lawrence of Arabia?", "choices": ["0000 0001 2323 3518", "0000 0001 2320 6333", "0000 0001 1479 8373", "0000 0001 2157 2540", "0000 0001 2148 6597", "0000 0001 2133 9554", "0000 0003 6863 8767", "0000 0001 1444 4161", "0000 0001 1810 0067", "0000 0004 0420 8837"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence of Arabia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Lawrence of Arabia\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1479 8373"}, {"question": "Does Zac Efron or Jacob Gedleyihlekisa Zuma have the lower net worth?", "choices": ["Zac Efron", "Paul Simon", "Richard Gere", "Sylvester Stallone", "Jacob Gedleyihlekisa Zuma", "Rahul Dev Burman", "Simon Cowell", "James E. Reilly", "David Byrne", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zac Efron"]}, {"function": "Find", "dependencies": [], "inputs": ["Jacob Gedleyihlekisa Zuma"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Zac Efron\" .  } UNION { ?e <pred:name> \"Jacob Gedleyihlekisa Zuma\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Zac Efron"}, {"question": "How many Golden Raspberry Awards have won Barry Sonnenfeld or whose have been awarded before 1994?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barry Sonnenfeld"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Raspberry Awards"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1994", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Golden Raspberry Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Raspberry Awards\" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Barry Sonnenfeld\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  } }", "answer": "9"}, {"question": "What film composer has an ISNI number of 0000 0001 1462 2474?", "choices": ["Iron Man 2", "Blues Brothers 2000", "One Flew Over the Cuckoo's Nest", "Elektra", "The Goodbye Girl", "Licence to Kill", "American Wedding", "Imagine That", "The Robe", "Carrie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1462 2474"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <composer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1462 2474\" .   }", "answer": "Blues Brothers 2000"}, {"question": "What is the number of hip hop music with the inception time in 1997 and that has famous people Kanye West?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1997", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hip hop music"]}, {"function": "Find", "dependencies": [], "inputs": ["Kanye West"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hip hop music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" . ?e <inception> ?pv . ?pv <pred:year> 1997 . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Kanye West\" .  }", "answer": "0"}, {"question": "What film has Tilde Swinton in the cast and was distributed by StudioCanal?", "choices": ["Vanilla Sky", "Michael Clayton", "Julia", "Rebecca", "Constantine", "Winchester", "Paris", "A Prairie Home Companion", "Paddington", "Burn After Reading"], "program": [{"function": "Find", "dependencies": [], "inputs": ["StudioCanal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Tilda Swinton"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"StudioCanal\" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Tilda Swinton\" .  }", "answer": "Julia"}, {"question": "Which has a lesser duration, Think like a Man or American Splendor?", "choices": ["The Towering Inferno", "A Prairie Home Companion", "Think like a Man", "The Hunchback of Notre Dame", "Rebecca", "Talk to Her", "American Splendor", "Pleasantville", "Training Day", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Think like a Man"]}, {"function": "Find", "dependencies": [], "inputs": ["American Splendor"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Think like a Man\" .  } UNION { ?e <pred:name> \"American Splendor\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "American Splendor"}, {"question": "Which award was received by the manifestation (which ended on 1857-09-12) titled \"New-York Daily Times\" (the end time of this statement is 1857-09-12)?", "choices": ["Independent Spirit Award for Best Female Lead", "Genie Award for Best Achievement in Editing", "Pulitzer Prize for Public Service", "Grammy Award for Record of the Year", "Grammy Award for Best Reggae Album", "Golden Globe Award for Best Animated Feature Film", "Latin Grammy Award for Best Male Pop Vocal Album", "Grammy Award for Best Metal Performance", "Grammy Award for Best Latin Pop Album", "Grammy Award for Best Remixed Recording, Non-Classical"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "New-York Daily Times"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1857-09-12", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["manifestation"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"manifestation\" . ?e_1 <title> ?pv . ?pv <pred:value> \"New-York Daily Times\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <title> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:date> \"1857-09-12\"^^xsd:date .   }", "answer": "Pulitzer Prize for Public Service"}, {"question": "How is the Microsoft Windows release of Z related to multiplayer video game?", "choices": ["territory overlaps", "heritage designation", "game mode", "eye color", "shares border with", "publisher", "partner", "composer", "academic degree", "chairperson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Microsoft Windows"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Z"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Z\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"Microsoft Windows\" . ?e_2 <pred:name> \"multiplayer video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "Who is shorter, Keith Urban or Stephen Graham (the one whose date of birth is 1982-06-11)?", "choices": ["William Henry Harrison", "Simon Cowell", "Keith Urban", "Sylvester Stallone", "Paul Simon", "David Byrne", "Richard Gere", "Stephen Graham", "Max Fleischer", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Keith Urban"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Graham"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of birth", "1982-06-11", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Keith Urban\" . } UNION { ?e <pred:name> \"Stephen Graham\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1982-06-11\"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Keith Urban"}, {"question": "Did the Academy Awards ceremony whose edition number is 74 not take place in 2005?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "74"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2005", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"74\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  }", "answer": "yes"}, {"question": "What is the connection between Judas Priest and the 52nd Annual Grammy Awards?", "choices": ["continent", "award received", "risk factor", "located on astronomical location", "allegiance", "mascot", "location of formation", "characters", "writing system", "broadcast by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judas Priest"]}, {"function": "Find", "dependencies": [], "inputs": ["52nd Annual Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Judas Priest\" . ?e_2 <pred:name> \"52nd Annual Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which has a smaller population, Kansai region or Oceania?", "choices": ["Oceania", "South America", "Lake District", "Antarctica", "Transylvania", "Southern California", "Piedmont", "Africa", "Kansai region", "Pacific Ocean"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kansai region"]}, {"function": "Find", "dependencies": [], "inputs": ["Oceania"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kansai region\" .  } UNION { ?e <pred:name> \"Oceania\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kansai region"}, {"question": "What is the relationship between Roger Deakins and the Order of the British Empire?", "choices": ["student", "successful candidate", "license", "family", "lowest point", "film regional debut venue", "product or material produced", "parent club", "award received", "dedicated to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roger Deakins"]}, {"function": "Find", "dependencies": [], "inputs": ["Order of the British Empire"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Roger Deakins\" . ?e_2 <pred:name> \"Order of the British Empire\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Did the person who succumbed to dyspnea die subsequent to 1975 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dyspnea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1975", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> \"dyspnea\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1975 ) .  }", "answer": "yes"}, {"question": "When did the US city and capital of Mobile County record a population of 195,111?", "choices": ["850", "2005-03-23", "2015-10-28", "2016-10-23", "1985-03-05", "1998-12-23", "1940-12-31", "2010-01-01", "2000-05-10", "2011-07-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mobile County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "195111", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Mobile County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"195111\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "What is the language of http://www.miamioh.edu, the official website of Miami University?", "choices": ["Ukrainian", "Latin", "Norwegian", "Lower Sorbian", "Serbian", "Corsican", "Bavarian", "English", "Yue Chinese", "Putonghua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miami University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.miamioh.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Miami University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.miamioh.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the postal code of  United States Naval Academy's headquarter located in Annapolis (the one whose elevation (above sea level) is 12 metre) ?", "choices": ["19141-1199", "21402", "211003", "94132", "8046", "23432\u201323439", "93057", "75023\u201375094", "SS1", "52076"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Naval Academy"]}, {"function": "Find", "dependencies": [], "inputs": ["Annapolis"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "12 metre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"United States Naval Academy\" . ?e_2 <pred:name> \"Annapolis\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"12\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "21402"}, {"question": "When was an individual born in Puerto Rico (population 2684150)?", "choices": ["1957-02-01", "1963-11-03", "1967-06-07", "1769-08-15", "1928-02-22", "1561-01-22", "1970-11-09", "1927-03-06", "1970-08-19", "1957-01-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Puerto Rico"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2684150", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Puerto Rico\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2684150\"^^xsd:double . ?e <date_of_birth> ?pv .  }", "answer": "1970-08-19"}, {"question": "Is 072200000 the Philippine Standard Geographic Code of the city that is an administrative division of Cebu ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cebu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Philippine Standard Geographic Code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["072200000"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Cebu\" .  ?e <Philippine_Standard_Geographic_Code> ?pv . ?pv <pred:value> \"072200000\" .  }", "answer": "no"}, {"question": "How is Reliance Entertainment related to Dinner for Schmucks ?", "choices": ["film crew member", "series spin-off", "symptoms", "studies", "producer", "significant event", "production company", "item operated", "place served by transport hub", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dinner for Schmucks"]}, {"function": "Find", "dependencies": [], "inputs": ["Reliance Entertainment"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dinner for Schmucks\" . ?e_2 <pred:name> \"Reliance Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "Is the date of birth of the human that is the member of Duran Duran (beginning in 2001) on 1907-02-03?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duran Duran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2001", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyDate", "dependencies": [4], "inputs": ["1907-02-03", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Duran Duran\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2001 . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1907-02-03\"^^xsd:date .  }", "answer": "no"}, {"question": "Who was the Prime Minister of the United Kingdom prior to David Lloyd George?", "choices": ["Margaret Thatcher", "H. H. Asquith", "William Henry Harrison", "Max Fleischer", "Richard Gere", "Winston Churchill", "David Byrne", "Sylvester Stallone", "William Pitt the Younger", "Gordon Brown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prime Minister of the United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["replaced by", "David Lloyd George"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_held> ?e_1 . ?e_1 <pred:name> \"Prime Minister of the United Kingdom\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <replaced_by> ?qpv . ?qpv <pred:value> \"David Lloyd George\" .  }", "answer": "H. H. Asquith"}, {"question": "Which national association football team has the official website http://www.gff.ge/?", "choices": ["Paraguay national football team", "Greece national football team", "France national football team", "India national football team", "Georgia national football team", "South Korea national football team", "Republic of Ireland national football team", "Wales national football team", "Thailand national football team", "Canada men's national soccer team"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.gff.ge/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.gff.ge/\" .  }", "answer": "Georgia national football team"}, {"question": "What has a longer duration, Sayonara or Cruel Intentions?", "choices": ["The Fifth Element", "Pleasantville", "A Prairie Home Companion", "Sayonara", "Rebecca", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her", "Training Day", "Cruel Intentions"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sayonara"]}, {"function": "Find", "dependencies": [], "inputs": ["Cruel Intentions"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sayonara\" .  } UNION { ?e <pred:name> \"Cruel Intentions\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sayonara"}, {"question": "What is the relation of Hugh Hefner to the United States of America?", "choices": ["instrumentation", "fictional universe described in", "godparent", "signatory", "has immediate cause", "languages spoken, written or signed", "creator", "country of origin", "contributing factor of", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Hefner"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hugh Hefner\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the connection between Trier to Gloucester (the one whose official website is http://www.gloucester.gov.uk/)?", "choices": ["twinned administrative body", "office held by head of government", "place of burial", "start point", "followed by", "family name", "airline alliance", "professorship", "place of publication", "license"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trier"]}, {"function": "Find", "dependencies": [], "inputs": ["Gloucester"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.gloucester.gov.uk/"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Trier\" . ?e_2 <pred:name> \"Gloucester\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://www.gloucester.gov.uk/\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "The person with the native name Richard Wright Nowels Jr. is famously associated with how many guitars ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Richard Wright Nowels Jr."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["guitar"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"guitar\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Richard Wright Nowels Jr.\" .   }", "answer": "2"}, {"question": "Did Arlington County occupy other than 450000000 square meters in 2002?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arlington County"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["area", "point in time", "2002"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["450000000 square metre", "!="]}], "sparql": "ASK { ?e <pred:name> \"Arlington County\" . ?e <area> ?pv . ?pv <pred:unit> \"square metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"450000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2002 .  }", "answer": "no"}, {"question": "What's the relationship between Geoff Johns and Los Angeles?", "choices": ["use", "political alignment", "next lower rank", "rector", "illustrator", "father", "lifestyle", "Wikidata property", "start point", "residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geoff Johns"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Geoff Johns\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "How many 13th editions of the Winter Olympics have the official website www.olympic.org/squaw-valley-1960?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "13"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Winter Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.olympic.org/squaw-valley-1960"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Winter Olympic Games"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Winter Olympic Games\" . ?e <edition_number> ?pv . ?pv <pred:value> \"13\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.olympic.org/squaw-valley-1960\" .  }", "answer": "0"}, {"question": "59th Golden Globe winner Harrison Ford is cast as which character on Star Wars Episode IV: A New Hope, released in Taiwan?", "choices": ["Simon Adebisi", "Gabriella Montez", "Brian Griffin", "Han Solo", "The Emperor of China", "Justin Hammer", "Prince Barin", "William Bludworth", "Guy Banister", "Professor Vinick"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode IV: A New Hope"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["59th Golden Globe Awards"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harrison Ford"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Wars Episode IV: A New Hope\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Taiwan\" . ?e_2 <pred:name> \"Harrison Ford\" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> \"59th Golden Globe Awards\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Han Solo"}, {"question": "What is the film titled Jenter?", "choices": ["Girls", "Speed 2: Cruise Control", "The Dark Knight", "Talk to Her", "The Usual Suspects", "The Goonies", "The Haunting", "Pleasantville", "A Prairie Home Companion", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Jenter"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Jenter\" .  }", "answer": "Girls"}, {"question": "How are the New York Red Bulls related to the United States of America?", "choices": ["derivative work", "owner of", "position played on team / speciality", "sidekick of", "significant event", "child", "season starts", "nutrient", "health specialty", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York Red Bulls"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"New York Red Bulls\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which movie is titled Spider-Man 3?", "choices": ["A Prairie Home Companion", "The Turning Point", "Spider-Man 3", "The Thin Red Line", "Rebecca", "Talk to Her", "Samson and Delilah", "The Human Stain", "Pleasantville", "Little Miss Sunshine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Spider-Man 3"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Spider-Man 3\" .  }", "answer": "Spider-Man 3"}, {"question": "Does Dunedin or Mosul have the lower elevation relative to sea level?", "choices": ["Mosul", "Kingston", "Santo Domingo", "Cork", "Dundee", "Kilkenny", "Bergen", "Abidjan", "Chihuahua", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dunedin"]}, {"function": "Find", "dependencies": [], "inputs": ["Mosul"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dunedin\" .  } UNION { ?e <pred:name> \"Mosul\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mosul"}, {"question": "When did Peter Capaldi start living in London, the birthplace of Imelda Staunton?", "choices": ["1805-06-04", "1845-03-04", "2017-01-30", "2008-08-08", "1996-04-01", "1994-04-13", "1871", "1983", "1993-09-01", "1945-10-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Capaldi"]}, {"function": "Find", "dependencies": [], "inputs": ["Imelda Staunton"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["residence", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Capaldi\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Imelda Staunton\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1983"}, {"question": "What is the title of The Hunchback of Notre Dame (the one whose script is wrote by Ben Hecht)?", "choices": ["Notre-Dame de Paris", "Resident Evil: Afterlife", "Rabindranath Tagore", "The Shipping News", "Mr. Nobody", "15 Minutes", "The Hunchback of Notre Dame", "Sole", "Taking Woodstock", "Strictly Ballroom"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Hecht"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hunchback of Notre Dame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Hunchback of Notre Dame\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Ben Hecht\" .  ?e <title> ?pv .  }", "answer": "Notre-Dame de Paris"}, {"question": "Cast member Uma Thurman played what character on Batman & Robin, which received a Golden Raspberry Award for Worst Supporting Actress?", "choices": ["Idi Amin", "Linus Caldwell", "Mikaela Banes", "Jonathan Harker", "Rubin Carter", "Mister Fantastic", "John Dillinger", "Lucy Pevensie", "Poison Ivy", "Jamie Madrox"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman & Robin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Uma Thurman"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Batman & Robin\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" . ?e_2 <pred:name> \"Uma Thurman\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Poison Ivy"}, {"question": "What is the role of TOID of 4000000074550040 in relation to a county town where Thomas Hardy (the one that is buried in Westminster Abbey) was deceased?", "choices": ["sovereign state", "human settlement", "town", "librarian", "Member states of the United Nations", "director", "singer", "soundtrack", "lead guitarist", "honorary member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Westminster Abbey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Hardy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county town"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["TOID", "4000000074550040", "subject has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Thomas Hardy\" . ?e_1 <place_of_burial> ?e_2 . ?e_2 <pred:name> \"Westminster Abbey\" .  ?e <TOID> ?pv . ?pv <pred:value> \"4000000074550040\" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }", "answer": "human settlement"}, {"question": "What does Battlestar Galactica (which originally aired on Sky 1) have to do with Glen A. Larson?", "choices": ["grants", "platform", "twinned administrative body", "eye color", "exported to", "sport", "award received", "relative", "creator", "significant event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sky 1"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battlestar Galactica"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Glen A. Larson"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Battlestar Galactica\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"Sky 1\" . ?e_2 <pred:name> \"Glen A. Larson\" . ?e_1 ?p ?e_2 .  }", "answer": "creator"}, {"question": "What is the mobile country code of Moldova?", "choices": ["402", "246", "259", "452", "655", "714", "235", "280", "634", "405"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moldova"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["mobile country code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Moldova\" . ?e <mobile_country_code> ?pv .  }", "answer": "259"}, {"question": "George Takei is cast as which character on Star Trek \u2161: The Wrath of Khan?", "choices": ["Catherine Martell", "Hikaru Sulu", "Hook Hand", "Leo Glynn", "Thomas More", "Joe Gould", "Odin", "Sinestro", "The Dude", "Roger Sterling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek \u2161: The Wrath of Khan"]}, {"function": "Find", "dependencies": [], "inputs": ["George Takei"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek \u2161: The Wrath of Khan\" . ?e_2 <pred:name> \"George Takei\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Hikaru Sulu"}, {"question": "What is the connection between Val Kilmer and Irish Americans?", "choices": ["hair color", "geographic distribution", "subsidiary", "home port", "language used", "game mode", "location of discovery", "has immediate cause", "culture", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Val Kilmer"]}, {"function": "Find", "dependencies": [], "inputs": ["Irish Americans"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Val Kilmer\" . ?e_2 <pred:name> \"Irish Americans\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Is 0000 0000 9428 6708 iHeartMedia's ISNI?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["iHeartMedia"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 9428 6708"]}], "sparql": "ASK { ?e <pred:name> \"iHeartMedia\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9428 6708\" .  }", "answer": "yes"}, {"question": "Jack Thompson (featured in the cast of Merry Christmas, Mr. Lawrence) played what character in the cast of Star Wars Episode II: Attack of the Clones?", "choices": ["Mace Windu", "John Clark", "Jack Bristow", "Phillip Jeffries", "Dwayne Hicks", "Daisy Duck", "Nelson Muntz", "Michael Scott", "Weatherby Swann", "Cliegg Lars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode II: Attack of the Clones"]}, {"function": "Find", "dependencies": [], "inputs": ["Merry Christmas, Mr. Lawrence"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Thompson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Wars Episode II: Attack of the Clones\" . ?e_2 <pred:name> \"Jack Thompson\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Merry Christmas, Mr. Lawrence\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Cliegg Lars"}, {"question": "How many empires are a participant of the War of 1812 or have the capital of Mexico City?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War of 1812"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "Find", "dependencies": [], "inputs": ["Mexico City"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["empire"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" .  { ?e <participant_of> ?e_1 . ?e_1 <pred:name> \"War of 1812\" .  } UNION { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Mexico City\" .  } }", "answer": "0"}, {"question": "What is the CANTIC-ID belonging to the person with a Munzinger IBA equaling 00000026867?", "choices": ["a10920985", "a10594139", "a11810129", "a11722915", "a11803666", "a10254109", "a11056149", "a11436153", "a10427223", "a10152398"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000026867"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000026867\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11803666"}, {"question": "For the Pennsylvania cities, which have a population not equal to 390000000, which one has the smallest elevation (above sea level)?", "choices": ["Johnstown", "Pittsburgh", "Lancaster", "Allentown", "Altoona", "Williamsport", "Scranton", "Greensburg", "Philadelphia", "Chester"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "390000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"390000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Philadelphia"}, {"question": "What association does Danubio F.C. have to Uruguay?", "choices": ["exported to", "rector", "country", "applies to jurisdiction", "item operated", "platform", "lyrics by", "grants", "location of discovery", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danubio F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Uruguay"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Danubio F.C.\" . ?e_2 <pred:name> \"Uruguay\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "tell me the one that has at least area among the county of Alabama with a population of under 670000000", "choices": ["Jackson County", "Montgomery County", "Jefferson County", "Dallas County", "Baldwin County", "Mobile County", "Washington County", "Monroe County", "Shelby County", "Madison County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "670000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"670000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "What is the birth date for the person with a Libris-URI of zw9cdfzh12rd54w?", "choices": ["1934-02-13", "1943-11-05", "1977-05-29", "1949-12-04", "1978-03-23", "1907-11-28", "1920-05-03", "1902-06-28", "1936-02-11", "1951-07-08"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "zw9cdfzh12rd54w"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"zw9cdfzh12rd54w\" . ?e <date_of_birth> ?pv .  }", "answer": "1902-06-28"}, {"question": "For which work was Dan Simmons awarded the  World Fantasy Award for Best Short Fiction?", "choices": ["Mr. Saturday Night", "The Bachelor and the Bobby-Soxer", "A Touch of Class", "Animal Farm", "Omnibus", "Blackout", "Beverly Hills Cop", "This Year's Class Picture", "Lili", "Anne Frank: The Whole Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World Fantasy Award for Best Short Fiction"]}, {"function": "Find", "dependencies": [], "inputs": ["Dan Simmons"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"World Fantasy Award for Best Short Fiction\" . ?e_2 <pred:name> \"Dan Simmons\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "This Year's Class Picture"}, {"question": "How is Ed Lauter related to King Kong, featuring Jeff Bridges in the cast?", "choices": ["residence", "inspired by", "father", "publisher", "student", "original network", "cast member", "permanent resident of", "lifestyle", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Bridges"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["King Kong"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ed Lauter"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"King Kong\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Jeff Bridges\" . ?e_2 <pred:name> \"Ed Lauter\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the Dewey Decimal Classification for French?", "choices": ["2--4366", "2--667", "2--74272", "820", "2--452", "2--43642", "2--6662", "2--59824", "440", "2--5451"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"French\" . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "440"}, {"question": "Does Cold Mountain with Jude Law as a cast member or The Lady, released in Thailand, have the longer run-time?", "choices": ["Training Day", "Talk to Her", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Pleasantville", "Cold Mountain", "The Fifth Element", "The Towering Inferno", "The Lady"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jude Law"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cold Mountain"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Thailand"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lady"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cold Mountain\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jude Law\" .   } UNION { ?e <pred:name> \"The Lady\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"Thailand\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cold Mountain"}, {"question": "What is the connection between Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie to Melvyn Douglas?", "choices": ["sport", "writing system", "candidate", "influenced by", "headquarters location", "musical conductor", "owned by", "winner", "material used", "studied by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["Melvyn Douglas"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie\" . ?e_2 <pred:name> \"Melvyn Douglas\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Which person's ISNI is 0000 0000 4104 9661?", "choices": ["Kelis", "Richard Gere", "John Milton", "Jennifer Ehle", "Helen Hayes", "Cat Stevens", "Dave Foley", "Sylvester Stallone", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4104 9661"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 4104 9661\" .  }", "answer": "Dave Foley"}, {"question": "Which has the smallest area among the historical countries established after 1920?", "choices": ["Second French Empire", "Spanish Empire", "Swedish Empire", "Union of South Africa", "Confederate States of America", "Crown of Arag\u00f3n", "German Democratic Republic", "Kingdom of Portugal", "Abyssinia", "North Vietnam"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1920", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1920 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "North Vietnam"}, {"question": "When did the US birth city of Jerry Douglas have a population numbering 435?", "choices": ["2015-12-26", "2005-09-01", "2014-04-01", "1912-05-15", "1820", "1929-01-01", "1971-04-15", "2006-11-01", "1777", "1936-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Douglas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "435", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jerry Douglas\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"435\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1820"}, {"question": "How many episodes does the children's movie Bewitched contain?", "choices": ["264", "208", "247", "91", "122", "254", "62", "14", "220", "60"], "program": [{"function": "Find", "dependencies": [], "inputs": ["children's film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bewitched"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bewitched\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"children's film\" .  ?e <number_of_episodes> ?pv .  }", "answer": "254"}, {"question": "Sarah Silverman relates to the job of screenwriter in which manner?", "choices": ["copyright representative", "commissioned by", "owned by", "signatory", "notable people with this condition", "shares border with", "occupation", "owner of", "distribution", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sarah Silverman"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sarah Silverman\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many governors whose term length of office is equal to 3.9 years?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["term length of office", "3.9 year", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["governor"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"governor\" . ?e <term_length_of_office> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"3.9\"^^xsd:double .  }", "answer": "0"}, {"question": "Regarding the visual artwork following Scary Movie 4, is the title equal to Albert Nobbs?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scary Movie 4"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Albert Nobbs"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"Scary Movie 4\" .  ?e <title> ?pv . ?pv <pred:value> \"Albert Nobbs\" .  }", "answer": "no"}, {"question": "For the administrative territorial entity whose FIPS 6-4 (US counties) is 29037, what is the time point for its population of 100319?", "choices": ["1903-01-01", "2012-07-01", "1841", "2015", "1777", "1671-01-01", "1803", "2005-05-18", "1996-09-07", "1821-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "29037"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "100319", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"29037\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"100319\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "How was it determined that the population in New Hampshire was 737681?", "choices": ["United Kingdom Census 1981", "resident registration", "middle", "Population registration in Sweden", "lead-lead dating", "census", "1860 United States Census", "2000 United States Census", "United States Census", "administrative division valid at the moment of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Hampshire"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "737681", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"New Hampshire\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"737681\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "What language is associated with the official website http://www.philipkdickaward.org of the Philip K. Dick Award?", "choices": ["Atikamekw", "Indonesian", "Dutch", "Canadian English", "Danish", "Lithuanian", "English", "Serbian", "Esperanto", "Afrikaans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philip K. Dick Award"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.philipkdickaward.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Philip K. Dick Award\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.philipkdickaward.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Larry Crowne or The World Is Not Enough (whose title is The World Is Not Enough) have the longer runtime?", "choices": ["Talk to Her", "Larry Crowne", "Training Day", "The Hunchback of Notre Dame", "A Prairie Home Companion", "The World Is Not Enough", "The Towering Inferno", "Curse of the Golden Flower", "Rebecca", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Larry Crowne"]}, {"function": "Find", "dependencies": [], "inputs": ["The World Is Not Enough"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["title", "The World Is Not Enough"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Larry Crowne\" . } UNION { ?e <pred:name> \"The World Is Not Enough\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The World Is Not Enough\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The World Is Not Enough"}, {"question": "Which US city in the Chicago metro area is designated by zip codes 53140\u201353144 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago metropolitan area"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["53140\u201353144"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Chicago metropolitan area\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"53140\u201353144\" .  }", "answer": "yes"}, {"question": "What is the Deutsche Synchronkartei actor-ID for the human that was born in Boise?", "choices": ["7827", "22210", "13606", "558", "9344", "7650", "23144", "228", "1185", "6702"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boise"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Boise\" .  ?e <Deutsche_Synchronkartei_actor-ID> ?pv .  }", "answer": "558"}, {"question": "Which area has higher elevation above sea level, Riverside or Evanston?", "choices": ["Evanston", "Franklin", "Waukegan", "Greenville", "Oakland", "Columbus", "Boulder", "Compton", "Riverside", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Riverside"]}, {"function": "Find", "dependencies": [], "inputs": ["Evanston"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Riverside\" .  } UNION { ?e <pred:name> \"Evanston\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Riverside"}, {"question": "What is the number of video game publishers whose country is the sovereign state of citizens who are the giapponese people?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "giapponese"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["video game publisher"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game publisher\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"giapponese\" .   }", "answer": "3"}, {"question": "Is https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?id=652 the GRIN UR for Liliaceae?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liliaceae"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["GRIN URL"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?id=652"]}], "sparql": "ASK { ?e <pred:name> \"Liliaceae\" . ?e <GRIN_URL> ?pv . ?pv <pred:value> \"https://npgsweb.ars-grin.gov/gringlobal/taxonomyfamily.aspx?id=652\" .  }", "answer": "yes"}, {"question": "Of geographic regions that battled England, site of the English Civil War, which takes up the biggest area?", "choices": ["Southern California", "Bohemia", "Transylvania", "Piedmont", "Antarctica", "Atlantic Canada", "Africa", "Lake District", "Pacific Ocean", "South America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English Civil War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["military conflicts", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> \"England\" . ?e_2 <location> ?e_1 . ?e_2 <pred:name> \"English Civil War\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Transylvania"}, {"question": "How is Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture related to Rod Taylor (the one that died in Los Angeles) ?", "choices": ["sidekick of", "published in", "winner", "official residence", "foundational text", "appointed by", "office held by head of the organisation", "conferred by", "architectural style", "director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rod Taylor"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Rod Taylor\" . ?e_2 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Is the inception time after -753 for the award that was nominated to Charlotte Rampling (the award-winning work of this statement is The Eye of the Storm)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte Rampling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Eye of the Storm"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["-753", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Charlotte Rampling\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"The Eye of the Storm\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > -753 ) .  }", "answer": "yes"}, {"question": "What is the name of the Republican Party member whose birth place is Oakland?", "choices": ["Jessica Simpson", "Doris Day", "Mark Hamill", "Ann Sothern", "Clint Howard", "Sheila E.", "George Stevens", "Anne Baxter", "Claudette Colbert", "Tom Johnson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republican Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Oakland"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> \"Republican Party\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Oakland\" .  }", "answer": "Tom Johnson"}, {"question": "What is Jerry Hey's ISNI?", "choices": ["0000 0001 0665 3107", "0000 0001 1453 5573", "0000 0001 1060 7787", "0000 0004 1936 9756", "0000 0000 6311 1489", "0000 0000 5515 1448", "0000 0001 2145 2709", "0000 0001 2265 1953", "0000 0001 2095 9639", "0000 0001 0523 3290"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Hey"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jerry Hey\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 5515 1448"}, {"question": "Among the ceremonial county of England that shares border with Lincolnshire, Which has the largest area?", "choices": ["Cambridgeshire", "Leicestershire", "Northumberland", "Nottinghamshire", "South Yorkshire", "Norfolk", "Warwickshire", "East Riding of Yorkshire", "Cumbria", "Derbyshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lincolnshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Lincolnshire\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Norfolk"}, {"question": "What language is associated with the official website http://yalecollege.yale.edu for the college whose establishment date is in 1701?", "choices": ["Corsican", "Armenian", "Bokm\u00e5l", "Luxembourgish", "Welsh", "French", "Finnish", "Bulgarian", "Estonian", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1701", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://yalecollege.yale.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1701 . ?e <official_website> ?pv . ?pv <pred:value> \"http://yalecollege.yale.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the relationship between Upper Normandy and Normandy (whose population is 3006341)?", "choices": ["author", "different from", "connects with", "allegiance", "founded by", "replaced by", "head coach", "has effect", "source of material", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upper Normandy"]}, {"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "3006341", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Upper Normandy\" . ?e_2 <pred:name> \"Normandy\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3006341\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "replaced by"}, {"question": "Which one has less elevation above sea level among the mountain range whose elevation above sea level is more than 600 feet?", "choices": ["Blue Ridge Mountains", "Filipino", "Pyrenees", "Alps", "Pennine Alps", "Cascade Range", "Himalayas", "Appalachian Mountains", "Sierra Nevada", "Adirondack Mountains"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "600 foot", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"600\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cascade Range"}, {"question": "Does IAB code 1038 correspond to the kind of sport represented by the Atlanta Braves team ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlanta Braves"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IAB code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1038"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:name> \"Atlanta Braves\" .  ?e <IAB_code> ?pv . ?pv <pred:value> \"1038\" .  }", "answer": "no"}, {"question": "Which area is larger in size, Russian Empire or South Sudan?", "choices": ["Switzerland", "Russian Empire", "South Sudan", "Kiribati", "Samoa", "Cambodia", "Benin", "Socialist Federal Republic of Yugoslavia", "People's Republic of China", "Russian Soviet Federative Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian Empire"]}, {"function": "Find", "dependencies": [], "inputs": ["South Sudan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Russian Empire\" .  } UNION { ?e <pred:name> \"South Sudan\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Russian Empire"}, {"question": "Who is heavier: Marc Anthony, at 78 kilograms, or Kevin Garnett?", "choices": ["Rahul Dev Burman", "James E. Reilly", "William Henry Harrison", "David Byrne", "Paul Simon", "Sylvester Stallone", "Kevin Garnett", "Richard Gere", "Simon Cowell", "Marc Anthony"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marc Anthony"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "78 kilogram", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin Garnett"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marc Anthony\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"kilogram\" . ?pv_1 <pred:value> \"78\"^^xsd:double . } UNION { ?e <pred:name> \"Kevin Garnett\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kevin Garnett"}, {"question": "How many forms of pop music that comprise country rock are an aspect of Red Hot Chili Peppers?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["country rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["pop music"]}, {"function": "Find", "dependencies": [], "inputs": ["Red Hot Chili Peppers"]}, {"function": "Relate", "dependencies": [3], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["pop music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pop music\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"country rock\" .  ?e <facet_of> ?e_2 . ?e_2 <pred:name> \"Red Hot Chili Peppers\" .  }", "answer": "0"}, {"question": "What is the diplomatic relation between Jordan and Malaysia about?", "choices": ["Mauritania\u2013Morocco relations", "Australia\u2013Palau relations", "Afghanistan\u2013Bangladesh relations", "Iran\u2013Netherlands relations", "Moldova\u2013Ukraine border", "Myanmar\u2013Thailand border", "Cuba\u2013Peru relations", "Indonesia\u2013Papua New Guinea border", "Virginia\u2013West Virginia border", "Jordan\u2013Malaysia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jordan"]}, {"function": "Find", "dependencies": [], "inputs": ["Malaysia"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jordan\" . ?e_2 <pred:name> \"Malaysia\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Jordan\u2013Malaysia relations"}, {"question": "Which has the least area among Arizona counties whose population is not 9300000?", "choices": ["Cochise County", "Gila County", "Yavapai County", "Pima County", "Pinal County", "Apache County", "Mohave County", "Maricopa County", "Navajo County", "Santa Cruz County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "9300000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"9300000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Did the 17-episode Superman appear in a year other than 2003?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "17", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2003", "!="]}], "sparql": "ASK { ?e <pred:name> \"Superman\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"17\"^^xsd:double . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2003 ) .  }", "answer": "yes"}, {"question": "What person is a cast member in the character role of Joey Tribbiani in the television series whose genre is romance film?", "choices": ["Courteney Cox", "William Henry Harrison", "Lisa Kudrow", "Rahul Dev Burman", "Richard Gere", "Max Fleischer", "Elliott Gould", "Matt LeBlanc", "Matthew Perry", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["character role", "Joey Tribbiani"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"romance film\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Joey Tribbiani\" .  }", "answer": "Matt LeBlanc"}, {"question": "The film titled Habemus Papam had what publication place when it was released on 2011-12-08?", "choices": ["Beverly Hills", "Sydney", "Denmark", "New Amsterdam Theatre", "Germany", "Moscow", "2005 Cannes Film Festival", "Romania", "Lebanon", "Austria"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Habemus Papam"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-12-08", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Habemus Papam\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-12-08\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "At what frequency does the mains voltage of 230 volts work in a sovereign state that contains County Meath administrative division?", "choices": ["55 hertz", "3615 CPLUS", "33946", "66", "0.013 barrels per day", "50", "2001:630:21::/48", "100 gigapascal", "60 hertz", "50 hertz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Meath"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["mains voltage", "230 volt", "frequency"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"County Meath\" .  ?e <mains_voltage> ?pv . ?pv <pred:unit> \"volt\" . ?pv <pred:value> \"230\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <mains_voltage> ; <pred:fact_t> ?pv ] <frequency> ?qpv .  }", "answer": "50 hertz"}, {"question": "What is the connection between Nick Cave and the Bad Seeds to Warren Ellis (the one whose date of birth is 1965-01-01)?", "choices": ["has part", "film distribute region", "spouse", "game mode", "given name", "official residence", "librettist", "relative", "has cause", "operating area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nick Cave and the Bad Seeds"]}, {"function": "Find", "dependencies": [], "inputs": ["Warren Ellis"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of birth", "1965-01-01", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nick Cave and the Bad Seeds\" . ?e_2 <pred:name> \"Warren Ellis\" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> \"1965-01-01\"^^xsd:date . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "Is the episode count higher for the work titled Chicago Fire or for Lost in Space, distributed by 20th Century Fox?", "choices": ["Robot Chicken", "Lost in Space", "Dancing with the Stars", "American Horror Story", "Chicago Fire", "Seinfeld", "Game of Thrones", "Bleak House", "Phineas and Ferb", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago Fire"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Chicago Fire"]}, {"function": "Find", "dependencies": [], "inputs": ["20th Century Fox Television"]}, {"function": "Relate", "dependencies": [2], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chicago Fire\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Chicago Fire\" . } UNION { ?e <pred:name> \"Lost in Space\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"20th Century Fox Television\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chicago Fire"}, {"question": "What is the relation between Samantha Mathis with the United States of America?", "choices": ["contains settlement", "licensed to broadcast to", "country of citizenship", "inspired by", "creator", "from fictional universe", "filmography", "screenwriter", "replaces", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samantha Mathis"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Samantha Mathis\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which film, whose title is Amour, has a script written by Michael Haneke?", "choices": ["The Towering Inferno", "The White Ribbon", "Rebecca", "Training Day", "A Prairie Home Companion", "Talk to Her", "The Fifth Element", "Amour", "The Hunchback of Notre Dame", "Curse of the Golden Flower"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Amour"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Haneke"]}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Amour\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Michael Haneke\" .  }", "answer": "Amour"}, {"question": "How many human settlements have a PermID of 4296917902 or have an inception time not in 1895?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4296917902"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1895", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human settlement"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" .  { ?e <PermID> ?pv . ?pv <pred:value> \"4296917902\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1895 ) .  } }", "answer": "11"}, {"question": "Is the shorter work Mission: Impossible, distributed in the UK, or Four Rooms?", "choices": ["The Hunchback of Notre Dame", "Rebecca", "Talk to Her", "The Fifth Element", "Mission: Impossible", "Four Rooms", "Training Day", "A Prairie Home Companion", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film distribute region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Four Rooms"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mission: Impossible\" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .   } UNION { ?e <pred:name> \"Four Rooms\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Four Rooms"}, {"question": "How is Upland related to Ontario (the one whose area is 129.488843 square kilometre)?", "choices": ["costume designer", "developer", "official residence", "parent club", "home venue", "legal form", "geographic distribution", "movement", "diplomatic relation", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upland"]}, {"function": "Find", "dependencies": [], "inputs": ["Ontario"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "129.488843 square kilometre", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Upland\" . ?e_2 <pred:name> \"Ontario\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"129.488843\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which ISNI identifies New York Governor George Clinton?", "choices": ["0000 0000 5886 4515", "0000 0001 1680 3084", "0000 0001 0587 7942", "0000 0001 1494 780X", "0000 0000 8024 2106", "0000 0000 6317 8800", "0000 0003 6850 6166", "0000 0001 2122 7480", "0000 0004 0379 4440", "0000 0003 6864 6417"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Governor of New York"]}, {"function": "Relate", "dependencies": [0], "inputs": ["officeholder", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Clinton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"George Clinton\" . ?e_1 <officeholder> ?e . ?e_1 <pred:name> \"Governor of New York\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 6317 8800"}, {"question": "When did John Mahoney (the one that has the occupation of association football manager) become a member of Middlesbrough F.C.?", "choices": ["2009-01-07", "1721-08-30", "1999-01-11", "1889", "2000-10-06", "1817-07-01", "1964-10-24", "1977-01-01", "1652", "1929-02-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football manager"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Mahoney"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Middlesbrough F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Mahoney\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"association football manager\" . ?e_2 <pred:name> \"Middlesbrough F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1977-01-01"}, {"question": "Who is shorter, Michael Jeter or Barack Obama?", "choices": ["Paul Simon", "Richard Gere", "Barack Obama", "Sylvester Stallone", "Max Fleischer", "Rahul Dev Burman", "Simon Cowell", "Michael Jeter", "James E. Reilly", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Jeter"]}, {"function": "Find", "dependencies": [], "inputs": ["Barack Obama"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Michael Jeter\" .  } UNION { ?e <pred:name> \"Barack Obama\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Michael Jeter"}, {"question": "Who is taller, Stephen King (the one whose mass is 69 kilogram) or Carl Cort?", "choices": ["Max Fleischer", "Rahul Dev Burman", "Paul Simon", "Stephen King", "James E. Reilly", "William Henry Harrison", "David Byrne", "Richard Gere", "Sylvester Stallone", "Carl Cort"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen King"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "69 kilogram", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Carl Cort"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stephen King\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"kilogram\" . ?pv_1 <pred:value> \"69\"^^xsd:double . } UNION { ?e <pred:name> \"Carl Cort\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Carl Cort"}, {"question": "What is the connection between Greene County (the one whose population is 161588) to Warren County (the one whose FIPS 6-4 (US counties) is 39165)?", "choices": ["sidekick of", "different from", "shares border with", "collection", "officeholder", "sexual orientation", "military casualty classification", "general manager", "patron saint", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "161588", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)", "39165"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greene County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"161588\"^^xsd:double . ?e_2 <pred:name> \"Warren County\" . ?e_2 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"39165\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How large is Kansas City (the one whose elevation (above sea level) is 277 metre)?", "choices": ["45.041505 square kilometre", "241038 square kilometre", "7469 square kilometre", "826.150937 square kilometre", "857 square mile", "761 square kilometre", "2724900.0 square kilometre", "2586.4 square kilometre", "51197 square kilometre", "25711.0 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kansas City"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "277 metre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kansas City\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"277\"^^xsd:double . ?e <area> ?pv .  }", "answer": "826.150937 square kilometre"}, {"question": "Which person is a cast member of The Butterfly Effect and has a height less than 75 inch?", "choices": ["Keith Moon", "Justin Timberlake", "Katy Perry", "Callum Keith Rennie", "Sylvester Stallone", "Amy Smart", "Kylie Minogue", "William Powell", "Max Fleischer", "Mila Kunis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Butterfly Effect"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["height", "75 inch", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Butterfly Effect\" .  ?e <height> ?pv . ?pv <pred:unit> \"inch\" . ?pv <pred:value> ?v . FILTER ( ?v < \"75\"^^xsd:double ) .  }", "answer": "Amy Smart"}, {"question": "For the film festival with a regional debut venue, does it have an official website http://www.tiff.net/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Midnight's Children"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["film regional debut venue", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film festival"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["http://www.tiff.net/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival\" . ?e_1 <film_regional_debut_venue> ?e . ?e_1 <pred:name> \"Midnight's Children\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Canada\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tiff.net/\" .  }", "answer": "yes"}, {"question": "What is the connection between Taken (the one that has Michael Moriarty as a cast member) to Desmond Harrington?", "choices": ["has part", "partially contains", "located on astronomical location", "business division", "territory claimed by", "opposite of", "military conflicts", "permanent resident of", "main food source", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Moriarty"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taken"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Desmond Harrington"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Taken\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michael Moriarty\" . ?e_2 <pred:name> \"Desmond Harrington\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which one covers larger area, County Armagh or Bernalillo County ?", "choices": ["Cass County", "Bernalillo County", "African Union", "Kent County", "San Juan County", "County Armagh", "Greene County", "Orange County", "Delaware County", "Lee County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Armagh"]}, {"function": "Find", "dependencies": [], "inputs": ["Bernalillo County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Armagh\" .  } UNION { ?e <pred:name> \"Bernalillo County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bernalillo County"}, {"question": "Which is longer, Hairspray (with Queen Latifah) or The Losers?", "choices": ["The Losers", "Talk to Her", "Pleasantville", "A Prairie Home Companion", "Training Day", "Curse of the Golden Flower", "Rebecca", "The Fifth Element", "Hairspray", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Losers"]}, {"function": "Find", "dependencies": [], "inputs": ["Queen Latifah"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hairspray"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Losers\" .  } UNION { ?e <pred:name> \"Hairspray\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Queen Latifah\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hairspray"}, {"question": "What is the title of Airport (the one that received Academy Award for Best Supporting Actress)?", "choices": ["The Impossible", "Adaptation", "Monster House", "Doctor Who", "Airport", "Dances with Wolves", "Primal Fear", "The Wings of the Dove", "Legend", "Planet of the Apes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Airport"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Airport\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" .  ?e <title> ?pv .  }", "answer": "Airport"}, {"question": "Which has higher elevation above sea level, Liverpool (the one that is the headquarter location of Everton F.C.) or Manchester (the one that is the headquarter location of University of Manchester)?", "choices": ["Dundee", "Liverpool", "Trieste", "Abidjan", "Manchester", "Cork", "Santo Domingo", "Kingston", "Kilkenny", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everton F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Manchester"]}, {"function": "Relate", "dependencies": [4], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manchester"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Liverpool\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Everton F.C.\" .   } UNION { ?e <pred:name> \"Manchester\" . ?e_2 <headquarters_location> ?e . ?e_2 <pred:name> \"University of Manchester\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Liverpool"}, {"question": "What is the official name of Empoli F.C.?", "choices": ["Philadelphia", "\u062c\u0645\u06c1\u0648\u0631\u06cc\u06c1 \u0627\u06cc\u06a9\u0648\u0627\u0688\u0648\u0631", "Anaheim", "Odense Boldklub", "Elche Club de F\u00fatbol", "Danube", "Empoli Football Club SpA", "Squadra naziunala da ballape da la Svizra", "\u0417\u044f\u0434\u0438\u043d\u044c", "Television Broadcasts Limited"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Empoli F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Empoli F.C.\" . ?e <official_name> ?pv .  }", "answer": "Empoli Football Club SpA"}, {"question": "When did Germany started to contain the administrative division Saxony-Anhalt (the one whose elevation above sea level is 51 meters)?", "choices": ["1070", "1950-03-07", "2003-12-06", "1982-07-04", "2017-08-03", "1990-10-03", "1949-11-29", "1901-02-21", "2006-02-08", "1892-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Saxony-Anhalt"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "51 metre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["contains administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Germany\" . ?e_2 <pred:name> \"Saxony-Anhalt\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"51\"^^xsd:double . ?e_1 <contains_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <contains_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1990-10-03"}, {"question": "For the basketball team that is owned by Michael Jordan (the one whose nickname is Air), what is the language associated with this creative work for its official website of http://www.nba.com/hornets/?", "choices": ["Welsh", "Indonesian", "English", "Georgian", "Slovene", "Toki Pona", "National language of Republic of China", "J\u00e8rriais", "Ukrainian", "Czech"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Jordan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "Air"]}, {"function": "Relate", "dependencies": [1], "inputs": ["owner of", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["basketball team"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.nba.com/hornets/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e_1 <owner_of> ?e . ?e_1 <pred:name> \"Michael Jordan\" . ?e_1 <nickname> ?pv_1 . ?pv_1 <pred:value> \"Air\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nba.com/hornets/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "For Happy Together (the one that is originally aired on CBS), its official website of https://www.cbs.com/shows/happy-together/, applies to which territorial jurisdiction?", "choices": ["Tyumen Oblast", "United States of America", "Greece", "France", "India", "Costa Rica", "South Korea", "Karachay-Cherkess Republic", "Chukotka Autonomous Okrug", "Novgorod Oblast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Happy Together"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "https://www.cbs.com/shows/happy-together/", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Happy Together\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"CBS\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.cbs.com/shows/happy-together/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "United States of America"}, {"question": "Which has a larger population, Ypsilanti or Memphis?", "choices": ["Oakland", "Compton", "Boulder", "Greenville", "Ypsilanti", "Memphis", "Waukegan", "Lansing", "Franklin", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ypsilanti"]}, {"function": "Find", "dependencies": [], "inputs": ["Memphis"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ypsilanti\" .  } UNION { ?e <pred:name> \"Memphis\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Memphis"}, {"question": "At what point in time is 20249 the population of the Maryland county having the official website http://www.kentcounty.com?", "choices": ["1941-03-01", "2007-07-18", "2001-02-14", "2017-05-01", "1999-03-21", "2015-06-30", "2015-09-20", "1977-12-01", "2011-07-01", "2003-09-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.kentcounty.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maryland"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "20249", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.kentcounty.com\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"20249\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "What is the link between ice cream and sugar?", "choices": ["capital", "follows", "capital of", "league", "nutrient", "place of birth", "candidacy in election", "designed by", "inspired by", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ice cream"]}, {"function": "Find", "dependencies": [], "inputs": ["sugar"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"ice cream\" . ?e_2 <pred:name> \"sugar\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "What is the street address of  University of Louisiana at Lafayette's headquarter location in Lafayette (the one that is the headquarter location of University of Louisiana at Lafayette)?", "choices": ["ul. \u0141azienkowska 3, 00-449 Warszawa, Polska", "Administration Bldg 425, Fayetteville, AR, 72701", "Third Floor 6-10 Suffolk Street", "1425 W. Lincoln Hwy., Dekalb, IL, 60115-2828", "5115 Hampton Blvd, Norfolk, VA, 23529", "104 E. University Circle", "500 E 9th St, Claremont, CA, 91711-6400", "208 South Akard Street", "JKW Administration Building, Suite 100, College Station, TX, 77843-1248", "3 Bailey Drive"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Louisiana at Lafayette"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Louisiana at Lafayette"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lafayette"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "located at street address"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Louisiana at Lafayette\" . ?e_2 <pred:name> \"Lafayette\" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> \"University of Louisiana at Lafayette\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }", "answer": "104 E. University Circle"}, {"question": "Which is shorter, the Dark Shadows released on 2012-05-10 or Ryan's Daughter?", "choices": ["Dark Shadows", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "Talk to Her", "Ryan's Daughter", "A Prairie Home Companion", "Training Day", "Rebecca", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dark Shadows"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2012-05-10", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Ryan's Daughter"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dark Shadows\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2012-05-10\"^^xsd:date . } UNION { ?e <pred:name> \"Ryan's Daughter\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dark Shadows"}, {"question": "What class of award was received by the person whose Twitter hashtag is Mandiba?", "choices": ["Order of the Elephant", "BAFTA Award for Best Actress in a Leading Role", "Presidential Medal of Freedom", "Nobel Peace Prize", "BAFTA Award for Best Actress in a Supporting Role", "BAFTA Award for Best Makeup and Hair", "Pulitzer Prize for Fiction", "BAFTA Award for Best Sound", "Le Monde's 100 Books of the Century", "BAFTA Award for Best Direction"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter hashtag", "Mandiba"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["class of award"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_hashtag> ?pv . ?pv <pred:value> \"Mandiba\" .   }", "answer": "Order of the Elephant"}, {"question": "What is the connection between Hammond organ to Paul Shaffer?", "choices": ["filming location", "honorific suffix", "license", "studied by", "famous people", "lyrics by", "contributing factor of", "founded by", "family", "twinned administrative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hammond organ"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Shaffer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hammond organ\" . ?e_2 <pred:name> \"Paul Shaffer\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "The city where X-Men: First Class is set in the year 1944 is HQ of how many independent record labels?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["X-Men: First Class"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1944", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent record label"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent record label\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"X-Men: First Class\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1944 .   }", "answer": "3"}, {"question": "Who was the winner when Modern Family received the Primetime Emmy Award for Outstanding Directing for a Comedy Series?", "choices": ["Michael Spiller", "George Froeschel", "Curtis Hanson", "Whitney Houston", "Emil Kosa Jr.", "Walter Huston", "Robert Riskin", "Jon Landau", "Elizabeth McGovern", "Aaron Paul"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Modern Family"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Directing for a Comedy Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Modern Family\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Directing for a Comedy Series\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Michael Spiller"}, {"question": "How many Massachusetts counties contain Lowell or have the FIPS 6-4 (US counties) code 25015?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "25015"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Massachusetts"]}, {"function": "Find", "dependencies": [], "inputs": ["Lowell"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Massachusetts"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" .  { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"25015\" .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Lowell\" .  } }", "answer": "2"}, {"question": "Which ISNI corresponds to someone whose death occurred in Santa Rosa?", "choices": ["0000 0004 0396 3355", "0000 0001 2283 5816", "0000 0000 7267 6959", "0000 0001 1648 9611", "0000 0001 1877 9444", "0000 0000 8178 6076", "0000 0001 1458 7883", "0000 0000 8544 9536", "0000 0003 7680 020X", "0000 0001 1470 7435"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Rosa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Santa Rosa\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1470 7435"}, {"question": "How many miniseries are in English or are directed by Denzel Washington?", "choices": ["37", "38", "39", "40", "41", "42", "43", "44", "45", "46"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denzel Washington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [3], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" .  { ?e <director> ?e_1 . ?e_1 <pred:name> \"Denzel Washington\" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .  } }", "answer": "40"}, {"question": "Was the association football club whose Twitter username is atlasfc founded before 1945?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "atlasfc"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1945", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"atlasfc\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1945 ) .  }", "answer": "yes"}, {"question": "How is Toronto FC connected to the country of Canada?", "choices": ["located in the administrative territorial entity", "country", "sports season of league or competition", "film regional debut venue", "language used", "student of", "position played on team / speciality", "place of publication", "director", "domain of saint or deity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto FC"]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Toronto FC\" . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What number of conservatories are based in the Soviet Union?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Soviet Union"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["conservatory"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"conservatory\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Soviet Union\" .   }", "answer": "2"}, {"question": "Anthony Anderson, known on Twitter as anthonyanderson, was cast as which character on the legal drama Law & Order?", "choices": ["Idi Amin", "John Bosley", "Hermes", "Kevin Bernard", "Mr. Krabs", "Alicia Nash", "Storm", "Lily Aldrin", "Mark Greene", "Sue Ann Nivens"], "program": [{"function": "Find", "dependencies": [], "inputs": ["legal drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Anthony Anderson"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["Twitter username", "anthonyanderson"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Law & Order\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"legal drama\" . ?e_2 <pred:name> \"Anthony Anderson\" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> \"anthonyanderson\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Kevin Bernard"}, {"question": "What is the connection between Gertrude Stein (the one that has the occupation of playwright) to writer?", "choices": ["medical treatment", "chief executive officer", "airline hub", "occupation", "location of final assembly", "natural product of taxon", "located on terrain feature", "student of", "sibling", "stated in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["playwright"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gertrude Stein"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gertrude Stein\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"playwright\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the official website for the national-association football team, whose ranking is equal to 10 (the point in time of this statement is 2005-09-12)?", "choices": ["http://www.unimelb.edu.au/", "https://www.slbenfica.pt/", "http://www.katemoss.com", "http://www.nba.com/kings/", "http://svenskfotboll.se", "http://www.leessangcompany.com/", "http://www.monroecountyal.com", "http://www.msmnyc.edu", "http://www.salisbury.gov.uk/", "http://www.foxjapan.com/movies/whatliesbeneath/phase1/splash.html"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "10", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2005-09-12", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"10\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2005-09-12\"^^xsd:date . ?e <official_website> ?pv .  }", "answer": "http://svenskfotboll.se"}, {"question": "Who is Douglas Fairbanks' spouse?", "choices": ["Richard Gere", "Mary Pickford", "David Benioff", "Sylvester Stallone", "Tim Armstrong", "Jane Espenson", "Paul Newman", "William Henry Harrison", "David Mamet", "Chet Atkins"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas Fairbanks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Douglas Fairbanks\" .   }", "answer": "Mary Pickford"}, {"question": "The movie titled Galaxy Quest was released on 2000-04-13 in which region?", "choices": ["Telluride Film Festival", "El Capitan Theatre", "Berlin International Film Festival", "Rio de Janeiro", "Davao City", "BFI London Film Festival", "Germany", "Vietnam", "Tokyo", "Bulgaria"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Galaxy Quest"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2000-04-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Galaxy Quest\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-04-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which person with ISNI 0000 0001 2095 8599 is a member of the American Philosophical Society?", "choices": ["Richard Gere", "George Washington", "Carl Sagan", "Niels Bohr", "Albert Einstein", "William Henry Harrison", "Ernest Rutherford", "Charles Darwin", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Philosophical Society"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2095 8599"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"American Philosophical Society\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2095 8599\" .  }", "answer": "George Washington"}, {"question": "Michael Jordan of Stevenage F.C. has what connection to soccer-style football?", "choices": ["manner of death", "contributing factor of", "sport", "discoverer or inventor", "native language", "enclave within", "director of photography", "is a list of", "vehicle normally used", "notable people with this condition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stevenage F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jordan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Jordan\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Stevenage F.C.\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the connection between Addams Family Values to David Krumholtz?", "choices": ["official residence", "political alignment", "official religion", "medical condition", "office contested", "separated from", "cause of death", "sidekick of", "cast member", "business division"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Addams Family Values"]}, {"function": "Find", "dependencies": [], "inputs": ["David Krumholtz"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Addams Family Values\" . ?e_2 <pred:name> \"David Krumholtz\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who has fewer children, Aretha Franklin or Tiffani Thiessen?", "choices": ["Aretha Franklin", "Sylvester Stallone", "William Henry Harrison", "Paul Simon", "David Byrne", "James E. Reilly", "Tiffani Thiessen", "Richard Gere", "Rahul Dev Burman", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aretha Franklin"]}, {"function": "Find", "dependencies": [], "inputs": ["Tiffani Thiessen"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Aretha Franklin\" .  } UNION { ?e <pred:name> \"Tiffani Thiessen\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tiffani Thiessen"}, {"question": "Seth MacFarlane's Twitter account name SethMacFarlane has what subscriber count?", "choices": ["14756087", "652801", "1423", "4727", "371711", "19004", "74974", "540640", "107435", "2594"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seth MacFarlane"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "SethMacFarlane", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Seth MacFarlane\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SethMacFarlane\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "14756087"}, {"question": "Among the New York counties with a population greater than 22000, which one has the smallest area?", "choices": ["Franklin County", "Saratoga County", "Suffolk County", "Washington County", "Allegany County", "Rensselaer County", "Warren County", "Rockland County", "Clinton County", "Genesee County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "22000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"22000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "What is the production code of the television series episode whose title is The Offspring?", "choices": ["2ALH08", "69421", "69410", "101", "164", "K0103", "K0123", "111", "490", "177"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Offspring"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series episode"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["production code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Offspring\" . ?e <production_code> ?pv .  }", "answer": "164"}, {"question": "What is the connection between Alan Menken to Hercules (the one that has Wayne Knight as a voice actor)?", "choices": ["has immediate cause", "notable work", "programming paradigm", "takes place in fictional universe", "medical treatment", "office held by head of government", "officeholder", "based on", "diplomatic relation", "location of final assembly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Menken"]}, {"function": "Find", "dependencies": [], "inputs": ["Wayne Knight"]}, {"function": "Relate", "dependencies": [1], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alan Menken\" . ?e_2 <pred:name> \"Hercules\" . ?e_2 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Wayne Knight\" . ?e_1 ?p ?e_2 .  }", "answer": "notable work"}, {"question": "Regarding the person whose father is Amitabh Bachchan tell me when he or she was born.", "choices": ["1878-04-28", "1976-02-05", "1962-05-09", "1925-12-08", "1967-09-11", "1975-12-17", "1906-08-05", "1922-02-06", "1828-03-20", "1950-03-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amitabh Bachchan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["father", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <father> ?e_1 . ?e_1 <pred:name> \"Amitabh Bachchan\" .  ?e <date_of_birth> ?pv .  }", "answer": "1976-02-05"}, {"question": "What is the official website of a composer of The Devil Wears Prada, a comedy-drama?", "choices": ["http://www.osgoode.yorku.ca/", "http://www.fairgame-movie.com", "http://www.calstate.edu/", "http://www.turku.fi/", "http://www.pref.hiroshima.lg.jp", "http://www.theodore-shapiro.com/", "http://www.thealamofilm.com", "http://www.auburnalabama.org/", "http://www.regione.emilia-romagna.it", "http://www.suffolk.gov.uk/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["comedy-drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Devil Wears Prada"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"The Devil Wears Prada\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"comedy-drama\" .  ?e <official_website> ?pv .  }", "answer": "http://www.theodore-shapiro.com/"}, {"question": "How many human settlements began outside of 1894 or have an above sea level elevation greater than 8400 metres?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1894", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["elevation above sea level", "8400 metre", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human settlement"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1894 ) .  } UNION { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"8400\"^^xsd:double ) .  } }", "answer": "10"}, {"question": "Was the person with the official website www.williamsanderson.net born prior to 1943 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.williamsanderson.net/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1943", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.williamsanderson.net/\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1943 ) .  }", "answer": "no"}, {"question": "What is the association of The Lord of the Rings: The Two Towers (whose Nintendo GameID is GLOD69) to Electronic Arts?", "choices": ["applies to jurisdiction", "organisation directed from the office or person", "place of birth", "programming language", "afflicts", "developer", "performer", "legislative body", "publisher", "operating system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Two Towers"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GLOD69"]}, {"function": "Find", "dependencies": [], "inputs": ["Electronic Arts"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Lord of the Rings: The Two Towers\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"GLOD69\" . ?e_2 <pred:name> \"Electronic Arts\" . ?e_1 ?p ?e_2 .  }", "answer": "publisher"}, {"question": "The Ontario Liberal Party is officially represented by which website?", "choices": ["http://www.pa.gov", "https://web.archive.org/web/20080603025643/http://www.luckyred.it/ildivo/", "http://www.ontarioliberal.ca/fr/Default.aspx", "http://www.catherinetate.co.uk/", "http://www.clubolimpia.com/", "http://richsommer.com/", "http://www.montana.edu/", "http://www.dragontattoo.com", "http://www.themonicarial.com", "http://www.wthefilm.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ontario Liberal Party"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ontario Liberal Party\" . ?e <official_website> ?pv .  }", "answer": "http://www.ontarioliberal.ca/fr/Default.aspx"}, {"question": "Which US city can be found in the Texas county with the official English-language website www.epcounty.com ?", "choices": ["Houston", "Columbus", "Plano", "Mesa", "Tallahassee", "Waukegan", "El Paso", "Richmond", "New Haven", "New Orleans"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.epcounty.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Texas\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.epcounty.com\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "El Paso"}, {"question": "Denver, the birthplace of movie director Tim Allen, is in which administrative territorial entity?", "choices": ["Kingdom of Lombardy\u2013Venetia", "Suisse Romande", "Colorado", "Al Madinah Region", "Habsburg Monarchy", "Spanish Netherlands", "New York City", "Perm Governorate", "New Mexico", "sanjak of the Ottoman Empire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Allen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Denver"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tim Allen\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"film director\" . ?e_2 <pred:name> \"Denver\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Colorado"}, {"question": "What is the ISNI of John Waters (the one whose birth name is John Samuel Waters) ?", "choices": ["0000 0001 0634 2982", "0000 0001 0917 8268", "0000 0001 2315 1184", "0000 0001 2140 5355", "0000 0000 8350 2700", "0000 0001 2130 2495", "0000 0001 1261 2934", "0000 0001 2276 3584", "0000 0001 0921 0045", "0000 0001 1465 867X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Waters"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "John Samuel Waters"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Waters\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"John Samuel Waters\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 8350 2700"}, {"question": "How many Scarlet color dogs have a catalog code of 111?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["catalog code", "111"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "Find", "dependencies": [], "inputs": ["scarlet"]}, {"function": "Relate", "dependencies": [3], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["dog"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" . ?e <catalog_code> ?pv . ?pv <pred:value> \"111\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"scarlet\" .  }", "answer": "0"}, {"question": "What experience does Lionel Richie have in acting?", "choices": ["connects with", "chief executive officer", "narrative location", "has dialect (DEPRECATED)", "production company", "voice type", "time period", "depicted by", "occupation", "field of this occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lionel Richie"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lionel Richie\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Who has a Twitter account named doctorskippy?", "choices": ["William Henry Harrison", "Jason Isaacs", "Bea Arthur", "Richard Gere", "Donald Trump", "Max Fleischer", "Dean Cain", "Sylvester Stallone", "Michael Connelly", "David X. Cohen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "doctorskippy"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"doctorskippy\" .  }", "answer": "Donald Trump"}, {"question": "For which work was Bai Ling awarded the  Hong Kong Film Award for Best Supporting Actress?", "choices": ["Romeo + Juliet", "The Yearling", "Three... Extremes", "Star Wars Episode V: The Empire Strikes Back", "MASH", "Rhapsody in Rivets", "12 Monkeys", "What's Eating Gilbert Grape", "Kinsey", "These Days"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best Supporting Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Bai Ling"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hong Kong Film Award for Best Supporting Actress\" . ?e_2 <pred:name> \"Bai Ling\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Three... Extremes"}, {"question": "What is the language associated with this creative work at https://www.cityoftulsa.org/default.aspx, the official website of Tulsa (the one that is the birthplace of Alfre Woodard)?", "choices": ["J\u00e8rriais", "Xhosa", "Klingon", "English", "Punjabi", "Japanese", "Old English", "Armenian", "Basque", "Wolof"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alfre Woodard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tulsa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "https://www.cityoftulsa.org/default.aspx", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Tulsa\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Alfre Woodard\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.cityoftulsa.org/default.aspx\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many music genres have an inception time not in 1978 or have an inception time after 1990?", "choices": ["52", "53", "54", "55", "56", "57", "58", "59", "60", "61"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1978", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1990", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1990 ) .  } }", "answer": "55"}, {"question": "Which movie is shorter, Reversal of Fortune or Million Dollar Baby (the one that mainly depicts boxing)?", "choices": ["Training Day", "Reversal of Fortune", "The Fifth Element", "Rebecca", "Million Dollar Baby", "A Prairie Home Companion", "Pleasantville", "The Towering Inferno", "The Hunchback of Notre Dame", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Reversal of Fortune"]}, {"function": "Find", "dependencies": [], "inputs": ["boxing"]}, {"function": "Relate", "dependencies": [1], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Million Dollar Baby"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Reversal of Fortune\" .  } UNION { ?e <pred:name> \"Million Dollar Baby\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"boxing\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Reversal of Fortune"}, {"question": "Which one is lower in relation to the sea level, Stockport, where Rob James-Collier was born, or Brno ?", "choices": ["Stockport", "Wigan", "Macclesfield", "Colchester", "Wimbledon", "Blackburn", "South Shields", "Doncaster", "Edmonton", "Royal Tunbridge Wells"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob James-Collier"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stockport"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brno"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stockport\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Rob James-Collier\" .   } UNION { ?e <pred:name> \"Brno\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Stockport"}, {"question": "How many children does Jane Wyman have?", "choices": ["7", "2 daughter", "8", "12", "3", "9", "0", "2", "11", "5"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jane Wyman"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of children"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jane Wyman\" . ?e <number_of_children> ?pv .  }", "answer": "3"}, {"question": "John DeCuir got an Academy Award for Best Production Design, tell me this subject's statement.", "choices": ["Germany\u2013Oman relations", "Mexico\u2013Pakistan relations", "Poland\u2013Slovakia border", "42nd Academy Awards", "Syria\u2013Turkey relations", "Uruguay\u2013Venezuela relations", "Belgium\u2013Israel relations", "Greece\u2013Lithuania relations", "Japan\u2013North Korea relations", "Serbia\u2013Sweden relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John DeCuir"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John DeCuir\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "42nd Academy Awards"}, {"question": "How many string instruments have a Hornbostel-Sachs classification of 321.322 or are a part of sitar?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "321.322"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["string instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["sitar"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has parts of the class", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["string instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"string instrument\" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.322\" .  } UNION { ?e_1 <has_parts_of_the_class> ?e . ?e_1 <pred:name> \"sitar\" .  } }", "answer": "1"}, {"question": "Sliema Wanderers F.C. is related to Malta in what way?", "choices": ["country", "participant of", "league", "filmography", "domain of saint or deity", "award disciplines or subjects", "chairperson", "heritage designation", "drafted by", "language of work or name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sliema Wanderers F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Malta"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sliema Wanderers F.C.\" . ?e_2 <pred:name> \"Malta\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How was it determined that Allegheny County counts 1,223,348 people living there?", "choices": ["estimation process", "population projection", "Family record booklet", "hearth tax", "Sixth National Population Census of the People's Republic of China", "Taqdir", "census", "de jure", "rated voltage", "demographic balance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Allegheny County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "1223348", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Allegheny County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1223348\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "What's the Libris-URI belonging to the person who's got a Munzinger IBA of 00000000160?", "choices": ["khwzzq730smmqsd", "0xbdf6sj4lqc75h", "wt7959hf5g9tmll", "53hlspvp1g9zhfg", "tr579xfc059451k", "b8nqrxpv1v5qwk3", "xv8bc3fg0wf200d", "fcrtx4sz4kspm08", "xv8cgzng14qh999", "dbqtz9zx1tw2m9p"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000000160"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000000160\" . ?e <Libris-URI> ?pv .  }", "answer": "khwzzq730smmqsd"}, {"question": "What is the time period that 402 is the population of Hillsboro?", "choices": ["1946", "1923", "1500-01-01", "1913-11-13", "2017-07-06", "1880", "2018-10-11", "2006-07-01", "2006-03-15", "1977-11-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hillsboro"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "402", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hillsboro\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"402\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1880"}, {"question": "What is the subject of a statement that Z, which is originally in Russian, was nominated for Academy Award for Best Foreign Language Film ?", "choices": ["Grenada\u2013United Kingdom relations", "France\u2013Mauritius relations", "India\u2013Myanmar border", "Russia\u2013Turkey relations", "Belarus\u2013Ukraine relations", "Seychelles\u2013United States relations", "Germany-Sudan relations", "Russia\u2013Zambia relations", "Taiwan\u2013Turkey relations", "42nd Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Z"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Foreign Language Film"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Z\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"Russian\" . ?e_2 <pred:name> \"Academy Award for Best Foreign Language Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "42nd Academy Awards"}, {"question": "When was Jorge Garcia a SAG Award winner for Outstanding Performance by an Ensemble in a Drama Series ?", "choices": ["1984-06-19", "2019-01-12", "2002-04-01", "1864-01-01", "1742-01-01", "2006", "2017-04-25", "1959", "1960-04-04", "1932"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Jorge Garcia"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_2 <pred:name> \"Jorge Garcia\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "What is the name of the person born before 1968 with the Twitter username doctorgraffin?", "choices": ["William Henry Harrison", "Marie Antoinette", "Kamal Haasan", "Joe Pesci", "Sylvester Stallone", "John Ford", "Greg Graffin", "Tom Cruise", "Max Fleischer", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "doctorgraffin"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1968", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"doctorgraffin\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1968 ) .  }", "answer": "Greg Graffin"}, {"question": "How is Paul Williams born on 1963-11-08 related to Newport County A.F.C.?", "choices": ["has parts of the class", "member of sports team", "sibling", "uses", "position played on team / speciality", "has edition", "head of state", "language used", "Wikidata property", "follows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Williams"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1963-11-08", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Newport County A.F.C."]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Williams\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1963-11-08\"^^xsd:date . ?e_2 <pred:name> \"Newport County A.F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the population of Lawrence, whose area is 90.451891 square kilometres?", "choices": ["872932", "380621", "96205", "45858", "87643", "41071", "4648494", "18406905", "62912", "5211764"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "90.451891 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lawrence\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"90.451891\"^^xsd:double . ?e <population> ?pv .  }", "answer": "87643"}, {"question": "How is Mali Finn related to United States of America?", "choices": ["position played on team / speciality", "occupant", "member of political party", "production designer", "designed by", "main subject", "has dialect (DEPRECATED)", "country of citizenship", "position held", "works in collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mali Finn"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mali Finn\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the ISNI of the person that is famous for world?", "choices": ["0000 0001 1261 2934", "0000 0001 1018 3806", "0000 0001 1878 6548", "0000 0001 2238 5560", "0000 0000 4744 6334", "0000 0004 0588 2292", "0000 0004 0415 3872", "0000 0001 1680 954X", "0000 0000 4361 9306", "0000 0000 8199 1491"], "program": [{"function": "Find", "dependencies": [], "inputs": ["world"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"world\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 4361 9306"}, {"question": "What is the connection between Michael C. Hall to Jennifer Carpenter?", "choices": ["connects with", "substitute/deputy/replacement of office/officeholder", "spouse", "interests", "military casualty classification", "conferred by", "has part", "replaced by", "screenwriter", "designated as terrorist by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael C. Hall"]}, {"function": "Find", "dependencies": [], "inputs": ["Jennifer Carpenter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael C. Hall\" . ?e_2 <pred:name> \"Jennifer Carpenter\" . ?e_1 ?p ?e_2 .  }", "answer": "spouse"}, {"question": "Which soccer club officially named Clwb P\u00eal-droed Dinas Abertawe goes by the Twitter username swansofficial?", "choices": ["Brisbane Roar FC", "Preston North End F.C.", "Hibernian F.C.", "Middlesbrough F.C.", "Roda JC Kerkrade", "Zamalek SC", "Stade Brestois 29", "Swansea City A.F.C.", "Rochester Rhinos", "S.C. Braga"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Clwb P\u00eal-droed Dinas Abertawe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "swansofficial"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_name> ?pv . ?pv <pred:value> \"Clwb P\u00eal-droed Dinas Abertawe\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"swansofficial\" .  }", "answer": "Swansea City A.F.C."}, {"question": "Did the human that was President of the United States (beginning 1893-03-04) not die in 2015?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["President of the United States"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1893-03-04", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2015", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_held> ?e_1 . ?e_1 <pred:name> \"President of the United States\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1893-03-04\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2015 ) .  }", "answer": "yes"}, {"question": "Which school is denoted by ISNI code 0000 0001 2154 761X?", "choices": ["Harvard Business School", "New York University Stern School of Business", "Columbia Business School", "Stuyvesant High School", "The Wharton School", "Yale School of Medicine", "MIT Sloan School of Management", "Phillips Academy", "London Business School", "Lowell High School"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2154 761X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2154 761X\" .  }", "answer": "MIT Sloan School of Management"}, {"question": "Is the run-time of the visual artwork titled Kundun under 5500 seconds ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Kundun"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5500 second", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Kundun\" . ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v < \"5500\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which visual artwork has a script written by Warren Ellis (whose Twitter username is warrenellis)?", "choices": ["Runaway Jury", "Iron Man 3", "The Towering Inferno", "My-HiME", "Pleasantville", "Sir", "Talk to Her", "A Prairie Home Companion", "The Fifth Element", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren Ellis"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "warrenellis"]}, {"function": "Relate", "dependencies": [1], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Warren Ellis\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"warrenellis\" .   }", "answer": "Iron Man 3"}, {"question": "What is the connection between Douglas County (the one whose area is 519 square kilometre) to Georgia (the one whose percent of water area is 3.22 percentage)?", "choices": ["member of sports team", "platform", "rector", "located on terrain feature", "located in the administrative territorial entity", "medical condition", "stated in", "symptoms", "film crew member", "source of income"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "519 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Georgia"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["water as percent of area", "3.22 percentage", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Douglas County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"519\"^^xsd:double . ?e_2 <pred:name> \"Georgia\" . ?e_2 <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> \"3.22\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How many Illinois counties are in the sovereign state that is the release region of Cobra (which was nominated for Golden Raspberry Award for Worst Picture)?", "choices": ["18", "19", "20", "21", "22", "23", "24", "25", "26", "27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cobra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["film release region", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["county of Illinois"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> \"Cobra\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Picture\" .   }", "answer": "18"}, {"question": "What former French region has a Dewey Decimal Classification of 2--4439?", "choices": ["Champagne-Ardenne", "Upper Normandy", "Nord-Pas-de-Calais", "Alsace", "Lorraine", "Burgundy", "Picardy", "Aquitaine", "Lower Normandy", "Poitou-Charentes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--4439"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--4439\" .  }", "answer": "Alsace"}, {"question": "Louise Fletcher is cast as which character on One Flew Over the Cuckoo's Nest, composed by Jack Nitzsche?", "choices": ["The Smoking Man", "Harry Dunne", "Robert F. Kennedy", "Veronica Cale", "Samuel Gerard", "Lucius Fox", "Shelby Forthright", "Onus", "Nurse Ratched", "Horace Slughorn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Nitzsche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["One Flew Over the Cuckoo's Nest"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Louise Fletcher"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"One Flew Over the Cuckoo's Nest\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"Jack Nitzsche\" . ?e_2 <pred:name> \"Louise Fletcher\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Nurse Ratched"}, {"question": "Is the population of Seville less than 910000 as of the date 2001-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seville"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2001-01-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["910000", "<"]}], "sparql": "ASK { ?e <pred:name> \"Seville\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"910000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2001-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How many colleges are Duquesne University affiliates or University of London subsidiaries?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duquesne University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["affiliation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "Find", "dependencies": [], "inputs": ["University of London"]}, {"function": "Relate", "dependencies": [3], "inputs": ["subsidiary", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" .  { ?e <affiliation> ?e_1 . ?e_1 <pred:name> \"Duquesne University\" .  } UNION { ?e_1 <subsidiary> ?e . ?e_1 <pred:name> \"University of London\" .  } }", "answer": "2"}, {"question": "If we know the official website, https://www.burtonalbionfc.co.uk/, of a football club in question, when was it founded ?", "choices": ["2003-02-09", "1956-03-20", "1603-01-01", "1946-09-06", "1950", "1971-12-11", "1326", "1693-03-29", "1817", "1797"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.burtonalbionfc.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.burtonalbionfc.co.uk/\" . ?e <inception> ?pv .  }", "answer": "1950"}, {"question": "What is the connection between Harry Shum (the one whose ISNI is 0000 0000 1621 6632) to The University of Hong Kong?", "choices": ["honorific suffix", "located in or next to body of water", "headquarters location", "start point", "hair color", "sport", "seed team", "educated at", "place served by transport hub", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Shum"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 1621 6632"]}, {"function": "Find", "dependencies": [], "inputs": ["The University of Hong Kong"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Shum\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 1621 6632\" . ?e_2 <pred:name> \"The University of Hong Kong\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "What is the licence plate code of the first-level administrative country subdivision whose FIPS 10-4 (countries and regions) is PL86?", "choices": ["66", "P", "DY", "UP-78", "TN", "802", "MC", "\u6e1d A, B, C, F, G, H", "SD", "WOR"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "PL86"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["licence plate code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"PL86\" . ?e <licence_plate_code> ?pv .  }", "answer": "P"}, {"question": "What is the duration of the television series featuring Sally Field as a cast member?", "choices": ["172 minute", "42 minute", "160 minute", "134 minute", "40 minute", "310 minute", "162 minute", "786 minute", "4 year", "146 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sally Field"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sally Field\" .  ?e <duration> ?pv .  }", "answer": "42 minute"}, {"question": "When was FC Sion conceived?", "choices": ["1924-05-29", "1843", "1909", "1970-07-23", "1883-08-13", "1882-09-05", "1910-03-30", "1912-12-24", "1701-01-01", "1959-01-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Sion"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"FC Sion\" . ?e <inception> ?pv .  }", "answer": "1909"}, {"question": "What is the association of David Shore with the 2009 Writers Guild of America Awards?", "choices": ["film distribute region", "influenced by", "said to be the same as", "head of state", "inspired by", "award received", "statistical leader", "organisation directed from the office or person", "newspaper format", "record label"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Shore"]}, {"function": "Find", "dependencies": [], "inputs": ["Writers Guild of America Awards 2009"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Shore\" . ?e_2 <pred:name> \"Writers Guild of America Awards 2009\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the relationship between Stephen Jackson (the one that is educated at University of Leeds) and the University of Leeds?", "choices": ["contributor(s) to the creative work", "educated at", "voice actor", "sidekick of", "substitute/deputy/replacement of office/officeholder", "officially opened by", "had as last meal", "taxon rank", "librettist", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Leeds"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Leeds"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stephen Jackson\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"University of Leeds\" . ?e_2 <pred:name> \"University of Leeds\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How many Screen Actors Guild Awards were nominated to the person with ISNI 0000 0003 9375 0339?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 9375 0339"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Screen Actors Guild Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0003 9375 0339\" .   }", "answer": "1"}, {"question": "What is the OSM tag or key for the Greek Orthodox Church?", "choices": ["Tag:sport=swimming", "Tag:religion=sikh", "Tag:natural=peak", "Tag:historic:period=roman_republic", "Tag:building=hotel", "Tag:denomination=greek_orthodox", "Tag:building:architecture=modern", "Tag:cuisine=italian", "Tag:denomination=seventh_day_adventist", "Tag:denomination=presbyterian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greek Orthodox Church"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OSM tag or key"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Greek Orthodox Church\" . ?e <OSM_tag_or_key> ?pv .  }", "answer": "Tag:denomination=greek_orthodox"}, {"question": "Where was Wall Street, with Lauren Tom among the cast, published on 18th February 1988?", "choices": ["Philippines", "Los Angeles", "Australia", "Hollywood", "Germany", "Argentina", "Denmark", "Quebec", "Chicago", "Israel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lauren Tom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wall Street"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1988-02-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Wall Street\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Lauren Tom\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1988-02-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which area has fewer people, Valdosta or Mount Vernon (the one that is located in Westchester County)?", "choices": ["New Haven", "Mount Vernon", "Columbus", "Lansing", "Franklin", "Valdosta", "Greenville", "Boulder", "Oakland", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Valdosta"]}, {"function": "Find", "dependencies": [], "inputs": ["Westchester County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mount Vernon"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Valdosta\" .  } UNION { ?e <pred:name> \"Mount Vernon\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Westchester County\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Valdosta"}, {"question": "Which one is longer, Kansas City (the one whose title is Kansas City) or Dune (the one whose original film format is 35 mm film) ?", "choices": ["Rebecca", "The Fifth Element", "A Prairie Home Companion", "Pleasantville", "Kansas City", "Dune", "The Towering Inferno", "Talk to Her", "Training Day", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kansas City"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Kansas City"]}, {"function": "Find", "dependencies": [], "inputs": ["35 mm film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original film format", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dune"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kansas City\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Kansas City\" . } UNION { ?e <pred:name> \"Dune\" . ?e <original_film_format> ?e_1 . ?e_1 <pred:name> \"35 mm film\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dune"}, {"question": "What is the postal code of the university whose street address is 37th and O St NW, Washington, DC, 20057-0001?", "choices": ["5400037", "55057-1098", "20057-0001", "9485\u20139498", "90239\u201390242", "48824", "59700\u201359799", "97331", "28237", "92623"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)", "37th and O St NW, Washington, DC, 20057-0001"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_at_street_address_(DEPRECATED)> ?pv_1 . ?pv_1 <pred:value> \"37th and O St NW, Washington, DC, 20057-0001\" . ?e <postal_code> ?pv .  }", "answer": "20057-0001"}, {"question": "How many people subscribe to the Instagram user named xzibit and the Twitter user also named xzibit?", "choices": ["4337", "2362460", "3924598", "5213104", "22393557", "108611", "494750", "27888", "21432", "3557481"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "xzibit"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "xzibit", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"xzibit\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"xzibit\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "494750"}, {"question": "Which movie is longer, The Scorpion King (the one whose release region is United States of America) or George Washington (the one that is shot in North Carolina)?", "choices": ["Curse of the Golden Flower", "The Scorpion King", "A Prairie Home Companion", "The Towering Inferno", "Pleasantville", "George Washington", "Training Day", "Talk to Her", "Rebecca", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scorpion King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["North Carolina"]}, {"function": "Relate", "dependencies": [4], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Scorpion King\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"George Washington\" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> \"North Carolina\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Scorpion King"}, {"question": "When did the person die with CANTIC-ID a11782171?", "choices": ["1796-07-08", "2003-09-28", "2010-07-21", "1884-06-21", "2010-08-08", "1989-02-09", "2005-06-06", "1980-07-24", "1946-04-21", "2010-06-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11782171"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11782171\" . ?e <date_of_death> ?pv .  }", "answer": "2005-06-06"}, {"question": "Are there more episodes of Las Vegas, first aired on NBC, or of Days of our Lives?", "choices": ["Las Vegas", "Saturday Night's Main Event", "Six Feet Under", "Robot Chicken", "Seinfeld", "Bleak House", "Dancing with the Stars", "American Horror Story", "Days of our Lives", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Las Vegas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Days of our Lives"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Las Vegas\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"NBC\" .   } UNION { ?e <pred:name> \"Days of our Lives\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Days of our Lives"}, {"question": "Sonic the Hedgehog, published on 2006-12-21, is represented by the website http://sonic.sega.jp/sonic/ in which language?", "choices": ["Canadian English", "Bulgarian", "Slavic languages", "Portuguese", "Ukrainian", "Romanian", "Japanese", "Brazilian Portuguese", "Georgian", "Luxembourgish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2006-12-21", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "http://sonic.sega.jp/sonic/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Sonic the Hedgehog\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2006-12-21\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://sonic.sega.jp/sonic/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Japanese"}, {"question": "How many pop musics began before 1990 and are the genre of Neil Young (who received a Grammy Award for Best Rock Song)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1990", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["pop music"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Rock Song"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Neil Young"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["pop music"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pop music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1990 ) . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Neil Young\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Grammy Award for Best Rock Song\" .  }", "answer": "1"}, {"question": "What did Francis Ford Coppola receive the Academy Award for Best Picture for?", "choices": ["China\u2013Somalia relations", "54th Tony Awards", "Germany\u2013Iran relations", "Minnesota\u2013Wisconsin border", "47th Academy Awards", "Bulgaria\u2013Indonesia relations", "pen name", "Betty Comden and Adolph Green", "Cyprus\u2013Saudi Arabia relations", "Bolivia\u2013Cuba relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Francis Ford Coppola"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Francis Ford Coppola\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "47th Academy Awards"}, {"question": "What number of Critics' Choice Movie Award did the person whose Deutsche Synchronkartei actor-ID is 2124 win?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "2124"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Critics' Choice Movie Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Critics' Choice Movie Award\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"2124\" .   }", "answer": "1"}, {"question": "Which person was born in Coral Gables?", "choices": ["Morgan Spurlock", "Jason Momoa", "Mimi Rogers", "Christopher Wren", "William Henry Harrison", "Richard Gere", "Max Fleischer", "Wim Wenders", "Andy Samberg", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coral Gables"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Coral Gables\" .   }", "answer": "Mimi Rogers"}, {"question": "What language is associated with the official website http://lookoutrecords.com/ for the record label that is headquartered in Berkeley (hat is the birthplace of Daniel Wu)?", "choices": ["multiple languages", "Slavic languages", "British English", "O'odham", "Hungarian", "Corsican", "Modern Greek", "Croatian", "English", "Belarusian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Wu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Berkeley"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://lookoutrecords.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Berkeley\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Daniel Wu\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://lookoutrecords.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the native label of a city in the US where Jerry Goldsmith died?", "choices": ["State of Connecticut", "Aarhus", "Beverly Hills", "Rocky Mountains", "Republik Indonesia", "Ecclesia Catholica Romana", "Burbank", "Darwin", "\u0627\u0644\u0634\u0650\u0651\u064a\u0639\u064e\u0629", "Anne Arundel County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Jerry Goldsmith\" .  ?e <native_label> ?pv .  }", "answer": "Beverly Hills"}, {"question": "How many democracies are associated with Wolfgang Amadeus Mozart?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wolfgang Amadeus Mozart"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "Relate", "dependencies": [2], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["democracy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"ethnic group\" . ?e_2 <ethnic_group> ?e_1 . ?e_2 <pred:name> \"Wolfgang Amadeus Mozart\" .   }", "answer": "1"}, {"question": "What role was played by Brendan Fraser in the cast of Mummy Returns (composer Alan Silvestri)?", "choices": ["Prince Escalus", "Nicholas Porter Earp", "Eddie Valiant", "Larry Quinn", "Joker", "Commissioner Liebowitz", "Darla", "Rick O'Connell", "Kenneth O'Donnell", "Fallen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Silvestri"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Mummy Returns"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brendan Fraser"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Mummy Returns\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"Alan Silvestri\" . ?e_2 <pred:name> \"Brendan Fraser\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Rick O'Connell"}, {"question": "Does Lynn or Warren have a greater area?", "choices": ["Warren", "Oakland", "Greenville", "Waukegan", "Columbus", "Compton", "Boulder", "Franklin", "New Haven", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lynn"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "9 metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Warren"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lynn\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"9\"^^xsd:double . } UNION { ?e <pred:name> \"Warren\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Warren"}, {"question": "How many researchers have their occupation matching the one of Roger Moore (computer scientist by occupation) and their  Dewey Decimal Classification is 004.092  ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["computer scientist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Roger Moore"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["researcher"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["Dewey Decimal Classification", "004.092"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["researcher"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Roger Moore\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"computer scientist\" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"004.092\" .  }", "answer": "1"}, {"question": "Which form of anarcho-punk originated in the UK prior to 2006?", "choices": ["Skate punk", "The Kinks", "crust punk", "Band Aid", "Cowpunk", "ska punk", "Camel", "space rock", "The Beatles", "doom metal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anarcho-punk"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "2006", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anarcho-punk"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anarcho-punk\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }", "answer": "crust punk"}, {"question": "What is the connection between Paul Robeson to writer?", "choices": ["occupation", "office held by head of the organisation", "update method", "sexual orientation", "instrument", "professional or sports partner", "place of origin (Switzerland)", "cast member", "uses", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Robeson"]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Robeson\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How was it determined that the population of the county of Maryland sharing a border with Chester County had 101108 people living in it?", "choices": ["resident registration", "UIS estimation", "United Kingdom Census 1991", "gross floor area", "United Kingdom Census 1971", "2000 United States Census", "2010 United States Census", "rated voltage", "Census", "census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chester County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maryland"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "101108", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Chester County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"101108\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Does the US city with the official website of http://www.melbourneflorida.org have more than 2200000 people (the point in time of this statement is 1885)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.melbourneflorida.org"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "1885"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2200000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.melbourneflorida.org\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2200000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1885 .  }", "answer": "no"}, {"question": "What is the official website of University of Dundee?", "choices": ["http://www.fcschaffhausen.ch/", "http://terminatorsalvation.warnerbros.com/dvd/index.html", "http://jessemetcalfe.net/", "http://www.utoronto.ca/", "http://www.cbc.ca/television/", "http://www.therealbrentspiner.com", "http://www.jasonkidd.com", "https://www.fcutrecht.nl/", "http://www.markstrong.co.uk/", "http://www.dundee.ac.uk/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Dundee"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of Dundee\" . ?e <official_website> ?pv .  }", "answer": "http://www.dundee.ac.uk/"}, {"question": "How is Peter Farrelly related to Bobby Farrelly?", "choices": ["country of citizenship", "cites", "nutrient", "commander of", "discoverer or inventor", "distribution", "territory claimed by", "board member", "sibling", "noble title"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Farrelly"]}, {"function": "Find", "dependencies": [], "inputs": ["Bobby Farrelly"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Farrelly\" . ?e_2 <pred:name> \"Bobby Farrelly\" . ?e_1 ?p ?e_2 .  }", "answer": "sibling"}, {"question": "Is Vanity Fair, released on 1932-01-01, or Mission: Impossible III the shorter of these two works?", "choices": ["A Prairie Home Companion", "Training Day", "The Fifth Element", "The Hunchback of Notre Dame", "The Towering Inferno", "Rebecca", "Mission: Impossible III", "Pleasantville", "Talk to Her", "Vanity Fair"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vanity Fair"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1932-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible III"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Vanity Fair\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1932-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Mission: Impossible III\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Vanity Fair"}, {"question": "How is Roy Thomas (the one whose date of birth is 1953-06-22) related to St. Louis Cardinals ?", "choices": ["edition or translation of", "member of sports team", "member of political party", "contains administrative territorial entity", "located in the administrative territorial entity", "grants", "eye color", "head of government", "enclave within", "seed team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roy Thomas"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1953-06-22", "="]}, {"function": "Find", "dependencies": [], "inputs": ["St. Louis Cardinals"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Roy Thomas\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1953-06-22\"^^xsd:date . ?e_2 <pred:name> \"St. Louis Cardinals\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Was Mark 'Spike' Stent born after 1946?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark 'Spike' Stent"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1946", ">"]}], "sparql": "ASK { ?e <pred:name> \"Mark 'Spike' Stent\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1946 ) .  }", "answer": "yes"}, {"question": "Which area is larger, Strasbourg or Tallinn?", "choices": ["New Delhi", "Manila", "Mexico City", "Tallinn", "Sarajevo", "Lausanne", "Strasbourg", "Riga", "Moscow", "Doha"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Strasbourg"]}, {"function": "Find", "dependencies": [], "inputs": ["Tallinn"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Strasbourg\" .  } UNION { ?e <pred:name> \"Tallinn\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tallinn"}, {"question": "What is the connection between Taito Corporation to Tokyo (the one that is the twinned administrative body of Amman)?", "choices": ["executive producer", "afflicts", "film editor", "officeholder", "headquarters location", "donated by", "archives at", "narrative role", "captain", "office contested"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taito Corporation"]}, {"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tokyo"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Taito Corporation\" . ?e_2 <pred:name> \"Tokyo\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Amman\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What is the connection between Harvey Weinstein to Democratic Party?", "choices": ["member of", "office held by head of government", "home port", "capital", "symptom of", "member of political party", "kit supplier", "office contested", "voice type", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harvey Weinstein"]}, {"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harvey Weinstein\" . ?e_2 <pred:name> \"Democratic Party\" . ?e_1 ?p ?e_2 .  }", "answer": "member of political party"}, {"question": "How is Milton Friedman related to the Nobel Prize in Economics?", "choices": ["eye color", "conferred by", "killed by", "librettist", "religion", "award received", "shares border with", "significant event", "has parts of the class", "candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milton Friedman"]}, {"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Economics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Milton Friedman\" . ?e_2 <pred:name> \"Nobel Prize in Economics\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How is The Merry Widow starring Irene Lentz related to Joan Crawford who won a National Board of Review Award for Best Actress?", "choices": ["used by", "characters", "country of citizenship", "different from", "feast day", "airline hub", "subsidiary", "cast member", "film crew member", "academic degree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irene Lentz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Board of Review Award for Best Actress"]}, {"function": "Relate", "dependencies": [4], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joan Crawford"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Merry Widow\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Irene Lentz\" . ?e_2 <pred:name> \"Joan Crawford\" . ?e_4 <winner> ?e_2 . ?e_4 <pred:name> \"National Board of Review Award for Best Actress\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When was the person who was an influence on Soundgarden born?", "choices": ["1925-03-12", "1942-11-27", "1958-01-26", "1932-03-18", "1934-06-26", "1564", "1982-03-04", "1960-04-11", "1970-10-09", "1946-03-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Soundgarden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Soundgarden\" .  ?e <date_of_birth> ?pv .  }", "answer": "1942-11-27"}, {"question": "When is the birth date of Paul Williams of Doncaster Rovers football club?", "choices": ["1919-01-31", "1951-05-03", "1952-11-28", "1963-11-08", "1924-04-03", "1921-02-08", "1739-07-26", "1938-10-30", "1978-07-12", "1943-05-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doncaster Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Paul Williams\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Doncaster Rovers F.C.\" .  ?e <date_of_birth> ?pv .  }", "answer": "1963-11-08"}, {"question": "What is Ravi Shankar's name in his native language?", "choices": ["Jackie Chan", "Dirk Bogarde", "Leslie Bricusse", "Friedrich II. der Gro\u00dfe", "Elektra", "Grey Griffin", "Catherine Zeta-Jones", "Michael Mann", "\u0930\u0935\u093f \u0936\u0902\u0915\u0930", "Michelle Williams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ravi Shankar"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ravi Shankar\" . ?e <name_in_native_language> ?pv .  }", "answer": "\u0930\u0935\u093f \u0936\u0902\u0915\u0930"}, {"question": "Is the formation date of the association football club whose official website is http://www.chievoverona.it/ (this statement is in the Italian language) in the year 1946?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.chievoverona.it/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "Italian"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1946", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.chievoverona.it/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Italian\" . ?e <inception> ?pv . ?pv <pred:year> 1946 .  }", "answer": "no"}, {"question": "Sony Interactive Entertainment is the producer of how many models of video game consoles?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony Interactive Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manufacturer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <manufacturer> ?e_1 . ?e_1 <pred:name> \"Sony Interactive Entertainment\" .   }", "answer": "2"}, {"question": "Which movie is shorter, Bedknobs and Broomsticks or The Rocketeer (the one that has Melora Hardin as a cast member)?", "choices": ["The Rocketeer", "The Muppets", "Bedknobs and Broomsticks", "The Flintstones in Viva Rock Vegas", "The Flintstones", "Alvin and the Chipmunks: Chipwrecked", "Old Dogs", "National Treasure: Book of Secrets", "John Carter", "G-Force"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bedknobs and Broomsticks"]}, {"function": "Find", "dependencies": [], "inputs": ["Melora Hardin"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Rocketeer"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bedknobs and Broomsticks\" .  } UNION { ?e <pred:name> \"The Rocketeer\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Melora Hardin\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Rocketeer"}, {"question": "What is the Libris-URI of Nino Rota?", "choices": ["64jmrb8q4pv0j20", "42gjm28n4sdk0l2", "khwz07w35kqqc8l", "jgvz32t22dm16d9", "ljx15cc402ns10l", "b8nr0pjv2pznktn", "jgvxz9d23dg3zsk", "mkz29jn55l2cggl", "ljx18n242q0r275", "xv8bc38g4jckml0"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nino Rota"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Nino Rota\" . ?e <Libris-URI> ?pv .  }", "answer": "jgvz32t22dm16d9"}, {"question": "For Australia (the one whose Human Development Index is 0.865), what is the determination method for its use of the Sinhala language?", "choices": ["Census", "United Kingdom Census 1971", "Family record booklet", "2016 Australian census", "average", "Canada 2011 Census", "United Kingdom Census 2011", "tradition", "Address Based Population Registration System", "Pensky\u2013Martens closed-cup test"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Human Development Index", "0.865", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sinhala"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["language used", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Australia\" . ?e_1 <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.865\"^^xsd:double . ?e_2 <pred:name> \"Sinhala\" . ?e_1 <language_used> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <language_used> ; <pred:fact_t> ?e_2 ] <determination_method> ?qpv .  }", "answer": "2016 Australian census"}, {"question": "Which weighs less, phosphorus or sodium?", "choices": ["sodium", "Beauty and the Beast", "magnesium", "phosphorus", "manganese", "Pakistan Peoples Party", "Dog Day Afternoon", "calcium", "zinc", "selenium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["phosphorus"]}, {"function": "Find", "dependencies": [], "inputs": ["sodium"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"phosphorus\" .  } UNION { ?e <pred:name> \"sodium\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "sodium"}, {"question": "For which work did Hayley Williams receive the Grammy Award for Best Rock Song?", "choices": ["Ain't It Fun", "Uninvited", "Salvador", "Sunflower", "Melancholia", "Some Came Running", "The Four Seasons", "The Age of Innocence", "Friends with Money", "The Angry Silence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hayley Williams"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Rock Song"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hayley Williams\" . ?e_2 <pred:name> \"Grammy Award for Best Rock Song\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Ain't It Fun"}, {"question": "What is Gary Dourdan's date of birth?", "choices": ["1930-04-23", "1980-04-18", "1950-12-05", "1950-05-30", "1860-01-29", "1966-12-11", "1962-09-29", "1910-04-26", "1923-08-29", "1967-01-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gary Dourdan"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Gary Dourdan\" . ?e <date_of_birth> ?pv .  }", "answer": "1966-12-11"}, {"question": "Of independent cities with a population other than 5.5, which occupies the least area?", "choices": ["Danville", "Suffolk", "Richmond", "Lexington", "Fredericksburg", "Norfolk", "Williamsburg", "Falls Church", "Charlottesville", "Petersburg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5.5", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5.5\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falls Church"}, {"question": "Who has the ISNI of 0000 0001 1349 4669?", "choices": ["Albert Brooks", "Jane Wyman", "Aamir Khan", "Jonny Lee Miller", "Frank Oz", "Burl Ives", "Toni Collette", "Sylvester Stallone", "Max Fleischer", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1349 4669"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1349 4669\" .  }", "answer": "Albert Brooks"}, {"question": "Is the smaller area occupied by Livingston County that borders Oakland County or Wayne County, population 1792496?", "choices": ["Livingston County", "Marquette County", "Kent County", "Genesee County", "Tuscola County", "Wayne County", "Saginaw County", "Berrien County", "Clinton County", "Washtenaw County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oakland County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Livingston County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wayne County"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "1792496", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Livingston County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Oakland County\" . } UNION { ?e <pred:name> \"Wayne County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1792496\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Livingston County"}, {"question": "How many television films have a release date before the year 1976 or have the title Enid?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1976", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Enid"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1976 ) .  } UNION { ?e <title> ?pv . ?pv <pred:value> \"Enid\" .  } }", "answer": "18"}, {"question": "When did Craig Rocastle stop playing for Chelsea F.C.?", "choices": ["1906-01-01", "-27", "1794", "1849-03-07", "1991-12-25", "1948-07-17", "1926-07-19", "2005-01-01", "1943-11-05", "1889-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Craig Rocastle"]}, {"function": "Find", "dependencies": [], "inputs": ["Chelsea F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Craig Rocastle\" . ?e_2 <pred:name> \"Chelsea F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "Which is shorter, Bad Teacher distributed by Columbia Pictures or The Girl with the Dragon Tattoo published on 2009-10-01?", "choices": ["Training Day", "The Fifth Element", "A Prairie Home Companion", "Bad Teacher", "Curse of the Golden Flower", "Pleasantville", "The Girl with the Dragon Tattoo", "The Hunchback of Notre Dame", "Rebecca", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bad Teacher"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Girl with the Dragon Tattoo"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "2009-10-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bad Teacher\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Columbia Pictures\" . } UNION { ?e <pred:name> \"The Girl with the Dragon Tattoo\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-10-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bad Teacher"}, {"question": "Which has less duration, A Clockwork Orange (which was nominated for National Society of Film Critics Award for Best Film) or Patton?", "choices": ["The Fifth Element", "Curse of the Golden Flower", "Patton", "Talk to Her", "A Clockwork Orange", "Rebecca", "Pleasantville", "A Prairie Home Companion", "Training Day", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Clockwork Orange"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Patton"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Clockwork Orange\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Film\" .   } UNION { ?e <pred:name> \"Patton\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "A Clockwork Orange"}, {"question": "What war ended on 1954-08-01?", "choices": ["Crusade", "Coalition Wars", "Gulf War", "First War of Scottish Independence", "First Crusade", "World War I", "War on Terror", "First Indochina War", "French invasion of Russia", "Korean War"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1954-08-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <end_time> ?pv . ?pv <pred:date> \"1954-08-01\"^^xsd:date .  }", "answer": "First Indochina War"}, {"question": "What is the relation between Amanda Plummer and Christopher Plummer?", "choices": ["home venue", "destination point", "license", "position held", "military conflicts", "original film format", "territory overlaps", "father", "practiced by", "collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amanda Plummer"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Plummer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amanda Plummer\" . ?e_2 <pred:name> \"Christopher Plummer\" . ?e_1 ?p ?e_2 .  }", "answer": "father"}, {"question": "Which university has more students, Towson University or Swansea University?", "choices": ["King's College London", "McMaster University", "Pennsylvania State University", "Presidency University", "McNeese State University", "University of Manchester", "University of Tehran", "Towson University", "Imperial College London", "Swansea University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Towson University"]}, {"function": "Find", "dependencies": [], "inputs": ["Swansea University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Towson University\" .  } UNION { ?e <pred:name> \"Swansea University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Towson University"}, {"question": "What is the connection between samba to Brazil (the one that has a diplomatic relation with Argentina)?", "choices": ["continent", "presenter", "geographic distribution", "software engine", "distribution", "designed to carry", "country of origin", "derivative work", "legal form", "fictional universe described in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["samba"]}, {"function": "Find", "dependencies": [], "inputs": ["Argentina"]}, {"function": "Relate", "dependencies": [1], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"samba\" . ?e_2 <pred:name> \"Brazil\" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> \"Argentina\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the postal code for Philadelphia (the one that is the twinned administrative body of Mosul), the headquarters of Elsevier ?", "choices": ["91205", "74182", "77406", "06106-3100", "59101\u201359117", "29579", "19103", "3181", "OL9 6AA", "93047"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elsevier"]}, {"function": "Find", "dependencies": [], "inputs": ["Mosul"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Philadelphia"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Elsevier\" . ?e_2 <pred:name> \"Philadelphia\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Mosul\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "19103"}, {"question": "Which person born in LA has the ISNI 0000 0001 1681 4007?", "choices": ["William Henry Harrison", "Jackie Robinson", "Max Fleischer", "Richard Gere", "Ronald Bass", "Tyrese Gibson", "David Byrne", "Jonah Hill", "Sylvester Stallone", "Mae Whitman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1681 4007"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1681 4007\" .  }", "answer": "Ronald Bass"}, {"question": "Which human was nominated for the Academy Awards received by Stephen Schwartz (the point in time of this statement is 1939)?", "choices": ["James Horner", "Maurice Jarre", "Bryan Adams", "Buddy DeSylva", "Claude Rains", "Mickey Rooney", "James Stewart", "Olivia de Havilland", "Leigh Harline", "Glen Campbell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Schwartz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "1939", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Academy Awards\" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> \"Stephen Schwartz\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1939 .  }", "answer": "Buddy DeSylva"}, {"question": "The cast of which visual artwork includes the person whose CANTIC-ID is a12218650?", "choices": ["Thor", "Victoria", "Star Trek \u2164: The Final Frontier", "Oliver Twist", "Porco Rosso", "A Room with a View", "Salvador", "Rain Man", "She's Having a Baby", "Brighton Rock"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12218650"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a12218650\" .   }", "answer": "Thor"}, {"question": "What is the relation between The Lookout and Joseph Gordon-Levitt?", "choices": ["child astronomical body", "cast member", "candidate", "partner", "software engine", "member of sports team", "director of photography", "famous people", "country", "natural product of taxon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Lookout"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Gordon-Levitt"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Lookout\" . ?e_2 <pred:name> \"Joseph Gordon-Levitt\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which film has the longer running time, Adventureland or Legend (released in the United States of America)?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "The Fifth Element", "Legend", "Curse of the Golden Flower", "Adventureland", "The Towering Inferno", "Talk to Her", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adventureland"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Legend"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adventureland\" .  } UNION { ?e <pred:name> \"Legend\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Legend"}, {"question": "What film is dedicated to the person who died on 1827-08-12?", "choices": ["The Fifth Element", "The Towering Inferno", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "Taken", "Training Day", "Dead Man", "Olympia", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1827-08-12", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["dedicated to", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <dedicated_to> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1827-08-12\"^^xsd:date .   }", "answer": "Dead Man"}, {"question": "Which person created Law & Order, featuring cast member Sam Waterston?", "choices": ["Rahul Dev Burman", "Max Fleischer", "Sylvester Stallone", "William Henry Harrison", "Dick Wolf", "Ken Burns", "William Holden", "Richard Gere", "Jacqueline Bisset", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Waterston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"Law & Order\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Sam Waterston\" .   }", "answer": "Dick Wolf"}, {"question": "The activity represented by its official website, www.berlin2009.org/1-1-home.html, took place at what time?", "choices": ["2017-01-01", "1990-06-03", "1930-01-01", "2004-03-17", "2018-03-20", "2011-06-05", "2009", "2000-08-09", "1514", "1833-09-19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.berlin2009.org/1-1-home.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.berlin2009.org/1-1-home.html\" . ?e <point_in_time> ?pv .  }", "answer": "2009"}, {"question": "What has a shorter incubation period in humans, typhoid fever or yellow fever?", "choices": ["sepsis", "poliomyelitis", "cholera", "epilepsy", "typhoid fever", "acute cystitis", "attention deficit hyperactivity disorder", "pneumonia", "yellow fever", "prostate cancer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["typhoid fever"]}, {"function": "Find", "dependencies": [], "inputs": ["yellow fever"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["minimal incubation period in humans", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"typhoid fever\" .  } UNION { ?e <pred:name> \"yellow fever\" .  } ?e <minimal_incubation_period_in_humans> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "yellow fever"}, {"question": "What is the relation between Dangerous Liaisons (in the erotic thriller genre) and Zhang Ziyi?", "choices": ["successful candidate", "country", "founded by", "cast member", "family name", "member of", "properties for this type", "part of the series", "place of birth", "movement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["erotic thriller"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dangerous Liaisons"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Zhang Ziyi"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dangerous Liaisons\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"erotic thriller\" . ?e_2 <pred:name> \"Zhang Ziyi\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How was it determined that Saginaw County has a population of 196542?", "choices": ["estimation process", "UIS estimation", "Family record booklet", "administrative division valid at the time point of history to which the data relates", "Census", "Taqdir", "United Kingdom Census 2011", "Population registration in Sweden", "FIFA World Rankings", "extrapolation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saginaw County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "196542", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Saginaw County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"196542\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the time point of its population of 136443, for the neighborhood that is the death place of Aladdin (the one that plays the instrument violin)?", "choices": ["1999-09-15", "1872", "2000-01-01", "2003-06-01", "2007-07-01", "2014-07-17", "1780-01-01", "1960-11-01", "2015-09-01", "2000-11-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["violin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aladdin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["neighborhood"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "136443", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Aladdin\" . ?e_1 <instrument> ?e_2 . ?e_2 <pred:name> \"violin\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"136443\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000-01-01"}, {"question": "Was the person that lives in Nairobi born after 1747?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nairobi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1747", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Nairobi\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1747 ) .  }", "answer": "yes"}, {"question": "Is Sheryl Crow's official website http://www.hawaiicounty.gov/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheryl Crow"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.hawaiicounty.gov/"]}], "sparql": "ASK { ?e <pred:name> \"Sheryl Crow\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.hawaiicounty.gov/\" .  }", "answer": "no"}, {"question": "Which executive producer is the individual with ISNI number 0000 0004 4884 910X?", "choices": ["Richard Gere", "Akiva Goldsman", "Drew Goddard", "Steven Zaillian", "David X. Cohen", "Max Fleischer", "Jennifer Lopez", "Brian Grazer", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 4884 910X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["executive producer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 4884 910X\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"executive producer\" .  }", "answer": "David X. Cohen"}, {"question": "Newcastle upon Tyne, headquarters of Newcastle United F.C., has what connection to Lagos?", "choices": ["twinned administrative body", "instrumentation", "successful candidate", "noble title", "drug used for treatment", "film crew member", "symptoms", "parent club", "domain of saint or deity", "diplomatic relation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newcastle United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Newcastle upon Tyne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lagos"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Newcastle upon Tyne\" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> \"Newcastle United F.C.\" . ?e_2 <pred:name> \"Lagos\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the connection between the Oberlin Conservatory of Music and Oberlin College?", "choices": ["sex or gender", "residence", "foundational text", "work location", "applies to jurisdiction", "uses", "founded by", "successful candidate", "part of", "risk factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oberlin Conservatory of Music"]}, {"function": "Find", "dependencies": [], "inputs": ["Oberlin College"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oberlin Conservatory of Music\" . ?e_2 <pred:name> \"Oberlin College\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "When did the person who composed All That Jazz die?", "choices": ["1911-08-08", "1991-08-22", "2001-11-21", "2013-03-08", "1976-01-18", "1986-11-02", "1992-01-07", "1980-09-15", "1773-12-24", "2004-03-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["All That Jazz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"All That Jazz\" .  ?e <date_of_death> ?pv .  }", "answer": "2001-11-21"}, {"question": "Is the Libris-URI for the person that has a CANTIC-ID of a10058618 equal to rp3572f958fk2g8?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10058618"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["rp3572f958fk2g8"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10058618\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"rp3572f958fk2g8\" .  }", "answer": "no"}, {"question": "What number of National Basketball Association Drafts had a 2006 publication date and took place in Harlem?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haarlem"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Basketball Association Draft"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2006", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["National Basketball Association Draft"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Basketball Association Draft\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Haarlem\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2006 ) .  }", "answer": "0"}, {"question": "How is Vincent van Gogh, who succumbed to suicide, related to Antwerp, twinned administrative body of Marseille?", "choices": ["work location", "instrumentation", "found", "sponsor", "geographic distribution", "natural product of taxon", "position held", "dedicated to", "has cause", "registered with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["suicide"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vincent van Gogh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Marseille"]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Antwerp"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Vincent van Gogh\" . ?e_1 <manner_of_death> ?e_3 . ?e_3 <pred:name> \"suicide\" . ?e_2 <pred:name> \"Antwerp\" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> \"Marseille\" . ?e_1 ?p ?e_2 .  }", "answer": "work location"}, {"question": "Which has less cost, Wonder Woman that is 141 minutes long or Sucker Punch?", "choices": ["Sucker Punch", "Training Day", "Wonder Woman", "Pleasantville", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "A Prairie Home Companion", "Talk to Her", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "141 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sucker Punch"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wonder Woman\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"141\"^^xsd:double . } UNION { ?e <pred:name> \"Sucker Punch\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sucker Punch"}, {"question": "In terms of area, is Antigua and Barbuda or Finland the smaller of the two?", "choices": ["Ukrainian Soviet Socialist Republic", "Lithuania", "Trinidad and Tobago", "Denmark", "Antigua and Barbuda", "Jamaica", "Tajikistan", "Saint Vincent and the Grenadines", "Kosovo", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antigua and Barbuda"]}, {"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Antigua and Barbuda\" .  } UNION { ?e <pred:name> \"Finland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Antigua and Barbuda"}, {"question": "Is http://www.richard-e-grant.com the official website of Richard E. Grant?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard E. Grant"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.richard-e-grant.com"]}], "sparql": "ASK { ?e <pred:name> \"Richard E. Grant\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.richard-e-grant.com\" .  }", "answer": "yes"}, {"question": "When did Denise Richards stop being Charlie Sheen's spouse?", "choices": ["1972-09-11", "2006-11-30", "1801-03-14", "1918-11-10", "2014-06-01", "1993", "1861-03-04", "1870-10-12", "1917-01-01", "2001-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denise Richards"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Sheen"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Denise Richards\" . ?e_2 <pred:name> \"Charlie Sheen\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2006-11-30"}, {"question": "Which mountain range whose elevation is over 6600 feet above sea level has the longest length?", "choices": ["Blue Ridge Mountains", "Pyrenees", "Sierra Nevada", "Pennine Alps", "Alps", "A Bug's Life", "Appalachian Mountains", "Adirondack Mountains", "Cascade Range", "Himalayas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "6600 foot", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["length", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"6600\"^^xsd:double ) . ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cascade Range"}, {"question": "What is PopCap Games' inception time?", "choices": ["1913", "1917-10-25", "1811-01-01", "1649", "1640", "1905-10-26", "2000", "1899-12-16", "1916-07-15", "2001-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PopCap Games"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"PopCap Games\" . ?e <inception> ?pv .  }", "answer": "2000"}, {"question": "When did the administrative-territorial entity whose Dewey Decimal Classification is 2--4643 have a population of 83226?", "choices": ["2011-03-27", "2015-01-01", "2018-10-25", "1832-01-01", "1450-01-01", "2005-02-27", "1993-03-29", "2010-06-01", "1933-01-30", "2006-12-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--4643"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "83226", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--4643\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"83226\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Which movie is longer, Heat (the one whose publication date is 1972-01-01) or Lars and the Real Girl?", "choices": ["Curse of the Golden Flower", "Talk to Her", "A Prairie Home Companion", "Lars and the Real Girl", "Heat", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "Pleasantville", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heat"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1972-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Lars and the Real Girl"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Heat\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1972-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Lars and the Real Girl\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lars and the Real Girl"}, {"question": "Dennis Hopper is cast in what role on Apocalypse Now?", "choices": ["Sally Jackson", "Richard Burbage", "Melvin Purvis", "American Photojournalist", "Erwin K\u00f6nig", "Persephone", "Lucifer", "John Cavil", "Superman", "Johann Tetzel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Apocalypse Now"]}, {"function": "Find", "dependencies": [], "inputs": ["Dennis Hopper"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Apocalypse Now\" . ?e_2 <pred:name> \"Dennis Hopper\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "American Photojournalist"}, {"question": "What is the connection between technical death metal to Canada?", "choices": ["allegiance", "industry", "has effect", "instrumentation", "statistical leader", "heritage designation", "professorship", "occupant", "country of origin", "family name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["technical death metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"technical death metal\" . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "How many schools were founded before 1859?", "choices": ["18", "19", "20", "21", "22", "23", "24", "25", "26", "27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1859", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1859 ) .  }", "answer": "21"}, {"question": "What is the relationship between hard rock to AC/DC?", "choices": ["organizer", "famous people", "official color", "head coach", "military casualty classification", "political alignment", "ethnic group", "librettist", "notable people with this condition", "cites"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hard rock"]}, {"function": "Find", "dependencies": [], "inputs": ["AC/DC"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"hard rock\" . ?e_2 <pred:name> \"AC/DC\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many writers have won the Filmfare Award for Best Director or are designated by ISCO occupation code 2451?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["author"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISCO occupation code", "2451"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["author"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"author\" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Filmfare Award for Best Director\" .  } UNION { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> \"2451\" .  } }", "answer": "2"}, {"question": "How many film genres have the distributor Icon Productions or have the IAB code 337?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Icon Productions"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IAB code", "337"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" .  { ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Icon Productions\" .  } UNION { ?e <IAB_code> ?pv . ?pv <pred:value> \"337\" .  } }", "answer": "2"}, {"question": "How many literary genres either have the title Frankenstein or are classified as 813.54 in the Dewey Decimal Classification system?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Frankenstein"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary genre"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "813.54"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary genre\" .  { ?e <title> ?pv . ?pv <pred:value> \"Frankenstein\" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"813.54\" .  } }", "answer": "2"}, {"question": "Is 0000 0000 8159 1906 Charlie Laughton's ISNI?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Laughton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 8159 1906"]}], "sparql": "ASK { ?e <pred:name> \"Charles Laughton\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8159 1906\" .  }", "answer": "no"}, {"question": "What is the relationship between Yale School of Medicine and Yale University?", "choices": ["operator", "territory claimed by", "league", "director", "different from", "field of this occupation", "noble title", "approved by", "part of", "godparent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yale School of Medicine"]}, {"function": "Find", "dependencies": [], "inputs": ["Yale University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Yale School of Medicine\" . ?e_2 <pred:name> \"Yale University\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "When was The Island of Dr. Moreau (which was nominated for a Golden Raspberry Award for Worst Director) nominated for a Golden Raspberry Award for Worst Picture?", "choices": ["1990-05-01", "1863", "1996", "2006-05-18", "2020", "2018-05-17", "1430", "1990-01-01", "1100", "2002-12-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Island of Dr. Moreau"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Island of Dr. Moreau\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Director\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1996"}, {"question": "Which one of Pennsylvanian cities, with 717 as the local dialing code, has the lowest altitude above sea level?", "choices": ["Bethlehem", "Harrisburg", "York", "Philadelphia", "Pittsburgh", "Lancaster", "Greensburg", "Chester", "Wilkes-Barre", "Erie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "717"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"717\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Harrisburg"}, {"question": "Rabindranath Tagore, scripted by Satyajit Ray, has what connection to India, which has a diplomatic relationship with Fiji?", "choices": ["illustrator", "military branch", "copyright holder", "signatory", "highest judicial authority", "country of origin", "doctoral student", "shares border with", "drafted by", "distribution"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satyajit Ray"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rabindranath Tagore"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Fiji"]}, {"function": "Relate", "dependencies": [4], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rabindranath Tagore\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Satyajit Ray\" . ?e_2 <pred:name> \"India\" . ?e_4 <diplomatic_relation> ?e_2 . ?e_4 <pred:name> \"Fiji\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Which movie which CBS originally aired has Ed Asner in the cast?", "choices": ["JFK", "The Good Wife", "The Wrestler", "Murder on the Orient Express", "The Mary Tyler Moore Show", "A Streetcar Named Desire", "The Gift", "The Family Man", "Lou Grant", "The Star Wars Holiday Special"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Ed Asner"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"CBS\" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Ed Asner\" .  }", "answer": "The Family Man"}, {"question": "How many hip hop music renditions have a beginning date that is after 1988 and not in 1992?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1988", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hip hop music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1992", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hip hop music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1988 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1992 ) .  }", "answer": "3"}, {"question": "When was the member of Cardiff City F.C. (the start time of this statement is 1991) born?", "choices": ["1961-06-25", "1939-09-01", "1960-10-03", "1446", "1964-11-06", "1960-09-10", "1970-12-18", "1961-12-01", "1957-11-03", "1925-10-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cardiff City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1991", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Cardiff City F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1991 . ?e <date_of_birth> ?pv .  }", "answer": "1960-10-03"}, {"question": "What is the demonym for the city whose postal code is LA1?", "choices": ["Virginian", "\u05d2\u05e8\u05e0\u05d3\u05d9", "benines", "Egyp\u0165an\u00e9", "Sanmarin\u00e4nan", "Lancastrian", "porto-alegrense", "letons", "dominikaner", "eritree"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "LA1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["demonym"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"LA1\" . ?e <demonym> ?pv .  }", "answer": "Lancastrian"}, {"question": "Is Mighty Aphrodite or A Dangerous Method shorter?", "choices": ["Mighty Aphrodite", "The Fifth Element", "A Prairie Home Companion", "A Dangerous Method", "Training Day", "Talk to Her", "The Towering Inferno", "Curse of the Golden Flower", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mighty Aphrodite"]}, {"function": "Find", "dependencies": [], "inputs": ["A Dangerous Method"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mighty Aphrodite\" .  } UNION { ?e <pred:name> \"A Dangerous Method\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mighty Aphrodite"}, {"question": "What is the beginning date that 116454 is the exploitation visa number for Red Road?", "choices": ["1997-03-03", "2006-11-20", "1948-01-30", "1990-11-06", "1945-06-15", "2011-03-11", "1963-10-29", "2007-07-24", "1912-11-20", "1977-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Road"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["exploitation visa number", "116454", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Red Road\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"116454\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2006-11-20"}, {"question": "Among the democracies whose compulsory education (minimum age) is not equal to 4.7 years old,which one has the smallest PPP GDP per capita ?", "choices": ["Zimbabwe", "Colombia", "India", "Sierra Leone", "Tunisia", "Italy", "Germany", "France", "Mozambique", "Indonesia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["compulsory education (minimum age)", "4.7 years old", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["PPP GDP per capita", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <compulsory_education_(minimum_age)> ?pv_1 . ?pv_1 <pred:unit> \"years old\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"4.7\"^^xsd:double ) . ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Zimbabwe"}, {"question": "The educational institution which is private, not for profit and has a PermID of 5000334595 practices which particular religion?", "choices": ["Pentecostalism", "United Church of Christ", "Russian Orthodox Church", "Presbyterianism", "Methodism", "Evangelical Christianity", "atheism", "Churches of Christ", "Baptists", "Nondenominational Christianity"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5000334595"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private not-for-profit educational institution"]}, {"function": "Relate", "dependencies": [2], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["religion"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e_1 <religion> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"private not-for-profit educational institution\" . ?e_1 <PermID> ?pv . ?pv <pred:value> \"5000334595\" .   }", "answer": "Churches of Christ"}, {"question": "Val Kilmer was cast as which character on The Doors?", "choices": ["Neo", "Vicki Vale", "Andy Sipowicz", "Jim Morrison", "Debra Morgan", "SpongeBob SquarePants", "Crazy Cat Lady", "Merlin", "Loretta Stinson", "Leo McGarry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Val Kilmer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Doors"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Val Kilmer"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Doors\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Val Kilmer\" . ?e_2 <pred:name> \"Val Kilmer\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Jim Morrison"}, {"question": "What is the Instagram username for the New Orleans Saints?", "choices": ["evanrachelwood", "theprodigyofficial", "national_gallery", "iraqnationalfootballteam", "saints", "swansofficial", "joejonas", "thatdanstevens", "sixers", "councilofeurope"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Orleans Saints"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"New Orleans Saints\" . ?e <Instagram_username> ?pv .  }", "answer": "saints"}, {"question": "What is the number of Screen Actors Guild Award that has inception time after 2008 or that has the official website https://www.sagawards.org", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "2008", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Screen Actors Guild Award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.sagawards.org"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Screen Actors Guild Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2008 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.sagawards.org\" .  } }", "answer": "1"}, {"question": "Does the person with an Instagram username of tarajiphenson have an ISNI of 0000 0000 7826 4891?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "tarajiphenson"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 7826 4891"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"tarajiphenson\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7826 4891\" .  }", "answer": "yes"}, {"question": "What is the character role of Tress MacNeille, voice actor in Animaniacs (the one that has Jess Harnell as a voice actor)?", "choices": ["Grand Moff Tarkin", "Mayor Quimby", "Barney Ross", "Dot Warner", "Malcolm X", "Austin Powers", "Katherine Mayfair", "Homer Van Meter", "Loretta Stinson", "The Ancestors"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jess Harnell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Animaniacs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tress MacNeille"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Animaniacs\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Jess Harnell\" . ?e_2 <pred:name> \"Tress MacNeille\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Dot Warner"}, {"question": "What is the ending date that small forward is the position of Michael Jordan whose nickname is His Airness?", "choices": ["2017-07-08", "2009-08-07", "1944-11-13", "1968-10-27", "1865-05-26", "2009-03-20", "2000-12-21", "2003", "1990-10-02", "1944-07-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Jordan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "His Airness"]}, {"function": "Find", "dependencies": [], "inputs": ["small forward"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["position played on team / speciality", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Jordan\" . ?e_1 <nickname> ?pv . ?pv <pred:value> \"His Airness\" . ?e_2 <pred:name> \"small forward\" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_played_on_team_/_speciality> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2003"}, {"question": "Which language is associated with http://www.law.virginia.edu/, the official website of the law school that is the education place of Bill Nelson (who has the occupation of lawyer and an academic degree of Juris Doctor)?", "choices": ["Occitan", "Nynorsk", "Bokm\u00e5l", "Macedonian", "Arabic", "English", "Latvian", "Standard Chinese", "Franco-Proven\u00e7al", "Basque"], "program": [{"function": "Find", "dependencies": [], "inputs": ["lawyer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Nelson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["academic degree", "Juris Doctor"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["law school"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["official website", "http://www.law.virginia.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Bill Nelson\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"lawyer\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e ] <academic_degree> ?qpv_1 . ?qpv_1 <pred:value> \"Juris Doctor\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.law.virginia.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the catalog code of the group of organisms known by one particular common name whose subreddit is Yorkies?", "choices": ["7", "166", "086", "66", "122", "149", "88697-18240-2", "RS 6317", "731", "Bruce_Banner_(Earth-616)"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Yorkies"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["catalog code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Yorkies\" . ?e <catalog_code> ?pv .  }", "answer": "086"}, {"question": "To which part of a sovereign state, comprising the country where Guyana national football team belongs, does its demonym \u05d2\u05d9\u05d0\u05e0\u05d9\u05ea apply ?", "choices": ["East Jerusalem", "Stewart County", "Hardeman County", "3rd arrondissement of Paris", "Netherlands", "feminine", "Doctor Who", "Bradley County", "Hancock County", "legislation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guyana national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "\u05d2\u05d9\u05d0\u05e0\u05d9\u05ea", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country_for_sport> ?e . ?e_1 <pred:name> \"Guyana national football team\" .  ?e <demonym> ?pv . ?pv <pred:value> \"\u05d2\u05d9\u05d0\u05e0\u05d9\u05ea\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "feminine"}, {"question": "When did Mo'Nique win the Academy Award for Best Supporting Actress?", "choices": ["2009", "2002-01-11", "2014-01-31", "1919-01-01", "2015-10-28", "1840-12-01", "1856", "1864", "2007-08-01", "2009-09-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Mo'Nique"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_2 <pred:name> \"Mo'Nique\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "How many mechanical waves began before 1930 or after 1920?", "choices": ["139", "140", "141", "142", "143", "144", "145", "146", "147", "148"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1930", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1920", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mechanical wave"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1930 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1920 ) .  } }", "answer": "147"}, {"question": "How many ice hockey teams have a Giphy username of lakings and was founded before 1966?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "lakings"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ice hockey team"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1966", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ice hockey team"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"lakings\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1966 ) .  }", "answer": "0"}, {"question": "Tell me the number of towns in the United States that does not have an inception before1793 and uses 617 for dialing area code", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1793", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["local dialing code", "617"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1793 ) . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"617\" .  }", "answer": "1"}, {"question": "Released in Italy, Hellboy is set at what point in time in New Jersey?", "choices": ["1821-01-01", "2004-12-01", "1833-09-18", "1944", "2011-03-09", "2006-10-18", "1912-05-15", "2015-09-03", "1972-01-25", "2007-07-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hellboy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New Jersey"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["narrative location", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hellboy\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Italy\" . ?e_2 <pred:name> \"New Jersey\" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1944"}, {"question": "When did the U.S. city that contains Scroll and Key have a population of 129779?", "choices": ["2005-08-01", "2011-06-28", "1821", "1700-01-01", "2003-06-01", "1945", "2008-07-02", "2010", "2005-02-27", "2016-02-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scroll and Key"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "129779", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Scroll and Key\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"129779\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "What organization has its headquarters in Warsaw?", "choices": ["Royal Australian Air Force", "Legia Warsaw", "The McClatchy Company", "Village Roadshow Pictures", "Orange", "Interactive Advertising Bureau", "McDonald's", "NBCUniversal", "Academy of Television Arts & Sciences", "Lions Gate Entertainment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warsaw"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Warsaw\" .   }", "answer": "Interactive Advertising Bureau"}, {"question": "If we know that http://www.johnnyenglishreborn.com is the official website of a movie in question, where was this movie published on 6th October 2011 ?", "choices": ["Colombia", "Sorrento", "Tokyo", "Toronto", "Tribeca Film Festival", "Czech Republic", "Germany", "Russia", "United States of America", "Central Park"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.johnnyenglishreborn.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-10-06", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.johnnyenglishreborn.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-10-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which language is associated with http://www.warnerbrosrecords.com, the official website of the record label that is the record label of Alice Cooper (which has origins from the United States of America)?", "choices": ["Punjab", "Croatian", "Hindi", "Yue Chinese", "Hungarian", "English", "Xhosa", "Ukrainian", "Nynorsk", "Welsh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice Cooper"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.warnerbrosrecords.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Alice Cooper\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.warnerbrosrecords.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is ITFRR  the UN/LOCODE of the city that is the birthplace of Andrea Romano (the one that is the citizen of Italy) ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrea Romano"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["UN/LOCODE"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["ITFRR"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Andrea Romano\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"Italy\" .  ?e <UN/LOCODE> ?pv . ?pv <pred:value> \"ITFRR\" .  }", "answer": "no"}, {"question": "Which movie is longer, Inland Empire or Rules of Engagement (the one whose publication date is 2000-01-01)?", "choices": ["A Prairie Home Companion", "The Towering Inferno", "Rebecca", "Curse of the Golden Flower", "Inland Empire", "Rules of Engagement", "Talk to Her", "The Hunchback of Notre Dame", "Pleasantville", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Inland Empire"]}, {"function": "Find", "dependencies": [], "inputs": ["Rules of Engagement"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2000-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Inland Empire\" . } UNION { ?e <pred:name> \"Rules of Engagement\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2000-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Inland Empire"}, {"question": "Which has more seats, Parliament of Canada or French National Assembly?", "choices": ["Vigor Shipyards", "BBC", "Pfizer", "French National Assembly", "United States Department of the Air Force", "McDonald's", "Parliament of Canada", "Academy of Television Arts & Sciences", "Hamburger SV", "E. W. Scripps Company"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Parliament of Canada"]}, {"function": "Find", "dependencies": [], "inputs": ["French National Assembly"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seats", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Parliament of Canada\" .  } UNION { ?e <pred:name> \"French National Assembly\" .  } ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "French National Assembly"}, {"question": "For the literary genre that derives Watchmen (the one whose publication date is 2009-03-05), what is the language associated with this creative work for its official website of http://www.dccomics.com/watchmen?", "choices": ["Korean", "Old English", "Danish", "Indonesian", "English", "Basque", "Punjab", "Toki Pona", "Spanish", "Japanese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watchmen"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-03-05", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["literary genre"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.dccomics.com/watchmen", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary genre\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Watchmen\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-03-05\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.dccomics.com/watchmen\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Where was Me and Orson Welles published on 2008-09-05?", "choices": ["Uruguay", "2008 Toronto International Film Festival", "German Democratic Republic", "Lithuania", "Tribeca Film Festival", "Sweden", "Greece", "London", "United Arab Emirates", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Me and Orson Welles"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2008-09-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Me and Orson Welles\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-09-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "2008 Toronto International Film Festival"}, {"question": "When did the sovereign state whose country is Dominica have a population totaling 71737?", "choices": ["1866", "1965-01-01", "2015-04-30", "2015-07-09", "1998-10-21", "2017-05-20", "2014-04-05", "1730", "1972", "2009-03-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dominica"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "71737", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Dominica\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"71737\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1972"}, {"question": "Which one has a smallest percentage of water area, Louisiana (the one whose population is 2,101,593) or Arizona (the one whose population is 5,130,632) ?", "choices": ["Florida", "Massachusetts", "California", "Hawaii", "Arizona", "Illinois", "New Mexico", "Louisiana", "Iowa", "New Jersey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louisiana"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2101593", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Arizona"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "5130632", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["water as percent of area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Louisiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2101593\"^^xsd:double . } UNION { ?e <pred:name> \"Arizona\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"5130632\"^^xsd:double . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Arizona"}, {"question": "What is the local dialing code of the city with the native label of \u091c\u0932\u0902\u0927\u0930?", "choices": ["(+1) 442, (+1) 760", "91", "0395", "202", "034907", "1463", "181", "0521", "0451", "786"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "\u091c\u0932\u0902\u0927\u0930"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"\u091c\u0932\u0902\u0927\u0930\" . ?e <local_dialing_code> ?pv .  }", "answer": "181"}, {"question": "Did Everton F.C. not begin in 1709?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everton F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1709", "!="]}], "sparql": "ASK { ?e <pred:name> \"Everton F.C.\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1709 ) .  }", "answer": "yes"}, {"question": "What is the connection between death metal to Dave Grohl?", "choices": ["political alignment", "drug used for treatment", "airline alliance", "next higher rank", "source of income", "mouth of the watercourse", "location of formation", "designated as terrorist by", "famous people", "parent astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["death metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Dave Grohl"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"death metal\" . ?e_2 <pred:name> \"Dave Grohl\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What animated series produced by Fox Broadcasting Company has the least episodes?", "choices": ["Tiny Toon Adventures", "The Cleveland Show", "Phineas and Ferb", "Batman Beyond", "Futurama", "Aladdin", "South Park", "Robot Chicken", "American Dad!", "Family Guy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fox Broadcasting Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Fox Broadcasting Company\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Cleveland Show"}, {"question": "Is 2880 square kilometres the area of the Pennsylvania county whose official website is http://co.centre.pa.us?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://co.centre.pa.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2880 square kilometre", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://co.centre.pa.us\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"2880\"^^xsd:double .  }", "answer": "yes"}, {"question": "When did Britney Spears win MTV Video Music Award for Video of the Year ?", "choices": ["1803", "2007-06-28", "2008-05-07", "1980-01-01", "2016-05-05", "2008", "2005-03-23", "1948-01-01", "1910-12-01", "2009-01-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Video of the Year"]}, {"function": "Find", "dependencies": [], "inputs": ["Britney Spears"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Video of the Year\" . ?e_2 <pred:name> \"Britney Spears\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2008"}, {"question": "How many in mathematics include dentistry as a part or include graph theory as a part?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dentistry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mathematics"]}, {"function": "Find", "dependencies": [], "inputs": ["graph theory"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mathematics"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mathematics\" .  { ?e <has_part> ?e_1 . ?e_1 <pred:name> \"dentistry\" .  } UNION { ?e <has_part> ?e_1 . ?e_1 <pred:name> \"graph theory\" .  } }", "answer": "1"}, {"question": "How is Monty Python related to the genre of black comedy?", "choices": ["place of death", "languages spoken, written or signed", "notable work", "uses", "successful candidate", "this taxon is source of", "director/manager", "airline hub", "genre", "seed team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monty Python"]}, {"function": "Find", "dependencies": [], "inputs": ["black comedy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Monty Python\" . ?e_2 <pred:name> \"black comedy\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the association of Alec Guinness with Marylebone?", "choices": ["home port", "organizer", "coextensive with", "make-up artist", "part of", "symptom of", "allegiance", "place of birth", "indigenous to", "operator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alec Guinness"]}, {"function": "Find", "dependencies": [], "inputs": ["Marylebone"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alec Guinness\" . ?e_2 <pred:name> \"Marylebone\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How any constitutional monarchy are a member of the agent with http://www.afdb.org/ as their official website?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.afdb.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["constitutional monarchy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e <member_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"agent\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.afdb.org/\" .   }", "answer": "2"}, {"question": "When was Stephen Jay Gould nominated for a Pulitzer Prize for General Non-Fiction?", "choices": ["1873", "1813-12-01", "2002-01-01", "2001-05-16", "1970-01-01", "1979-04-09", "2014-05-08", "1990", "1765-01-01", "2011-12-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Jay Gould"]}, {"function": "Find", "dependencies": [], "inputs": ["Pulitzer Prize for General Non-Fiction"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Stephen Jay Gould\" . ?e_2 <pred:name> \"Pulitzer Prize for General Non-Fiction\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1990"}, {"question": "What language is associated with the official website http://www.fdu.edu for the higher learning institution having the street address 1000 River Rd, Teaneck, NJ, 07666?", "choices": ["Lower Sorbian", "Valencian", "American English", "Punjabi", "Albanian", "French", "Portuguese", "multiple languages", "English", "Icelandic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)", "1000 River Rd, Teaneck, NJ, 07666"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.fdu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_at_street_address_(DEPRECATED)> ?pv_1 . ?pv_1 <pred:value> \"1000 River Rd, Teaneck, NJ, 07666\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fdu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which has more students, University of Louisiana at Monroe or Brandeis University?", "choices": ["University of Tehran", "Imperial College London", "Presidency University", "University of Manchester", "University of Louisiana at Monroe", "McNeese State University", "King's College London", "Pennsylvania State University", "Brandeis University", "Panjab University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Louisiana at Monroe"]}, {"function": "Find", "dependencies": [], "inputs": ["Brandeis University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Louisiana at Monroe\" .  } UNION { ?e <pred:name> \"Brandeis University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Louisiana at Monroe"}, {"question": "Is the official website for Associazione Sportiva Livorno Calcio, http://www.brokebackmountain.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Associazione Sportiva Livorno Calcio"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.brokebackmountain.com"]}], "sparql": "ASK { ?e <pred:name> \"Associazione Sportiva Livorno Calcio\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.brokebackmountain.com\" .  }", "answer": "no"}, {"question": "Which show has more seasons, ABC Afterschool Special or The Smurfs (the one whose number of episodes is 256)?", "choices": ["ABC Afterschool Special", "American Horror Story", "Six Feet Under", "Bleak House", "Saturday Night's Main Event", "Robot Chicken", "Dancing with the Stars", "The Smurfs", "Phineas and Ferb", "Seinfeld"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ABC Afterschool Special"]}, {"function": "Find", "dependencies": [], "inputs": ["The Smurfs"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of episodes", "256", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"ABC Afterschool Special\" . } UNION { ?e <pred:name> \"The Smurfs\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"256\"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "ABC Afterschool Special"}, {"question": "How many historical countries use the Japanese yen as their currency or are an ethnic community of African Americans?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese yen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["currency", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Find", "dependencies": [], "inputs": ["African Americans"]}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["historical country"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" .  { ?e <currency> ?e_1 . ?e_1 <pred:name> \"Japanese yen\" .  } UNION { ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"African Americans\" .  } }", "answer": "2"}, {"question": "Did the person of ISNI 0000 0001 0653 5004 die subsequent to 2011 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0653 5004"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2011", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0653 5004\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2011 ) .  }", "answer": "no"}, {"question": "When did Richard Brooks (the one that is a member of Southampton F.C.) become a member of Reading F.C.?", "choices": ["1968-10-12", "1911-01-01", "2004-08-05", "2011-08-30", "2002-10-30", "1948-01-04", "2017-03-02", "2004-10-03", "1994-06-06", "2011-09-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Southampton F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Brooks"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Reading F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Brooks\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Southampton F.C.\" . ?e_2 <pred:name> \"Reading F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1911-01-01"}, {"question": "What is the association of Tom McCarthy (who is a member of the Boston Red Sox) with baseball?", "choices": ["patron saint", "country of origin", "member of political party", "licensed to broadcast to", "home world", "is a list of", "contains administrative territorial entity", "exclave of", "sport", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston Red Sox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom McCarthy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tom McCarthy\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Boston Red Sox\" . ?e_2 <pred:name> \"baseball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Who has fewer children, Adam West (the one whose pseudonym is Adam West) or Vin Diesel?", "choices": ["William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "Vin Diesel", "Richard Gere", "Rahul Dev Burman", "Adam West", "Simon Cowell", "Paul Simon", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam West"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Adam West"]}, {"function": "Find", "dependencies": [], "inputs": ["Vin Diesel"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adam West\" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> \"Adam West\" . } UNION { ?e <pred:name> \"Vin Diesel\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Vin Diesel"}, {"question": "which has a smaller area, Fiji or Rhodesia", "choices": ["Lithuania", "Fiji", "Cuba", "Tajikistan", "Rhodesia", "Bulgaria", "Greece", "Kazakhstan", "Finland", "Kosovo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fiji"]}, {"function": "Find", "dependencies": [], "inputs": ["Rhodesia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fiji\" .  } UNION { ?e <pred:name> \"Rhodesia\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fiji"}, {"question": "When did Milan whose postal code is 20149 become the twinned administrative body of \u014csaka?", "choices": ["1920-05-07", "1779-02-20", "1991-05-15", "1661", "2002-08-01", "1918-03-12", "1989-09-09", "1981-04-10", "1912-11-20", "1949-05-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "20149"]}, {"function": "Find", "dependencies": [], "inputs": ["\u014csaka"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Milan\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"20149\" . ?e_2 <pred:name> \"\u014csaka\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1981-04-10"}, {"question": "Which is bigger in area, Logan (the one whose area is 46.988273 square kilometre) or Irving?", "choices": ["Waukegan", "Columbus", "Irving", "Greenville", "Oakland", "Franklin", "Lansing", "Compton", "New Haven", "Logan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Logan"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "46.988273 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Irving"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Logan\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"46.988273\"^^xsd:double . } UNION { ?e <pred:name> \"Irving\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Irving"}, {"question": "How many points did Michael Jordan, wearing number 23, achieve in the matches for Washington Wizards ?", "choices": ["20", "49", "61", "8", "10", "53", "60", "3", "21541", "3015"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Jordan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sport number", "23"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington Wizards"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Jordan\" . ?e_1 <sport_number> ?pv . ?pv <pred:value> \"23\" . ?e_2 <pred:name> \"Washington Wizards\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "3015"}, {"question": "What is shorter in duration, Man on the Moon or Anastasia (which was published on 1998-04-02)?", "choices": ["A Christmas Carol", "Anastasia", "Ponyo on the Cliff by the Sea", "The Polar Express", "Magic Knight Rayearth", "Naruto Shippuden the Movie: Bonds", "My-HiME", "Man on the Moon", "Superman", "Wonder Woman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Man on the Moon"]}, {"function": "Find", "dependencies": [], "inputs": ["Anastasia"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1998-04-02", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Man on the Moon\" . } UNION { ?e <pred:name> \"Anastasia\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1998-04-02\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Anastasia"}, {"question": "Regarding the chemical element that has Ca as the chemical formula is the electrical conductivity not 25700000 amperes per volt meter ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["chemical formula", "Ca"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["electrical conductivity"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["25700000 amperes per volt meter", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <chemical_formula> ?pv_1 . ?pv_1 <pred:value> \"Ca\" . ?e <electrical_conductivity> ?pv . ?pv <pred:unit> \"amperes per volt meter\" . ?pv <pred:value> ?v . FILTER ( ?v != \"25700000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "http://www.miramax.com/movie/no-country-for-old-men is the official website for which film?", "choices": ["No Country for Old Men", "One Flew Over the Cuckoo's Nest", "Rebecca", "My Left Foot", "Pleasantville", "Dark Shadows", "Beginners", "A Prairie Home Companion", "Twin Peaks: Fire Walk with Me", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/no-country-for-old-men"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/no-country-for-old-men\" .  }", "answer": "No Country for Old Men"}, {"question": "tell me if the Inception time is not 1949 for the mechanical wave that has the IAB code of 367.", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "367"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1949", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e <IAB_code> ?pv_1 . ?pv_1 <pred:value> \"367\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1949 ) .  }", "answer": "yes"}, {"question": "I'd like to know the general officer that is the military rank of James A. Garfield and that is William Tecumseh Sherman's military rank.", "choices": ["graphic designer", "captain", "major general", "illustrator", "astronaut", "cinematographer", "financier", "make-up artist", "seiy\u016b", "bandleader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James A. Garfield"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military rank", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["general officer"]}, {"function": "Find", "dependencies": [], "inputs": ["William Tecumseh Sherman"]}, {"function": "Relate", "dependencies": [3], "inputs": ["military rank", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["general officer"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"general officer\" . ?e_1 <military_rank> ?e . ?e_1 <pred:name> \"James A. Garfield\" .  ?e_2 <military_rank> ?e . ?e_2 <pred:name> \"William Tecumseh Sherman\" .  }", "answer": "major general"}, {"question": "Where was Antwone Fisher (the one whose director of photography is Philippe Rousselot) published on 12th June 2003 ?", "choices": ["Germany", "Westwood", "British Hong Kong", "Belgium", "Egypt", "Bolivia", "Lebanon", "Montreal World Film Festival", "Northern America", "Brazil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philippe Rousselot"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Antwone Fisher"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2003-06-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Antwone Fisher\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Philippe Rousselot\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2003-06-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was the population of the town of the United States whose pronunciation audio is Framingham.ogg 68318 ?", "choices": ["2007-06-01", "1885-12-01", "2009-02-08", "1614", "1830", "2011-02-27", "2003-01-01", "2010-01-01", "2018-09-04", "2017-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Framingham.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "68318", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"Framingham.ogg\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"68318\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "How is U.S. citizen Jonah Hex related to Batman: The Animated Series which received a 23rd Academy Award?", "choices": ["opposite of", "license", "located in or next to body of water", "derivative work", "mouth of the watercourse", "superhuman feature or ability", "present in work", "record label", "killed by", "original network"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jonah Hex"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["23rd Academy Awards"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman: The Animated Series"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jonah Hex\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Batman: The Animated Series\" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> \"23rd Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "present in work"}, {"question": "Is the official website of The Mickey Mouse Club http://www.thehugoawards.org/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mickey Mouse Club"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.thehugoawards.org/"]}], "sparql": "ASK { ?e <pred:name> \"The Mickey Mouse Club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.thehugoawards.org/\" .  }", "answer": "no"}, {"question": "How many subscribers does a band, that won Grammy Award for Best Alternative Music Album (called Brothers), have assigned on its Twitter username the blackkeys?", "choices": ["51982", "250221", "1317", "26937", "801519", "3016", "420177", "99978", "2669", "3697"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Alternative Music Album"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Brothers"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "theblackkeys", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Grammy Award for Best Alternative Music Album\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv_1 . ?qpv_1 <pred:value> \"Brothers\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"theblackkeys\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "801519"}, {"question": "How many private schools with the website www.italiaconti-acting.co.uk are part of Harvard University?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.italiaconti-acting.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private school"]}, {"function": "Find", "dependencies": [], "inputs": ["Harvard University"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private school\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.italiaconti-acting.co.uk/\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Harvard University\" .  }", "answer": "0"}, {"question": "What is the title of the television series that is based on Crash (whose script is written by Paul Haggis)?", "choices": ["Rebecca", "Pocahontas", "The Postman", "Looper", "Ryan's Daughter", "Crash", "Ghost", "Mad Men", "Demolition Man", "A Serious Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Haggis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Crash\" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> \"Paul Haggis\" .  ?e <title> ?pv .  }", "answer": "Crash"}, {"question": "How big is the county of Michigan which was founded in 1835?", "choices": ["58.4 square kilometre", "491 square kilometre", "20.2 square kilometre", "36993.89 square kilometre", "108.149723 square kilometre", "60000 square mile", "85.787398 square kilometre", "24930000 square kilometre", "71.491428 square kilometre", "1682 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1835", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1835 . ?e <area> ?pv .  }", "answer": "1682 square kilometre"}, {"question": "How is George Hopkins related to the role of screenwriter?", "choices": ["place of publication", "film release region", "librettist", "named after", "occupation", "developer", "owned by", "drug used for treatment", "dialect of", "has effect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Hopkins"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Hopkins\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which movie is longer, The Wolfman or Romeo and Juliet (the one that was nominated for BAFTA Award for Best Actor in a Supporting Role)?", "choices": ["A Prairie Home Companion", "Pleasantville", "Rebecca", "The Wolfman", "Talk to Her", "The Hunchback of Notre Dame", "The Fifth Element", "Training Day", "The Towering Inferno", "Romeo and Juliet"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wolfman"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Supporting Role"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Romeo and Juliet"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Wolfman\" .  } UNION { ?e <pred:name> \"Romeo and Juliet\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Supporting Role\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Romeo and Juliet"}, {"question": "When did Ki Sung-yueng become a member of FC Seoul?", "choices": ["2008-11-28", "1999-01-10", "2017-05-04", "1787-03-07", "1843-03-04", "1996-04-30", "2010-10-23", "1951-01-01", "1885-03-04", "2006-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ki Sung-yueng"]}, {"function": "Find", "dependencies": [], "inputs": ["FC Seoul"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ki Sung-yueng\" . ?e_2 <pred:name> \"FC Seoul\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "What is the relationship between Leo McCarey to screenwriter?", "choices": ["occupation", "professorship", "programming language", "contributor(s) to the creative work", "student", "costume designer", "depicts", "killed by", "had as last meal", "instrument"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leo McCarey"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Leo McCarey\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is diplomat Max Weber's connection to the American Civil War?", "choices": ["manufacturer", "office contested", "sports season of league or competition", "dissertation submitted to", "conflict", "grants", "sidekick of", "replaced by", "next lower rank", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["diplomat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Max Weber"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["American Civil War"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Max Weber\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"diplomat\" . ?e_2 <pred:name> \"American Civil War\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "Is the date of birth of the person having the Twitter username stevemartintogo prior to the year 1950?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "stevemartintogo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1950", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"stevemartintogo\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1950 ) .  }", "answer": "yes"}, {"question": "Where was Cloud Atlas (released in Finland and published 2012-11-15) published?", "choices": ["Taormina Film Fest", "Germany", "Ireland", "Toronto International Film Festival", "Colombia", "Sweden", "New York", "Cannes", "Chicago", "Lithuania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cloud Atlas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2012-11-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cloud Atlas\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Finland\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2012-11-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which movie is longer, Judgment at Nuremberg or Dead Man Walking?", "choices": ["A Prairie Home Companion", "Dead Man Walking", "Curse of the Golden Flower", "Pleasantville", "The Towering Inferno", "The Fifth Element", "Judgment at Nuremberg", "The Hunchback of Notre Dame", "Training Day", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judgment at Nuremberg"]}, {"function": "Find", "dependencies": [], "inputs": ["Dead Man Walking"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Judgment at Nuremberg\" .  } UNION { ?e <pred:name> \"Dead Man Walking\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Judgment at Nuremberg"}, {"question": "What is the ending date that Gary Cole (who is on the Australia national association football team) is a member of the Australia national association football team?", "choices": ["1176", "1942-01-07", "1976-08-01", "1501-01-01", "1992-02-29", "1508-01-01", "1940-05-10", "2008-07-19", "1984-01-01", "1982-02-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australia national association football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary Cole"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Australia national association football team"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Gary Cole\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Australia national association football team\" . ?e_2 <pred:name> \"Australia national association football team\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1984-01-01"}, {"question": "What language is associated with the official website http://www.elizabethnj.org for the New Jersey city that is the capital of Union County (that shares a border with Morris County)?", "choices": ["Bashkir", "English", "Hungarian", "Danish", "Slovene", "Slovak", "Indian English", "Luxembourgish", "Persian", "Spanish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morris County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Union County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city in New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.elizabethnj.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Union County\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Morris County\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.elizabethnj.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which movie cost less to make, The Avengers (the one whose release region is Finland) or Brazil (the one whose cost is 15000000 United States dollar)?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "Curse of the Golden Flower", "The Towering Inferno", "Brazil", "Pleasantville", "The Avengers", "A Prairie Home Companion", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Avengers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["cost", "15000000 United States dollar", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Avengers\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Finland\" . } UNION { ?e <pred:name> \"Brazil\" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"15000000\"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brazil"}, {"question": "Which movie is shorter, Evan Almighty or Tabu (the one whose publication date is 2012-02-14)?", "choices": ["The Hunchback of Notre Dame", "Evan Almighty", "The Towering Inferno", "Curse of the Golden Flower", "A Prairie Home Companion", "Tabu", "Rebecca", "Training Day", "Pleasantville", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evan Almighty"]}, {"function": "Find", "dependencies": [], "inputs": ["Tabu"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2012-02-14", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Evan Almighty\" . } UNION { ?e <pred:name> \"Tabu\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2012-02-14\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Evan Almighty"}, {"question": "Among the rivers whose watershed area is not equal to 47000 square kilometres, which has the largest watershed area?", "choices": ["Danube", "Rhine", "Missouri River", "Hudson River", "Mississippi River", "We Were Soldiers", "Ohio River", "Amazon", "Columbia River", "River Thames"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["watershed area", "47000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <watershed_area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"47000\"^^xsd:double ) . ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Amazon"}, {"question": "Which one, Wayne County (the one whose area is 751 square mile) or Washington County (the one whose population is 208206), has greater area?", "choices": ["Westmoreland County", "Fayette County", "Warren County", "Washington County", "Allegheny County", "Lehigh County", "Bucks County", "York County", "Franklin County", "Wayne County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wayne County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "751 square mile", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "208206", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wayne County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> \"751\"^^xsd:double . } UNION { ?e <pred:name> \"Washington County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"208206\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Washington County"}, {"question": "Does the shorter run-time belong to The Ghost Writer or to Ip Man, a Hong Kong Film Award nominee for Best Director?", "choices": ["The Towering Inferno", "Pleasantville", "The Fifth Element", "Ip Man", "Talk to Her", "The Hunchback of Notre Dame", "Training Day", "A Prairie Home Companion", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ghost Writer"]}, {"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best Director"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ip Man"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Ghost Writer\" .  } UNION { ?e <pred:name> \"Ip Man\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Hong Kong Film Award for Best Director\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ip Man"}, {"question": "Was the baseball team with Twitter username cardinals established at a time other than 1572?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "cardinals"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1572", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"cardinals\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1572 ) .  }", "answer": "yes"}, {"question": "Among the metropolitan areas that have an area not equal to 120000 square miles, which one has the largest area?", "choices": ["Portland metropolitan area", "Seattle metropolitan area", "Pittsburgh metropolitan area", "Miami metropolitan area", "Greater Houston", "Washington metropolitan area", "Chicago metropolitan area", "New Orleans metropolitan area", "Greater Los Angeles Area", "New York metropolitan area"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "120000 square mile", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"120000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "New York metropolitan area"}, {"question": "Which movie cost more to make, Rush (the one that received BAFTA Award for Best Editing) or The Patriot (the one whose producer is Steven Oscar Seagal)?", "choices": ["Curse of the Golden Flower", "The Towering Inferno", "Rush", "The Fifth Element", "A Prairie Home Companion", "Pleasantville", "Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Steven Oscar Seagal"]}, {"function": "Relate", "dependencies": [4], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rush\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Editing\" .   } UNION { ?e <pred:name> \"The Patriot\" . ?e <producer> ?e_2 . ?e_2 <pred:name> \"Steven Oscar Seagal\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rush"}, {"question": "When did Kasper Schmeichel join Bury F.C.?", "choices": ["1536", "1953-11-10", "1936-12-05", "1999-10-14", "1986-05-13", "1991-01-10", "1991-10-03", "1995-09-09", "2006-01-01", "1997-05-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kasper Schmeichel"]}, {"function": "Find", "dependencies": [], "inputs": ["Bury F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kasper Schmeichel\" . ?e_2 <pred:name> \"Bury F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "Who has more children, Gene Hackman or Angelina Jolie?", "choices": ["Gene Hackman", "Max Fleischer", "Richard Gere", "Sylvester Stallone", "James E. Reilly", "David Byrne", "William Henry Harrison", "Paul Simon", "Rahul Dev Burman", "Angelina Jolie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gene Hackman"]}, {"function": "Find", "dependencies": [], "inputs": ["Angelina Jolie"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gene Hackman\" .  } UNION { ?e <pred:name> \"Angelina Jolie\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Angelina Jolie"}, {"question": "How many contemporary folk music groups are related to famous Taj Mahal (the one whose ISNI is 0000 0001 1598 8398 or KT Tunstall ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taj Mahal"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1598 8398"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["contemporary folk music"]}, {"function": "Find", "dependencies": [], "inputs": ["KT Tunstall"]}, {"function": "Relate", "dependencies": [4], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["contemporary folk music"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"contemporary folk music\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Taj Mahal\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1598 8398\" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"KT Tunstall\" .  } }", "answer": "1"}, {"question": "When did christian John Ritter win a Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series?", "choices": ["1996-01-16", "1764-01-01", "1862", "1996-01-01", "1825-12-01", "2016-03-01", "1840", "2018-02-01", "2016-11-30", "1984"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Christianity"]}, {"function": "Relate", "dependencies": [1], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Ritter"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series\" . ?e_2 <pred:name> \"John Ritter\" . ?e_2 <religion> ?e_3 . ?e_3 <pred:name> \"Christianity\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1984"}, {"question": "Among the animated films whose production company is Warner Bros., which has the smallest duration?", "choices": ["Anastasia", "Wonder Woman", "Magic Knight Rayearth", "Code Geass", "Summer Wars", "Star Wars: The Clone Wars", "Superman", "The Polar Express", "Ponyo on the Cliff by the Sea", "Corpse Bride"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Warner Bros.\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Corpse Bride"}, {"question": "Among the medications that are a nutrient of beef, which one has the smallest atomic number?", "choices": ["Mandy Moore", "prescription drug", "antibiotic", "iron", "over-the-counter drug", "The Girl with the Dragon Tattoo", "The Merry Widow", "copper", "analgesic", "Cliff Robertson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["beef"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["atomic number", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> \"beef\" .  ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "iron"}, {"question": "What is the role of Pat Hingle in Batman, which had Michael Gough as a cast member?", "choices": ["Felix Leiter", "Itchy", "Chris Griffin", "Abigail Chase", "Phillip Jeffries", "Scott Calvin", "Twelfth Doctor", "Sam Witwicky", "James Gordon", "Buzz Lightyear"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Gough"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pat Hingle"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Batman\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michael Gough\" . ?e_2 <pred:name> \"Pat Hingle\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "James Gordon"}, {"question": "What was the disease that causes the death of Gregg Allman and the the death of David Bowie (the one that was a famous pop rock singer)?", "choices": ["liver cancer", "bubonic plague", "diarrhea", "gastroesophageal reflux disease", "pedophilia", "amyotrophic lateral sclerosis", "attention deficit hyperactivity disorder", "peritonitis", "Crohn's disease", "epilepsy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gregg Allman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Bowie"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["cause of death", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["disease"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> \"Gregg Allman\" .  ?e_2 <cause_of_death> ?e . ?e_2 <pred:name> \"David Bowie\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"pop rock\" .  }", "answer": "liver cancer"}, {"question": "Which movie is shorter, Made in Dagenham or Deconstructing Harry?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "Deconstructing Harry", "A Prairie Home Companion", "Curse of the Golden Flower", "Training Day", "Made in Dagenham", "Rebecca", "Pleasantville", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Made in Dagenham"]}, {"function": "Find", "dependencies": [], "inputs": ["Deconstructing Harry"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Made in Dagenham\" .  } UNION { ?e <pred:name> \"Deconstructing Harry\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Deconstructing Harry"}, {"question": "What is the connection between Shame (the one whose color is black-and-white) to Johann Sebastian Bach (the one whose pronunciation audio is De-Johann Sebastian Bach.oga)?", "choices": ["composer", "professional or sports partner", "participant", "significant person", "lyrics by", "indigenous to", "practiced by", "donated by", "programming paradigm", "significant event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Johann Sebastian Bach"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["pronunciation audio", "De-Johann Sebastian Bach.oga"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shame\" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> \"black-and-white\" . ?e_2 <pred:name> \"Johann Sebastian Bach\" . ?e_2 <pronunciation_audio> ?pv . ?pv <pred:value> \"De-Johann Sebastian Bach.oga\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Which opera figure corresponds to the Google Doodle nino-rotas-100th-birthday?", "choices": ["Sylvester Stallone", "Robert Schumann", "Erich Wolfgang Korngold", "Wolfgang Amadeus Mozart", "Richard Strauss", "Sergei Prokofiev", "Nino Rota", "Giuseppe Verdi", "Max Fleischer", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["opera"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Google Doodle", "nino-rotas-100th-birthday"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"opera\" .  ?e <Google_Doodle> ?pv . ?pv <pred:value> \"nino-rotas-100th-birthday\" .  }", "answer": "Nino Rota"}, {"question": "Who has a greater number of children, Mira Sorvino or Sandra Bullock?", "choices": ["James E. Reilly", "Sandra Bullock", "William Henry Harrison", "Simon Cowell", "David Byrne", "Max Fleischer", "Paul Simon", "Mira Sorvino", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mira Sorvino"]}, {"function": "Find", "dependencies": [], "inputs": ["Sandra Bullock"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mira Sorvino\" .  } UNION { ?e <pred:name> \"Sandra Bullock\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mira Sorvino"}, {"question": "How many short films are titled The Town?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Town"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <title> ?pv . ?pv <pred:value> \"The Town\" .  }", "answer": "1"}, {"question": "How many historical countries whose demonym is tedeschi orientali or were dissolved after 1806?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "tedeschi orientali"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["dissolved, abolished or demolished", "1806", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["historical country"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" .  { ?e <demonym> ?pv . ?pv <pred:value> \"tedeschi orientali\" .  } UNION { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1806 ) .  } }", "answer": "21"}, {"question": "When did the sovereign state that is the country of Puebla F.C. have a life expectancy of 76.096 years?", "choices": ["2013-03-14", "2004-12-31", "1435", "2015-02-12", "2008-12-01", "1908", "2006-08-01", "1768", "2010", "2010-05-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Puebla F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["life expectancy", "76.096 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Puebla F.C.\" .  ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"76.096\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Which has a larger GDP (PPP), Tonga or Oman?", "choices": ["Kiribati", "South Sudan", "Socialist Federal Republic of Yugoslavia", "Cambodia", "Samoa", "Switzerland", "Benin", "Russian Soviet Federative Socialist Republic", "Oman", "Weimar Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tonga"]}, {"function": "Find", "dependencies": [], "inputs": ["Oman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["GDP (PPP)", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tonga\" .  } UNION { ?e <pred:name> \"Oman\" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oman"}, {"question": "What is the relation of The Princess and the Frog to Pinocchio (the one whose production company is The Walt Disney Company)?", "choices": ["operating area", "spouse", "cites", "narrative location", "occupation", "country of origin", "this taxon is source of", "mascot", "father", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Princess and the Frog"]}, {"function": "Find", "dependencies": [], "inputs": ["The Walt Disney Company"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pinocchio"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Princess and the Frog\" . ?e_2 <pred:name> \"Pinocchio\" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> \"The Walt Disney Company\" . ?e_1 ?p ?e_2 .  }", "answer": "cites"}, {"question": "How many Chinese provinces are twinned administrative bodies of the Japanese prefecture with ISO 3166-2 code JP-22?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "JP-22"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of China"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"prefecture of Japan\" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"JP-22\" .   }", "answer": "1"}, {"question": "What is the publication region of the visual artwork whose official website is http://www.about-a-boy.com/ and release date is 2002-08-22?", "choices": ["Austria", "Germany", "Moscow", "Seattle International Film Festival", "Indonesia", "Slovakia", "People's Republic of China", "Venice Film Festival", "Poland", "Brazil"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.about-a-boy.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2002-08-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.about-a-boy.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2002-08-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Polk County (the one whose population is 43954) to Chisago County?", "choices": ["appointed by", "partner", "industry", "designed to carry", "publisher", "operating system", "shares border with", "office contested", "license", "location of discovery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Polk County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "43954", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Chisago County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Polk County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"43954\"^^xsd:double . ?e_2 <pred:name> \"Chisago County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is Psycho (the one that has James Remar as a cast member) longer than 70 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Remar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Psycho"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["70 minute", ">"]}], "sparql": "ASK { ?e <pred:name> \"Psycho\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"James Remar\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"70\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does the Lake District or the Andes have the greater width?", "choices": ["Antarctica", "Caribbean", "Atlantic Canada", "Piedmont", "Southern California", "Lake District", "Africa", "Pacific Ocean", "South America", "Andes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake District"]}, {"function": "Find", "dependencies": [], "inputs": ["Andes"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["width", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lake District\" .  } UNION { ?e <pred:name> \"Andes\" .  } ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Andes"}, {"question": "Which administrative territorial entity shares border with Loudoun County ?", "choices": ["London Borough of Tower Hamlets", "Fairfax County", "Jefferson County", "Prince William County", "Weber County", "St. Charles County", "Greenville County", "Jackson County", "Frederick County", "Santa Fe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Loudoun County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Loudoun County\" .   }", "answer": "Jefferson County"}, {"question": "Which part does the province of Canada that shares a border with Pennsylvania, and that has demonym Ontarien, apply to?", "choices": ["Johnson County", "Eastern Province", "Torchwood, season 2", "Bogor", "Community, season 5", "masculine", "Aruba", "Community, season 6", "chemistry", "Yukon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Canada"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "Ontarien", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Canada\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Pennsylvania\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Ontarien\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "What is the soundtrack with Lady Gaga as a performer?", "choices": ["The Sting", "Palo Alto", "Chicken Run", "Glory", "Kinsey", "La Panth\u00e8re rose", "Wyatt Earp", "It's Complicated", "A Star Is Born: Soundtrack", "Hong Kong"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lady Gaga"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Lady Gaga\" .  ?e <title> ?pv .  }", "answer": "A Star Is Born: Soundtrack"}, {"question": "What is the connection between A League of Their Own to Jon Lovitz?", "choices": ["religious order", "mascot", "does not have part", "different from", "rector", "political alignment", "had as last meal", "contains settlement", "cast member", "home world"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A League of Their Own"]}, {"function": "Find", "dependencies": [], "inputs": ["Jon Lovitz"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A League of Their Own\" . ?e_2 <pred:name> \"Jon Lovitz\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Does King's College London or Boston College have the larger work staff?", "choices": ["University of Michigan", "University of Tasmania", "King's College London", "Birkbeck, University of London", "San Diego State University", "University of Melbourne", "University of Queensland", "University of Hamburg", "Boston College", "McMaster University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King's College London"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"King's College London\" .  } UNION { ?e <pred:name> \"Boston College\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "King's College London"}, {"question": "Tell me the relationship between bob Robers (who was born in West Bromwich) and Aston Villa F.C.", "choices": ["grants", "platform", "diplomatic relation", "source of material", "mountain range", "member of sports team", "partner", "residence", "mascot", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Bromwich"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bob Roberts"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Aston Villa F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bob Roberts\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"West Bromwich\" . ?e_2 <pred:name> \"Aston Villa F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Which Munzinger IBA code matches to the person with ISNI number 0000 0001 1453 0713?", "choices": ["00000014356", "00000008168", "00000022780", "00000025039", "00000000067", "00000026002", "00000018113", "00000020112", "00000024279", "00000018493"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1453 0713"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1453 0713\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000018113"}, {"question": "When did the state of Kosova, which is in a diplomatic relationship with Latvia, have a negative inflation rate of -0.4 percent?", "choices": ["2014-01-01", "2016-11-30", "1648-12-01", "2005-03-23", "2017-06-07", "2003-06-01", "1960-04-25", "1974-02-28", "2017-10-16", "1858-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latvia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Kosovo\u2013Latvia relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inflation rate", "-0.4 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Latvia\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Kosovo\u2013Latvia relations\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"-0.4\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "When did Roots receive the Peabody Award?", "choices": ["2015-10-31", "1307-01-01", "2003-12-01", "1969-04-14", "1897", "1656-01-01", "1977", "1960-04-25", "1956-01-01", "1717-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Roots"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Roots\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Peabody Award\" . ?e_2 <pred:name> \"Peabody Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1977"}, {"question": "How many cemetaries were founded in years other than 1839?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1839", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1839 ) .  }", "answer": "7"}, {"question": "How are the Atlanta Silverbacks related to association football?", "choices": ["sport", "capital", "source of income", "chairperson", "author", "distributor", "convicted of", "located on astronomical location", "given name", "narrative role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlanta Silverbacks"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Atlanta Silverbacks\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Which animated series is produced by DreamWorks?", "choices": ["The Soloist", "The Stepford Wives", "The Penguins of Madagascar", "Star Wars: The Clone Wars", "Saving Private Ryan", "Anchorman: The Legend of Ron Burgundy", "The Smurfs", "Tiny Toon Adventures", "Futurama", "The Cleveland Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DreamWorks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"DreamWorks\" .   }", "answer": "The Penguins of Madagascar"}, {"question": "How many wars preceding the Second Crusade did not begin in 1946?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second Crusade"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1946", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["war"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Second Crusade\" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1946 ) .  }", "answer": "1"}, {"question": "At what point in time is 136443 the population of the neighborhood that is the birthplace of Jon Peters?", "choices": ["2000-01-01", "1858-12-03", "1891-01-01", "1740", "1815-12-01", "2004-05-12", "2015-02-22", "1725-01-01", "2012-07-04", "1802-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Peters"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "136443", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jon Peters\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"136443\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000-01-01"}, {"question": "How is Two and a Half Men related to Jenny McCarthy?", "choices": ["part of the series", "hair color", "cast member", "director", "occupation", "significant event", "dissertation submitted to", "position played on team / speciality", "office held by head of the organisation", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Two and a Half Men"]}, {"function": "Find", "dependencies": [], "inputs": ["Jenny McCarthy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Two and a Half Men\" . ?e_2 <pred:name> \"Jenny McCarthy\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Kraft Foods designated by British Museum person-institution code?", "choices": ["28415", "31631", "179887", "80299", "114921", "35975", "205138", "156756", "47854", "200003"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kraft Foods"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kraft Foods\" . ?e <British_Museum_person-institution> ?pv .  }", "answer": "156756"}, {"question": "When did a person, the spouse of English-speaking Peter Horton, began her career?", "choices": ["1979", "1988", "1998", "1977-08-10", "1965", "1864", "1914", "1916", "1958", "1897"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Horton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Peter Horton\" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1979"}, {"question": "Is Patrick Gallagher's ISNI number 0000 0001 1934 4434 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patrick Gallagher"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1934 4434"]}], "sparql": "ASK { ?e <pred:name> \"Patrick Gallagher\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1934 4434\" .  }", "answer": "yes"}, {"question": "Is the run-time shorter on Nickelodeon, directed by Peter Bogdanovich, or on Angel, distributed by Paramount Pictures?", "choices": ["The Fifth Element", "The Towering Inferno", "A Prairie Home Companion", "Nickelodeon", "Talk to Her", "Training Day", "Curse of the Golden Flower", "Rebecca", "Angel", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Bogdanovich"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nickelodeon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nickelodeon\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Peter Bogdanovich\" .   } UNION { ?e <pred:name> \"Angel\" . ?e <distributor> ?e_2 . ?e_2 <pred:name> \"Paramount Pictures\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Angel"}, {"question": "What country does Hempstead, whose postal code is 11551, belong to?", "choices": ["Cambodia", "Kuwait", "Kingdom of Great Britain", "South Africa", "Holy Roman Empire", "British Empire", "United States of America", "Bangladesh", "Czechoslovak Socialist Republic", "Saudi Arabia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hempstead"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["postal code", "11551", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hempstead\" . ?e <postal_code> ?pv . ?pv <pred:value> \"11551\" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "For what work did Bette Davis win the Cannes Film Festival Award for Best Actress?", "choices": ["All About Eve", "War of the Worlds", "Equal Rites", "Sudden Fear", "Hail the Conquering Hero", "Hallmark Hall of Fame", "Melvin and Howard", "The Forever War", "Beyond Borders", "Delicate Sound of Thunder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival Award for Best Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Bette Davis"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cannes Film Festival Award for Best Actress\" . ?e_2 <pred:name> \"Bette Davis\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "All About Eve"}, {"question": "What is the character role of Gwyneth Paltrow in Iron Man (the one whose release region is Austria)?", "choices": ["Michael Chamberlain", "D.B. Russell", "Joan Walden", "Adrian (Little Nicky)", "Steve Phelps", "Pepper Potts", "Cobra Bubbles", "Rain Ocampo", "Eddie Brock", "Joker"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gwyneth Paltrow"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Iron Man\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Austria\" . ?e_2 <pred:name> \"Gwyneth Paltrow\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Pepper Potts"}, {"question": "Is the cost of Dirty Dancing (whose release region is Canada) higher than 8300000 Russian rubles?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dirty Dancing"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["cost"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["8300000 Russian ruble", ">"]}], "sparql": "ASK { ?e <pred:name> \"Dirty Dancing\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Canada\" .  ?e <cost> ?pv . ?pv <pred:unit> \"Russian ruble\" . ?pv <pred:value> ?v . FILTER ( ?v > \"8300000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which New Jersey city is the birthplace of Patrick Warburton?", "choices": ["Passaic", "Plainfield", "Trenton", "East Orange", "Jersey City", "Perth Amboy", "Hoboken", "Atlantic City", "Bayonne", "Paterson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patrick Warburton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Patrick Warburton\" .   }", "answer": "Paterson"}, {"question": "What is the ISNI of an employee of Brigham Young University?", "choices": ["0000 0001 2143 7736", "0000 0001 1781 6290", "0000 0001 2029 3208", "0000 0004 0603 771X", "0000 0000 8823 9323", "0000 0001 0170 1990", "0000 0001 0927 8576", "0000 0001 0939 3451", "0000 0001 0790 959X", "0000 0001 1451 4588"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brigham Young University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"Brigham Young University\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2029 3208"}, {"question": "Who has a smaller Erd\u0151s number, Stephen Hawking or Richard Feynman?", "choices": ["Sylvester Stallone", "Stephen Hawking", "Simon Cowell", "Richard Gere", "Max Fleischer", "Richard Feynman", "David Byrne", "Paul Simon", "Rahul Dev Burman", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Hawking"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Feynman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["Erd\u0151s number", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stephen Hawking\" .  } UNION { ?e <pred:name> \"Richard Feynman\" .  } ?e <Erd\u0151s_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Richard Feynman"}, {"question": "Who was born on 1981-07-04?", "choices": ["Denise Richards", "Max Fleischer", "Lloyd Kaufman", "Will Smith", "William Henry Harrison", "Ryan Kwanten", "Sylvester Stallone", "Marit Allen", "Richard Gere", "James Stewart"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1981-07-04", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1981-07-04\"^^xsd:date .  }", "answer": "Will Smith"}, {"question": "What country does  University of Oxford's headquarter of Oxford belong to?", "choices": ["Taiwan", "England", "Hungary", "Russian Soviet Federative Socialist Republic", "Costa Rica", "Turkey", "Ecuador", "Estonia", "Nazi Germany", "Kingdom of Saxony"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Oxford"]}, {"function": "Find", "dependencies": [], "inputs": ["Oxford"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Oxford\" . ?e_2 <pred:name> \"Oxford\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "England"}, {"question": "For Birmingham (the one whose NUTS code is UKG31), what ceremonial county of England has the capital?", "choices": ["Derbyshire", "Suffolk", "Essex", "Northumberland", "Warwickshire", "Somerset", "Cumbria", "West Midlands", "Staffordshire", "Birmingham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Birmingham"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKG31"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ceremonial county of England"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Birmingham\" . ?e_1 <NUTS_code> ?pv . ?pv <pred:value> \"UKG31\" .   }", "answer": "West Midlands"}, {"question": "Which English ceremonial county have license plate code L?", "choices": ["County Limerick", "Greater London", "Nottinghamshire", "South Yorkshire", "Leipzig", "City of Westminster", "Derbyshire", "Linz", "City of London", "Cambridgeshire"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "L"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <licence_plate_code> ?pv . ?pv <pred:value> \"L\" .  }", "answer": "Greater London"}, {"question": "Is the native label of the written work that derives Scarlett (which ended in 1994) equal to State of Colorado?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scarlett"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1994", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["State of Colorado"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Scarlett\" . ?e_1 <end_time> ?pv_1 . ?pv_1 <pred:year> 1994 . ?e <native_label> ?pv . ?pv <pred:value> \"State of Colorado\" .  }", "answer": "no"}, {"question": "When did Michael Collins of Darlington F.C. become a member of Sheffield United F.C.?", "choices": ["1973-12-06", "2008-01-22", "1760", "1778", "1804-05-18", "1800-01-01", "1993-05-10", "2008-10-17", "1980-02-14", "1995-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Darlington F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Collins"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sheffield United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Collins\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Darlington F.C.\" . ?e_2 <pred:name> \"Sheffield United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1995-01-01"}, {"question": "Which movie is longer, I Heart Huckabees or Rear Window (the one whose distributor is American Broadcasting Company)?", "choices": ["Curse of the Golden Flower", "Rear Window", "The Towering Inferno", "Training Day", "Rebecca", "A Prairie Home Companion", "Talk to Her", "I Heart Huckabees", "Pleasantville", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Heart Huckabees"]}, {"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "Relate", "dependencies": [1], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rear Window"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"I Heart Huckabees\" .  } UNION { ?e <pred:name> \"Rear Window\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"American Broadcasting Company\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "I Heart Huckabees"}, {"question": "Which movie is longer, The Whistleblower or Bewitched (the one whose duration is 65 minute)?", "choices": ["The Fifth Element", "Training Day", "Bewitched", "The Whistleblower", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Whistleblower"]}, {"function": "Find", "dependencies": [], "inputs": ["Bewitched"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "65 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Whistleblower\" . } UNION { ?e <pred:name> \"Bewitched\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"65\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Whistleblower"}, {"question": "Which private not-for-profit educational institution is in the country of the United States of America and began in 1865?", "choices": ["Dallas Theological Seminary", "Virginia Union University", "Lehigh University", "Abilene Christian University", "Yavapai County", "Grants Pass", "University of Maine", "Teachers College", "Culinary Institute of America", "Union Theological Seminary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private not-for-profit educational institution"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1865", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private not-for-profit educational institution"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private not-for-profit educational institution\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <inception> ?pv . ?pv <pred:year> 1865 .  }", "answer": "Virginia Union University"}, {"question": "How many products contain some dietary fiber or were Gautama Buddha's final meal?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dietary fiber"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "Find", "dependencies": [], "inputs": ["Gautama Buddha"]}, {"function": "Relate", "dependencies": [3], "inputs": ["had as last meal", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["product"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" .  { ?e <has_part> ?e_1 . ?e_1 <pred:name> \"dietary fiber\" .  } UNION { ?e_1 <had_as_last_meal> ?e . ?e_1 <pred:name> \"Gautama Buddha\" .  } }", "answer": "1"}, {"question": "What is the connection between Spy Game (the one whose composer is Harry Gregson-Williams) to Yue Chinese?", "choices": ["employer", "sport", "parent astronomical body", "after a work by", "subsidiary", "partner", "worshipped by", "domain of saint or deity", "original language of film or TV show", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Gregson-Williams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spy Game"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Yue Chinese"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spy Game\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"Harry Gregson-Williams\" . ?e_2 <pred:name> \"Yue Chinese\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Which person's ISNI is 0000 0000 7840 5754?", "choices": ["F. Scott Fitzgerald", "Max Fleischer", "Jules White", "David Rasche", "Richard Gere", "Elisabeth Shue", "Joe Diffie", "Gerard Butler", "Sylvester Stallone", "Alec Guinness"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7840 5754"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7840 5754\" .  }", "answer": "David Rasche"}, {"question": "How many learned societies were recipients at the 63rd Primetime Emmy Awards?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["63rd Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["learned society"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"63rd Primetime Emmy Awards\" .   }", "answer": "1"}, {"question": "Among the Oregon counties with an inception time not in 1874, which one has the smallest area?", "choices": ["Washington County", "Tillamook County", "Clackamas County", "Yamhill County", "Klamath County", "Douglas County", "Columbia County", "Linn County", "Multnomah County", "Deschutes County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1874", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1874 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Multnomah County"}, {"question": "MTV Movie Award nominee for Best Kiss, Invincible goes by which title?", "choices": ["De-Lovely", "Angels in America", "Coriolanus", "Invincible", "The most powerful human being in the whole multiverse", "Sense and Sensibility", "Who's Afraid of Virginia Woolf?", "The Muppet Show", "Pulp Fiction", "War of the Worlds"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Kiss"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Invincible"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Invincible\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"MTV Movie Award for Best Kiss\" .  ?e <title> ?pv .  }", "answer": "Invincible"}, {"question": "How is Tony Scott the center fielder related to baseball?", "choices": ["residence", "product or material produced", "sport", "killed by", "statistical leader", "office contested", "used by", "partner", "narrator", "position held"], "program": [{"function": "Find", "dependencies": [], "inputs": ["center fielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tony Scott\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"center fielder\" . ?e_2 <pred:name> \"baseball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How many in punk rock are influenced by crossover thrash or have origins from Canada?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["crossover thrash"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["punk rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["punk rock"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"punk rock\" .  { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"crossover thrash\" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Canada\" .  } }", "answer": "3"}, {"question": "Which person's Twitter username is realhartman?", "choices": ["William Henry Harrison", "Eddie Izzard", "Matt Frewer", "Max Fleischer", "Philip Johnson", "Sylvester Stallone", "Ringo Sheena", "Richard Gere", "Butch Hartman", "Lil Wayne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "realhartman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"realhartman\" .  }", "answer": "Butch Hartman"}, {"question": "What is the height of Green Bay Packers member Brad Jones?", "choices": ["19 centimetre", "71 inch", "187 centimetre", "1.72 metre", "1.61 metre", "73 inch", "76 inch", "191 centimetre", "166 centimetre", "80 inch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Bay Packers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brad Jones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Brad Jones\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Green Bay Packers\" .  ?e <height> ?pv .  }", "answer": "191 centimetre"}, {"question": "What person is known by 0000 0000 3830 6567 as the ISNI ?", "choices": ["Gordon Brown", "Carl Davis", "Max Fleischer", "William Henry Harrison", "Ben Johnson", "Burt Reynolds", "Richard Gere", "Joel Edgerton", "Evangeline Lilly", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3830 6567"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3830 6567\" .  }", "answer": "Ben Johnson"}, {"question": "What is the population of the landform with the area of 105806 square km?", "choices": ["29815", "481183", "32126351", "351776", "613263", "11149989", "1645095", "1893000", "47376", "24225748"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "105806 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"105806\"^^xsd:double . ?e <population> ?pv .  }", "answer": "11149989"}, {"question": "What is the connection between Ocala to Florida?", "choices": ["child astronomical body", "ethnic group", "noble title", "located in the administrative territorial entity", "religious order", "producer", "mother", "connects with", "chairperson", "office held by head of the organisation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocala"]}, {"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ocala\" . ?e_2 <pred:name> \"Florida\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Which person's official website is http://www.philramone.com?", "choices": ["Alexandre Trauner", "Richard Gere", "Phil Ramone", "Brett Favre", "Aaron Spelling", "Innocent", "Ryan Murphy", "William Henry Harrison", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.philramone.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.philramone.com\" .  }", "answer": "Phil Ramone"}, {"question": "Which one of the counties of Wisconsin has the smallest area berween the ones that shares border with Sauk County?", "choices": ["La Crosse County", "Dane County", "Wood County", "Outagamie County", "Washington County", "Fond du Lac County", "Columbia County", "Jackson County", "Polk County", "Pierce County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sauk County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Sauk County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Columbia County"}, {"question": "What is Vernor Vinge's birth name?", "choices": ["Vernor Steffen Vinge", "Jacob Warner", "Aria Maria Vittoria Rossa Argento", "Alecia Beth Moore", "Phillip Bradley Bird", "Lacey Nicole Chabert", "Jeremy John Irons", "Oprah Gail Winfrey", "Peter Kenneth Frampton", "Thomas Sean Connery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vernor Vinge"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Vernor Vinge\" . ?e <birth_name> ?pv .  }", "answer": "Vernor Steffen Vinge"}, {"question": "What person has a residence in Wimbledon (that is the headquarters of the Wimbledon F.C.)?", "choices": ["Richard Gere", "Gil Scott-Heron", "Amadeus", "Sylvester Stallone", "Rahul Dev Burman", "William Henry Harrison", "Max Fleischer", "Roger Taylor", "David Byrne", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wimbledon F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wimbledon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Wimbledon\" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> \"Wimbledon F.C.\" .   }", "answer": "Roger Taylor"}, {"question": "Which is longer in duration, Quills or Enthiran?", "choices": ["Training Day", "Enthiran", "Rebecca", "The Towering Inferno", "The Fifth Element", "Pleasantville", "Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "Quills"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quills"]}, {"function": "Find", "dependencies": [], "inputs": ["Enthiran"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quills\" .  } UNION { ?e <pred:name> \"Enthiran\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Enthiran"}, {"question": "At what point in time is 48516371720.8346 United States dollars the nominal GDP for the state whose citizens are the \u09b2\u09bf\u09a5\u09c1\u09af\u09bc\u09be\u09a8\u09c0\u09af\u09bc people?", "choices": ["1872", "2015-12-26", "1960-01-01", "2014-01-01", "1896", "1962-01-01", "1520", "1950-08-31", "1904-01-01", "1843-12-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u09b2\u09bf\u09a5\u09c1\u09af\u09bc\u09be\u09a8\u09c0\u09af\u09bc"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "48516371720.8346 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u09b2\u09bf\u09a5\u09c1\u09af\u09bc\u09be\u09a8\u09c0\u09af\u09bc\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"48516371720.8346\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What is the relation between House of Wax (the one that was nominated for a Golden Raspberry Award for Worst Supporting Actress) and slasher films?", "choices": ["military casualty classification", "signatory", "set in period", "board member", "office held by head of government", "season starts", "interests", "genre", "location of formation", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["House of Wax"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["slasher film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"House of Wax\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" . ?e_2 <pred:name> \"slasher film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What was the award that Back to the Future (the one that received Academy Award for Best Sound Editing) nominated for the Academy Award for Best Sound Mixing about?", "choices": ["Mexico\u2013Serbia relations", "I am", "Democratic Republic of the Congo\u2013Rwanda border", "Kenya\u2013Sudan border", "China\u2013Somalia relations", "Greece\u2013Zimbabwe relations", "Malaysia\u2013United Kingdom relations", "58th Academy Awards", "Goods and Services Tax", "Greece\u2013Romania relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Back to the Future"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Back to the Future\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Sound Editing\" . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "58th Academy Awards"}, {"question": "What is the ISNI for the public university whose UK Provider Reference Number is 10007760?", "choices": ["0000 0000 7841 7210", "0000 0001 1087 5693", "0000 0004 0447 0018", "0000 0001 2324 0507", "0000 0004 0390 9981", "0000 0000 6301 5331", "0000 0001 2134 0870", "0000 0004 0420 5871", "0000 0001 2158 7742", "0000 0001 0757 7919"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UK Provider Reference Number", "10007760"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <UK_Provider_Reference_Number> ?pv_1 . ?pv_1 <pred:value> \"10007760\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2324 0507"}, {"question": "What is the connection between Priest (the one whose duration is 105 minute) to Miramax?", "choices": ["developer", "given name", "father", "head of state", "software engine", "distributor", "founded by", "family name", "narrative role", "signatory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Priest"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "105 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Miramax"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Priest\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"105\"^^xsd:double . ?e_2 <pred:name> \"Miramax\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "Among the independent cities that are administrative divisions of Virginia (demonym is Virginian), which has the largest area?", "choices": ["Staunton", "Lynchburg", "Lexington", "Petersburg", "Suffolk", "Hampton", "Winchester", "Virginia Beach", "Alexandria", "Richmond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Virginian"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Virginia\" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> \"Virginian\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Virginia Beach"}, {"question": "Team member David Byrne had how many match appearances for G.D. Estoril Praia?", "choices": ["28", "8", "14", "99", "296", "108", "207", "125", "250", "77"], "program": [{"function": "Find", "dependencies": [], "inputs": ["G.D. Estoril Praia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["G.D. Estoril Praia"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Byrne\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"G.D. Estoril Praia\" . ?e_2 <pred:name> \"G.D. Estoril Praia\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "14"}, {"question": "Is the elevation of the city with Statistics Canada Geographic code 3526053 more than 10 meters above sea level?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Statistics Canada Geographic code", "3526053"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["10 metre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> \"3526053\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"10\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "When did the film Lebanon, released on 2009-01-01, receive the Golden Lion?", "choices": ["1857", "1975-05-19", "2003-12-15", "1991-03-01", "0001-01-01", "2016-01-31", "1430", "2009-01-01", "1981-06-22", "2015-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lebanon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lebanon\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2009-01-01\"^^xsd:date . ?e_2 <pred:name> \"Golden Lion\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009-01-01"}, {"question": "Tell me the literary award that got nominated to the person who resides in Brookline (this statement ended in 2005)", "choices": ["Newbery Medal", "Locus Award for Best Science Fiction Novel", "Hugo Award for Best Professional Artist", "Michael L. Printz Award", "International IMPAC Dublin Literary Award", "Governor General's Award for English-language poetry", "Nebula Award for Best Novella", "Kate Greenaway Medal", "National Book Award for Fiction", "Prometheus Award"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brookline"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2005", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> \"Brookline\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv . ?qpv <pred:year> 2005 .   }", "answer": "National Book Award for Fiction"}, {"question": "Regarding the activity for the Instagram username seriea is the inception time in 1816?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "seriea"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1816", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"seriea\" . ?e <inception> ?pv . ?pv <pred:year> 1816 .  }", "answer": "no"}, {"question": "How much death metal music was either created in 1990 or was not created in 1990?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1990", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["death metal"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1990", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["death metal"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"death metal\" .  { ?e <inception> ?pv . ?pv <pred:year> 1990 .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1990 ) .  } }", "answer": "4"}, {"question": "Rick Wakeman is famously associated with which keyboard instrument ?", "choices": ["Rhodes piano", "Hammond organ", "electronic dance music", "jazz fusion", "concertina", "keytar", "clavinet", "classical music", "accordion", "pop music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rick Wakeman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["keyboard instrument"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"keyboard instrument\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Rick Wakeman\" .   }", "answer": "Hammond organ"}, {"question": "Does Saint Petersburg State University or ETH Zurich have fewer students?", "choices": ["Panjab University", "Presidency University", "University of Tehran", "University of Manchester", "ETH Zurich", "Pennsylvania State University", "Saint Petersburg State University", "McNeese State University", "McMaster University", "Imperial College London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg State University"]}, {"function": "Find", "dependencies": [], "inputs": ["ETH Zurich"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saint Petersburg State University\" .  } UNION { ?e <pred:name> \"ETH Zurich\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "ETH Zurich"}, {"question": "Which one, Trinidad and Tobago or Tajikistan, has less mains voltage?", "choices": ["Greece", "Trinidad and Tobago", "Kosovo", "Cuba", "Finland", "Bulgaria", "Kazakhstan", "Fiji", "Lithuania", "Sweden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trinidad and Tobago"]}, {"function": "Find", "dependencies": [], "inputs": ["Tajikistan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mains voltage", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Trinidad and Tobago\" .  } UNION { ?e <pred:name> \"Tajikistan\" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Trinidad and Tobago"}, {"question": "Does Providence College or Laval University have a less number of students?", "choices": ["Pennsylvania State University", "Providence College", "McNeese State University", "Imperial College London", "McMaster University", "Panjab University", "Laval University", "King's College London", "University of Manchester", "University of Tehran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Providence College"]}, {"function": "Find", "dependencies": [], "inputs": ["Laval University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Providence College\" .  } UNION { ?e <pred:name> \"Laval University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Providence College"}, {"question": "What is the connection between Olympique Lyonnais and Lyon?", "choices": ["published in", "basin country", "child astronomical body", "academic degree", "author", "creator", "works in collection", "notable work", "headquarters location", "registered with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Olympique Lyonnais"]}, {"function": "Find", "dependencies": [], "inputs": ["Lyon"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Olympique Lyonnais\" . ?e_2 <pred:name> \"Lyon\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What is the connection between The Reader (the one that received Louis Delluc Prize) to French?", "choices": ["child", "military casualty classification", "characters", "distributor", "opposite of", "voice type", "official color", "patron saint", "original language of film or TV show", "make-up artist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louis Delluc Prize"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Reader"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Reader\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Louis Delluc Prize\" . ?e_2 <pred:name> \"French\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Which area is larger, Washington County (the one whose official website is http://www.co.washington.mn.us) or Washington County (the one that is an administrative division of Vermont)?", "choices": ["San Juan County", "Lee County", "Washington County", "Washoe County", "Cass County", "Orange County", "Kent County", "Washington County", "African Union", "Delaware County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.washington.mn.us"]}, {"function": "Find", "dependencies": [], "inputs": ["Vermont"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.washington.mn.us\" . } UNION { ?e <pred:name> \"Washington County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Vermont\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Washington County"}, {"question": "Is the duration greater for Airplane! or Ben-Hur (the one whose producer is Mark Burnett)?", "choices": ["Pleasantville", "Curse of the Golden Flower", "Rebecca", "The Towering Inferno", "A Prairie Home Companion", "The Fifth Element", "The Hunchback of Notre Dame", "Talk to Her", "Airplane!", "Ben-Hur"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Airplane!"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Burnett"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben-Hur"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Airplane!\" .  } UNION { ?e <pred:name> \"Ben-Hur\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Mark Burnett\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ben-Hur"}, {"question": "How many cities have a population less than 740000 and whose native label is Beograd?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "740000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "Beograd"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"740000\"^^xsd:double ) . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Beograd\" .  }", "answer": "0"}, {"question": "What is the relation between Boise State University and Boise?", "choices": ["located in the administrative territorial entity", "sponsor", "main subject", "used by", "depicted by", "manufacturer", "archives at", "head of state", "takes place in fictional universe", "academic degree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boise State University"]}, {"function": "Find", "dependencies": [], "inputs": ["Boise"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Boise State University\" . ?e_2 <pred:name> \"Boise\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How many feature films are there whose title is The Sorcerer's Apprentice or official website is http://pirates.disney.com/pirates-of-the-caribbean-the-curse-of-the-black-pearl?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Sorcerer's Apprentice"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://pirates.disney.com/pirates-of-the-caribbean-the-curse-of-the-black-pearl"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" .  { ?e <title> ?pv . ?pv <pred:value> \"The Sorcerer's Apprentice\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://pirates.disney.com/pirates-of-the-caribbean-the-curse-of-the-black-pearl\" .  } }", "answer": "2"}, {"question": "Which miniseries features Ralph Richardson as a cast member?", "choices": ["Taken", "Angels in America", "24", "Jesus of Nazareth", "Emma", "The Diary of Anne Frank", "Doctor Zhivago", "Oh! What a Lovely War", "Oliver Twist", "Oscar Wilde"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ralph Richardson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ralph Richardson\" .   }", "answer": "Jesus of Nazareth"}, {"question": "How is Hangzhou related to Cape Town?", "choices": ["contains settlement", "inspired by", "spouse", "had as last meal", "narrative role", "mother", "twinned administrative body", "parent club", "contributing factor of", "designed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hangzhou"]}, {"function": "Find", "dependencies": [], "inputs": ["Cape Town"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hangzhou\" . ?e_2 <pred:name> \"Cape Town\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the connection between Plovdiv to Columbia (the one that is the twinned administrative body of Plovdiv)?>", "choices": ["licensed to broadcast to", "location", "twinned administrative body", "partially contains", "costume designer", "original film format", "military rank", "domain of saint or deity", "place of publication", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Plovdiv"]}, {"function": "Find", "dependencies": [], "inputs": ["Plovdiv"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Plovdiv\" . ?e_2 <pred:name> \"Columbia\" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> \"Plovdiv\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What administrative territorial entity is New York City, which happens to be the birthplace of Bea Arthur, located in?", "choices": ["New York", "Habsburg Monarchy", "Ohio", "Los Angeles", "North Carolina", "Rome", "Stockholm County", "Quebec", "Nevada", "Indiana"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bea Arthur"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bea Arthur\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "New York"}, {"question": "What is the ISNI of a Dutch municipality that contains  Amsterdam (the one that is the location of 1928 Summer Olympics) ?", "choices": ["0000 0001 2109 725X", "0000 0001 2130 2540", "0000 0001 0879 0738", "0000 0001 2177 9453", "0000 0001 1031 8352", "0000 0001 2163 2435", "0000 0001 2124 7406", "0000 0004 0624 2983", "0000 0004 1936 869X", "0000 0001 1449 6754"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1928 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amsterdam"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["municipality of the Netherlands"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Amsterdam\" . ?e_2 <location> ?e_1 . ?e_2 <pred:name> \"1928 Summer Olympics\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0004 0624 2983"}, {"question": "What is the number of subscribers that the user For Australian Greens and with the Twitter username Greens has.", "choices": ["7221395", "330052", "891085", "937", "87368", "76495", "820918", "20556", "812", "35230408"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australian Greens"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "Greens", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Australian Greens\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Greens\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "87368"}, {"question": "Which movie cost less to make, Tango & Cash or The Notebook (the one that has Toby Emmerich as an executive producer)?", "choices": ["Pleasantville", "The Fifth Element", "The Towering Inferno", "Rebecca", "Curse of the Golden Flower", "The Notebook", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "Tango & Cash"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tango & Cash"]}, {"function": "Find", "dependencies": [], "inputs": ["Toby Emmerich"]}, {"function": "Relate", "dependencies": [1], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Notebook"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tango & Cash\" .  } UNION { ?e <pred:name> \"The Notebook\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Toby Emmerich\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Notebook"}, {"question": "Which has the most mass among the chemical elements whose discovery time is not in 1807?", "choices": ["selenium", "Werner Herzog", "August", "calcium", "zinc", "magnesium", "phosphorus", "sodium", "TMNT", "manganese"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["time of discovery or invention", "1807", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mass", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <time_of_discovery_or_invention> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1807 ) . ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "calcium"}, {"question": "IS  http://warp.net/aphex-twin the official website of a person who is the relative of Rajendra Nath ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rajendra Nath"]}, {"function": "Relate", "dependencies": [0], "inputs": ["relative", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://warp.net/aphex-twin"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <relative> ?e . ?e_1 <pred:name> \"Rajendra Nath\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://warp.net/aphex-twin\" .  }", "answer": "no"}, {"question": "Is You Can Count on Me the title of You Can Count on Me?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["You Can Count on Me"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["You Can Count on Me"]}], "sparql": "ASK { ?e <pred:name> \"You Can Count on Me\" . ?e <title> ?pv . ?pv <pred:value> \"You Can Count on Me\" .  }", "answer": "yes"}, {"question": "Does England (participant of War of the Spanish Succession) or the Soviet Union have a greater population?", "choices": ["Russian Soviet Federative Socialist Republic", "Samoa", "Benin", "Soviet Union", "Weimar Republic", "Kiribati", "Socialist Federal Republic of Yugoslavia", "Cambodia", "England", "South Sudan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War of the Spanish Succession"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Soviet Union"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"England\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"War of the Spanish Succession\" .   } UNION { ?e <pred:name> \"Soviet Union\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Soviet Union"}, {"question": "What is the character role of Marlon Brando in Superman (the one that was nominated for Academy Award for Best Original Score)?", "choices": ["Sharpay Evans", "Nancy Callahan", "Big Nose Kate", "Honey", "Linus Caldwell", "Oscar the Sharkslayer", "Dolores Umbridge", "Cheshire Cat", "Jor-El", "Delta Force team member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Marlon Brando"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Superman\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Original Score\" . ?e_2 <pred:name> \"Marlon Brando\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Jor-El"}, {"question": "Out of the rivers with a watershed area smaller than 46000 km2, which is the largest watershed area?", "choices": ["Columbia River", "Missouri River", "Amazon", "River Thames", "Hudson River", "Rhine", "Mississippi River", "Ohio River", "Danube", "Patrick O'Neal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["watershed area", "46000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <watershed_area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"46000\"^^xsd:double ) . ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hudson River"}, {"question": "How many states of the US make up the country of Cuban American or comprise the headquarters of XL Recordings ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cuban American"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["XL Recordings"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" .  { ?e_1 <country> ?e . ?e_1 <pred:name> \"Cuban American\" .  } UNION { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"XL Recordings\" .  } }", "answer": "2"}, {"question": "Is http://www.joaquin-phoenix.net/index2.html the official website for the person with CANTIC-ID a11795840?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11795840"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.joaquin-phoenix.net/index2.html"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11795840\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.joaquin-phoenix.net/index2.html\" .  }", "answer": "yes"}, {"question": "When did John Cale part ways with Columbia Records?", "choices": ["1936-12-05", "1971-01-01", "2014-05-15", "1999-01-03", "1952-01-01", "1936-07-10", "2015-06-02", "1913-03-01", "1970-01-01", "2016-05-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cale"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Records"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["record label", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Cale\" . ?e_2 <pred:name> \"Columbia Records\" . ?e_1 <record_label> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <record_label> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1971-01-01"}, {"question": "What is the Munzinger IBA of the person with the Libris-URI of ljx03hz42bprr9x?", "choices": ["00000004149", "00000021174", "00000022737", "00000021016", "00000022075", "00000022320", "00000028865", "00000010666", "00000020361", "00000014157"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "ljx03hz42bprr9x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"ljx03hz42bprr9x\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000014157"}, {"question": "What is the CANTIC-ID of the person whose Munzinger IBA is 00000019638?", "choices": ["a10463987", "a10817049", "a10978574", "a11317930", "a11091794", "a11326426", "a11999561", "a10420216", "a1045598x", "a10994646"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000019638"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000019638\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11326426"}, {"question": "What person was a winger (the position of Dany Heatley) on the Pittsburgh Penguins?", "choices": ["Scott Wilson", "David Byrne", "Rahul Dev Burman", "Jeff Daniels", "Mark Johnson", "Sylvester Stallone", "Richard Gere", "William Henry Harrison", "Ryan Murphy", "John Carter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Penguins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Dany Heatley"]}, {"function": "Relate", "dependencies": [3], "inputs": ["position played on team / speciality", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["winger"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["position played on team / speciality", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Pittsburgh Penguins\" .  ?e <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> \"winger\" . ?e_3 <position_played_on_team_/_speciality> ?e_2 . ?e_3 <pred:name> \"Dany Heatley\" .  }", "answer": "Jeff Daniels"}, {"question": "Of the films in the Shrek franchise of animated features\u2014which has an official website of http://www.shrek.com\u2014which one made the most at the box office?", "choices": ["WALL\u00b7E", "Winnie the Pooh", "Shrek", "Beauty and the Beast", "Shrek the Third", "Renaissance", "The Rescuers", "Aladdin", "Shrek 2", "Shrek Forever After"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shrek"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.shrek.com"]}, {"function": "Relate", "dependencies": [1], "inputs": ["takes place in fictional universe", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["box office", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <takes_place_in_fictional_universe> ?e_1 . ?e_1 <pred:name> \"Shrek\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.shrek.com\" . ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shrek 2"}, {"question": "What person has the ISNI of 0000 0001 1804 7454?", "choices": ["Andrzej Wajda", "Helen", "Carol Kane", "Barry Sonnenfeld", "Grover Cleveland", "Max Fleischer", "Sylvester Stallone", "David Arquette", "Richard Gere", "Gena Rowlands"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1804 7454"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1804 7454\" .  }", "answer": "Gena Rowlands"}, {"question": "Was Derek Jeter's baseball team officially named Sporting Kansas City until 1912?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Derek Jeter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["official name", "end time", "1912"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Sporting Kansas City"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Derek Jeter\" .  ?e <official_name> ?pv . ?pv <pred:value> \"Sporting Kansas City\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:year> 1912 .  }", "answer": "no"}, {"question": "Which higher education institution is in Norman,  whose area is 490.588311 square kilometres?", "choices": ["King's College London", "McMaster University", "University of Oklahoma", "Virginia Commonwealth University", "Victoria University of Wellington", "University of London", "Imperial College London", "Pennsylvania State University", "University of Manchester", "Presidency University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norman"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "490.588311 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Norman\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"490.588311\"^^xsd:double .   }", "answer": "University of Oklahoma"}, {"question": "When was the Russian language used in Australia, a release region of Zoolander?", "choices": ["1995-02-14", "1961-12-01", "2016", "1648-01-01", "1992-01-08", "2009-12-01", "1919-11-09", "2016-04-07", "2019", "1945-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zoolander"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Russian"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["language used", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Australia\" . ?e_3 <film_release_region> ?e_1 . ?e_3 <pred:name> \"Zoolander\" . ?e_2 <pred:name> \"Russian\" . ?e_1 <language_used> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <language_used> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "When did  Peter Bogdanovich become a partner of Cybill Shepherd?", "choices": ["1976-07-02", "1985-12-09", "2018-05-30", "1936-01-05", "2015-11-04", "1945-04-30", "2001", "1997-07-12", "1978-01-01", "1853-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Bogdanovich"]}, {"function": "Find", "dependencies": [], "inputs": ["Cybill Shepherd"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["partner", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Bogdanovich\" . ?e_2 <pred:name> \"Cybill Shepherd\" . ?e_1 <partner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1978-01-01"}, {"question": "Was Minami Takayama born in a year preceding 1926 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minami Takayama"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1926", "<"]}], "sparql": "ASK { ?e <pred:name> \"Minami Takayama\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1926 ) .  }", "answer": "no"}, {"question": "Is The Wiz or The Elephant Man the longer work?", "choices": ["Pleasantville", "The Elephant Man", "The Towering Inferno", "The Hunchback of Notre Dame", "The Wiz", "The Fifth Element", "Talk to Her", "A Prairie Home Companion", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wiz"]}, {"function": "Find", "dependencies": [], "inputs": ["The Elephant Man"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Wiz\" .  } UNION { ?e <pred:name> \"The Elephant Man\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Wiz"}, {"question": "How are Syfy and Stargate Atlantis related?", "choices": ["material used", "is a list of", "approved by", "original network", "owned by", "award disciplines or subjects", "editor", "movement", "director/manager", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stargate Atlantis"]}, {"function": "Find", "dependencies": [], "inputs": ["Syfy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stargate Atlantis\" . ?e_2 <pred:name> \"Syfy\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "What are the number of learned societies that have Charles Darwin (the one whose date of birth is 1809-02-12) as a member ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Darwin"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1809-02-12", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["learned society"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e_1 <member_of> ?e . ?e_1 <pred:name> \"Charles Darwin\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1809-02-12\"^^xsd:date .   }", "answer": "2"}, {"question": "Tell me the official website regarding the academic discipline that has an Instagram username of morningmusume_official", "choices": ["http://www.morgancreek.com/", "http://www.mgm.com/title_clip.do?title_star=ROCKYIV", "http://www.fk-austria.at/", "http://timrobbins.net/", "http://www.helloproject.com/morningmusume/", "http://www.unstoppablemovie.com", "http://www.sinhashatrughan.in", "http://movies.disney.com/mary-poppins", "http://www.lylelovett.com", "http://www.sucker-punch-movie.com"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "morningmusume_official"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"morningmusume_official\" . ?e <official_website> ?pv .  }", "answer": "http://www.helloproject.com/morningmusume/"}, {"question": "Are there not exactly 65,000,000 people living in a city of the United States, where Sierra Entertainment is headquartered ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sierra Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["65000000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Sierra Entertainment\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"65000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the connection between Falls Church to United States of America?", "choices": ["killed by", "is a list of", "terminus", "country", "honorific prefix", "organizer", "capital", "sport", "head of government", "home port"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Falls Church"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Falls Church\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "For Orlando (the one that was nominated for Academy Award for Best Costume Design) with its publication date on 1993-01-28, where is it published?", "choices": ["Australia", "Thailand", "2003 Cannes Film Festival", "Toronto", "Central Park", "Germany", "Ukraine", "Denmark", "Kingdom of the Netherlands", "Venice Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Orlando"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1993-01-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Orlando\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1993-01-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the person who was born in the United States city with a population of exactly 19539", "choices": ["Peter Buck", "John Cage", "Carole Lombard", "Doug Savant", "Spike Jonze", "Justin Chambers", "Jon Stewart", "Giovanni Ribisi", "Lewis Gilbert", "Neil Simon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "19539", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"19539\"^^xsd:double .   }", "answer": "Lewis Gilbert"}, {"question": "What is the number of class of instruments that have Hornbostel-Sachs classification is 423.22", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "423.22"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of instruments"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"423.22\" .  }", "answer": "1"}, {"question": "Which movie is shorter, The Merry Widow (the one that origins from France) or Infernal Affairs II?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "Pleasantville", "Training Day", "Curse of the Golden Flower", "The Merry Widow", "Infernal Affairs II", "Talk to Her", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Infernal Affairs II"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Merry Widow\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"France\" .   } UNION { ?e <pred:name> \"Infernal Affairs II\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Merry Widow"}, {"question": "Tell me the duration time for I Shot Andy Warhol", "choices": ["93 minute", "101 minute", "99 minute", "363 minute", "123 minute", "188 minute", "21 minute", "103 minute", "94 minute", "255 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Shot Andy Warhol"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"I Shot Andy Warhol\" . ?e <duration> ?pv .  }", "answer": "103 minute"}, {"question": "Who's taller Dwight D. Eisenhower or LeBron James?", "choices": ["Richard Gere", "William Henry Harrison", "Sylvester Stallone", "LeBron James", "Dwight D. Eisenhower", "Simon Cowell", "Max Fleischer", "Rahul Dev Burman", "David Byrne", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dwight D. Eisenhower"]}, {"function": "Find", "dependencies": [], "inputs": ["LeBron James"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dwight D. Eisenhower\" .  } UNION { ?e <pred:name> \"LeBron James\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "LeBron James"}, {"question": "What is the number of China provinces that have the official name \u5c71\u897f\u7701 or that were incepted prior to 1955?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u5c71\u897f\u7701"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1955", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of China"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" .  { ?e <official_name> ?pv . ?pv <pred:value> \"\u5c71\u897f\u7701\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1955 ) .  } }", "answer": "3"}, {"question": "Which one of the republic, having a diplomatic relation with Peru, has the highest nominal GDP per capita ?", "choices": ["France", "Bolivia", "Germany", "Italy", "Paraguay", "Namibia", "Indonesia", "Sierra Leone", "Colombia", "Serbia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peru"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["nominal GDP per capita", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Peru\" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Germany"}, {"question": "Does the Waco of zip codes 76700\u201376799 or Ames possess a higher elevation?", "choices": ["Columbus", "Greenville", "Franklin", "Compton", "Oakland", "Ames", "Lansing", "Waukegan", "Waco", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waco"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "76700\u201376799"]}, {"function": "Find", "dependencies": [], "inputs": ["Ames"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Waco\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"76700\u201376799\" . } UNION { ?e <pred:name> \"Ames\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ames"}, {"question": "When was the person with ISNI 0000 0000 6403 9861 born?", "choices": ["1948-08-20", "1931-02-18", "1954-01-29", "-427", "1936-07-29", "1925-03-26", "1969-07-30", "1921-07-09", "1931-01-01", "1947-08-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6403 9861"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 6403 9861\" . ?e <date_of_birth> ?pv .  }", "answer": "1931-01-01"}, {"question": "What country is associated with Quincy, known as Gem City, where Mary Astor was born?", "choices": ["Philippines", "Spain", "international", "Slovakia", "United States of America", "Belgium", "Mexico", "Turkey", "Syria", "India"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Astor"]}, {"function": "Find", "dependencies": [], "inputs": ["Quincy"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["nickname", "Gem City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["place of birth", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mary Astor\" . ?e_2 <pred:name> \"Quincy\" . ?e_2 <nickname> ?pv . ?pv <pred:value> \"Gem City\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "The ISNI of which individual is 0000 0000 8399 0919?", "choices": ["Jack Warner", "Bill Cosby", "William Henry Harrison", "Richard Gere", "Brannon Braga", "Richard Benjamin", "Charles Rosher", "John Corbett", "Max Fleischer", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8399 0919"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8399 0919\" .  }", "answer": "John Corbett"}, {"question": "Is 01903 the local dialing code for the city whose TOID is 4000000074562880?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074562880"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["01903"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"4000000074562880\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"01903\" .  }", "answer": "no"}, {"question": "Which one, Oldham (the one whose TOID is 7000000000018690) or Walsall (the one whose official website is http://www.walsall.gov.uk/), has less area?", "choices": ["Solihull", "Birmingham", "Wakefield", "Leeds", "Oldham", "Bury", "Walsall", "Stockport", "Sheffield", "Rochdale"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oldham"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000018690"]}, {"function": "Find", "dependencies": [], "inputs": ["Walsall"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "http://www.walsall.gov.uk/"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Oldham\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"7000000000018690\" . } UNION { ?e <pred:name> \"Walsall\" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> \"http://www.walsall.gov.uk/\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Walsall"}, {"question": "Which show had fewer episodes, Santa Barbara (the one that was nominated for Daytime Emmy Award for Outstanding Drama Series) or It (the one whose publication date is 1993-02-21)?", "choices": ["The Civil War", "The Ten Commandments", "George Washington", "The Pacific", "Roots", "Santa Barbara", "Battlestar Galactica", "Edge of Darkness", "The Diary of Anne Frank", "It"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daytime Emmy Award for Outstanding Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Barbara"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["It"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1993-02-21", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Santa Barbara\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Daytime Emmy Award for Outstanding Drama Series\" . } UNION { ?e <pred:name> \"It\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1993-02-21\"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "It"}, {"question": "When was the population 173514 for the American city whose official website is http://www.jacksonms.gov?", "choices": ["1861-12-03", "2001-03-11", "1986-12-01", "2010-01-01", "1989-01-01", "2005-08-17", "1951-01-01", "1972-12-01", "1814-01-01", "2016-12-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jacksonms.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "173514", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.jacksonms.gov\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"173514\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Is the Twitter username of a person, who is the presenter of  American Idol (the one that received 59th Primetime Emmy Awards), DwayneWade (the subscription number of this statement is 17045544) ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["59th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Idol"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["presenter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttrUnderCondition", "dependencies": [5], "inputs": ["Twitter username", "number of subscribers", "17045544"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["DwyaneWade"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <presenter> ?e . ?e_1 <pred:name> \"American Idol\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"59th Primetime Emmy Awards\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"DwyaneWade\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"17045544\"^^xsd:double .  }", "answer": "no"}, {"question": "When did Working Girl, released 9th March 1989, receive the nomination for  Academy Award for Best Picture ?", "choices": ["1903-01-01", "2018-10-01", "1999-05-05", "2015-04-09", "2015-08-31", "1472", "1988-01-01", "2017-05-04", "1948-01-01", "1917-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Working Girl"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1989-03-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Working Girl\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1989-03-09\"^^xsd:date . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1988-01-01"}, {"question": "What is the release territory for Traffic (that was nominated for a National Society of Film Critics Award for Best Supporting Actor), having a publication date of 2000-12-27?", "choices": ["Peru", "Hong Kong", "France", "Bulgaria", "South Korea", "Europe", "Austin", "Bolivia", "United States of America", "Venezuela"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Traffic"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2000-12-27", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Traffic\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Supporting Actor\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2000-12-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What does William Gibson (whose date of birth is 1849-08-07) have to do with Canada?", "choices": ["permanent resident of", "voice actor", "derivative work", "culture", "member of sports team", "uses", "set in period", "country of citizenship", "studies", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Gibson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1849-08-07", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William Gibson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1849-08-07\"^^xsd:date . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Is http://moniqueworldwide.org/ the official website for the sport discipline whose IPTC Newscode is mediatopic/20001152?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20001152"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sport discipline"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://moniqueworldwide.org/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport discipline\" . ?e <IPTC_Newscode> ?pv_1 . ?pv_1 <pred:value> \"mediatopic/20001152\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://moniqueworldwide.org/\" .  }", "answer": "no"}, {"question": "Of chemical elements with electronegativity below 2.0, which possesses the highest value of electronegativity?", "choices": ["KLM", "calcium", "Caleb Deschanel", "selenium", "zinc", "Khyber Pakhtunkhwa", "sodium", "magnesium", "manganese", "phosphorus"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["electronegativity", "2.0", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["electronegativity", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <electronegativity> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"2.0\"^^xsd:double ) . ?e <electronegativity> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "zinc"}, {"question": "Which movie is longer, The Last Picture Show or Thirteen?", "choices": ["A Prairie Home Companion", "Thirteen", "Training Day", "The Fifth Element", "Curse of the Golden Flower", "The Last Picture Show", "Pleasantville", "The Hunchback of Notre Dame", "The Towering Inferno", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Picture Show"]}, {"function": "Find", "dependencies": [], "inputs": ["Thirteen"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Last Picture Show\" .  } UNION { ?e <pred:name> \"Thirteen\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Last Picture Show"}, {"question": "Which has more employees, University of Victoria or Bryn Mawr College?", "choices": ["McMaster University", "Bryn Mawr College", "University of Tehran", "McNeese State University", "King's College London", "Imperial College London", "University of Victoria", "University of Manchester", "Pennsylvania State University", "Panjab University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Victoria"]}, {"function": "Find", "dependencies": [], "inputs": ["Bryn Mawr College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Victoria\" .  } UNION { ?e <pred:name> \"Bryn Mawr College\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Victoria"}, {"question": "Which has fewer people, Bloomington (the one that is the capital of McLean County) or Sandusky?", "choices": ["Bloomington", "Sandusky", "Waukegan", "Greenville", "New Haven", "Compton", "Boulder", "Oakland", "Franklin", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["McLean County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bloomington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sandusky"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bloomington\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"McLean County\" .   } UNION { ?e <pred:name> \"Sandusky\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sandusky"}, {"question": "Is seoulmania the Twitter username of the person whose ISNI is 0000 0000 7139 3797?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7139 3797"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["seoulmania"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7139 3797\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"seoulmania\" .  }", "answer": "no"}, {"question": "Which boarding school in the USA is represented by the official English-language website www.exeter.edu?", "choices": ["Upper Canada College", "Harrow School", "Phillips Exeter Academy", "Eton College", "National Theatre School of Canada", "Italia Conti Academy of Theatre Arts", "Wellington College", "Royal Military Academy Sandhurst", "Winchester College", "London Business School"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["boarding school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.exeter.edu/"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["boarding school"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"boarding school\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.exeter.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Phillips Exeter Academy"}, {"question": "When there were 132,488 inhabitants in Chochise County ?", "choices": ["2010-08-11", "2011-07-01", "1942-01-01", "1620", "2007-11-23", "2008-11-12", "1990-03-26", "1965-10-01", "2003-12-06", "1970"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cochise County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "132488", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cochise County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"132488\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "For the television station whose Twitter username is HISTORY (the subscription number of this statement is 2073782), what language is associated with this creative work for its official website of http://www.history.com/?", "choices": ["Cook Islands M\u0101ori", "Put\u00e8r", "Montenegrin", "Standard Chinese", "Norwegian", "British English", "Slovak", "Bokm\u00e5l", "Thai", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "HISTORY"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "2073782", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television station"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.history.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"HISTORY\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"2073782\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.history.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the budget of the film whose release date is 1968-08-27 and place of publication is Sweden?", "choices": ["4400000 United States dollar", "20700000000 United States dollar", "18724000000 United States dollar", "66000000 United States dollar", "12000000 United States dollar", "40000000 United States dollar", "137000000 United States dollar", "15000000 United States dollar", "150000000 United States dollar", "180000000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1968-08-27", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "Sweden"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["budget"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1968-08-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Sweden\" . ?e <budget> ?pv .  }", "answer": "12000000 United States dollar"}, {"question": "Which Munzinger IBA designates the director of Pretty Woman?", "choices": ["00000020914", "00000015874", "00000019557", "00000002983", "00000021126", "00000024833", "00000022552", "00000020884", "00000018337", "00000021792"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pretty Woman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Pretty Woman\" .  ?e <Munzinger_IBA> ?pv .  }", "answer": "00000020884"}, {"question": "Is the Twitter username for Greg Gaffin exactly TeriPolo1?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greg Graffin"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["TeriPolo1"]}], "sparql": "ASK { ?e <pred:name> \"Greg Graffin\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"TeriPolo1\" .  }", "answer": "no"}, {"question": "What is the connection between Sedona (the one that is located in Coconino County) to United States of America?", "choices": ["official color", "symptoms", "captain", "executive producer", "home world", "has cause", "production designer", "composer", "country", "organisation directed from the office or person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coconino County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sedona"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sedona\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Coconino County\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Twitter username of the association football club whose headquarters location is Monterrey?", "choices": ["iab", "ShaniaTwain", "waseda_univ", "eurythmicsultim", "KLM_JP", "sseagalofficial", "IAmKRSOne", "Yankees", "Rayados", "iamwandasykes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monterrey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Monterrey\" .  ?e <Twitter_username> ?pv .  }", "answer": "Rayados"}, {"question": "Which name was Roy Orbison born with?", "choices": ["\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447 \u042f\u043d\u043e\u0432\u0441\u043a\u0438\u0439", "Keith Joseph Andrews", "Friedrich Wilhelm Nietzsche", "Roy Kelton Orbison", "Althea Rae Janairo", "\u0a13\u0a2e \u0a2a\u0a4d\u0a30\u0a15\u0a3e\u0a38\u0a3c \u0a2a\u0a41\u0a30\u0a40", "Frances Ethel Gumm", "Sharon Epatha Merkerson", "Lionel Herbert Blythe", "Ian Murray McKellen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roy Orbison"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Roy Orbison\" . ?e <birth_name> ?pv .  }", "answer": "Roy Kelton Orbison"}, {"question": "What is the role of the US state whose ISNI is 0000 0004 0393 0633 and short name is KS?", "choices": ["Justice League Heroes", "mineral", "guitarist", "United States Postal Service abbreviation", "character designer", "noun", "loser", "initialism", "official name", "leading actor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0393 0633"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["short name", "KS", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0393 0633\" . ?e <short_name> ?pv . ?pv <pred:value> \"KS\" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <object_has_role> ?qpv .  }", "answer": "United States Postal Service abbreviation"}, {"question": "Was the album with the record label MCA Inc. released later than 1997 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MCA Inc."]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1997", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"MCA Inc.\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1997 ) .  }", "answer": "no"}, {"question": "What is the OCLC control number of the literary work that inspires Harry Potter and the Order of the Phoenix (the one whose original language is English)?", "choices": ["55053886", "23287312", "84151489", "233548220", "318263948", "191731783", "434252597", "249338870", "1760010", "645702842"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Order of the Phoenix"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary work"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["OCLC control number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary work\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Harry Potter and the Order of the Phoenix\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e <OCLC_control_number> ?pv .  }", "answer": "249338870"}, {"question": "How many liberal arts colleges are registered with the Internal Revenue Service?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "Relate", "dependencies": [0], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> \"Internal Revenue Service\" .   }", "answer": "15"}, {"question": "How many hardcore punk groups were created after 1992 or are known by famous Joey Jordison ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1992", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hardcore punk"]}, {"function": "Find", "dependencies": [], "inputs": ["Joey Jordison"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hardcore punk"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hardcore punk\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1992 ) .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Joey Jordison\" .  } }", "answer": "3"}, {"question": "Did production expenses exceed 360000000 Indian rupees for the visual artwork nominated for Best Actress at Cannes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["360000000 Indian rupee", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Cannes Film Festival Award for Best Actress\" .  ?e <cost> ?pv . ?pv <pred:unit> \"Indian rupee\" . ?pv <pred:value> ?v . FILTER ( ?v > \"360000000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How is American International Group related to financial services?", "choices": ["uses", "terminus", "has dialect (DEPRECATED)", "basin country", "parent astronomical body", "place of burial", "participant of", "place of publication", "industry", "languages spoken, written or signed"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American International Group"]}, {"function": "Find", "dependencies": [], "inputs": ["financial services"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"American International Group\" . ?e_2 <pred:name> \"financial services\" . ?e_1 ?p ?e_2 .  }", "answer": "industry"}, {"question": "Does Chelmsford or Delhi have less area?", "choices": ["Kilkenny", "Delhi", "Kingston", "Cork", "Trieste", "Santo Domingo", "Dundee", "Chelmsford", "Abidjan", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chelmsford"]}, {"function": "Find", "dependencies": [], "inputs": ["Delhi"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chelmsford\" .  } UNION { ?e <pred:name> \"Delhi\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chelmsford"}, {"question": "Which area is larger, Franklin County (the one whose FIPS 6-4 (US counties) is 36033) or Westchester County?", "choices": ["Warren County", "Greene County", "Rensselaer County", "Westchester County", "Jefferson County", "Clinton County", "Franklin County", "Albany County", "Orange County", "Niagara County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "36033"]}, {"function": "Find", "dependencies": [], "inputs": ["Westchester County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Franklin County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"36033\" . } UNION { ?e <pred:name> \"Westchester County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Franklin County"}, {"question": "What is the date of birth for the human that is an employee of University of Canterbury?", "choices": ["1824-08-24", "1899-09-14", "1897-05-18", "1902-07-28", "1898-10-24", "1982-09-11", "1953-04-06", "1979-10-31", "1950-08-12", "1856-07-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Canterbury"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"University of Canterbury\" .  ?e <date_of_birth> ?pv .  }", "answer": "1902-07-28"}, {"question": "What film was Rachel Weisz nominated for Goya Award for Best Actress?", "choices": ["The Black Stallion", "Up!", "A Streetcar Named Desire", "The Cookie Monster", "U Turn", "The Soong Sisters", "Pink Friday", "Donald in Mathmagic Land", "Agora", "Joan of Arc"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rachel Weisz"]}, {"function": "Find", "dependencies": [], "inputs": ["Goya Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Rachel Weisz\" . ?e_2 <pred:name> \"Goya Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Agora"}, {"question": "What is the relation between Tranmere Rovers F.C. and Birkenhead?", "choices": ["kit supplier", "headquarters location", "facet of", "has cause", "home world", "lowest point", "spouse", "partially contains", "programming paradigm", "permanent resident of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tranmere Rovers F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Birkenhead"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tranmere Rovers F.C.\" . ?e_2 <pred:name> \"Birkenhead\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What television series is filmed in Macau (this statement's retrieval is in 2018) and has less than 390 episodes?", "choices": ["The Pacific", "The Diary of Anne Frank", "Edge of Darkness", "The Ten Commandments", "Emma", "George Washington", "Around the World in 80 Days", "The Stand", "Battlestar Galactica", "Roots"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macau"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["retrieved", "2018", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["number of episodes", "390", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["television series"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Macau\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <filming_location> ; <pred:fact_t> ?e_1 ] <retrieved> ?qpv . ?qpv <pred:year> 2018 . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"390\"^^xsd:double ) .  }", "answer": "Around the World in 80 Days"}, {"question": "Is the IPv4 routing prefix for the college of the University of Oxford called officially The Provost and Scholars of The Queen's College in the University of Oxford, 129.67.180.0/22 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "The Provost and Scholars of The Queen's College in the University of Oxford"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPv4 routing prefix"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["129.67.180.0/22"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"The Provost and Scholars of The Queen's College in the University of Oxford\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"129.67.180.0/22\" .  }", "answer": "yes"}, {"question": "Is the duration greater for Agora or Monster (the one whose publication date is 2008-01-01)?", "choices": ["A Prairie Home Companion", "The Towering Inferno", "Rebecca", "Monster", "Pleasantville", "Talk to Her", "Agora", "The Fifth Element", "Curse of the Golden Flower", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Agora"]}, {"function": "Find", "dependencies": [], "inputs": ["Monster"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2008-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Agora\" . } UNION { ?e <pred:name> \"Monster\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2008-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Agora"}, {"question": "Which Michigan county whose population is over 27000 has the largest area?", "choices": ["Marquette County", "St. Clair County", "Tuscola County", "Wayne County", "Macomb County", "Clinton County", "Oakland County", "Livingston County", "Saginaw County", "Washtenaw County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "27000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"27000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marquette County"}, {"question": "Does Lynchburg or Falls Church have less elevation above sea level?", "choices": ["Fairfax", "Hampton", "Falls Church", "Charlottesville", "Lexington", "Danville", "Roanoke", "Williamsburg", "Winchester", "Suffolk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lynchburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Falls Church"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lynchburg\" .  } UNION { ?e <pred:name> \"Falls Church\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falls Church"}, {"question": "How is Andes related to Colombia?", "choices": ["country", "significant person", "different from", "notable people with this condition", "spouse", "sport", "member of political party", "interested in", "permanent resident of", "conflict"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andes"]}, {"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Andes\" . ?e_2 <pred:name> \"Colombia\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When did the historical country on the Eurasian continent record a population of 160,000,000?", "choices": ["2017-02-24", "1780", "2016-10-01", "2014-04-30", "1705", "2003-10-19", "1279", "1847-01-01", "1891-01-01", "1795"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eurasia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "160000000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <continent> ?e_1 . ?e_1 <pred:name> \"Eurasia\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"160000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1279"}, {"question": "Which movie made less at the box office, RoboCop (the one that was nominated for Academy Award for Best Sound Mixing) or Jackie Brown (the one whose genre is blaxploitation)?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "Jackie Brown", "RoboCop", "A Prairie Home Companion", "The Fifth Element", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["RoboCop"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["blaxploitation"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Brown"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"RoboCop\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Sound Mixing\" .   } UNION { ?e <pred:name> \"Jackie Brown\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"blaxploitation\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "RoboCop"}, {"question": "Where was Affliction publicly released on February 12, 1998?", "choices": ["People's Republic of China", "Hollywood Bowl", "Stockholm", "United Kingdom", "Denmark", "New York", "Colombia", "Germany", "Iceland", "Peru"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Affliction"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1998-02-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Affliction\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-02-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who is the person with ISNI 0000 0001 0909 4953?", "choices": ["Julie Bowen", "Walon Green", "Sylvester Stallone", "Cynthia Nixon", "Herbert Lom", "Sanjeev Kumar", "Richard M. Sherman", "Richard Gere", "Usher", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0909 4953"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0909 4953\" .  }", "answer": "Richard M. Sherman"}, {"question": "Water for Elephants has what connection to the 38th edition of the People's Choice Awards?", "choices": ["appointed by", "takes place in fictional universe", "does not have part", "award received", "draft pick from school", "sidekick of", "performer", "family", "dedicated to", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Water for Elephants"]}, {"function": "Find", "dependencies": [], "inputs": ["38th People's Choice Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Water for Elephants\" . ?e_2 <pred:name> \"38th People's Choice Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How many unitary states form a basin country of Mediterranean Sea ?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mediterranean Sea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["basin country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e_1 <basin_country> ?e . ?e_1 <pred:name> \"Mediterranean Sea\" .   }", "answer": "3"}, {"question": "How many reggae origins are from Jamaica (the one that is located on terrain feature Caribbean) or a part of ska?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caribbean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located on terrain feature", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jamaica"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["reggae"]}, {"function": "Find", "dependencies": [], "inputs": ["ska"]}, {"function": "Relate", "dependencies": [6], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["reggae"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"reggae\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Jamaica\" . ?e_1 <located_on_terrain_feature> ?e_2 . ?e_2 <pred:name> \"Caribbean\" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"ska\" .  } }", "answer": "4"}, {"question": "With a population of 38686, what Pennsylania county is named after Nathanael Greene?", "choices": ["1541", "2006-11-17", "2018-03-20", "1868-01-01", "2008-10-08", "1834-12-03", "2015-05-06", "1938-01-01", "2015-06-01", "2010-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nathanael Greene"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "38686", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Nathanael Greene\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"38686\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What is the Deutsche Synchronkartei actor-ID belonging to David Suchet?", "choices": ["7393", "1616", "8351", "14714", "1878", "2926", "2615", "6706", "878", "3577"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Suchet"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"David Suchet\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv .  }", "answer": "1878"}, {"question": "Which movie is titled The Life Aquatic with Steve Zissou?", "choices": ["The Pride of the Yankees", "The Life Aquatic with Steve Zissou", "Rebecca", "Contraband", "Witness", "The Way We Were", "A Fish Called Wanda", "The Trouble with Harry", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Life Aquatic with Steve Zissou"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"The Life Aquatic with Steve Zissou\" .  }", "answer": "The Life Aquatic with Steve Zissou"}, {"question": "How is the Shrek 2 with Nintendo GameID G3RP52 related to single-player video gaming?", "choices": ["director/manager", "doctoral advisor", "has contributing factor", "programming paradigm", "had as last meal", "distribution", "nominated for", "distributor", "located on terrain feature", "game mode"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shrek 2"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "G3RP52"]}, {"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shrek 2\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"G3RP52\" . ?e_2 <pred:name> \"single-player video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "Does arrie (whose narrative location is Maine) or Atonement (that was nominated for a BAFTA Award for Best Makeup and Hair) have the longer running time?", "choices": ["Carrie", "The Fifth Element", "The Hunchback of Notre Dame", "Talk to Her", "Training Day", "Atonement", "A Prairie Home Companion", "The Towering Inferno", "Curse of the Golden Flower", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carrie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Makeup and Hair"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atonement"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carrie\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Maine\" .   } UNION { ?e <pred:name> \"Atonement\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"BAFTA Award for Best Makeup and Hair\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Atonement"}, {"question": "Who is a person that directed the photography of The Wizard of Oz (the one whose cost is 2777000 United States dollar) and who began his or her work after 1912?", "choices": ["Rahul Dev Burman", "David Byrne", "Max Fleischer", "William Henry Harrison", "Kajol", "Harold Rosson", "Simon Cowell", "Mel Gibson", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wizard of Oz"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "2777000 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["work period (start)", "1912", ">"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> \"The Wizard of Oz\" . ?e_1 <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"2777000\"^^xsd:double .  ?e <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1912 ) .  }", "answer": "Harold Rosson"}, {"question": "What is the duration of the visual artwork whose official website is http://www.savagesfilm.com?", "choices": ["52 minute", "10 week", "12 minute", "119 minute", "183 minute", "196 minute", "131 minute", "29 minute", "115.0 minute", "215 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.savagesfilm.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.savagesfilm.com\" . ?e <duration> ?pv .  }", "answer": "131 minute"}, {"question": "What is the date of birth for the person whose Munzinger IBA is 00000015338?", "choices": ["1945-12-31", "1976-05-19", "1926-10-15", "1969-08-18", "1959-06-06", "1904-01-18", "1970-10-09", "1961-08-27", "1978-10-02", "1920-08-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000015338"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000015338\" . ?e <date_of_birth> ?pv .  }", "answer": "1926-10-15"}, {"question": "Which county of Pennsylvania has an FIPS 6-4 (US counties) of 42127?", "choices": ["Allegheny County", "Franklin County", "Wayne County", "Jefferson County", "Berks County", "Erie County", "Clinton County", "Cumberland County", "Westmoreland County", "Fayette County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42127"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"42127\" .  }", "answer": "Wayne County"}, {"question": "When did the journalist John Williams die?", "choices": ["1791-12-05", "1818-01-01", "1983-10-10", "2008-03-24", "1977-01-14", "1980-10-04", "1956-05-06", "1966-08-15", "2013-05-26", "2016-10-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["journalist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Williams\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"journalist\" .  ?e <date_of_death> ?pv .  }", "answer": "1818-01-01"}, {"question": "What is the connection between Peter Hyams to Hunter College?", "choices": ["educated at", "fictional universe described in", "work location", "collection", "main subject", "place of birth", "material used", "has parts of the class", "substitute/deputy/replacement of office/officeholder", "season starts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Hyams"]}, {"function": "Find", "dependencies": [], "inputs": ["Hunter College"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Hyams\" . ?e_2 <pred:name> \"Hunter College\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Was Clark Atlanta University founded in a year except 1960 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clark Atlanta University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1960", "!="]}], "sparql": "ASK { ?e <pred:name> \"Clark Atlanta University\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1960 ) .  }", "answer": "yes"}, {"question": "What work did k. d. lang receive the Grammy Award for Best Female Country Vocal Performance for?", "choices": ["The Postman", "Broadcast News", "Pluto's Blue Note", "Absolute Torch and Twang", "The Amber Spyglass", "Melvin and Howard", "American Pie 2", "My Week with Marilyn", "Paper Planes", "They Shoot Horses, Don't They?"], "program": [{"function": "Find", "dependencies": [], "inputs": ["k.d. lang"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Female Country Vocal Performance"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"k.d. lang\" . ?e_2 <pred:name> \"Grammy Award for Best Female Country Vocal Performance\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Absolute Torch and Twang"}, {"question": "What is the female population of the rural population (155317278) of the state of India that is the birthplace of Ashok Kumar (whose ISNI is 0000 0000 8169 661X)?", "choices": ["1728748", "42138631", "24114237", "74324283", "214202", "30017040", "420073", "7607894", "1817380", "34356"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ashok Kumar"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8169 661X"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of India"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["rural population", "155317278", "female population"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Ashok Kumar\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8169 661X\" . ?e <rural_population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"155317278\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <rural_population> ; <pred:fact_t> ?pv ] <female_population> ?qpv .  }", "answer": "74324283"}, {"question": "What person is related to sport rowing?", "choices": ["Max Fleischer", "Hugh Laurie", "Botafogo F.R.", "John Davis", "James Stewart", "Sylvester Stallone", "Doc Watson", "Joel David Moore", "Richard Portman", "Leonard Bernstein"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rowing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"rowing\" .   }", "answer": "Hugh Laurie"}, {"question": "What is the number of art that has famous people the human with the Munzinger IBA is 00000007377", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000007377"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["art"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000007377\" .   }", "answer": "1"}, {"question": "Which has the largest area among the New Jersey cities whose elevation above sea level is less than 530 metres?", "choices": ["New Brunswick", "Newark", "Atlantic City", "East Orange", "Hoboken", "Jersey City", "Camden", "Elizabeth", "Paterson", "Trenton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "530 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"530\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Newark"}, {"question": "What is the connection between John Keats (the one that has the occupation of writer) to English?", "choices": ["child astronomical body", "color", "has effect", "languages spoken, written or signed", "depicts", "start point", "Wikidata property", "presenter", "sidekick of", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Keats"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Keats\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"writer\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "What is the acquisition transaction of Felix Bastians who is a member of BSC Young Boys?", "choices": ["loan", "5126.22 United States dollar", "650", "https://www.parti-socialiste.fr/wp-content/uploads/2016/01/Statuts-et-re%CC%80glement-2015-PS.pdf", "240 volt", "youth association football", "husserledmund", "31395", "35", "25.6 millipascal-second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Felix Bastians"]}, {"function": "Find", "dependencies": [], "inputs": ["BSC Young Boys"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "acquisition transaction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Felix Bastians\" . ?e_2 <pred:name> \"BSC Young Boys\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <acquisition_transaction> ?qpv .  }", "answer": "loan"}, {"question": "Which US city with telephone area code 912 is represented by the official website www.brunswickga.org?", "choices": ["Columbus", "Brunswick", "Greenville", "Lansing", "Boulder", "Savannah", "Oakland", "Franklin", "New Haven", "Compton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.brunswickga.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["local dialing code", "912"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.brunswickga.org/\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"912\" .  }", "answer": "Brunswick"}, {"question": "Does the US city with the native label Worcester occupy other than 2300000 square feet ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Worcester"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2300000 square foot", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Worcester\" . ?e <area> ?pv . ?pv <pred:unit> \"square foot\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2300000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Does Gallipoli or Fish Tank have the greater duration?", "choices": ["Training Day", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Fish Tank", "Rebecca", "Curse of the Golden Flower", "Gallipoli", "Pleasantville", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gallipoli"]}, {"function": "Find", "dependencies": [], "inputs": ["Fish Tank"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gallipoli\" .  } UNION { ?e <pred:name> \"Fish Tank\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fish Tank"}, {"question": "What is the name of the person whose ISNI is 0000 0001 1561 9058 and is the screenwriter of Cowboys & Aliens?", "choices": ["James E. Reilly", "Alex Kurtzman", "Simon Cowell", "Richard Gere", "William Henry Harrison", "Damon Lindelof", "Roberto Orci", "Max Fleischer", "Sylvester Stallone", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1561 9058"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Cowboys & Aliens"]}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1561 9058\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Cowboys & Aliens\" .  }", "answer": "Damon Lindelof"}, {"question": "Regarding the chemical element that has chemical formula Se, was the PubChem CID exactly 444899?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["chemical formula", "Se"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PubChem CID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["444899"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <chemical_formula> ?pv_1 . ?pv_1 <pred:value> \"Se\" . ?e <PubChem_CID> ?pv . ?pv <pred:value> \"444899\" .  }", "answer": "no"}, {"question": "Was the medal awarded in 1916 to Nikola Tesla established earlier than 1917?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nikola Tesla"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1916", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["medal"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1917", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"medal\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Nikola Tesla\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1916 . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1917 ) .  }", "answer": "yes"}, {"question": "How many dramas with IAB code 642?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "642"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["drama"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drama\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"642\" .  }", "answer": "1"}, {"question": "What is the title of Spellbound (distributed by THINKFilm)?", "choices": ["\u041a\u0440\u0430\u0439", "All Boys", "Empire of the Sun", "The Happening", "The Social Network", "\u7fa9\u548c\u5718\u904b\u52d5", "The Silence of the Lambs", "The Big Bang Theory", "Oasis", "Spellbound"], "program": [{"function": "Find", "dependencies": [], "inputs": ["THINKFilm"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spellbound"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Spellbound\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"THINKFilm\" .  ?e <title> ?pv .  }", "answer": "Spellbound"}, {"question": "Which New York county without 5700 inhabitants covers the biggest area?", "choices": ["Clinton County", "Montgomery County", "Essex County", "Westchester County", "St. Lawrence County", "Oneida County", "Jefferson County", "Cattaraugus County", "Washington County", "Oswego County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5700", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5700\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "How many subscribers are there for the subreddit billikens of Saint Louis University?", "choices": ["21432", "4668", "59626", "13098", "1121", "58157", "5786549", "343", "21175", "111212"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Louis University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["subreddit", "billikens", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Saint Louis University\" . ?e <subreddit> ?pv . ?pv <pred:value> \"billikens\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "343"}, {"question": "What is ParaNorman's running time?", "choices": ["189 minute", "116 minute", "60 minute", "94 minute", "191 minute", "67 minute", "259 minute", "102 minute", "122 minute", "92 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ParaNorman"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"ParaNorman\" . ?e <duration> ?pv .  }", "answer": "92 minute"}, {"question": "Does Chris Weitz or Jennifer Garner have more kids?", "choices": ["William Henry Harrison", "Rahul Dev Burman", "Simon Cowell", "Jennifer Garner", "Sylvester Stallone", "James E. Reilly", "Richard Gere", "Paul Simon", "Max Fleischer", "Chris Weitz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Weitz"]}, {"function": "Find", "dependencies": [], "inputs": ["Jennifer Garner"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chris Weitz\" .  } UNION { ?e <pred:name> \"Jennifer Garner\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jennifer Garner"}, {"question": "How is The Godfather with Diane Keaton as a cast member related to The Godfather that is the basis for The Godfather Part II?", "choices": ["takes place in fictional universe", "worshipped by", "mouth of the watercourse", "set in period", "original film format", "based on", "office held by head of government", "penalty", "partially contains", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Diane Keaton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Godfather"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Godfather Part II"]}, {"function": "Relate", "dependencies": [4], "inputs": ["based on", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Godfather"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Godfather\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Diane Keaton\" . ?e_2 <pred:name> \"The Godfather\" . ?e_4 <based_on> ?e_2 . ?e_4 <pred:name> \"The Godfather Part II\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "How many capitals that are the twinned administrative body of Tapei have a population greater of 3700000000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taipei"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "3700000000", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["capital"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Taipei\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3700000000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "What is the official website for the higher education institution where Rachel McAdams got an education?", "choices": ["http://www.david-strathairn.com", "http://www.cityofpoughkeepsie.com/", "http://www.hbo.com", "http://www.yorku.ca/", "http://www.127hoursmovie.com", "http://www.nbc.com/saturday-night-live", "https://messi.com", "http://www.wim-wenders.com/", "http://www.regione.lombardia.it/", "http://julia-der-film.de"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rachel McAdams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Rachel McAdams\" .  ?e <official_website> ?pv .  }", "answer": "http://www.yorku.ca/"}, {"question": "How is Happy-Go-Lucky related to Jim Clark whose ISNI is 0000 0001 1821 8372?", "choices": ["cast member", "license", "contains administrative territorial entity", "member of", "inspired by", "occupation", "nominated for", "art director", "partially contains", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Happy-Go-Lucky"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Clark"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0001 1821 8372"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Happy-Go-Lucky\" . ?e_2 <pred:name> \"Jim Clark\" . ?e_2 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1821 8372\" . ?e_1 ?p ?e_2 .  }", "answer": "film editor"}, {"question": "Which was shorter, the Russian version of Earth or The Stepford Wives (distributed by Columbia Pictures)?", "choices": ["Pleasantville", "The Last of the Mohicans", "A Prairie Home Companion", "Earth", "The Hunchback of Notre Dame", "Hamlet", "Little Women", "Paris", "The Stepford Wives", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Stepford Wives"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Earth\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Russian\" .   } UNION { ?e <pred:name> \"The Stepford Wives\" . ?e <distributor> ?e_2 . ?e_2 <pred:name> \"Columbia Pictures\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Earth"}, {"question": "How is Trinidad and Tobago related with San Juan Jabloteh ?", "choices": ["history of topic", "source of income", "chairperson", "place of burial", "country", "child", "original network", "next higher rank", "statistical leader", "ancestral home"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Juan Jabloteh"]}, {"function": "Find", "dependencies": [], "inputs": ["Trinidad and Tobago"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"San Juan Jabloteh\" . ?e_2 <pred:name> \"Trinidad and Tobago\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many astronomical object types contain a nebula or weigh 1.1 solar mass?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["nebula"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["astronomical object type"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["mass", "1.1 solar mass", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["astronomical object type"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"astronomical object type\" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> \"nebula\" .  } UNION { ?e <mass> ?pv . ?pv <pred:unit> \"solar mass\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.1\"^^xsd:double ) .  } }", "answer": "2"}, {"question": "Is the website www.srilankacricket.lk associated with the institution of higher learning attended by Lawrence Gordon ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence Gordon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.srilankacricket.lk"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Lawrence Gordon\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.srilankacricket.lk\" .  }", "answer": "no"}, {"question": "At what point in time is 3440484 the population of Busan?", "choices": ["1753", "2011-04-13", "2005-08-08", "2005-08-01", "2005-12-31", "2016", "1870", "2016-08-11", "1968", "2005-08-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Busan"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "3440484", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Busan\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3440484\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "Which feature film with a release date other than 1956 has the longest running time?", "choices": ["Robin Hood: Prince of Thieves", "Earth", "The Flintstones", "Pirates of the Caribbean: On Stranger Tides", "Popeye", "Fiddler on the Roof", "Mary Poppins", "The Sorcerer's Apprentice", "The Muppets", "Ghostbusters II"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1956", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1956 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fiddler on the Roof"}, {"question": "How is Seven starring R. Lee Ermey related to drama film?", "choices": ["occupant", "affiliation", "language of work or name", "location", "film editor", "office held by head of state", "notable people with this condition", "follows", "genre", "after a work by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["R. Lee Ermey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Seven"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Seven\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"R. Lee Ermey\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the date of birth for the human whose mass is equal to 69 kilograms?", "choices": ["1951-01-01", "1961-01-09", "1864-11-05", "1769-05-01", "1807-04-20", "1943-05-14", "1961-05-14", "1951-10-02", "1986-03-06", "1903-11-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "69 kilogram", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"kilogram\" . ?pv_1 <pred:value> \"69\"^^xsd:double . ?e <date_of_birth> ?pv .  }", "answer": "1986-03-06"}, {"question": "What is the connection between Method Man and African Americans?", "choices": ["fictional universe described in", "update method", "has quality", "ethnic group", "color", "inspired by", "currency", "geographic distribution", "place of origin (Switzerland)", "interested in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Method Man"]}, {"function": "Find", "dependencies": [], "inputs": ["African Americans"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Method Man\" . ?e_2 <pred:name> \"African Americans\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which US city's official website is http://www.onconcord.com (the language of this statement is English)?", "choices": ["Columbus", "New Haven", "Boulder", "Oakland", "Concord", "Butte", "Waukegan", "Compton", "Prescott", "Franklin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.onconcord.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.onconcord.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Concord"}, {"question": "What is the beginning date that Jena is the twinned administrative body of Berkeley whose elevation is 52 meters above sea level?", "choices": ["1817-03-04", "1990-10-03", "1972", "2012-01-19", "1963-10-29", "1989", "1803-02-19", "1893-12-26", "1952-02-14", "1970-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jena"]}, {"function": "Find", "dependencies": [], "inputs": ["Berkeley"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "52 metre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jena\" . ?e_2 <pred:name> \"Berkeley\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"52\"^^xsd:double . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1989"}, {"question": "What is the connection between Marc Joseph to Peterborough United F.C.?", "choices": ["practiced by", "soundtrack album", "developer", "home venue", "partially contains", "sex or gender", "costume designer", "professional or sports partner", "member of sports team", "performer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marc Joseph"]}, {"function": "Find", "dependencies": [], "inputs": ["Peterborough United F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marc Joseph\" . ?e_2 <pred:name> \"Peterborough United F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What was the inception time before 1655 of Club Olimpia Deportivo?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Club Olimpia Deportivo"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1655", "<"]}], "sparql": "ASK { ?e <pred:name> \"Club Olimpia Deportivo\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1655 ) .  }", "answer": "no"}, {"question": "The native language name of which person is \u0c2c\u0c4d\u0c30\u0c39\u0c4d\u0c2e\u0c3e\u0c28\u0c02\u0c26\u0c02?", "choices": ["Jackson", "James Monroe", "Derek Jeter", "Max Fleischer", "William Henry Harrison", "Fred Astaire", "James Cameron", "Brahmanandam", "Richard Gere", "Scott Rudin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "\u0c2c\u0c4d\u0c30\u0c39\u0c4d\u0c2e\u0c3e\u0c28\u0c02\u0c26\u0c02"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u0c2c\u0c4d\u0c30\u0c39\u0c4d\u0c2e\u0c3e\u0c28\u0c02\u0c26\u0c02\" .  }", "answer": "Brahmanandam"}, {"question": "Is the Pennsylvania city with telephone area code 570 larger than 0 square kilometers in size ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "570"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0 square kilometre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"570\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is the smaller area occupied by Greensburg or by Reading, at 26.235358 square kilometers?", "choices": ["Greensburg", "Pittsburgh", "Bethlehem", "Philadelphia", "Harrisburg", "York", "Wilkes-Barre", "Erie", "Johnstown", "Reading"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greensburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Reading"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "26.235358 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greensburg\" . } UNION { ?e <pred:name> \"Reading\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"26.235358\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Greensburg"}, {"question": "Where was the visual artwork titled Taking Woodstock published on 2009-09-03?", "choices": ["Australia", "Germany", "Tribeca Film Festival", "India", "Davao City", "Portugal", "Lebanon", "2008 Toronto International Film Festival", "Montreal World Film Festival", "Turkey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Taking Woodstock"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2009-09-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Taking Woodstock\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-09-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which work did Dana Carvey win MTV Movie Award for Best On-Screen Duo for?", "choices": ["Underworld", "Wild Strawberries", "Entrapment", "Hey Ya!", "Ryan's Daughter", "Mr. Turner", "WALL\u00b7E", "Pineapple Express", "Looking for Mr. Goodbar", "Wayne's World"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best On-Screen Duo"]}, {"function": "Find", "dependencies": [], "inputs": ["Dana Carvey"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Movie Award for Best On-Screen Duo\" . ?e_2 <pred:name> \"Dana Carvey\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Wayne's World"}, {"question": "Which has fewer people, Hereford or Groningen (the one that is the headquarter location of FC Groningen)?", "choices": ["Santo Domingo", "Hereford", "Kingston", "Groningen", "Trieste", "Abidjan", "Chihuahua", "Dundee", "Bergen", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hereford"]}, {"function": "Find", "dependencies": [], "inputs": ["FC Groningen"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Groningen"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hereford\" .  } UNION { ?e <pred:name> \"Groningen\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"FC Groningen\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hereford"}, {"question": "Tell me the start time for AT&T that has IPv4 routing prefix of 135.113.0.0/16.", "choices": ["1820", "2013-03-05", "1968-04-24", "1996-04-30", "1971-07-27", "1835", "2016-01-25", "1963-11-29", "2001-09-30", "1967-06-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AT&T"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["IPv4 routing prefix", "135.113.0.0/16", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"AT&T\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"135.113.0.0/16\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPv4_routing_prefix> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1996-04-30"}, {"question": "Which has a greater above sea level elevation, Green Bay (whose official website is http://www.ci.green-bay.wi.us) or Anderson (whose official website is http://www.cityofanderson.com/)?", "choices": ["Lansing", "Boulder", "Anderson", "Waukegan", "Greenville", "New Haven", "Compton", "Oakland", "Green Bay", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Bay"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ci.green-bay.wi.us"]}, {"function": "Find", "dependencies": [], "inputs": ["Anderson"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "http://www.cityofanderson.com/"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Green Bay\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.green-bay.wi.us\" . } UNION { ?e <pred:name> \"Anderson\" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> \"http://www.cityofanderson.com/\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anderson"}, {"question": "Which area of Texas county has the population that is not equal to 360000000?", "choices": ["Jefferson County", "Cameron County", "Collin County", "Bexar County", "McLennan County", "Harris County", "Brazoria County", "Denton County", "Johnson County", "Hidalgo County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "360000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"360000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Johnson County"}, {"question": "Is http://www.padovacalcio.it/ the official website of Calcio Padova?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calcio Padova"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.padovacalcio.it/"]}], "sparql": "ASK { ?e <pred:name> \"Calcio Padova\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.padovacalcio.it/\" .  }", "answer": "yes"}, {"question": "What is the connection between Craven to North Yorkshire (the one that contains Craven)?", "choices": ["place of origin (Switzerland)", "quotes work", "located in the administrative territorial entity", "terminus", "winner", "contributing factor of", "performer", "mountain range", "statistical leader", "foundational text"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Craven"]}, {"function": "Find", "dependencies": [], "inputs": ["Craven"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["North Yorkshire"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Craven\" . ?e_2 <pred:name> \"North Yorkshire\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Craven\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How is the Jack Abbott born on 1873-02-06 connected to Concord (official name Concord)?", "choices": ["designed to carry", "has effect", "part of the series", "film distribute region", "father", "board member", "has part", "uses", "place of death", "mountain range"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Abbott"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1873-02-06", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Concord"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official name", "Concord"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Abbott\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1873-02-06\"^^xsd:date . ?e_2 <pred:name> \"Concord\" . ?e_2 <official_name> ?pv_1 . ?pv_1 <pred:value> \"Concord\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Which work was awarded the BAFTA Award for Best Original Screenplay which was won by Martin McDonagh?", "choices": ["The West Wing", "The Shawshank Redemption", "The Color Purple", "The Claw of the Conciliator", "Leave Me Alone", "Milk", "Love Me or Leave Me", "Terminator 2: Judgment Day", "Some Like It Hot", "In Bruges"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Original Screenplay"]}, {"function": "Find", "dependencies": [], "inputs": ["Martin McDonagh"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Original Screenplay\" . ?e_2 <pred:name> \"Martin McDonagh\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "In Bruges"}, {"question": "Part of which series number of Law & Order (the one whose number of seasons is 20) is Angel, released on 14th November 1997 ?", "choices": ["16", "13", "35", "36", "119", "38", "28", "19", "47", "5"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1997-11-14", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["number of seasons", "20", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["part of the series", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Angel\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1997-11-14\"^^xsd:date . ?e_2 <pred:name> \"Law & Order\" . ?e_2 <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"20\"^^xsd:double . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "119"}, {"question": "What is the relation between John Davis (the one that is a member of San Diego Padres) and Chicago (the one that is the narrative location of Bridesmaids)?", "choices": ["followed by", "professorship", "country of origin", "maintained by", "source of material", "platform", "newspaper format", "place of birth", "update method", "art director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Diego Padres"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bridesmaids"]}, {"function": "Relate", "dependencies": [4], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Davis\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"San Diego Padres\" . ?e_2 <pred:name> \"Chicago\" . ?e_4 <narrative_location> ?e_2 . ?e_4 <pred:name> \"Bridesmaids\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How many televisions series were not started in 2005?", "choices": ["305", "306", "307", "308", "309", "310", "311", "312", "313", "314"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2005", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  }", "answer": "305"}, {"question": "When was Taken (the one that contains Taken 2) published?", "choices": ["2003-01-20", "2002-03-14", "2008", "1987-01-08", "2011-12-25", "1991-06-14", "1984-01-20", "2012-05-15", "2017-09-15", "2003-12-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taken 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taken"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Taken\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"Taken 2\" .  ?e <publication_date> ?pv .  }", "answer": "2008"}, {"question": "How was a rank of 57 figured for the North Macedonian national soccer team?", "choices": ["questionnaire", "extrapolation", "national estimation", "administrative division valid at the time point of history to which the data relates", "de facto", "United Kingdom Census 2011", "Sixth National Population Census of the People's Republic of China", "register office", "Taqdir", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Macedonia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "57", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"North Macedonia\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"57\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "AMong the TV series with the number of episodes over 6,900, which one has the highest number of episodes ?", "choices": ["Guiding Light", "Love of Life", "All My Children", "The Bold and the Beautiful", "The Edge of Night", "The Young and the Restless", "Days of our Lives", "Coronation Street", "Search for Tomorrow", "Eat Bulaga!"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "6900", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"6900\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Guiding Light"}, {"question": "Who was the Academy Award nominee for Best Director for The Quiet Man, distributed by Republic Pictures?", "choices": ["Ross Katz", "Barry Mendel", "Douglas Shearer", "Terry George", "Michael Weller", "Chris Clark", "Mark Robson", "Eve Stewart", "John Ford", "J. Michael Riva"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republic Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Quiet Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Quiet Man\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Republic Pictures\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "John Ford"}, {"question": "When did Ryan Phillippe marry Reese Witherspoon?", "choices": ["1817-03-04", "2005-12-12", "2004-07-30", "1845-03-10", "1861-04-22", "1999-01-01", "1994-05-14", "2002-06-11", "1899-10-11", "1993-07-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan Phillippe"]}, {"function": "Find", "dependencies": [], "inputs": ["Reese Witherspoon"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ryan Phillippe\" . ?e_2 <pred:name> \"Reese Witherspoon\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Does Persepolis or Ice Age: Continental Drift have less duration?", "choices": ["Aladdin", "Ice Age: Continental Drift", "Renaissance", "Lilo & Stitch", "Persepolis", "Peter Pan", "Winnie the Pooh", "The Rescuers", "WALL\u00b7E", "Beauty and the Beast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Persepolis"]}, {"function": "Find", "dependencies": [], "inputs": ["Ice Age: Continental Drift"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Persepolis\" .  } UNION { ?e <pred:name> \"Ice Age: Continental Drift\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ice Age: Continental Drift"}, {"question": "When did John Williams (the one that is a member of Darlington F.C.) become a member of Cardiff City F.C.?", "choices": ["1806-07-11", "2018-02-15", "1987", "1973-09-01", "1999-01-01", "1915-06-12", "1803-01-01", "1992-01-01", "1891-06-01", "2009-12-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Darlington F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cardiff City F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Darlington F.C.\" . ?e_2 <pred:name> \"Cardiff City F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "What is Jet Li's character role as a cast member in the work \"The Mummy: Tomb of the Dragon Emperor\" (the one whose box office is 401128639 United States dollar)?", "choices": ["Vanessa Kensington", "Professor X", "Soundwave", "The High Sparrow", "Eddie Valiant", "Tweedledum", "George III of Great Britain", "Sal Maroni", "Zoey Pierson", "The Dragon Emperor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mummy: Tomb of the Dragon Emperor"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "401128639 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jet Li"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Mummy: Tomb of the Dragon Emperor\" . ?e_1 <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"401128639\"^^xsd:double . ?e_2 <pred:name> \"Jet Li\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "The Dragon Emperor"}, {"question": "Among the Arizona counties with a population count other than 10000000, which has the largest population?", "choices": ["Cochise County", "Santa Cruz County", "Mohave County", "Coconino County", "Yavapai County", "Pinal County", "Pima County", "Apache County", "Gila County", "Maricopa County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "10000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"10000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coconino County"}, {"question": "Who has more children, John Rhys-Davies or Barbara Walters?", "choices": ["James E. Reilly", "David Byrne", "Sylvester Stallone", "Simon Cowell", "Barbara Walters", "William Henry Harrison", "Rahul Dev Burman", "Richard Gere", "Paul Simon", "John Rhys-Davies"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Rhys-Davies"]}, {"function": "Find", "dependencies": [], "inputs": ["Barbara Walters"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"John Rhys-Davies\" .  } UNION { ?e <pred:name> \"Barbara Walters\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "John Rhys-Davies"}, {"question": "Which person has CANTIC-ID a11621436?", "choices": ["Steve Oedekerk", "Leonardo da Vinci", "Sylvester Stallone", "Gustave Flaubert", "William Henry Harrison", "Subhash Ghai", "John Cusack", "Richard Gere", "Stanley Kramer", "Brian Posehn"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11621436"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11621436\" .  }", "answer": "John Cusack"}, {"question": "Which visual artwork titled Zero Dark Thirty was nominated for Best Actress at the 85th Academy Awards?", "choices": ["Training Day", "Rebecca", "Silver Linings Playbook", "Pleasantville", "The Impossible", "Beasts of the Southern Wild", "Zero Dark Thirty", "Amour", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "85th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "Zero Dark Thirty"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"85th Academy Awards\" . ?e <title> ?pv . ?pv <pred:value> \"Zero Dark Thirty\" .  }", "answer": "Zero Dark Thirty"}, {"question": "Which one has more kids, Anne V. Coates or Tiffani Thiessen ?", "choices": ["Tiffani Thiessen", "Simon Cowell", "Richard Gere", "James E. Reilly", "William Henry Harrison", "Anne V. Coates", "Max Fleischer", "Paul Simon", "David Byrne", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne V. Coates"]}, {"function": "Find", "dependencies": [], "inputs": ["Tiffani Thiessen"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anne V. Coates\" .  } UNION { ?e <pred:name> \"Tiffani Thiessen\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anne V. Coates"}, {"question": "What band is signed to the Kill Rock Stars label?", "choices": ["The Pretenders", "USA for Africa", "Everything but the Girl", "The Monkees", "The Decemberists", "KC and the Sunshine Band", "The Jackson 5", "The Kinks", "Tangerine Dream", "Dixie Chicks"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kill Rock Stars"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Kill Rock Stars\" .   }", "answer": "The Decemberists"}, {"question": "Which has more people, Danville (the one whose local dialing code is 859) or Tyler?", "choices": ["New Haven", "Compton", "Columbus", "Boulder", "Waukegan", "Danville", "Franklin", "Tyler", "Lansing", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danville"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "859"]}, {"function": "Find", "dependencies": [], "inputs": ["Tyler"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Danville\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"859\" . } UNION { ?e <pred:name> \"Tyler\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tyler"}, {"question": "Which municipality of the Netherlands is named after the city whose ISNI is 0000 0001 0658 9539 ?", "choices": ["Nijmegen", "Delft", "Hilversum", "Groningen", "Rotterdam", "Maastricht", "Leiden", "Amsterdam", "Alkmaar", "Arnhem"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0658 9539"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["municipality of the Netherlands"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0658 9539\" .   }", "answer": "Groningen"}, {"question": "Which subreddit is associated with electro?", "choices": ["saic", "Lisboa", "bulgaria", "Alton", "Yunnan", "Marvel", "Markham", "futurama", "electro", "hardware"], "program": [{"function": "Find", "dependencies": [], "inputs": ["electro"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"electro\" . ?e <subreddit> ?pv .  }", "answer": "electro"}, {"question": "Which has less area, Perth Amboy or Paterson USA?", "choices": ["Atlantic City", "Elizabeth", "Passaic", "Paterson", "Perth Amboy", "Bayonne", "Hoboken", "Jersey City", "East Orange", "Trenton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Perth Amboy"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paterson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Perth Amboy\" .  } UNION { ?e <pred:name> \"Paterson\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Perth Amboy"}, {"question": "What language is associated with the creative work for http://www.cartoonnetwork.com/ben-10/, the official website for Ben 10 (the one whose publication date is 2017-04-10)?", "choices": ["Irish", "Cook Islands M\u0101ori", "Tahitian", "Macedonian", "Georgian", "Cornish", "English", "Hebrew", "Bulgarian", "O'odham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben 10"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2017-04-10", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "http://www.cartoonnetwork.com/ben-10/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ben 10\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2017-04-10\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cartoonnetwork.com/ben-10/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "For the film that received the Academy Award for Best Supporting Actor (the subject of this statement is 69th Academy Awards), where is it published on its 1997-02-27 publication date?", "choices": ["Rio de Janeiro", "BFI London Film Festival", "Israel", "Japan", "Quebec", "Telluride Film Festival", "Kazakhstan", "Ukraine", "Germany", "Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "69th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1997-02-27", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"69th Academy Awards\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-02-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Between Kathie Lee Gifford or Britney Spears, who is taller?", "choices": ["James E. Reilly", "Richard Gere", "Max Fleischer", "Kathie Lee Gifford", "Britney Spears", "Paul Simon", "Sylvester Stallone", "Rahul Dev Burman", "David Byrne", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathie Lee Gifford"]}, {"function": "Find", "dependencies": [], "inputs": ["Britney Spears"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kathie Lee Gifford\" .  } UNION { ?e <pred:name> \"Britney Spears\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kathie Lee Gifford"}, {"question": "How many secondary schools are in South Carolina or have an ISNI of 0000 0000 9206 9232?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Carolina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 9206 9232"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["secondary school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"South Carolina\" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9206 9232\" .  } }", "answer": "2"}, {"question": "How was it determined that the national association football team whose inception time is in 1927 was ranked 33?", "choices": ["FIFA World Rankings", "extrapolation", "United Kingdom Census 1981", "demographic balance", "administrative division valid at the moment of publication", "middle", "Yemen General Census of Population, Housing and Establishments 2004", "tradition", "register office", "de jure"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1927", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "33", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1927 . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"33\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the connection between Harry Morgan to Muskegon?", "choices": ["librettist", "feast day", "production company", "history of topic", "position played on team / speciality", "culture", "residence", "permanent resident of", "part of the series", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Morgan"]}, {"function": "Find", "dependencies": [], "inputs": ["Muskegon"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Morgan\" . ?e_2 <pred:name> \"Muskegon\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "What is the native language name of David Silverman, born in 2000?", "choices": ["Nicolas Cage", "Wallace Shawn", "Kristin Chenoweth", "David Silverman", "Fred Astaire", "Joan Collins", "Pat Benatar", "Dante Alighieri", "Aurelius Augustinus", "Juan Mata"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Silverman"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "2000", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"David Silverman\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 2000 . ?e <name_in_native_language> ?pv .  }", "answer": "David Silverman"}, {"question": "What is the connection between The Last Picture Show to Larry McMurtry?", "choices": ["producer", "copyright representative", "creator", "military rank", "screenwriter", "member of", "mascot", "takes place in fictional universe", "superhuman feature or ability", "costume designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Picture Show"]}, {"function": "Find", "dependencies": [], "inputs": ["Larry McMurtry"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Last Picture Show\" . ?e_2 <pred:name> \"Larry McMurtry\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "What is the visual artwork of Scary Movie?", "choices": ["Die Hard", "A Prairie Home Companion", "Pleasantville", "Why We Fight", "Scary Movie", "Rebecca", "Talk to Her", "A Better Tomorrow", "New Year's Eve", "Unstoppable"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Scary Movie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Scary Movie\" .  }", "answer": "Scary Movie"}, {"question": "New York City is the base for how many bands?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"New York City\" .   }", "answer": "5"}, {"question": "How many colors equal Christina Ricci's eye color and have sRGB color hex triplet FFFFFF?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christina Ricci"]}, {"function": "Relate", "dependencies": [0], "inputs": ["eye color", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["color"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["sRGB color hex triplet", "FFFFFF"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["color"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"color\" . ?e_1 <eye_color> ?e . ?e_1 <pred:name> \"Christina Ricci\" .  ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> \"FFFFFF\" .  }", "answer": "0"}, {"question": "How big is Chapel Hill, in terms of area?", "choices": ["173.49 square kilometre", "55.254584 square kilometre", "63.223724 square kilometre", "265.689884 square kilometre", "2372 square kilometre", "22351.0 square kilometre", "47614.07 square kilometre", "83858 square kilometre", "5286 square kilometre", "56.109022 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chapel Hill"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chapel Hill\" . ?e <area> ?pv .  }", "answer": "55.254584 square kilometre"}, {"question": "David O. Russell has what connection to the United States of America?", "choices": ["based on", "country of origin", "country of citizenship", "does not have part", "parent astronomical body", "edition or translation of", "different from", "owner of", "start point", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David O. Russell"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David O. Russell\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Does the Oregon county, whose official website is http://www.co.marion.or.us, have a population equal to 47000000 (the point in time of this statement is 2012-07-01)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.marion.or.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2012-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["47000000", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.marion.or.us\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"47000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the CANTIC-ID for Jim Sheridan (the one that was nominated for Academy Award for Best Director)?", "choices": ["a11560289", "a11878654", "a11253204", "a11071138", "a10099669", "a11729119", "a11812229", "a10906204", "a12282339", "a10283651"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Sheridan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jim Sheridan\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Director\" .  ?e <CANTIC-ID> ?pv .  }", "answer": "a11560289"}, {"question": "Which language is associated with http://www.co.fulton.pa.us, the official website of the Pennsylvania county whose FIPS 6-4 (US counties) is 42057?", "choices": ["Swedish", "Xhosa", "Canadian French", "Ukrainian", "English", "Tlingit", "Korean", "Finnish", "Atikamekw", "Indonesian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42057"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.co.fulton.pa.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"42057\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.co.fulton.pa.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which Academy Awards ceremony was received by the human that received an Academy Award for Best Actor at the 31st Academy Awards?", "choices": ["45th Academy Awards", "Legion of Merit", "31st Academy Awards", "43rd Academy Awards", "74th Academy Awards", "57th Academy Awards", "25th Academy Awards", "24th Academy Awards", "30th Academy Awards", "59th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "31st Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Actor\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"31st Academy Awards\" .   }", "answer": "31st Academy Awards"}, {"question": "Of Michigan counties with a population size different from 16000000, which occupies the least area?", "choices": ["Jackson County", "Kent County", "Marquette County", "Macomb County", "Genesee County", "St. Clair County", "Clinton County", "Oakland County", "Ingham County", "Berrien County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "16000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"16000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ingham County"}, {"question": "What is the character role of James Remar in Mortal Kombat: Annihilation?", "choices": ["Raiden", "Will Graham", "Sandy Cohen", "Brutish Guard", "Lisa Cuddy", "Hannibal Lecter", "Krusty the Clown", "Ellie", "Edmund Tylney", "Betty Brant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mortal Kombat: Annihilation"]}, {"function": "Find", "dependencies": [], "inputs": ["James Remar"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mortal Kombat: Annihilation\" . ?e_2 <pred:name> \"James Remar\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Raiden"}, {"question": "What does Bleach: Memories of Nobody have to do with Columbia Pictures?", "choices": ["executive producer", "place of birth", "depicted by", "ethnic group", "programming paradigm", "composer", "developer", "production company", "relative", "contains administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bleach: Memories of Nobody"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bleach: Memories of Nobody\" . ?e_2 <pred:name> \"Columbia Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "Which work is awarded the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series that is won by Jesse Metcalfe?", "choices": ["Desperate Housewives", "The Matrix", "Bad Girl", "Girl with a Pearl Earring", "Argo", "Babe", "Initial D", "Indecent Proposal", "Little Voice", "Frankie and Johnny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Jesse Metcalfe"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series\" . ?e_2 <pred:name> \"Jesse Metcalfe\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Desperate Housewives"}, {"question": "Dan Aykroyd was in the Saturday Night Live cast until what date?", "choices": ["1813-11-19", "1999-06-02", "1506", "1999-05-21", "2000-10-01", "2016-12-12", "2009-07-26", "1992-05-09", "1917-01-01", "1979"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturday Night Live"]}, {"function": "Find", "dependencies": [], "inputs": ["Dan Aykroyd"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Saturday Night Live\" . ?e_2 <pred:name> \"Dan Aykroyd\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1979"}, {"question": "Is Sin City or Lagaan longer in run-time?", "choices": ["The Fifth Element", "Rebecca", "Sin City", "Talk to Her", "Pleasantville", "Curse of the Golden Flower", "A Prairie Home Companion", "Training Day", "Lagaan", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sin City"]}, {"function": "Find", "dependencies": [], "inputs": ["Lagaan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sin City\" .  } UNION { ?e <pred:name> \"Lagaan\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lagaan"}, {"question": "What is the official website of Creation Records?", "choices": ["http://www.ci.miami.fl.us/cms/", "http://www.udechile.cl/", "http://www.oaxaca.gob.mx/", "http://wellington.govt.nz/", "https://www.bwfc.co.uk/", "http://www.30daysofnight.com", "http://www.wfu.edu", "http://www.greatfallsmt.net", "https://www.land.nrw/", "http://www.creation-records.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Creation Records"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Creation Records\" . ?e <official_website> ?pv .  }", "answer": "http://www.creation-records.com"}, {"question": "How is Heat, with Dennis Haysbert as a cast member, related to Al Pacino?", "choices": ["located on astronomical location", "legal form", "ancestral home", "location", "home port", "voice type", "drafted by", "start point", "cast member", "programming language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dennis Haysbert"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heat"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Al Pacino"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Heat\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Dennis Haysbert\" . ?e_2 <pred:name> \"Al Pacino\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When did Bavaria become a part of Nazi Germany?", "choices": ["1813-11-20", "2012-06-14", "1998-09-21", "1898-01-01", "1933", "2015-02-24", "1979-07-23", "1772-09-22", "2006-07-29", "1668-11-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bavaria"]}, {"function": "Find", "dependencies": [], "inputs": ["Nazi Germany"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bavaria\" . ?e_2 <pred:name> \"Nazi Germany\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1933"}, {"question": "How many New York cities border the village that is located in the Eastern Time Zone?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["village"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of New York"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"village\" . ?e_1 <located_in_time_zone> ?e_2 . ?e_2 <pred:name> \"Eastern Time Zone\" .   }", "answer": "1"}, {"question": "Which has more people, Hammond or Ventura?", "choices": ["Boulder", "Compton", "Hammond", "Franklin", "New Haven", "Columbus", "Oakland", "Ventura", "Greenville", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hammond"]}, {"function": "Find", "dependencies": [], "inputs": ["Ventura"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hammond\" .  } UNION { ?e <pred:name> \"Ventura\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ventura"}, {"question": "What is the postal code for the land-grant university that Rip Torn was educated at?", "choices": ["45402", "060-8611", "35487", "TR18", "77843-1244", "221-0001\u2013221-0866", "70193", "06862", "13010", "8229"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rip Torn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["land-grant university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Rip Torn\" .  ?e <postal_code> ?pv .  }", "answer": "77843-1244"}, {"question": "How many TV production companies have an ISNI of 0000 0000 9350 6633 or are the distributor of Lost in Space (whose number of episodes is 83)?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 9350 6633"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["TV production company"]}, {"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of episodes", "83", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["TV production company"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"TV production company\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9350 6633\" .  } UNION { ?e_1 <distributor> ?e . ?e_1 <pred:name> \"Lost in Space\" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"83\"^^xsd:double .  } }", "answer": "2"}, {"question": "How many astronomical object types have an oblateness of less than 0.1 or are a part of the Solar System?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["flattening", "0.1", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["astronomical object type"]}, {"function": "Find", "dependencies": [], "inputs": ["Solar System"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["astronomical object type"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"astronomical object type\" .  { ?e <flattening> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"0.1\"^^xsd:double ) .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Solar System\" .  } }", "answer": "1"}, {"question": "Who is the person with ISNI 0000 0001 1450 8081?", "choices": ["William Henry Harrison", "Sylvester Stallone", "Richard Gere", "Neil Ross", "Marit Allen", "Ziggy Marley", "Julia Louis-Dreyfus", "Brad Paisley", "Max Fleischer", "Joe Jackson"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1450 8081"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1450 8081\" .  }", "answer": "Brad Paisley"}, {"question": "When was the movie Mrs. Miniver published?", "choices": ["2010-04-08", "2009-06-18", "2003-05-22", "1998-07-29", "1942-01-01", "1976-04-12", "2017-09-15", "1996-04-25", "2003-08-01", "2008-06-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Mrs. Miniver"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Mrs. Miniver\" . ?e <publication_date> ?pv .  }", "answer": "1942-01-01"}, {"question": "Which area is larger, Hubei or Shandong?", "choices": ["Fujian", "Liaoning", "Hubei", "Anhui", "Shaanxi", "Shandong", "Yunnan", "Guangdong", "Henan", "Jiangsu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hubei"]}, {"function": "Find", "dependencies": [], "inputs": ["Shandong"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hubei\" .  } UNION { ?e <pred:name> \"Shandong\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hubei"}, {"question": "What is the ending time for James Brown (the one whose date of birth is 1862-07-31) as a member of Blackburn Rovers F.C.?", "choices": ["1999-06-12", "1912-07-27", "1912-11-20", "1940-06-25", "1889-01-01", "1812-12-14", "2012-09-16", "2003-06-22", "1516-01-01", "1984"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1862-07-31", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Blackburn Rovers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1862-07-31\"^^xsd:date . ?e_2 <pred:name> \"Blackburn Rovers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1889-01-01"}, {"question": "In which administrative territorial entity is New York City, the birth place of Jane Fonda, located in?", "choices": ["Massachusetts", "New Mexico", "New York", "Montserrat", "Rome", "Florida", "North Carolina", "Armenian Soviet Socialist Republic", "sanjak of the Ottoman Empire", "City of Westminster"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jane Fonda"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jane Fonda\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "New York"}, {"question": "Is Salman Rushdie the native tongue name of the person with  KLG Kritisches Lexikon der Gegenwartsliteratur number 16000000140?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["KLG Kritisches Lexikon der Gegenwartsliteratur", "16000000140"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Salman Rushdie"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <KLG_Kritisches_Lexikon_der_Gegenwartsliteratur> ?pv_1 . ?pv_1 <pred:value> \"16000000140\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Salman Rushdie\" .  }", "answer": "no"}, {"question": "How is Robert Morley related to Around the World in 80 Days (the one that has Peter Ustinov as a cast member) ?", "choices": ["military casualty classification", "manner of death", "approved by", "medical treatment", "candidate", "located on astronomical location", "instrument", "convicted of", "cast member", "capital of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Ustinov"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robert Morley"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Around the World in 80 Days\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Peter Ustinov\" . ?e_2 <pred:name> \"Robert Morley\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many political ideologies have military conflicts with the organization that also has military conflicts with cavalier?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cavalier"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["military conflicts", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["political ideology"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <military_conflicts> ?e_2 . ?e_2 <pred:name> \"cavalier\" .   }", "answer": "1"}, {"question": "How many musicians have the ISCO occupation code 2453 or are the occupation of Paul Oakenfold?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISCO occupation code", "2453"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musician"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Oakenfold"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musician"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musician\" .  { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> \"2453\" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Paul Oakenfold\" .  } }", "answer": "2"}, {"question": "What is the Libris-URI for the person who was nominated for a Tony Award for Best Original Score (this statement is together with Edie Brickell)?", "choices": ["nl038mv62xc6jw1", "jgvxxnr25pk7dtl", "86lnqmds3vs3w51", "zw9cdfkh1qjq68r", "gdsw31800b3pkgm", "1zcf8x4k27cjsb2", "khwzzv2345wgz5h", "20dgctjl3gb5gzg", "jgvz24s22b818d3", "sq46976b21s4bbn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Original Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["together with", "Edie Brickell"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Original Score\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <together_with> ?qpv . ?qpv <pred:value> \"Edie Brickell\" . ?e <Libris-URI> ?pv .  }", "answer": "jgvz24s22b818d3"}, {"question": "How many rock bands have won a MTV Video Music Award for Best Group Video or have an ISNI of 0000 0001 1547 5218?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Group Video"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1547 5218"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" .  { ?e_1 <winner> ?e . ?e_1 <pred:name> \"MTV Video Music Award for Best Group Video\" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1547 5218\" .  } }", "answer": "5"}, {"question": "What is the connection between Rose Byrne to Los Angeles?", "choices": ["item operated", "language of work or name", "residence", "occupant", "manufacturer", "illustrator", "notable people with this condition", "uses", "candidacy in election", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rose Byrne"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rose Byrne\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "What is the relationship between Queen Mary University of London and United Kingdom ?", "choices": ["broadcast by", "original network", "production company", "talk show guest", "newspaper format", "operating area", "sex or gender", "conflict", "country", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Queen Mary University of London"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Queen Mary University of London\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Munzinger IBA of the spouse of Elvis Costello (the start time of this statement is 2003-12-06)?", "choices": ["00000029459", "00000010702", "00000024867", "00000019698", "00000022605", "00000020061", "00000014981", "00000004149", "00000017945", "00000018295"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elvis Costello"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2003-12-06", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Elvis Costello\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> \"2003-12-06\"^^xsd:date . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000024867"}, {"question": "Which movie is shorter, Dick Tracy (the one whose distributor is RKO Pictures) or Richard III (the one whose release region is Sweden)?", "choices": ["A Prairie Home Companion", "Pleasantville", "The Fifth Element", "Rebecca", "Richard III", "Dick Tracy", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RKO Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dick Tracy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard III"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dick Tracy\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"RKO Pictures\" .   } UNION { ?e <pred:name> \"Richard III\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"Sweden\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dick Tracy"}, {"question": "How many types of occupations report 13H2 as their Iconclass notation, and, are equal, in written or spoken form, with the name of Rakee Gulzar's spouse ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "13H2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["occupation"]}, {"function": "Find", "dependencies": [], "inputs": ["Rakhee Gulzar"]}, {"function": "Relate", "dependencies": [3], "inputs": ["spouse", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["occupation"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"13H2\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Rakhee Gulzar\" .  }", "answer": "0"}, {"question": "When did James Joyce (the one that influenced John Updike) begin his education at University College Dublin?", "choices": ["1940-07-21", "1860-03-22", "2008", "1983-05-12", "2000-08-10", "1898", "1776-09-06", "2015-01-05", "2010-06-08", "1663"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Updike"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Joyce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University College Dublin"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Joyce\" . ?e_3 <influenced_by> ?e_1 . ?e_3 <pred:name> \"John Updike\" . ?e_2 <pred:name> \"University College Dublin\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1898"}, {"question": "What is the official website of the feature film whose distributor is United Artists and whose publication date is 1971-12-15?", "choices": ["http://www.ci.scottsdale.az.us/", "http://www.sofia.bg/en/index_en.asp", "http://www.regina.ca/", "http://www.mic.gov.to/", "http://www.nyu.edu", "http://lucasfilm.com/indiana-jones-and-the-raiders-of-the-lost-ark", "http://www.konami.co.jp", "https://www.daybreakgames.com/", "http://www.co.marin.ca.us", "http://www.svenskfilmdatabas.se/sv/item/?type=film&itemid=13936#release-dates"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1971-12-15", "official website"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"United Artists\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1971-12-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <official_website> ?qpv .  }", "answer": "http://www.svenskfilmdatabas.se/sv/item/?type=film&itemid=13936#release-dates"}, {"question": "Does The Path to 9/11 or Parks and Recreation have fewer episodes?", "choices": ["Parks and Recreation", "The Ten Commandments", "Battlestar Galactica", "The Diary of Anne Frank", "The Pacific", "Edge of Darkness", "George Washington", "The Path to 9/11", "The Civil War", "The Stand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Path to 9/11"]}, {"function": "Find", "dependencies": [], "inputs": ["Parks and Recreation"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Path to 9/11\" .  } UNION { ?e <pred:name> \"Parks and Recreation\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Path to 9/11"}, {"question": "What language is is associated with the official website http://www.ci.medford.or.us for the United States city whose postal code is 97501?", "choices": ["German", "Irish", "Standard Chinese", "French", "English", "Greek", "Brazilian Portuguese", "Latvian", "Czech", "Maltese"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "97501"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.ci.medford.or.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"97501\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ci.medford.or.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is Ben Johnson (the one whose Munzinger IBA is 01000001701) related to English?", "choices": ["convicted of", "geographic distribution", "history of topic", "doctoral advisor", "penalty", "family", "languages spoken, written or signed", "sponsor", "distribution", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Johnson"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "01000001701"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ben Johnson\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"01000001701\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "What is the association football club with nickname \u0397 \u03b1\u03c1\u03ba\u03bf\u03cd\u03b4\u03b1?", "choices": ["Busan IPark", "A.C. Ajaccio", "Brisbane Roar FC", "Bristol City F.C.", "Birmingham City F.C.", "Boca Juniors", "Stade Brestois 29", "A.F.C. Telford United", "Estudiantes Tecos", "Zamalek SC"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "\u0397 \u03b1\u03c1\u03ba\u03bf\u03cd\u03b4\u03b1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv . ?pv <pred:value> \"\u0397 \u03b1\u03c1\u03ba\u03bf\u03cd\u03b4\u03b1\" .  }", "answer": "A.C. Ajaccio"}, {"question": "What film's official website is http://www.starwars.com/films/star-wars-episode-iv-a-new-hope and title is Star Wars?", "choices": ["The Towering Inferno", "The Fifth Element", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "Rope", "The Hunchback of Notre Dame", "Training Day", "Star Wars Episode IV: A New Hope", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.starwars.com/films/star-wars-episode-iv-a-new-hope"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Star Wars"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.starwars.com/films/star-wars-episode-iv-a-new-hope\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Star Wars\" .  }", "answer": "Star Wars Episode IV: A New Hope"}, {"question": "Which has the smallest area among the Alabama counties whose population is not 52000000?", "choices": ["Jefferson County", "Shelby County", "Montgomery County", "Baldwin County", "Madison County", "Washington County", "Monroe County", "Dallas County", "Mobile County", "Jackson County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "52000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"52000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "Was the movie Le Fant\u00f4me de l'Op\u00e9ra published before 2007?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Le Fant\u00f4me de l'Op\u00e9ra"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2007", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Le Fant\u00f4me de l'Op\u00e9ra\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) .  }", "answer": "yes"}, {"question": "Who was the National Society of Film Critics Award winner for Best Actress for her work on You Can Count on Me?", "choices": ["Anjelica Huston", "Cate Blanchett", "Kirsten Dunst", "William Henry Harrison", "Sylvester Stallone", "Diane Keaton", "Imelda Staunton", "Max Fleischer", "Debra Winger", "Laura Linney"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "You Can Count on Me"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Actress\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"You Can Count on Me\" .  }", "answer": "Laura Linney"}, {"question": "Was the liberal arts college that James Arness went to not established in 1565?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Arness"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1565", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"James Arness\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1565 ) .  }", "answer": "yes"}, {"question": "What relation exists between the Museum of Modern Art and the Ramones, who are part of the MoMA collection?", "choices": ["official residence", "official language", "place of birth", "statistical leader", "narrative role", "symptom of", "collection", "child astronomical body", "mouth of the watercourse", "studies"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Museum of Modern Art"]}, {"function": "Relate", "dependencies": [0], "inputs": ["collection", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ramones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Museum of Modern Art"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ramones\" . ?e_1 <collection> ?e_3 . ?e_3 <pred:name> \"Museum of Modern Art\" . ?e_2 <pred:name> \"Museum of Modern Art\" . ?e_1 ?p ?e_2 .  }", "answer": "collection"}, {"question": "Which has more episodes, Ben 10 (the one whose number of episodes is 12) or Glee?", "choices": ["Bleak House", "American Horror Story", "Seinfeld", "Six Feet Under", "Robot Chicken", "Phineas and Ferb", "Game of Thrones", "Glee", "Dancing with the Stars", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben 10"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "12", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Glee"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ben 10\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"12\"^^xsd:double . } UNION { ?e <pred:name> \"Glee\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Glee"}, {"question": "Which agency is headquartered in the city with the official website www.belfastcity.gov.uk?", "choices": ["The Shubert Organization", "Manchester United F.C.", "Girl Scouts of the USA", "Ulster Unionist Party", "Democratic Unionist Party", "CBS Radio", "FC Erzgebirge Aue", "Harland and Wolff", "Citigroup", "Star Cinema"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.belfastcity.gov.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["agent"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.belfastcity.gov.uk/\" .   }", "answer": "Harland and Wolff"}, {"question": "What is the voice type profession for the human with the official website of http://www.michaelbolton.com/ (the language of this statement is English)?", "choices": ["bandleader", "supermodel", "drag queen", "illustrator", "speaker of the United States House of Representatives", "cinematographer", "financier", "make-up artist", "tenor", "seiy\u016b"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.michaelbolton.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["voice type", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <voice_type> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.michaelbolton.com/\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "tenor"}, {"question": "What method determines that 744690 is the population of the New York county whose Dewey Decimal Classification is 2--74788?", "choices": ["questionnaire", "Population registration in Sweden", "United Kingdom Census 1971", "de jure", "FIFA World Rankings", "census", "estimation process", "Address Based Population Registration System", "rated voltage", "1860 United States Census"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--74788"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "744690", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--74788\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"744690\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the relationship between Mike Scully and Springfield (the one that is the capital of Hampden County)?", "choices": ["composer", "place of birth", "country of citizenship", "terminus", "musical conductor", "performer", "genre", "connects with", "office held by head of government", "source of material"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Scully"]}, {"function": "Find", "dependencies": [], "inputs": ["Hampden County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Springfield"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mike Scully\" . ?e_2 <pred:name> \"Springfield\" . ?e_2 <capital_of> ?e_3 . ?e_3 <pred:name> \"Hampden County\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "When were Timothy Dalton and Vanessa Redgrave no longer partners?", "choices": ["2012-08-12", "1704", "2017-09-03", "1941-07-26", "1882", "1812-04-20", "1996-06-26", "1986-01-01", "1973-03-30", "2003-09-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Timothy Dalton"]}, {"function": "Find", "dependencies": [], "inputs": ["Vanessa Redgrave"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["partner", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Timothy Dalton\" . ?e_2 <pred:name> \"Vanessa Redgrave\" . ?e_1 <partner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1986-01-01"}, {"question": "When did the person with ISNI 0000 0000 2783 4938 die?", "choices": ["2010-06-01", "2011-09-10", "1976-11-28", "1999-03-27", "1963-04-04", "2013-04-11", "1994-10-20", "1956-11-10", "2010-09-26", "2008-09-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 2783 4938"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 2783 4938\" . ?e <date_of_death> ?pv .  }", "answer": "1963-04-04"}, {"question": "When did the sovereign country of Angola record an 18.5 percent rate of inflation rate?", "choices": ["50", "1953", "2005-01-01", "1850-03-01", "2006-06-28", "2009-01-01", "2014-01-22", "1369", "1553-01-01", "1964-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angola"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inflation rate", "18.5 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Angola\" .  ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"18.5\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "In what way does the United Kingdom have a relation with Stephen Richard Hackett?", "choices": ["famous people", "organisation directed from the office or person", "patron saint", "record label", "mountain range", "source of income", "country of citizenship", "located in the administrative territorial entity", "interested in", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Richard Hackett"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stephen Richard Hackett\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the ISNI for Fred Zinnermann?", "choices": ["0000 0001 0869 4236", "0000 0004 1936 9705", "0000 0001 2285 6326", "0000 0001 2141 8914", "0000 0001 0884 0598", "0000 0000 8358 8524", "0000 0001 1474 1940", "0000 0001 1281 8369", "0000 0001 2141 6417", "0000 0000 5643 6947"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fred Zinnemann"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Fred Zinnemann\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0869 4236"}, {"question": "How are the Yomiuri Giants related to Tokyo, twinned administrative body of Jakarta?", "choices": ["office held by head of the organisation", "composer", "creator", "member of", "draft pick from school", "location", "headquarters location", "does not have part", "eye color", "natural product of taxon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yomiuri Giants"]}, {"function": "Find", "dependencies": [], "inputs": ["Jakarta"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tokyo"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Yomiuri Giants\" . ?e_2 <pred:name> \"Tokyo\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Jakarta\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "The sovereign state with a population of 85450000 in 1906 is the home country of how many nonprofits?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "85450000", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1906", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["nonprofit organization"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"nonprofit organization\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"85450000\"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1906 .   }", "answer": "5"}, {"question": "How many animated films are titled Star Wars: The Clone Wars or have a launch date other than 1995?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Star Wars: The Clone Wars"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1995", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" .  { ?e <title> ?pv . ?pv <pred:value> \"Star Wars: The Clone Wars\" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1995 ) .  } }", "answer": "5"}, {"question": "Which movie is derived from a written work under OCLC control number of 25995508?", "choices": ["A Prairie Home Companion", "One Flew Over the Cuckoo's Nest", "Catch-22", "Wall Street", "Along Came a Spider", "The Sum of All Fears", "The Three Musketeers", "Rebecca", "Psycho", "Cabaret"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OCLC control number", "25995508"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "Relate", "dependencies": [2], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"written work\" . ?e_1 <OCLC_control_number> ?pv . ?pv <pred:value> \"25995508\" .   }", "answer": "Along Came a Spider"}, {"question": "Of the animated films published before 2006, which is the shortest in duration?", "choices": ["Shrek 2", "The SpongeBob SquarePants Movie", "Sailor Moon S: The Movie", "Naruto the Movie: Legend of the Stone of Gelel", "Robin Hood", "The Little Mermaid", "Mobile Suit Gundam: Char's Counterattack", "Snow White and the Seven Dwarfs", "Metropolis", "Treasure Planet"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2006", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2006 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sailor Moon S: The Movie"}, {"question": "What is the relationship between The Damned (the one that has the record label I.R.S. Records) and I.R.S. Records?", "choices": ["statistical leader", "author", "father", "record label", "officially opened by", "partially contains", "replaces", "signatory", "exported to", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I.R.S. Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Damned"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["I.R.S. Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Damned\" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> \"I.R.S. Records\" . ?e_2 <pred:name> \"I.R.S. Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "What does the the film director John Wells have to do with being a film director?", "choices": ["inspired by", "writing system", "successful candidate", "home venue", "health specialty", "exclave of", "has dialect (DEPRECATED)", "characters", "occupation", "followed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Wells"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Wells\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"film director\" . ?e_2 <pred:name> \"film director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the connection between Chris Evans (the one whose date of birth is 1962-10-13) to Stoke City F.C.?", "choices": ["uses", "has quality", "rector", "present in work", "partially contains", "talk show guest", "member of sports team", "connects with", "developer", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Evans"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1962-10-13", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Stoke City F.C."]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Evans\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1962-10-13\"^^xsd:date . ?e_2 <pred:name> \"Stoke City F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "When did Leiden have 65108 households?", "choices": ["1770", "1858-12-03", "2018-08-08", "2004-10-01", "1453-12-01", "1780", "1994-05-17", "1772-12-01", "2014-01-01", "1541"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leiden"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["number of households", "65108", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Leiden\" . ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"65108\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_households> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "tell me the written work that was authored by the person that is buried in Monaco.", "choices": ["The Commitments", "The Help", "Contact", "The Maltese Falcon", "A Clockwork Orange", "The Human Stain", "The Three Musketeers", "The Right Stuff", "The Painted Veil", "I, Robot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monaco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["author", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["written work"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <author> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <place_of_burial> ?e_2 . ?e_2 <pred:name> \"Monaco\" .   }", "answer": "A Clockwork Orange"}, {"question": "What person that died from natural causes was born as Edward Goldenberg Robinson?", "choices": ["Elmore Leonard", "Tony Randall", "William Henry Harrison", "Woodrow Wilson", "Sydney Pollack", "Sylvester Stallone", "Franchot Tone", "Edward G. Robinson", "Richard Gere", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Edward Goldenberg Robinson"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <manner_of_death> ?e_1 . ?e_1 <pred:name> \"natural causes\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Edward Goldenberg Robinson\" .  }", "answer": "Edward G. Robinson"}, {"question": "Of capitals that are twinned administrative bodies of Saint Petersburg, which one covers the smallest area ?", "choices": ["Kiev", "Tehran", "Baku", "Prague", "Minsk", "Istanbul", "Tallinn", "Cape Town", "Riga", "Yerevan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Saint Petersburg\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tallinn"}, {"question": "Which has a greater children number, William Howard Taft or Al Gore?", "choices": ["Richard Gere", "William Henry Harrison", "David Byrne", "James E. Reilly", "Max Fleischer", "William Howard Taft", "Simon Cowell", "Paul Simon", "Sylvester Stallone", "Al Gore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Howard Taft"]}, {"function": "Find", "dependencies": [], "inputs": ["Al Gore"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"William Howard Taft\" .  } UNION { ?e <pred:name> \"Al Gore\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Al Gore"}, {"question": "Is UKL3 the FIPS 10-4 (countries and regions) of the town whose WOEID is 13383?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "13383"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 10-4 (countries and regions)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["UKL3"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"13383\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"UKL3\" .  }", "answer": "no"}, {"question": "Who resides in the town where David Thewlis was born?", "choices": ["Roger Taylor", "Philip Roth", "Udo Kier", "Sylvester Stallone", "Fred Ebb", "Michael Caine", "Gregory Peck", "Sabrina", "Stephen Tobolowsky", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Thewlis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "Relate", "dependencies": [2], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"town\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"David Thewlis\" .   }", "answer": "Sabrina"}, {"question": "Tell me the movie that has the person that has the name in native language Nicolas Cage as a cast member (these statement's character role is Sailor Ripley)", "choices": ["Talk to Her", "A Prairie Home Companion", "Wild at Heart", "The Cotton Club", "Adaptation", "Leaving Las Vegas", "Rebecca", "The Family Man", "Pleasantville", "The Fifth Element"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Nicolas Cage"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["character role", "Sailor Ripley"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Nicolas Cage\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> \"Sailor Ripley\" .  }", "answer": "Wild at Heart"}, {"question": "Who is shorter, Vince Grella or Savannah (the one whose ISNI is 0000 0001 0781 9471)?", "choices": ["David Byrne", "Max Fleischer", "Rahul Dev Burman", "Paul Simon", "Vince Grella", "James E. Reilly", "Savannah", "Sylvester Stallone", "Simon Cowell", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vince Grella"]}, {"function": "Find", "dependencies": [], "inputs": ["Savannah"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0001 0781 9471"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Vince Grella\" . } UNION { ?e <pred:name> \"Savannah\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0781 9471\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Savannah"}, {"question": "Is the website http://www.usaforafrica.org/ belonging to a band with ISNI 0000 0001 2152 0943?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2152 0943"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.usaforafrica.org/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2152 0943\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.usaforafrica.org/\" .  }", "answer": "yes"}, {"question": "How many administrative territorial entities of Canada share a border with the Northwest Territories or have the official name of Yukon Territory?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northwest Territories"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official name", "Yukon Territory"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Northwest Territories\" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> \"Yukon Territory\" .  } }", "answer": "2"}, {"question": "When did Augusta County have a population of 73757?", "choices": ["1994-09-13", "2014-06-26", "1949-01-01", "2008-10-08", "2002-11-20", "2010-02-01", "2014-02-01", "2011-07-01", "1957-03-27", "2017-12-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augusta County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "73757", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Augusta County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"73757\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Where was the film whose script was writen by Jerry Belson published on 1978-03-06?", "choices": ["Bolivia", "Germany", "Uruguay", "Montreal World Film Festival", "Brazil", "Austin", "R\u00e4ttvik", "Beverly Hills", "Stockholm", "Portal:Belgium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Belson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1978-03-06", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Jerry Belson\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1978-03-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many Screen Actors Guild Awards were either won by Don Cheadle or has the official website of http://www.sagawards.org/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Cheadle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Screen Actors Guild Award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.sagawards.org/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Screen Actors Guild Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Don Cheadle\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sagawards.org/\" .  } }", "answer": "3"}, {"question": "Is the area for Jefferson County, whose population is 45232, less than 100000000 square kilometres ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "45232", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["100000000 square kilometre", "<"]}], "sparql": "ASK { ?e <pred:name> \"Jefferson County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"45232\"^^xsd:double . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"100000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is Peter Lawford related to jazz?", "choices": ["airline alliance", "uses", "general manager", "head coach", "rector", "country of origin", "taxon rank", "genre", "writing system", "appointed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Lawford"]}, {"function": "Find", "dependencies": [], "inputs": ["jazz"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Lawford\" . ?e_2 <pred:name> \"jazz\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Is ElizabethMcGov the Twitter username of the association football club nicknamed \u039a\u03ac\u03bf\u03c5\u03bd\u03c4\u03b9?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "\u039a\u03ac\u03bf\u03c5\u03bd\u03c4\u03b9"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["ElizabethMcGov"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"\u039a\u03ac\u03bf\u03c5\u03bd\u03c4\u03b9\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ElizabethMcGov\" .  }", "answer": "no"}, {"question": "Does North Carolina or Delaware have a greater percentage of water area?", "choices": ["Massachusetts", "California", "Hawaii", "Colorado", "North Carolina", "New Jersey", "Illinois", "Delaware", "New Mexico", "Florida"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Carolina"]}, {"function": "Find", "dependencies": [], "inputs": ["Delaware"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["water as percent of area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North Carolina\" .  } UNION { ?e <pred:name> \"Delaware\" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Delaware"}, {"question": "Who took over for Gerald Ford in the office of the President of the United States?", "choices": ["Charles Grey, 2nd Earl Grey", "Aaron Burr", "John Adams", "Justin Trudeau", "Rutherford B. Hayes", "Jimmy Carter", "Klaus Badelt", "Donald Trump", "Nathaniel Pitcher", "Ehud Olmert"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gerald Ford"]}, {"function": "Find", "dependencies": [], "inputs": ["President of the United States"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["position held", "replaced by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Gerald Ford\" . ?e_2 <pred:name> \"President of the United States\" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <replaced_by> ?qpv .  }", "answer": "Jimmy Carter"}, {"question": "Which language is associated with http://www.wfu.edu, the official website of the higher education institution that is the education place of Philadelphia Phillies member Craig Robinson?", "choices": ["English", "Arabic", "Traditional Chinese", "Croatian", "Latvian", "Esperanto", "Klingon", "Japanese", "Welsh", "Tahitian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Phillies"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Robinson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.wfu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Craig Robinson\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Philadelphia Phillies\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.wfu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the relation between the Independent Spirit Award for Best Female Lead with Fairuza Balk?", "choices": ["place of origin (Switzerland)", "occupation", "maintained by", "winner", "organizer", "basic form of government", "distribution", "found", "newspaper format", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Female Lead"]}, {"function": "Find", "dependencies": [], "inputs": ["Fairuza Balk"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Independent Spirit Award for Best Female Lead\" . ?e_2 <pred:name> \"Fairuza Balk\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "What is the time point of its population of 58612, for the administrative territorial entity that contains Montpelier?", "choices": ["2015-01-01", "2003-02-01", "1987-07-07", "2012", "1963-04-08", "2012-02-16", "1662", "2009", "1724-01-01", "1875"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montpelier"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "58612", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Montpelier\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"58612\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "What person is a cast member of The Good Wife and has the official website http://www.matthewmorrison.net?", "choices": ["Alan Cumming", "Sarah Silverman", "Max Fleischer", "Sylvester Stallone", "William Henry Harrison", "Richard Gere", "Matthew Morrison", "David Paymer", "Victor Garber", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Good Wife"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.matthewmorrison.net"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Good Wife\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.matthewmorrison.net\" .  }", "answer": "Matthew Morrison"}, {"question": "What is the connection between Robbie Keane to association football?", "choices": ["place served by transport hub", "heritage designation", "interests", "after a work by", "sport", "sex or gender", "interested in", "dissertation submitted to", "main food source", "native language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robbie Keane"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robbie Keane\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is 2007 NCAA Men's Division I Basketball Tournament, associated with the sports season of NCAA Men's Division I Basketball Championship, followed by ?", "choices": ["Marvin Hamlisch", "Batman Forever", "2008 NCAA Men's Division I Basketball Tournament", "Sade", "Adele", "The Fast and the Furious: Tokyo Drift", "2007 NCAA Men's Division I Basketball Tournament", "Batman & Robin", "Kazuo Ishiguro", "Starland Vocal Band"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2007 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["NCAA Men's Division I Basketball Championship"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["sports season of league or competition", "followed by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"2007 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"NCAA Men's Division I Basketball Championship\" . ?e_1 <sports_season_of_league_or_competition> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <sports_season_of_league_or_competition> ; <pred:fact_t> ?e_2 ] <followed_by> ?qpv .  }", "answer": "2008 NCAA Men's Division I Basketball Tournament"}, {"question": "Does the person with the Twitter username of ChadHugo have the ISNI of 0000 0001 1442 8137 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ChadHugo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1442 8137"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ChadHugo\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1442 8137\" .  }", "answer": "yes"}, {"question": "How many students attend the college headquartered in Cork?", "choices": ["40124", "6885", "1454", "2900", "33013", "1794", "25469", "16557", "13097", "18000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cork"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["students count"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Cork\" .  ?e <students_count> ?pv .  }", "answer": "18000"}, {"question": "How many alternative rocks's famous people include the human whose Instagram username is pj_harvey?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "pj_harvey"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["alternative rock"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"alternative rock\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"pj_harvey\" .   }", "answer": "2"}, {"question": "Of The Others and Another Year, which is longer?", "choices": ["A Prairie Home Companion", "Rebecca", "The Fifth Element", "Training Day", "Curse of the Golden Flower", "The Others", "Another Year", "Pleasantville", "Talk to Her", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Others"]}, {"function": "Find", "dependencies": [], "inputs": ["Another Year"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Others\" .  } UNION { ?e <pred:name> \"Another Year\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Another Year"}, {"question": "Among cemeteries with total graves numbering something other than 101000, what is the cemetery with the fewest graves?", "choices": ["Grove Street Cemetery", "Glasnevin Cemetery", "Kensal Green Cemetery", "West Norwood Cemetery", "Forest Lawn Memorial Park", "Woodlawn Cemetery", "Montmartre Cemetery", "Brompton Cemetery", "Holy Cross Cemetery", "Arlington National Cemetery"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of graves", "101000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of graves", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e <number_of_graves> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"101000\"^^xsd:double ) . ?e <number_of_graves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montmartre Cemetery"}, {"question": "what is the number of musical instruments that has the Hornbostel-Sachs classification is 321.321-5 and is different than Appalachian dulcimer", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "321.321-5"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Appalachian dulcimer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical instrument"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical instrument\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.321-5\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Appalachian dulcimer\" .  }", "answer": "0"}, {"question": "Is the postal code for Waukesha equal to 53188 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waukesha"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["53188"]}], "sparql": "ASK { ?e <pred:name> \"Waukesha\" . ?e <postal_code> ?pv . ?pv <pred:value> \"53188\" .  }", "answer": "yes"}, {"question": "The record label that goes by CarolineMusic on Twitter is represented by the website www.caroline.com in which language?", "choices": ["multiple languages", "English", "German", "Turkish", "Latin script", "Franco-Proven\u00e7al", "Cook Islands M\u0101ori", "Bulgarian", "Italian", "Albanian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "CarolineMusic"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.caroline.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"CarolineMusic\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.caroline.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the language associated with http://www.emmys.com, the official website for an award won byPeter Falk ?", "choices": ["Chinese", "English", "Icelandic", "Indonesian", "Toki Pona", "multiple languages", "Persian", "Cornish", "J\u00e8rriais", "Bulgarian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Falk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.emmys.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Peter Falk\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.emmys.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which one, County Armagh or New Caledonia, has less population?", "choices": ["Delaware County", "San Juan County", "New Caledonia", "Kent County", "Cass County", "County Armagh", "Lee County", "Orange County", "African Union", "Washoe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Armagh"]}, {"function": "Find", "dependencies": [], "inputs": ["New Caledonia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Armagh\" .  } UNION { ?e <pred:name> \"New Caledonia\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Armagh"}, {"question": "What is the connection between Sandra Bernhard to Flint?", "choices": ["significant person", "facet of", "said to be the same as", "sibling", "country of origin", "capital of", "official religion", "place of birth", "lyrics by", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sandra Bernhard"]}, {"function": "Find", "dependencies": [], "inputs": ["Flint"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sandra Bernhard\" . ?e_2 <pred:name> \"Flint\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Is Meet the Fockers or Congo shorter?", "choices": ["Congo", "A Prairie Home Companion", "Curse of the Golden Flower", "The Fifth Element", "Meet the Fockers", "Training Day", "Rebecca", "Talk to Her", "Pleasantville", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meet the Fockers"]}, {"function": "Find", "dependencies": [], "inputs": ["Congo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Meet the Fockers\" .  } UNION { ?e <pred:name> \"Congo\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Congo"}, {"question": "When did the BBC employ 20591 workers?", "choices": ["1350-01-01", "2016-12-22", "1630", "1939-01-01", "2005-02-16", "1836", "2010-06-07", "1980", "2015", "1982"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["employees", "20591", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"BBC\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"20591\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "What is the role of James LeGros in Enemy of the State?", "choices": ["Nucky Thompson", "Dr. Martin Harris", "Bender", "Abu", "Philip Henslowe", "Jerry Miller", "Bigweld", "Mary Todd Lincoln", "T. E. Lawrence", "Clumsy Smurf"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enemy of the State"]}, {"function": "Find", "dependencies": [], "inputs": ["James LeGros"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Enemy of the State\" . ?e_2 <pred:name> \"James LeGros\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Jerry Miller"}, {"question": "How many forms of death metal were created sometime other than 1980 or are famously associated with Steven Wilson?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1980", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["death metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Steven Wilson"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["death metal"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"death metal\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1980 ) .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Steven Wilson\" .  } }", "answer": "3"}, {"question": "David Strathairn won an Independent Spirit Award for Best Supporting Male for which work?", "choices": ["Breaking the Waves", "The Color of Money", "Breaking Bad", "Channel Orange", "Six Shooter", "Friday Night Lights", "City of Hope", "The Big Time", "Boogie Woogie Bugle Boy of Company 'B'", "The Poseidon Adventure"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Supporting Male"]}, {"function": "Find", "dependencies": [], "inputs": ["David Strathairn"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Independent Spirit Award for Best Supporting Male\" . ?e_2 <pred:name> \"David Strathairn\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "City of Hope"}, {"question": "Of Michigan counties with under 9700000 in population, which is physically biggest?", "choices": ["Tuscola County", "Kent County", "St. Clair County", "Clinton County", "Berrien County", "Genesee County", "Ingham County", "Livingston County", "Marquette County", "Macomb County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "9700000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"9700000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marquette County"}, {"question": "Does the person who received a Primetime Emmy Award for Outstanding Lead Actor in a Drama Series involving the award-winning work Magnum, P.I. have fewer than 10 children?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Magnum, P.I."]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["10", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Drama Series\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Magnum, P.I.\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"10\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which movie is shorter, Flashdance or Nick and Norah's Infinite Playlist?", "choices": ["A Prairie Home Companion", "Nick and Norah's Infinite Playlist", "Curse of the Golden Flower", "Training Day", "Rebecca", "Pleasantville", "The Hunchback of Notre Dame", "The Towering Inferno", "The Fifth Element", "Flashdance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flashdance"]}, {"function": "Find", "dependencies": [], "inputs": ["Nick and Norah's Infinite Playlist"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flashdance\" .  } UNION { ?e <pred:name> \"Nick and Norah's Infinite Playlist\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nick and Norah's Infinite Playlist"}, {"question": "Which parent has fewer kids: Dick Cheney or Ciara?", "choices": ["Ciara", "James E. Reilly", "Dick Cheney", "Max Fleischer", "William Henry Harrison", "David Byrne", "Simon Cowell", "Richard Gere", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dick Cheney"]}, {"function": "Find", "dependencies": [], "inputs": ["Ciara"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dick Cheney\" .  } UNION { ?e <pred:name> \"Ciara\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ciara"}, {"question": "Which website designates the Italian province where the administrative division Palermo is located?", "choices": ["http://www.innsbruck.at/", "http://www.co.klamath.or.us", "http://snohomishcountywa.gov", "http://www.niagarafallsusa.org/", "http://www.provincia.palermo.it", "http://www.catchthetrain.com", "http://www.tropicthunder.com", "http://www.scrubs-tv.com/", "http://www.lincoln.edu", "http://www.merchantivory.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Palermo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Palermo\" .  ?e <official_website> ?pv .  }", "answer": "http://www.provincia.palermo.it"}, {"question": "Which city with postal codes 9700\u20139747 has the demonym Stadjer?", "choices": ["Germany\u2013Holy See relations", "Grenada\u2013Venezuela border", "France\u2013Kosovo relations", "Hungary\u2013United States relations", "Barbados\u2013China relations", "The Gambia\u2013North Korea relations", "Russian Empire\u2013United States relations", "Benin\u2013Denmark relations", "Stadjer", "Greece\u2013Hungary relations"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "9700\u20139747"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "Stadjer", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"9700\u20139747\" . ?e <demonym> ?pv . ?pv <pred:value> \"Stadjer\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <statement_is_subject_of> ?qpv .  }", "answer": "Stadjer"}, {"question": "What is the connection between Britpop to Coldplay?", "choices": ["dissertation submitted to", "professorship", "signatory", "cites", "basin country", "influenced by", "month of the year", "manner of death", "famous people", "color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Britpop"]}, {"function": "Find", "dependencies": [], "inputs": ["Coldplay"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Britpop\" . ?e_2 <pred:name> \"Coldplay\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What number of software titles were published at times other than 2007?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2007", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  }", "answer": "4"}, {"question": "What is the publication date for the activity which has the Nintendo GameID of GH7E5D?", "choices": ["1985-10-18", "2015-09-22", "2007-05-02", "1993-07-13", "2011-07-21", "2007-12-06", "1997-09-12", "1991-04-11", "2012-04-04", "2006-11-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GH7E5D"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"GH7E5D\" . ?e <publication_date> ?pv .  }", "answer": "2006-11-13"}, {"question": "Which county of Massachusetts borders Bristol County (population of 49,033) and, on 1st July 2012, it contained number of inhabitants different from 8,100 ?", "choices": ["Berkshire County", "Suffolk County", "Franklin County", "Providence County", "Worcester County", "Barnstable County", "Bristol County", "Hampshire County", "Plymouth County", "Norfolk County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bristol County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "49033", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Massachusetts"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "8100", "!="]}, {"function": "QFilterDate", "dependencies": [5], "inputs": ["point in time", "2012-07-01", "="]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["county of Massachusetts"]}, {"function": "And", "dependencies": [3, 7], "inputs": []}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Bristol County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"49033\"^^xsd:double .  ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v != \"8100\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date .  }", "answer": "Bristol County"}, {"question": "When was the population 1641570 for the city whose area is 1239 square kilometres?", "choices": ["1987-01-01", "2001-03-11", "2003-12-01", "1811", "1950-08-31", "2011-06-12", "2009-12-16", "1963-05-15", "2015", "1793-02-14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1239 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1641570", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1239\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1641570\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "What character does voice actor Casey Kasem play in the action film Looney Tunes: Back in Action?", "choices": ["Shellie", "Bernard", "Metatron", "Virgilia", "Steve Freeling", "Richard I of England", "Shaggy Rogers", "Anna Valerious", "Zipporah", "Tyrone C. Love"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Looney Tunes: Back in Action"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Casey Kasem"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Looney Tunes: Back in Action\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"action film\" . ?e_2 <pred:name> \"Casey Kasem\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Shaggy Rogers"}, {"question": "How many New York counties were established after 1838 and whose population is less than 25000000?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1838", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "25000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New York"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1838 ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"25000000\"^^xsd:double ) .  }", "answer": "2"}, {"question": "Is there less area in County Mayo or in County Donegal?", "choices": ["County Kilkenny", "County Donegal", "County Limerick", "County Tipperary", "County Monaghan", "County Sligo", "County Galway", "County Kildare", "County Dublin", "County Meath"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Mayo"]}, {"function": "Find", "dependencies": [], "inputs": ["County Donegal"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Mayo\" .  } UNION { ?e <pred:name> \"County Donegal\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Donegal"}, {"question": "What city has the official website of http://www.tijuana.gob.mx?", "choices": ["Cork", "Burnaby", "Kilkenny", "Kathmandu", "Kingston", "Melbourne", "Trieste", "Tijuana", "Salford", "York"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tijuana.gob.mx"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tijuana.gob.mx\" .  }", "answer": "Tijuana"}, {"question": "Atheist Richard Wright belonged to the Communist Party USA until which date?", "choices": ["1895-01-01", "2020", "1681-09-29", "2023-06-30", "1927-03-11", "1944", "1945-03-29", "1890-01-01", "1945-04-18", "2012-04-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["atheism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Wright"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Communist Party USA"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of political party", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Wright\" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> \"atheism\" . ?e_2 <pred:name> \"Communist Party USA\" . ?e_1 <member_of_political_party> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_political_party> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1944"}, {"question": "When did Missing (the one whose number of seasons is 3) start?", "choices": ["1889-04-01", "1963-07-07", "1901-05-01", "1902-06-16", "1811-02-13", "2013-07-02", "1989-09-12", "2003-08-02", "1982-06-12", "1936-07-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Missing"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "3", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Missing\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3\"^^xsd:double . ?e <start_time> ?pv .  }", "answer": "2003-08-02"}, {"question": "What is the connection between adolescence to psychosis?", "choices": ["product or material produced", "material used", "studied by", "political alignment", "risk factor", "film editor", "has contributing factor", "characters", "official religion", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adolescence"]}, {"function": "Find", "dependencies": [], "inputs": ["psychosis"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"adolescence\" . ?e_2 <pred:name> \"psychosis\" . ?e_1 ?p ?e_2 .  }", "answer": "risk factor"}, {"question": "Was the rock band represented online at www.rollingstones.com formed later than 1796 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.rollingstones.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1796", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.rollingstones.com\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1796 ) .  }", "answer": "yes"}, {"question": "Does Eat Bulaga! have under 15000 episodes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eat Bulaga!"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["15000", "<"]}], "sparql": "ASK { ?e <pred:name> \"Eat Bulaga!\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"15000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What feature film, published later than 1924,  was nominated for a BAFTA Award for Best Actor in a Supporting Role?", "choices": ["An Education", "Old Dogs", "Moulin Rouge!", "Lincoln", "A Fish Called Wanda", "Robin Hood: Prince of Thieves", "The Parent Trap", "The Muppets", "Mystic River", "Bedknobs and Broomsticks"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Supporting Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1924", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Supporting Role\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1924 ) .  }", "answer": "Robin Hood: Prince of Thieves"}, {"question": "How is Rouen related to Hanover whose population is 518386?", "choices": ["diaspora", "diplomatic relation", "designed by", "twinned administrative body", "office held by head of the organisation", "located in the administrative territorial entity", "owned by", "airline hub", "cause of death", "is a list of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rouen"]}, {"function": "Find", "dependencies": [], "inputs": ["Hanover"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "518386", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rouen\" . ?e_2 <pred:name> \"Hanover\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"518386\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which movie released in Germany in 1986 is titled Hannah and Her Sisters?", "choices": ["Rocky IV", "Rebecca", "Ferris Bueller's Day Off", "A Prairie Home Companion", "A Room with a View", "Talk to Her", "Top Gun", "The Fifth Element", "Pleasantville", "Hannah and Her Sisters"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1986", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "Germany"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "Hannah and Her Sisters"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["film"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:year> 1986 . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Hannah and Her Sisters\" .  }", "answer": "Hannah and Her Sisters"}, {"question": "What is the relationship between Wonder Woman (the one whose number of seasons is 3) and Debra Winger?", "choices": ["season starts", "musical conductor", "programming paradigm", "significant event", "board member", "present in work", "cast member", "educated at", "occupant", "production company"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "3", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Debra Winger"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wonder Woman\" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3\"^^xsd:double . ?e_2 <pred:name> \"Debra Winger\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Bill Berry of Sunderland A.F.C. related to Sunderland?", "choices": ["place of birth", "distribution", "coextensive with", "military rank", "production company", "medical condition", "place of death", "director", "season starts", "Wikidata property"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sunderland A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Berry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sunderland"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bill Berry\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Sunderland A.F.C.\" . ?e_2 <pred:name> \"Sunderland\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How is Prizzi's Honor related to the BAFTA Award for Best Actress in a Supporting Role?", "choices": ["appears in the form of", "takes place in fictional universe", "nominated for", "honorific prefix", "noble title", "illustrator", "season starts", "sponsor", "creator", "partially contains"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prizzi's Honor"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actress in a Supporting Role"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Prizzi's Honor\" . ?e_2 <pred:name> \"BAFTA Award for Best Actress in a Supporting Role\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the subject of 'nominated for'  in 'Starship Troopers (with Amy Smart in the cast) was nominated for Academy Award for Best Visual Effects' ?", "choices": ["Russia\u2013Spain relations", "Azerbaijan\u2013Romania relations", "Morocco\u2013Pakistan relations", "70th Academy Awards", "Colorado\u2013New Mexico border", "Japan\u2013South Korea relations", "Peru\u2013United States relations", "Italy\u2013San Marino border", "Japan\u2013Peru relations", "Germany-Gambia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amy Smart"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Starship Troopers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Starship Troopers\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Amy Smart\" . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "70th Academy Awards"}, {"question": "Which person is famous for comet?", "choices": ["Louis Armstrong", "Joe Walsh", "Art Garfunkel", "James Hetfield", "Max Fleischer", "Richard Gere", "William Henry Harrison", "Jimmy Kimmel", "Sylvester Stallone", "Nick Broomfield"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cornet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"cornet\" .   }", "answer": "Louis Armstrong"}, {"question": "Who was the nominee when Mr. Smith Goes to Washington (the one that was nominated for Academy Award for Best Actor) was nominated for the Academy Award for Best Story?", "choices": ["Gordon E. Sawyer", "David E. Campbell", "Pud Cusack", "Lewis R. Foster", "Robert Anderson", "Ben Morris", "Ellsworth Hoagland", "Larry Jost", "Jake Gyllenhaal", "David Hoberman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mr. Smith Goes to Washington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Story"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mr. Smith Goes to Washington\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Actor\" . ?e_2 <pred:name> \"Academy Award for Best Story\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Lewis R. Foster"}, {"question": "At what point in time are 8729461247 United States dollars the total reserves for the the unitary state whose female citizens are the \u043b\u0438\u0442\u043e\u0432\u043a\u0430 people?", "choices": ["1900-01-05", "1994-12-01", "1890", "2008-08-06", "2010-10-20", "2008", "2014-01-01", "1806-12-01", "2013-03-01", "2006-05-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u043b\u0438\u0442\u043e\u0432\u043a\u0430"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "feminine"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["unitary state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["total reserves", "8729461247 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u043b\u0438\u0442\u043e\u0432\u043a\u0430\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"feminine\" . ?e <total_reserves> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"8729461247\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_reserves> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "Which person's ISNI is 0000 0001 2023 8049?", "choices": ["William Henry Harrison", "Jason Lee", "Pauly Shore", "Ice Cube", "Gregg Allman", "Max Fleischer", "William Friedkin", "Richard Gere", "Manoj Kumar", "James Taylor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2023 8049"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2023 8049\" .  }", "answer": "James Taylor"}, {"question": "When did King County have a population of 110053?", "choices": ["1900", "1889", "1983-04-11", "2017-06-01", "2014", "2011-02-02", "1990-10-01", "2010-03-01", "1975-05-19", "1999-10-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "110053", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"King County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"110053\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1900"}, {"question": "How is the University of Nairobi connected to Kenya?", "choices": ["country", "terminus", "item operated", "author", "narrative role", "has effect", "candidacy in election", "medical treatment", "distributor", "eye color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Nairobi"]}, {"function": "Find", "dependencies": [], "inputs": ["Kenya"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Nairobi\" . ?e_2 <pred:name> \"Kenya\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How is David Walliams related to a screenwriter ?", "choices": ["general manager", "soundtrack album", "inspired by", "influenced by", "occupation", "director/manager", "season starts", "fabrication method", "ethnic group", "basin country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Walliams"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Walliams\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is Jack Bender's connection to the 57th Primetime Emmy Awards?", "choices": ["language used", "indigenous to", "award received", "legislative body", "instrument", "sexual orientation", "winner", "location of discovery", "start point", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Bender"]}, {"function": "Find", "dependencies": [], "inputs": ["57th Primetime Emmy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Bender\" . ?e_2 <pred:name> \"57th Primetime Emmy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Of feature films released in 2010, which is longest?", "choices": ["Alvin and the Chipmunks: Chipwrecked", "Prince of Persia: The Sands of Time", "Tron: Legacy", "Alice in Wonderland", "The Sorcerer's Apprentice", "National Treasure: Book of Secrets", "Holes", "G-Force", "John Carter", "Old Dogs"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2010", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2010 . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tron: Legacy"}, {"question": "When did Jimmy Page start being a member of Led Zeppelin (which is famous for rock music)?", "choices": ["2009-01-21", "1996-09-13", "1968", "2009-12-04", "1949-04-13", "2004-11-16", "1813-11-20", "2010-09-07", "1963-10-29", "2012-02-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jimmy Page"]}, {"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Led Zeppelin"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jimmy Page\" . ?e_2 <pred:name> \"Led Zeppelin\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"rock music\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1968"}, {"question": "Out of the counties in New York where the population is more than 5.7, which is the largest in area?", "choices": ["Montgomery County", "Putnam County", "Steuben County", "Herkimer County", "Wayne County", "St. Lawrence County", "Niagara County", "Cayuga County", "Columbia County", "Albany County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5.7", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"5.7\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "Does the geographic region with the demonym americano occupy more than 2300000 square feet ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "americano"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2300000 square foot", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"americano\" . ?e <area> ?pv . ?pv <pred:unit> \"square foot\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2300000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which person died in Claremont?", "choices": ["David Foster Wallace", "Dorothy Spencer", "David Brown", "Anthony Quinn", "John Hughes", "Sunil Dutt", "Sylvester Stallone", "Richard Gere", "Max Fleischer", "Leigh Harline"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claremont"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Claremont\" .   }", "answer": "David Foster Wallace"}, {"question": "Which US city's official website, in English language, is http://www.ci.lewiston.me.us ?", "choices": ["Waukegan", "Compton", "Columbus", "New Haven", "Boulder", "Oakland", "Pontiac", "Lewiston", "Franklin", "Escondido"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ci.lewiston.me.us/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ci.lewiston.me.us/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Lewiston"}, {"question": "How many colleges headquarters of the University of Cambridge are located in Cambridge where Ernest Rutherford dead?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ernest Rutherford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Cambridge"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Cambridge\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Ernest Rutherford\" .   }", "answer": "6"}, {"question": "what work got awarded for Screen Actors Guild award for outstanding performance by an ensemble in a drama series won by Allen Leech?", "choices": ["Easy Rider", "The Alaskan Eskimo", "Downton Abbey", "The Office", "A Time of Changes", "Krantiveer", "White Christmas", "Down in the Bottomlands", "Tommy Boy", "Delicate Sound of Thunder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Allen Leech"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_2 <pred:name> \"Allen Leech\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Downton Abbey"}, {"question": "When did the business (which has a postal code of 75243) whose headquarters location is Dallas (which has an area of 996.577625 square kilometres and a postal code of 75243) start using the IPv4 routing prefix 157.87.0.0/16?", "choices": ["1973-03-26", "2007-07-09", "2008-11-18", "1859-01-01", "2019-01-03", "2016-06-21", "1931-12-11", "1997-12-14", "1991-12-16", "1966-07-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "996.577625 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "QFilterStr", "dependencies": [2], "inputs": ["postal code", "75243"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [4], "inputs": ["IPv4 routing prefix", "157.87.0.0/16", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Dallas\" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"996.577625\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <postal_code> ?qpv_1 . ?qpv_1 <pred:value> \"75243\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"157.87.0.0/16\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPv4_routing_prefix> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1991-12-16"}, {"question": "What is the connection between Amber Riley to actor?", "choices": ["native language", "model item", "dedicated to", "occupation", "soundtrack album", "game mode", "organizer", "enclave within", "commander of", "territory overlaps"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amber Riley"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amber Riley\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How does English-language Independence relate to a documentary film ?", "choices": ["natural product of taxon", "public holiday", "genre", "professional or sports partner", "filming location", "time period", "production company", "candidacy in election", "conferred by", "highest judicial authority"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Independence"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["documentary film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Independence\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"documentary film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many males live in the town twinned to Kaunas with a total population of 379527?", "choices": ["183300", "80992995", "14964082", "1618731", "31539034", "125875", "6204307", "1026884", "23487515", "54413"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kaunas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "379527", "male population"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Kaunas\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"379527\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <male_population> ?qpv .  }", "answer": "183300"}, {"question": "What television series has the official website http://www.nbc.com/30-rock/ (in English)?", "choices": ["Seinfeld", "30 Rock", "American Horror Story", "Saturday Night's Main Event", "Game of Thrones", "Six Feet Under", "Robot Chicken", "Bleak House", "America's Got Talent", "Angels in America"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nbc.com/30-rock/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nbc.com/30-rock/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "30 Rock"}, {"question": "Is the population of the place where the postal codes are 4500 and 4501 less than 7200000000 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "4500, 4501"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["7200000000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"4500, 4501\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"7200000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is the duration of a TV film, produced by Riddley Scott, less than 6.1 months ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ridley Scott"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["6.1 month", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Ridley Scott\" .  ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6.1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the relation between Pro Football Hall of Fame and Canton ?", "choices": ["place of birth", "lifestyle", "superhuman feature or ability", "located in the administrative territorial entity", "doctoral advisor", "office held by head of the organisation", "heritage designation", "place of death", "main food source", "separated from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pro Football Hall of Fame"]}, {"function": "Find", "dependencies": [], "inputs": ["Canton"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pro Football Hall of Fame\" . ?e_2 <pred:name> \"Canton\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How is Shanghai Noon related to Xander Berkeley?", "choices": ["voice actor", "cast member", "update method", "participant of", "designed to carry", "owned by", "official symbol", "contains settlement", "candidacy in election", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shanghai Noon"]}, {"function": "Find", "dependencies": [], "inputs": ["Xander Berkeley"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shanghai Noon\" . ?e_2 <pred:name> \"Xander Berkeley\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "About the Virginia county that shares a border with Warren county, which f has an official website http://www.warrencountyva.net, and that has a population of 67207, tell me this method's determination value.", "choices": ["de jure", "estimation process", "hearth tax", "resident registration", "Taqdir", "Russian Empire Census", "de facto", "United Kingdom Census 1991", "Address Based Population Registration System", "Canada 2016 Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.warrencountyva.net"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Virginia"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "67207", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Warren County\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.warrencountyva.net\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67207\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Who belonged to the soccer club with the Twitter username LincolnCity_FC until 1895?", "choices": ["Max Fleischer", "Albert Jarrett", "Sylvester Stallone", "William Henry Harrison", "Paul Williams", "Carl Cort", "Jackie Robinson", "John Irving", "Adam Smith", "Fred Thompson"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "LincolnCity_FC"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["end time", "1895", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"association football club\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"LincolnCity_FC\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1895 .  }", "answer": "John Irving"}, {"question": "Which female given name is the given name of Elizabeth Sarnoff and Elizabeth Banks (who was educated at the University of Pennsylvania)?", "choices": ["Helen", "Charlotte", "Yanni", "Laura", "Aurora", "Ryan Phillippe", "Julia", "Henry Gibson", "Norwegian Labour Party", "Elizabeth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth Sarnoff"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["female given name"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Pennsylvania"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Elizabeth Banks"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["female given name"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"female given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Elizabeth Sarnoff\" .  ?e_2 <given_name> ?e . ?e_2 <pred:name> \"Elizabeth Banks\" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> \"University of Pennsylvania\" .  }", "answer": "Elizabeth"}, {"question": "Is the Ohio county with headquarters of Sandusky designated by FIPS 6-4 (US counties) code 39043 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sandusky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["39043"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Sandusky\" .  ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"39043\" .  }", "answer": "yes"}, {"question": "What is the connection between The Hours (the one whose publication date is 2002-01-01) to The Hours (the one whose ISBN-13 is 978-0-374-17289-3)?", "choices": ["newspaper format", "draft pick from school", "office held by head of government", "based on", "screenwriter", "doctoral advisor", "architectural style", "product or material produced", "donated by", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Hours"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2002-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Hours"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["ISBN-13", "978-0-374-17289-3"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Hours\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2002-01-01\"^^xsd:date . ?e_2 <pred:name> \"The Hours\" . ?e_2 <ISBN-13> ?pv_1 . ?pv_1 <pred:value> \"978-0-374-17289-3\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "What is the title of The 40-Year-Old Virgin?", "choices": ["Raging Bull", "Ferris Bueller's Day Off", "The Talented Mr. Ripley", "Dynasty", "The 40-Year-Old Virgin", "Thunder Bay", "\u30f1\u30f4\u30a1\u30f3\u30b2\u30ea\u30f2\u30f3\u65b0\u5287\u5834\u7248:\u5e8f", "Samson und Delila", "I Now Pronounce You Chuck and Larry", "The Crucible"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The 40-Year-Old Virgin"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The 40-Year-Old Virgin\" . ?e <title> ?pv .  }", "answer": "The 40-Year-Old Virgin"}, {"question": "What is the cost for the film titled The Truman Show?", "choices": ["4000000 United States dollar", "2000000 euro", "70000000 United States dollar", "150000000 United States dollar", "60000000 United States dollar", "7000000 United States dollar", "185000000 United States dollar", "97000000 United States dollar", "60000000 Deutsche Mark", "84000000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Truman Show"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Truman Show\" . ?e <cost> ?pv .  }", "answer": "60000000 United States dollar"}, {"question": "Does Calvados or Haut-Rhin have the greater land area?", "choices": ["Alpes-Maritimes", "Vaucluse", "Bas-Rhin", "Gironde", "Seine-et-Marne", "Manche", "Calvados", "Nord", "Somme", "Haut-Rhin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calvados"]}, {"function": "Find", "dependencies": [], "inputs": ["Haut-Rhin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Calvados\" .  } UNION { ?e <pred:name> \"Haut-Rhin\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Calvados"}, {"question": "How many United States colleges and universities have a street address at Anderson Hall, Manhattan, KS, 66506 or have the significant event of mixed-sex education?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "Anderson Hall, Manhattan, KS, 66506"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "Relate", "dependencies": [3], "inputs": ["significant event", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["colleges and universities in the United States"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" .  { ?e <located_at_street_address> ?pv . ?pv <pred:value> \"Anderson Hall, Manhattan, KS, 66506\" .  } UNION { ?e <significant_event> ?e_1 . ?e_1 <pred:name> \"mixed-sex education\" .  } }", "answer": "19"}, {"question": "Tell me the number of plays that are originally aired on Channel 5 and that come from Kingdom of Great Britain", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Channel 5"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["play"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["play"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"Channel 5\" .  ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> \"Kingdom of Great Britain\" .  }", "answer": "0"}, {"question": "Was the movie with the exploitation visa number f 134042 published before 2016 (the place of publication of this statement is United States of America)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "134042"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2016", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"134042\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2016 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "yes"}, {"question": "How many German states have a population that is not 12,0000,000?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "120000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"120000000\"^^xsd:double ) .  }", "answer": "12"}, {"question": "For the higher-education institution that is Tom Scott's (the one that was nominated for Academy Award for Best Sound Mixing), school, what is its IPv4 routing prefix?", "choices": ["171.200.0.0/14", "18.0.0.0/8", "82.71.120.24/29", "129.67.112.0/22", "145.18.0.0/16", "17.0.0.0/8", "129.67.120.0/22", "192.100.97.0/24", "130.243.128.0/17", "134.226.0.0/16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["IPv4 routing prefix"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Tom Scott\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" .  ?e <IPv4_routing_prefix> ?pv .  }", "answer": "18.0.0.0/8"}, {"question": "Who has more children, Swizz Beatz or Adam West (the one that is a cast member of The Big Bang Theory)?", "choices": ["William Henry Harrison", "Adam West", "Sylvester Stallone", "James E. Reilly", "David Byrne", "Simon Cowell", "Richard Gere", "Swizz Beatz", "Max Fleischer", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swizz Beatz"]}, {"function": "Find", "dependencies": [], "inputs": ["The Big Bang Theory"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam West"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Swizz Beatz\" .  } UNION { ?e <pred:name> \"Adam West\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Big Bang Theory\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Swizz Beatz"}, {"question": "Does Frank Marshall, (the one whose date of death is 1959-05-29), have a CANTIC-ID equal to a10792259?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Marshall"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1959-05-29", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["a10792259"]}], "sparql": "ASK { ?e <pred:name> \"Frank Marshall\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1959-05-29\"^^xsd:date . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10792259\" .  }", "answer": "yes"}, {"question": "Does the shorter run-time belong to Lou Grant or to Animaniacs, first broadcast on Kids' WB?", "choices": ["American Dad!", "The Venture Bros.", "South Park", "Aladdin", "Robot Chicken", "Tiny Toon Adventures", "Animaniacs", "Phineas and Ferb", "Lou Grant", "The Cleveland Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lou Grant"]}, {"function": "Find", "dependencies": [], "inputs": ["Kids' WB"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Animaniacs"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lou Grant\" .  } UNION { ?e <pred:name> \"Animaniacs\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"Kids' WB\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Animaniacs"}, {"question": "Was Amelia's release in Germany in a year other than 1998?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amelia"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1998", "!="]}], "sparql": "ASK { ?e <pred:name> \"Amelia\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "What is the Instagram username of the baseball team that has Don Johnson (a Chicago Cubs member) as a member?", "choices": ["royalacademyofarts", "nickiminaj", "cubs", "rialisms", "bonhughbon", "ashleesimpsonross", "fclorient", "1capplegate", "pittsburghpirates", "iammarkronson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago Cubs"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Don Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["baseball team"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Don Johnson\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Chicago Cubs\" .  ?e <Instagram_username> ?pv .  }", "answer": "cubs"}, {"question": "Which Manhattan (the one that is the residence of Groucho Marx) museum has the smallest total revenue?", "choices": ["National Gallery", "Metropolitan Museum of Art", "prison", "Warren County", "Louvre Museum", "Tower of London", "National Gallery of Art", "Museum of Modern Art", "Thor", "Museo del Prado"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Groucho Marx"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["museum"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["total revenue", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"museum\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Manhattan\" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> \"Groucho Marx\" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Museum of Modern Art"}, {"question": "How many metropolitan area have http://www.oregonmetro.gov as their official website, or https://datausa.io/profile/geo/washington-arlington-alexandria-dc-va-md-wv-metro-area/ as their external data URL?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.oregonmetro.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["external data available at", "https://datausa.io/profile/geo/washington-arlington-alexandria-dc-va-md-wv-metro-area/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oregonmetro.gov\" .  } UNION { ?e <external_data_available_at> ?pv . ?pv <pred:value> \"https://datausa.io/profile/geo/washington-arlington-alexandria-dc-va-md-wv-metro-area/\" .  } }", "answer": "2"}, {"question": "Does Lorain or Redding occupy a larger area?", "choices": ["Boulder", "Lansing", "Lorain", "Greenville", "Redding", "Franklin", "Compton", "Columbus", "New Haven", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lorain"]}, {"function": "Find", "dependencies": [], "inputs": ["Redding"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lorain\" .  } UNION { ?e <pred:name> \"Redding\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Redding"}, {"question": "Does the Count of Monte Cristo (the one whose publication date is 1934-01-01) or The Faculty have greater duration?", "choices": ["The Count of Monte Cristo", "The Fifth Element", "Talk to Her", "Pleasantville", "The Towering Inferno", "Rebecca", "Curse of the Golden Flower", "A Prairie Home Companion", "The Faculty", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Count of Monte Cristo"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1934-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Faculty"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Count of Monte Cristo\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1934-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"The Faculty\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Count of Monte Cristo"}, {"question": "Which movie was shot in Washington?", "choices": ["Romeo and Juliet", "Mr. & Mrs. Smith", "Rebecca", "Samson and Delilah", "Tacoma", "Troy", "Blazing Saddles", "Pleasantville", "A Prairie Home Companion", "Blood Diamond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Washington\" .   }", "answer": "Tacoma"}, {"question": "What is the Twitter username of the person whose official website is http://laurenconrad.com?", "choices": ["lankaranfc", "LaurenConrad", "StarTrek", "KUnews", "JamieLSigler", "FCBayernUS", "BillClinton", "YoYo_Ma", "MIAuniverse", "EvangelineLilly"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://laurenconrad.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://laurenconrad.com\" . ?e <Twitter_username> ?pv .  }", "answer": "LaurenConrad"}, {"question": "What human settlement's local dialing code is 06?", "choices": ["Red Bank", "Johor", "Ridgewood", "Verona", "Darjeeling", "Belleville", "Rome", "Teaneck", "Whanganui", "Montclair"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "06"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"06\" .  }", "answer": "Whanganui"}, {"question": "Regarding the person who is educated at University of Aberdeen does he or she have children not exactly 1.2 son?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Aberdeen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1.2 son", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"University of Aberdeen\" .  ?e <number_of_children> ?pv . ?pv <pred:unit> \"son\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "For the filming location of the film with exploitation visa number 42024 (the start time of this statement is 1973), what is its administrative territorial entity?", "choices": ["African Union", "Orange County", "New London County", "Jackson County", "Washoe County", "Cass County", "Kent County", "Lee County", "Delaware County", "Toledo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "42024"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1973", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <filming_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"42024\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:year> 1973 .   }", "answer": "Toledo"}, {"question": "What is the start date of the work period for the person whose native language name is Martin McDonagh?", "choices": ["1814", "1948", "1994", "1916", "1951", "1996", "1983", "1949", "1937", "2012"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Martin McDonagh"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Martin McDonagh\" . ?e <work_period_(start)> ?pv .  }", "answer": "1996"}, {"question": "What film series has the genre of Rushmore?", "choices": ["The Smurfs", "Kick-Ass", "Carry On", "13 Going on 30", "Carrie", "Submarine", "Why We Fight", "Dazed and Confused", "Lords of Dogtown", "Spy Kids"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rushmore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> \"Rushmore\" .   }", "answer": "Kick-Ass"}, {"question": "Is harvardmed the Instagram username of the school that is the educational site of David Foster whose occupation is screenwriter?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["school"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["harvardmed"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"David Foster\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"screenwriter\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"harvardmed\" .  }", "answer": "yes"}, {"question": "Regarding Saint Petersburg State University which has a short name of \u041b\u0413\u0423 what is its end time", "choices": ["1815-06-08", "1923-07-06", "1980-07-18", "1935-01-01", "-277", "1917-03-02", "1922", "1991", "2012-11-01", "1988-05-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg State University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["short name", "\u041b\u0413\u0423", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Saint Petersburg State University\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u041b\u0413\u0423\" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1991"}, {"question": "The priest William Baldwin studied at which of the University of Oxford's colleges?", "choices": ["Somerville College", "The Queen's College", "St Catherine's College", "Keble College", "Brasenose College", "St Edmund Hall", "Exeter College", "Hertford College", "Corpus Christi College", "Lady Margaret Hall"], "program": [{"function": "Find", "dependencies": [], "inputs": ["priest"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Baldwin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Oxford"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"William Baldwin\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"priest\" .   }", "answer": "Exeter College"}, {"question": "Loving, clocking in at 89 minutes, has what connection to New York City?", "choices": ["narrative location", "publisher", "organizer", "participant of", "afflicts", "director/manager", "head coach", "natural product of taxon", "board member", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Loving"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "89 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Loving\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"89\"^^xsd:double . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Which language is associated with https://byucougars.com/home/football, the official website of BYU Cougars football?", "choices": ["Yaqui", "Tahitian", "Atikamekw", "Armenian", "Maltese", "Latin script", "Franco-Proven\u00e7al", "Polish", "Indonesian", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BYU Cougars football"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://byucougars.com/home/football", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"BYU Cougars football\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://byucougars.com/home/football\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When was Frankfurt (Oder)'s country in the German Empire, where Metz is located?", "choices": ["2016-01-03", "2007-04-13", "1995", "1978-04-02", "2018-07-09", "1636", "1871-01-18", "1853", "1787-12-07", "1869-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankfurt (Oder)"]}, {"function": "Find", "dependencies": [], "inputs": ["Metz"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["German Empire"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Frankfurt (Oder)\" . ?e_2 <pred:name> \"German Empire\" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> \"Metz\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1871-01-18"}, {"question": "For which work was Scarlett Johansson awarded the Tony Award for Best Featured Actress in a Play?", "choices": ["Without Limits", "La journ\u00e9e de la jupe", "The Mirror Has Two Faces", "Friends", "Dirty Pretty Things", "Hallmark Hall of Fame", "A View from the Bridge", "Them!", "Knocked Up", "Just Married"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scarlett Johansson"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actress in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Scarlett Johansson\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actress in a Play\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "A View from the Bridge"}, {"question": "Does the capital officially named \u0a1a\u0a70\u0a21\u0a40\u0a17\u0a5c\u0a4d\u0a39 have under 19000000 male inhabitants ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u0a1a\u0a70\u0a21\u0a40\u0a17\u0a5c\u0a4d\u0a39"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["male population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["19000000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u0a1a\u0a70\u0a21\u0a40\u0a17\u0a5c\u0a4d\u0a39\" . ?e <male_population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"19000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is Angel whose duration is 93 minutes related to sexploitation film?", "choices": ["genre", "grants", "industry", "practiced by", "takes place in fictional universe", "discoverer or inventor", "partner", "maintained by", "tributary", "registered with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "93 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["sexploitation film"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Angel\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"93\"^^xsd:double . ?e_2 <pred:name> \"sexploitation film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What belief system claims the IPTC Newscode mediatopic/20000683?", "choices": ["atheism", "Unitarianism", "Judaism", "Baptists", "Sikhism", "Jainism", "Taoism", "Greek Orthodox Church", "Shinto", "Pentecostalism"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20000683"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000683\" .  }", "answer": "Shinto"}, {"question": "What higher education institution is the employer of Jaco Pastorius and has 19000 students?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jaco Pastorius"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["students count"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["19000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Jaco Pastorius\" .  ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"19000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the Instagram username for the national-association football team whose ranking is equal to 12 (the point in time of this statement is 2007-12-17)?", "choices": ["fcfseleccioncol", "ciara", "starisbornmovie", "england", "alysonrae", "eddieizzard", "xzibit", "robloweofficial", "repkevinmccarthy", "lincolncity_fc"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "12", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2007-12-17", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"12\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2007-12-17\"^^xsd:date . ?e <Instagram_username> ?pv .  }", "answer": "england"}, {"question": "When was M.I.A. the Grammy nominee for Record of the Year?", "choices": ["1995-08-22", "2009", "2017-11-23", "1898", "2014-10-31", "2005-08-17", "1949-01-01", "1997-11-19", "1000-01-01", "2008-11-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["M.I.A."]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Record of the Year"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"M.I.A.\" . ?e_2 <pred:name> \"Grammy Award for Record of the Year\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Is the run-time under 530 minutes for the visual artwork with Samuel Fuller in its cast?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel Fuller"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["530 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Samuel Fuller\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"530\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is the official website for Waitakere United http://www.waitakereunited.co.nz/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waitakere United"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.waitakereunited.co.nz/"]}], "sparql": "ASK { ?e <pred:name> \"Waitakere United\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.waitakereunited.co.nz/\" .  }", "answer": "yes"}, {"question": "What is the relation from Empire of the sun to Second Sino-Japanese War?", "choices": ["participant of", "applies to jurisdiction", "military branch", "field of this occupation", "professorship", "religious order", "copyright holder", "main subject", "follows", "terminus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Empire of the Sun"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Second Sino-Japanese War"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Empire of the Sun\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"drama film\" . ?e_2 <pred:name> \"Second Sino-Japanese War\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "What are the number of softwares whose Stack Exchange tag is https://ja.stackoverflow.com/tags/windows or that is an edition of Microsoft Windows ?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://ja.stackoverflow.com/tags/windows"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "Find", "dependencies": [], "inputs": ["Microsoft Windows"]}, {"function": "Relate", "dependencies": [3], "inputs": ["edition or translation of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["software"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" .  { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://ja.stackoverflow.com/tags/windows\" .  } UNION { ?e <edition_or_translation_of> ?e_1 . ?e_1 <pred:name> \"Microsoft Windows\" .  } }", "answer": "4"}, {"question": "Which has fewer people, Somerville (the one whose inception time is 1630) or Denton?", "choices": ["New Haven", "Boulder", "Waukegan", "Denton", "Oakland", "Columbus", "Compton", "Franklin", "Somerville", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Somerville"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1630", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Denton"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Somerville\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1630 . } UNION { ?e <pred:name> \"Denton\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Somerville"}, {"question": "How long is For Flight (the one that has Bruce Greenwood as a cast member)?", "choices": ["2132 second", "2732 second", "2713 second", "80 minute", "148 minute", "138 minute", "30 minute", "111 minute", "162 minute", "183 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruce Greenwood"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Flight\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Bruce Greenwood\" .  ?e <duration> ?pv .  }", "answer": "138 minute"}, {"question": "When was the Kingdom of Great Britain dissolved?", "choices": ["2005-12-31", "1859-01-01", "1990", "1973-01-01", "1801-01-01", "1902-01-01", "2015-08-04", "1986", "2000-03-25", "1861-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kingdom of Great Britain\" . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1801-01-01"}, {"question": "When did the US city twinned to Mantua have a population totaling 10324?", "choices": ["1938-01-01", "1955-03-30", "1923-01-01", "1876", "1976-05-17", "2018-08-08", "1995-04-19", "2015-03-31", "1850-01-01", "1880"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mantua"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "10324", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Mantua\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"10324\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1880"}, {"question": "What number of belief systems have the OSM tag or key Tag:denomination=presbyterian?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:denomination=presbyterian"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:denomination=presbyterian\" .  }", "answer": "1"}, {"question": "Among the islands that are a part of the British Isles, which one has the smallest population?", "choices": ["Ireland", "Hawaii", "Maui", "Great Britain", "Newfoundland", "Guernsey", "Trinidad", "Tasmania", "Cyprus", "Long Island"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Isles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"British Isles\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ireland"}, {"question": "Is the elevation (above sea level) less than 300 metres if\u00a0the width of the mountain range is 480 kilometres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["width", "480 kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["300 metre", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <width> ?pv_1 . ?pv_1 <pred:unit> \"kilometre\" . ?pv_1 <pred:value> \"480\"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"300\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many silent films have the title of The Hunchback of Notre Dame?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Hunchback of Notre Dame"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <title> ?pv . ?pv <pred:value> \"The Hunchback of Notre Dame\" .  }", "answer": "1"}, {"question": "What person is unlike Craig Thomas (who is the creator of How I Met Your Mother)?", "choices": ["Sylvester Stallone", "Craig Thomas", "Anna Paquin", "Simon Cowell", "David Byrne", "Jessica Biel", "William Henry Harrison", "Richard Gere", "Sidney Sheldon", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How I Met Your Mother"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Craig Thomas\" . ?e_2 <creator> ?e_1 . ?e_2 <pred:name> \"How I Met Your Mother\" .   }", "answer": "Craig Thomas"}, {"question": "Does the city with local dialing code of 807 have an elevation equal to -10 metres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "807"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["-10 metre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"807\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"-10\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which show has fewer episodes, The Missing (the one whose Twitter username is TheMissingSTARZ) or Drive (the one whose script is wrote by Tim Minear)?", "choices": ["Game of Thrones", "Phineas and Ferb", "Six Feet Under", "Seinfeld", "Saturday Night's Main Event", "Drive", "The Missing", "Dancing with the Stars", "Robot Chicken", "Bleak House"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Missing"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "TheMissingSTARZ"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Minear"]}, {"function": "Relate", "dependencies": [2], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Drive"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Missing\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"TheMissingSTARZ\" . } UNION { ?e <pred:name> \"Drive\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Tim Minear\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Drive"}, {"question": "When did the United States town with a postal code of 02381 reach a population of 56468?", "choices": ["2016-05-01", "-4000", "2010-12-15", "1998-12-01", "1997-02-27", "2009-07-01", "2017-03-09", "2010-01-01", "1998-05-20", "2005-02-27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "02381"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "56468", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"02381\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"56468\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "How many subscribers does Jonathan Frakes have on his Twitter username jonathansfrakes?", "choices": ["387354", "1539840", "202724", "10677", "32248", "811228", "1457217", "178082", "801085", "28163"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Frakes"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "jonathansfrakes", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jonathan Frakes\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"jonathansfrakes\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "387354"}, {"question": "Which organization is a list of people and is related to the sport of cricket?", "choices": ["McDonald's", "Australia national cricket team", "Academy of Television Arts & Sciences", "International Cricket Council", "Pfizer", "E. W. Scripps Company", "NBCUniversal", "West Indies cricket team", "BBC", "New Zealand national cricket team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["human"]}, {"function": "Relate", "dependencies": [0], "inputs": ["is a list of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Find", "dependencies": [], "inputs": ["cricket"]}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <is_a_list_of> ?e_1 . ?e_1 <pred:name> \"human\" .  ?e <sport> ?e_2 . ?e_2 <pred:name> \"cricket\" .  }", "answer": "New Zealand national cricket team"}, {"question": "How many legislative terms either started after 1813 or started before 1807?", "choices": ["39", "40", "41", "42", "43", "44", "45", "46", "47", "48"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1813", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1807", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1813 ) .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1807 ) .  } }", "answer": "39"}, {"question": "What sport discipline was founded by the empire having the spoken text audio of Hy-\u0532\u0580\u056b\u057f\u0561\u0576\u0561\u056f\u0561\u0576 \u056f\u0561\u0575\u057d\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576.ogg?", "choices": ["freestyle wrestling", "racewalking", "canoe slalom", "canoe sprint", "track cycling", "rugby union", "mountain biking", "artistic gymnastics", "eventing", "Greco-Roman wrestling"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["spoken text audio", "Hy-\u0532\u0580\u056b\u057f\u0561\u0576\u0561\u056f\u0561\u0576 \u056f\u0561\u0575\u057d\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "Relate", "dependencies": [2], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sport discipline"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport discipline\" . ?e <founded_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"empire\" . ?e_1 <spoken_text_audio> ?pv . ?pv <pred:value> \"Hy-\u0532\u0580\u056b\u057f\u0561\u0576\u0561\u056f\u0561\u0576 \u056f\u0561\u0575\u057d\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576.ogg\" .   }", "answer": "freestyle wrestling"}, {"question": "How many counties in Indiana don't have a population of 4800000?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4800000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4800000\"^^xsd:double ) .  }", "answer": "13"}, {"question": "Does the United States city where Jessica Simpson was born have a population that is not 840000000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jessica Simpson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["840000000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jessica Simpson\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"840000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the time period that 30601 is the population of Parkersburg?", "choices": ["2016", "1796", "1978", "1993-10-01", "2014-08-14", "1964-04-13", "2015", "2012-01-18", "1825-01-01", "2014-02-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Parkersburg"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "30601", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Parkersburg\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"30601\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "does Battle creek with the official website http://www.cbs.com/shows/battle-creek/ have number of seasons not equal to 45", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cbs.com/shows/battle-creek/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["45", "!="]}], "sparql": "ASK { ?e <pred:name> \"Battle Creek\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cbs.com/shows/battle-creek/\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"45\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many fictional professionals are USA citizens or have the occupation of superhero?", "choices": ["21", "22", "23", "24", "25", "26", "27", "28", "29", "30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "Find", "dependencies": [], "inputs": ["superhero"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional profession"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" .  { ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <occupation> ?e_1 . ?e_1 <pred:name> \"superhero\" .  } }", "answer": "24"}, {"question": "How is Stephanie Morgenstern connected to Geneva?", "choices": ["significant person", "officeholder", "designed by", "manufacturer", "place of birth", "influenced by", "edition or translation of", "sexual orientation", "participant of", "license"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephanie Morgenstern"]}, {"function": "Find", "dependencies": [], "inputs": ["Geneva"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stephanie Morgenstern\" . ?e_2 <pred:name> \"Geneva\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Where on 2007-03-01 was the visual artwork published which has Avril Lavigne in the cast?", "choices": ["Germany", "58th Berlin International Film Festival", "Colombia", "Lithuania", "Indonesia", "Seattle International Film Festival", "Croatia", "Johannesburg", "Romania", "Sweden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Avril Lavigne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-03-01", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Avril Lavigne\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2007-03-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many episodes does Family Guy have?", "choices": ["73", "214", "66", "38", "322", "49", "7", "180", "110", "11136"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Guy"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Family Guy\" . ?e <number_of_episodes> ?pv .  }", "answer": "322"}, {"question": "How many subscribers does the Twitter username JoshLucas (ISNI 0000 0000 7841 2700) have?", "choices": ["4", "176720", "293", "762072", "30564", "38006", "15392", "15729", "508805", "312894"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7841 2700"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "JoshLucas", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7841 2700\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"JoshLucas\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "30564"}, {"question": "When was the person with ISNI 0000 0000 3336 5699 born?", "choices": ["1975-01-31", "1968-07-24", "1974-06-23", "1911-10-13", "1892-10-16", "1968-09-02", "1968-01-22", "1893-09-16", "1958-12-25", "1694-11-21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3336 5699"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 3336 5699\" . ?e <date_of_birth> ?pv .  }", "answer": "1958-12-25"}, {"question": "What is the zip code of the HQ of Midway Games in Chicago, where Bernie Mac was born?", "choices": ["5061", "P", "LA1", "14778", "48232", "48120\u201348128", "60618", "13617", "93055", "18042"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midway Games"]}, {"function": "Find", "dependencies": [], "inputs": ["Bernie Mac"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Midway Games\" . ?e_2 <pred:name> \"Chicago\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Bernie Mac\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "60618"}, {"question": "When was Shin-ichiro Miki born?", "choices": ["1949-05-20", "1961-07-19", "1978-07-12", "1968-03-02", "1898-02-21", "1968-03-18", "1953-11-27", "1908-04-02", "1963-12-19", "1929-01-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shin-ichiro Miki"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Shin-ichiro Miki\" . ?e <date_of_birth> ?pv .  }", "answer": "1968-03-18"}, {"question": "Which film is followed by the film with the title The Mummy Returns?", "choices": ["Hellboy", "Infernal Affairs", "Chasing Amy", "The Mummy", "Superman II: The Richard Donner Cut", "Crash", "Terminator 3: Rise of the Machines", "Superman", "Out of Sight", "Carnage"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Mummy Returns"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <followed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"The Mummy Returns\" .   }", "answer": "The Mummy"}, {"question": "What is the partner of David Copperfield (the one that is the citizen of United States of America)?", "choices": ["00000021013", "00000025284", "00000009528", "00000026514", "00000021924", "00000018493", "00000018155", "00000014786", "00000019835", "00000021150"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <partner> ?e . ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <Munzinger_IBA> ?pv .  }", "answer": "00000021013"}, {"question": "What relation type does the disease that has osteoporosis as one risk factor and an UMLS CUI code of C0024517 map to?", "choices": ["broad match", "44 millimeter of mercury", "close match", "exact match", "https://stackoverflow.com/tags/blu-ray", "2469011", "70.238 year", "Donald Trump", "161.23.0.0/16", "narrow match"], "program": [{"function": "Find", "dependencies": [], "inputs": ["osteoporosis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["risk factor", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["UMLS CUI", "C0024517", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <risk_factor> ?e . ?e_1 <pred:name> \"osteoporosis\" .  ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0024517\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "What person has record label Avex Trax?", "choices": ["Sylvester Stallone", "Max Fleischer", "Ayumi Hamasaki", "Lorenzo Music", "Julieta Venegas", "Johnny Cash", "Frank Marshall", "Method Man", "Richard Gere", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Avex Trax"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Avex Trax\" .   }", "answer": "Ayumi Hamasaki"}, {"question": "What number of Ohio counties with FIPS 6-4 (US counties) has area code 39099?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "39099"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"39099\" .  }", "answer": "1"}, {"question": "Was the Americana (produced by David Carradine) published after 1942?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Carradine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Americana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1942", ">"]}], "sparql": "ASK { ?e <pred:name> \"Americana\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"David Carradine\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1942 ) .  }", "answer": "yes"}, {"question": "Is North Holland or Friesland smaller, in terms of area?", "choices": ["Gelderland", "Groningen", "Limburg", "Overijssel", "South Holland", "Zeeland", "Drenthe", "Friesland", "Utrecht", "North Holland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Holland"]}, {"function": "Find", "dependencies": [], "inputs": ["Friesland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North Holland\" .  } UNION { ?e <pred:name> \"Friesland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "North Holland"}, {"question": "How many chemical compounds have the chemical formula C\u2085H\u2081\u2081NO\u2082?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["chemical formula", "C\u2085H\u2081\u2081NO\u2082"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <chemical_formula> ?pv . ?pv <pred:value> \"C\u2085H\u2081\u2081NO\u2082\" .  }", "answer": "1"}, {"question": "What is the ISNI of David J.?", "choices": ["0000 0001 2353 3609", "0000 0000 4041 337X", "0000 0004 0405 8664", "0000 0004 0608 6239", "0000 0004 0424 6198", "0000 0001 1470 6205", "0000 0000 5935 1690", "0000 0001 1476 9951", "0000 0001 1567 3935", "0000 0001 2225 7382"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David J"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"David J\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 5935 1690"}, {"question": "Which website officially represents the visual artwork that comes after Ocean's Twelve?", "choices": ["http://www.ashleytisdale.com/", "https://www.warnerbros.com/oceans-thirteen", "http://www.artgarfunkel.com", "https://www.warnerbros.com/magic-mike", "http://www.rihanna.com", "http://www.sonyclassics.com/thelaststation/", "https://julialang.org/", "http://www.gateshead-fc.com", "http://www.irenecara.com/", "http://www.bbc.co.uk/bbcone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocean's Twelve"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Ocean's Twelve\" .  ?e <official_website> ?pv .  }", "answer": "https://www.warnerbros.com/oceans-thirteen"}, {"question": "What does Beastie Boys (who are famous for hardcore punk) have to do with Adam Horowitz (who is famous for alternative hip hop)?", "choices": ["has part", "follows", "academic degree", "sex or gender", "captain", "inspired by", "penalty", "film release region", "appointed by", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hardcore punk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beastie Boys"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["alternative hip hop"]}, {"function": "Relate", "dependencies": [4], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Horowitz"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Beastie Boys\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"hardcore punk\" . ?e_2 <pred:name> \"Adam Horowitz\" . ?e_4 <famous_people> ?e_2 . ?e_4 <pred:name> \"alternative hip hop\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "What is the publication date of Hollywood, which is in the contemporary R&B genre?", "choices": ["2006-02-02", "1999-07-29", "1967-04-14", "2006-03-15", "2002-06-23", "2015", "1993-01-01", "1941", "2004-06-20", "1960-04-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["contemporary R&B"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hollywood\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"contemporary R&B\" .  ?e <publication_date> ?pv .  }", "answer": "2015"}, {"question": "Which movie is longer, Cosmopolis (the one that origins from Canada) or Days of Thunder (the one whose producer is Jerry Bruckheimer)?", "choices": ["The Hunchback of Notre Dame", "Cosmopolis", "Rebecca", "Curse of the Golden Flower", "The Towering Inferno", "Days of Thunder", "The Fifth Element", "Pleasantville", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cosmopolis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Bruckheimer"]}, {"function": "Relate", "dependencies": [4], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Days of Thunder"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cosmopolis\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Canada\" .   } UNION { ?e <pred:name> \"Days of Thunder\" . ?e <producer> ?e_2 . ?e_2 <pred:name> \"Jerry Bruckheimer\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cosmopolis"}, {"question": "What is the connection between David O. Selznick to Pittsburgh (the one that is the birthplace of Julie Benz)?", "choices": ["owner of", "official residence", "exported to", "place of birth", "child astronomical body", "start point", "country of citizenship", "shares border with", "does not have part", "significant event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David O. Selznick"]}, {"function": "Find", "dependencies": [], "inputs": ["Julie Benz"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David O. Selznick\" . ?e_2 <pred:name> \"Pittsburgh\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Julie Benz\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which album was Phil Ramone's Grammy-winning Album of the Year?", "choices": ["Pinocchio", "Seven Brides for Seven Brothers", "Bob & Carol & Ted & Alice", "This Is the End", "52nd Street", "Round Midnight", "Venus", "Live Flesh", "Mourning Becomes Electra", "Dick Tracy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phil Ramone"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Album of the Year"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Phil Ramone\" . ?e_2 <pred:name> \"Grammy Award for Album of the Year\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "52nd Street"}, {"question": "Tell me the one with the longest duration among the feature film that was published after 1964", "choices": ["Bedknobs and Broomsticks", "Pirates of the Caribbean: On Stranger Tides", "Bedtime Stories", "Fiddler on the Roof", "Ghostbusters", "Hannah Montana: The Movie", "Back to the Future Part II", "Back to the Future Part III", "Holes", "National Treasure: Book of Secrets"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1964", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1964 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fiddler on the Roof"}, {"question": "How many landforms have the OSM tag or key Tag:natural=peak?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:natural=peak"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:natural=peak\" .  }", "answer": "1"}, {"question": "Is the duration of a feature film, whose official website is http://www.21-grams.com, 5.9 months ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://disney.go.com/disneypictures/olddogs/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5.9 month", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://disney.go.com/disneypictures/olddogs/\" . ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> \"5.9\"^^xsd:double .  }", "answer": "no"}, {"question": "What film was produced and directed by Bobby Farrelly?", "choices": ["Rebecca", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "Dumb and Dumber", "There's Something About Mary", "Pleasantville", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bobby Farrelly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Bobby Farrelly"]}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Bobby Farrelly\" .  ?e <director> ?e_2 . ?e_2 <pred:name> \"Bobby Farrelly\" .  }", "answer": "Dumb and Dumber"}, {"question": "What does WALL\u00b7E have to do with Fred Willard?", "choices": ["product or material produced", "has immediate cause", "languages spoken, written or signed", "office held by head of government", "editor", "costume designer", "practiced by", "designed to carry", "cast member", "mascot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WALL\u00b7E"]}, {"function": "Find", "dependencies": [], "inputs": ["Fred Willard"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"WALL\u00b7E\" . ?e_2 <pred:name> \"Fred Willard\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Where was the film with Tim Allen, who was born in Denver, published on 2000-04-13?", "choices": ["Finland", "Australia", "South Korea", "Portal:Belgium", "Sorrento", "Mexico", "Venice Film Festival", "Germany", "New York", "Beverly Hills"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denver"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Allen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "2000-04-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tim Allen\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Denver\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2000-04-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is 00000014786 the Munzinger IBA of the person who is the screenwriter of The Challenge (that has Scott Glenn as a cast member)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Glenn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Challenge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["00000014786"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"The Challenge\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Scott Glenn\" .  ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000014786\" .  }", "answer": "no"}, {"question": "Which producer produced the movie Main Hoon Na?", "choices": ["Akkineni Nagarjuna", "Haim Saban", "Danny DeVito", "Peter Fonda", "Jeremy Thomas", "Shahrukh Khan", "Christine Vachon", "Eugene O'Neill", "Kathleen Turner", "Katherine Heigl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Main Hoon Na"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Main Hoon Na\" .   }", "answer": "Shahrukh Khan"}, {"question": "What is the relationship between Kuch Kuch Hota Hai to Rani Mukherjee?", "choices": ["legal form", "conferred by", "permanent resident of", "film regional debut venue", "capital", "military casualty classification", "copyright representative", "place of publication", "published in", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kuch Kuch Hota Hai"]}, {"function": "Find", "dependencies": [], "inputs": ["Rani Mukherjee"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kuch Kuch Hota Hai\" . ?e_2 <pred:name> \"Rani Mukherjee\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What number of literary awards did Greg Bear win, or was founded not in 1922?", "choices": ["31", "32", "33", "34", "35", "36", "37", "38", "39", "40"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greg Bear"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1922", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Greg Bear\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1922 ) .  } }", "answer": "32"}, {"question": "What is the connection between Heaven Can Wait (the one that was nominated for Academy Award for Best Cinematography) to Paul Sylbert?", "choices": ["operating system", "production designer", "place served by transport hub", "seed team", "capital of", "director", "producer", "owner of", "basic form of government", "head of state"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heaven Can Wait"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Paul Sylbert"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Heaven Can Wait\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Cinematography\" . ?e_2 <pred:name> \"Paul Sylbert\" . ?e_1 ?p ?e_2 .  }", "answer": "production designer"}, {"question": "Which human received a Tony Award for Best Actor in a Play in 1960 and is a United States of America citizen?", "choices": ["Michael Moriarty", "Philip Roth", "Sylvester Stallone", "Al Pacino", "Bobby Darin", "Anne Bancroft", "Ralph Bellamy", "Walter Matthau", "Ron Silver", "Melvyn Douglas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1960", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Actor in a Play\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1960 . ?e <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  }", "answer": "Melvyn Douglas"}, {"question": "Which one, Avatar: The Last Airbender (the one that has Mark Hamill as a voice actor) or SpongeBob SquarePan, has a greater number of seasons?", "choices": ["SpongeBob SquarePants", "Tiny Toon Adventures", "The Cleveland Show", "Aladdin", "Phineas and Ferb", "Batman Beyond", "American Dad!", "South Park", "The Venture Bros.", "Avatar: The Last Airbender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Hamill"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar: The Last Airbender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["SpongeBob SquarePants"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Avatar: The Last Airbender\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Mark Hamill\" .   } UNION { ?e <pred:name> \"SpongeBob SquarePants\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "SpongeBob SquarePants"}, {"question": "Which fictional extraterrestrial has 2168154 subscribers for its Twitter username, AdamSandler?", "choices": ["dance-pop", "private equity", "Cape May County", "Orix Buffaloes", "Miss Universe", "Queensland", "Phoenix", "Burlington", "Adam Sandler", "Licking County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "AdamSandler"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "2168154", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["fictional extraterrestrial"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional extraterrestrial\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AdamSandler\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"2168154\"^^xsd:double .  }", "answer": "Adam Sandler"}, {"question": "What is the number of human settlements that are the place where F Scott Fitzgerald lived and that has a local dialing code of 609?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["F. Scott Fitzgerald"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["local dialing code", "609"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human settlement"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"F. Scott Fitzgerald\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"609\" .  }", "answer": "1"}, {"question": "What is the name of the nominee of the Academy Award for Best Writing, Adapted Screenplay for Atonement (the one that was nominated for Academy Award for Best Cinematography)?", "choices": ["Stephen Rosenbaum", "Lorraine Bracco", "John Dighton", "Thomas Causey", "Wendell Mayes", "David Bretherton", "Red Buttons", "Richard Curtis", "Christopher Hampton", "David Warren"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atonement"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Atonement\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Cinematography\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Christopher Hampton"}, {"question": "NSYNC and Boyz II Men famously represent which vocal music style?", "choices": ["free improvisation", "country pop", "psychedelic soul", "progressive house music", "psychedelic trance", "boy band", "contemporary R&B", "a cappella", "acid jazz", "soul music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NSYNC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["vocal music"]}, {"function": "Find", "dependencies": [], "inputs": ["Boyz II Men"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["vocal music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"vocal music\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"NSYNC\" .  ?e <famous_people> ?e_2 . ?e_2 <pred:name> \"Boyz II Men\" .  }", "answer": "a cappella"}, {"question": "Is Giant released in Denmark or The Birds longer?", "choices": ["A Prairie Home Companion", "Training Day", "Giant", "Talk to Her", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Pleasantville", "The Towering Inferno", "The Birds", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Giant"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Birds"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Giant\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Denmark\" .   } UNION { ?e <pred:name> \"The Birds\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Giant"}, {"question": "Does the person with 0000 0001 0777 7021 as an ISNI have an amount of children that isn't 20?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0777 7021"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["20", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0777 7021\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"20\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which movie is shorter, The Savages or Jane Eyre (the one whose publication date is 2011-01-01)?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "Jane Eyre", "Talk to Her", "The Fifth Element", "The Towering Inferno", "The Savages", "Training Day", "Pleasantville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Savages"]}, {"function": "Find", "dependencies": [], "inputs": ["Jane Eyre"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2011-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Savages\" . } UNION { ?e <pred:name> \"Jane Eyre\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2011-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Savages"}, {"question": "Which Netherlands municipality has the capital Rotterdam (the one whose postal code is 3000\u20133089) and is an administrative division of South Holland?", "choices": ["Nijmegen", "Groningen", "Maastricht", "Hilversum", "Alkmaar", "Rotterdam", "Dordrecht", "Amsterdam", "Leiden", "Delft"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rotterdam"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "3000\u20133089"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["municipality of the Netherlands"]}, {"function": "Find", "dependencies": [], "inputs": ["South Holland"]}, {"function": "Relate", "dependencies": [4], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["municipality of the Netherlands"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Rotterdam\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"3000\u20133089\" .  ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> \"South Holland\" .  }", "answer": "Rotterdam"}, {"question": "Tell me the relationship between Kevin Bacon (who was educated at Miami University) to Miami University", "choices": ["medical condition", "legal form", "position played on team / speciality", "filmography", "educated at", "field of this occupation", "appointed by", "copyright holder", "symptoms", "chairperson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miami University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin Bacon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Miami University"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kevin Bacon\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Miami University\" . ?e_2 <pred:name> \"Miami University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "What is the link between Jim Clark (who is connected to the sport American football) and Honolulu (whose elevation above sea level is 6 meters)?", "choices": ["place of birth", "color", "has part", "family name", "parent organization", "separated from", "has immediate cause", "territory overlaps", "has dialect (DEPRECATED)", "operator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Clark"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Honolulu"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["elevation above sea level", "6 metre", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jim Clark\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"American football\" . ?e_2 <pred:name> \"Honolulu\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"6\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What is the connection between University of Alabama at Birmingham to United States of America?", "choices": ["lowest point", "terminus", "contributor(s) to the creative work", "substitute/deputy/replacement of office/officeholder", "sport", "language of work or name", "depicted by", "country", "student of", "head of state"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Alabama at Birmingham"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Alabama at Birmingham\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What character did Richard Chamberlain play in The Man in the Iron Mask, which ran 100 minutes and which he appeared in.", "choices": ["Galahad", "Louis XIV of France", "Freddy Lounds", "Clay Morrow", "Dr. Evil", "Aristotle", "Zod", "Frank Lucas", "Abraham Erskine", "George III of Great Britain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Man in the Iron Mask"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "100 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Chamberlain"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Man in the Iron Mask\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"100\"^^xsd:double . ?e_2 <pred:name> \"Richard Chamberlain\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Louis XIV of France"}, {"question": "Does the person who is a member of S.C. Internacional (the start time of this statement is 2001) have a birth date not in 1983?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S.C. Internacional"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2001", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1983", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"S.C. Internacional\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2001 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1983 ) .  }", "answer": "yes"}, {"question": "How many estates experienced the event whose IAB code is 121?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "121"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["significant event", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["estate in land"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"estate in land\" . ?e <significant_event> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"activity\" . ?e_1 <IAB_code> ?pv . ?pv <pred:value> \"121\" .   }", "answer": "4"}, {"question": "Which Indiana county with over 1.5 inhabitants covers the least area?", "choices": ["Delaware County", "Howard County", "Monroe County", "Porter County", "Johnson County", "Franklin County", "Hancock County", "Wayne County", "Marion County", "Shelby County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1.5", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"1.5\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Howard County"}, {"question": "How many followers have the Twitter username SydneyFC (of the association football club whose official website is http://www.sydneyfc.com/)?", "choices": ["717431", "2626205", "534634", "71276", "80137", "281", "937", "32248", "26944", "2383803"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sydneyfc.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "SydneyFC", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sydneyfc.com/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SydneyFC\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "71276"}, {"question": "When was Alaska (the one whose distributor is Columbia Pictures) published?", "choices": ["1969-01-13", "1974-11-24", "1996-01-01", "2012-10-14", "2010-08-03", "1983-04-15", "1933-01-01", "2000-02-04", "1980-03-07", "2007-08-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alaska"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Alaska\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Columbia Pictures\" .  ?e <publication_date> ?pv .  }", "answer": "1996-01-01"}, {"question": "What is the connection between Harry Connick Jr. to Jewish people?", "choices": ["director/manager", "theme music", "does not have part", "commander of", "languages spoken, written or signed", "Wikidata property", "director", "spouse", "ethnic group", "month of the year"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Connick Jr."]}, {"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Connick Jr.\" . ?e_2 <pred:name> \"Jewish people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What film has exploitation visa number 97247?", "choices": ["Aurora", "2001: A Space Odyssey", "Grown Ups", "Milk", "The Mummy", "Pleasantville", "A Prairie Home Companion", "Talk to Her", "Rebecca", "Enemy at the Gates"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "97247"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"97247\" .  }", "answer": "The Mummy"}, {"question": "When did Macon have a population of 153691?", "choices": ["1764-01-01", "1983-04-11", "2014", "2010-08-21", "2010-07-01", "1804", "1865", "2016-09-15", "2017-01-01", "1710"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macon"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "153691", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Macon\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"153691\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014"}, {"question": "Which one , Lake District or Kansai region, has greater area?", "choices": ["Caribbean", "Africa", "Southern California", "Transylvania", "Kansai region", "Pacific Ocean", "Lake District", "Piedmont", "Antarctica", "South America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake District"]}, {"function": "Find", "dependencies": [], "inputs": ["Kansai region"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lake District\" .  } UNION { ?e <pred:name> \"Kansai region\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kansai region"}, {"question": "What is the connection between Shrek the Third (the one whose distributor is Paramount Pictures) to Rupert Everett?", "choices": ["legal form", "after a work by", "collection", "uses", "religious order", "enclave within", "currency", "voice actor", "board member", "organisation directed from the office or person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shrek the Third"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rupert Everett"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shrek the Third\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Paramount Pictures\" . ?e_2 <pred:name> \"Rupert Everett\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Which occupation defines the position of someone whose Revised Romanization is Seol Gi-Hyeon ?", "choices": ["center", "Playboy Playmate", "environmentalist", "all-rounder", "defenceman", "midfielder", "lead vocalist", "small forward", "winger", "singer-songwriter"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Revised Romanization", "Seol Gi-Hyeon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["position played on team / speciality", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["occupation"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Revised_Romanization> ?pv . ?pv <pred:value> \"Seol Gi-Hyeon\" .   }", "answer": "winger"}, {"question": "What New York county is named after Benjamin Franklin (the one that has the occupation of physicist) and has a population of less than 6500000 (the determination method of this statement is estimation process)?", "choices": ["Franklin County", "Rensselaer County", "Greene County", "Albany County", "Cayuga County", "Niagara County", "Warren County", "Sullivan County", "Orange County", "Clinton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["physicist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New York"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "6500000", "<"]}, {"function": "QFilterStr", "dependencies": [7], "inputs": ["determination method", "estimation process"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["county of New York"]}, {"function": "And", "dependencies": [5, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Benjamin Franklin\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"physicist\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6500000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"estimation process\" .  }", "answer": "Franklin County"}, {"question": "What number of contemporary folk music were not founded in 1998?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1998", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["contemporary folk music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"contemporary folk music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) .  }", "answer": "2"}, {"question": "What is the connection between Macy's, Inc. to retail?", "choices": ["industry", "heritage designation", "stated in", "drafted by", "original language of film or TV show", "manner of death", "honorific suffix", "color", "located on astronomical location", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macy's, Inc."]}, {"function": "Find", "dependencies": [], "inputs": ["retail"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Macy's, Inc.\" . ?e_2 <pred:name> \"retail\" . ?e_1 ?p ?e_2 .  }", "answer": "industry"}, {"question": "How many dramas either have the IAB code of 624 or are in the same genre of A League of Their Own?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "642"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["drama"]}, {"function": "Find", "dependencies": [], "inputs": ["A League of Their Own"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["drama"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drama\" .  { ?e <IAB_code> ?pv . ?pv <pred:value> \"642\" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"A League of Their Own\" .  } }", "answer": "2"}, {"question": "How many Netherlands municipalities are Zeeland's capital or have fewer than 4600000 households?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zeeland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of households", "4600000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["municipality of the Netherlands"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" .  { ?e_1 <capital> ?e . ?e_1 <pred:name> \"Zeeland\" .  } UNION { ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4600000\"^^xsd:double ) .  } }", "answer": "11"}, {"question": "Was the film Being John Malkovich published in Germany after 2014?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Being John Malkovich"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2014", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Being John Malkovich\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2014 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "no"}, {"question": "Where is Bird, whose publication date is 1988-09-15, published?", "choices": ["Germany", "Mexico", "New York City", "El Capitan Theatre", "Vietnam", "People's Republic of China", "Poland", "Indonesia", "Europe", "Chicago"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bird"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1988-09-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bird\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1988-09-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is Super 8 less than 260 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Super 8"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["260 minute", "<"]}], "sparql": "ASK { ?e <pred:name> \"Super 8\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"260\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many occupations use the language that is the official language of Serbia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serbia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["occupation"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"language\" . ?e_2 <official_language> ?e_1 . ?e_2 <pred:name> \"Serbia\" .   }", "answer": "0"}, {"question": "What is voice actor Ralph Fiennes' character role in the work The Prince of Egypt?", "choices": ["The Dragon Emperor", "Katara", "Ramesses II", "William Marshal, 1st Earl of Pembroke", "Sabor", "Doug Ross", "Goldmember", "Jack Crawford", "Two-Face", "Shaggy Rogers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Prince of Egypt"]}, {"function": "Find", "dependencies": [], "inputs": ["Ralph Fiennes"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Prince of Egypt\" . ?e_2 <pred:name> \"Ralph Fiennes\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Ramesses II"}, {"question": "Regarding the London area which is where Jermone Flynn was born is the zip code exactly 10027?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerome Flynn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["area of London"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["10027"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jerome Flynn\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"10027\" .  }", "answer": "no"}, {"question": "Is Clint Eastwood's (the one that is the director of Hereafter) ISNI 0000 0001 2141 6361?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hereafter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clint Eastwood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 2141 6361"]}], "sparql": "ASK { ?e <pred:name> \"Clint Eastwood\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Hereafter\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2141 6361\" .  }", "answer": "yes"}, {"question": "Which human has a subscription number of 12734 under the Twitter username helenhayes_?", "choices": ["Helen Hayes", "David Byrne", "Simon Cowell", "Richard Gere", "Rahul Dev Burman", "Babyface", "Sylvester Stallone", "Paul Simon", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "helenhayes_"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "12734", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"helenhayes_\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"12734\"^^xsd:double .  }", "answer": "Helen Hayes"}, {"question": "Mecklenburg County borders how many North Carolina counties?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mecklenburg County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of North Carolina"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Mecklenburg County\" .   }", "answer": "1"}, {"question": "Who is shorter, David Brown (the point guard) or Stephen King (the one that was born in 86)?", "choices": ["James E. Reilly", "Rahul Dev Burman", "David Byrne", "Richard Gere", "David Brown", "Max Fleischer", "Stephen King", "Sylvester Stallone", "Paul Simon", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["point guard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Stephen King"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["date of birth", "1986-03-06", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Brown\" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> \"point guard\" . } UNION { ?e <pred:name> \"Stephen King\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1986-03-06\"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Stephen King"}, {"question": "Which disease was diagnosed on a person with  ISNI  0000 0000 7838 1019?", "choices": ["attention deficit hyperactivity disorder", "liver cirrhosis", "rheumatoid arthritis", "gastroesophageal reflux disease", "anemia", "Parkinson disease", "substance-related disorder", "systemic lupus erythematosus", "major depressive disorder", "pneumonia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7838 1019"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["medical condition", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["disease"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <medical_condition> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7838 1019\" .   }", "answer": "Parkinson disease"}, {"question": "Does Cinderella (official website http://princess.disney.com/cinderella/movies) or Lilo & Stitch have the longer running time?", "choices": ["Cars", "Renaissance", "Aladdin", "Shrek 2", "Peter Pan", "Cinderella", "The Rescuers", "WALL\u00b7E", "Beauty and the Beast", "Lilo & Stitch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cinderella"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://princess.disney.com/cinderella/movies"]}, {"function": "Find", "dependencies": [], "inputs": ["Lilo & Stitch"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cinderella\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://princess.disney.com/cinderella/movies\" . } UNION { ?e <pred:name> \"Lilo & Stitch\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lilo & Stitch"}, {"question": "What is the Instagram username for the association football club that has a member named John Osborne (who is a member of the West Bromwich Albion F.C.) until the ending date 1978-01-01?", "choices": ["shamrockroversofficial", "aja", "macfarlaneseth", "virgin", "rivers_cuomo", "stpatsfc", "councilofeurope", "tonibraxton", "nickjonas", "theculinaryinstituteofamerica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Bromwich Albion F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Osborne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["end time", "1978-01-01", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"John Osborne\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"West Bromwich Albion F.C.\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> \"1978-01-01\"^^xsd:date . ?e <Instagram_username> ?pv .  }", "answer": "shamrockroversofficial"}, {"question": "What is the connection between The Tourist and Israel, with pronunciation audio He-Medinat Israel.ogg?", "choices": ["film release region", "publisher", "broadcast by", "political alignment", "works in collection", "member of", "military casualty classification", "location of discovery", "country of citizenship", "make-up artist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Tourist"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["pronunciation audio", "He-Medinat Israel.ogg"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Tourist\" . ?e_2 <pred:name> \"Israel\" . ?e_2 <pronunciation_audio> ?pv . ?pv <pred:value> \"He-Medinat Israel.ogg\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What is the connection between the People's Republic of China and Singapore (that is the release territory of The Red Violin)?", "choices": ["contains administrative territorial entity", "medical condition", "location of final assembly", "main subject", "diplomatic relation", "position held", "uses", "writing system", "record label", "league"], "program": [{"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Find", "dependencies": [], "inputs": ["The Red Violin"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Singapore"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"People's Republic of China\" . ?e_2 <pred:name> \"Singapore\" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> \"The Red Violin\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which cost more to make, The Terminator or Rope?", "choices": ["Curse of the Golden Flower", "The Terminator", "Rebecca", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Pleasantville", "Rope", "Training Day", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Terminator"]}, {"function": "Find", "dependencies": [], "inputs": ["Rope"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Terminator\" .  } UNION { ?e <pred:name> \"Rope\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Terminator"}, {"question": "What is the postal code of Lawrence (the one whose official website is http://www.cityoflawrence.com/)?", "choices": ["10027", "98207", "GU21, GU22", "16541", "L8S 4L8", "93407", "48067, 48068, 48073", "01915", "16522", "27804"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityoflawrence.com/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lawrence\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityoflawrence.com/\" . ?e <postal_code> ?pv .  }", "answer": "01915"}, {"question": "How many Screen Actors Guild Awards were received by the person whose native language name is Jack Huston?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Jack Huston"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Screen Actors Guild Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Jack Huston\" .   }", "answer": "2"}, {"question": "When did California (the one whose publication date is 1963)'s narrative location become California, the one that is also the narrative location of We Bought a Zoo ?", "choices": ["1919-12-01", "1675", "1918", "2005-05-18", "1467-01-01", "1841", "2015-02-12", "2004-12-20", "1529-01-01", "1916"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1963", "="]}, {"function": "Find", "dependencies": [], "inputs": ["We Bought a Zoo"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["narrative location", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"California\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1963 . ?e_2 <pred:name> \"California\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"We Bought a Zoo\" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1841"}, {"question": "When did Hobart become the capital of Tasmania, which itself has a subreddit named tasmania?", "choices": ["1987-02-20", "2000-11-17", "1856-01-01", "1978", "2009-10-21", "1860-01-01", "2012-07-24", "2008-01-28", "1843", "2010-08-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hobart"]}, {"function": "Find", "dependencies": [], "inputs": ["Tasmania"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["subreddit", "tasmania"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["capital of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hobart\" . ?e_2 <pred:name> \"Tasmania\" . ?e_2 <subreddit> ?pv . ?pv <pred:value> \"tasmania\" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1856-01-01"}, {"question": "How is Wonder Woman from the DC Universe related to diplomat?", "choices": ["occupation", "territory claimed by", "material used", "model item", "ethnic group", "symptom of", "significant person", "head of state", "cast member", "works in collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DC Universe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["from fictional universe", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["diplomat"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wonder Woman\" . ?e_1 <from_fictional_universe> ?e_3 . ?e_3 <pred:name> \"DC Universe\" . ?e_2 <pred:name> \"diplomat\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did Malawi have a population of 9657518?", "choices": ["1991", "2255", "1737-01-01", "2015-09-30", "1944-10-21", "2000-10-11", "1979", "1821", "1935", "1467-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malawi"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "9657518", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Malawi\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"9657518\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1991"}, {"question": "Is the end time before 2005 for the industry that is J. R. R. Tolkien's representative?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. R. R. Tolkien"]}, {"function": "Relate", "dependencies": [0], "inputs": ["conflict", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2005", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <conflict> ?e . ?e_1 <pred:name> \"J. R. R. Tolkien\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }", "answer": "yes"}, {"question": "Does the person with the Deutsche Synchronkartei actor-ID of14415 have less than five children?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "14415"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"14415\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"5\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is Jurassic Park that received a 66th Academy Award related to Laura Dern?", "choices": ["fictional universe described in", "cast member", "month of the year", "student", "subsidiary", "professional or sports partner", "symptoms", "highest judicial authority", "place of death", "religious order"], "program": [{"function": "Find", "dependencies": [], "inputs": ["66th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jurassic Park"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Laura Dern"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jurassic Park\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"66th Academy Awards\" . ?e_2 <pred:name> \"Laura Dern\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Was the person born in Germany born on 1878-10-28?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["1878-10-28", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Germany\" .  ?e <date_of_birth> ?pv . ?pv <pred:date> \"1878-10-28\"^^xsd:date .  }", "answer": "yes"}, {"question": "When was James Brown (the one whose date of birth is 1970-01-03) a member of the Cleveland Browns until?", "choices": ["1879-01-01", "1846", "1968-02-18", "1997-08-31", "1616-04-23", "2000", "1968-08-16", "1805-12-26", "1810", "1807-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1970-01-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Cleveland Browns"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1970-01-03\"^^xsd:date . ?e_2 <pred:name> \"Cleveland Browns\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2000"}, {"question": "How many Grammy Awards (USA) was record producer David Foster nominated for?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Grammy Award"]}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Foster"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["Grammy Award"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Grammy Award\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"David Foster\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"record producer\" .  } }", "answer": "10"}, {"question": "The person with the native name George Harrison executive produced which movie?", "choices": ["Pulp Fiction", "Logan", "The Lord of the Rings: The Fellowship of the Ring", "Mona Lisa", "Antwone Fisher", "Bel Ami", "Date Night", "King Kong", "The Hitchhiker's Guide to the Galaxy", "Let Me In"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "George Harrison"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"George Harrison\" .   }", "answer": "Mona Lisa"}, {"question": "Who is a person that produced In America ?", "choices": ["Barbara Stanwyck", "Avi Lerner", "Max Fleischer", "Jim Sheridan", "Sylvester Stallone", "Michael Douglas", "Josh Charles", "William Henry Harrison", "David Angell", "Chet Atkins"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"In America\" .   }", "answer": "Jim Sheridan"}, {"question": "What is the relationship between jazz fusion and Earth, Wind & Fire?", "choices": ["taxon rank", "connects with", "product or material produced", "political alignment", "place of death", "allegiance", "contains administrative territorial entity", "derivative work", "head coach", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["jazz fusion"]}, {"function": "Find", "dependencies": [], "inputs": ["Earth, Wind & Fire"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"jazz fusion\" . ?e_2 <pred:name> \"Earth, Wind & Fire\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the connection between County Dublin to County Meath?", "choices": ["family", "shares border with", "does not have part", "political alignment", "has immediate cause", "native language", "sport", "newspaper format", "practiced by", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Dublin"]}, {"function": "Find", "dependencies": [], "inputs": ["County Meath"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"County Dublin\" . ?e_2 <pred:name> \"County Meath\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which movie titled The Scarlet Letter originates from the United Kingdom?", "choices": ["Borat", "Romeo and Juliet", "Talk to Her", "The Scarlet Letter", "Pleasantville", "Battle of Britain", "A Prairie Home Companion", "Rebecca", "Richard III", "Dr. No"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "The Scarlet Letter"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <title> ?pv . ?pv <pred:value> \"The Scarlet Letter\" .  }", "answer": "The Scarlet Letter"}, {"question": "Which celebrity has the higher net worth, Jamie Foxx or Selena Gomez?", "choices": ["David Byrne", "Paul Simon", "Sylvester Stallone", "Simon Cowell", "William Henry Harrison", "Max Fleischer", "Rahul Dev Burman", "James E. Reilly", "Jamie Foxx", "Selena Gomez"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jamie Foxx"]}, {"function": "Find", "dependencies": [], "inputs": ["Selena Gomez"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jamie Foxx\" .  } UNION { ?e <pred:name> \"Selena Gomez\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jamie Foxx"}, {"question": "When did Edinburgh become a part of the Kingdom of Scotland?", "choices": ["1945-04-01", "1993-05-20", "1940-01-01", "2014-04-07", "1707-04-30", "1985", "1964-10-24", "1886", "1783", "2016-07-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Scotland"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Edinburgh\" . ?e_2 <pred:name> \"Kingdom of Scotland\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1707-04-30"}, {"question": "How many seasons does The Practice have?", "choices": ["36", "8", "46", "2", "6", "5", "41", "66", "20", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Practice"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Practice\" . ?e <number_of_seasons> ?pv .  }", "answer": "8"}, {"question": "How is sax-player Sting related to the role of bassist?", "choices": ["language used", "part of", "geographic distribution", "occupation", "military conflicts", "facet of", "headquarters location", "grants", "publisher", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["saxophone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sting"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["bassist"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sting\" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> \"saxophone\" . ?e_2 <pred:name> \"bassist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the connection between Manchester Monarchs to ice hockey?", "choices": ["award disciplines or subjects", "facet of", "sport", "doctoral advisor", "country of citizenship", "appears in the form of", "season starts", "office held by head of government", "position played on team / speciality", "domain of saint or deity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manchester Monarchs"]}, {"function": "Find", "dependencies": [], "inputs": ["ice hockey"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Manchester Monarchs\" . ?e_2 <pred:name> \"ice hockey\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the longest short film that isn't 400 minutes?", "choices": ["The Town", "Robin Hood", "Friends", "The Fugitive", "Neighbours", "Frankenstein", "Eve", "The Cure", "The Animatrix", "Frankenweenie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "400 minute", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"400\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Animatrix"}, {"question": "Where was released the film  2 Fast 2 Furious in 2003-06-19?", "choices": ["Germany", "Uruguay", "European Union", "Latvia", "Bulgaria", "Lebanon", "Hollywood Bowl", "Sweden", "People's Republic of China", "Iceland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "2 Fast 2 Furious"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2003-06-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"2 Fast 2 Furious\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2003-06-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "John Grisham got educated at Mississippi State University, tell me the academic major of it.", "choices": ["Sanskrit", "special education", "art history", "accounting", "medicine", "Latin", "psychology", "physical education", "chemistry", "fine art"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Grisham"]}, {"function": "Find", "dependencies": [], "inputs": ["Mississippi State University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "academic major"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Grisham\" . ?e_2 <pred:name> \"Mississippi State University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_major> ?qpv .  }", "answer": "accounting"}, {"question": "Which island group has diplomatic relations with a sovereign state that counts Brian McKnight (the subject of this statement is Bermuda\u2013United States relations) as its citizen?", "choices": ["Kate Beckinsale", "propaganda film", "Ottoman Empire", "Bermuda", "County Waterford", "Bethesda Softworks", "Inner Hebrides", "Mel Brooks", "Hearst", "Tower of London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian McKnight"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["statement is subject of", "Bermuda\u2013United States relations"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["island group"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island group\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Brian McKnight\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Bermuda\u2013United States relations\" .  }", "answer": "Bermuda"}, {"question": "What is the connection between The Sorcerer's Apprentice (the one whose duration is 13 minute) to Michael Powell (the one that has the occupation of writer)?", "choices": ["military conflicts", "voice type", "natural product of taxon", "director", "home port", "nutrient", "feast day", "political alignment", "professional or sports partner", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Sorcerer's Apprentice"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "13 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Powell"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sorcerer's Apprentice\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"13\"^^xsd:double . ?e_2 <pred:name> \"Michael Powell\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "director"}, {"question": "How is The Fighter (the one whose publication date is 1952-01-01) related with  United States of America ?", "choices": ["country of origin", "sports season of league or competition", "film crew member", "office held by head of the organisation", "lyrics by", "musical conductor", "symptom of", "kit supplier", "licensed to broadcast to", "has cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Fighter"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1952-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fighter\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1952-01-01\"^^xsd:date . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "For The Expendables, where is it published on its 2010-08-26 publication date?", "choices": ["Stockholm", "58th Berlin International Film Festival", "Moscow", "United Kingdom", "Germany", "Grauman's Chinese Theatre", "Sorrento", "Latvia", "New Zealand", "India"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Expendables"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2010-08-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Expendables\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-08-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Among the Netherlands municipalies whose area is not equal to 760 square kilometres, which has the smallest area?", "choices": ["Amsterdam", "Alkmaar", "Nijmegen", "Maastricht", "Rotterdam", "Leiden", "Dordrecht", "Groningen", "Delft", "Arnhem"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "760 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"760\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Leiden"}, {"question": "Who was the Shine nominee for the Academy Award for Best Supporting Actor?", "choices": ["Rick Baker", "Lisa Westcott", "Andra\u00e9 Crouch", "Tony Walton", "Paul Brincat", "Ken Ralston", "Armin Mueller-Stahl", "Sarah Polley", "Hsu Li Kong", "Robert J. Litt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shine"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shine\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Armin Mueller-Stahl"}, {"question": "How many colleges of the University of Oxford have the country in the state that Christopher Columbus (the one that origins from United Kingdom) is from?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Columbus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> \"Christopher Columbus\" . ?e_2 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" .   }", "answer": "25"}, {"question": "Considering TV movies distributed by Warner Bros., which is the shortest one?", "choices": ["The Late Shift", "The Music Man", "Nuremberg", "A Streetcar Named Desire", "Casino Royale", "Shackleton", "All Quiet on the Western Front", "The Challenge", "The Three Musketeers", "The Goodbye Girl"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Warner Bros.\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Casino Royale"}, {"question": "Is Levadiakos F.C. officially represented by the site at http://www.domino-lefilm.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Levadiakos F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.domino-lefilm.com/"]}], "sparql": "ASK { ?e <pred:name> \"Levadiakos F.C.\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.domino-lefilm.com/\" .  }", "answer": "no"}, {"question": "When did the North Carolina county with the official website www.gastongov.com record a population of 206890?", "choices": ["1993-09-25", "1833", "2014-12-20", "1914", "1852-12-01", "1836", "1975-04-08", "2011-07-01", "2004-03-01", "1995-03-27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.gastongov.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of North Carolina"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "206890", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.gastongov.com\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"206890\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Is William Denby Hanna the birth name of the person whose Munzinger IBA is 00000020658?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020658"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["William Denby Hanna"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000020658\" . ?e <birth_name> ?pv . ?pv <pred:value> \"William Denby Hanna\" .  }", "answer": "no"}, {"question": "Is 122373 the exploitation number of the movie whose official website is http://saw3dmovie.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://saw3dmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["exploitation visa number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["122373"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://saw3dmovie.com/\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"122373\" .  }", "answer": "no"}, {"question": "What Protestant cemetery is smaller than 680000 hectares?", "choices": ["Hollywood Forever Cemetery", "Brompton Cemetery", "Grove Street Cemetery", "Glasnevin Cemetery", "Holy Cross Cemetery", "Woodlawn Cemetery", "Forest Lawn Memorial Park", "Montmartre Cemetery", "West Norwood Cemetery", "Kensal Green Cemetery"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "680000 hectare", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "Find", "dependencies": [], "inputs": ["Protestantism"]}, {"function": "Relate", "dependencies": [3], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["cemetery"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> ?v . FILTER ( ?v < \"680000\"^^xsd:double ) . ?e <religion> ?e_1 . ?e_1 <pred:name> \"Protestantism\" .  }", "answer": "Brompton Cemetery"}, {"question": "How many subsidiary companies were established later than 1991?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1991", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["subsidiary company"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"subsidiary company\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1991 ) .  }", "answer": "2"}, {"question": "What is the connection between Futurama (the one whose distribution format is DVD) to DVD?", "choices": ["contains administrative territorial entity", "distribution", "medical condition", "notable work", "worshipped by", "instrument", "spouse", "uses", "material used", "source of material"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DVD"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distribution", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Futurama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["DVD"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Futurama\" . ?e_1 <distribution> ?e_3 . ?e_3 <pred:name> \"DVD\" . ?e_2 <pred:name> \"DVD\" . ?e_1 ?p ?e_2 .  }", "answer": "distribution"}, {"question": "How many subscribers does the writer Rob Thomas have under the Twitter username RobThomas?", "choices": ["6632486", "188048", "532926", "59762", "34205078", "11940", "318", "46", "68389", "2104311"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rob Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "RobThomas", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Rob Thomas\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"writer\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"RobThomas\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "68389"}, {"question": "tell me the video game containing Phil LaMarr as a voice actor and that is entitled Shark Tale", "choices": ["Batman", "Salem", "Spider-Man 3", "Shrek Forever After", "Shark Tale", "Harry Potter and the Half-Blood Prince", "G.I. Joe: The Rise of Cobra", "beat 'em up", "music video game", "Guitar Hero 5"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phil LaMarr"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Shark Tale"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Phil LaMarr\" .  ?e <title> ?pv . ?pv <pred:value> \"Shark Tale\" .  }", "answer": "Shark Tale"}, {"question": "Was Ruth Gordon born after 1881?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ruth Gordon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1881", ">"]}], "sparql": "ASK { ?e <pred:name> \"Ruth Gordon\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1881 ) .  }", "answer": "yes"}, {"question": "Is 00000019309 the Munzinger IBA of Tom Wolfe?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Wolfe"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["00000019309"]}], "sparql": "ASK { ?e <pred:name> \"Tom Wolfe\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000019309\" .  }", "answer": "yes"}, {"question": "What is the start time of the Digimon Adventure having 54 episodes and aired on Fuji Television?", "choices": ["1999-03-07", "1797-05-12", "2003-09-03", "2006-03-16", "1997-05-16", "1988-04-11", "1960-09-28", "1979-10-01", "1940-06-14", "1999-09-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Digimon Adventure"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "54", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Fuji Television"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Digimon Adventure\" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"54\"^^xsd:double . ?e_2 <pred:name> \"Fuji Television\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1999-03-07"}, {"question": "Is 0000 0001 0920 3515 the ISNI of the director of The Human Stain (the one whose genre is drama film)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Human Stain"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0000 0001 0920 3515"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"The Human Stain\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"drama film\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0920 3515\" .  }", "answer": "yes"}, {"question": "How many electronic musical instruments are known in the world hose Hornbostel-Sachs classification is 531.1 and whose official website is http://www.suzukimusic.co.uk/omnichord/suzuki_omnichord.htm ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "531.1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic musical instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.suzukimusic.co.uk/omnichord/suzuki_omnichord.htm"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic musical instrument"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic musical instrument\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"531.1\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.suzukimusic.co.uk/omnichord/suzuki_omnichord.htm\" .  }", "answer": "0"}, {"question": "Is the total fertility rate of Hong Kong (the release region of A Prophet) less than 1.8 in 2010?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Prophet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hong Kong"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["total fertility rate", "point in time", "2010"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["1.8", "<"]}], "sparql": "ASK { ?e <pred:name> \"Hong Kong\" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> \"A Prophet\" .  ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1.8\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .  }", "answer": "yes"}, {"question": "When was the person who died on 1863-04-24 born?", "choices": ["1904-05-06", "1948-09-14", "1971-03-31", "1772-09-18", "1989-07-23", "1951-11-14", "1960-08-24", "1968-03-30", "1943-01-19", "1976-09-22"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1863-04-24", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1863-04-24\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1772-09-18"}, {"question": "What is the connection between folk metal to Europe?", "choices": ["instrumentation", "country of origin", "culture", "publisher", "director of photography", "screenwriter", "properties for this type", "sponsor", "licensed to broadcast to", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["folk metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Europe"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"folk metal\" . ?e_2 <pred:name> \"Europe\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Does the film whose title is Far from Heaven have a publication date before 2003 (the place of publication of this statement is United States of America)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Far from Heaven"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2003", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Far from Heaven\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2003 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "yes"}, {"question": "What is the release region of the visual artwork that has David Lean as a film editor and the release date 1985-04-26?", "choices": ["Moscow", "South Africa", "New Zealand", "R\u00e4ttvik", "Turkey", "Venice Film Festival", "Japan", "Germany", "Chile", "Rio de Janeiro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Lean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film editor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1985-04-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <film_editor> ?e_1 . ?e_1 <pred:name> \"David Lean\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1985-04-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is a11055054 the CANTIC-ID of Emily Osment?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emily Osment"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["a11055054"]}], "sparql": "ASK { ?e <pred:name> \"Emily Osment\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11055054\" .  }", "answer": "yes"}, {"question": "What is the connection between Sonic the Hedgehog (the one whose game mode is multiplayer video game) to Blu-ray Disc?", "choices": ["distribution", "illustrator", "architectural style", "sponsor", "legislative body", "presenter", "main food source", "separated from", "sidekick of", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Blu-ray Disc"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sonic the Hedgehog\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"multiplayer video game\" . ?e_2 <pred:name> \"Blu-ray Disc\" . ?e_1 ?p ?e_2 .  }", "answer": "distribution"}, {"question": "What was the title for Brothers (the one released in 2004-08-27)?", "choices": ["The Family Man", "Mildred Pierce", "Battle Creek", "La Mouche noire", "Fantastic Four", "Final Destination 5", "Drugstore Cowboy", "Brothers", "Swept Away", "Armageddon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brothers"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2004-08-27", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Brothers\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2004-08-27\"^^xsd:date . ?e <title> ?pv .  }", "answer": "Brothers"}, {"question": "How is the Mulan released in the USA related to Frank Welker?", "choices": ["location of final assembly", "place served by transport hub", "airline alliance", "connects with", "voice actor", "work location", "organizer", "designated as terrorist by", "political ideology", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mulan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Frank Welker"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mulan\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Frank Welker\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "How many types of sport are there whose OSM tag or key is Tag:sport=australian_football or whose IAB code is 537 ?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:sport=australian_football"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IAB code", "537"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["type of sport"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:sport=australian_football\" .  } UNION { ?e <IAB_code> ?pv . ?pv <pred:value> \"537\" .  } }", "answer": "2"}, {"question": "Which show has more episodes, Freakazoid! or The Contender (the one whose number of seasons is 4)?", "choices": ["American Horror Story", "Saturday Night's Main Event", "Freakazoid!", "Bleak House", "Robot Chicken", "The Contender", "Six Feet Under", "Game of Thrones", "Seinfeld", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freakazoid!"]}, {"function": "Find", "dependencies": [], "inputs": ["The Contender"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of seasons", "4", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Freakazoid!\" . } UNION { ?e <pred:name> \"The Contender\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4\"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Contender"}, {"question": "What is the total revenue of the facility whose official website is http://www.nga.gov/ (this statement is in the English language)?", "choices": ["25413000000 United States dollar", "244381990 United States dollar", "942090000 Czech koruna", "229234000000 United States dollar", "95668000000 United States dollar", "23526000000 United States dollar", "41000000000 pound sterling", "15201000000 United States dollar", "330000000 euro", "24075000000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nga.gov/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["facility"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["total revenue"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"facility\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nga.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <total_revenue> ?pv .  }", "answer": "244381990 United States dollar"}, {"question": "Of Arizona counties with under 8800000 population, which is physically biggest?", "choices": ["Cochise County", "Pima County", "Gila County", "Yavapai County", "Navajo County", "Maricopa County", "Mohave County", "Santa Cruz County", "Coconino County", "Apache County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8800000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"8800000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coconino County"}, {"question": "How many anime television series whose number of episodes is not equal to 670 or official website is http://www.toei-anim.co.jp/tv/dragon/ ?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.toei-anim.co.jp/tv/dragon/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of episodes", "670", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anime television series"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.toei-anim.co.jp/tv/dragon/\" .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"670\"^^xsd:double ) .  } }", "answer": "9"}, {"question": "What does the national society of film critics award for best supporting actor have to do with martin donovan?", "choices": ["winner", "languages spoken, written or signed", "fabrication method", "place of publication", "twinned administrative body", "patron saint", "model item", "partner", "cast member", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Supporting Actor"]}, {"function": "Find", "dependencies": [], "inputs": ["Martin Donovan"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0000 8146 5803"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"National Society of Film Critics Award for Best Supporting Actor\" . ?e_2 <pred:name> \"Martin Donovan\" . ?e_2 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8146 5803\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Albert Jarrett has what connection to Brighton & Hove Albion F.C.?", "choices": ["twinned administrative body", "derivative work", "writing system", "member of sports team", "head of government", "geographic distribution", "family", "headquarters location", "dedicated to", "maintained by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albert Jarrett"]}, {"function": "Find", "dependencies": [], "inputs": ["Brighton & Hove Albion F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Albert Jarrett\" . ?e_2 <pred:name> \"Brighton & Hove Albion F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Which is longer, the Canadian version of The Nutty Professor, or Eastern Promises?", "choices": ["Rebecca", "The Nutty Professor", "Pleasantville", "Curse of the Golden Flower", "Eastern Promises", "The Towering Inferno", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Promises"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Nutty Professor\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Canada\" .   } UNION { ?e <pred:name> \"Eastern Promises\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eastern Promises"}, {"question": "What U.S. city is the capital of Skagit County?", "choices": ["Kingston", "Oakland", "New Haven", "Tyler", "Franklin", "Columbus", "Arlington", "Monterey", "Waukegan", "Mount Vernon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skagit County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Skagit County\" .   }", "answer": "Mount Vernon"}, {"question": "How many Academy Awards are a part of Academy Awards or have  http://www.oscars.org/ as their website?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.oscars.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Awards"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oscars.org/\" .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Academy Awards\" .  } }", "answer": "15"}, {"question": "What is the area size of the county in Michigan whose official website is http://www.co.jackson.mi.us?", "choices": ["6.8 square mile", "4235 square kilometre", "245857 square kilometre", "2195 square kilometre", "346.346052 square kilometre", "13318 square mile", "170800000 square metre", "1875 square kilometre", "131070 square kilometre", "45.041505 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.jackson.mi.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Michigan"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.jackson.mi.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <area> ?pv .  }", "answer": "1875 square kilometre"}, {"question": "Is the native label of a capital, whose demonym, in male form, is Tehrani, equal to Charlotte?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Tehrani"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "male"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["capital"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Charlotte"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Tehrani\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv . ?qpv <pred:value> \"male\" . ?e <native_label> ?pv . ?pv <pred:value> \"Charlotte\" .  }", "answer": "no"}, {"question": "Tell me the number of college towns that have an official name \u042e\u0440\u044c\u0435\u0432", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u042e\u0440\u044c\u0435\u0432"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u042e\u0440\u044c\u0435\u0432\" .  }", "answer": "1"}, {"question": "Which made less in the box office, The Brothers Bloom or Romeo and Juliet distributed by Icon Productions?", "choices": ["The Fifth Element", "Pleasantville", "The Towering Inferno", "The Brothers Bloom", "Romeo and Juliet", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Brothers Bloom"]}, {"function": "Find", "dependencies": [], "inputs": ["Icon Productions"]}, {"function": "Relate", "dependencies": [1], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Romeo and Juliet"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Brothers Bloom\" .  } UNION { ?e <pred:name> \"Romeo and Juliet\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Icon Productions\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Romeo and Juliet"}, {"question": "What is the ISNI of someone working in the law field ?", "choices": ["0000 0000 5608 8778", "0000 0000 8146 7200", "0000 0000 5605 1297", "0000 0001 2148 628X", "0000 0000 5639 7298", "0000 0001 0918 8597", "0000 0001 1471 4707", "0000 0001 0637 5573", "0000 0001 2243 5417", "0000 0001 1473 1013"], "program": [{"function": "Find", "dependencies": [], "inputs": ["law"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"law\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 5608 8778"}, {"question": "What is the founding date of the basketball team with the official English-language website www.nba.com/pacers?", "choices": ["1937-08-10", "1833-06-09", "1869-10-16", "1894-09-04", "1837-01-01", "1944-07-31", "1830-12-25", "1664", "1043", "1967"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nba.com/pacers/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nba.com/pacers/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv .  }", "answer": "1967"}, {"question": "What is the publication territory for the visual artwork titled Babe whose release date is 1995-12-07?", "choices": ["Bahrain", "Bolivia", "Singapore", "Toronto", "Germany", "India", "West Germany", "Lithuania", "Portugal", "Finland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Babe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1995-12-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Babe\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1995-12-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is Elias Koteas' name in native language Elias Koteas?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elias Koteas"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Elias Koteas"]}], "sparql": "ASK { ?e <pred:name> \"Elias Koteas\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Elias Koteas\" .  }", "answer": "yes"}, {"question": "The General Electric founder is a member of which association?", "choices": ["American Academy of Arts and Letters", "Academy of Motion Picture Arts and Sciences", "Como", "Stand by Me", "American Philosophical Society", "Royal Academy of Arts", "Norman", "Diedrich Bader", "Royal Society", "April"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Electric"]}, {"function": "Relate", "dependencies": [0], "inputs": ["founded by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["association"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" . ?e_1 <member_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <founded_by> ?e_1 . ?e_2 <pred:name> \"General Electric\" .   }", "answer": "American Philosophical Society"}, {"question": "Which language is used on Norwich University's official website, www.norwich.edu?", "choices": ["Eastern Armenian", "English", "Belarusian", "Punjab", "National language of Republic of China", "Macedonian", "American English", "Toki Pona", "Czech", "Finnish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norwich University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.norwich.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Norwich University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.norwich.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is 0000 0001 1645 4216 Ben Elton's ISNI?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Elton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1645 4216"]}], "sparql": "ASK { ?e <pred:name> \"Ben Elton\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1645 4216\" .  }", "answer": "no"}, {"question": "Which visual artwork has the title Anonymous?", "choices": ["Where the Wild Things Are", "The Sum of All Fears", "A Prairie Home Companion", "Chicago", "The Informant!", "Rebecca", "Pleasantville", "Anonymous", "Father of the Bride Part II", "Con Air"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Anonymous"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Anonymous\" .  }", "answer": "Anonymous"}, {"question": "What is the relationship between The Family Man, with Jeremy Piven in the cast, and Dante Spinotti?", "choices": ["record label", "designed to carry", "founded by", "risk factor", "capital of", "history of topic", "godparent", "sport", "signatory", "director of photography"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Piven"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Family Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dante Spinotti"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Family Man\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Jeremy Piven\" . ?e_2 <pred:name> \"Dante Spinotti\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "When did Ang Lee win the Golden Lion?", "choices": ["2013-10-17", "2013-09-12", "2007", "1932-01-01", "1976-05-17", "1650", "1378", "1919-04-01", "2000-10-01", "1989-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ang Lee"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ang Lee\" . ?e_2 <pred:name> \"Golden Lion\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "How many positions apply jurisdiction over the sovereign state whose short name is \u7c73\u56fd?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u7c73\u56fd"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["applies to jurisdiction", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["position"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"position\" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <short_name> ?pv . ?pv <pred:value> \"\u7c73\u56fd\" .   }", "answer": "5"}, {"question": "How is Frank Herbert who died on 1986-02-11 related to pancreatic cancer?", "choices": ["work location", "stated in", "medical treatment", "executive producer", "cause of death", "designated as terrorist by", "drafted by", "language of work or name", "after a work by", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Herbert"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1986-02-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["pancreatic cancer"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Herbert\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1986-02-11\"^^xsd:date . ?e_2 <pred:name> \"pancreatic cancer\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "The band represented by the website http://www.nodoubt.com/ has been a nominee for how many MTV Video Music Awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nodoubt.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["MTV Video Music Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"band\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.nodoubt.com/\" .   }", "answer": "6"}, {"question": "What is the area of the U.S. city with PermID 5000400553?", "choices": ["31753254 square metre", "1076 square kilometre", "5044.18 hectare", "2092 square kilometre", "1611 square kilometre", "117.07 square kilometre", "378.616963 square kilometre", "2001 square kilometre", "170 square kilometre", "185.79 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5000400553"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5000400553\" . ?e <area> ?pv .  }", "answer": "378.616963 square kilometre"}, {"question": "Is the official website of the organization whose ISNI is 0000 0004 1759 4124 the same as  https://www.churchofengland.org/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 1759 4124"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["https://www.churchofengland.org/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 1759 4124\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.churchofengland.org/\" .  }", "answer": "yes"}, {"question": "How long is Titanic (the one that origins from Germany)?", "choices": ["177 minute", "81 minute", "7 minute", "105 minute", "197 minute", "25 minute", "360 minute", "85 minute", "1 academic term", "67.0 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Titanic"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Titanic\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Germany\" .  ?e <duration> ?pv .  }", "answer": "85 minute"}, {"question": "What is the native language name of the person whose official website is http://www.angelalansbury.net?", "choices": ["\u68ee\u5ddd \u667a\u4e4b", "Christopher Walken", "Angela Lansbury", "Maurice LaMarche", "Elaine May", "Jimmy Carter", "Martin Luther King Jr.", "Glen Ballard", "Martin Sheen", "William Butler Yeats"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.angelalansbury.net"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.angelalansbury.net\" . ?e <name_in_native_language> ?pv .  }", "answer": "Angela Lansbury"}, {"question": "What democracy is associated with Romand demonym and falls into the period of Julia (who died in 54 B.C.) ?", "choices": ["France", "Roman Republic", "Tunisia", "Zimbabwe", "Colombia", "Namibia", "Bolivia", "Sierra Leone", "Germany", "Italy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Romans"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "Find", "dependencies": [], "inputs": ["Julia"]}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of death", "-54", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["time period", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["democracy"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <demonym> ?pv . ?pv <pred:value> \"Romans\" . ?e_1 <time_period> ?e . ?e_1 <pred:name> \"Julia\" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:year> -54 .  }", "answer": "Roman Republic"}, {"question": "Does ISNI 0000 0001 0934 7471 belong to the person who has CANTIC-ID of a11573351?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11573351"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0934 7471"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11573351\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0934 7471\" .  }", "answer": "yes"}, {"question": "For TMNT (the one that has Laurence Fishburne as a voice actor), what language is associated with Chris Evans' (the one that wins MTV Movie Award for Best Fight) creative work as a voice actor?", "choices": ["Put\u00e8r", "Nynorsk", "Persian", "Slavic languages", "Yue Chinese", "Afrikaans", "Indonesian", "Montenegrin", "English", "Ewe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laurence Fishburne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["TMNT"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Fight"]}, {"function": "Relate", "dependencies": [4], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Evans"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["voice actor", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"TMNT\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Laurence Fishburne\" . ?e_2 <pred:name> \"Chris Evans\" . ?e_4 <winner> ?e_2 . ?e_4 <pred:name> \"MTV Movie Award for Best Fight\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which television series originally aired on the television channel whose name in kana is \u30d5\u30a9\u30c3\u30af\u30b9\u30fb\u30ad\u30c3\u30ba?.", "choices": ["Mighty Morphin Power Rangers", "Curb Your Enthusiasm", "Spider-Man", "WWE Superstars", "Limitless", "The Fairly OddParents", "Game of Thrones", "SpongeBob SquarePants", "Bleak House", "Robot Chicken"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in kana", "\u30d5\u30a9\u30c3\u30af\u30b9\u30fb\u30ad\u30c3\u30ba"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television channel"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <original_network> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television channel\" . ?e_1 <name_in_kana> ?pv . ?pv <pred:value> \"\u30d5\u30a9\u30c3\u30af\u30b9\u30fb\u30ad\u30c3\u30ba\" .   }", "answer": "Spider-Man"}, {"question": "Was the school represented by the site at http://www.ucl.ac.uk/slade/ founded in a year excluding 1925 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ucl.ac.uk/slade/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1925", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ucl.ac.uk/slade/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1925 ) .  }", "answer": "yes"}, {"question": "What disease is the medical condition of the person who owns Melancholia (the one was owned by Louis XIV of France from 1685) ?", "choices": ["peritonitis", "smallpox", "epilepsy", "cardiac arrest", "attention deficit hyperactivity disorder", "amyotrophic lateral sclerosis", "typhoid fever", "gastroesophageal reflux disease", "Crohn's disease", "prostate cancer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louis XIV of France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Melancholia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["owned by", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["start time", "1685", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "Relate", "dependencies": [6], "inputs": ["medical condition", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["disease"]}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <medical_condition> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <owned_by> ?e_1 . ?e_2 <pred:name> \"Melancholia\" . ?e_3 <owner_of> ?e_2 . ?e_3 <pred:name> \"Louis XIV of France\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1685 .   }", "answer": "smallpox"}, {"question": "Which human uses the language that has an IETF language tag of ps?", "choices": ["Vittorio Storaro", "Chet Atkins", "John Stephenson", "Marisa Tomei", "Bernardo Bertolucci", "Aditya Chopra", "Naya Rivera", "Vadivelu", "Georg Wilhelm Friedrich Hegel", "Claudia Schiffer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IETF language tag", "ps"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"language\" . ?e_1 <IETF_language_tag> ?pv . ?pv <pred:value> \"ps\" .   }", "answer": "John Stephenson"}, {"question": "How many times was Jerry Maguire nominated for the Screen Actors Guild Award?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Maguire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Screen Actors Guild Award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Jerry Maguire\" .   }", "answer": "3"}, {"question": "Who is the author of On the Road (whose genre is novel), which On the Road (whose release region is Greece) is based on?", "choices": ["J. G. Ballard", "Cormac McCarthy", "United States presidential election, 1792", "Department of Statistics Singapore", "J. K. Rowling", "Ian McEwan", "0361", "Leo Tolstoy", "Jack Kerouac", "Frank Herbert"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["On the Road"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["novel"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["On the Road"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["based on", "author"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"On the Road\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Greece\" . ?e_2 <pred:name> \"On the Road\" . ?e_2 <genre> ?e_4 . ?e_4 <pred:name> \"novel\" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }", "answer": "Jack Kerouac"}, {"question": "What is the connection between Restless (the one whose publication date is 2008) to Belgium?", "choices": ["narrative location", "costume designer", "candidacy in election", "country of origin", "successful candidate", "uses", "filming location", "patron saint", "military conflicts", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Restless"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2008", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Restless\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 2008 . ?e_2 <pred:name> \"Belgium\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Gerard Butler was cast as which character on the MTV Movie Award nominee for Best Movie, 300?", "choices": ["Jenkins", "Hades", "Leonidas I", "Dr. Marta Shearing", "Captain Antonio Corelli", "Harry Potter", "Skids", "Lotso", "Lightning McQueen", "Dot Warner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["300"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gerard Butler"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"300\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"MTV Movie Award for Best Movie\" . ?e_2 <pred:name> \"Gerard Butler\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Leonidas I"}, {"question": "What relation type does C0026857, the UMLS CUI of musculoskeletal disorder, map to?", "choices": ["broad match", "narrow match", "7400000", "\u0448\u0432\u0435 805", "1022", "exact match", "close match", "28", "150", "42gjk8jn5b26x4v"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musculoskeletal disorder"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["UMLS CUI", "C0026857", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"musculoskeletal disorder\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0026857\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "exact match"}, {"question": "Did Leroy Shield die before 1974?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leroy Shield"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1974", "<"]}], "sparql": "ASK { ?e <pred:name> \"Leroy Shield\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1974 ) .  }", "answer": "yes"}, {"question": "How is the Merlin originating in the USA titled?", "choices": ["Merlin", "Women in Love", "21 Jump Street", "Homeland", "The French Lieutenant's Woman", "The Golden Compass", "Final Fantasy: The Spirits Within", "Ordinary People", "A Prairie Home Companion", "The Three Musketeers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Merlin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Merlin\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <title> ?pv .  }", "answer": "Merlin"}, {"question": "What is Monmouthshire's native label?", "choices": ["Pisa", "Citt\u00e0 di San Marino", "Brunel University London", "\u0627\u0633\u0644\u0627\u0645 \u0622\u0628\u0627\u062f\u202c\u200e", "Wien", "State of Delaware", "Warszawa", "Puglia", "Siouxsie and the Banshees", "Sir Fynwy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monmouthshire"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Monmouthshire\" . ?e <native_label> ?pv .  }", "answer": "Sir Fynwy"}, {"question": "Regarding Rang De Basanti having the publication date 2006-06-29 where did it get published", "choices": ["Bahrain", "El Capitan Theatre", "Argentina", "Poland", "R\u00e4ttvik", "Slovakia", "Norway", "Germany", "Park City", "Pakistan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rang De Basanti"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2006-06-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Rang De Basanti\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-06-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is How I Met Your Mother related to Ernie Hudson?", "choices": ["screenwriter", "part of", "cast member", "terminus", "author", "main subject", "after a work by", "illustrator", "public holiday", "symptoms"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How I Met Your Mother"]}, {"function": "Find", "dependencies": [], "inputs": ["Ernie Hudson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"How I Met Your Mother\" . ?e_2 <pred:name> \"Ernie Hudson\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Of Maine counties bordering York County, which in turn borders Oxford County, which takes up the most area?", "choices": ["Hancock County", "Penobscot County", "Kennebec County", "Aroostook County", "Washington County", "York County", "Oxford County", "Franklin County", "Cumberland County", "Somerset County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oxford County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["York County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Maine"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"York County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Oxford County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oxford County"}, {"question": "How many operating systems have a public key fingerprint of 1CF7 FF6F ADF5 CA9F BE1B 8CB2 ED67 ECD6 5DCF 6AE7?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["public key fingerprint", "1CF7 FF6F ADF5 CA9F BE1B  8CB2 ED67 ECD6 5DCF 6AE7"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["operating system"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"operating system\" . ?e <public_key_fingerprint> ?pv . ?pv <pred:value> \"1CF7 FF6F ADF5 CA9F BE1B  8CB2 ED67 ECD6 5DCF 6AE7\" .  }", "answer": "1"}, {"question": "What number of Academy Awards have https://www.oscars.org/ as their official website?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.oscars.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.oscars.org/\" .  }", "answer": "2"}, {"question": "What is the connection between Chris Thile to singer-songwriter?", "choices": ["commissioned by", "facet of", "occupation", "illustrator", "general manager", "country for sport", "child astronomical body", "part of", "author", "official religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Thile"]}, {"function": "Find", "dependencies": [], "inputs": ["singer-songwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Thile\" . ?e_2 <pred:name> \"singer-songwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many industries were established before 1993 or whose IPTC Newscode is mediatopic/20000320?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1993", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPTC Newscode", "mediatopic/20000320"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["industry"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) .  } UNION { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000320\" .  } }", "answer": "6"}, {"question": "What city has LAU IE02404?", "choices": ["Limerick", "Plovdiv", "Mumbai", "Parma", "Bandung", "Cork", "Trieste", "Waterford", "Kilkenny", "Galway"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["LAU", "IE02404"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <LAU> ?pv . ?pv <pred:value> \"IE02404\" .  }", "answer": "Waterford"}, {"question": "About the person with birth name John Robert Cocker, tell me his or her British Museum person-institution.", "choices": ["157885", "89087", "171183", "10007", "86622", "205078", "204794", "52580", "139972", "122654"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "John Robert Cocker"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"John Robert Cocker\" . ?e <British_Museum_person-institution> ?pv .  }", "answer": "205078"}, {"question": "How is the 201151353 United States Dollar box office film Cinderella related to melodrama?", "choices": ["interests", "make-up artist", "work location", "genre", "dedicated to", "official symbol", "airline alliance", "main food source", "collection", "religious order"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cinderella"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "201151353 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["melodrama"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cinderella\" . ?e_1 <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"201151353\"^^xsd:double . ?e_2 <pred:name> \"melodrama\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which is shorter 24: Redemption or Franz Schubert (the one whose publication date is 1953-01-01)?", "choices": ["The Three Musketeers", "All Quiet on the Western Front", "A Christmas Carol", "The Goodbye Girl", "Shackleton", "The Late Shift", "24: Redemption", "Franz Schubert", "The Challenge", "The Music Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["24: Redemption"]}, {"function": "Find", "dependencies": [], "inputs": ["Franz Schubert"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1953-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"24: Redemption\" . } UNION { ?e <pred:name> \"Franz Schubert\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1953-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "24: Redemption"}, {"question": "What's the number of basketball teams in the United States of America?", "choices": ["30", "31", "32", "33", "34", "35", "36", "37", "38", "39"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "35"}, {"question": "When was Charlie Chaplin awarded the Golden Lion?", "choices": ["1632", "2010-12-15", "2000-06-07", "1972-01-01", "1985-10-01", "1771-01-01", "2008-02-01", "1979", "1946", "2009-05-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Chaplin"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Charlie Chaplin\" . ?e_2 <pred:name> \"Golden Lion\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1972-01-01"}, {"question": "How is the Benjamin Franklin published 1974-01-01 linked to the Peabody Award?", "choices": ["contains administrative territorial entity", "programming language", "relative", "award received", "approved by", "medical treatment", "enclave within", "office held by head of the organisation", "founded by", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1974-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Benjamin Franklin\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1974-01-01\"^^xsd:date . ?e_2 <pred:name> \"Peabody Award\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which one is smaller by area , Columbia County (the one whose official website is http://www.co.columbia.wi.us) or Jefferson County (the one that is an administrative division of Wisconsin) ?", "choices": ["Waukesha County", "Washington County", "Polk County", "Pierce County", "Jefferson County", "Columbia County", "La Crosse County", "Wood County", "Fond du Lac County", "Outagamie County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.columbia.wi.us"]}, {"function": "Find", "dependencies": [], "inputs": ["Wisconsin"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Columbia County\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.columbia.wi.us\" . } UNION { ?e <pred:name> \"Jefferson County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Wisconsin\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jefferson County"}, {"question": "Which movie is shorter, The Cure (the one whose genre is silent film) or 8 Women?", "choices": ["Neighbours", "Eve", "The Animatrix", "The Cure", "The Fugitive", "The Town", "David Copperfield", "Robin Hood", "8 Women", "Frankenstein"], "program": [{"function": "Find", "dependencies": [], "inputs": ["silent film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cure"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["8 Women"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Cure\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"silent film\" .   } UNION { ?e <pred:name> \"8 Women\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Cure"}, {"question": "When was the PolyGram Filmed Entertainment production of Fargo a New York Film Critics Circle Best Film winner?", "choices": ["2016-06-01", "2013-04-13", "1300", "2017-08-31", "1890", "1852", "1996", "1972-12-01", "1952-01-01", "1490"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PolyGram Filmed Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fargo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York Film Critics Circle Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Fargo\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"PolyGram Filmed Entertainment\" . ?e_2 <pred:name> \"New York Film Critics Circle Award for Best Film\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1996"}, {"question": "What is the connection between J. K. Rowling to tragicomedy?", "choices": ["nominated for", "genre", "facet of", "vehicle normally used", "public holiday", "parent organization", "league", "main subject", "has contributing factor", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. K. Rowling"]}, {"function": "Find", "dependencies": [], "inputs": ["tragicomedy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"J. K. Rowling\" . ?e_2 <pred:name> \"tragicomedy\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "The plot of You Only Live Twice, with director of photography Freddie Young, is set on how many landforms?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freddie Young"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["You Only Live Twice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["landform"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"You Only Live Twice\" . ?e_1 <director_of_photography> ?e_2 . ?e_2 <pred:name> \"Freddie Young\" .   }", "answer": "1"}, {"question": "How many acting awards are there?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["acting"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award disciplines or subjects", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> \"acting\" .   }", "answer": "9"}, {"question": "Which sea with Italy as a basin country is shallowest?", "choices": ["Caribbean Sea", "Worcester County", "Adriatic Sea", "Green Bay", "English Channel", "Waddy Wachtel", "Aegean Sea", "Alan Bennett", "Mediterranean Sea", "North Sea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["basin country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sea"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sea\" . ?e <basin_country> ?e_1 . ?e_1 <pred:name> \"Italy\" .  ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adriatic Sea"}, {"question": "Which is longer, the 22 minute X-Men or Glee?", "choices": ["Phineas and Ferb", "American Horror Story", "Six Feet Under", "Robot Chicken", "Bleak House", "Glee", "Game of Thrones", "Dancing with the Stars", "Saturday Night's Main Event", "X-Men"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Glee"]}, {"function": "Find", "dependencies": [], "inputs": ["X-Men"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "22 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Glee\" . } UNION { ?e <pred:name> \"X-Men\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"22\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Glee"}, {"question": "What is the connection between Bryan Ferry to Astralwerks?", "choices": ["record label", "significant person", "location of discovery", "student of", "rector", "basin country", "set in period", "killed by", "time period", "presenter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryan Ferry"]}, {"function": "Find", "dependencies": [], "inputs": ["Astralwerks"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bryan Ferry\" . ?e_2 <pred:name> \"Astralwerks\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Does the play depicted by Richard III (the one whose original language is Latin), have a title equal to Sherlock Holmes: A Game of Shadows?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard III"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["depicts", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["play"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["Sherlock Holmes: A Game of Shadows"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e_1 <depicts> ?e . ?e_1 <pred:name> \"Richard III\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"Latin\" .  ?e <title> ?pv . ?pv <pred:value> \"Sherlock Holmes: A Game of Shadows\" .  }", "answer": "no"}, {"question": "How is Demolition Man that was nominated for Saturn Award for Best Costume related to Rob Schneider?", "choices": ["honorific suffix", "student", "stated in", "does not have part", "sport", "contains settlement", "cast member", "diplomatic relation", "editor", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Costume"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Demolition Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rob Schneider"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Demolition Man\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Saturn Award for Best Costume\" . ?e_2 <pred:name> \"Rob Schneider\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Was the birth date of the person whose website is http://www.dionnewarwick.info before 1966?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.dionnewarwick.info"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1966", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.dionnewarwick.info\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1966 ) .  }", "answer": "yes"}, {"question": "Does the state of India that shares a border with Manipur (the one whose Indian census area code (2001) 14), have a FIPS 10-4 (countries and regions) equal to IN03?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manipur"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Indian census area code (2001)", "14"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of India"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 10-4 (countries and regions)"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["IN03"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Manipur\" . ?e_1 <Indian_census_area_code_(2001)> ?pv_1 . ?pv_1 <pred:value> \"14\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"IN03\" .  }", "answer": "yes"}, {"question": "Does the person who was nominated for the Academy Award for Best Animated Short Film (the award-winning work of this statement is Greetings Bait), have a birth date before 1971?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Short Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Greetings Bait"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1971", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Animated Short Film\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Greetings Bait\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1971 ) .  }", "answer": "yes"}, {"question": "Which concept is said to be the same as Earth (and is terrain feature of Indian Ocean)?", "choices": ["4th United States Congress", "Holes", "Palomar Observatory", "Brookline", "Le Monde's 100 Books of the Century", "world", "The Late Shift", "Robert Young", "24th Academy Awards", "Jean Smart"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indian Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located on terrain feature", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["said to be the same as", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["concept"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"concept\" . ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> \"Earth\" . ?e_2 <located_on_terrain_feature> ?e_1 . ?e_2 <pred:name> \"Indian Ocean\" .   }", "answer": "world"}, {"question": "Cliff Richard was the  voice actor of Toy Story (the one released in Sweden) as Buzz Lightyear?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Toy Story"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["voice actor", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Buzz Lightyear"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["pseudonym"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["Cliff Richard"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> \"Toy Story\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Sweden\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Buzz Lightyear\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"Cliff Richard\" .  }", "answer": "no"}, {"question": "Which county and administrative division of New York, which contains Chautauqua County, occupies the most area?", "choices": ["St. Lawrence County", "Madison County", "Albany County", "Chautauqua County", "Onondaga County", "Jefferson County", "Rensselaer County", "Saratoga County", "Cattaraugus County", "Fulton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chautauqua County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"New York\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Chautauqua County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "Which is shorter, Love Story published on 1942-01-01 or Extremely Loud and Incredibly Close?", "choices": ["Pleasantville", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "Extremely Loud and Incredibly Close", "Love Story", "The Towering Inferno", "The Fifth Element", "The Hunchback of Notre Dame", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Love Story"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1942-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Extremely Loud and Incredibly Close"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Love Story\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1942-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Extremely Loud and Incredibly Close\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Love Story"}, {"question": "What is James Wong Howe's ISNI?", "choices": ["0000 0001 1584 6824", "0000 0001 0800 408X", "0000 0001 2195 6763", "0000 0004 5894 8523", "0000 0001 2148 6597", "0000 0001 2129 5213", "0000 0001 2216 3036", "0000 0001 1474 9846", "0000 0001 0922 4666", "0000 0001 2137 5408"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Wong Howe"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"James Wong Howe\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2137 5408"}, {"question": "How many animated films, that originally aired on TV Tokyo, have their official website at http://www.tv-tokyo.co.jp/anime/naruto/movie08/index.html?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TV Tokyo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.tv-tokyo.co.jp/anime/naruto/movie08/index.html"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"TV Tokyo\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tv-tokyo.co.jp/anime/naruto/movie08/index.html\" .  }", "answer": "0"}, {"question": "What is the connection between Machete (the one whose distributor is United Artists) to United States of America?", "choices": ["lifestyle", "member of political party", "country of origin", "officeholder", "official language", "mascot", "military rank", "native language", "home port", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Machete"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Machete\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"United Artists\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is politician Scott Wilson's connection to Bates College?", "choices": ["talk show guest", "family name", "capital of", "original language of film or TV show", "given name", "founded by", "office held by head of the organisation", "educated at", "twinned administrative body", "affiliation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bates College"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Scott Wilson\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"politician\" . ?e_2 <pred:name> \"Bates College\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Who is the person whose work period (start) is in 2000 and whose Deutsche Synchronkartei actor-ID is 18556?", "choices": ["William Henry Harrison", "Max Fleischer", "Kareena Kapoor", "Jon Hamm", "Sylvester Stallone", "Zachary Quinto", "Rahul Dev Burman", "Richard Gere", "Anton Yelchin", "Nicole Scherzinger"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["work period (start)", "2000", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Deutsche Synchronkartei actor-ID", "18556"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> 2000 . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"18556\" .  }", "answer": "Kareena Kapoor"}, {"question": "Tell me th egovernment form with the nominal GDP exactly 3646728060.06463 United States dollar", "choices": ["Bolivia", "Niger", "India", "Colombia", "Thailand", "Germany", "Mozambique", "Belarus", "Tunisia", "Namibia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "3646728060.06463 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"3646728060.06463\"^^xsd:double .  }", "answer": "Niger"}, {"question": "Which has less area, Aroostook County or Washington County that borders Penobscot County?", "choices": ["Penobscot County", "Aroostook County", "Washington County", "Franklin County", "Hancock County", "Kennebec County", "Oxford County", "Somerset County", "York County", "Cumberland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aroostook County"]}, {"function": "Find", "dependencies": [], "inputs": ["Penobscot County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Aroostook County\" .  } UNION { ?e <pred:name> \"Washington County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Penobscot County\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Washington County"}, {"question": "Christopher Eccleston is cast in what role on Doctor Who, executive produced by Steven Moffat ?", "choices": ["Betty Brant", "Wreck-It Ralph", "Harriet Jones", "Janet Weiss", "Asher Talos", "Nikola Tesla", "Pamela Landy", "Speckles", "Ninth Doctor", "Hamilton Jordan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Moffat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Who"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Eccleston"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Doctor Who\" . ?e_1 <executive_producer> ?e_3 . ?e_3 <pred:name> \"Steven Moffat\" . ?e_2 <pred:name> \"Christopher Eccleston\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Ninth Doctor"}, {"question": "What are the number of songs whose publication date is before 1973 or whose ISWC is T-070.017.986-7 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1973", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["song"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISWC", "T-070.017.986-7"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["song"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"song\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1973 ) .  } UNION { ?e <ISWC> ?pv . ?pv <pred:value> \"T-070.017.986-7\" .  } }", "answer": "7"}, {"question": "How is Franklin County whose population is 30495 related to Maine?", "choices": ["exclave of", "parent organization", "main food source", "sponsor", "place of birth", "located in the administrative territorial entity", "participant of", "place of death", "founded by", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "30495", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Maine"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Franklin County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"30495\"^^xsd:double . ?e_2 <pred:name> \"Maine\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Regarding the person with the ISNI of 0000 0000 5516 5516, having a Twitter username of MasterPMiller, tell me the number of subscribers this user has.", "choices": ["8072", "908880", "434111", "192945", "44860", "116844", "9614", "194425", "1131807", "1960"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5516 5516"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "MasterPMiller", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 5516 5516\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"MasterPMiller\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "192945"}, {"question": "How many businesses are a child organization of Comcast and whose official color is burgundy?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Comcast"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Find", "dependencies": [], "inputs": ["burgundy"]}, {"function": "Relate", "dependencies": [3], "inputs": ["official color", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <parent_organization> ?e_1 . ?e_1 <pred:name> \"Comcast\" .  ?e <official_color> ?e_2 . ?e_2 <pred:name> \"burgundy\" .  }", "answer": "0"}, {"question": "What is the ISNI for the person whose official website is http://www.byrnerobotics.com/?", "choices": ["0000 0001 0656 2256", "0000 0000 4915 0334", "0000 0000 7299 1019", "0000 0001 0655 706X", "0000 0001 2122 4765", "0000 0004 0626 0882", "0000 0001 2177 5970", "0000 0001 1444 4938", "0000 0001 2029 8201", "0000 0001 1833 6029"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.byrnerobotics.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.byrnerobotics.com/\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0655 706X"}, {"question": "What language is associated with the film whose producer is Daniel Day-Lewis, having the official website http://www.miramax.com/movie/barbarian-invasions?", "choices": ["Azerbaijani", "Ewe", "Greek", "English", "Wolof", "Tamil", "Indonesian", "Yue Chinese", "British English", "Esperanto"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Day-Lewis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.miramax.com/movie/barbarian-invasions", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Daniel Day-Lewis\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/barbarian-invasions\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the earliest date for the painting that depicts mountain and began in 1503?", "choices": ["1934", "1958-03-19", "27", "-72000", "-170000", "1527", "1503", "1833-09-15", "-10500", "1833-11-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mountain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["depicts", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["painting"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inception", "1503", "earliest date"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"painting\" . ?e <depicts> ?e_1 . ?e_1 <pred:name> \"mountain\" .  ?e <inception> ?pv . ?pv <pred:year> 1503 . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <earliest_date> ?qpv .  }", "answer": "1503"}, {"question": "Among the departments of France that share a border with Pas-de-Calais, which has the smallest annual number of weddings?", "choices": ["Alpes-Maritimes", "Gironde", "Somme", "Aisne", "Manche", "Haute-Savoie", "Calvados", "Seine-et-Marne", "Bas-Rhin", "Nord"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pas-de-Calais"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["annual number of weddings", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Pas-de-Calais\" .  ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Somme"}, {"question": "Is a movie, derived from THe Sum of All Fears (the one whose OCLC control number is 23287312), 119 minutes long?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Sum of All Fears"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OCLC control number", "23287312"]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["119 minute", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"The Sum of All Fears\" . ?e_1 <OCLC_control_number> ?pv_1 . ?pv_1 <pred:value> \"23287312\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"119\"^^xsd:double .  }", "answer": "yes"}, {"question": "What is the birth name of the person whose instagram username is hitrecordjoe?", "choices": ["Valerie June Carter", "Benjamin Kubelsky", "Barbara Joan Streisand", "Matthew Richard Lucas", "Julia O'Hara Stiles", "\u0a13\u0a2e \u0a2a\u0a4d\u0a30\u0a15\u0a3e\u0a38\u0a3c \u0a2a\u0a41\u0a30\u0a40", "Heather Blaine Mitts", "Frank Patrick Herbert", "Christopher Edward Nolan", "Joseph Leonard Gordon-Levitt"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "hitrecordjoe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"hitrecordjoe\" . ?e <birth_name> ?pv .  }", "answer": "Joseph Leonard Gordon-Levitt"}, {"question": "When was Michael O'Neill (the one that is a cast member of Green Zone) born?", "choices": ["1947-09-23", "1966-06-28", "1955-05-16", "1904-10-02", "1927-03-18", "1948-03-06", "1914-12-02", "1947-04-04", "1915-12-12", "1970-12-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael O'Neill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Michael O'Neill\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Green Zone\" .  ?e <date_of_birth> ?pv .  }", "answer": "1947-04-04"}, {"question": "Is inception time of the law school having ISNI as 0000 0004 0521 2539 not in 1864?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0521 2539"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1864", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0521 2539\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1864 ) .  }", "answer": "yes"}, {"question": "Which country has less PPP GDP per capita, Thailand or Libera?", "choices": ["Thailand", "Namibia", "Mozambique", "Zimbabwe", "Italy", "Tunisia", "Colombia", "Germany", "Liberia", "Bolivia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thailand"]}, {"function": "Find", "dependencies": [], "inputs": ["Liberia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["PPP GDP per capita", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thailand\" .  } UNION { ?e <pred:name> \"Liberia\" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Liberia"}, {"question": "When did Seychelles have a nominal GDP of 30645121.0129499 United States dollars?", "choices": ["2018-10-01", "2013-04-13", "2018-10-05", "2008-01-01", "1914", "2008", "1603-12-16", "1972-01-01", "2001-03-14", "2001-12-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seychelles"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["nominal GDP", "30645121.0129499 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Seychelles\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"30645121.0129499\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1972-01-01"}, {"question": "Is http://www.clackamas.us the official website of Tia Carrere?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tia Carrere"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.clackamas.us"]}], "sparql": "ASK { ?e <pred:name> \"Tia Carrere\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.clackamas.us\" .  }", "answer": "no"}, {"question": "Which website represents the person with ISNI number 0000 0001 2142 2112?", "choices": ["https://www.apple.com/cn/ios/", "http://agata.rip", "http://www.uni-heidelberg.de/", "https://www.haskell.org", "http://www.warnerbros.com/#/page=movies&pid=f-5990906c/DEMOLITION_MAN&asset=057174/Demolition_Man_-_Trailer_2&type=video/", "http://www.utk.edu", "http://www.fujitv.co.jp", "http://www.johndebney.com/", "http://ibsen.nb.no/", "http://www.bxscience.edu/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2142 2112"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2142 2112\" . ?e <official_website> ?pv .  }", "answer": "http://www.johndebney.com/"}, {"question": "What is the connection between The Loss of a Teardrop Diamond to theft?", "choices": ["professorship", "make-up artist", "board member", "from fictional universe", "donated by", "narrative role", "programming paradigm", "main subject", "programming language", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Loss of a Teardrop Diamond"]}, {"function": "Find", "dependencies": [], "inputs": ["theft"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Loss of a Teardrop Diamond\" . ?e_2 <pred:name> \"theft\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "Which has fewer people, Strasbourg or Bhopal?", "choices": ["New Delhi", "Riga", "Bhopal", "Lausanne", "Mexico City", "Tallinn", "Sarajevo", "Moscow", "Doha", "Strasbourg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Strasbourg"]}, {"function": "Find", "dependencies": [], "inputs": ["Bhopal"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Strasbourg\" .  } UNION { ?e <pred:name> \"Bhopal\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Strasbourg"}, {"question": "Is Art Center College of Design represented online at the site web.archive.org/web/20080509170447/http://www.xmenthelaststanddvd.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Art Center College of Design"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://web.archive.org/web/20080509170447/http://www.xmenthelaststanddvd.com/"]}], "sparql": "ASK { ?e <pred:name> \"Art Center College of Design\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://web.archive.org/web/20080509170447/http://www.xmenthelaststanddvd.com/\" .  }", "answer": "no"}, {"question": "How many Twitter subscribers does the public company have that's set up in Nokia, with a population of 33210 and has the Twitter username of nokia?", "choices": ["1039694", "44261", "112451", "8817", "7", "22335", "513639", "94096", "935629", "2241539"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nokia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "33210", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["public company"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "nokia", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Nokia\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"33210\"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> \"nokia\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "2241539"}, {"question": "Which Oregon county has the capital of Salem (the one whose area is 127.220892 square kilometre)?", "choices": ["Oregon", "Columbia County", "Clackamas County", "Linn County", "Tillamook County", "Yamhill County", "Marion County", "Lake County", "Douglas County", "Jackson County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salem"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "127.220892 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Oregon"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Salem\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"127.220892\"^^xsd:double .   }", "answer": "Marion County"}, {"question": "Duran Duran's official website, http://duranduran.com, is in which language?", "choices": ["Swedish", "Italian", "Finnish", "American English", "Bashkir", "Macedonian", "English", "Lithuanian", "Standard Chinese", "Atikamekw"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duran Duran"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://duranduran.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Duran Duran\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://duranduran.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many food ingredients have the USDA NDB number of 11760?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["USDA NDB number", "11760"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" . ?e <USDA_NDB_number> ?pv . ?pv <pred:value> \"11760\" .  }", "answer": "1"}, {"question": "For the private university that is Chris Noth's school, what is the start time for its IPv4 routing prefix of 128.36.0.0/16?", "choices": ["2011-09-14", "1983-08-15", "1961-09-28", "1992-04-27", "1992-09-23", "1643-08-22", "1000-12-25", "2003-08-01", "2006-05-12", "1920"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Noth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["IPv4 routing prefix", "128.36.0.0/16", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Chris Noth\" .  ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"128.36.0.0/16\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPv4_routing_prefix> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1983-08-15"}, {"question": "Which has less area, Mosul or Belfast?", "choices": ["Mosul", "Belfast", "Trieste", "Abidjan", "Kilkenny", "Dundee", "Santo Domingo", "Kingston", "Chihuahua", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mosul"]}, {"function": "Find", "dependencies": [], "inputs": ["Belfast"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mosul\" .  } UNION { ?e <pred:name> \"Belfast\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Belfast"}, {"question": "Who weighs less, Kevin McCarthy (the one that is drafted by Philadelphia Flyers) or Chris Cooper (the one that is related to sport American football)?", "choices": ["Rahul Dev Burman", "Kevin McCarthy", "William Henry Harrison", "Simon Cowell", "Chris Cooper", "Max Fleischer", "James E. Reilly", "Paul Simon", "Richard Gere", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Flyers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin McCarthy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [4], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Cooper"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kevin McCarthy\" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> \"Philadelphia Flyers\" .   } UNION { ?e <pred:name> \"Chris Cooper\" . ?e <sport> ?e_2 . ?e_2 <pred:name> \"American football\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kevin McCarthy"}, {"question": "What legislator heads the government of California (that is the filming location of Pirates of the Caribbean: On Stranger Tides?", "choices": ["councillor", "attorney general", "make-up artist", "speaker of the United States House of Representatives", "president", "Secretary of State", "secretary of state", "state senator", "seiy\u016b", "Member of Congress"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: On Stranger Tides"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["office held by head of government", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislator"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislator\" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> \"California\" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> \"Pirates of the Caribbean: On Stranger Tides\" .   }", "answer": "Member of Congress"}, {"question": "Where was Taking Woodstock published on 7th January 2010 ?", "choices": ["Sweden", "Brazil", "Czech Republic", "Thailand", "Chile", "Hungary", "Berlin", "North America", "Ireland", "Sydney"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taking Woodstock"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2010-01-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Taking Woodstock\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-01-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "The person with CANTIC-ID a10430969 has how many interests in the field of philosophy?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10430969"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["interests", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["philosophy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"philosophy\" . ?e_1 <interests> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a10430969\" .   }", "answer": "2"}, {"question": "What is the character role of Leonard Nimoy in Star Trek (the one that is a notable work of Zoe Saldana)?", "choices": ["Whitey Duvall", "Spock", "Jorah Mormont", "Philoctetes", "Senator Stern", "Eric Forman", "Daphne", "Stick", "Speckles", "Che Guevara"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zoe Saldana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Leonard Nimoy"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Zoe Saldana\" . ?e_2 <pred:name> \"Leonard Nimoy\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Spock"}, {"question": "How many film characters have Christopher Lee as a performer or whose pseudonym is Dr. Merkw\u00fcrdigliebe?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Lee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film character"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["pseudonym", "Dr. Merkw\u00fcrdigliebe"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film character"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film character\" .  { ?e <performer> ?e_1 . ?e_1 <pred:name> \"Christopher Lee\" .  } UNION { ?e <pseudonym> ?pv . ?pv <pred:value> \"Dr. Merkw\u00fcrdigliebe\" .  } }", "answer": "2"}, {"question": "How is the detective fiction work known as Sherlock Holmes related to the buddy film genre?", "choices": ["airline alliance", "genre", "creator", "twinned administrative body", "doctoral advisor", "copyright holder", "superhuman feature or ability", "start point", "broadcast by", "legal form"], "program": [{"function": "Find", "dependencies": [], "inputs": ["detective fiction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sherlock Holmes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["buddy film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sherlock Holmes\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"detective fiction\" . ?e_2 <pred:name> \"buddy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Is the point in time prior to 2014 for 1986 NCAA Men's Division I Basketball Tournament?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1986 NCAA Men's Division I Basketball Tournament"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2014", "<"]}], "sparql": "ASK { ?e <pred:name> \"1986 NCAA Men's Division I Basketball Tournament\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) .  }", "answer": "yes"}, {"question": "When was the birth of the voice actor of the character Moses on The Prince of Egypt ?", "choices": ["1946-05-13", "1927-06-08", "1943-01-26", "1959-12-31", "1885-01-27", "1962-07-01", "1954-04-07", "1949-02-06", "1985-03-29", "1946-09-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Prince of Egypt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["character role", "Moses"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> \"The Prince of Egypt\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Moses\" . ?e <date_of_birth> ?pv .  }", "answer": "1959-12-31"}, {"question": "What is the number of National Football League Drafts not occurring in 2005 or taking place after 2005?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2005", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2005", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["National Football League Draft"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } }", "answer": "5"}, {"question": "When did Didier Six stop being a member of the Cercle Brugge K.S.V.,?", "choices": ["1980-01-01", "2013-09-29", "2014", "1983-01-01", "2003-08-01", "2015-05-17", "1945-09-02", "1846-07-09", "2012-12-13", "1766"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Didier Six"]}, {"function": "Find", "dependencies": [], "inputs": ["Cercle Brugge K.S.V."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Didier Six\" . ?e_2 <pred:name> \"Cercle Brugge K.S.V.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1980-01-01"}, {"question": "What is the date of birth for Jeremy Davies (the one that lives in Hertfordshire)?", "choices": ["1947-01-01", "1953-08-27", "1965-09-11", "1925-02-17", "1935-01-01", "1910-12-10", "1958-11-21", "1964-10-13", "1973", "1973-10-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hertfordshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeremy Davies"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jeremy Davies\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Hertfordshire\" .  ?e <date_of_birth> ?pv .  }", "answer": "1935-01-01"}, {"question": "What is the U.S. city that is the capital of the Massachusetts county whose area is equal to 192 square kilometres?", "choices": ["Covington", "Cambridge", "Columbus", "Salem", "Worcester", "Northampton", "Springfield", "Franklin", "Lowell", "Los Angeles"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "192 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Massachusetts"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Massachusetts\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"192\"^^xsd:double .   }", "answer": "Worcester"}, {"question": "For the counties of Texas which were not established in 1840, which one has the largest area?", "choices": ["Cameron County", "Hidalgo County", "Collin County", "Montgomery County", "Dallas County", "Harris County", "Denton County", "Jefferson County", "Bexar County", "Galveston County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1840", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1840 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Harris County"}, {"question": "Which county is smaller in size, Mecklenburg County or Franklin County (the one whose population is 60619)?", "choices": ["Polk County", "Wake County", "Franklin County", "Cumberland County", "Guilford County", "Brunswick County", "Madison County", "Gaston County", "Davidson County", "Buncombe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mecklenburg County"]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "60619", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mecklenburg County\" . } UNION { ?e <pred:name> \"Franklin County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"60619\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Franklin County"}, {"question": "How many states are there whose Human Development Index is not equal to 0.4 ?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Human Development Index", "0.4", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0.4\"^^xsd:double ) .  }", "answer": "23"}, {"question": "When did Lionel Messi join the national football team of Argentina?", "choices": ["1990-12-01", "1996-04-01", "1972-12-21", "1789-04-21", "1861-01-29", "1799-07-27", "1981-01-05", "2005", "1974-06-18", "1997-07-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lionel Messi"]}, {"function": "Find", "dependencies": [], "inputs": ["Argentina national football team"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lionel Messi\" . ?e_2 <pred:name> \"Argentina national football team\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2005"}, {"question": "When was the electorate of San Juan (the one whose population is 104559) 79656?", "choices": ["2002-01-11", "1934", "2013-01-11", "1867-12-03", "1834-12-01", "1408-01-01", "2003-07-30", "1881", "1968-01-01", "1969"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Juan"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "104559", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["electorate", "79656", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"San Juan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"104559\"^^xsd:double . ?e <electorate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"79656\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <electorate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-01-11"}, {"question": "How many Academy Awards ceremonies existed before 1962?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "1962", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }", "answer": "15"}, {"question": "What person's birth date is before 1975 and birth date is 1951-01-17?", "choices": ["Bruce Campbell", "Richard Gere", "Pauly Shore", "William Henry Harrison", "Sylvester Stallone", "Bindu", "Gulshan Grover", "Max Fleischer", "Roger Moore", "Leslie Caron"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1975", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["date of birth", "1951-01-17", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1975 ) . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1951-01-17\"^^xsd:date .  }", "answer": "Bindu"}, {"question": "What is the connection between Brno to Vienna (the one that is the capital of Austrian Empire)?", "choices": ["geographic distribution", "this taxon is source of", "office held by head of government", "employer", "contributor(s) to the creative work", "appointed by", "twinned administrative body", "dedicated to", "natural product of taxon", "donated by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brno"]}, {"function": "Find", "dependencies": [], "inputs": ["Austrian Empire"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vienna"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brno\" . ?e_2 <pred:name> \"Vienna\" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> \"Austrian Empire\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the connection between Danny McBride (the one whose date of birth is 1945-11-20) to Somerville (the one whose population is 75754)?", "choices": ["has parts of the class", "participant of", "occupation", "film release region", "film distribute region", "student of", "godparent", "has effect", "place of birth", "doctoral advisor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danny McBride"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1945-11-20", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Somerville"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "75754", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Danny McBride\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1945-11-20\"^^xsd:date . ?e_2 <pred:name> \"Somerville\" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"75754\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Carrie, featuring Emilie de Ravin as a cast member, has what connection to Patricia Clarkson?", "choices": ["chairperson", "superhuman feature or ability", "signatory", "lowest point", "medical condition", "update method", "publisher", "appointed by", "cast member", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emilie de Ravin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carrie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Patricia Clarkson"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carrie\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Emilie de Ravin\" . ?e_2 <pred:name> \"Patricia Clarkson\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "The person identified by ISNI 0000 0003 6190 7768 is a cast member of which TV series?", "choices": ["Independence", "Nixon", "Bleak House", "Desperate Housewives", "Superman II: The Richard Donner Cut", "Law & Order: Special Victims Unit", "Superman II", "The Sopranos", "Weeds", "Chicago Hope"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6190 7768"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6190 7768\" .   }", "answer": "Chicago Hope"}, {"question": "Did Bob Kane die before", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Kane"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1993", "<"]}], "sparql": "ASK { ?e <pred:name> \"Bob Kane\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) .  }", "answer": "no"}, {"question": "How is Star Wars Episode V: The Empire Strikes Back, with Julian Glover as a cast member, linked to Lucasfilm?", "choices": ["ancestral home", "commander of", "religion", "production company", "permanent resident of", "penalty", "soundtrack album", "performer", "relative", "named after"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julian Glover"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode V: The Empire Strikes Back"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lucasfilm"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Wars Episode V: The Empire Strikes Back\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Julian Glover\" . ?e_2 <pred:name> \"Lucasfilm\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "Of the Oregon counties that do not have a population of 55000000, which covers the least amount of area?", "choices": ["Jackson County", "Clackamas County", "Lake County", "Klamath County", "Yamhill County", "Deschutes County", "Multnomah County", "Columbia County", "Tillamook County", "Linn County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "55000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"55000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Multnomah County"}, {"question": "Which has the smallest area among the New Jersey cities whose elevation above sea level is less than 370 metres?", "choices": ["Camden", "Trenton", "Hoboken", "Atlantic City", "Jersey City", "Elizabeth", "New Brunswick", "Passaic", "Plainfield", "Paterson"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "370 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"370\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hoboken"}, {"question": "Which movie is longer, Lawrence of Arabia or The Mission (the one that was nominated for Golden Globe Award for Best Director)?", "choices": ["The Mission", "Lawrence of Arabia", "Training Day", "Talk to Her", "Rebecca", "Pleasantville", "The Fifth Element", "The Towering Inferno", "A Prairie Home Companion", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence of Arabia"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Director"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Mission"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lawrence of Arabia\" .  } UNION { ?e <pred:name> \"The Mission\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Globe Award for Best Director\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lawrence of Arabia"}, {"question": "How many time zones include the sovereign state country that has a diplomatic relation with Bangladesh (whose inflation rate is 12.8 percentage) in the subject of Bangladesh\u2013Philippines relations?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "12.8 percentage", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [2], "inputs": ["statement is subject of", "Bangladesh\u2013Philippines relations"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["time zone"]}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"time zone\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> \"Bangladesh\" . ?e_2 <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"12.8\"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Bangladesh\u2013Philippines relations\" .   }", "answer": "1"}, {"question": "Of television series with episodes greater than 9100, which one has the least amount of episodes?", "choices": ["Guiding Light", "All My Children", "As the World Turns", "Search for Tomorrow", "One Life to Live", "Eat Bulaga!", "Entertainment Tonight", "General Hospital", "Coronation Street", "Days of our Lives"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "9100", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"9100\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Search for Tomorrow"}, {"question": "Leo McCarey won the Academy Award for Best Story for which work?", "choices": ["Statute of Westminster 1931", "Canada\u2013Democratic Republic of the Congo relations", "2009 MTV Movie Awards", "Bangladesh\u2013Libya relations", "17th Academy Awards", "Canada\u2013Grenada relations", "63rd Tony Awards", "Burundi\u2013Democratic Republic of the Congo border", "Pakistan\u2013Syria relations", "Taiwan\u2013United Kingdom relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leo McCarey"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Story"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Leo McCarey\" . ?e_2 <pred:name> \"Academy Award for Best Story\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "17th Academy Awards"}, {"question": "What's the link between Charles Band and Los Angeles?", "choices": ["sexual orientation", "father", "symptoms", "narrator", "place of birth", "drafted by", "continent", "voice type", "diaspora", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Band"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charles Band\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Who has more kids, Debra Messing or Chris Evans who is an employee of Channel 4?", "choices": ["William Henry Harrison", "Rahul Dev Burman", "Paul Simon", "Simon Cowell", "James E. Reilly", "Chris Evans", "Max Fleischer", "David Byrne", "Debra Messing", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Debra Messing"]}, {"function": "Find", "dependencies": [], "inputs": ["Channel 4"]}, {"function": "Relate", "dependencies": [1], "inputs": ["employer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Evans"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Debra Messing\" .  } UNION { ?e <pred:name> \"Chris Evans\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"Channel 4\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chris Evans"}, {"question": "What is the local dialing code of the province of Italy that contains the administrative division Naples (which has a Wikidata property model)?", "choices": ["0737", "944", "081", "601", "10", "20", "01738", "0481", "6122", "08936"], "program": [{"function": "Find", "dependencies": [], "inputs": ["model"]}, {"function": "Relate", "dependencies": [0], "inputs": ["Wikidata property", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Naples"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of Italy"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Naples\" . ?e_2 <Wikidata_property> ?e_1 . ?e_2 <pred:name> \"model\" .  ?e <local_dialing_code> ?pv .  }", "answer": "081"}, {"question": "Who was the reviewer for the Belgium national football team that has a ranking of 64?", "choices": ["Rotten Tomatoes", "Empire", "Charity Navigator", "Gene Siskel", "FIFA", "Innovation, Science and Economic Development Canada", "Metacritic", "AllMovie", "International Congress of Distinguished Awards", "Peter Travers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "64", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Belgium national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"64\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "When did the person whose CANTIC-ID is a11788513 die?", "choices": ["2007-08-30", "1871-02-18", "2012-06-07", "1923-08-02", "1991-08-22", "1963-02-11", "1992-01-07", "2010-05-31", "1977-04-27", "1828-11-19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11788513"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11788513\" . ?e <date_of_death> ?pv .  }", "answer": "1963-02-11"}, {"question": "Which cast member of Fair Game (the one that has Nassar as a cast member) was educated at Juilliard School?", "choices": ["Sam Shepard", "Ty Burrell", "William Henry Harrison", "Max Fleischer", "Tyler Perry", "Aretha Franklin", "Sylvester Stallone", "David Denman", "Sean Penn", "Tom McCarthy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juilliard School"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Nassar"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fair Game"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Juilliard School\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"Fair Game\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"Nassar\" .  }", "answer": "David Denman"}, {"question": "Which liberal arts college with under 14000 students has the most students?", "choices": ["Ohio Wesleyan University", "Trinity College", "Wheaton College", "Barnard College", "Grinnell College", "Colorado College", "Scottish Church College", "Hampshire College", "Denison University", "Lafayette College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "14000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"14000\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Wheaton College"}, {"question": "What is the connection between Roddy McDowall to lung cancer?", "choices": ["religious order", "participant", "subject has role", "general manager", "author", "said to be the same as", "approved by", "inspired by", "update method", "cause of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roddy McDowall"]}, {"function": "Find", "dependencies": [], "inputs": ["lung cancer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Roddy McDowall\" . ?e_2 <pred:name> \"lung cancer\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "Which central bank issues the euro, the currency of the EU?", "choices": ["10", "90361", "20", "15300 square kilometre", "WikimediaGeneral", "2326", "19 volume percent", "European Central Bank", "8763 minute", "94523"], "program": [{"function": "Find", "dependencies": [], "inputs": ["European Union"]}, {"function": "Find", "dependencies": [], "inputs": ["euro"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["currency", "central bank/issuer"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"European Union\" . ?e_2 <pred:name> \"euro\" . ?e_1 <currency> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <currency> ; <pred:fact_t> ?e_2 ] <central_bank/issuer> ?qpv .  }", "answer": "European Central Bank"}, {"question": "When did the historic county of England with 23903 sq km have 5234700 people living in it?", "choices": ["1977-12-01", "1279", "1900-12-01", "1980-04-01", "2026", "1919-12-01", "2011", "1430", "1946", "2004-06-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "23903 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historic county of England"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "5234700", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historic county of England\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"23903\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"5234700\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "How was it determined that Augusta County has a population of 74314?", "choices": ["administrative division valid at the time point of history to which the data relates", "Canada 2011 Census", "United States Census", "de facto", "national estimation", "Census", "demographic balance", "Russian Empire Census", "questionnaire", "tradition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augusta County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "74314", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Augusta County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"74314\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "How many wars did the Kingdom of Great Britain participate in and were caused by John Fiedler?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "Find", "dependencies": [], "inputs": ["John Fiedler"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has cause", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["war"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"Kingdom of Great Britain\" .  ?e <has_cause> ?e_2 . ?e_2 <pred:name> \"John Fiedler\" .  }", "answer": "0"}, {"question": "What is the time period that 741651 is the population of the administrative territorial entity that is the twinned administrative body of Taipei starting in the year 1983?", "choices": ["2013-09-01", "1918-12-31", "2009-02-08", "1911-05-28", "2011", "1996-12-01", "2016-03-03", "1994-03-21", "1905-12-01", "2018-10-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taipei"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1983", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "741651", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Taipei\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1983 . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"741651\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "When was George Harrison, with Munzinger IBA 00000014906, no longer a member of The Beatles, with the Twitter handle thebeatles?", "choices": ["1970", "1940-07-21", "2015-08-02", "1933", "1793-03-04", "1999-09-01", "1936-04-19", "1903-01-01", "1822-12-31", "1871-01-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Beatles"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "thebeatles"]}, {"function": "Find", "dependencies": [], "inputs": ["George Harrison"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["Munzinger IBA", "00000014906"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["has part", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Beatles\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"thebeatles\" . ?e_2 <pred:name> \"George Harrison\" . ?e_2 <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000014906\" . ?e_1 <has_part> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1970"}, {"question": "How are Russia and F.C. Zenit St. Petersburg related?", "choices": ["basin country", "source of income", "contains settlement", "league", "country", "contributing factor of", "chief executive officer", "office held by head of state", "production designer", "production company"], "program": [{"function": "Find", "dependencies": [], "inputs": ["F.C. Zenit St. Petersburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"F.C. Zenit St. Petersburg\" . ?e_2 <pred:name> \"Russia\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the number of Primetime Emmy Awards with the inception time prior to 1979 or that got nominated to Bewitched (which has 254 episodes)", "choices": ["13", "14", "15", "16", "17", "18", "19", "20", "21", "22"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1979", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Bewitched"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of episodes", "254", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["Primetime Emmy Award"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1979 ) .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Bewitched\" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"254\"^^xsd:double .  } }", "answer": "22"}, {"question": "How many bowed string instruments have the Hornbostel-Sachs classification 513 or are the instruments used by Sam Bush?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "513"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["bowed string instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Sam Bush"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["bowed string instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"bowed string instrument\" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"513\" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Sam Bush\" .  } }", "answer": "2"}, {"question": "How many sessions of legislature opening later than 1791 included Barack Obama as a participant?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1791", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "Find", "dependencies": [], "inputs": ["Barack Obama"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1791 ) . ?e_1 <part_of> ?e . ?e_1 <pred:name> \"Barack Obama\" .  }", "answer": "2"}, {"question": "MTV has what relationship to the United States of America?", "choices": ["language used", "mouth of the watercourse", "place of publication", "make-up artist", "architectural style", "capital of", "head of state", "country", "taxon rank", "lowest point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"MTV\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is Love Affair (the one that has Dan Castellaneta as a cast member) less than 250 minutes long?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dan Castellaneta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Love Affair"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["250 minute", "<"]}], "sparql": "ASK { ?e <pred:name> \"Love Affair\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Dan Castellaneta\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"250\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What was the next nominee for Goya Award for Best Film after All About My Mother ?", "choices": ["Kazuo Ishiguro", "El Bola", "2007 NCAA Men's Division I Basketball Tournament", "Adele", "Merate Astronomical Observatory", "Star Trek \u2165: The Undiscovered Country", "Prometheus", "Star Trek: Nemesis", "Hootie & the Blowfish", "Natalie Cole"], "program": [{"function": "Find", "dependencies": [], "inputs": ["All About My Mother"]}, {"function": "Find", "dependencies": [], "inputs": ["Goya Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "followed by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"All About My Mother\" . ?e_2 <pred:name> \"Goya Award for Best Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <followed_by> ?qpv .  }", "answer": "El Bola"}, {"question": "When did County Mayo have a population of 130638?", "choices": ["1976-01-01", "1976", "1947-10-01", "1987", "2013-01-11", "2017-01-09", "1971", "1984-04-09", "1998-12-01", "2011"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Mayo"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "130638", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"County Mayo\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"130638\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "What is the connection between Eve Myles to Welsh people?", "choices": ["ethnic group", "language of work or name", "basic form of government", "chairperson", "present in work", "history of topic", "film regional debut venue", "ancestral home", "from fictional universe", "feast day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eve Myles"]}, {"function": "Find", "dependencies": [], "inputs": ["Welsh people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eve Myles\" . ?e_2 <pred:name> \"Welsh people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What city is located in Mecklenburg-Vorpommern?", "choices": ["Glasgow", "Bangkok", "Groningen", "Cork", "Kingston", "Rostock", "Southampton", "Stirling", "Canterbury", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mecklenburg-Vorpommern"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Mecklenburg-Vorpommern\" .   }", "answer": "Rostock"}, {"question": "What is the start date that \u041b\u044e\u0431\u043b\u044f\u043d\u0430 is the official name of the city whose official website is http://www.ljubljana.si?", "choices": ["1801", "2011-01-20", "1721-10-22", "1993-05-10", "1991-06-25", "1972-08-26", "2012-07-25", "1813-11-20", "1918", "1997-08-11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ljubljana.si"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official name", "\u041b\u044e\u0431\u043b\u044f\u043d\u0430", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ljubljana.si\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u041b\u044e\u0431\u043b\u044f\u043d\u0430\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1918"}, {"question": "What  is the name of Raj Kapoor's child who started work in 1970?", "choices": ["Richard Roundtree", "Rishi Kapoor", "Sylvester Stallone", "David Byrne", "George Miller", "Max Fleischer", "William Henry Harrison", "Don Johnson", "Simon Cowell", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raj Kapoor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["child", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["work period (start)", "1970", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <child> ?e . ?e_1 <pred:name> \"Raj Kapoor\" .  ?e <work_period_(start)> ?pv . ?pv <pred:year> 1970 .  }", "answer": "Rishi Kapoor"}, {"question": "What state of the United States has the FIPS 5-2 numeric code (US states) 28 and an establishment date that is after 1787?", "choices": ["Iowa", "Massachusetts", "Illinois", "Hawaii", "Florida", "Colorado", "South Dakota", "Mississippi", "Montana", "Texas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 5-2 numeric code (US states)", "28"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1787", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <FIPS_5-2_numeric_code_(US_states)> ?pv . ?pv <pred:value> \"28\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1787 ) .  }", "answer": "Mississippi"}, {"question": "When did Edinburgh become the twinned administrative body of Nice?", "choices": ["1664-05-04", "2007-09-19", "1958", "2000-02-06", "1963-12-16", "1969-12-22", "1979-12-31", "1954-02-19", "1244", "2010-02-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "Find", "dependencies": [], "inputs": ["Nice"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Edinburgh\" . ?e_2 <pred:name> \"Nice\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1958"}, {"question": "How many television stations are operated by NBCUniversal or were established before 1973?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBCUniversal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["operator", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1973", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" .  { ?e <operator> ?e_1 . ?e_1 <pred:name> \"NBCUniversal\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1973 ) .  } }", "answer": "10"}, {"question": "How many dramas are the genre of Hampstead (the one whose genre is comedy-drama)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["comedy-drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hampstead"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["drama"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drama\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Hampstead\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"comedy-drama\" .   }", "answer": "1"}, {"question": "Where was a visual artwork, titled I Know Who Killed Me, published on 3rd January 2008 ?", "choices": ["Uruguay", "London", "Germany", "Tribeca Film Festival", "Croatia", "Italy", "Seattle International Film Festival", "Bahrain", "Taiwan", "El Capitan Theatre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "I Know Who Killed Me"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2008-01-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"I Know Who Killed Me\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-01-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which has higher elevation above sea level, Budapest or Bangalore?", "choices": ["Bangalore", "Moscow", "Budapest", "Doha", "Lausanne", "Mexico City", "New Delhi", "Riga", "Sarajevo", "Manila"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Budapest"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangalore"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Budapest\" .  } UNION { ?e <pred:name> \"Bangalore\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bangalore"}, {"question": "What is the number of geographic regions that have an ethnic group the person with the ISNI 0000 0000 6302 5468", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6302 5468"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["geographic region"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6302 5468\" .   }", "answer": "0"}, {"question": "What music genre is Boyz II Men famous for?", "choices": ["neofolk", "hip hop soul", "big beat", "neo soul", "avant-garde music", "boy band", "new jack swing", "a cappella", "Hi-NRG", "classical music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boyz II Men"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Boyz II Men\" .   }", "answer": "new jack swing"}, {"question": "Of industries with over 530 episodes, which is longest in run-time?", "choices": ["Western Desert Campaign", "The Colbert Report", "The Daily Show", "Second Intifada", "FreeBSD", "Today", "Orange", "Good Morning America", "Napoleonic Wars", "manufacturing"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "530", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"530\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Good Morning America"}, {"question": "Which has fewer people,Solihull (the one whose local dialing code is 0121) or Rochdale (the one whose population is 110194)?", "choices": ["Doncaster", "Royal Tunbridge Wells", "Blackburn", "Macclesfield", "Colchester", "Rochdale", "Edmonton", "Wigan", "Solihull", "South Shields"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Solihull"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0121"]}, {"function": "Find", "dependencies": [], "inputs": ["Rochdale"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "110194", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Solihull\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"0121\" . } UNION { ?e <pred:name> \"Rochdale\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"110194\"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rochdale"}, {"question": "What is the relationship between Kuk Harrell and the 51st Annual Grammy Awards?", "choices": ["destination point", "religion", "student", "father", "next lower rank", "award received", "winner", "indigenous to", "location of final assembly", "nutrient"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kuk Harrell"]}, {"function": "Find", "dependencies": [], "inputs": ["51st Annual Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kuk Harrell\" . ?e_2 <pred:name> \"51st Annual Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How many miniseries clock in at under 13.8 hours?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "13.8 hour", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <duration> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> ?v . FILTER ( ?v < \"13.8\"^^xsd:double ) .  }", "answer": "0"}, {"question": "Michelle Forbes was cast as which character on Star Trek: The Next Generation, which subsequently spun off Star Trek: Deep Space Nine?", "choices": ["Fiedler", "Abraham Lincoln", "Ro Laren", "Charlie Pace", "Alessandro Cagliostro", "Lara Lor-Van", "Mortimer Folchart", "John Reed", "John Adams", "Grumpy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: Deep Space Nine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["series spin-off", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Next Generation"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Michelle Forbes"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek: The Next Generation\" . ?e_1 <series_spin-off> ?e_3 . ?e_3 <pred:name> \"Star Trek: Deep Space Nine\" . ?e_2 <pred:name> \"Michelle Forbes\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Ro Laren"}, {"question": "Which movie is shorter, The Other Boleyn Girl or Dressed to Kill (the one whose production company is 20th Century Fox)?", "choices": ["The Hunchback of Notre Dame", "Pleasantville", "Talk to Her", "Curse of the Golden Flower", "The Other Boleyn Girl", "The Towering Inferno", "Dressed to Kill", "The Fifth Element", "Training Day", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Other Boleyn Girl"]}, {"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dressed to Kill"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Other Boleyn Girl\" .  } UNION { ?e <pred:name> \"Dressed to Kill\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dressed to Kill"}, {"question": "Riga was in the Eastern European Time zone during which period?", "choices": ["inception", "Louis XV of France", "French First Republic", "First French Empire", "French Fourth Republic", "past", "Louis XIV of France", "daylight saving time", "1910s", "standard time"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Riga"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern European Time"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["located in time zone", "valid in period"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Riga\" . ?e_2 <pred:name> \"Eastern European Time\" . ?e_1 <located_in_time_zone> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_time_zone> ; <pred:fact_t> ?e_2 ] <valid_in_period> ?qpv .  }", "answer": "standard time"}, {"question": "How many basketball teams are located in the United States city with a native label of Poughkeepsie?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Poughkeepsie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["basketball team"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <native_label> ?pv . ?pv <pred:value> \"Poughkeepsie\" .   }", "answer": "0"}, {"question": "Which area is smaller, Providence County or Greenville County?", "choices": ["Greene County", "Orange County", "Lee County", "Delaware County", "African Union", "Cass County", "Washoe County", "Providence County", "Greenville County", "Kent County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Providence County"]}, {"function": "Find", "dependencies": [], "inputs": ["Greenville County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Providence County\" .  } UNION { ?e <pred:name> \"Greenville County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Providence County"}, {"question": "How many fictional professions either are performed by Benjamin Bratt or were born as Thomas Wayne?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benjamin Bratt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Thomas Wayne"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional profession"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" .  { ?e <performer> ?e_1 . ?e_1 <pred:name> \"Benjamin Bratt\" .  } UNION { ?e <birth_name> ?pv . ?pv <pred:value> \"Thomas Wayne\" .  } }", "answer": "2"}, {"question": "How much area is occupied by Tasmania, which has proximity to the Indian Ocean?", "choices": ["1572 square kilometre", "140914 square kilometre", "2630.22 hectare", "65022 square kilometre", "31753254 square metre", "25809 square kilometre", "65.244957 square kilometre", "2754000 square kilometre", "188.4 square kilometre", "684 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indian Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tasmania"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tasmania\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Indian Ocean\" .  ?e <area> ?pv .  }", "answer": "65022 square kilometre"}, {"question": "How is Haim Saban related to talent manager ?", "choices": ["source of income", "designed by", "occupation", "inspired by", "newspaper format", "registered with", "location of discovery", "domain of saint or deity", "language used", "spouse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haim Saban"]}, {"function": "Find", "dependencies": [], "inputs": ["talent manager"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Haim Saban\" . ?e_2 <pred:name> \"talent manager\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Does Carlisle (that is the birthplace of Mike Figgis) or Thunder Bay (whose Statistics Canada Geographic code is 3558004) have the lower population?", "choices": ["Bergen", "Chihuahua", "Kingston", "Thunder Bay", "Kilkenny", "Dundee", "Santo Domingo", "Abidjan", "Trieste", "Carlisle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Figgis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carlisle"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Thunder Bay"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["Statistics Canada Geographic code", "3558004"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carlisle\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Mike Figgis\" . } UNION { ?e <pred:name> \"Thunder Bay\" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> \"3558004\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Carlisle"}, {"question": "When was the association football club whose country is Finland founded?", "choices": ["1811", "1630-09-28", "2000-06-22", "1600", "1922", "1781-03-28", "1963", "1790", "1804-08-11", "1893-05-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Finland\" .  ?e <inception> ?pv .  }", "answer": "1922"}, {"question": "When did Amy Irving win the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture?", "choices": ["1985-01-01", "1971", "1603", "1963-05-15", "2012-01-15", "1937-05-23", "1916-01-01", "2012-04-11", "2011-01-12", "2001"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Amy Irving"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Amy Irving\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "What is the beginning date of Kayserispor?", "choices": ["1662", "1869-10-16", "1066", "1966", "1947-11-04", "1936-01-15", "1887-03-04", "1875-01-01", "1772-03-12", "1971-03-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kayserispor"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kayserispor\" . ?e <inception> ?pv .  }", "answer": "1966"}, {"question": "Which work is awarded when Ellen Burstyn received the Academy Award for Best Actress?", "choices": ["Mad Men", "Vs.", "Alice Doesn't Live Here Anymore", "Easy A", "The Bridge of San Luis Rey", "Forever Free", "St. Elsewhere", "Stranger in a Strange Land", "The Avengers", "American Beauty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ellen Burstyn"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ellen Burstyn\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Alice Doesn't Live Here Anymore"}, {"question": "When did Didier Six become a member of FC Metz?", "choices": ["2013-02-28", "1985-01-01", "1960-01-20", "1918-03-11", "1930-05-03", "1825-01-01", "1891-07-30", "1772-09-22", "2014-02-03", "2005-02-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Didier Six"]}, {"function": "Find", "dependencies": [], "inputs": ["FC Metz"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Didier Six\" . ?e_2 <pred:name> \"FC Metz\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1985-01-01"}, {"question": "For the democracy that shares a border with Libya (the subject of this statement is Libya\u2013Niger border), at what time point is its inflation rate  -4.2 percentage?", "choices": ["2006-07-01", "1986-01-01", "2002-01-01", "2016-08-09", "2015-09-03", "2009-06-03", "1961-06-22", "1997-12-23", "2012-02-01", "1936-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Libya"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Libya\u2013Niger border"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["democracy"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inflation rate", "-4.2 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Libya\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Libya\u2013Niger border\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"-4.2\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1986-01-01"}, {"question": "How many fictional persons are an ethnic group of the ethnic community of Candice Bergen (who is a citizen of the United States of America)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Candice Bergen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic community"]}, {"function": "Relate", "dependencies": [5], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["fictional human"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"ethnic community\" . ?e_2 <ethnic_group> ?e_1 . ?e_2 <pred:name> \"Candice Bergen\" . ?e_2 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" .   }", "answer": "0"}, {"question": "Does Israel (the one that has a diplomatic relation with Norway) or Spain have greater age of candidacy ?", "choices": ["Cambodia", "Spain", "Russian Soviet Federative Socialist Republic", "Israel", "Benin", "Samoa", "Weimar Republic", "South Sudan", "Socialist Federal Republic of Yugoslavia", "Kiribati"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norway"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["age of candidacy", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Israel\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Norway\" .   } UNION { ?e <pred:name> \"Spain\" .  } ?e <age_of_candidacy> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Israel"}, {"question": "What is the Twitter username for the person whose official website is http://www.cher.com?", "choices": ["mitchpileggi1", "newordernow", "davidalangrier", "TowerOfLondon", "louisck", "cher", "PFCCSKA_en", "SirDavidBBC", "carmeloanthony", "joshgroban"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cher.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cher.com\" . ?e <Twitter_username> ?pv .  }", "answer": "cher"}, {"question": "Is Toby Jones or Simon Cowell the taller of the two?", "choices": ["Babyface", "Simon Cowell", "Rahul Dev Burman", "Toby Jones", "James E. Reilly", "William Henry Harrison", "Richard Gere", "David Byrne", "Max Fleischer", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toby Jones"]}, {"function": "Find", "dependencies": [], "inputs": ["Simon Cowell"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Toby Jones\" .  } UNION { ?e <pred:name> \"Simon Cowell\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Simon Cowell"}, {"question": "Wheat geographic region, a continent, with a big city with whose German district key of 06611 ?", "choices": ["Transylvania", "Tyrol", "North America", "Southern California", "Atlantic Canada", "Lake District", "Eurasia", "Pacific Ocean", "Antarctica", "Bohemia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["German district key", "06611"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["continent", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["geographic region"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <continent> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"big city\" . ?e_1 <German_district_key> ?pv . ?pv <pred:value> \"06611\" .   }", "answer": "Eurasia"}, {"question": "What has John Bailey , born on 1st January 1786, in common with English?", "choices": ["organizer", "spouse", "production designer", "dialect of", "has cause", "newspaper format", "risk factor", "has part", "languages spoken, written or signed", "donated by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Bailey"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1786-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Bailey\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1786-01-01\"^^xsd:date . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Is Maastricht or Leiden smaller, in terms of area?", "choices": ["Groningen", "Maastricht", "Leiden", "Nijmegen", "Hilversum", "Arnhem", "Dordrecht", "Rotterdam", "Alkmaar", "Delft"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maastricht"]}, {"function": "Find", "dependencies": [], "inputs": ["Leiden"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Maastricht\" .  } UNION { ?e <pred:name> \"Leiden\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Leiden"}, {"question": "Jim Taylor of Charlton Athletic F.C. was a member of Gillingham F.C. until which date?", "choices": ["1707", "2016-10-28", "1917-01-01", "1993-01-15", "1992-05-09", "1962-01-01", "1923-08-02", "1867-03-29", "2002-02-26", "1958-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlton Athletic F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gillingham F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jim Taylor\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Charlton Athletic F.C.\" . ?e_2 <pred:name> \"Gillingham F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1958-01-01"}, {"question": "Does ISNI 0000 0001 2124 1960 correspond to the director of photography of Ferris Bueller's Day Off?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ferris Bueller's Day Off"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2124 1960"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> \"Ferris Bueller's Day Off\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2124 1960\" .  }", "answer": "no"}, {"question": "What point in time did Joanne Woodward receive the Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie?", "choices": ["1910-12-31", "1952-03-20", "1942-02-26", "1660", "1737-01-01", "1985", "2014-07-17", "1495-01-01", "1973-03-27", "1943-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joanne Woodward"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joanne Woodward\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1985"}, {"question": "Jackie Brown, originally in English, has what connection to LisaGay Hamilton?", "choices": ["languages spoken, written or signed", "broadcast by", "child astronomical body", "update method", "replaces", "has parts of the class", "place of publication", "statistical leader", "cast member", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["LisaGay Hamilton"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jackie Brown\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"LisaGay Hamilton\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How much does the person born on 1940-12-03 weigh?", "choices": ["146.105528 atomic mass unit", "77 kilogram", "180 pound", "68 kilogram", "50 kilogram", "23.985 atomic mass unit", "386.355 atomic mass unit", "195 pound", "97 kilogram", "284.272 atomic mass unit"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1940-12-03", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["mass"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1940-12-03\"^^xsd:date . ?e <mass> ?pv .  }", "answer": "180 pound"}, {"question": "When was Tom Hanks born?", "choices": ["1988-11-06", "1904-01-18", "1917-06-07", "1954-06-22", "1910-06-18", "1982-07-18", "1929-12-09", "1947-09-20", "1958-12-17", "1956-07-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tom Hanks\" . ?e <date_of_birth> ?pv .  }", "answer": "1956-07-09"}, {"question": "For the association football club that has a headquarter location in Derry and Twitter username of derrycityfc what is the number of subscribers?", "choices": ["51647", "56626", "22380", "533379", "3292", "215053", "17045544", "21537", "331161", "63786"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Derry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "derrycityfc", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Derry\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"derrycityfc\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "21537"}, {"question": "Which media franchise with less than 8300 episodes one has the most episodes?", "choices": ["Dragon Ball", "Jurassic Park", "Star Trek", "Shrek", "Mighty Morphin Power Rangers", "The Little Mermaid", "Transformers", "Star Wars", "From Dusk till Dawn", "Law & Order"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "8300", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"8300\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Trek"}, {"question": "What is the animated film has Tom Hanks as a cast member?", "choices": ["Extremely Loud and Incredibly Close", "Who Framed Roger Rabbit", "The Polar Express", "Apollo 13", "The Lion King", "A Christmas Carol", "Heavy Metal", "Angels & Demons", "Chrono Crusade", "Cast Away"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tom Hanks\" .   }", "answer": "The Polar Express"}, {"question": "Tell me the relationship between Detective Dee and the Mystery of the Phantom Flame to Vietnam", "choices": ["lifestyle", "librettist", "replaces", "item operated", "film release region", "partner", "airline hub", "opposite of", "official symbol", "industry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Detective Dee and the Mystery of the Phantom Flame"]}, {"function": "Find", "dependencies": [], "inputs": ["Vietnam"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Detective Dee and the Mystery of the Phantom Flame\" . ?e_2 <pred:name> \"Vietnam\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Tell me the non Metropolitan District that is Norfolk administrative division, which shares a border with Lincolnshire, and that has a TOID of 7000000000007016.", "choices": ["King's Lynn and West Norfolk", "Kettering", "West Dorset", "Craven", "North Norfolk", "Guildford", "Chichester", "Great Yarmouth", "Carlisle", "South Somerset"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lincolnshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan district"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["TOID", "7000000000007016"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["non-metropolitan district"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Norfolk\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Lincolnshire\" .  ?e <TOID> ?pv . ?pv <pred:value> \"7000000000007016\" .  }", "answer": "King's Lynn and West Norfolk"}, {"question": "Is 2--74734 the Dewey Decimal Classification for the California county that contains Brisbane that borders Oakland?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oakland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brisbane"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of California"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["2--74734"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Brisbane\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Oakland\" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--74734\" .  }", "answer": "no"}, {"question": "What is Sarah Michelle Gellar's role in The Grudge?", "choices": ["J.D.", "David Palmer", "Alessandro Cagliostro", "Doctor Manhattan", "Nick Fury", "Michael Jackson", "Buck Barrow", "Gene Kranz", "Karen Davis", "Gregory House"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Grudge"]}, {"function": "Find", "dependencies": [], "inputs": ["Sarah Michelle Gellar"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Grudge\" . ?e_2 <pred:name> \"Sarah Michelle Gellar\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Karen Davis"}, {"question": "When was the movie whose official website is http://www.hbo.com/films/elizabeth published?", "choices": ["1988-07-15", "2005-11-14", "1992-12-18", "1989-01-01", "2008-04-18", "1995-09-29", "2011-06-17", "1999-05-15", "2003-02-20", "2005-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hbo.com/films/elizabeth"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hbo.com/films/elizabeth\" . ?e <publication_date> ?pv .  }", "answer": "2005-01-01"}, {"question": "Which state in India whose elevation is not 4600 meters above sea level has the smallest rural population?", "choices": ["Jammu and Kashmir", "Kerala", "Himachal Pradesh", "Goa", "Punjab", "Karnataka", "Haryana", "Odisha", "Jharkhand", "Andhra Pradesh"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "4600 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["rural population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"4600\"^^xsd:double ) . ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Goa"}, {"question": "Was the time point of 81st Academy Awards before 2003?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["81st Academy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2003", "<"]}], "sparql": "ASK { ?e <pred:name> \"81st Academy Awards\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2003 ) .  }", "answer": "no"}, {"question": "Which is shorter, The Count of Monte Cristo (the one whose publication date is 1961-01-01) or Leaving Las Vegas?", "choices": ["Talk to Her", "Training Day", "Pleasantville", "Leaving Las Vegas", "Curse of the Golden Flower", "The Towering Inferno", "The Count of Monte Cristo", "The Fifth Element", "A Prairie Home Companion", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Count of Monte Cristo"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1961-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Leaving Las Vegas"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Count of Monte Cristo\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1961-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Leaving Las Vegas\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Leaving Las Vegas"}, {"question": "Who is the human whose Twitter username is ddlovato and has a subscription number of 56886114?", "choices": ["Richard Gere", "Demi Lovato", "Sylvester Stallone", "Max Fleischer", "William Henry Harrison", "Paul Simon", "Rahul Dev Burman", "James E. Reilly", "David Byrne", "Babyface"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ddlovato"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "56886114", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ddlovato\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"56886114\"^^xsd:double .  }", "answer": "Demi Lovato"}, {"question": "Which one of census-designated places located in Montgomery county (population 1059000) lies in the lowest place in relation to sea level ?", "choices": ["Avi Arad", "Powers Boothe", "Independence", "Silver Spring", "McLean", "Towson", "Law & Order: Criminal Intent", "A Prophet", "Stanford", "Bethesda"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1059000", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["census-designated place"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Montgomery County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1059000\"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bethesda"}, {"question": "What is the ISNI for the person who is the director of Mrs. Miniver?", "choices": ["0000 0001 0802 6182", "0000 0004 0588 2292", "0000 0004 0414 9988", "0000 0001 2369 5309", "0000 0000 2410 5553", "0000 0001 0991 9716", "0000 0001 2308 2158", "0000 0001 2097 4740", "0000 0001 1032 9414", "0000 0000 8214 3494"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mrs. Miniver"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Mrs. Miniver\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1032 9414"}, {"question": "What person can show 00000020939 as the Munzinger IBA and also that he or she was cast in Splash, shot in New York City ?", "choices": ["Sylvester Stallone", "Simon Cowell", "Tom Hanks", "William Henry Harrison", "David Byrne", "Eugene Levy", "Max Fleischer", "Daryl Hannah", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020939"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Splash"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020939\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Splash\" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> \"New York City\" .  }", "answer": "Daryl Hannah"}, {"question": "What is the connection between Eminem to English?", "choices": ["designed to carry", "languages spoken, written or signed", "sidekick of", "mountain range", "this taxon is source of", "airline alliance", "signatory", "coextensive with", "separated from", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eminem"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eminem\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Which individual was the Academy Award nominee for Best Cinematography for A Very Long Engagement?", "choices": ["Julian Fellowes", "David S. Ward", "Allen Daviau", "Diana Ossana", "Hawk Ostby", "William Powell", "Barry Ackroyd", "Bruno Delbonnel", "Fred Zinnemann", "William H. Reynolds"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Very Long Engagement"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"A Very Long Engagement\" . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Bruno Delbonnel"}, {"question": "What is the starting date that \u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0421\u043e\u0446\u0456\u044f\u043b\u0456\u0441\u0442\u0438\u0447\u043d\u0430 \u0420\u0430\u0434\u044f\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430 is the native name of the unitary state using Ukrainian for the official language?", "choices": ["2010-08-27", "1919-03-10", "1964-09-17", "1993-07-01", "1991-08-30", "1979", "1911-01-17", "2000-05-05", "1807-01-19", "1873-11-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukrainian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["native label", "\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0421\u043e\u0446\u0456\u044f\u043b\u0456\u0441\u0442\u0438\u0447\u043d\u0430 \u0420\u0430\u0434\u044f\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <official_language> ?e_1 . ?e_1 <pred:name> \"Ukrainian\" .  ?e <native_label> ?pv . ?pv <pred:value> \"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0421\u043e\u0446\u0456\u044f\u043b\u0456\u0441\u0442\u0438\u0447\u043d\u0430 \u0420\u0430\u0434\u044f\u043d\u0441\u044c\u043a\u0430 \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0456\u043a\u0430\" . [ <pred:fact_h> ?e ; <pred:fact_r> <native_label> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1919-03-10"}, {"question": "Which Martin Balsam work was nominated for an Academy Award for Best Supporting Actor?", "choices": ["38th Academy Awards", "Bulgaria\u2013Turkey border", "Canada\u2013Germany relations", "Chad\u2013Nigeria border", "Argentina\u2013Sweden relations", "Brazil\u2013Democratic Republic of the Congo relations", "Austria\u2013Czech Republic relations", "Guinea-Bissau\u2013United States relations", "Algeria\u2013Morocco relations", "The Beatles in India"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin Balsam"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Martin Balsam\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "38th Academy Awards"}, {"question": "What is the official website of the football club association that is headquartered in ODessa, where Alexander Pushkin lives?", "choices": ["https://www.vs.ch", "http://www.elizapatriciadushku.com", "http://www.sonymusic.co.jp/", "https://www.eugene-or.gov/", "http://www.angers-sco.fr/", "http://www.makati.gov.ph", "http://www.sonypictures.com/movies/angermanagement", "http://www.valvesoftware.com/", "http://www.smashingpumpkins.com", "http://chernomorets.odessa.ua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexander Pushkin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Odessa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Odessa\" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> \"Alexander Pushkin\" .  ?e <official_website> ?pv .  }", "answer": "http://chernomorets.odessa.ua"}, {"question": "What is the street address of Corpus Christi College (the one that is a part of University of Oxford)?", "choices": ["5000 MacArthur Blvd, Oakland, CA, 94613", "426 Auditorium Rd", "208 South Akard Street", "1700 Wade Hampton Boulavard, Greenville, SC, 29614-0001", "202 Welch Hall, Ypsilanti, MI, 48197", "1600 Grand Ave, Saint Paul, MN, 55105-1899", "Merton Street", "Via Aldo Rossi 8", "Stadionplein 4", "2000 Lakeshore Drive, New Orleans, LA, 70148"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Oxford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Corpus Christi College"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Oxford"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["headquarters location", "located at street address"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Corpus Christi College\" . ?e_3 <has_part> ?e_1 . ?e_3 <pred:name> \"University of Oxford\" . ?e_2 <pred:name> \"Oxford\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }", "answer": "Merton Street"}, {"question": "How is Virginia (the one whose producer is Gus Van Sant) related to Ed Harris ?", "choices": ["feast day", "cast member", "mother", "father", "official language", "participant of", "stated in", "architectural style", "officially opened by", "domain of saint or deity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gus Van Sant"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ed Harris"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Virginia\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"Gus Van Sant\" . ?e_2 <pred:name> \"Ed Harris\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When is the Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series won by Cyndi Lauper?", "choices": ["1969", "1977-11-01", "2017-09-14", "1994-10-25", "2004-03-17", "1904", "2004-08-05", "2009-01-25", "2000-02-06", "1995"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Cyndi Lauper"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series\" . ?e_2 <pred:name> \"Cyndi Lauper\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1995"}, {"question": "What is the relationship between Abilene to United States of America?", "choices": ["mother", "country", "owner of", "manner of death", "source of material", "medical treatment", "followed by", "doctoral student", "participant", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Abilene"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Abilene\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Who was the winning individual when The Best Years of Our Lives was the Academy Award recipient for Best Film Editing?", "choices": ["South Korea\u2013European Union relations", "Kenya\u2013Taiwan relations", "Ecuador\u2013Malaysia relations", "19th Academy Awards", "Saint Vincent and the Grenadines\u2013United States relations", "Peru\u2013Spain relations", "Gustavo Cerati dies after four years in coma", "Australia\u2013Malta relations", "Mexico\u2013Pakistan relations", "Afghanistan\u2013Germany relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Best Years of Our Lives"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Best Years of Our Lives\" . ?e_2 <pred:name> \"Academy Award for Best Film Editing\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "19th Academy Awards"}, {"question": "The visual artwork titled A Fish Called Wanda was released in what location on 1989-01-20?", "choices": ["Sweden", "Mexico", "Portugal", "Russia", "Europe", "Bolivia", "Switzerland", "Venice Film Festival", "Quebec", "Belgium"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "A Fish Called Wanda"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1989-01-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"A Fish Called Wanda\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1989-01-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Switzerland"}, {"question": "Which directional border does Prince George's County have in common with Washington, D.C.?", "choices": ["south-southwest", "west", "north-northwest", "south", "southeast", "east", "west-northwest", "north", "southwest", "northeast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prince George's County"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "direction relative to location"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Prince George's County\" . ?e_2 <pred:name> \"Washington, D.C.\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }", "answer": "west"}, {"question": "Which association football club has Swansea City A.F.C. member John Mahoney, who played 18 games, as a member?", "choices": ["Middlesbrough F.C.", "Crewe Alexandra F.C.", "Preston North End F.C.", "Roda JC Kerkrade", "Stoke City F.C.", "S.C. Braga", "Hibernian F.C.", "Stade Brestois 29", "Swansea City A.F.C.", "Zamalek SC"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swansea City A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Mahoney"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of matches played/races/starts", "18", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"John Mahoney\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Swansea City A.F.C.\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"18\"^^xsd:double .  }", "answer": "Crewe Alexandra F.C."}, {"question": "Java, created 1995-05-23, influenced how many programming languages?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Java"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1995-05-23", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["programming language"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"programming language\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Java\" . ?e_1 <inception> ?pv . ?pv <pred:date> \"1995-05-23\"^^xsd:date .   }", "answer": "3"}, {"question": "When did the civil war that is the main subject of Gettysburg (the one that origins from United States of America) end?", "choices": ["1858-06-20", "1585", "1977-01-01", "1865-05-10", "1815-02-18", "1862-10-20", "1192", "1980-12-14", "1928-08-12", "1945-04-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gettysburg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["civil war"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"civil war\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Gettysburg\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <end_time> ?pv .  }", "answer": "1865-05-10"}, {"question": "Does Rochdale (ISO 3166-2 code GB-RCH) or Bradford (population 531200) occupy a smaller area?", "choices": ["Stockport", "Newcastle upon Tyne", "Bury", "Walsall", "Leeds", "Solihull", "Birmingham", "Rochdale", "Wakefield", "Sheffield"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rochdale"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "GB-RCH"]}, {"function": "Find", "dependencies": [], "inputs": ["Bradford"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "531200", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rochdale\" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> \"GB-RCH\" . } UNION { ?e <pred:name> \"Bradford\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"531200\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rochdale"}, {"question": "What is the connection between The Savages to London Film Critics Circle Award for Actress of the Year?", "choices": ["dissertation submitted to", "subsidiary", "location of formation", "exclave of", "properties for this type", "interests", "nominated for", "author", "position played on team / speciality", "award disciplines or subjects"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Savages"]}, {"function": "Find", "dependencies": [], "inputs": ["London Film Critics Circle Award for Actress of the Year"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Savages\" . ?e_2 <pred:name> \"London Film Critics Circle Award for Actress of the Year\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Is Veronica Mars's title (the one that has Bob Gunton as a cast member) Mar adentro?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Gunton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Veronica Mars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Mar adentro"]}], "sparql": "ASK { ?e <pred:name> \"Veronica Mars\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Bob Gunton\" .  ?e <title> ?pv . ?pv <pred:value> \"Mar adentro\" .  }", "answer": "no"}, {"question": "What is the connection between Bill Evans (the one that is educated at Jackson State University) to Meridian (the one whose elevation (above sea level) is 105 metre)?", "choices": ["place of birth", "part of", "exported to", "presenter", "voice actor", "substitute/deputy/replacement of office/officeholder", "separated from", "shares border with", "works in collection", "narrative location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackson State University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Meridian"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["elevation above sea level", "105 metre", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bill Evans\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Jackson State University\" . ?e_2 <pred:name> \"Meridian\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"105\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What is the connection between Basic Instinct to MTV Movie Award for Most Desirable Female?", "choices": ["head of government", "member of sports team", "enclave within", "film release region", "film distribute region", "educated at", "next lower rank", "main subject", "office contested", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Basic Instinct"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Most Desirable Female"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Basic Instinct\" . ?e_2 <pred:name> \"MTV Movie Award for Most Desirable Female\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which individual produced the visual artwork titled Enron: The Smartest Guys in the Room?", "choices": ["Tommy Lee", "Harvey Weinstein", "Charles Rosher", "Matt Stone", "David Mandel", "Jim Henson", "Kevin Costner", "Dustin Hoffman", "Jim Taylor", "Alex Gibney"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Enron: The Smartest Guys in the Room"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Enron: The Smartest Guys in the Room\" .   }", "answer": "Alex Gibney"}, {"question": "Which Bronx native is cast in the Dimension Films production of From Dusk till Dawn ?", "choices": ["Harvey Keitel", "Gregory Nicotero", "Cheech Marin", "Sylvia Sidney", "Kelly Preston", "Nine", "Salma Hayek", "Tracy Morgan", "Ellen Barkin", "Lawrence Bender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dimension Films"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["From Dusk till Dawn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["The Bronx"]}, {"function": "Relate", "dependencies": [6], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"From Dusk till Dawn\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"Dimension Films\" .  ?e <place_of_birth> ?e_3 . ?e_3 <pred:name> \"The Bronx\" .  }", "answer": "Lawrence Bender"}, {"question": "Which one has less running time, The Apartment (the one filmed in Madrid) or The Three Musketeers (the one produced by William Hanna)?", "choices": ["Ponyo on the Cliff by the Sea", "The Three Musketeers", "Superman", "A Christmas Carol", "Code Geass", "My-HiME", "The Apartment", "Wonder Woman", "Magic Knight Rayearth", "Anastasia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madrid"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Apartment"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["William Hanna"]}, {"function": "Relate", "dependencies": [4], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Apartment\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Madrid\" .   } UNION { ?e <pred:name> \"The Three Musketeers\" . ?e <producer> ?e_2 . ?e_2 <pred:name> \"William Hanna\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Three Musketeers"}, {"question": "What is the relation between Greene County and Albemarle County?", "choices": ["shares border with", "destination point", "genre", "nominated for", "candidacy in election", "currency", "musical conductor", "professorship", "airline alliance", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "18403", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Albemarle County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greene County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"18403\"^^xsd:double . ?e_2 <pred:name> \"Albemarle County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Sean Hayes was a SAG Award winner for Outstanding Performance by an Ensemble in which Comedy Series?", "choices": ["Girl in Landscape", "Will & Grace", "Nevermind", "Seascape", "Days of Heaven", "A Wild Hare", "The New Spirit", "Lyra's Oxford", "My Foolish Heart", "The Rockford Files"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Sean Hayes"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series\" . ?e_2 <pred:name> \"Sean Hayes\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Will & Grace"}, {"question": "Does Duke University or SOAS, University of London have the smaller student body?", "choices": ["Pennsylvania State University", "Imperial College London", "Duke University", "Presidency University", "King's College London", "McMaster University", "SOAS, University of London", "University of Manchester", "McNeese State University", "University of Tehran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duke University"]}, {"function": "Find", "dependencies": [], "inputs": ["SOAS, University of London"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Duke University\" .  } UNION { ?e <pred:name> \"SOAS, University of London\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "SOAS, University of London"}, {"question": "What is the relationship between 2009 Major League Baseball season and Pittsburgh Pirates?", "choices": ["draft pick from school", "kit supplier", "hair color", "participant", "conflict", "father", "office held by head of government", "developer", "present in work", "penalty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2009 Major League Baseball season"]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Pirates"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2009 Major League Baseball season\" . ?e_2 <pred:name> \"Pittsburgh Pirates\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "What is Julia Ormond's date of birth?", "choices": ["1960-10-03", "1944-01-23", "1956-09-08", "1963-08-02", "1955-11-30", "1880-01-17", "1965-01-04", "1947-06-24", "1723-02-23", "1967-06-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julia Ormond"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Julia Ormond\" . ?e <date_of_birth> ?pv .  }", "answer": "1965-01-04"}, {"question": "When did the private university whose subreddit is columbia have a student count of 27942?", "choices": ["2014", "2006-10-18", "2003-02-19", "1936-12-01", "1998", "2013-04-13", "2016-08-31", "2000-08-09", "2007-04-18", "2012-01-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "columbia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["students count", "27942", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private university\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"columbia\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"27942\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <students_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014"}, {"question": "What sovereign state has the basic government structure of constitutional monarchy and citizens called the Sarde people?", "choices": ["Kingdom of Sardinia", "Afghanistan", "Bhutan", "Switzerland", "Socialist Federal Republic of Yugoslavia", "Australia", "Kiribati", "Cambodia", "Weimar Republic", "Russian Soviet Federative Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["constitutional monarchy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["basic form of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["demonym", "Sarde"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <basic_form_of_government> ?e_1 . ?e_1 <pred:name> \"constitutional monarchy\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Sarde\" .  }", "answer": "Kingdom of Sardinia"}, {"question": "Who is shorter, Tabitha St. Germain or Maya Rudolph?", "choices": ["William Henry Harrison", "Sylvester Stallone", "Simon Cowell", "Maya Rudolph", "James E. Reilly", "David Byrne", "Max Fleischer", "Tabitha St. Germain", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tabitha St. Germain"]}, {"function": "Find", "dependencies": [], "inputs": ["Maya Rudolph"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tabitha St. Germain\" .  } UNION { ?e <pred:name> \"Maya Rudolph\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tabitha St. Germain"}, {"question": "Which area is smaller, Tuscarawas County or Hamilton County (the one that is an administrative division of Ohio)?", "choices": ["Tuscarawas County", "Stark County", "Hamilton County", "Wood County", "Mahoning County", "Wayne County", "Erie County", "Jefferson County", "Summit County", "Cuyahoga County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuscarawas County"]}, {"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamilton County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tuscarawas County\" .  } UNION { ?e <pred:name> \"Hamilton County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Ohio\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hamilton County"}, {"question": "Is the population of a county of California containing Coronado (the one whose elevation (above sea level) is 5 metre), determined using demographic balance,  7 million people ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coronado"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "5 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of California"]}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["population", "determination method", "demographic balance"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["7000000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Coronado\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"5\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"7000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"demographic balance\" .  }", "answer": "yes"}, {"question": "What is the subject of the statement that Going My Way (that received an Academy Award for Best Actor) was nominated for an Academy Award for Best Story?", "choices": ["Israel\u2013Zimbabwe relations", "Laos\u2013Vietnam border", "member state of the Council of Europe", "Denmark\u2013Zambia relations", "Philippines\u2013Taiwan relations", "17th Academy Awards", "Armenia\u2013Denmark relations", "France\u2013Georgia relations", "South Africa\u2013United Kingdom relations", "China\u2013Somalia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Going My Way"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Story"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Going My Way\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Actor\" . ?e_2 <pred:name> \"Academy Award for Best Story\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "17th Academy Awards"}, {"question": "What is the official website of Bel Ami?", "choices": ["http://www.beograd.rs", "http://cn.nytimes.com/", "http://www.spe.sony.com/movies/airforceone/index.html", "http://www.godsandmonsters.net/", "http://www.whip-it.net/", "http://www.co.warren.oh.us", "https://www.mannheim.de/", "http://www.belami-movie.info/", "http://www.jcvd-online.com", "http://www.sbc.net/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Bel Ami"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Bel Ami\" . ?e <official_website> ?pv .  }", "answer": "http://www.belami-movie.info/"}, {"question": "When was Beck who works in Leipzig first represented by the website www.schneeschnee.com?", "choices": ["1965-12-21", "2013-01-26", "1977-05-20", "2005-12-01", "2009-05-02", "1812-04-30", "1991-04-09", "1977-04-01", "2004-05-01", "2003"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leipzig"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beck"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.schneeschnee.com/", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Beck\" . ?e <work_location> ?e_1 . ?e_1 <pred:name> \"Leipzig\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.schneeschnee.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2003"}, {"question": "What academic discipline matches a person whose IPI name number is 00087046168 (the name by which it is recorded of this statement is WATERS ROGER) ?", "choices": ["English Studies", "electrical engineering", "international relations", "classics", "biochemistry", "choir", "Yellow Submarine", "Philadelphia", "soprano", "bass"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPI name number", "00087046168"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["named as", "WATERS ROGER"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["voice type", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["academic discipline"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e_1 <voice_type> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <IPI_name_number> ?pv . ?pv <pred:value> \"00087046168\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv . ?qpv <pred:value> \"WATERS ROGER\" .   }", "answer": "bass"}, {"question": "What is the character role of Nicolas Cage in The Family Man (the one whose director is Brett Ratner)?", "choices": ["Mrs. Bennet", "Jean-Luc Picard", "Idi Amin", "Sabretooth", "Laurie Strode", "Skeeter Bronson", "Jack Campbell", "Kingpin", "Marvin Eriksen, Sr", "Cyrus Vance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brett Ratner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Family Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nicolas Cage"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Family Man\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Brett Ratner\" . ?e_2 <pred:name> \"Nicolas Cage\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Jack Campbell"}, {"question": "What is the number of independent record labels that have sovereign state as the country and Charlotte rampling as a citizen?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte Rampling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["independent record label"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent record label\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Charlotte Rampling\" .   }", "answer": "3"}, {"question": "What is the publication date for the novel mostly describing the American Civil War?", "choices": ["2015-03-27", "1991-09-26", "2008-09-07", "2012-09-24", "2007-03-12", "1936-06-10", "2015-09-14", "1994-11-03", "2009-12-24", "2010-11-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Civil War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["novel"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"novel\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"American Civil War\" .  ?e <publication_date> ?pv .  }", "answer": "1936-06-10"}, {"question": "Which screenwriter served as director of photography on How the West Was Won?", "choices": ["Freddie Francis", "Kareem Abdul-Jabbar", "Quentin Tarantino", "Robert Rodriguez", "Cecil B. DeMille", "Charles Lang", "William H. Daniels", "Chris Elliott", "Milton R. Krasner", "Joseph LaShelle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["How the West Was Won"]}, {"function": "Relate", "dependencies": [3], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"screenwriter\" .  ?e_2 <director_of_photography> ?e . ?e_2 <pred:name> \"How the West Was Won\" .  }", "answer": "Charles Lang"}, {"question": "regarding the person with pseudonym Anson McDonalds, was he or she born other than 1946?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Anson MacDonald"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1946", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> \"Anson MacDonald\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1946 ) .  }", "answer": "yes"}, {"question": "What is the motto of the boarding school with a DfE URN of 110158?", "choices": ["\u0415\u0434\u043d\u0430 \u0417\u0430\u043c\u0431\u0438\u044f, \u0435\u0434\u043d\u0430 \u043d\u0430\u0446\u0438\u044f", "Naturam Primum Cognoscere Rerum", "\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u043e \u0438 \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442, \u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u0430", "I will uphold", "In God We Hope", "La Uni\u00f3n es la Fuerza", "Peace and justice", "Vienyb\u0117 te\u017eydi", "Satyameva Jayate", "Floreat Etona"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DfE URN", "110158"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["boarding school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["motto text"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"boarding school\" . ?e <DfE_URN> ?pv_1 . ?pv_1 <pred:value> \"110158\" . ?e <motto_text> ?pv .  }", "answer": "Floreat Etona"}, {"question": "What is the total revenue of the video game developer which developed Mighty Morphin Power Rangers (the one that is developed by Natsume)?", "choices": ["40920000000 euro", "27567000000 United States dollar", "719000000 Japanese yen", "39807000000 United States dollar", "3240558000 United States dollar", "76724000000 United States dollar", "63056000000 United States dollar", "81741000000 United States dollar", "152356000000 United States dollar", "71880000000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natsume"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mighty Morphin Power Rangers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["developer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["total revenue"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e_1 <developer> ?e . ?e_1 <pred:name> \"Mighty Morphin Power Rangers\" . ?e_1 <developer> ?e_2 . ?e_2 <pred:name> \"Natsume\" .  ?e <total_revenue> ?pv .  }", "answer": "719000000 Japanese yen"}, {"question": "Is 31fhk79m1hf3bd0 the Libris-URI of the Hungary-released Psycho composer?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Psycho"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["31fhk79m1hf3bd0"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Psycho\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Hungary\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"31fhk79m1hf3bd0\" .  }", "answer": "yes"}, {"question": "Where was the visual artwork with the official website of http://www.charliewilsonswar.net/ published on 2008-02-07?", "choices": ["Canada", "Bulgaria", "Belgium", "Serbia", "Argentina", "Berlin", "2005 Cannes Film Festival", "Germany", "Malaysia", "India"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.charliewilsonswar.net/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2008-02-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.charliewilsonswar.net/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-02-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was the Ohio county that has the captital Sandusky founded?", "choices": ["1838-03-16", "1707-01-01", "-311", "1998-09-04", "1427", "1929-02-11", "2001-10-24", "479", "1943-10-12", "1621"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sandusky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Sandusky\" .  ?e <inception> ?pv .  }", "answer": "1838-03-16"}, {"question": "Which person was born on 1898-09-30?", "choices": ["Larry Miller", "Max Fleischer", "Yunus Parvez", "William J. Bell", "Ken Keeler", "Richard Gere", "Brigitte Nielsen", "William Henry Harrison", "Paul S. Fox", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1898-09-30", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1898-09-30\"^^xsd:date .  }", "answer": "Paul S. Fox"}, {"question": "Does Taraji P. Henson or Kristin Scott Thomas have the less number of children?", "choices": ["Simon Cowell", "Rahul Dev Burman", "David Byrne", "Kristin Scott Thomas", "William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "Paul Simon", "Taraji P. Henson", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taraji P. Henson"]}, {"function": "Find", "dependencies": [], "inputs": ["Kristin Scott Thomas"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Taraji P. Henson\" .  } UNION { ?e <pred:name> \"Kristin Scott Thomas\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Taraji P. Henson"}, {"question": "When did the city known by the official name of \u0411\u043e\u043c\u0431\u0435\u0439 and an ISNI of 0000 0001 1266 1998 end?", "choices": ["2001-05-11", "2002-01-01", "1204", "1994", "1988-10-01", "1995-12-22", "2014-05-15", "1996-11-19", "2003-12-24", "1957-07-05"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1266 1998"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official name", "\u0411\u043e\u043c\u0431\u0435\u0439", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1266 1998\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u0411\u043e\u043c\u0431\u0435\u0439\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1994"}, {"question": "What is the connection between Wallachia (the one whose inception time is 1330-01-01) to Romania (the one that has a diplomatic relation with Taiwan)?", "choices": ["place of publication", "published in", "soundtrack album", "commissioned by", "platform", "professorship", "country", "geographic distribution", "diaspora", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wallachia"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1330-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Relate", "dependencies": [2], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Romania"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wallachia\" . ?e_1 <inception> ?pv . ?pv <pred:date> \"1330-01-01\"^^xsd:date . ?e_2 <pred:name> \"Romania\" . ?e_2 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> \"Taiwan\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What American football team has the official website http://www.buccaneers.com (this statement's language is English) and is a participant in the 2008 NFL Draft?", "choices": ["Tampa Bay Buccaneers", "Carolina Panthers", "New England Patriots", "Oklahoma Sooners football", "Buffalo Bills", "Chicago Bears", "Miami Dolphins", "New Orleans Saints", "California Golden Bears football", "Atlanta Falcons"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.buccaneers.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["American football team"]}, {"function": "Find", "dependencies": [], "inputs": ["2008 NFL Draft"]}, {"function": "Relate", "dependencies": [4], "inputs": ["participant", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["American football team"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.buccaneers.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"2008 NFL Draft\" .  }", "answer": "Tampa Bay Buccaneers"}, {"question": "Was the record label whose ISNI is 0000 0001 2168 1798 established on 1880-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2168 1798"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["1880-01-01", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2168 1798\" . ?e <inception> ?pv . ?pv <pred:date> \"1880-01-01\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the relation between South Pacific (the one whose publication date is 1958-01-01) to the Academy Award for Best Original Musical Score?", "choices": ["legal form", "spouse", "academic degree", "nominated for", "has edition", "commissioned by", "director of photography", "sports season of league or competition", "uses", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Pacific"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1958-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Musical Score"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"South Pacific\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1958-01-01\"^^xsd:date . ?e_2 <pred:name> \"Academy Award for Best Original Musical Score\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the ISNI of the person who is an executive producer of Dressed to Kill produced by Orion Pictures?", "choices": ["0000 0001 2276 8131", "0000 0001 0930 2353", "0000 0004 1936 8892", "0000 0001 2179 1970", "0000 0003 6864 3291", "0000 0001 1494 6372", "0000 0000 4239 8310", "0000 0001 2159 3253", "0000 0004 0400 9088", "0000 0001 0901 7923"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Orion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dressed to Kill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:name> \"Dressed to Kill\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"Orion Pictures\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 4239 8310"}, {"question": "When was The Ides of March nominated for a Golden Globe Award for Best Screenplay?", "choices": ["1970-04-07", "1969-01-01", "2015-03-15", "1350", "2013-09-12", "1493", "2011", "1737-01-01", "2014-11-30", "2004-09-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ides of March"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Ides of March\" . ?e_2 <pred:name> \"Golden Globe Award for Best Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "Where was the place of marriage for Angelina Jolie, the spouse of Brad Pitt?", "choices": ["Chapel of the Flowers", "Belvedere", "Hotel Bel-Air", "Malabar Farm State Park", "The Hamptons, Long Island AVA", "Ch\u00e2teau Miraval, Correns-Var", "Ballard", "New York City", "Glendale", "Las Vegas Valley"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angelina Jolie"]}, {"function": "Find", "dependencies": [], "inputs": ["Brad Pitt"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "place of marriage"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Angelina Jolie\" . ?e_2 <pred:name> \"Brad Pitt\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <place_of_marriage> ?qpv .  }", "answer": "Ch\u00e2teau Miraval, Correns-Var"}, {"question": "Which animated series whose number of episodes is not 930 has the most seasons?", "choices": ["Tiny Toon Adventures", "The Transformers", "The Adventures of Tintin", "Animaniacs", "Fantastic Four", "Batman Beyond", "Futurama", "Family Guy", "Disney's House of Mouse", "The Simpsons"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "930", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"930\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Simpsons"}, {"question": "What language is associated with the subreddit AmericanU for the private university whose religion is the United Methodist Church?", "choices": ["Hebrew", "American English", "English", "Standard Chinese", "Nynorsk", "Russian", "Toki Pona", "Wolof", "Polish", "Ukrainian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Methodist Church"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "AmericanU", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private university\" . ?e <religion> ?e_1 . ?e_1 <pred:name> \"United Methodist Church\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"AmericanU\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What inner planet had a population of 3692492000 on 1970-01-01?", "choices": ["Art Nouveau", "Mars", "The Flowers of War", "Kevin Smith", "Hampshire County", "Dover", "Earth", "Metropolis", "Ringo Starr", "Venus"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3692492000", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1970-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["inner planet"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"inner planet\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3692492000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"1970-01-01\"^^xsd:date .  }", "answer": "Earth"}, {"question": "What is the edition number for the Golden Globe Award ceremony where The Royal Tenenbaums received an award?", "choices": ["49", "72", "33", "20", "41", "59", "27", "70", "76", "15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Royal Tenenbaums"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Globe Award ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["edition number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Globe Award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"The Royal Tenenbaums\" .  ?e <edition_number> ?pv .  }", "answer": "59"}, {"question": "What is the Libris-URI of the person whose ISNI is 0000 0001 1554 4367?", "choices": ["vs69f9vd088d0rl", "0xbdg9gj35bfrvx", "pm13xpl739rd7b7", "vs689bdd316s3k0", "jgvz53b25535v7f", "rp356zw91k0whxj", "khw04mt31vgvk64", "qn259wn857nk2nd", "75kmml7r06jt6vc", "nl0225g61f80z5x"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1554 4367"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1554 4367\" . ?e <Libris-URI> ?pv .  }", "answer": "qn259wn857nk2nd"}, {"question": "Which English ceremonial country contains an administrative division, the metropolitan borough with UKE45 as its NUTS code?", "choices": ["West Yorkshire", "Dorset", "Somerset", "West Midlands", "Warwickshire", "Derbyshire", "Greater Manchester", "Tyne and Wear", "Suffolk", "Merseyside"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKE45"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan borough"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ceremonial county of England"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"metropolitan borough\" . ?e_1 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKE45\" .   }", "answer": "West Yorkshire"}, {"question": "How long was the movie that Yoram Globus executive produced?", "choices": ["4896 second", "92 minute", "134 minute", "111 minute", "23 minute", "2477 second", "178 minute", "128 minute", "201 minute", "122 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yoram Globus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Yoram Globus\" .  ?e <duration> ?pv .  }", "answer": "122 minute"}, {"question": "How long is the film titled The Usual Suspects?", "choices": ["25 minute", "45 minute", "147 minute", "13 minute", "236 minute", "106 minute", "120 minute", "29 minute", "191 minute", "1744 second"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Usual Suspects"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Usual Suspects\" . ?e <duration> ?pv .  }", "answer": "106 minute"}, {"question": "How many non-metropolitan county has TOID 7000000000019687 or contains the administrative division South Cambridgeshire?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000019687"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan county"]}, {"function": "Find", "dependencies": [], "inputs": ["South Cambridgeshire"]}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan county"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan county\" .  { ?e <TOID> ?pv . ?pv <pred:value> \"7000000000019687\" .  } UNION { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"South Cambridgeshire\" .  } }", "answer": "2"}, {"question": "How many Academy Awards ceremonies not in 1961?", "choices": ["54", "55", "56", "57", "58", "59", "60", "61", "62", "63"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "1961", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1961 ) .  }", "answer": "63"}, {"question": "What religion has the OSM tag or key Tag:religion=jain?", "choices": ["Evangelical Christianity", "Unitarian Universalism", "Baptists", "Greek Orthodox Church", "Scientology", "Shia Islam", "United Church of Christ", "Jainism", "Nondenominational Christianity", "Shinto"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:religion=jain"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religion"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:religion=jain\" .  }", "answer": "Jainism"}, {"question": "Which has a greater duration, Iron Man (whose duration is 73 minute) or The Merry Widow (which has Clark Gable as a cast member)?", "choices": ["A Prairie Home Companion", "Talk to Her", "The Hunchback of Notre Dame", "The Merry Widow", "The Towering Inferno", "Curse of the Golden Flower", "Pleasantville", "The Fifth Element", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "73 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Clark Gable"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iron Man\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"73\"^^xsd:double . } UNION { ?e <pred:name> \"The Merry Widow\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Clark Gable\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Merry Widow"}, {"question": "Which movie is shorter, The Three Musketeers (the one whose distributor is 20th Century Fox) or Butch Cassidy and the Sundance Kid?", "choices": ["The Three Musketeers", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower", "The Towering Inferno", "The Fifth Element", "Training Day", "Pleasantville", "Butch Cassidy and the Sundance Kid", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Butch Cassidy and the Sundance Kid"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .   } UNION { ?e <pred:name> \"Butch Cassidy and the Sundance Kid\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Three Musketeers"}, {"question": "What visual artwork's exploitation visa number is 70889 starting on the date 1989-06-29 and release date is before 2011?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower", "Licence to Kill", "Rope", "Pleasantville", "Training Day", "The Towering Inferno"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "70889"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1989-06-29", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["publication date", "2011", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"70889\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> \"1989-06-29\"^^xsd:date . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2011 ) .  }", "answer": "Licence to Kill"}, {"question": "What Michigan County shares a border with Michigan County and is named after Andrew Jackson (participant of 5th United States Congress)?", "choices": ["Ingham County", "Saginaw County", "St. Clair County", "Genesee County", "Tuscola County", "Clinton County", "Oakland County", "Livingston County", "Berrien County", "Wayne County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["5th United States Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrew Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Michigan"]}, {"function": "Relate", "dependencies": [5], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["county of Michigan"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Michigan\" . ?e_1 <named_after> ?e_2 . ?e_2 <pred:name> \"Andrew Jackson\" . ?e_3 <participant> ?e_2 . ?e_3 <pred:name> \"5th United States Congress\" .   }", "answer": "Ingham County"}, {"question": "Does Ozzy Osbourne or Milla Jovovich have more kids?", "choices": ["Paul Simon", "Rahul Dev Burman", "Simon Cowell", "William Henry Harrison", "Richard Gere", "James E. Reilly", "Sylvester Stallone", "Milla Jovovich", "Ozzy Osbourne", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ozzy Osbourne"]}, {"function": "Find", "dependencies": [], "inputs": ["Milla Jovovich"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ozzy Osbourne\" .  } UNION { ?e <pred:name> \"Milla Jovovich\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ozzy Osbourne"}, {"question": "How many democracies are the origin of the name Terminator Salvation (whose distributor is Warner Bros. Interactive Entertainment)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros. Interactive Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Terminator Salvation"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["democracy"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Terminator Salvation\" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> \"Warner Bros. Interactive Entertainment\" .   }", "answer": "0"}, {"question": "How many animated feature films come from the USA?", "choices": ["62", "63", "64", "65", "66", "67", "68", "69", "70", "71"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "70"}, {"question": "How was a ranking of 47 calculated for Poland's national association football team?", "choices": ["Census", "population projection", "resident registration", "FIFA World Rankings", "lead-lead dating", "census", "Taqdir", "questionnaire", "gross floor area", "administrative division valid at the time point of history to which the data relates"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Poland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "47", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Poland\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"47\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the subject of the statement that Oklahoma!\u2014which was nominated for Best Sound Mixing by the Oscars\u2014won the Oscar for Best Sound Mixing?", "choices": ["38th Tony Awards", "Argentina\u2013Chile relations", "Denmark\u2013Sudan relations", "Finland\u2013Namibia relations", "Australia\u2013Serbia relations", "Hong Kong\u2013India relations", "Sri Lanka\u2013Taiwan relations", "Brazil\u2013South Korea relations", "28th Academy Awards", "Portugal\u2013Uruguay relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oklahoma!"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Oklahoma!\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "28th Academy Awards"}, {"question": "Is the date of birth after 1935 for the person with ISNI 0000 0001 1476 5117?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1476 5117"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1935", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1476 5117\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1935 ) .  }", "answer": "yes"}, {"question": "Was the person who died on 1992-09-27 born more recently than 1915 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1992-09-27", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1915", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1992-09-27\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1915 ) .  }", "answer": "no"}, {"question": "Which infections disease has the old age among its risk factor, and R65.20 as its ICD-10?", "choices": ["prostate cancer", "yellow fever", "peritonitis", "cholera", "sepsis", "acute cystitis", "pneumonia", "gastroesophageal reflux disease", "poliomyelitis", "attention deficit hyperactivity disorder"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-10", "R65.20"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["infectious disease"]}, {"function": "Find", "dependencies": [], "inputs": ["old age"]}, {"function": "Relate", "dependencies": [3], "inputs": ["risk factor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["infectious disease"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"infectious disease\" . ?e <ICD-10> ?pv . ?pv <pred:value> \"R65.20\" . ?e_1 <risk_factor> ?e . ?e_1 <pred:name> \"old age\" .  }", "answer": "sepsis"}, {"question": "Is the shorter work Charlie's Angels, with Luke Wilson as a cast member, or Fight Club?", "choices": ["Training Day", "Rebecca", "The Fifth Element", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Charlie's Angels", "Talk to Her", "Fight Club", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luke Wilson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Fight Club"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlie's Angels\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Luke Wilson\" .   } UNION { ?e <pred:name> \"Fight Club\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Charlie's Angels"}, {"question": "Is the population of the administrative territorial entity whose capital is Beaufort less than 40000000 (determined by the demographic balance method)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beaufort"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "determination method", "demographic balance"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["40000000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Beaufort\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"40000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"demographic balance\" .  }", "answer": "yes"}, {"question": "Which one of the Arizona counties, with the population over 1.5, is the smallest by area?", "choices": ["Navajo County", "Gila County", "Apache County", "Mohave County", "Pinal County", "Coconino County", "Yavapai County", "Pima County", "Maricopa County", "Santa Cruz County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1.5", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"1.5\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Does Trinity College Dublin or Tufts University have a greater number of students?", "choices": ["Imperial College London", "Tufts University", "University of Tehran", "Trinity College Dublin", "University of Manchester", "Pennsylvania State University", "McNeese State University", "Panjab University", "Presidency University", "McMaster University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trinity College Dublin"]}, {"function": "Find", "dependencies": [], "inputs": ["Tufts University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Trinity College Dublin\" .  } UNION { ?e <pred:name> \"Tufts University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Trinity College Dublin"}, {"question": "Among the studio albums whose duration is less than 3800 seconds, which one has the shortest duration?", "choices": ["Shakira", "Illinois", "David Bowie", "The Beatles", "Bedtime Stories", "Neil Young", "Metallica", "Peter Gabriel", "Led Zeppelin", "Friends"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "3800 second", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["studio album"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"studio album\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"second\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"3800\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Neil Young"}, {"question": "Relativity Media's official website, www.relativitymedia.com, is in which tongue?", "choices": ["Eastern Armenian", "Czech", "J\u00e8rriais", "Put\u00e8r", "Irish", "Albanian", "English", "Atikamekw", "\u01c0Xam language", "Tlingit"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Relativity Media"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.relativitymedia.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Relativity Media\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.relativitymedia.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is the 77 minute Genesis connected to StudioCanal?", "choices": ["costume designer", "league", "production company", "candidacy in election", "successful candidate", "language used", "talk show guest", "basin country", "newspaper format", "appointed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Genesis"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "77 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["StudioCanal"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Genesis\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"77\"^^xsd:double . ?e_2 <pred:name> \"StudioCanal\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "What is the duration of Water for Elephants?", "choices": ["153 minute", "120 minute", "96 minute", "6 month", "198 minute", "432 minute", "78 minute", "125 minute", "87 minute", "62 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Water for Elephants"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Water for Elephants\" . ?e <duration> ?pv .  }", "answer": "120 minute"}, {"question": "Does Saif Ali Khan or Tim Burton have more kids?", "choices": ["Max Fleischer", "Simon Cowell", "Paul Simon", "Rahul Dev Burman", "James E. Reilly", "Tim Burton", "Richard Gere", "Sylvester Stallone", "Saif Ali Khan", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saif Ali Khan"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Burton"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saif Ali Khan\" .  } UNION { ?e <pred:name> \"Tim Burton\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Saif Ali Khan"}, {"question": "Prometheus is related in what way to Egypt, where the expected lifespan is 68.613 years?", "choices": ["military conflicts", "award disciplines or subjects", "heritage designation", "ancestral home", "film release region", "country for sport", "enclave within", "sidekick of", "contributing factor of", "given name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prometheus"]}, {"function": "Find", "dependencies": [], "inputs": ["Egypt"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["life expectancy", "68.613 year", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Prometheus\" . ?e_2 <pred:name> \"Egypt\" . ?e_2 <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"68.613\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Who is the human whose Twitter username is adamlevine and has a subscription number of 8921169?", "choices": ["Babyface", "James E. Reilly", "Adam Levine", "Max Fleischer", "David Byrne", "Richard Gere", "Rahul Dev Burman", "Simon Cowell", "Paul Simon", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "adamlevine"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "8921169", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"adamlevine\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"8921169\"^^xsd:double .  }", "answer": "Adam Levine"}, {"question": "When did the city of the United States that is the residence of Brad Bird have a population of 54462?", "choices": ["1363", "2019-02-13", "1965-01-01", "2006-02-08", "2018-09-04", "1902-01-01", "1989", "2018-09-30", "1993-09-25", "2010-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brad Bird"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "54462", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Brad Bird\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"54462\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Does Pierce Brosnan or Paul Frees have fewer kids?", "choices": ["William Henry Harrison", "Simon Cowell", "James E. Reilly", "Paul Frees", "David Byrne", "Sylvester Stallone", "Pierce Brosnan", "Richard Gere", "Max Fleischer", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pierce Brosnan"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Frees"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pierce Brosnan\" .  } UNION { ?e <pred:name> \"Paul Frees\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Paul Frees"}, {"question": "Someone with the Snapchat handle taylorswift is cast in which movie?", "choices": ["Unknown", "Around the World in 80 Days", "Road to Perdition", "Oscar", "Terminator 3: Rise of the Machines", "Little Nicky", "Valentine's Day", "Lock Up", "Hereafter", "Hannah Montana: The Movie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Snapchat username", "taylorswift"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Snapchat_username> ?pv . ?pv <pred:value> \"taylorswift\" .   }", "answer": "Valentine's Day"}, {"question": "Which was longer between Midnight Express and The Legend of Bagger Vance?", "choices": ["The Fifth Element", "The Towering Inferno", "Training Day", "Rebecca", "A Prairie Home Companion", "The Legend of Bagger Vance", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "Midnight Express"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midnight Express"]}, {"function": "Find", "dependencies": [], "inputs": ["The Legend of Bagger Vance"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Midnight Express\" .  } UNION { ?e <pred:name> \"The Legend of Bagger Vance\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Legend of Bagger Vance"}, {"question": "How is James Garner, born 1928-04-07, related to the role of television producer?", "choices": ["owner of", "instrumentation", "operating system", "domain of saint or deity", "penalty", "sexual orientation", "location of discovery", "occupation", "member of sports team", "worshipped by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Garner"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1928-04-07", "="]}, {"function": "Find", "dependencies": [], "inputs": ["television producer"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Garner\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1928-04-07\"^^xsd:date . ?e_2 <pred:name> \"television producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is the publication date for The Scorpion King produced by Sammo Hung after 1972?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sammo Hung"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scorpion King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1972", ">"]}], "sparql": "ASK { ?e <pred:name> \"The Scorpion King\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Sammo Hung\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1972 ) .  }", "answer": "yes"}, {"question": "What is the number of airlines with the IATA airline designator UA.", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IATA airline designator", "UA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" . ?e <IATA_airline_designator> ?pv . ?pv <pred:value> \"UA\" .  }", "answer": "1"}, {"question": "How is bossa nova related to Brazil whose total fertility rate is 1.838?", "choices": ["commissioned by", "location of final assembly", "has immediate cause", "movement", "sex or gender", "hair color", "country of origin", "candidate", "child", "designated as terrorist by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bossa nova"]}, {"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["total fertility rate", "1.838", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"bossa nova\" . ?e_2 <pred:name> \"Brazil\" . ?e_2 <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.838\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Which Oregon county that contains Portland (the birthplace of Kirk Thornton) has the largest land area?", "choices": ["Washington County", "Lake County", "Clackamas County", "Lane County", "Douglas County", "Yamhill County", "Columbia County", "Linn County", "Marion County", "Multnomah County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kirk Thornton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Portland\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Kirk Thornton\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Clackamas County"}, {"question": "The Grammy for Best Song Written for Visual Media was nominated to which work by John Mayer, whose CANTIC-ID is a10829738?", "choices": ["Possessed", "My Boss's Daughter", "Say", "Finding Neverland", "The Big House", "Do Not Go Gentle Into That Good Night", "Need You Tonight", "Superman Returns", "Moby Dick", "Horrible Bosses"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Mayer"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10829738"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Song Written for Visual Media"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Mayer\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a10829738\" . ?e_2 <pred:name> \"Grammy Award for Best Song Written for Visual Media\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Say"}, {"question": "At what point in time is 30291 the population of the administrative territorial entity that shares a border with Beaver County,?", "choices": ["2013-07-01", "1467-01-01", "2013-10-06", "1998-10-21", "2003-02-19", "2007-06-01", "2003-03-26", "1916", "2007-10-01", "1972-01-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beaver County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "30291", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Beaver County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"30291\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "The Tree of Life was nominated for Academy Award for Best Director for which individual?", "choices": ["Germany-Jordan relations", "Bangladesh\u2013Kenya relations", "Cyprus\u2013Greece relations", "Burundi\u2013Democratic Republic of the Congo border", "Colombia\u2013Malaysia relations", "1958 Cannes Film Festival", "Bahamas\u2013China relations", "Japan-Malta relations", "Colombia\u2013Panama border", "84th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Tree of Life"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Tree of Life\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "84th Academy Awards"}, {"question": "What television film has a cast member whose name is Kevin Norwood Bacon in native language?", "choices": ["The Gift", "She's Having a Baby", "Lonesome Dove", "The Diary of Anne Frank", "Alice in Wonderland", "Crazy, Stupid, Love.", "Casino Royale", "A Streetcar Named Desire", "Sleepers", "Anna Karenina"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Kevin Norwood Bacon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Kevin Norwood Bacon\" .   }", "answer": "The Gift"}, {"question": "When did K_be become the twinned administrative body of Riga?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1000\"^^xsd:double ) .  }", "answer": "5"}, {"question": "Which activity is published by Taito Corporation?", "choices": ["Fantastic Four", "Superman", "Battleship", "The Flintstones", "Harry Potter and the Goblet of Fire", "Pinocchio", "Harry Potter and the Half-Blood Prince", "music video game", "Kung Fu Panda", "Happy Feet"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taito Corporation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <publisher> ?e_1 . ?e_1 <pred:name> \"Taito Corporation\" .   }", "answer": "The Flintstones"}, {"question": "When was Pye Records established?", "choices": ["1935-05-21", "1427", "1839-01-01", "1871-12-31", "1827-01-31", "1820-01-10", "2000-09-01", "1953-01-01", "1955-12-13", "1537"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pye Records"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Pye Records\" . ?e <inception> ?pv .  }", "answer": "1953-01-01"}, {"question": "How is Henry Mancini related to the 34th Academy Awards?", "choices": ["terminus", "art director", "award received", "newspaper format", "dissertation submitted to", "genre", "architect", "instrumentation", "league", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry Mancini"]}, {"function": "Find", "dependencies": [], "inputs": ["34th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Henry Mancini\" . ?e_2 <pred:name> \"34th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "When was Tunis first twinned to Amman as an administrative body?", "choices": ["1871-08-03", "1996-01-21", "2011-11-17", "1224", "1999-01-01", "1966-06-10", "1975-03-15", "1992-01-04", "2006-09-25", "2005-02-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunis"]}, {"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tunis\" . ?e_2 <pred:name> \"Amman\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "At what point in time is 1229226 the population of the Florida county whose official website is http://www.hillsboroughcounty.org (in English)?", "choices": ["1865-06-17", "2010-04-01", "2003-09-01", "2017-10-01", "2012-06-30", "2002-01-01", "2008-04-23", "2014-09-18", "1875", "1378"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hillsboroughcounty.org"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Florida"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "1229226", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hillsboroughcounty.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1229226\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What Academy Award did Pirates of the Caribbean: Dead Man's Chest distributed at the United Kingdom receive?", "choices": ["Academy Award for Best Sound Editing", "Academy Award for Best Visual Effects", "Academy Award for Best Sound Mixing", "Academy Award for Best Film Editing", "Academy Award for Best Writing, Adapted Screenplay", "Academy Award for Best Picture", "Satellite Awards 2006", "Academy Award for Best Makeup and Hairstyling", "Academy Award for Best Live Action Short Film", "79th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film distribute region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: Dead Man's Chest"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Pirates of the Caribbean: Dead Man's Chest\" . ?e_1 <film_distribute_region> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .   }", "answer": "Academy Award for Best Visual Effects"}, {"question": "Who died in a city in the United States, where Samuel M. Corner was born?", "choices": ["Lon Chaney", "Jason Mraz", "Irene Lentz", "John Ford", "Clive Barker", "Robert Taylor", "Dermot Mulroney", "Doc Watson", "Truman Capote", "John Davis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel M. Comer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Samuel M. Comer\" .   }", "answer": "John Davis"}, {"question": "Does Bryn Mawr or Palm Beach have less area?", "choices": ["Palm Beach", "West Hartford", "Westport", "Greenwich", "Bedford", "Brookline", "Amherst", "Chapel Hill", "Uxbridge", "Bryn Mawr"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryn Mawr"]}, {"function": "Find", "dependencies": [], "inputs": ["Palm Beach"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bryn Mawr\" .  } UNION { ?e <pred:name> \"Palm Beach\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bryn Mawr"}, {"question": "Which type of scientist matches the job specialty of Carl Sagan as well as SOC Code (2010) 19-2012?", "choices": ["astronaut", "physicist", "biologist", "statistician", "astronomer", "biochemist", "computer scientist", "seiy\u016b", "bandleader", "financier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carl Sagan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["scientist"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["SOC Code (2010)", "19-2012"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["scientist"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"scientist\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Carl Sagan\" .  ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> \"19-2012\" .  }", "answer": "physicist"}, {"question": "How many genres are titled The Twilight Zone?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Twilight Zone"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["genre"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"genre\" . ?e <title> ?pv . ?pv <pred:value> \"The Twilight Zone\" .  }", "answer": "1"}, {"question": "Who is the person that is a sibling of the person whose ISNI is 0000 0001 1494 6671?", "choices": ["Sean Penn", "Dennis Quaid", "John Wood", "Lynn Redgrave", "Shawn Wayans", "Robert Smith", "Jim Taylor", "William Baldwin", "Ira Gershwin", "Jane Fonda"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1494 6671"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["sibling", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <sibling> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1494 6671\" .   }", "answer": "Dennis Quaid"}, {"question": "For which project was Melissa Leo the Academy Award winner for Best Supporting Actress?", "choices": ["Colombia\u2013Nicaragua border", "Burkina Faso\u2013Niger border", "Belize\u2013Taiwan relations", "Jamaica\u2013Trinidad and Tobago relations", "France\u2013Singapore relations", "Arizona\u2013Nevada border", "China\u2013Finland relations", "France\u2013Venezuela border", "83rd Academy Awards", "Pakistan\u2013Tajikistan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melissa Leo"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Melissa Leo\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "83rd Academy Awards"}, {"question": "What does Michael Jackson (whose Google Doodle is birthday-of-michael-jackson) have to do with Sony BMG Music Entertainment?", "choices": ["religious order", "organisation directed from the office or person", "main food source", "approved by", "musical conductor", "record label", "child astronomical body", "taxon rank", "parent astronomical body", "notable work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Google Doodle", "birthday-of-michael-jackson"]}, {"function": "Find", "dependencies": [], "inputs": ["Sony BMG Music Entertainment"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Jackson\" . ?e_1 <Google_Doodle> ?pv . ?pv <pred:value> \"birthday-of-michael-jackson\" . ?e_2 <pred:name> \"Sony BMG Music Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Which one of Dutch provinces that border Overijssel cover the largest area ?", "choices": ["Limburg", "Drenthe", "Utrecht", "Groningen", "North Holland", "Gelderland", "North Brabant", "Zeeland", "Friesland", "Overijssel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Overijssel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Netherlands"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Overijssel\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Friesland"}, {"question": "Which person was born on 1931-10-30?", "choices": ["William Henry Harrison", "Ann Roth", "Sylvester Stallone", "Max Fleischer", "Powers Boothe", "Gordon Brown", "Rhys Ifans", "Tom Petty", "Richard Gere", "Marlon Brando"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1931-10-30", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1931-10-30\"^^xsd:date .  }", "answer": "Ann Roth"}, {"question": "How is Assam (the one whose ISO 3166-2 code is IN-AS) related to Arunachal Pradesh (the one whose male population is 713912) ?", "choices": ["update method", "replaces", "professorship", "model item", "part of the series", "dialect of", "season starts", "office held by head of government", "officeholder", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Assam"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "IN-AS"]}, {"function": "Find", "dependencies": [], "inputs": ["Arunachal Pradesh"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["male population", "713912", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Assam\" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"IN-AS\" . ?e_2 <pred:name> \"Arunachal Pradesh\" . ?e_2 <male_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"713912\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the Instagram username for South Carolina State University?", "choices": ["brisbaneroarfc", "kevinfcorrigan", "nasa", "carletoncollege", "official_sslazio", "actormaddy", "scstate1896", "britneyspears", "officialbhafc", "universityofkansas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Carolina State University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"South Carolina State University\" . ?e <Instagram_username> ?pv .  }", "answer": "scstate1896"}, {"question": "When did Mildred Pierce from Portugal receive the National Film Registry?", "choices": ["1996-01-01", "2011-09-01", "1947", "1991-12-25", "1959-01-01", "1808", "2018-01-02", "1920-12-31", "2003-01-15", "1396"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portugal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mildred Pierce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mildred Pierce\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Portugal\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1996-01-01"}, {"question": "The visual artwork titled The Reader was publicly issued on 2009-02-26 in which place?", "choices": ["United Arab Emirates", "Quebec", "Germany", "Egypt", "Finland", "Mexico", "German Democratic Republic", "Lebanon", "Grauman's Chinese Theatre", "Russia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Reader"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2009-02-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Reader\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-02-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which movie is titled Collateral?", "choices": ["Sky Captain and the World of Tomorrow", "Pleasantville", "Dune", "Python", "Talk to Her", "Collateral", "Rebecca", "X-Men: First Class", "A Prairie Home Companion", "Inglourious Basterds"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Collateral"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Collateral\" .  }", "answer": "Collateral"}, {"question": "Does CANTIC-ID a11513949 belong to the cast member of American Pie, which includes American Pie 2?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Pie 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Pie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["a11513949"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"American Pie\" . ?e_2 <part_of_the_series> ?e_1 . ?e_2 <pred:name> \"American Pie 2\" .  ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11513949\" .  }", "answer": "yes"}, {"question": "Is 0000 0000 8160 7410 the ISNI of the person whose official website is http://www.hackettsongs.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hackettsongs.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 8160 7410"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hackettsongs.com/\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8160 7410\" .  }", "answer": "yes"}, {"question": "Does the longer running time belong to A Midsummer Night's Dream, distributed by Warner Bros., or Raging Bull?", "choices": ["The Hunchback of Notre Dame", "Pleasantville", "The Fifth Element", "The Towering Inferno", "Raging Bull", "A Midsummer Night's Dream", "A Prairie Home Companion", "Training Day", "Talk to Her", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Midsummer Night's Dream"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Raging Bull"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Midsummer Night's Dream\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Warner Bros.\" .   } UNION { ?e <pred:name> \"Raging Bull\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "A Midsummer Night's Dream"}, {"question": "How was it determined that the county of Wisconsin, with the official website of http://www.fdlco.wi.gov, had a population of 101649?", "choices": ["questionnaire", "Address Based Population Registration System", "2010 United States Census", "Family record booklet", "census", "national estimation", "estimation process", "administrative division valid at the time point of history to which the data relates", "de facto", "United Kingdom Census 1991"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fdlco.wi.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "101649", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fdlco.wi.gov\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"101649\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many administrative-territorial entities have the motto text Uni\u0163i \u00een diversitate and are the location of K.A.A. Gent?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Uni\u0163i \u00een diversitate"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Find", "dependencies": [], "inputs": ["K.A.A. Gent"]}, {"function": "Relate", "dependencies": [3], "inputs": ["location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <motto_text> ?pv . ?pv <pred:value> \"Uni\u0163i \u00een diversitate\" . ?e_1 <location> ?e . ?e_1 <pred:name> \"K.A.A. Gent\" .  }", "answer": "0"}, {"question": "Which sovereign state has the motto text of \u0422\u0443\u0432\u0430\u043b\u0443 \u0437\u0430 \u0412\u0441\u0435\u043c\u043e\u0433\u044a\u0449\u0438\u044f?", "choices": ["Kiribati", "Guinea-Bissau", "Russian Soviet Federative Socialist Republic", "Peru", "South Africa", "Weimar Republic", "Switzerland", "Tuvalu", "Bahamas", "Equatorial Guinea"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "\u0422\u0443\u0432\u0430\u043b\u0443 \u0437\u0430 \u0412\u0441\u0435\u043c\u043e\u0433\u044a\u0449\u0438\u044f"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <motto_text> ?pv . ?pv <pred:value> \"\u0422\u0443\u0432\u0430\u043b\u0443 \u0437\u0430 \u0412\u0441\u0435\u043c\u043e\u0433\u044a\u0449\u0438\u044f\" .  }", "answer": "Tuvalu"}, {"question": "Which movie is titled Unknown and features Peter Stormare in the cast?", "choices": ["Rebecca", "Constantine", "Talk to Her", "Dancer in the Dark", "Unknown", "Pleasantville", "A Prairie Home Companion", "Hamilton", "The Big Lebowski", "Minority Report"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Unknown"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Stormare"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Unknown\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Peter Stormare\" .  }", "answer": "Unknown"}, {"question": "Of the feature films published after 1989, which is the shortest in length?", "choices": ["Cinderella", "The Parent Trap", "The Santa Clause 3: The Escape Clause", "Bedtime Stories", "Beauty and the Beast", "G-Force", "Invincible", "Last Action Hero", "Pirates of the Caribbean: On Stranger Tides", "Wallace & Gromit: The Curse of the Were-Rabbit"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1989", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1989 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wallace & Gromit: The Curse of the Were-Rabbit"}, {"question": "Aong the counties of Massachusetts that is an administrative division of Massachusetts (the one that contains Boston College),which one has the smallest area ?", "choices": ["Middlesex County", "Worcester County", "Berkshire County", "Norfolk County", "Bristol County", "Hampden County", "Plymouth County", "Barnstable County", "Essex County", "Suffolk County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Massachusetts"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Massachusetts\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Boston College\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Worcester County"}, {"question": "What is the connection between Oasis (whose title is Oasis) and adventure film?", "choices": ["official residence", "worshipped by", "drafted by", "published in", "natural product of taxon", "place of burial", "language of work or name", "partially contains", "genre", "exported to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oasis"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Oasis"]}, {"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oasis\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Oasis\" . ?e_2 <pred:name> \"adventure film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many Summer Olympic Games have a participant Heather O'Reilly or derives Gate Keepers 21?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heather O'Reilly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "Find", "dependencies": [], "inputs": ["Gate Keepers 21"]}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Summer Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" .  { ?e_1 <participant_of> ?e . ?e_1 <pred:name> \"Heather O'Reilly\" .  } UNION { ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Gate Keepers 21\" .  } }", "answer": "3"}, {"question": "What is the association between Mr. Deeds and Happy Madison Productions?", "choices": ["film editor", "convicted of", "talk show guest", "copyright holder", "production company", "language used", "has contributing factor", "indigenous to", "platform", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mr. Deeds"]}, {"function": "Find", "dependencies": [], "inputs": ["Happy Madison Productions"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mr. Deeds\" . ?e_2 <pred:name> \"Happy Madison Productions\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "How many subscribers does the person with the ISNI of 0000 0000 4881 8726 have under the Twitter username of _Brendonsmall?", "choices": ["1255", "87677", "60", "926630", "217071", "265016", "53249", "47318", "957501", "169824"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4881 8726"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "_Brendonsmall", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 4881 8726\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"_Brendonsmall\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "47318"}, {"question": "Is 2600000000 the population in the year 2010 of the first-level administrative country subdivision that shares a border with Rio de Janeiro (whose motto text is \"Recte rem publicam gerere\"?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rio de Janeiro"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Recte rem publicam gerere"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["population", "point in time", "2010"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["2600000000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Rio de Janeiro\" . ?e_1 <motto_text> ?pv_1 . ?pv_1 <pred:value> \"Recte rem publicam gerere\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2600000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .  }", "answer": "yes"}, {"question": "When did the sovereign state whose demonym is Islandano have a life expectancy of 80.50244 years?", "choices": ["2014-11-30", "1993-12-23", "2017-05-04", "2002", "1881-01-01", "1837-12-01", "1838-01-01", "1990-12-31", "1987-07-07", "1996-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Islandano"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["life expectancy", "80.50244 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Islandano\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"80.50244\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2002"}, {"question": "When was  Katowice named after Joseph Stalin?", "choices": ["1931", "1788-04-28", "1861-04-22", "2008-07-18", "2006-06-28", "2006-06-16", "1974-01-15", "1953-03-07", "2001-01-20", "1992-02-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katowice"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Stalin"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["named after", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Katowice\" . ?e_2 <pred:name> \"Joseph Stalin\" . ?e_1 <named_after> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1953-03-07"}, {"question": "When was Craig Ferguson (the one that is related to sport ice hockey) born?", "choices": ["1589-09-17", "1936-07-30", "1933-12-08", "1944-04-11", "1912-10-26", "1970-04-08", "1979-08-05", "1929-09-25", "1938-07-08", "1971-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ice hockey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Ferguson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Craig Ferguson\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"ice hockey\" .  ?e <date_of_birth> ?pv .  }", "answer": "1970-04-08"}, {"question": "Who is a host on reality TV's American Idol?", "choices": ["Max Fleischer", "Martin Short", "Sylvester Stallone", "Tyra Banks", "David Byrne", "Nick Cannon", "Larry David", "Richard Gere", "Ryan Seacrest", "Little Richard"], "program": [{"function": "Find", "dependencies": [], "inputs": ["reality television"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Idol"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["presenter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <presenter> ?e . ?e_1 <pred:name> \"American Idol\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"reality television\" .   }", "answer": "Ryan Seacrest"}, {"question": "Of medications that are coconut milk nutrients, which is lowest in density?", "choices": ["Sandefjord Fotball", "The Singing Detective", "Batman Beyond", "copper", "antibiotic", "prescription drug", "iron", "analgesic", "Jet Li", "over-the-counter drug"], "program": [{"function": "Find", "dependencies": [], "inputs": ["coconut milk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["density", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> \"coconut milk\" .  ?e <density> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "iron"}, {"question": "Does Lorain or San Rafael have the lower elevation above sea level?", "choices": ["Franklin", "New Haven", "Greenville", "Columbus", "Compton", "Waukegan", "San Rafael", "Lansing", "Boulder", "Lorain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lorain"]}, {"function": "Find", "dependencies": [], "inputs": ["San Rafael"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lorain\" .  } UNION { ?e <pred:name> \"San Rafael\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Rafael"}, {"question": "What position is the position held by Augustine of Hippo?", "choices": ["bishop", "director general", "Vice President of the United States", "President of the United States", "crown prince", "lieutenant governor", "chairperson", "Holy Roman Emperor", "dean", "soldier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augustine of Hippo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["position"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"position\" . ?e_1 <position_held> ?e . ?e_1 <pred:name> \"Augustine of Hippo\" .   }", "answer": "bishop"}, {"question": "What is the connection between The Sorcerer's Apprentice (the one whose inception time is 1890) to bass drum?", "choices": ["capital of", "mascot", "musical conductor", "instrumentation", "award disciplines or subjects", "software engine", "chief executive officer", "symptom of", "conflict", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Sorcerer's Apprentice"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1890", "="]}, {"function": "Find", "dependencies": [], "inputs": ["bass drum"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sorcerer's Apprentice\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1890 . ?e_2 <pred:name> \"bass drum\" . ?e_1 ?p ?e_2 .  }", "answer": "instrumentation"}, {"question": "How many non-metropolitan districts contain Barrow-in-Furness (whose TOID is 4000000074560818) or have an establishment date that is after 1974?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barrow-in-Furness"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074560818"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["non-metropolitan district"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1974", ">"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["non-metropolitan district"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" .  { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Barrow-in-Furness\" . ?e_1 <TOID> ?pv . ?pv <pred:value> \"4000000074560818\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1974 ) .  } }", "answer": "1"}, {"question": "What is the number of hardcore punks that were incepted after 1987", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1987", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hardcore punk"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hardcore punk\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) .  }", "answer": "4"}, {"question": "Which entertainment property is derived from Harry Potter and the Prisoner of Azkaban, which cost 130000000 USD?", "choices": ["G.I. Joe: The Rise of Cobra", "Shrek Forever After", "Batman", "music video game", "Harry Potter and the Prisoner of Azkaban", "Guitar Hero 5", "Finding Nemo", "Battleship", "X-Men", "Harry Potter and the Half-Blood Prince"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Prisoner of Azkaban"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "130000000 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["entertainment"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Harry Potter and the Prisoner of Azkaban\" . ?e_1 <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"130000000\"^^xsd:double .   }", "answer": "Harry Potter and the Prisoner of Azkaban"}, {"question": "Among the counties of Michigan whose inception time is not in 1838,which one has the largest area ?", "choices": ["Jackson County", "Genesee County", "Clinton County", "Macomb County", "Monroe County", "Washtenaw County", "Livingston County", "Kent County", "Wayne County", "Marquette County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1838", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1838 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marquette County"}, {"question": "Which ICD-10-CM code designates anemia?", "choices": ["A80", "D64.9", "F43.1", "B03", "J02", "G30", "J45.90", "C25.1", "G30.9", "K21.9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["anemia"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ICD-10-CM"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"anemia\" . ?e <ICD-10-CM> ?pv .  }", "answer": "D64.9"}, {"question": "Was Wanted whose narrative location is Mumbai not published in 2019?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mumbai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wanted"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2019", "!="]}], "sparql": "ASK { ?e <pred:name> \"Wanted\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Mumbai\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2019 ) .  }", "answer": "yes"}, {"question": "What is the beginning date of the Philadelphia 76ers?", "choices": ["1642-05-17", "1937-12-29", "1973-03-03", "1951-06-06", "1968-09-06", "1946", "1372", "1951", "1937-04-17", "1143-10-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia 76ers"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Philadelphia 76ers\" . ?e <inception> ?pv .  }", "answer": "1946"}, {"question": "How many provinces of China are the residence of the person whose official website is http://theofficialcharlieadler.com?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://theofficialcharlieadler.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of China"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e_1 <residence> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://theofficialcharlieadler.com\" .   }", "answer": "0"}, {"question": "What is the ISNI of the person with Twitter username tarareid?", "choices": ["0000 0001 1652 1394", "0000 0001 1450 5083", "0000 0000 3317 2328", "0000 0001 2369 9537", "0000 0001 0799 7040", "0000 0001 0920 9917", "0000 0004 0427 6848", "0000 0001 0900 3230", "0000 0000 7840 0953", "0000 0001 1491 9884"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "tarareid"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"tarareid\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1491 9884"}, {"question": "How many regions of Italy are either located in Italy or are part of the Province of Rome?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "Find", "dependencies": [], "inputs": ["Province of Rome"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["region of Italy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Italy\" .  } UNION { ?e_1 <part_of> ?e . ?e_1 <pred:name> \"Province of Rome\" .  } }", "answer": "17"}, {"question": "How much did the movie that was a derivative work of Harry Potter and the Order of the Phoenix (the one that is a notable work of J. K. Rowling) cost?", "choices": ["2479000 United States dollar", "12000000 United States dollar", "260000000 United States dollar", "209000000 United States dollar", "2000000 United States dollar", "175000000 United States dollar", "60000000 Deutsche Mark", "15500000 United States dollar", "150000000 United States dollar", "102000000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. K. Rowling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Order of the Phoenix"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Harry Potter and the Order of the Phoenix\" . ?e_2 <notable_work> ?e_1 . ?e_2 <pred:name> \"J. K. Rowling\" .  ?e <cost> ?pv .  }", "answer": "150000000 United States dollar"}, {"question": "What is the connection between Hulk (the one whose Nintendo GameID is GHKF7D) to PlayStation 2?", "choices": ["risk factor", "given name", "characters", "platform", "original film format", "narrator", "location of final assembly", "costume designer", "has dialect (DEPRECATED)", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hulk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GHKF7D"]}, {"function": "Find", "dependencies": [], "inputs": ["PlayStation 2"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hulk\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"GHKF7D\" . ?e_2 <pred:name> \"PlayStation 2\" . ?e_1 ?p ?e_2 .  }", "answer": "platform"}, {"question": "For the Heisman Trophy, does it have a native label exactly Helsingfors universitet ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heisman Trophy"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Helsingfors universitet"]}], "sparql": "ASK { ?e <pred:name> \"Heisman Trophy\" . ?e <native_label> ?pv . ?pv <pred:value> \"Helsingfors universitet\" .  }", "answer": "no"}, {"question": "What is the subreddit of a media franchise that mainly depicts Japanese mythology ?", "choices": ["sandiego", "Saskatchewan", "BOLIVIA", "falklandislands", "CUNY", "Lille", "dbz", "Madagascar", "Dehradun", "Queens"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese mythology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"Japanese mythology\" .  ?e <subreddit> ?pv .  }", "answer": "dbz"}, {"question": "Did Paul Williams (the one that has the record label Motown) not die in 2014?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Motown"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2014", "!="]}], "sparql": "ASK { ?e <pred:name> \"Paul Williams\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Motown\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2014 ) .  }", "answer": "yes"}, {"question": "What is the area of the city of New York whose postal code is 11561?", "choices": ["30.727458 square kilometre", "4974 square kilometre", "40.110674 square kilometre", "313.620528 square kilometre", "26110 square kilometre", "159.37 square kilometre", "26488 square kilometre", "86.144047 square kilometre", "10.08634 square kilometre", "48670.82 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "11561"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"11561\" . ?e <area> ?pv .  }", "answer": "10.08634 square kilometre"}, {"question": "What is the relation between Greater Houston and the United States of America?", "choices": ["original network", "languages spoken, written or signed", "field of work", "officeholder", "voice type", "practiced by", "part of the series", "location of final assembly", "language of work or name", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greater Houston"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greater Houston\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between Dubai (the one that origins from Philippines) to romance film?", "choices": ["screenwriter", "member of", "father", "creator", "substitute/deputy/replacement of office/officeholder", "cast member", "located in or next to body of water", "narrator", "tributary", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dubai"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dubai\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"Philippines\" . ?e_2 <pred:name> \"romance film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many seasons did the tv series which featured Thandie Newton run for?", "choices": ["11", "45", "54", "36", "24", "10", "15", "6", "22", "4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thandie Newton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Thandie Newton\" .  ?e <number_of_seasons> ?pv .  }", "answer": "4"}, {"question": "What is the connection between SC Freiburg to association football?", "choices": ["fictional universe described in", "license", "political ideology", "season starts", "affiliation", "languages spoken, written or signed", "contributor(s) to the creative work", "distributor", "country", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SC Freiburg"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"SC Freiburg\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Which agent is located in Hanover (the one whose native label is Hannover)?", "choices": ["Hannover 96", "NBCUniversal", "Image Entertainment", "McDonald's", "Pfizer", "Academy of Television Arts & Sciences", "BBC", "Hamburger SV", "E. W. Scripps Company", "Toronto Argonauts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hanover"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Hannover"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Hanover\" . ?e_1 <native_label> ?pv . ?pv <pred:value> \"Hannover\" .   }", "answer": "Hannover 96"}, {"question": "Which has lower elevation above sea level, Z\u00fcrich or Luxembourg whose population is 75399?", "choices": ["Moscow", "Lausanne", "Sarajevo", "Mexico City", "Z\u00fcrich", "Doha", "Riga", "New Delhi", "Luxembourg", "Manila"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Z\u00fcrich"]}, {"function": "Find", "dependencies": [], "inputs": ["Luxembourg"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "75399", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Z\u00fcrich\" . } UNION { ?e <pred:name> \"Luxembourg\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"75399\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Luxembourg"}, {"question": "What is the connection between Julius Caesar (the one that was nominated for BAFTA Award for Best Film) to black-and-white?", "choices": ["inspired by", "donated by", "writing system", "contributing factor of", "contains settlement", "family", "official religion", "color", "has immediate cause", "territory claimed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Julius Caesar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Julius Caesar\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"BAFTA Award for Best Film\" . ?e_2 <pred:name> \"black-and-white\" . ?e_1 ?p ?e_2 .  }", "answer": "color"}, {"question": "Is the elevation lower in Rhode Island or in Nebraska, which borders Iowa?", "choices": ["Rhode Island", "New Jersey", "Colorado", "Iowa", "Illinois", "Hawaii", "California", "Nebraska", "Florida", "New Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rhode Island"]}, {"function": "Find", "dependencies": [], "inputs": ["Iowa"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rhode Island\" .  } UNION { ?e <pred:name> \"Nebraska\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Iowa\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rhode Island"}, {"question": "What association football club has the Twitter username OMONOIAfootball?", "choices": ["CR Vasco da Gama", "Tiburones Rojos de Veracruz", "Eintracht Frankfurt", "Zamalek SC", "Xerez C.D.", "FC Anzhi Makhachkala", "Brisbane Roar FC", "AC Omonia", "Stade Brestois 29", "Middlesbrough F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "OMONOIAfootball"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"OMONOIAfootball\" .  }", "answer": "AC Omonia"}, {"question": "What is the relationship between Michael O'Neill (the one that is educated at Exeter College) and the United Kingdom?", "choices": ["country of citizenship", "musical conductor", "source of material", "sex or gender", "narrative location", "distribution", "honorific suffix", "instrument", "domain of saint or deity", "has parts of the class"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Exeter College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael O'Neill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael O'Neill\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Exeter College\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How many bands are from the country of Tunisia or are the composers of The Rock?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunisia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Find", "dependencies": [], "inputs": ["The Rock"]}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Tunisia\" .  } UNION { ?e_1 <composer> ?e . ?e_1 <pred:name> \"The Rock\" .  } }", "answer": "0"}, {"question": "Which one of feature movies with Hans Zimmer (the one who received 1996 Grammy Award) performing is the longest ?", "choices": ["John Carter", "Pirates of the Caribbean: At World's End", "The Muppets", "The Flintstones", "The Flintstones in Viva Rock Vegas", "Pirates of the Caribbean: On Stranger Tides", "Alvin and the Chipmunks: Chipwrecked", "National Treasure: Book of Secrets", "Holes", "Old Dogs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1996 Grammy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hans Zimmer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Hans Zimmer\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"1996 Grammy Awards\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pirates of the Caribbean: At World's End"}, {"question": "Of all Texas counties established prior to the year 1837, which occupies the most area?", "choices": ["El Paso County", "Jefferson County", "Brazoria County", "Harris County", "Johnson County", "Dallas County", "McLennan County", "Cameron County", "Hidalgo County", "Bexar County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1837", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1837 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Harris County"}, {"question": "What county in Texas with a population over 940000 has the smallest area?", "choices": ["Dallas County", "McLennan County", "Montgomery County", "Brazoria County", "Harris County", "Tarrant County", "Hidalgo County", "Cameron County", "Bexar County", "Travis County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "940000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"940000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tarrant County"}, {"question": "How is Washington County (the one whose FIPS 6-4 (US counties) is 27163) related to Chisago County ?", "choices": ["language of work or name", "ethnic group", "manner of death", "developer", "convicted of", "student", "afflicts", "officeholder", "country", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "27163"]}, {"function": "Find", "dependencies": [], "inputs": ["Chisago County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Washington County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"27163\" . ?e_2 <pred:name> \"Chisago County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Of independent cities of Germany without 950000 in population, which is highest above sea level?", "choices": ["Baden-Baden", "Coburg", "James Brown", "Frankfurt (Oder)", "Bayreuth", "Universal Studios Home Entertainment", "Eau Claire", "Weimar", "Richard Wright", "Nordic combined"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "950000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"950000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "How are Moldova and Taiwan related?", "choices": ["named after", "diplomatic relation", "affiliation", "has dialect (DEPRECATED)", "lowest point", "inspired by", "doctoral advisor", "substitute/deputy/replacement of office/officeholder", "dialect of", "location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moldova"]}, {"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Moldova\" . ?e_2 <pred:name> \"Taiwan\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "How is Tyra Banks related to businessperson?", "choices": ["interested in", "place of publication", "patron saint", "location of discovery", "terminus", "replaced by", "occupation", "editor", "territory overlaps", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tyra Banks"]}, {"function": "Find", "dependencies": [], "inputs": ["businessperson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tyra Banks\" . ?e_2 <pred:name> \"businessperson\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "On 2015-01-01 was the population of Barnstable County greater than 56000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barnstable County"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2015-01-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["56000", ">"]}], "sparql": "ASK { ?e <pred:name> \"Barnstable County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"56000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2015-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "What is the publication location of the film titled Epic Movie whose release date is 2007-04-05?", "choices": ["Tokyo", "58th Berlin International Film Festival", "United Kingdom", "Sweden", "Greek Theatre, Los Angeles", "Lithuania", "Kazakhstan", "Portal:Belgium", "Charlotte Motor Speedway", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Epic Movie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-04-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Epic Movie\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-04-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was Alan Parsons born?", "choices": ["1937-09-27", "1934-07-28", "1980-09-21", "1971-04-18", "1948-12-20", "1969-04-29", "1947-10-24", "1979-08-01", "1937-04-22", "1927-10-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Parsons"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Alan Parsons\" . ?e <date_of_birth> ?pv .  }", "answer": "1948-12-20"}, {"question": "What is the licence plate code of the capital where Irrfan Khan was born?", "choices": ["MOC", "MO", "I", "77", "RJ-14", "CN", "IRQ", "BS", "CAM", "57"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irrfan Khan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["licence plate code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Irrfan Khan\" .  ?e <licence_plate_code> ?pv .  }", "answer": "RJ-14"}, {"question": "What is the edition number for the 47th Academy Awards?", "choices": ["47", "41", "48", "57", "60", "15", "9", "28", "81", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["47th Academy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["edition number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"47th Academy Awards\" . ?e <edition_number> ?pv .  }", "answer": "47"}, {"question": "How many estates in land originated in the name of the House of Oldenburg or were founded after 1070?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Oldenburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["estate in land"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1070", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["estate in land"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"estate in land\" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> \"House of Oldenburg\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1070 ) .  } }", "answer": "5"}, {"question": "How many movie awards were established earlier than 1983?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1983", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1983 ) .  }", "answer": "6"}, {"question": "I want to know the relationship with Kansas (which is the drama film genre) and the United States of America", "choices": ["doctoral student", "country of origin", "place of death", "hair color", "author", "sidekick of", "contributing factor of", "student of", "studies", "filmography"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kansas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kansas\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"drama film\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Who studied at Brandeis University of the cast member of Will & Grace?", "choices": ["Max Fleischer", "Sylvester Stallone", "Sean Hayes", "Steven Culp", "William Henry Harrison", "David Crane", "Debra Messing", "Richard Gere", "Loretta Devine", "Tony Goldwyn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will & Grace"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Brandeis University"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Will & Grace\" .  ?e <educated_at> ?e_2 . ?e_2 <pred:name> \"Brandeis University\" .  }", "answer": "Debra Messing"}, {"question": "How many islands are located near or next to the geographic region where the Stack Exchange tag is https://travel.stackexchange.com/tags/pacific-ocean?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://travel.stackexchange.com/tags/pacific-ocean"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["island"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"geographic region\" . ?e_1 <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://travel.stackexchange.com/tags/pacific-ocean\" .   }", "answer": "10"}, {"question": "Who is the reviewer for its ranking of 143, for the national-association football team whose FIFA country code is ANG?", "choices": ["International Congress of Distinguished Awards", "Empire", "Gene Siskel", "James Berardinelli", "Innovation, Science and Economic Development Canada", "Rotten Tomatoes", "FIFA", "AlloCin\u00e9", "AllMovie", "Charity Navigator"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIFA country code", "ANG"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "143", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <FIFA_country_code> ?pv_1 . ?pv_1 <pred:value> \"ANG\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"143\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Was the rock band that composed Dune, which was shot in Mexico, not founded in 1999?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dune"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1999", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Dune\" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> \"Mexico\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1999 ) .  }", "answer": "yes"}, {"question": "Who won for Best Featured Actor in a Play at the 59th Tony Awards?", "choices": ["Charles Durning", "Sylvester Stallone", "Liev Schreiber", "Max Fleischer", "Eddie Redmayne", "William Henry Harrison", "Mike Nichols", "David Byrne", "Arthur Kennedy", "Hume Cronyn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "59th Tony Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Featured Actor in a Play\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"59th Tony Awards\" .  }", "answer": "Liev Schreiber"}, {"question": "Which writer's official website is http://myspace.com/tommychong?", "choices": ["Ursula K. Le Guin", "Tommy Chong", "Max Fleischer", "William Henry Harrison", "Marcel Proust", "Richard Gere", "Kristin Chenoweth", "Tim Burton", "Osamu Tezuka", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://myspace.com/tommychong"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"writer\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://myspace.com/tommychong\" .  }", "answer": "Tommy Chong"}, {"question": "What is the official website of Sheena Easton?", "choices": ["https://www.statenislandusa.com/", "http://www.gocolumbiamo.com", "https://www.cbs.com/shows/the_good_wife/", "http://www.sonypictures.com/movies/strangerthanfiction/", "http://www.tbs.com/shows/conan", "http://www.charmeck.nc.us", "http://www.xanderberkeley.net", "http://www.cafonline.com", "http://www.kcg.gov.tw/english/", "http://www.sheenaeaston.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheena Easton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Sheena Easton\" . ?e <official_website> ?pv .  }", "answer": "http://www.sheenaeaston.com"}, {"question": "What relation is there from United Kingdom to downtempo?", "choices": ["country of origin", "academic degree", "founded by", "contains administrative territorial entity", "hair color", "famous people", "film crew member", "copyright holder", "field of work", "manufacturer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["downtempo"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"downtempo\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Which screenwriter has CANTIC-ID is a1178698x?", "choices": ["Robert Silverberg", "George Clooney", "Richard Gere", "Sylvester Stallone", "Max Fleischer", "Lenny Bruce", "Oscar Hammerstein II", "Errol Flynn", "William Henry Harrison", "David Milch"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1178698x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a1178698x\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"screenwriter\" .  }", "answer": "Errol Flynn"}, {"question": "What is the number of manifestations that are illustrated by Richard Curtis or that are entitled New-York Daily Times?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Curtis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["illustrator", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["manifestation"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "New-York Daily Times"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["manifestation"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"manifestation\" .  { ?e <illustrator> ?e_1 . ?e_1 <pred:name> \"Richard Curtis\" .  } UNION { ?e <title> ?pv . ?pv <pred:value> \"New-York Daily Times\" .  } }", "answer": "1"}, {"question": "Does the filming-location city for Merry Christmas, Mr. Lawrence, have its population equal to 4.2 (the point in time of this statement is 2014)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merry Christmas, Mr. Lawrence"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2014"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4.2", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Merry Christmas, Mr. Lawrence\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4.2\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2014 .  }", "answer": "no"}, {"question": "What is the name of Alou Diarra in native language ?", "choices": ["Alou Diarra", "Brian May", "Donald Trump", "Lance Henriksen", "Shania Twain", "Michel Legrand", "Richard Roxburgh", "Marilyn Manson", "Channing Tatum", "Juan Mata"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alou Diarra"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Alou Diarra\" . ?e <name_in_native_language> ?pv .  }", "answer": "Alou Diarra"}, {"question": "How is Christopher Sabat related to Dallas whose Twitter username is CityOfDallas?", "choices": ["subject has role", "cites", "language used", "territory claimed by", "writing system", "successful candidate", "residence", "costume designer", "sports season of league or competition", "enclave within"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Sabat"]}, {"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Twitter username", "CityOfDallas"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Christopher Sabat\" . ?e_2 <pred:name> \"Dallas\" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> \"CityOfDallas\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "Is the publication date before 2008 for the entertainment that is based on Batman & Robin whose exploitation visa number is 92402?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Batman & Robin"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "92402"]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["entertainment"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2008", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Batman & Robin\" . ?e_1 <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"92402\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) .  }", "answer": "yes"}, {"question": "Which black-and-white movie is titled \u0423\u0431\u0438\u0439\u0446\u044b?", "choices": ["The Killers", "Sullivan's Travels", "Talk to Her", "Rebecca", "The Contender", "Pleasantville", "Metropolis", "A Prairie Home Companion", "Edge of Darkness", "High Noon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "\u0423\u0431\u0438\u0439\u0446\u044b"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .  ?e <title> ?pv . ?pv <pred:value> \"\u0423\u0431\u0438\u0439\u0446\u044b\" .  }", "answer": "The Killers"}, {"question": "Who has been a cast member in both A Few Good Men and Nixon?", "choices": ["Tom Cruise", "J. T. Walsh", "Paul Sorvino", "Demi Moore", "Joshua Malina", "Sam Waterston", "Joan Allen", "Xander Berkeley", "Kiefer Sutherland", "John C. McGinley"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Few Good Men"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Nixon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"A Few Good Men\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"Nixon\" .  }", "answer": "J. T. Walsh"}, {"question": "Is the local dialing code of the city of the United States whose official website is http://www.springfieldma.gov/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.springfieldma.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["563"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.springfieldma.gov/\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"563\" .  }", "answer": "no"}, {"question": "What is the name of the film wrote by the person born in 1964-10-03?", "choices": ["Alien: Resurrection", "Crash", "Greystoke: The Legend of Tarzan, Lord of the Apes", "American Wedding", "Antwone Fisher", "Gangs of New York", "Jaws", "Chaplin", "Children of Men", "The Fifth Element"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1964-10-03", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1964-10-03\"^^xsd:date .   }", "answer": "Children of Men"}, {"question": "In the year 1968, who received a Tony Award nomination in the category of Best Play?", "choices": ["William Henry Harrison", "Poul Anderson", "Anna Deavere Smith", "Graham Greene", "Richard Gere", "Seymour Cassel", "Mel Brooks", "Arthur Miller", "Sylvester Stallone", "Tennessee Williams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1968", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Play\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1968 .  }", "answer": "Arthur Miller"}, {"question": "Which geographic region that shares a border with Eurasia has the smallest area?", "choices": ["Australia", "Antarctica", "Africa", "Transylvania", "South America", "North America", "Atlantic Canada", "Lake District", "Piedmont", "Southern California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eurasia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Eurasia\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Australia"}, {"question": "Who is the person whose ISNI is 0000 0001 1460 7354 and that is famous for bass guitar?", "choices": ["Richard Gere", "Dave Navarro", "Buckethead", "Billy Corgan", "Richie Sambora", "Max Fleischer", "William Henry Harrison", "Jay Bennett", "Sylvester Stallone", "Bryan Adams"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1460 7354"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["bass guitar"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1460 7354\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"bass guitar\" .  }", "answer": "Jay Bennett"}, {"question": "St. Augustine, with the patron saint Augustine of Hippo, has what connection to the Catholic Church?", "choices": ["military conflicts", "sex or gender", "religion", "time period", "permanent resident of", "allegiance", "instrument", "stated in", "nutrient", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augustine of Hippo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["patron saint", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Augustine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Catholic Church"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St. Augustine\" . ?e_1 <patron_saint> ?e_3 . ?e_3 <pred:name> \"Augustine of Hippo\" . ?e_2 <pred:name> \"Catholic Church\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "Where was the visual artwork whose official website is http://www.paramount.com/movies/forrest-gump/ published on 1994-10-13?", "choices": ["Hong Kong", "Quebec", "Moscow", "United Kingdom", "Hollywood Bowl", "North America", "West Germany", "Germany", "Serbia", "Latvia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.paramount.com/movies/forrest-gump/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1994-10-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.paramount.com/movies/forrest-gump/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-10-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the publication date of the film that is designed by Albert S. D'Agostino after 1993 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albert S. D'Agostino"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1993", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> \"Albert S. D'Agostino\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1993 ) .  }", "answer": "no"}, {"question": "What company has less total revenue, Delta Air Lines or Target Corporation?", "choices": ["McDonald's", "KLM", "Sega", "Target Corporation", "Entertainment One", "Adobe Inc.", "Skidmore Owings Merrill", "Vodafone", "Pfizer", "Delta Air Lines"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delta Air Lines"]}, {"function": "Find", "dependencies": [], "inputs": ["Target Corporation"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total revenue", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Delta Air Lines\" .  } UNION { ?e <pred:name> \"Target Corporation\" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Delta Air Lines"}, {"question": "Does Oregan or Battle Creek (whose subreddit is BattleCreek) have the larger area?", "choices": ["New Haven", "Franklin", "Ogden", "Battle Creek", "Compton", "Columbus", "Greenville", "Boulder", "Waukegan", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "BattleCreek"]}, {"function": "Find", "dependencies": [], "inputs": ["Ogden"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Battle Creek\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"BattleCreek\" . } UNION { ?e <pred:name> \"Ogden\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Battle Creek"}, {"question": "Is 81981 the Name Assigning Authority Number for the higher learning institution that is the educational site of Dick Clark who is a member of the political party called the Democratic Party?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dick Clark"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Name Assigning Authority Number"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["81981"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Dick Clark\" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> \"Democratic Party\" .  ?e <Name_Assigning_Authority_Number> ?pv . ?pv <pred:value> \"81981\" .  }", "answer": "yes"}, {"question": "Which language is associated with Ar-\u0628\u0642\u0631\u0629.ogg, the pronunciation audio of the group of organisms known by one particular common name that includes the natural product beef?", "choices": ["France", "Macedonian", "Bulgarian", "Slovene", "Slovak", "Maltese", "Hungarian", "Old English", "Arabic", "Canadian French"], "program": [{"function": "Find", "dependencies": [], "inputs": ["beef"]}, {"function": "Relate", "dependencies": [0], "inputs": ["natural product of taxon", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pronunciation audio", "Ar-\u0628\u0642\u0631\u0629.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e_1 <natural_product_of_taxon> ?e . ?e_1 <pred:name> \"beef\" .  ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Ar-\u0628\u0642\u0631\u0629.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Arabic"}, {"question": "Which movie is shorter, Carrie (the one that has Judy Greer as a cast member) or The Tourist?", "choices": ["The Hunchback of Notre Dame", "The Tourist", "Rebecca", "The Fifth Element", "Talk to Her", "Curse of the Golden Flower", "Carrie", "The Towering Inferno", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judy Greer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carrie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Tourist"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carrie\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Judy Greer\" .   } UNION { ?e <pred:name> \"The Tourist\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Carrie"}, {"question": "What is the connection between Gladiator (the one whose genre is teen film) to Columbia Pictures?", "choices": ["official residence", "country of citizenship", "depicted by", "office held by head of government", "distributor", "country for sport", "basin country", "voice actor", "ethnic group", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["teen film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gladiator"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gladiator\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"teen film\" . ?e_2 <pred:name> \"Columbia Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "How is Little Woman with Laura Dern related to Sony Pictures?", "choices": ["production company", "illustrator", "drafted by", "ancestral home", "industry", "original language of film or TV show", "record label", "heritage designation", "next higher rank", "dialect of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laura Dern"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Little Women"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sony Pictures"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Little Women\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Laura Dern\" . ?e_2 <pred:name> \"Sony Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "What higher learning institution has the postal code 93740 and is the school location where the 2002 Major League Baseball draft takes place?", "choices": ["California State University, Fresno", "University of Tehran", "McNeese State University", "Pennsylvania State University", "Ball State University", "McMaster University", "University of South Carolina", "University of Manchester", "King's College London", "Imperial College London"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "93740"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "Find", "dependencies": [], "inputs": ["2002 Major League Baseball draft"]}, {"function": "Relate", "dependencies": [3], "inputs": ["draft pick from school", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <postal_code> ?pv . ?pv <pred:value> \"93740\" . ?e_1 <draft_pick_from_school> ?e . ?e_1 <pred:name> \"2002 Major League Baseball draft\" .  }", "answer": "California State University, Fresno"}, {"question": "When did die the person nominated for the Academy Award for Best Supporting Actress for The Great Lie?", "choices": ["1865-04-15", "2007-11-28", "1937-07-11", "1939-03-12", "1993-09-03", "2008-02-15", "1846-09-15", "1987-09-25", "1880-05-08", "2004-09-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Great Lie"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Great Lie\" . ?e <date_of_death> ?pv .  }", "answer": "1987-09-25"}, {"question": "What is the connection between Sierra Entertainment and Activision Blizzard?", "choices": ["musical conductor", "owned by", "model item", "airline hub", "nutrient", "military casualty classification", "operating system", "candidate", "mother", "risk factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sierra Entertainment"]}, {"function": "Find", "dependencies": [], "inputs": ["Activision Blizzard"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sierra Entertainment\" . ?e_2 <pred:name> \"Activision Blizzard\" . ?e_1 ?p ?e_2 .  }", "answer": "owned by"}, {"question": "What is the date of birth for the human that stopped being the spouse of Robin Wright in 2010?", "choices": ["1920-07-11", "1918-06-12", "1951-04-12", "1936-10-24", "1917-01-24", "1965-01-26", "1982-03-03", "1974-01-10", "1960-08-17", "1958-03-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robin Wright"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2010", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Robin Wright\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2010 . ?e <date_of_birth> ?pv .  }", "answer": "1960-08-17"}, {"question": "What is the connection between Ben Harper (the one whose genre is alternative rock) to musician?", "choices": ["applies to jurisdiction", "occupation", "has quality", "medical condition", "film regional debut venue", "sport", "works in collection", "family", "licensed to broadcast to", "influenced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Harper"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ben Harper\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"alternative rock\" . ?e_2 <pred:name> \"musician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What number of movies were published before 1984 or succeeded by The Flintstones in Viva Rock Vegas?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1984", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Find", "dependencies": [], "inputs": ["The Flintstones in Viva Rock Vegas"]}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1984 ) .  } UNION { ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"The Flintstones in Viva Rock Vegas\" .  } }", "answer": "9"}, {"question": "What is the ISNI of the band with Twitter username korn?", "choices": ["0000 0001 1037 0281", "0000 0001 2316 1526", "0000 0004 0405 4567", "0000 0001 1450 1509", "0000 0000 7840 0494", "0000 0001 1598 8398", "0000 0003 6850 4419", "0000 0001 2131 279X", "0000 0001 1742 8781", "0000 0000 3041 1370"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "korn"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"korn\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2316 1526"}, {"question": "What number of Indian states have a FIPS 10-4 (countries and regions) of IN33?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "IN33"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"IN33\" .  }", "answer": "1"}, {"question": "Who is the person who stars in Desperate Housewives and was born in Berlin?", "choices": ["Ken Adam", "Ernst Lubitsch", "John Slattery", "Dominic Monaghan", "Jon Polito", "Eva Longoria", "Walter Benjamin", "Lois Smith", "Wallace Shawn", "Frederick II of Prussia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Desperate Housewives"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Berlin"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Desperate Housewives\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Berlin\" .  }", "answer": "Dominic Monaghan"}, {"question": "Who is the person nominated for the same award Audrey Hebpurn was nominated for, thanks to her performance in Secrets & Lies ?", "choices": ["Helen Hayes", "Brenda Blethyn", "Sylvester Stallone", "Mike Leigh", "William Henry Harrison", "Isabelle Adjani", "Carey Mulligan", "Sissy Spacek", "Anne Hathaway", "Miranda Richardson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Audrey Hepburn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "Secrets & Lies"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"Audrey Hepburn\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Secrets & Lies\" .  }", "answer": "Brenda Blethyn"}, {"question": "Does the democracy whose demonym is francesa, have a population less than 21000 (the point in time of this statement is 1963)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "francesa"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "1963"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["21000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"francesa\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"21000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1963 .  }", "answer": "no"}, {"question": "Which movie succeeds the film published on 2001-06-28?", "choices": ["Speed 2: Cruise Control", "Rambo III", "Hannibal Rising", "Speed", "Lara Croft Tomb Raider: The Cradle of Life", "Elektra", "The Expendables 2", "Stop! Or My Mom Will Shoot", "Evan Almighty", "Tuvalu"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2001-06-28", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <followed_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2001-06-28\"^^xsd:date .   }", "answer": "Lara Croft Tomb Raider: The Cradle of Life"}, {"question": "Alison Krauss has what connection to Decatur, founded in 1823?", "choices": ["discoverer or inventor", "feast day", "contributor(s) to the creative work", "famous people", "film release region", "drug used for treatment", "home world", "lyrics by", "place of birth", "separated from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alison Krauss"]}, {"function": "Find", "dependencies": [], "inputs": ["Decatur"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1823", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alison Krauss\" . ?e_2 <pred:name> \"Decatur\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1823 . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Was the person with ISNI 0000 0001 1953 270X born after 1942?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1953 270X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1942", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1953 270X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1942 ) .  }", "answer": "yes"}, {"question": "How is the Jurassic Park released in the USA related to the Jurassic Park with ISBN-10 number 0-394-58816-9?", "choices": ["worshipped by", "drug used for treatment", "location of formation", "platform", "home port", "shares border with", "replaced by", "designed to carry", "based on", "military casualty classification"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jurassic Park"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jurassic Park"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISBN-10", "0-394-58816-9"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jurassic Park\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Jurassic Park\" . ?e_2 <ISBN-10> ?pv . ?pv <pred:value> \"0-394-58816-9\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "Which animated series that received a Peabody Award has the most episodes?", "choices": ["The Venture Bros.", "The Cleveland Show", "The Simpsons", "Avatar: The Last Airbender", "Tiny Toon Adventures", "Phineas and Ferb", "South Park", "American Dad!", "Robot Chicken", "Aladdin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Peabody Award\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Simpsons"}, {"question": "Which anime television series whose start date is after the year 2000 has the most episodes?", "choices": ["Digimon Adventure", "Mobile Suit Gundam SEED", "Yu-Gi-Oh! GX", "Speed Racer", "Digimon Adventure 02", "Dragon Ball", "Yu-Gi-Oh! Duel Monsters", "The Three Musketeers", "Mobile Suit Gundam 00", "RahXephon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2000 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Yu-Gi-Oh! GX"}, {"question": "Which language is associated with http://www.ci.orange.nj.us, the official website of Orange (which shares a border with Montclair)?", "choices": ["Polish", "Punjab", "English", "Japanese", "Luxembourgish", "Atikamekw", "Ukrainian", "Danish", "Franco-Proven\u00e7al", "Thai"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montclair"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.ci.orange.nj.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Orange\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Montclair\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ci.orange.nj.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Mo'Nique was a BAFTA winner for Best Actress in a Supporting Role for which work?", "choices": ["Tender Mercies", "Precious", "The Painted Veil", "The Little Orphan", "Birdman of Alcatraz", "The Motorcycle Diaries", "The Rainmaker", "A Storm of Swords", "Accelerando", "Have You Ever Really Loved a Woman?"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actress in a Supporting Role"]}, {"function": "Find", "dependencies": [], "inputs": ["Mo'Nique"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Actress in a Supporting Role\" . ?e_2 <pred:name> \"Mo'Nique\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Precious"}, {"question": "How is CSI: Crime Scene Investigation related to Ian Somerhalder?", "choices": ["location of discovery", "cast member", "feast day", "illustrator", "operating area", "has contributing factor", "art director", "draft pick from school", "commissioned by", "culture"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CSI: Crime Scene Investigation"]}, {"function": "Find", "dependencies": [], "inputs": ["Ian Somerhalder"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"CSI: Crime Scene Investigation\" . ?e_2 <pred:name> \"Ian Somerhalder\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the ISNI of the person with an CANTIC-ID of a10281605?", "choices": ["0000 0001 0941 5921", "0000 0004 0389 1187", "0000 0000 7840 0953", "0000 0001 0872 3762", "0000 0001 1029 6296", "0000 0001 1689 9928", "0000 0001 1558 3593", "0000 0001 1703 1039", "0000 0001 2125 9394", "0000 0001 2142 8469"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10281605"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10281605\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1029 6296"}, {"question": "Where was Amelia published on 2010-06-17?", "choices": ["Croatia", "Greek Theatre, Los Angeles", "Bolivia", "Germany", "Mexico", "Egypt", "Ukraine", "People's Republic of China", "Iceland", "Seattle International Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amelia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2010-06-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Amelia\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-06-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the ISNI for Billie Whitelaw?", "choices": ["0000 0001 2254 0380", "0000 0000 9112 4105", "0000 0001 2126 1849", "0000 0001 1071 7441", "0000 0000 3968 0438", "0000 0000 8161 2084", "0000 0001 1507 2638", "0000 0001 0837 2034", "0000 0001 2021 7483", "0000 0001 2151 0999"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billie Whitelaw"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Billie Whitelaw\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2126 1849"}, {"question": "How many researchers have the Portuguese Job Code CPP-2010 of 2111.2 and have the ROME Occupation Code (v3) of K2402?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Portuguese Job Code CPP-2010", "2111.2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["researcher"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "K2402"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["researcher"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" . ?e <Portuguese_Job_Code_CPP-2010> ?pv . ?pv <pred:value> \"2111.2\" . ?e <ROME_Occupation_Code_(v3)> ?pv_1 . ?pv_1 <pred:value> \"K2402\" .  }", "answer": "1"}, {"question": "What is the character role of Edward James Olmos in Battlestar Galactica (the one that is created by Ronald D. Moore)?", "choices": ["Calibos", "Jimmy Darmody", "Clayface", "Matchmaker", "Rain Ocampo", "Rafe McCawley", "Arthur Dallas", "Leland Palmer", "Asher Talos", "William Adama"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ronald D. Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battlestar Galactica"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Edward James Olmos"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Battlestar Galactica\" . ?e_1 <creator> ?e_3 . ?e_3 <pred:name> \"Ronald D. Moore\" . ?e_2 <pred:name> \"Edward James Olmos\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "William Adama"}, {"question": "Is the person born on 1976-06-07 above 80 centimetre tall?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1976-06-07", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["80 centimetre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1976-06-07\"^^xsd:date . ?e <height> ?pv . ?pv <pred:unit> \"centimetre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"80\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many arts festivals take place in Ohio or have the abbreviation TIFF?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["arts festival"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["short name", "TIFF"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["arts festival"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"arts festival\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Ohio\" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> \"TIFF\" .  } }", "answer": "1"}, {"question": "Was the film whose title is Munich published in Germany after 2017?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Munich"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2017", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Munich\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2017 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "no"}, {"question": "When did The Island Def Jam Music Group commence distribution duties for Casablanca Records?", "choices": ["1998-09-27", "1995-09-09", "1945-11-29", "1973", "2006-07-31", "1967", "1996-01-01", "1517", "1995-02-01", "1991-05-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Casablanca Records"]}, {"function": "Find", "dependencies": [], "inputs": ["The Island Def Jam Music Group"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["distributor", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Casablanca Records\" . ?e_2 <pred:name> \"The Island Def Jam Music Group\" . ?e_1 <distributor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <distributor> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1973"}, {"question": "What is the title of the film distinct from the 120-minute Mr. & Mrs. Smith?", "choices": ["The Fall", "Der verr\u00fcckte Professor", "Paterson", "Anonymous", "Autant en emporte le vent", "Mr. & Mrs. Smith", "Don't Be Afraid of the Dark", "Good Night, and Good Luck.", "The Clearing", "The Boat That Rocked"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mr. & Mrs. Smith"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "120 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Mr. & Mrs. Smith\" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"120\"^^xsd:double . ?e <title> ?pv .  }", "answer": "Mr. & Mrs. Smith"}, {"question": "What is the name of the city whose WOEID is 38283?", "choices": ["Cork", "Truro", "Kilkenny", "San Salvador", "Nelson", "Algiers", "Ballarat", "Oslo", "Chihuahua", "Kingston"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "38283"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <WOEID> ?pv . ?pv <pred:value> \"38283\" .  }", "answer": "Truro"}, {"question": "Was the person with CANTIC-ID a11091940 born before 1960?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11091940"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1960", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11091940\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1960 ) .  }", "answer": "yes"}, {"question": "What visual artwork has the genre of romance film and has Ava Gardner as a cast member?", "choices": ["Little Children", "Snow Falling on Cedars", "Around the World in 80 Days", "Bolero", "The Cassandra Crossing", "Pride & Prejudice", "Tyrannosaur", "Singapore", "The Crucible", "The Killers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Ava Gardner"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"romance film\" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Ava Gardner\" .  }", "answer": "Singapore"}, {"question": "Which has a greater population, Limburg (which contains the administrative division Maastricht) or Friesland?", "choices": ["Overijssel", "South Holland", "Zeeland", "North Holland", "Gelderland", "Utrecht", "Groningen", "Limburg", "North Brabant", "Drenthe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maastricht"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Limburg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Friesland"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Limburg\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Maastricht\" .   } UNION { ?e <pred:name> \"Friesland\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Limburg"}, {"question": "When was Beauty and the Beast (the one whose ISWC is T-070.017.986-7) with Angela Lansbury published?", "choices": ["2001-07-19", "2011-03-03", "1991", "2001-10-19", "2000-05-04", "2014-03-10", "2001-02-08", "2011-08-04", "1998-11-19", "1992-03-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beauty and the Beast"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISWC", "T-070.017.986-7"]}, {"function": "Find", "dependencies": [], "inputs": ["Angela Lansbury"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["performer", "publication date"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Beauty and the Beast\" . ?e_1 <ISWC> ?pv . ?pv <pred:value> \"T-070.017.986-7\" . ?e_2 <pred:name> \"Angela Lansbury\" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <publication_date> ?qpv .  }", "answer": "1991"}, {"question": "Devon, population 1135700, is the setting of the movie released in which location on 2012-02-16?", "choices": ["Germany", "France", "Bahrain", "Central Park", "Toronto International Film Festival", "Vietnam", "Uruguay", "Slovakia", "2003 Cannes Film Festival", "Berlin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Devon"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1135700", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2012-02-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Devon\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1135700\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-02-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did Tom Selleck receive the Primetime Emmy Award for Outstanding Lead Actor in a Drama Series?", "choices": ["1996-09-25", "1377", "2001-04-11", "1981-06-22", "1984", "2011-03-09", "1977-01-01", "1754-01-01", "1853-01-01", "1996-02-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Selleck"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tom Selleck\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Drama Series\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1984"}, {"question": "Which first-level administrative country subdivision claiming the public holiday Christmas has the highest consent age?", "choices": ["Lublin Voivodeship", "Minas Gerais", "Upper Austria", "South Australia", "Podlaskie Voivodeship", "Chiapas", "Northern Territory", "England", "Greater Poland Voivodeship", "New South Wales"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christmas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["public holiday", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["age of consent", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <public_holiday> ?e_1 . ?e_1 <pred:name> \"Christmas\" .  ?e <age_of_consent> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "South Australia"}, {"question": "Is The Terminal or End of Days the shorter work?", "choices": ["Talk to Her", "A Prairie Home Companion", "The Terminal", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "Curse of the Golden Flower", "End of Days", "The Towering Inferno", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Terminal"]}, {"function": "Find", "dependencies": [], "inputs": ["End of Days"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Terminal\" .  } UNION { ?e <pred:name> \"End of Days\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "End of Days"}, {"question": "Which movie is shorter, Saskatchewan (the one whose title is Saskatchewan) or Don't Be Afraid of the Dark?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "Saskatchewan", "Don't Be Afraid of the Dark", "A Prairie Home Companion", "Talk to Her", "Training Day", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saskatchewan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Saskatchewan"]}, {"function": "Find", "dependencies": [], "inputs": ["Don't Be Afraid of the Dark"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saskatchewan\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Saskatchewan\" . } UNION { ?e <pred:name> \"Don't Be Afraid of the Dark\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Saskatchewan"}, {"question": "Which Texas county whose population is over 1.2 has the largest area?", "choices": ["Harris County", "Bexar County", "Collin County", "Jefferson County", "Travis County", "Fort Bend County", "Denton County", "Johnson County", "Dallas County", "Brazoria County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1.2", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"1.2\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Harris County"}, {"question": "Which is longer, 3:10 to Yuma released in the USA or Memoirs of a Geisha?", "choices": ["Rebecca", "A Prairie Home Companion", "Talk to Her", "The Fifth Element", "Pleasantville", "Training Day", "Memoirs of a Geisha", "Curse of the Golden Flower", "3:10 to Yuma", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["3:10 to Yuma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Memoirs of a Geisha"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"3:10 to Yuma\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Memoirs of a Geisha\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Memoirs of a Geisha"}, {"question": "Which language is used on the website www.cityofirvine.org, representing the US city at zip code 92612?", "choices": ["Traditional Chinese", "Northern Sotho", "Persian", "Franco-Proven\u00e7al", "Finnish", "Korean", "English", "Latin", "Yue Chinese", "Modern Greek"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "92612"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cityofirvine.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"92612\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cityofirvine.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What country is Northampton (WOEID 30599), the birthplace of Alan Moore (the one whose ISNI is 0000 0001 2095 9030) belonging to ?", "choices": ["Argentina", "United Kingdom", "Cura\u00e7ao", "English", "Albania", "Kingdom of Great Britain", "Venezuela", "Kingdom of Bavaria", "Sint Maarten", "Portugal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Moore"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2095 9030"]}, {"function": "Find", "dependencies": [], "inputs": ["Northampton"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["WOEID", "30599"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["place of birth", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alan Moore\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2095 9030\" . ?e_2 <pred:name> \"Northampton\" . ?e_2 <WOEID> ?pv_1 . ?pv_1 <pred:value> \"30599\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What is the subject of the statement that Alan Silvestri was nominated for an Academy Award for Best Original Score?", "choices": ["Seychelles\u2013United States relations", "Cuba\u2013Iraq relations", "Greece\u2013India relations", "Russia\u2013South Sudan relations", "67th Academy Awards", "51st Academy Awards", "Albania\u2013Greece relations", "Pakistan\u2013Zimbabwe relations", "Algeria\u2013Bangladesh relations", "Germany\u2013Norway relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Silvestri"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alan Silvestri\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "67th Academy Awards"}, {"question": "What is the area of the capital city of Kabul ( official language Pashto)?", "choices": ["118.69 square kilometre", "66.750753 square kilometre", "28278 square mile", "1420970 square kilometre", "135765 square kilometre", "2259 square kilometre", "4036 square kilometre", "129462.0 square kilometre", "275000000 square metre", "217 square mile"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pashto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kabul"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Kabul\" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> \"Pashto\" .  ?e <area> ?pv .  }", "answer": "275000000 square metre"}, {"question": "What visual artwork was composed by Theodore Shapiro who attended Wesleyan University?", "choices": ["13 Going on 30", "Marley & Me", "Starsky & Hutch", "Sweeney Todd: The Demon Barber of Fleet Street", "I Love You, Man", "Rebecca", "DodgeBall: A True Underdog Story", "Along Came Polly", "Arizona", "Ghostbusters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wesleyan University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Theodore Shapiro"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Theodore Shapiro\" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> \"Wesleyan University\" .   }", "answer": "DodgeBall: A True Underdog Story"}, {"question": "Which area is larger, Suffolk (the one that shares border with Newport News) or Winchester (the one whose population is 26923)?", "choices": ["Hampton", "Falls Church", "Lynchburg", "Danville", "Lexington", "Fairfax", "Winchester", "Williamsburg", "Suffolk", "Roanoke"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newport News"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Suffolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Winchester"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "26923", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Suffolk\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Newport News\" . } UNION { ?e <pred:name> \"Winchester\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"26923\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Suffolk"}, {"question": "How is macOS related to Greek, which has the short-form name \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u0438\u0439 ?", "choices": ["official language", "language of work or name", "contributor(s) to the creative work", "military casualty classification", "professional or sports partner", "native language", "exclave of", "set in period", "honorific suffix", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["macOS"]}, {"function": "Find", "dependencies": [], "inputs": ["Greek"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["short name", "\u0433\u0440\u0435\u0447\u0435\u0441\u043a\u0438\u0439"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"macOS\" . ?e_2 <pred:name> \"Greek\" . ?e_2 <short_name> ?pv . ?pv <pred:value> \"\u0433\u0440\u0435\u0447\u0435\u0441\u043a\u0438\u0439\" . ?e_1 ?p ?e_2 .  }", "answer": "language of work or name"}, {"question": "Tell me the film festival edition that follows the film festival edition that follows 58th Berlin International Film Festival", "choices": ["2010 Sundance Film Festival", "2009 Sundance Film Festival", "61st Berlin International Film Festival", "2011 Sundance Film Festival", "32nd Berlin International Film Festival", "59th Berlin International Film Festival", "60th Berlin International Film Festival", "62nd Berlin International Film Festival", "2012 Sundance Film Festival", "2008 Sundance Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["58th Berlin International Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival edition"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film festival edition"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" . ?e_1 <followed_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film festival edition\" . ?e_2 <followed_by> ?e_1 . ?e_2 <pred:name> \"58th Berlin International Film Festival\" .   }", "answer": "60th Berlin International Film Festival"}, {"question": "How is Northwest Territories related to Montana that borders South Dakota?", "choices": ["shares border with", "archives at", "edition or translation of", "sidekick of", "symptoms", "is a list of", "afflicts", "contains administrative territorial entity", "legislative body", "terminus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northwest Territories"]}, {"function": "Find", "dependencies": [], "inputs": ["South Dakota"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Montana"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Northwest Territories\" . ?e_2 <pred:name> \"Montana\" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"South Dakota\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the city of the United States where the band whose Twitter username is PIXIES (with 281209 followers) was formed?", "choices": ["Franklin", "New Haven", "Oakland", "Boston", "Newport", "Boulder", "Hammond", "Columbus", "Waukegan", "Northampton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "PIXIES"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "281209", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"band\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"PIXIES\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"281209\"^^xsd:double .   }", "answer": "Boston"}, {"question": "What is the number of MTV movie awards that has an inception time prior to 1992 or that got nominated to Wayne's World.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1992", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Movie Awards"]}, {"function": "Find", "dependencies": [], "inputs": ["Wayne's World"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Movie Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Movie Awards\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1992 ) .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Wayne's World\" .  } }", "answer": "3"}, {"question": "What place is found at a higher elevation above sea level, Ljubljana or Panama City?", "choices": ["Trieste", "Kilkenny", "Ljubljana", "Dundee", "Bergen", "Cork", "Abidjan", "Santo Domingo", "Chihuahua", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ljubljana"]}, {"function": "Find", "dependencies": [], "inputs": ["Panama City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ljubljana\" .  } UNION { ?e <pred:name> \"Panama City\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ljubljana"}, {"question": "How many Michigan counties have a population of less than 530000?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "530000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"530000\"^^xsd:double ) .  }", "answer": "12"}, {"question": "How is Rocky IV related to Irwin Winkler?", "choices": ["candidacy in election", "spouse", "developer", "depicts", "model item", "producer", "main food source", "filming location", "member of political party", "art director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rocky IV"]}, {"function": "Find", "dependencies": [], "inputs": ["Irwin Winkler"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rocky IV\" . ?e_2 <pred:name> \"Irwin Winkler\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "What is the mechanical wave that Mary J. Blige is famous for?", "choices": ["hip hop music", "Oi!", "hip hop soul", "jangle pop", "traditional heavy metal", "art punk", "contemporary R&B", "acoustic music", "glam metal", "rhythm and blues"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary J. Blige"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Mary J. Blige\" .   }", "answer": "hip hop soul"}, {"question": "What is the connection between Bela Lugosi to Holy Cross Cemetery?", "choices": ["place served by transport hub", "airline hub", "educated at", "part of the series", "mascot", "place of burial", "sibling", "has quality", "location of final assembly", "location of discovery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bela Lugosi"]}, {"function": "Find", "dependencies": [], "inputs": ["Holy Cross Cemetery"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bela Lugosi\" . ?e_2 <pred:name> \"Holy Cross Cemetery\" . ?e_1 ?p ?e_2 .  }", "answer": "place of burial"}, {"question": "Which animated, Family Guy spin-off series has the lowest episode count?", "choices": ["South Park", "Phineas and Ferb", "Disney's House of Mouse", "The Venture Bros.", "Robot Chicken", "Fantastic Four", "Tiny Toon Adventures", "American Dad!", "The Cleveland Show", "Aladdin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Guy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["series spin-off", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> \"Family Guy\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Cleveland Show"}, {"question": "Where was Superman III published on 1983-07-19?", "choices": ["Switzerland", "India", "Spain", "Slovakia", "United Kingdom", "Grauman's Chinese Theatre", "Johannesburg", "Austria", "Ukraine", "Cannes Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman III"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1983-07-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Superman III\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1983-07-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Which state is bigger, North Dakota or Idaho (the one that is headed by Secretary of State)?", "choices": ["Hawaii", "Iowa", "New Jersey", "New Mexico", "California", "Idaho", "Illinois", "Massachusetts", "Colorado", "Florida"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Secretary of State"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Idaho"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["North Dakota"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Idaho\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"Secretary of State\" .   } UNION { ?e <pred:name> \"North Dakota\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Idaho"}, {"question": "What's the official web address of the association football club whose postal code is 7100 Vejle?", "choices": ["http://www.comune.mantova.gov.it/", "http://www.jacobvargas.com/", "http://www.georgia.gov/", "https://www.python.org/", "http://www.julietavenegas.net/", "http://www.sho.com/site/weeds/home.do", "http://www.vejle-boldklub.dk", "http://www.slcgov.com/", "http://www.4everbrandy.com/", "http://www.parliament.uk/lords/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "7100 Vejle"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"7100 Vejle\" . ?e <official_website> ?pv .  }", "answer": "http://www.vejle-boldklub.dk"}, {"question": "How many national association football teams are related to sport association football having ranking greater than 160?", "choices": ["19", "20", "21", "22", "23", "24", "25", "26", "27", "28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "160", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"160\"^^xsd:double ) . ?e <sport> ?e_1 . ?e_1 <pred:name> \"association football\" .  }", "answer": "26"}, {"question": "Which county of Pennsylvania, that shares a border with Washington County (the one whose ISNI is 0000 0004 0419 2871), has the largest area?", "choices": ["Lehigh County", "York County", "Warren County", "Allegheny County", "Fulton County", "Cumberland County", "Bucks County", "Westmoreland County", "Franklin County", "Fayette County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0419 2871"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Pennsylvania"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Washington County\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0419 2871\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Franklin County"}, {"question": "When did Margaret Atwood become an employee of University of Alberta?", "choices": ["1963-12-12", "1990-10-01", "1986-09-16", "1949", "1992-05-23", "2018-12-01", "1952-02-14", "2012-01-06", "1969", "1894-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Margaret Atwood"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Alberta"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["employer", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Margaret Atwood\" . ?e_2 <pred:name> \"University of Alberta\" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1969"}, {"question": "What is the official website of the video game developer whose Twitter username is bnam_jp?", "choices": ["https://www.fcb.ch/", "https://www.olympic.org/athens-1896", "http://www.office-kitano.co.jp/", "https://vorskla.com.ua/en/", "http://www.burnley.gov.uk/", "http://www.maximumcrowe.net/", "http://www.phoenix.gov", "https://bandainamco-am.co.jp/", "http://www.monterrey.gob.mx/", "http://www.rugbyschool.net/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "bnam_jp"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"bnam_jp\" . ?e <official_website> ?pv .  }", "answer": "https://bandainamco-am.co.jp/"}, {"question": "Which school's official website is http://www.citadel.edu/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.citadel.edu/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.citadel.edu/\" .  }", "answer": "1"}, {"question": "What are the number of public offices whose inception time is after 1780 or before 1846 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1780", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public office"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1846", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public office"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public office\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1780 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1846 ) .  } }", "answer": "5"}, {"question": "Which USDA NDB designates the food ingredient item with UNII code L56Z1JK48B?", "choices": ["01008", "12118", "05006", "11109", "09203", "11760", "09201", "01081", "09003", "05013"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UNII", "L56Z1JK48B"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["USDA NDB number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" . ?e <UNII> ?pv_1 . ?pv_1 <pred:value> \"L56Z1JK48B\" . ?e <USDA_NDB_number> ?pv .  }", "answer": "11760"}, {"question": "What is the population of the county town whose native label is Warwick ?", "choices": ["21551634", "10267300", "167505", "6606395", "423420", "886837", "10945", "387423", "539403", "32719"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Warwick"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Warwick\" . ?e <population> ?pv .  }", "answer": "32719"}, {"question": "What number of social groups dissolved later than 1946 and apply to jurisdiction over Oman?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["applies to jurisdiction", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["social group"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["dissolved, abolished or demolished", "1946", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["social group"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"social group\" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> \"Oman\" .  ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1946 ) .  }", "answer": "0"}, {"question": "Is Corey_Feldman the Twitter username of the person whose ISNI is 0000 0000 7824 5666 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7824 5666"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Corey_Feldman"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7824 5666\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Corey_Feldman\" .  }", "answer": "yes"}, {"question": "What is the connection between McLean to Fairfax County?", "choices": ["spouse", "copyright holder", "worshipped by", "winner", "owner of", "replaced by", "tributary", "award received", "narrator", "located in the administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["McLean"]}, {"function": "Find", "dependencies": [], "inputs": ["Fairfax County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"McLean\" . ?e_2 <pred:name> \"Fairfax County\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What is the connection between Greg Bear to Nebula Award for Best Novelette?", "choices": ["original film format", "director/manager", "employer", "award received", "depicts", "place of death", "interested in", "official religion", "rector", "quotes work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greg Bear"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebula Award for Best Novelette"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greg Bear\" . ?e_2 <pred:name> \"Nebula Award for Best Novelette\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Was the the Nintendo activity with the GameID of GGZX52 published before 2002?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GGZX52"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2002", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"GGZX52\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }", "answer": "no"}, {"question": "Were production costs higher for The Doors, published on 1991-01-01, or for W.?", "choices": ["Talk to Her", "Curse of the Golden Flower", "Training Day", "Rebecca", "W.", "A Prairie Home Companion", "The Doors", "Pleasantville", "The Fifth Element", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Doors"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1991-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["W."]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Doors\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1991-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"W.\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Doors"}, {"question": "what is the duration of the animated film whose publication date is on 1944-01-01", "choices": ["91.0 minute", "46 minute", "241 minute", "161 minute", "15 minute", "76 minute", "2690 second", "108 minute", "2359 second", "7 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1944-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1944-01-01\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "7 minute"}, {"question": "Ravenna's population size of 159,057 was figured in what way?", "choices": ["de facto", "demographic balance", "middle", "tradition", "rated voltage", "de jure", "Family record booklet", "Taqdir", "estimation process", "questionnaire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ravenna"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "159057", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ravenna\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"159057\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "Is the native label of the written work that derives Great Expectations (whose duration is 128 minutes) equal to Mobile?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Expectations"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "128 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Mobile"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Great Expectations\" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"128\"^^xsd:double . ?e <native_label> ?pv . ?pv <pred:value> \"Mobile\" .  }", "answer": "no"}, {"question": "How many military branches have the official name Royal Canadian Air Force and belong to the allegiance of Adolf Hitler?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Royal Canadian Air Force"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["military branch"]}, {"function": "Find", "dependencies": [], "inputs": ["Adolf Hitler"]}, {"function": "Relate", "dependencies": [3], "inputs": ["allegiance", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["military branch"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"military branch\" . ?e <official_name> ?pv . ?pv <pred:value> \"Royal Canadian Air Force\" . ?e <allegiance> ?e_1 . ?e_1 <pred:name> \"Adolf Hitler\" .  }", "answer": "0"}, {"question": "Which person died on 1990-01-01 and has the profession of judge?", "choices": ["Walter Scott", "Richard Gere", "Sylvester Stallone", "Max Fleischer", "Alfred Newman", "John Adams", "Bruce Campbell", "John Ford", "John Wells", "Jackie Brown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1990-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["judge"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:date> \"1990-01-01\"^^xsd:date . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"judge\" .  }", "answer": "Bruce Campbell"}, {"question": "Where was The Parent Trap (the one that has Hayley Mills as the cast member) published on 12th June 1961?", "choices": ["Vietnam", "New York", "Hollywood", "Singapore", "Taiwan", "United States of America", "worldwide", "Philippines", "Seattle International Film Festival", "Park City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hayley Mills"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Parent Trap"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1961-06-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Parent Trap\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Hayley Mills\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1961-06-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Is Barbara Joan Streisand the birth name of Barbra Streisand?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barbra Streisand"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Barbara Joan Streisand"]}], "sparql": "ASK { ?e <pred:name> \"Barbra Streisand\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Barbara Joan Streisand\" .  }", "answer": "yes"}, {"question": "Catherine Deneuve was an Academy Award Best Actress nominee for which work?", "choices": ["Japan\u2013South Korea border", "Saudi Arabia\u2013South Korea relations", "Denmark\u2013France relations", "Morocco\u2013United Kingdom relations", "India\u2013Namibia relations", "Chile\u2013United States relations", "Norway\u2013Russia border", "Minnesota\u2013North Dakota border", "65th Academy Awards", "Georgia\u2013Turkey border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catherine Deneuve"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Catherine Deneuve\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "65th Academy Awards"}, {"question": "The Patriot, originating in France, is related to French in what way?", "choices": ["programming paradigm", "diplomatic relation", "registered with", "original language of film or TV show", "use", "screenwriter", "voice actor", "exported to", "winner", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Patriot\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"France\" . ?e_2 <pred:name> \"French\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "What is the connection between George Clooney to English?", "choices": ["connects with", "director", "currency", "contains settlement", "archives at", "quotes work", "allegiance", "headquarters location", "languages spoken, written or signed", "partner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Clooney\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Is schwarzenegger the Instagram username of Watford F.C.?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watford F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["schwarzenegger"]}], "sparql": "ASK { ?e <pred:name> \"Watford F.C.\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"schwarzenegger\" .  }", "answer": "no"}, {"question": "Which person was born later than 1909, with the birthplace Livorno?", "choices": ["Sylvester Stallone", "Natalie Cole", "Kathy Baker", "Maya Angelou", "Max Fleischer", "Andrea Romano", "Peter Finch", "William Henry Harrison", "Clive Barker", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1909", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Livorno"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1909 ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Livorno\" .  }", "answer": "Andrea Romano"}, {"question": "Was the box office earned by the visual artwork based on suspense-genre The Green Mile not equivalent to 32000000 in Hong Kong dollars ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["suspense"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Green Mile"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["32000000 Hong Kong dollar", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"The Green Mile\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"suspense\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"Hong Kong dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"32000000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Dance is comprised of which performing arts?", "choices": ["Steven Spielberg", "Mako", "choreography", "Second Punic War", "Harry Potter and the Goblet of Fire", "Yokohama", "sketch comedy", "dance", "David Silverman", "professional wrestling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["performing arts"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"performing arts\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"dance\" .   }", "answer": "choreography"}, {"question": "When was a basketball team, whose Twitter username is memgrizz, established ?", "choices": ["1986-11-03", "1925-04-04", "1807-02-10", "1954", "1842-11-26", "1995", "1624-01-01", "1979-04-01", "1975-04-04", "1977-06-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "memgrizz"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"memgrizz\" . ?e <inception> ?pv .  }", "answer": "1995"}, {"question": "Is the larger area occupied by Cuba, which has a nominal gross domestic product of 73141000000 USD, or Moldova?", "choices": ["Tajikistan", "Finland", "Lithuania", "Bulgaria", "Moldova", "Kosovo", "Kazakhstan", "Sweden", "Cuba", "Greece"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cuba"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "73141000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Moldova"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cuba\" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"73141000000\"^^xsd:double . } UNION { ?e <pred:name> \"Moldova\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cuba"}, {"question": "Which has fewer employees, Bryn Mawr College or Loughborough University?", "choices": ["Bryn Mawr College", "McMaster University", "Loughborough University", "University of Tehran", "King's College London", "Pennsylvania State University", "Panjab University", "University of Manchester", "McNeese State University", "Imperial College London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryn Mawr College"]}, {"function": "Find", "dependencies": [], "inputs": ["Loughborough University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bryn Mawr College\" .  } UNION { ?e <pred:name> \"Loughborough University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bryn Mawr College"}, {"question": "What is the start time for Delhi as the twinned administrative body of London (the one that is the birthplace of Andrew Lincoln)?", "choices": ["2000-11-15", "1989-07-17", "1945-11-01", "1985-02-14", "2002-07-25", "1964-01-01", "1804-12-02", "1907-11-16", "1997-05-02", "2003-09-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delhi"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrew Lincoln"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Delhi\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Andrew Lincoln\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2002-07-25"}, {"question": "The US city where Rob Zombie was born is represented in which language on its official website, www.ci.haverhill.ma.us?", "choices": ["Belgian French", "Bulgarian", "Basque", "German", "English", "Dutch", "Cook Islands M\u0101ori", "Lower Sorbian", "Montenegrin", "British English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob Zombie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.ci.haverhill.ma.us/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Rob Zombie\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ci.haverhill.ma.us/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many republics have a life expectancy of 13.8 years?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "13.8 year", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"13.8\"^^xsd:double .  }", "answer": "0"}, {"question": "Which area is smaller in size, Hennepin County or Hildesheim (the one whose official website is http://www.landkreishildesheim.de)?", "choices": ["Kent County", "Orange County", "African Union", "Greene County", "Delaware County", "San Juan County", "Hildesheim", "Cass County", "Washoe County", "Hennepin County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hennepin County"]}, {"function": "Find", "dependencies": [], "inputs": ["Hildesheim"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.landkreishildesheim.de"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hennepin County\" . } UNION { ?e <pred:name> \"Hildesheim\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.landkreishildesheim.de\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hildesheim"}, {"question": "What position is the head of government of the state in the United States whose name is CA for short?", "choices": ["lieutenant governor", "director general", "state senator", "secretary of state", "Member of Congress", "bishop", "Secretary of State", "soldier", "Vice President of the United States", "commissioner"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "CA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["office held by head of government", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["position"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"position\" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <short_name> ?pv . ?pv <pred:value> \"CA\" .   }", "answer": "state senator"}, {"question": "What is the connection between Sunil Dutt and British Raj?", "choices": ["field of work", "diplomatic relation", "country of citizenship", "head of state", "famous people", "highest judicial authority", "member of political party", "cause of death", "genre", "interested in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sunil Dutt"]}, {"function": "Find", "dependencies": [], "inputs": ["British Raj"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sunil Dutt\" . ?e_2 <pred:name> \"British Raj\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the title of the Atlantic City designated by production code 2ALH08?", "choices": ["La Chute", "February", "De rouille et d'os", "When in Rome", "Mission: Impossible III", "Atlantic City", "Star Trek: Insurrection", "Armageddon", "Oz", "Nixon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic City"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["production code", "2ALH08"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Atlantic City\" . ?e <production_code> ?pv_1 . ?pv_1 <pred:value> \"2ALH08\" . ?e <title> ?pv .  }", "answer": "Atlantic City"}, {"question": "How many film festivals are held in September (the one that is a common property of a video game) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["properties for this type", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["September"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["month of the year", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film festival"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival\" . ?e <month_of_the_year> ?e_1 . ?e_1 <pred:name> \"September\" . ?e_2 <properties_for_this_type> ?e_1 . ?e_2 <pred:name> \"video game\" .   }", "answer": "2"}, {"question": "Of independent German cities with a population under 94000000, which has the highest elevation?", "choices": ["Coburg", "Abhishek Bachchan", "science fiction", "Scott Rudin", "Frankfurt (Oder)", "Baden-Baden", "world", "Bayreuth", "Weimar", "Richard Jenkins"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "94000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"94000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "Did the visual artwork that depicts the fictional universe Buffyverse earn under 4100000 euros at the box office ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buffyverse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["fictional universe described in", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4100000 euro", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <fictional_universe_described_in> ?e . ?e_1 <pred:name> \"Buffyverse\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"euro\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4100000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which has higher elevation above sea level, Shimla or Peterborough whose area is 58.4 square kilometres?", "choices": ["Bergen", "Dundee", "Kilkenny", "Shimla", "Abidjan", "Santo Domingo", "Chihuahua", "Trieste", "Kingston", "Peterborough"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shimla"]}, {"function": "Find", "dependencies": [], "inputs": ["Peterborough"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "58.4 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shimla\" . } UNION { ?e <pred:name> \"Peterborough\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"58.4\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shimla"}, {"question": "Tell me the inception time for the record level that Steven Spielberg found.", "choices": ["1843-01-01", "1996-01-01", "1884-01-01", "1779", "1931-05-01", "1750", "1953-11-09", "1900-12-16", "1811-03-01", "1787-04-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Spielberg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <found> ?e . ?e_1 <pred:name> \"Steven Spielberg\" .  ?e <inception> ?pv .  }", "answer": "1996-01-01"}, {"question": "Which TV station was the original broadcaster of Ben 10 (the one with 1 season) and also Looney Tunes?", "choices": ["Cartoon Network", "NBC", "CITV", "Discovery Channel", "History", "ESPN", "TV Asahi", "CTV Television Network", "Korean Broadcasting System", "Univision"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben 10"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "1", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television station"]}, {"function": "Find", "dependencies": [], "inputs": ["Looney Tunes"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["television station"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Ben 10\" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1\"^^xsd:double .  ?e_2 <original_network> ?e . ?e_2 <pred:name> \"Looney Tunes\" .  }", "answer": "Cartoon Network"}, {"question": "How Croydon is related to United Kingdom?", "choices": ["country", "geographic distribution", "newspaper format", "start point", "continent", "partner", "different from", "place served by transport hub", "has contributing factor", "published in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croydon"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Croydon\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many software pieces are related to FreeBSD?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FreeBSD"]}, {"function": "Relate", "dependencies": [0], "inputs": ["relative", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" . ?e_1 <relative> ?e . ?e_1 <pred:name> \"FreeBSD\" .   }", "answer": "0"}, {"question": "Is Husbands and Wives or Swimming Upstream longer in duration?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "Rebecca", "Husbands and Wives", "Swimming Upstream", "The Towering Inferno", "Curse of the Golden Flower", "A Prairie Home Companion", "Talk to Her", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Husbands and Wives"]}, {"function": "Find", "dependencies": [], "inputs": ["Swimming Upstream"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Husbands and Wives\" .  } UNION { ?e <pred:name> \"Swimming Upstream\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Swimming Upstream"}, {"question": "What is the publishing location of Hotel Transylvania, which was published 2012-10-25?", "choices": ["New York", "Moscow", "Indonesia", "Czech Republic", "Croatia", "Hong Kong", "worldwide", "2004 Cannes Film Festival", "Poland", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hotel Transylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2012-10-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hotel Transylvania\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-10-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the number of saxophones that are instruments used by John Coltrane or Ray Charles (who is famous for the keyboard instrument)?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Coltrane"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["saxophone"]}, {"function": "Find", "dependencies": [], "inputs": ["keyboard instrument"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ray Charles"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["saxophone"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"saxophone\" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"John Coltrane\" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Ray Charles\" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> \"keyboard instrument\" .  } }", "answer": "3"}, {"question": "What higher learning institution is located in the city that is the twinned administrative body of Monrovia starting on the date 1998-01-01?", "choices": ["Royal Academy of Music", "Heriot-Watt University", "Seoul National University", "Imperial College London", "McMaster University", "Pennsylvania State University", "McNeese State University", "University of Manchester", "National Taiwan University", "University of Tokyo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monrovia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1998-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Monrovia\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1998-01-01\"^^xsd:date .   }", "answer": "National Taiwan University"}, {"question": "What is the connection between The Cell to San Diego?", "choices": ["filming location", "official residence", "officially opened by", "seed team", "relative", "airline alliance", "followed by", "source of material", "health specialty", "worshipped by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Cell"]}, {"function": "Find", "dependencies": [], "inputs": ["San Diego"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Cell\" . ?e_2 <pred:name> \"San Diego\" . ?e_1 ?p ?e_2 .  }", "answer": "filming location"}, {"question": "La Dolce Vita has what connection to Nico?", "choices": ["basin country", "director/manager", "original film format", "donated by", "studies", "works in collection", "cast member", "color", "art director", "present in work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["La Dolce Vita"]}, {"function": "Find", "dependencies": [], "inputs": ["Nico"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"La Dolce Vita\" . ?e_2 <pred:name> \"Nico\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Ohio Wesleyan University alumnus Maggie Smith related to the profession of poet?", "choices": ["editor", "publisher", "occupation", "named after", "registered with", "residence", "field of this occupation", "maintained by", "place served by transport hub", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio Wesleyan University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Maggie Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Maggie Smith\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Ohio Wesleyan University\" . ?e_2 <pred:name> \"poet\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which movie follows Sherlock Holmes (the one whose release region is Philippines)?", "choices": ["Book of Shadows: Blair Witch 2", "Talk to Her", "The Hangover Part II", "A Prairie Home Companion", "Rebecca", "Friends", "Pleasantville", "Sherlock Holmes: A Game of Shadows", "Infernal Affairs II", "Terminator 3: Rise of the Machines"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sherlock Holmes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Sherlock Holmes\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Philippines\" .   }", "answer": "Sherlock Holmes: A Game of Shadows"}, {"question": "Is the population size of County Clare or County Limerick larger?", "choices": ["County Meath", "County Galway", "County Kildare", "County Dublin", "County Tipperary", "County Kilkenny", "County Donegal", "County Clare", "County Limerick", "County Monaghan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Clare"]}, {"function": "Find", "dependencies": [], "inputs": ["County Limerick"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Clare\" .  } UNION { ?e <pred:name> \"County Limerick\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "County Limerick"}, {"question": "How many ethnic communities are a part of the ethnic community that includes Cuban American?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cuban American"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic community"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ethnic community"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic community\" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"ethnic community\" . ?e_2 <part_of> ?e_1 . ?e_2 <pred:name> \"Cuban American\" .   }", "answer": "1"}, {"question": "How long is Rich Man, Poor Man composed by Alex North?", "choices": ["45 minute", "10 hour", "2690 second", "15 minute", "4512 second", "43 minute", "74 minute", "222 minute", "145 minute", "196 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alex North"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rich Man, Poor Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rich Man, Poor Man\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Alex North\" .  ?e <duration> ?pv .  }", "answer": "45 minute"}, {"question": "What is the ICD-10 of the symptom that has the ICD-9 of 783.0?", "choices": ["R17", "T40", "R63.0", "T44", "E84", "R", "T43", "T41", "T42", "C00-C97"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-9", "783.0"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["symptom"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ICD-10"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"symptom\" . ?e <ICD-9> ?pv_1 . ?pv_1 <pred:value> \"783.0\" . ?e <ICD-10> ?pv .  }", "answer": "R63.0"}, {"question": "How many national association football teams have the kit supplier Nike or are a participant in the 2008 Summer Olympics?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nike"]}, {"function": "Relate", "dependencies": [0], "inputs": ["kit supplier", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "Find", "dependencies": [], "inputs": ["2008 Summer Olympics"]}, {"function": "Relate", "dependencies": [3], "inputs": ["participant of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" .  { ?e <kit_supplier> ?e_1 . ?e_1 <pred:name> \"Nike\" .  } UNION { ?e <participant_of> ?e_1 . ?e_1 <pred:name> \"2008 Summer Olympics\" .  } }", "answer": "6"}, {"question": "What rock band has 0000 0000 9212 3614 associated as the ISNI ?", "choices": ["Agatha Christie", "Kiss", "Marilyn Manson", "Camel", "The Doors", "Wilco", "The Clash", "Oingo Boingo", "Queen", "Journey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 9212 3614"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9212 3614\" .  }", "answer": "Oingo Boingo"}, {"question": "Star Trek, represented by the website www.startrekmovie.com, has what connection to Victor Garber, cast member of Argo?", "choices": ["professorship", "cast member", "student of", "programming language", "author", "found", "newspaper format", "has quality", "update method", "art director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.startrekmovie.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["Argo"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Victor Garber"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Trek\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.startrekmovie.com/\" . ?e_2 <pred:name> \"Victor Garber\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Argo\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is Dane Cook's ISNI?", "choices": ["0000 0001 2146 7732", "0000 0001 2209 7999", "0000 0004 0434 8629", "0000 0001 2248 346X", "0000 0004 0428 3626", "0000 0004 0410 2792", "0000 0001 2119 1991", "0000 0001 1624 3208", "0000 0004 0391 4756", "0000 0001 0802 6369"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dane Cook"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dane Cook\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1624 3208"}, {"question": "The England corresponding to ISO 3166-2 code GB-ENG contains how many ceremonial English counties?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "GB-ENG"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ceremonial county of England"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"England\" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"GB-ENG\" .   }", "answer": "25"}, {"question": "Where was the visual artwork wich has Edie Falco as a cast member and created on 1995-04-20 published?", "choices": ["Germany", "Turkey", "Czech Republic", "Kingdom of the Netherlands", "West Germany", "Finland", "Kuwait", "Chile", "British Hong Kong", "South Korea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edie Falco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1995-04-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Edie Falco\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1995-04-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the person that has the CANTIC-ID is a10803622", "choices": ["Max Fleischer", "Elia Kazan", "Fred MacMurray", "Charlton Heston", "Sylvester Stallone", "Bobby Cannavale", "Harry S. Truman", "Theodore Shapiro", "Eric Bana", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10803622"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10803622\" .  }", "answer": "Harry S. Truman"}, {"question": "How long was The Virgin Suicides?", "choices": ["173 minute", "208 minute", "127 minute", "101.0 minute", "126 minute", "97 minute", "259 minute", "23 minute", "220 minute", "52 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Virgin Suicides"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Virgin Suicides\" . ?e <duration> ?pv .  }", "answer": "97 minute"}, {"question": "When did the sovereign state whose out-of-school children number is equal to 6301 have a population of 93397?", "choices": ["1972", "2016-04-07", "1963", "2016-01-31", "2014-01-16", "1941-02-27", "1958", "1961-06-22", "1895-12-01", "2000-08-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of out-of-school children", "6301", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "93397", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <number_of_out-of-school_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"6301\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"93397\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1963"}, {"question": "Which higher education institution has the ISNI of 0000 0001 1089 6558?", "choices": ["University of Manchester", "Mills College", "Loyola University Chicago", "Hofstra University", "Pennsylvania State University", "McNeese State University", "Aligarh Muslim University", "Imperial College London", "Kingston University", "DePaul University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1089 6558"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1089 6558\" .  }", "answer": "Loyola University Chicago"}, {"question": "How many jazzes began on 1910-01-01 or include the movement of David Bowie (whose Munzinger IBA is 00000020712)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1910-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["jazz"]}, {"function": "Find", "dependencies": [], "inputs": ["David Bowie"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Munzinger IBA", "00000020712"]}, {"function": "Relate", "dependencies": [4], "inputs": ["movement", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["jazz"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" .  { ?e <inception> ?pv . ?pv <pred:date> \"1910-01-01\"^^xsd:date .  } UNION { ?e_1 <movement> ?e . ?e_1 <pred:name> \"David Bowie\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020712\" .  } }", "answer": "2"}, {"question": "What city is the capital of the sovereign state whose motto text is \"Tyfwch yn Rhydd a Ffrwythlon\"?", "choices": ["Lima", "Canberra", "Lagos", "Durham", "Guatemala City", "Ipswich", "Galway", "Hanoi", "San Marino", "Turin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Tyfwch yn Rhydd a Ffrwythlon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <motto_text> ?pv . ?pv <pred:value> \"Tyfwch yn Rhydd a Ffrwythlon\" .   }", "answer": "Guatemala City"}, {"question": "What province in the Netherlands has the NUTS code of NL12 and a https://www.fryslan.frl/?", "choices": ["North Brabant", "Drenthe", "Overijssel", "Gelderland", "Zeeland", "Utrecht", "Groningen", "North Holland", "Friesland", "South Holland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "NL12"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Netherlands"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.fryslan.frl/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of the Netherlands"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"NL12\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.fryslan.frl/\" .  }", "answer": "Friesland"}, {"question": "Who studied at the higher education institution affiliated with the English-language website www.richmond.edu?", "choices": ["Tom McCarthy", "Larry Cohen", "Richard Gere", "Avicenna", "Sylvester Stallone", "William Henry Harrison", "Bruce Hornsby", "Max Fleischer", "Alan Silvestri", "Roger Moore"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.richmond.edu"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["higher education institution"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"higher education institution\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.richmond.edu\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "Bruce Hornsby"}, {"question": "What is the official website of the human settlement that is the capital of County Wexford?", "choices": ["http://www.wexfordcorp.ie", "http://www.fcmetz.com", "http://www.lisagayhamilton.com/", "http://www.panionios.gr/", "http://www.fc-zenit.ru/", "http://www.strasberg.com/", "http://www.co.lake.ca.us", "http://www.arlesavignon.net", "http://illinoisstate.edu/", "http://afa.org.ar/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Wexford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"County Wexford\" .  ?e <official_website> ?pv .  }", "answer": "http://www.wexfordcorp.ie"}, {"question": "How many record labels have the official website http://www.roughtraderecords.com/ or are the owner of Sony BMG Music Entertainment?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.roughtraderecords.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Find", "dependencies": [], "inputs": ["Sony BMG Music Entertainment"]}, {"function": "Relate", "dependencies": [3], "inputs": ["owner of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.roughtraderecords.com/\" .  } UNION { ?e <owner_of> ?e_1 . ?e_1 <pred:name> \"Sony BMG Music Entertainment\" .  } }", "answer": "2"}, {"question": "What method determines that 18 is the ranking for the Germany national football team?", "choices": ["FIFA World Rankings", "United Kingdom Census 1991", "2016 Australian census", "tradition", "Address Based Population Registration System", "2000 United States Census", "Yemen General Census of Population, Housing and Establishments 2004", "gross floor area", "national estimation", "census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "18", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Germany national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"18\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "Is the movie titled San Francisco longer than 0 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "San Francisco"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"San Francisco\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the size in area of the administrative territorial entity that had a 2010 population totaling 126979?", "choices": ["622918 square kilometre", "78588.0 square kilometre", "310 square kilometre", "158.442268 square kilometre", "5509 square kilometre", "196.630106 square kilometre", "1458 square kilometre", "2362 square kilometre", "685.88 square kilometre", "84.535411 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "126979", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2010", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"126979\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 . ?e <area> ?pv .  }", "answer": "1458 square kilometre"}, {"question": "What inception time pertains to J.K. Rowling's award winning Harry Potter and the Order of the Phoenix and its literary award nomination?", "choices": ["1835-03-03", "1936", "1978-01-01", "1979-10-01", "1808-03-01", "1968-03-12", "-84000000000", "1726-12-24", "1204-01-01", "1950-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. K. Rowling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Harry Potter and the Order of the Phoenix"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["literary award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"J. K. Rowling\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Harry Potter and the Order of the Phoenix\" . ?e <inception> ?pv .  }", "answer": "1936"}, {"question": "What association football club is named after Dorchester whose postal code is DT1 and was established before 1970?", "choices": ["Middlesbrough F.C.", "Estudiantes de La Plata", "Dorchester Town F.C.", "Hibernian F.C.", "Zamalek SC", "Stade Rennais F.C.", "MSV Duisburg", "Brisbane Roar FC", "Preston North End F.C.", "Roda JC Kerkrade"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dorchester"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "DT1"]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1970", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Dorchester\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"DT1\" .  ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1970 ) .  }", "answer": "Dorchester Town F.C."}, {"question": "Where was Red Dragon (the one whose narrative location is St. Louis) published in 2002-10-25?", "choices": ["Vietnam", "Northern America", "Kingdom of the Netherlands", "Denmark", "Chicago", "Switzerland", "R\u00e4ttvik", "Westwood", "Bolivia", "Japan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Louis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Red Dragon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2002-10-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Red Dragon\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"St. Louis\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2002-10-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Denmark"}, {"question": "How is California written by Joni Mitchell related to Reprise Records?", "choices": ["twinned administrative body", "parent club", "record label", "lowest point", "airline alliance", "currency", "time period", "parent astronomical body", "student of", "stated in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joni Mitchell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lyrics by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Reprise Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"California\" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> \"Joni Mitchell\" . ?e_2 <pred:name> \"Reprise Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "What is the connection between Lenny Bruce and World War II?", "choices": ["distributor", "voice type", "main food source", "language of work or name", "item operated", "religion", "medical condition", "operating area", "conflict", "health specialty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lenny Bruce"]}, {"function": "Find", "dependencies": [], "inputs": ["World War II"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lenny Bruce\" . ?e_2 <pred:name> \"World War II\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "What is the relationship between Paul Lieberstein and the United States of America?", "choices": ["country of citizenship", "place of birth", "lowest point", "developer", "part of", "risk factor", "filming location", "cites", "candidacy in election", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Lieberstein"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Lieberstein\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Tell me the relationship between Leonard Cohen and Norman (who has a native label of Norman)", "choices": ["tributary", "member of", "has part", "takes place in fictional universe", "hair color", "given name", "color", "territory overlaps", "permanent resident of", "copyright holder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leonard Cohen"]}, {"function": "Find", "dependencies": [], "inputs": ["Norman"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["native label", "Norman"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Leonard Cohen\" . ?e_2 <pred:name> \"Norman\" . ?e_2 <native_label> ?pv . ?pv <pred:value> \"Norman\" . ?e_1 ?p ?e_2 .  }", "answer": "given name"}, {"question": "Which website officially represents Jimmy Van Heusen?", "choices": ["http://www.gregayres.com/", "http://www.davematthewsband.com/", "http://kickass-themovie.com/", "http://www.slough.gov.uk/", "http://www.jimmyvanheusen.com", "http://www.tangerinedream-music.com/", "http://www.ua.edu/", "http://www.marimba.org/en", "http://pirates.disney.com/pirates-of-the-caribbean-the-curse-of-the-black-pearl", "http://www.oriel.ox.ac.uk/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jimmy Van Heusen"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jimmy Van Heusen\" . ?e <official_website> ?pv .  }", "answer": "http://www.jimmyvanheusen.com"}, {"question": "Which comedy whose number of seasons is less than 40 has the least number of episodes?", "choices": ["Ryan Murphy", "farce", "The Monkees", "stand-up comedy", "The Golden Girls", "David Morse", "Princeton Theological Seminary", "West Bank", "Mr. Smith Goes to Washington", "comedy of manners"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "40", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"40\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "tell me the time point of PepsiCo having 263000 employees", "choices": ["2011-03-27", "1861-01-01", "2004-04-28", "2006-08-01", "1823", "2015", "2010-05-26", "1630-12-01", "2010-12-01", "1985-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PepsiCo"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["employees", "263000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"PepsiCo\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"263000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "At what point in time are there 14000 episodes of the television series that has James Franco as a cast member?", "choices": ["1999", "2012-09-01", "2018-02-23", "2007-12-17", "1680", "1949-10-07", "1086", "2006-07-01", "1900-01-05", "1991-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Franco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of episodes", "14000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"James Franco\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"14000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_episodes> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2018-02-23"}, {"question": "Where is Gran Torino, whose publication date is 2009-04-16, published?", "choices": ["2004 Cannes Film Festival", "Slovakia", "Berlin", "Venezuela", "Turkey", "Central Park", "Uruguay", "South Korea", "Hungary", "Estonia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gran Torino"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2009-04-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Gran Torino\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-04-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "When did Mao Zedong become the Communist Party of China's chairperson?", "choices": ["1940-08-05", "1945-06-19", "1989-06-08", "1995-11-29", "1960-08-20", "1990-09-23", "1966-09-08", "1986-08-26", "2000-01-01", "1965-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Communist Party of China"]}, {"function": "Find", "dependencies": [], "inputs": ["Mao Zedong"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["chairperson", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Communist Party of China\" . ?e_2 <pred:name> \"Mao Zedong\" . ?e_1 <chairperson> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <chairperson> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1945-06-19"}, {"question": "How many chemical compounds whose SPLASH is splash10-053r-9000000000-61a3602d80bc0d54c579 or that has the nutrient sugar?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["SPLASH", "splash10-053r-9000000000-61a3602d80bc0d54c579"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "Find", "dependencies": [], "inputs": ["sugar"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nutrient", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["chemical compound"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" .  { ?e <SPLASH> ?pv . ?pv <pred:value> \"splash10-053r-9000000000-61a3602d80bc0d54c579\" .  } UNION { ?e <nutrient> ?e_1 . ?e_1 <pred:name> \"sugar\" .  } }", "answer": "2"}, {"question": "Does Alex Kingston or Mary McDonnell have more children?", "choices": ["James E. Reilly", "William Henry Harrison", "Max Fleischer", "Alex Kingston", "Simon Cowell", "Rahul Dev Burman", "Richard Gere", "Sylvester Stallone", "Mary McDonnell", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alex Kingston"]}, {"function": "Find", "dependencies": [], "inputs": ["Mary McDonnell"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alex Kingston\" .  } UNION { ?e <pred:name> \"Mary McDonnell\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mary McDonnell"}, {"question": "How many software programs are there whose official website is https://www.apple.com/gr/ios/ or beginning date is before 1969?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.apple.com/gr/ios/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1969", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["software"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.apple.com/gr/ios/\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1969 ) .  } }", "answer": "1"}, {"question": "Which show has more episodes, Pan Am (the one that is originally aired on American Broadcasting Company) or Charlie's Angels (the one that derives Charlie's Angels: Full Throttle)?", "choices": ["Bleak House", "Seinfeld", "Dancing with the Stars", "Robot Chicken", "Six Feet Under", "American Horror Story", "Charlie's Angels", "Game of Thrones", "Pan Am", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pan Am"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels: Full Throttle"]}, {"function": "Relate", "dependencies": [4], "inputs": ["based on", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pan Am\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"American Broadcasting Company\" .   } UNION { ?e <pred:name> \"Charlie's Angels\" . ?e_2 <based_on> ?e . ?e_2 <pred:name> \"Charlie's Angels: Full Throttle\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Charlie's Angels"}, {"question": "What is the birth name of entrepreneur Max Fleischer?", "choices": ["Humphrey DeForest Bogart", "Stanislaus Pascal Franchot Tone", "\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u043e\u0432\u0438\u0447 \u0420\u043e\u043c\u0430\u043d\u043e\u0432", "Markus Maximilian Fleischer", "Jason Nelson Robards", "John Michael Riva", "David John Matthews", "Alejandro S\u00e1nchez Pizarro", "Jason Kent Bateman", "Frederick Jay Rubin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["entrepreneur"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Max Fleischer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Max Fleischer\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"entrepreneur\" .  ?e <birth_name> ?pv .  }", "answer": "Markus Maximilian Fleischer"}, {"question": "What is the area of Cheltenham?", "choices": ["46.61 square kilometre", "710 square kilometre", "1739 square kilometre", "369.609252 square kilometre", "30.4 square mile", "2183 square kilometre", "7862.3 square kilometre", "1838 square kilometre", "60.044686 square kilometre", "321.81 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cheltenham"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Cheltenham\" . ?e <area> ?pv .  }", "answer": "46.61 square kilometre"}, {"question": "Is the elevation (above sea level) greater for Port of Spain or Madrid?", "choices": ["Kilkenny", "Santo Domingo", "Port of Spain", "Chihuahua", "Abidjan", "Dundee", "Bergen", "Trieste", "Madrid", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Port of Spain"]}, {"function": "Find", "dependencies": [], "inputs": ["Madrid"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Port of Spain\" .  } UNION { ?e <pred:name> \"Madrid\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Madrid"}, {"question": "What are the number of census-designated places whose native label is Stanford or whose postal code is 20901\u201320908 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Stanford"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "20901\u201320908"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["census-designated place"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" .  { ?e <native_label> ?pv . ?pv <pred:value> \"Stanford\" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> \"20901\u201320908\" .  } }", "answer": "2"}, {"question": "When was the visual artwork titled Valencia published?", "choices": ["1912-01-01", "1980-10-03", "2000-08-03", "1978-10-26", "2007-05-20", "1926-01-01", "1971-12-21", "2000-08-24", "2001-09-25", "1962-09-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Valencia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Valencia\" . ?e <publication_date> ?pv .  }", "answer": "1926-01-01"}, {"question": "Who has more children, Ed O'Neill or Barbara Hershey?", "choices": ["Richard Gere", "Rahul Dev Burman", "David Byrne", "James E. Reilly", "Max Fleischer", "Barbara Hershey", "William Henry Harrison", "Simon Cowell", "Paul Simon", "Ed O'Neill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ed O'Neill"]}, {"function": "Find", "dependencies": [], "inputs": ["Barbara Hershey"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ed O'Neill\" .  } UNION { ?e <pred:name> \"Barbara Hershey\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ed O'Neill"}, {"question": "How many electronic music renditions are there whose famous group of people is Muse or beginning date is 1995-01-01?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Muse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["inception", "1995-01-01", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic music\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Muse\" .  } UNION { ?e <inception> ?pv . ?pv <pred:date> \"1995-01-01\"^^xsd:date .  } }", "answer": "4"}, {"question": "Does the 26-episode Sonic the Hedgehog or does The Pacific have the smaller run of seasons?", "choices": ["George Washington", "The Civil War", "The Diary of Anne Frank", "Emma", "The Stand", "The Ten Commandments", "Sonic the Hedgehog", "Roots", "The Pacific", "Battlestar Galactica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "26", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Pacific"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sonic the Hedgehog\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"26\"^^xsd:double . } UNION { ?e <pred:name> \"The Pacific\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Pacific"}, {"question": "Which geographic region has the native label of Arcaibh?", "choices": ["Orkney Islands", "Lake District", "Transylvania", "Piedmont", "Antarctica", "Pacific Ocean", "Atlantic Canada", "Middle East", "Korea", "Southern California"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Arcaibh"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <native_label> ?pv . ?pv <pred:value> \"Arcaibh\" .  }", "answer": "Orkney Islands"}, {"question": "How is the 1920 Summer Olympics related to figure skating?", "choices": ["candidate", "make-up artist", "position played on team / speciality", "capital", "official color", "honorific suffix", "heritage designation", "chief executive officer", "talk show guest", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1920 Summer Olympics"]}, {"function": "Find", "dependencies": [], "inputs": ["figure skating"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1920 Summer Olympics\" . ?e_2 <pred:name> \"figure skating\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the connection between the SAG Award for Outstanding Performance by a Cast in a Motion Picture and Richard E. Grant?", "choices": ["distribution", "has cause", "dissertation submitted to", "famous people", "located in or next to body of water", "professorship", "winner", "maintained by", "diaspora", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard E. Grant"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Richard E. Grant\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "How is the MTV Movie Award for Best Comedic Performance related to Jackass: The Movie?", "choices": ["nominated for", "has dialect (DEPRECATED)", "located in the administrative territorial entity", "parent astronomical body", "lifestyle", "substitute/deputy/replacement of office/officeholder", "candidate", "kit supplier", "general manager", "facet of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackass: The Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Comedic Performance"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jackass: The Movie\" . ?e_2 <pred:name> \"MTV Movie Award for Best Comedic Performance\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Was a national associaton football team, based in Sierra Leone, ranked below top 100 on 20th June 2001?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sierra Leone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["ranking", "point in time", "2001-06-20"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["100", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Sierra Leone\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"100\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2001-06-20\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the connection between Liverpool (the one that is related to sport association football) to sports video game?", "choices": ["penalty", "has edition", "military rank", "basic form of government", "genre", "archives at", "is a list of", "grants", "derivative work", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["sports video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Liverpool\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"sports video game\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the connection between Duluth to Central Time Zone?", "choices": ["business division", "founded by", "properties for this type", "librettist", "approved by", "cause of death", "partially contains", "member of political party", "located in time zone", "characters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duluth"]}, {"function": "Find", "dependencies": [], "inputs": ["Central Time Zone"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Duluth\" . ?e_2 <pred:name> \"Central Time Zone\" . ?e_1 ?p ?e_2 .  }", "answer": "located in time zone"}, {"question": "When did Santa Cruz become the capital of Santa Cruz County (the one whose Dewey Decimal Classification is 2--79471) ?", "choices": ["1934-08-02", "2008-10-30", "1999-10-08", "1571", "1850", "2008-01-22", "1857-01-01", "1909-03-04", "1967-01-09", "1813-10-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Cruz"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Cruz County"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Dewey Decimal Classification", "2--79471"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["capital of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Santa Cruz\" . ?e_2 <pred:name> \"Santa Cruz County\" . ?e_2 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--79471\" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1850"}, {"question": "Which one, Sam Raimi or Woodrow Wilson, has a greater number of children?", "choices": ["Rahul Dev Burman", "Woodrow Wilson", "Richard Gere", "David Byrne", "James E. Reilly", "Max Fleischer", "Simon Cowell", "William Henry Harrison", "Sam Raimi", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Raimi"]}, {"function": "Find", "dependencies": [], "inputs": ["Woodrow Wilson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sam Raimi\" .  } UNION { ?e <pred:name> \"Woodrow Wilson\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sam Raimi"}, {"question": "Is the end of the legislative term which is followed by the 39th Canadian Parliament after 1885?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["39th Canadian Parliament"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1885", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"39th Canadian Parliament\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1885 ) .  }", "answer": "yes"}, {"question": "Where was the visual artwork whose official website is http://www.walkthelinedvd.com/ published on 2006-02-02?", "choices": ["Pakistan", "Rio de Janeiro", "Johannesburg", "Austria", "Belgium", "Netherlands", "worldwide", "Slovakia", "Quebec", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.walkthelinedvd.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2006-02-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.walkthelinedvd.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-02-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the zip code for a city in the US whose PermID is 5035752191 ?", "choices": ["46266", "50996", "190000", "71245", "200000", "223-0051", "8054", "5600\u20135658", "45011", "12214"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5035752191"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5035752191\" . ?e <postal_code> ?pv .  }", "answer": "45011"}, {"question": "Who is Julliard School graduate Viola Davis?", "choices": ["Max Fleischer", "Viola Davis", "Sylvester Stallone", "David Denman", "Christine Baranski", "Ving Rhames", "Andre Braugher", "William Henry Harrison", "Michael Stuhlbarg", "Richard Rodgers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Viola Davis"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Juilliard School"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Viola Davis\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Juilliard School\" .  }", "answer": "Viola Davis"}, {"question": "Which area is larger in size, Dutchess County or St. Lawrence County?", "choices": ["Jefferson County", "Greene County", "Cayuga County", "St. Lawrence County", "Rensselaer County", "Warren County", "Albany County", "Clinton County", "Niagara County", "Orange County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dutchess County"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Lawrence County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dutchess County\" .  } UNION { ?e <pred:name> \"St. Lawrence County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "Is https://english.ajax.nl/streams/ajax-now.htm the official website of the agent that received an award at the 66th Tony Awards?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["66th Tony Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["https://english.ajax.nl/streams/ajax-now.htm"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"66th Tony Awards\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://english.ajax.nl/streams/ajax-now.htm\" .  }", "answer": "no"}, {"question": "When did the college town with the postal code of 35041 have a population of 73836?", "choices": ["2015-12-31", "2003-04-01", "2005-02-27", "2011-11-23", "2010-01-17", "1962-12-01", "250", "2010-10-01", "1725-01-01", "1966-12-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "35041"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "73836", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"35041\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"73836\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-12-31"}, {"question": "Of French departments with a population below 72000000, which occupies the least area?", "choices": ["Vaucluse", "Aisne", "Manche", "Haute-Savoie", "Gironde", "Calvados", "Seine-et-Marne", "Yvelines", "Aude", "Dordogne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "72000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"72000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Yvelines"}, {"question": "What movie has http://www.powerrangers.movie  as the official website?", "choices": ["Appleseed Ex Machina", "La Vie en Rose", "A Prairie Home Companion", "Jack and Jill", "Talk to Her", "Rebecca", "Girls", "Power Rangers", "The Lives of a Bengal Lancer", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.powerrangers.movie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.powerrangers.movie\" .  }", "answer": "Power Rangers"}, {"question": "Is http://www.unigre.it the official website of Pontifical Gregorian University?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pontifical Gregorian University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.unigre.it"]}], "sparql": "ASK { ?e <pred:name> \"Pontifical Gregorian University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.unigre.it\" .  }", "answer": "yes"}, {"question": "Which movie is produced by the producer of WWE Superstars?", "choices": ["WWE Superstars", "The Lost World: Jurassic Park", "Deep Impact", "The Orphanage", "Staten Island", "Little Women", "Fantastic Four: Rise of the Silver Surfer", "Analyze This", "WWE SmackDown", "The Scorpion King"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WWE Superstars"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <producer> ?e_1 . ?e_2 <pred:name> \"WWE Superstars\" .   }", "answer": "The Scorpion King"}, {"question": "What person was nominated for a Tony Award for Best Actor in a Muscial during the 60th Tony Awards?", "choices": ["Al Green", "Mako", "Max Fleischer", "Bob Fosse", "John Lithgow", "Antonio Banderas", "Lynn Redgrave", "Mark Ruffalo", "Harry Connick Jr.", "Matthew Broderick"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Musical"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "60th Tony Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Actor in a Musical\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"60th Tony Awards\" .  }", "answer": "Harry Connick Jr."}, {"question": "What is the connection between Brenda Blethyn to United Kingdom?", "choices": ["afflicts", "influenced by", "country of citizenship", "occupation", "mountain range", "programming language", "has part", "source of income", "contributing factor of", "platform"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brenda Blethyn"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brenda Blethyn\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How many people in the Libertarian Party?", "choices": ["80000", "3256", "554000", "411250", "2655", "18824", "34750", "60000", "28", "80097731"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Libertarian Party"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["member count"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Libertarian Party\" . ?e <member_count> ?pv .  }", "answer": "411250"}, {"question": "Which show has fewer episodes, Fresno (the one that has Carol Burnett as a cast member) or The Adventures of Tintin (the one that origins from Canada)?", "choices": ["Fresno", "Battlestar Galactica", "Roots", "The Civil War", "The Ten Commandments", "The Stand", "The Pacific", "The Diary of Anne Frank", "The Adventures of Tintin", "Edge of Darkness"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carol Burnett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fresno"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Adventures of Tintin"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fresno\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Carol Burnett\" .   } UNION { ?e <pred:name> \"The Adventures of Tintin\" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> \"Canada\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fresno"}, {"question": "Which has the smallest vertical depth among the water areas whose vertical depth is less than 6100 meters?", "choices": ["North Sea", "Caribbean Sea", "Mediterranean Sea", "Adriatic Sea", "English Channel", "Aegean Sea", "North Vietnam", "Julianna Margulies", "Green Bay", "Kensington"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "6100 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <vertical_depth> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6100\"^^xsd:double ) . ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "English Channel"}, {"question": "Is the United States Navy's ISNI 0000 0001 2182 2167?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Navy"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 2182 2167"]}], "sparql": "ASK { ?e <pred:name> \"United States Navy\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2182 2167\" .  }", "answer": "no"}, {"question": "How many sountrack album were published before 1995, that are derivative works of Alfie (the one that was nominated for Golden Globe Award for Best Screenplay) ?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1995", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Screenplay"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alfie"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["soundtrack album"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  } UNION { ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Alfie\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Golden Globe Award for Best Screenplay\" .  } }", "answer": "4"}, {"question": "What is the connection between Nancy Pelosi to Democratic Party?", "choices": ["professorship", "coextensive with", "had as last meal", "significant person", "creator", "member of political party", "studied by", "place of death", "spouse", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nancy Pelosi"]}, {"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nancy Pelosi\" . ?e_2 <pred:name> \"Democratic Party\" . ?e_1 ?p ?e_2 .  }", "answer": "member of political party"}, {"question": "When did Ursula K. Le Guin win a Locus Award for Best Science Fiction Novel?", "choices": ["1949", "2001", "2017-11-12", "1995", "2005-06-15", "1965", "1851-01-01", "1631", "1984-12-01", "2010-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Locus Award for Best Science Fiction Novel"]}, {"function": "Find", "dependencies": [], "inputs": ["Ursula K. Le Guin"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Locus Award for Best Science Fiction Novel\" . ?e_2 <pred:name> \"Ursula K. Le Guin\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "Which movie has a shorter runtime, Nicholas and Alexandra or The Chronicles of Narnia: The Voyage of the Dawn Treader (the one that origins from United States of America)?", "choices": ["Rebecca", "Nicholas and Alexandra", "Pleasantville", "The Towering Inferno", "The Fifth Element", "Talk to Her", "A Prairie Home Companion", "The Chronicles of Narnia: The Voyage of the Dawn Treader", "Curse of the Golden Flower", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicholas and Alexandra"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Chronicles of Narnia: The Voyage of the Dawn Treader"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nicholas and Alexandra\" .  } UNION { ?e <pred:name> \"The Chronicles of Narnia: The Voyage of the Dawn Treader\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Chronicles of Narnia: The Voyage of the Dawn Treader"}, {"question": "Does Beaumont or the Odessa that's in the USA have fewer inhabitants?", "choices": ["Oakland", "Beaumont", "New Haven", "Franklin", "Boulder", "Lansing", "Greenville", "Waukegan", "Compton", "Odessa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beaumont"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Odessa"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Beaumont\" .  } UNION { ?e <pred:name> \"Odessa\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Odessa"}, {"question": "Regarding this statement with a 1984-01-01 end time, was the human being who's an Australian National Association Football Team member born prior to 1981?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australia national association football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1984-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1981", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Australia national association football team\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"1984-01-01\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  }", "answer": "yes"}, {"question": "How many associations were not founded in 1768?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1768", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1768 ) .  }", "answer": "4"}, {"question": "For the independent city of Germany whose local-dialing code is 921, at what time point is its population 72683?", "choices": ["1864", "2015-12-31", "2001-03-25", "2013-02-01", "2012", "400", "2007-07-01", "1825-12-01", "2010", "1943-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "921"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "72683", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"921\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"72683\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "When did Peter Weir (the one that is a member of Aberdeen F.C.) become a member of St. Mirren F.C.?", "choices": ["2012-07-25", "2006-10-16", "2005-12-10", "1978-01-01", "2008-04-18", "1859-01-24", "2008-09-09", "1981-04-10", "1453", "1902-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aberdeen F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Weir"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["St. Mirren F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Weir\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Aberdeen F.C.\" . ?e_2 <pred:name> \"St. Mirren F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1978-01-01"}, {"question": "Which visual artwork scripted by Dennis Hopper is distributed by Columbia Pictures?", "choices": ["The End of the Affair", "Hellboy", "Easy Rider", "Talladega Nights: The Ballad of Ricky Bobby", "Rebecca", "Angels & Demons", "Pleasantville", "Heavy Metal", "Talk to Her", "I Spy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dennis Hopper"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Dennis Hopper\" .  ?e <distributor> ?e_2 . ?e_2 <pred:name> \"Columbia Pictures\" .  }", "answer": "Easy Rider"}, {"question": "What is the CANTIC-ID of Richard Gere?", "choices": ["a11326438", "a11091794", "a10577129", "a11729119", "a10040419", "a1170276x", "a1015503x", "a11056149", "a1164784x", "a11447436"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Gere"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Richard Gere\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11447436"}, {"question": "How many universities have the ISNI 0000 0001 2171 3008 or use the English language?", "choices": ["21", "22", "23", "24", "25", "26", "27", "28", "29", "30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2171 3008"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [3], "inputs": ["language used", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["university"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2171 3008\" .  } UNION { ?e <language_used> ?e_1 . ?e_1 <pred:name> \"English\" .  } }", "answer": "30"}, {"question": "What is the number of independent cities in Germany that have the official name of Weimar.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Weimar"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <official_name> ?pv . ?pv <pred:value> \"Weimar\" .  }", "answer": "1"}, {"question": "How are avant-garde music and M.I.A. related?", "choices": ["sidekick of", "part of", "has quality", "programming paradigm", "filmography", "located in time zone", "cites", "designed to carry", "famous people", "instrument"], "program": [{"function": "Find", "dependencies": [], "inputs": ["avant-garde music"]}, {"function": "Find", "dependencies": [], "inputs": ["M.I.A."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"avant-garde music\" . ?e_2 <pred:name> \"M.I.A.\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How is the Orix Buffaloes related to baseball?", "choices": ["studied by", "composer", "legal form", "penalty", "award disciplines or subjects", "narrator", "killed by", "sport", "location of formation", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Orix Buffaloes"]}, {"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Orix Buffaloes\" . ?e_2 <pred:name> \"baseball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "I want to know the duration of the visual artwork that is entitled Scary movie 3.", "choices": ["259 minute", "78 minute", "147 minute", "2732 second", "19 minute", "84 minute", "33 minute", "126 minute", "42 minute", "121 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Scary Movie 3"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Scary Movie 3\" . ?e <duration> ?pv .  }", "answer": "84 minute"}, {"question": "How many constitutional monarchies, comprising the location of Second Boer War, have a diplomatic relation with Tunisia ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second Boer War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["constitutional monarchy"]}, {"function": "Find", "dependencies": [], "inputs": ["Tunisia"]}, {"function": "Relate", "dependencies": [3], "inputs": ["diplomatic relation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["constitutional monarchy"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e_1 <location> ?e . ?e_1 <pred:name> \"Second Boer War\" .  ?e_2 <diplomatic_relation> ?e . ?e_2 <pred:name> \"Tunisia\" .  }", "answer": "0"}, {"question": "At what point in time was Target Corporation's revenue 71880000000?", "choices": ["2018-02-03", "2000-06-07", "2014-06-26", "2011-02-01", "1848", "2005", "1765-01-01", "2018-11-30", "1631", "2010-02-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Target Corporation"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["total revenue", "71880000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Target Corporation\" . ?e <total_revenue> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"71880000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2018-02-03"}, {"question": "Does A Single Man (the one that received Satellite Awards 2009) or The Fast and the Furious (the one whose official website is http://www.thefastandthefurious.com/splashpage/) have greater duration?", "choices": ["A Prairie Home Companion", "The Fast and the Furious", "The Fifth Element", "Talk to Her", "The Towering Inferno", "A Single Man", "Curse of the Golden Flower", "Pleasantville", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Awards 2009"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Single Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Fast and the Furious"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["official website", "http://www.thefastandthefurious.com/splashpage/"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Single Man\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Satellite Awards 2009\" . } UNION { ?e <pred:name> \"The Fast and the Furious\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.thefastandthefurious.com/splashpage/\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Fast and the Furious"}, {"question": "Which Michigan county whose population is not 2500 has the smallest area?", "choices": ["St. Clair County", "Kent County", "Macomb County", "Oakland County", "Tuscola County", "Wayne County", "Washtenaw County", "Berrien County", "Marquette County", "Ingham County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2500", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"2500\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ingham County"}, {"question": "What is the founding date of the administrative territorial entity whose FIPS 6-4 (US counties) designation is 05069?", "choices": ["2003", "1997-05-15", "1880-10-06", "1226", "1933-01-01", "1829-11-02", "1789-01-23", "1948-04-01", "1932-02-22", "1700"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "05069"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"05069\" . ?e <inception> ?pv .  }", "answer": "1829-11-02"}, {"question": "How many sports are the main subject of the action film The Kingdom?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Kingdom"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sport"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"The Kingdom\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"action film\" .   }", "answer": "0"}, {"question": "What is the nominal GDP per capita of the democracy that is a part of the Organization for Economic Co-operation and Development starting in the year 1961?", "choices": ["56115.72 United States dollar", "20481.75 United States dollar", "29957.8 United States dollar", "9474.131 United States dollar", "8027.68 United States dollar", "9005.02 United States dollar", "8395.79 United States dollar", "5232.02 United States dollar", "15550.68 United States dollar", "3489.13 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Organisation for Economic Co-operation and Development"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1961", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["democracy"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["nominal GDP per capita"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Organisation for Economic Co-operation and Development\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1961 . ?e <nominal_GDP_per_capita> ?pv .  }", "answer": "29957.8 United States dollar"}, {"question": "How are Michigan and Saginaw County related?", "choices": ["medical treatment", "original network", "head coach", "father", "heritage designation", "is a list of", "contains administrative territorial entity", "main food source", "costume designer", "series spin-off"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Saginaw County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michigan\" . ?e_2 <pred:name> \"Saginaw County\" . ?e_1 ?p ?e_2 .  }", "answer": "contains administrative territorial entity"}, {"question": "Tell me the relationship between glockenspiel and Mike Mogis.", "choices": ["organizer", "coextensive with", "position held", "country of citizenship", "terminus", "next higher rank", "instrument", "subsidiary", "language used", "vehicle normally used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Mogis"]}, {"function": "Find", "dependencies": [], "inputs": ["glockenspiel"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mike Mogis\" . ?e_2 <pred:name> \"glockenspiel\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "When did the sovereign state whose demonym is Kamerunano have a population of 17674960?", "choices": ["1851", "1998-08-19", "1911", "2015-09-20", "2004", "1901-01-01", "2016-06-20", "2018-01-09", "1987-04-24", "2016-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Kamerunano"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "17674960", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Kamerunano\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"17674960\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2004"}, {"question": "Is The Right Stuff, featuring cast member Jeff Goldblum, or Date Night the longer of the two?", "choices": ["Training Day", "The Right Stuff", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Fifth Element", "Rebecca", "Date Night", "The Towering Inferno", "Talk to Her", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Goldblum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Right Stuff"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Date Night"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Right Stuff\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jeff Goldblum\" .   } UNION { ?e <pred:name> \"Date Night\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Right Stuff"}, {"question": "From what written work is The Spy Who Came in from the Cold (the one that has Claire Bloom as a cast member) derived?", "choices": ["Psycho", "The Maltese Falcon", "The Spy Who Came in from the Cold", "The Hours", "Starship Troopers", "A Single Man", "The Painted Veil", "Live and Let Die", "Mystic River", "Women in Love"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claire Bloom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Spy Who Came in from the Cold"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"The Spy Who Came in from the Cold\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Claire Bloom\" .   }", "answer": "The Spy Who Came in from the Cold"}, {"question": "How is the Richard Jenkins who died on 1853-01-01 related to the role of politician?", "choices": ["family name", "publisher", "position held", "film crew member", "replaced by", "location of discovery", "archives at", "captain", "occupation", "collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Jenkins"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1853-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Jenkins\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1853-01-01\"^^xsd:date . ?e_2 <pred:name> \"politician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the language associated with the official website (http://www.bladetrinity.com/) for Blade: Trinity?", "choices": ["\u01c0Xam language", "Latin", "Hindi", "Bulgarian", "Polish", "Tahitian", "Georgian", "Korean", "Xhosa", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Blade: Trinity"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.bladetrinity.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Blade: Trinity\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bladetrinity.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Who was the nominee of Academy Award for Best Original Score for the work in Star Trek \u2163: The Voyage Home ?", "choices": ["Donald R. Elliott", "Grant Heslov", "Mel Bourne", "Scott D. Smith", "Hoyt Yeatman", "Anne V. Coates", "Scott Squires", "Gary Oldman", "Leonard Rosenman", "Mike Medavoy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek \u2163: The Voyage Home"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek \u2163: The Voyage Home\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Leonard Rosenman"}, {"question": "When did John Carter (the one that is the member of political party Republican Party) finished the studies at Texas Tech University?", "choices": ["1984-06-29", "1841-04-04", "1933-01-01", "1916-11-04", "2015-02-02", "1940-05-19", "1920-07-11", "1808", "1990-01-03", "1964"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republican Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Carter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Texas Tech University"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Carter\" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> \"Republican Party\" . ?e_2 <pred:name> \"Texas Tech University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1964"}, {"question": "When did the sovereign state that has diplomatic relations with Armenia (in the subject of Armenia\u2013Mexico relations) have a population of 86077004?", "choices": ["2016-02-01", "1973-03-27", "2018-09-26", "2009-02-22", "2018-11-30", "1990", "2012-05-01", "2005-01-19", "1920-12-01", "1919"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armenia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Armenia\u2013Mexico relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "86077004", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Armenia\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Armenia\u2013Mexico relations\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"86077004\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1990"}, {"question": "How many subscribers are there for the Twitter account called RealZaragoza, which belongs to the association football club's HQ in Zaragoza?", "choices": ["136114", "100670", "427", "86469", "34205078", "24765", "122973", "2854186", "259335", "43720"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zaragoza"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "RealZaragoza", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Zaragoza\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"RealZaragoza\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "259335"}, {"question": "What is the subject of the statement saying that Tuvalu, a country having diplomatic relations with Cuba  (the one whose trunk prefix is 0) is showing the inflation rate of 3.5 percent?", "choices": ["Cuba\u2013Tuvalu relations", "Malaysia\u2013Venezuela relations", "27th Academy Awards", "Indonesia\u2013Saudi Arabia relations", "Cyprus\u2013Malta relations", "India\u2013Indonesia border", "2017\u201318 Qatar diplomatic crisis", "Suicide of Kurt Cobain", "Bangladesh\u2013Ireland relations", "Saudi Arabia\u2013Serbian relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cuba"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["trunk prefix", "0"]}, {"function": "Find", "dependencies": [], "inputs": ["Tuvalu"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["inflation rate", "3.5 percentage", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cuba\" . ?e_1 <trunk_prefix> ?pv . ?pv <pred:value> \"0\" . ?e_2 <pred:name> \"Tuvalu\" . ?e_2 <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> \"3.5\"^^xsd:double . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Cuba\u2013Tuvalu relations"}, {"question": "What person had the ISNI of 0000 0001 1678 0361 and died in Hollywood, where Milt Franklyn died?", "choices": ["Howard Morris", "Max Fleischer", "James Wong Howe", "Janis Joplin", "Oliver Hardy", "Billy West", "William Henry Harrison", "David Byrne", "Richard Gere", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milt Franklyn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["ISNI", "0000 0001 1678 0361"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Hollywood\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Milt Franklyn\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1678 0361\" .  }", "answer": "Oliver Hardy"}, {"question": "Which movie released post-1984 is titled The Late Shift?", "choices": ["The Goodbye Girl", "Shackleton", "The Late Shift", "Catwoman", "The Three Musketeers", "Jackass: The Movie", "Fish Tank", "Steve Jobs", "Ghost Rider: Spirit of Vengeance", "The Music Man"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1984", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "The Late Shift"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1984 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Late Shift\" .  }", "answer": "The Late Shift"}, {"question": "Which one, Mike Myers (the one that is a cast member of The Love Guru) or Shakira (the one whose children number is 2), has fewer number of children?", "choices": ["Max Fleischer", "Mike Myers", "Sylvester Stallone", "James E. Reilly", "William Henry Harrison", "Shakira", "Paul Simon", "Richard Gere", "Rahul Dev Burman", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Love Guru"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Myers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shakira"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["number of children", "2", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mike Myers\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Love Guru\" . } UNION { ?e <pred:name> \"Shakira\" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2\"^^xsd:double . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Shakira"}, {"question": "Who is the person employed as a guitar player and associated with the ISNI 0000 0000 7828 0963 ?", "choices": ["Micky Dolenz", "Max Fleischer", "Sylvester Stallone", "Mick Jagger", "Hans Zimmer", "Ian MacKaye", "Richard Gere", "Trey Anastasio", "William Henry Harrison", "Pam Tillis"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7828 0963"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7828 0963\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"guitarist\" .  }", "answer": "Micky Dolenz"}, {"question": "Who is the person whose pseudonym is L'Angelo Misterioso?", "choices": ["Ludacris", "Max Fleischer", "Prince", "George Harrison", "Richard Gere", "Dan Green", "Hans Zimmer", "Richard Matheson", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "L'Angelo Misterioso"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"L'Angelo Misterioso\" .  }", "answer": "George Harrison"}, {"question": "Jeremy Sisto has what connection to English?", "choices": ["fictional universe described in", "candidacy in election", "military casualty classification", "operator", "languages spoken, written or signed", "different from", "screenwriter", "part of", "has immediate cause", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Sisto"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jeremy Sisto\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "When was the person who died in Australia (the one that is the country of Subiaco) born?", "choices": ["1923-01-23", "1976-04-18", "1992-03-10", "1964-11-24", "1951-03-24", "1941-06-15", "1985-09-11", "1952-04-16", "1961-05-06", "1951-05-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Subiaco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Australia\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Subiaco\" .  ?e <date_of_birth> ?pv .  }", "answer": "1951-03-24"}, {"question": "When did Angola have a population of 9798055?", "choices": ["1997-09-17", "1961-04-17", "2010-06-07", "2011-06-28", "1975-10-01", "1975-01-01", "2010-03-07", "1988", "1908", "1858-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angola"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "9798055", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Angola\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"9798055\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1988"}, {"question": "What is the connection between Basil Rathbone and the British Army?", "choices": ["instrument", "military casualty classification", "cites", "fabrication method", "connects with", "facet of", "winner", "model item", "military branch", "followed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Basil Rathbone"]}, {"function": "Find", "dependencies": [], "inputs": ["British Army"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Basil Rathbone\" . ?e_2 <pred:name> \"British Army\" . ?e_1 ?p ?e_2 .  }", "answer": "military branch"}, {"question": "What is the connection between Earth (the one whose narrative location is Oceania) to United States of America?", "choices": ["signatory", "characters", "partially contains", "time period", "chairperson", "religion", "appointed by", "military rank", "connects with", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oceania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Earth\" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Oceania\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Which feature film produced by Universal Studios Home Entertainment is the longest?", "choices": ["National Treasure: Book of Secrets", "Back to the Future Part III", "The Muppets", "The Flintstones in Viva Rock Vegas", "Back to the Future", "Old Dogs", "Back to the Future Part II", "Alvin and the Chipmunks: Chipwrecked", "Holes", "G-Force"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Universal Studios Home Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Universal Studios Home Entertainment\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Back to the Future Part III"}, {"question": "Is the duration of the film whose official website is http://shanghai.gaga.ne.jp/ greater than 780 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://shanghai.gaga.ne.jp/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["780 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://shanghai.gaga.ne.jp/\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"780\"^^xsd:double ) .  }", "answer": "no"}, {"question": "When did Prescott have a population of 40590?", "choices": ["1912-05-15", "2015-11-05", "1998-10-21", "2013", "1928", "1989-01-01", "1931-01-01", "1970-01-01", "2012-11-07", "2002-05-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prescott"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "40590", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Prescott\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"40590\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "Who is the person whose official website is http://www.tiffanithiessen.com/ and was not born in 1955?", "choices": ["William Henry Harrison", "Sylvester Stallone", "Jim Broadbent", "Tiffani Thiessen", "The Edge", "Richard Gere", "Shinya Tsukamoto", "Steve Guttenberg", "Max Fleischer", "Tom McCarthy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tiffanithiessen.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1955", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tiffanithiessen.com/\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1955 ) .  }", "answer": "Tiffani Thiessen"}, {"question": "What is the connection between Skagit County and Snohomish County?", "choices": ["cast member", "main subject", "has effect", "family name", "shares border with", "draft pick from school", "stated in", "located in time zone", "lifestyle", "production company"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skagit County"]}, {"function": "Find", "dependencies": [], "inputs": ["Snohomish County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Skagit County\" . ?e_2 <pred:name> \"Snohomish County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How many big cities whose demonym is Rijselnaar or whose Swedish urban area code is T3452?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Rijselnaar"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Swedish urban area code", "T3452"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["big city"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" .  { ?e <demonym> ?pv . ?pv <pred:value> \"Rijselnaar\" .  } UNION { ?e <Swedish_urban_area_code> ?pv . ?pv <pred:value> \"T3452\" .  } }", "answer": "2"}, {"question": "Which occupation is the position of the human that is a member of Costa Rica's national football team?", "choices": ["all-rounder", "environmentalist", "small forward", "lead vocalist", "partner", "singer-songwriter", "winger", "midfielder", "defender", "goaltender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Costa Rica national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["position played on team / speciality", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["occupation"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Costa Rica national football team\" .   }", "answer": "midfielder"}, {"question": "How is Hellboy, with box office earnings of 99318987 USD, connected to Australia, with the demonym australieni?", "choices": ["patron saint", "sports season of league or competition", "film release region", "newspaper format", "license", "relative", "capital of", "officeholder", "home port", "influenced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hellboy"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "99318987 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["demonym", "australieni"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hellboy\" . ?e_1 <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"99318987\"^^xsd:double . ?e_2 <pred:name> \"Australia\" . ?e_2 <demonym> ?pv_1 . ?pv_1 <pred:value> \"australieni\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Who has more children, Georgy Zhukov or Courteney Cox?", "choices": ["Georgy Zhukov", "Rahul Dev Burman", "Paul Simon", "Courteney Cox", "Sylvester Stallone", "James E. Reilly", "David Byrne", "Richard Gere", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgy Zhukov"]}, {"function": "Find", "dependencies": [], "inputs": ["Courteney Cox"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Georgy Zhukov\" .  } UNION { ?e <pred:name> \"Courteney Cox\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Georgy Zhukov"}, {"question": "What is the association of The Quiet Man (whose Instagram username is thequietmangame) with New York City?", "choices": ["has cause", "diaspora", "field of work", "public holiday", "narrative location", "editor", "part of the series", "copyright representative", "developer", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Quiet Man"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "thequietmangame"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Quiet Man\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"thequietmangame\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Which human has a pseudonym of \u30d3\u30fc\u30c8\u305f\u3051\u3057?", "choices": ["Sylvester Stallone", "Takeshi Kitano", "C. J. Cherryh", "Max Fleischer", "Richard Gere", "Raoul Walsh", "William Henry Harrison", "Louis C.K.", "Jackie Chan", "Anthony Wong"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "\u30d3\u30fc\u30c8\u305f\u3051\u3057"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"\u30d3\u30fc\u30c8\u305f\u3051\u3057\" .  }", "answer": "Takeshi Kitano"}, {"question": "What language is associated with the official website http://www.grammy.com/ that has the Grammy Award for Best Rock Album?", "choices": ["Canadian French", "Latvian", "Franco-Proven\u00e7al", "Old English", "Thai", "Danish", "Basque", "English", "Hungarian", "Lithuanian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Rock Album"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.grammy.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Grammy Award for Best Rock Album\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.grammy.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many learned societies received one of 58th Primetime Emmy Awards and were received by Alan Turing ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["58th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["learned society"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Turing"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["learned society"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"58th Primetime Emmy Awards\" .  ?e_2 <award_received> ?e . ?e_2 <pred:name> \"Alan Turing\" .  }", "answer": "0"}, {"question": "Is the duration less for Iron Sky or Ironclad?", "choices": ["The Hunchback of Notre Dame", "Training Day", "Rebecca", "The Towering Inferno", "The Fifth Element", "Iron Sky", "Pleasantville", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iron Sky"]}, {"function": "Find", "dependencies": [], "inputs": ["Ironclad"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iron Sky\" .  } UNION { ?e <pred:name> \"Ironclad\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Iron Sky"}, {"question": "How RoboCop is related to Nintendo Entertainment System?", "choices": ["home venue", "appointed by", "different from", "depicted by", "conferred by", "sibling", "replaced by", "platform", "publisher", "screenwriter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment System"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["RoboCop"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment System"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"RoboCop\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"Nintendo Entertainment System\" . ?e_2 <pred:name> \"Nintendo Entertainment System\" . ?e_1 ?p ?e_2 .  }", "answer": "platform"}, {"question": "How many soundtrack albums have the title Pocahontas or have the record label J Records?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Pocahontas"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "Find", "dependencies": [], "inputs": ["J Records"]}, {"function": "Relate", "dependencies": [3], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soundtrack album"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" .  { ?e <title> ?pv . ?pv <pred:value> \"Pocahontas\" .  } UNION { ?e <record_label> ?e_1 . ?e_1 <pred:name> \"J Records\" .  } }", "answer": "2"}, {"question": "What number of countries have an ISO 3166-1 alpha-2 code of NL or a total fertility rate that's above 2.0?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "2.0", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISO 3166-1 alpha-2 code", "NL"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["country"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" .  { ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2.0\"^^xsd:double ) .  } UNION { ?e <ISO_3166-1_alpha-2_code> ?pv . ?pv <pred:value> \"NL\" .  } }", "answer": "3"}, {"question": "Which has the smallest population among the regions of Italy that border Liguria?", "choices": ["Lazio", "Piedmont", "Sardinia", "Sicily", "Veneto", "Emilia-Romagna", "Apulia", "Abruzzo", "Tuscany", "Basilicata"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liguria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Liguria\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tuscany"}, {"question": "is Ludwig von Mises' date of death not in 1970?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ludwig von Mises"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1970", "!="]}], "sparql": "ASK { ?e <pred:name> \"Ludwig von Mises\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1970 ) .  }", "answer": "yes"}, {"question": "What award has the official website http://www.grammy.com/ (in English) and was won by Will Smith (whose net worth is 250000000 United States dollars)?", "choices": ["Royal Victorian Chain", "Grammy Award for Best Metal Performance", "Grammy Award for Song of the Year", "Grammy Award for Best Rock Instrumental Performance", "Grammy Award for Best Dance/Electronic Album", "Grammy Award for Best Rap Solo Performance", "Saturn Award for Best Actor", "Grammy Award for Best Reggae Album", "Independent Spirit Award for Best Female Lead", "Golden Globe Award for Best Animated Feature Film"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.grammy.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "Find", "dependencies": [], "inputs": ["Will Smith"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["net worth", "250000000 United States dollar", "="]}, {"function": "Relate", "dependencies": [5], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["award"]}, {"function": "And", "dependencies": [3, 7], "inputs": []}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.grammy.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Will Smith\" . ?e_1 <net_worth> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"250000000\"^^xsd:double .  }", "answer": "Grammy Award for Best Rap Solo Performance"}, {"question": "What is John Malkovich's Twitter username?", "choices": ["johnmalkovich", "royalacademy", "CraigyFerg", "DieRotenBullen", "jonfavs", "officialpompey", "IowaStateU", "CaesarsEnt", "sheffielduni", "EricRoberts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Malkovich"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Malkovich\" . ?e <Twitter_username> ?pv .  }", "answer": "johnmalkovich"}, {"question": "What is the connection between 2005 NBA Draft to Indiana Pacers?", "choices": ["affiliation", "soundtrack album", "located on terrain feature", "kit supplier", "permanent resident of", "country of citizenship", "military casualty classification", "head of state", "participant", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2005 NBA Draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Indiana Pacers"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2005 NBA Draft\" . ?e_2 <pred:name> \"Indiana Pacers\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "What is the connection between liver cirrhosis to liver cancer?", "choices": ["official religion", "inspired by", "has effect", "award disciplines or subjects", "composer", "doctoral student", "indigenous to", "diplomatic relation", "published in", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["liver cirrhosis"]}, {"function": "Find", "dependencies": [], "inputs": ["liver cancer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"liver cirrhosis\" . ?e_2 <pred:name> \"liver cancer\" . ?e_1 ?p ?e_2 .  }", "answer": "has effect"}, {"question": "Which person's pseudonym is Q-Tip?", "choices": ["William Henry Harrison", "Richard Gere", "John Fogerty", "Sylvia Plath", "Max Fleischer", "Q-Tip", "Farida Jalal", "Michael Kamen", "Sylvester Stallone", "Jason Segel"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Q-Tip"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"Q-Tip\" .  }", "answer": "Q-Tip"}, {"question": "Which US city corresponds with zip code 73070?", "choices": ["Franklin", "Norman", "New Haven", "Columbus", "St. Joseph", "Louisville", "Monroe", "Irvine", "Oakland", "Hastings"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "73070"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"73070\" .  }", "answer": "Norman"}, {"question": "Who is the person whose ISNI is 0000 0000 7318 4884 and whose mass is greater than 50 kilograms?", "choices": ["Dennis Rodman", "Richard Gere", "Carmelo Anthony", "Sylvester Stallone", "William Henry Harrison", "Mark Harmon", "Richard Harris", "Dany Heatley", "Jean-Claude Van Damme", "Lee Grant"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7318 4884"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["mass", "50 kilogram", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7318 4884\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"kilogram\" . ?pv_1 <pred:value> ?v . FILTER ( ?v > \"50\"^^xsd:double ) .  }", "answer": "Dany Heatley"}, {"question": "How many Netherlands municipalities are the capital city with the local dialing code of 821?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "821"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["municipality of the Netherlands"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"821\" .   }", "answer": "0"}, {"question": "What is the connection between Juris Doctor to law?", "choices": ["destination point", "has effect", "operating area", "captain", "studies", "home port", "doctoral advisor", "medical condition", "member of", "start point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juris Doctor"]}, {"function": "Find", "dependencies": [], "inputs": ["law"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Juris Doctor\" . ?e_2 <pred:name> \"law\" . ?e_1 ?p ?e_2 .  }", "answer": "studies"}, {"question": "When was Start for 10 published?", "choices": ["2012-05-17", "2006-01-01", "1998-03-20", "2007-10-25", "1981-06-19", "1969-09-23", "1968-09-06", "2003-11-22", "1964-01-29", "1981-03-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Starter for 10"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Starter for 10\" . ?e <publication_date> ?pv .  }", "answer": "2006-01-01"}, {"question": "Which movie is longer, Ned Kelly (the one whose distributor is Focus Features) or Snatch?", "choices": ["Pleasantville", "The Hunchback of Notre Dame", "Ned Kelly", "Snatch", "Curse of the Golden Flower", "A Prairie Home Companion", "Talk to Her", "The Towering Inferno", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Focus Features"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ned Kelly"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Snatch"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ned Kelly\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Focus Features\" .   } UNION { ?e <pred:name> \"Snatch\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ned Kelly"}, {"question": "What is the nominee of The Patriot (the one whose director is Ernst Lubitsch) that  was nominated for Academy Award for Best Production Design ?", "choices": ["Lee Garmes", "Albert Wolsky", "Hans Dreier", "Gwendolyn Yates Whittle", "Mikhail Baryshnikov", "Lance Anderson", "Matt Dillon", "Annette Bening", "Gene Cantamessa", "Don Zimmerman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ernst Lubitsch"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Patriot\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Ernst Lubitsch\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Hans Dreier"}, {"question": "Was the person, who narrated Oscar and Lucinda, born before 1981 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oscar and Lucinda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1981", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <narrator> ?e . ?e_1 <pred:name> \"Oscar and Lucinda\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  }", "answer": "yes"}, {"question": "How many anime TV series concluded their run post-1989 or first broadcast on TV Tokyo?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1989", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "Find", "dependencies": [], "inputs": ["TV Tokyo"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anime television series"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1989 ) .  } UNION { ?e <original_network> ?e_1 . ?e_1 <pred:name> \"TV Tokyo\" .  } }", "answer": "2"}, {"question": "What is the connection between 4AD to London (the one that is the death place of Freddie Young)?", "choices": ["location of final assembly", "draft pick from school", "chief executive officer", "inspired by", "original language of film or TV show", "chairperson", "winner", "headquarters location", "applies to jurisdiction", "military branch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["4AD"]}, {"function": "Find", "dependencies": [], "inputs": ["Freddie Young"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"4AD\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> \"Freddie Young\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What is the connection between National Front for the Liberation of South Vietnam to People's Republic of China?", "choices": ["cast member", "illustrator", "present in work", "different from", "culture", "architect", "has part", "based on", "mother", "military conflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Front for the Liberation of South Vietnam"]}, {"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"National Front for the Liberation of South Vietnam\" . ?e_2 <pred:name> \"People's Republic of China\" . ?e_1 ?p ?e_2 .  }", "answer": "military conflicts"}, {"question": "Which association-football club, has as a member, the human whose name in native language is Jonathan Forte  (the number of games played of this statement is 98)?", "choices": ["Los Angeles Galaxy", "Rotherham United F.C.", "Stade Brestois 29", "Middlesbrough F.C.", "Doncaster Rovers F.C.", "Preston North End F.C.", "Crawley Town F.C.", "Scunthorpe United F.C.", "Ipswich Town F.C.", "Notts County F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Jonathan Forte"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [3], "inputs": ["number of matches played/races/starts", "98", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Jonathan Forte\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"98\"^^xsd:double .  }", "answer": "Scunthorpe United F.C."}, {"question": "When was Livingston County whose population is 64939 founded?", "choices": ["1975-05-16", "1869-10-16", "1855-08-30", "1770", "1988", "1795-08-03", "1821", "1982-02-28", "1936-01-01", "1752"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Livingston County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "64939", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Livingston County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"64939\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1821"}, {"question": "Is the total fertility rate for the sovereign state whose population is 400865 less than 7.6 as of 2012?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "400865", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["total fertility rate", "point in time", "2012"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["7.6", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"400865\"^^xsd:double . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"7.6\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2012 .  }", "answer": "yes"}, {"question": "How is Barcelona (the one that is the twinned administrative body of Varna) related to Havana (the one whose population is 2,141,652) ?", "choices": ["medical condition", "follows", "works in collection", "permanent resident of", "language used", "broadcast by", "game mode", "twinned administrative body", "territory overlaps", "production company"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Varna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Barcelona"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Havana"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "2141652", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Barcelona\" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> \"Varna\" . ?e_2 <pred:name> \"Havana\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2141652\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which language is associated with http://www.neustadtprize.org/, the official website of the literary award whose review score is 2 (reviewed by International Congress of Distinguished Awards)?", "choices": ["Canadian English", "Franco-Proven\u00e7al", "Polish", "Yue Chinese", "Bashkir", "Montenegrin", "Indonesian", "Czech", "Catalan", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["review score", "2"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["review score by", "International Congress of Distinguished Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["literary award"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.neustadtprize.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e <review_score> ?pv_1 . ?pv_1 <pred:value> \"2\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv_1 ] <review_score_by> ?qpv_1 . ?qpv_1 <pred:value> \"International Congress of Distinguished Awards\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.neustadtprize.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Louis XIV of France have a CANTIC-ID of a10979785?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louis XIV of France"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["a10979785"]}], "sparql": "ASK { ?e <pred:name> \"Louis XIV of France\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10979785\" .  }", "answer": "yes"}, {"question": "How many electronic music entities originate in the USA or were created prior to 1968?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1968", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic music"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic music\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1968 ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "13"}, {"question": "What is the connection between Paul Winchell to Paul (the one that is the given name of Paul Thomas Anderson)?", "choices": ["official language", "capital", "geographic distribution", "occupant", "mascot", "published in", "broadcast by", "officially opened by", "given name", "mouth of the watercourse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Winchell"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Thomas Anderson"]}, {"function": "Relate", "dependencies": [1], "inputs": ["given name", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Winchell\" . ?e_2 <pred:name> \"Paul\" . ?e_3 <given_name> ?e_2 . ?e_3 <pred:name> \"Paul Thomas Anderson\" . ?e_1 ?p ?e_2 .  }", "answer": "given name"}, {"question": "Is the shooter game in the light gun shooter genre of Terminator Salvation designated by OLAC video game genre vocabulary ID 1042 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["light gun shooter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Terminator Salvation"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["shooter game"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["OLAC video game genre vocabulary"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["1042"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"shooter game\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Terminator Salvation\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"light gun shooter\" .  ?e <OLAC_video_game_genre_vocabulary> ?pv . ?pv <pred:value> \"1042\" .  }", "answer": "yes"}, {"question": "Is the institution of higher learning where Jamie Cullum studied represented by the website www.reading.ac.uk/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jamie Cullum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.reading.ac.uk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Jamie Cullum\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.reading.ac.uk/\" .  }", "answer": "yes"}, {"question": "What is the number of video game console models whose sold units is under 500000000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["units sold", "500000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <units_sold> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"500000000\"^^xsd:double ) .  }", "answer": "5"}, {"question": "What is the connection between Greene County (whose population is 275174) and Nathanael Greene?", "choices": ["field of this occupation", "office held by head of government", "exported to", "conflict", "talk show guest", "military branch", "original language of film or TV show", "named after", "mother", "official residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "275174", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Nathanael Greene"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greene County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"275174\"^^xsd:double . ?e_2 <pred:name> \"Nathanael Greene\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "Which film is titled \"Hable con ella\"?", "choices": ["In the Heat of the Night", "Me and Orson Welles", "The Fifth Element", "Talk to Her", "The Producers", "Rebecca", "Pleasantville", "State of Play", "A Prairie Home Companion", "Romeo and Juliet"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Hable con ella"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Hable con ella\" .  }", "answer": "Talk to Her"}, {"question": "Does Nantucket or Aruba have less area?", "choices": ["Aruba", "Trinidad", "Newfoundland", "Hawaii", "Cyprus", "Long Island", "Tasmania", "Nantucket", "Ireland", "Puerto Rico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nantucket"]}, {"function": "Find", "dependencies": [], "inputs": ["Aruba"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nantucket\" .  } UNION { ?e <pred:name> \"Aruba\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Aruba"}, {"question": "What is the relationship between Land of the Lost (the one whose official website is http://landofthelost.net) and Michael Giacchino?", "choices": ["collection", "exported to", "owner of", "composer", "designed by", "film regional debut venue", "Wikidata property", "notable people with this condition", "head of government", "depicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Land of the Lost"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://landofthelost.net"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Giacchino"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Land of the Lost\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://landofthelost.net\" . ?e_2 <pred:name> \"Michael Giacchino\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "What is the elevation above sea level of the city whose TOID is 4000000074573839?", "choices": ["536 metre", "770 metre", "4810.9 metre", "233 foot", "680 metre", "62 foot", "13 foot", "185 metre", "938 metre", "11 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074573839"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"4000000074573839\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "11 metre"}, {"question": "Is 1959 the date of birth of the person who was a member of Chester City F.C. in 1985 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chester City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1985", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1959", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Chester City F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1985 . ?e <date_of_birth> ?pv . ?pv <pred:year> 1959 .  }", "answer": "yes"}, {"question": "The visual artwork whose Giphy username is horriblebosses was released on 2011-09-01 in what location?", "choices": ["Belgium", "Spain", "Central Park", "Rio de Janeiro", "Finland", "Mexico", "Cannes", "Johannesburg", "Beverly Hills", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "horriblebosses"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-09-01", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"horriblebosses\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-09-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which city with under 75000000 population count in 2016 is Frank Oz' place of birth?", "choices": ["Turin", "Erfurt", "Kilkenny", "Hamilton", "Cork", "Amsterdam", "Lahore", "Hereford", "Trieste", "Burnaby"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "75000000", "<"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2016", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Oz"]}, {"function": "Relate", "dependencies": [4], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"75000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Frank Oz\" .  }", "answer": "Hereford"}, {"question": "When did an administrative territorial entity, whose official website is http://www.johnson-county.com, reach the population of 136,428 ?", "choices": ["1972-12-01", "1987-03-30", "1962-05-01", "1970-11-01", "2016-11-30", "1998", "2018-11-30", "1984-01-01", "1976-12-01", "2012-07-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.johnson-county.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "136428", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.johnson-county.com\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"136428\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Was Michael Madsen, a member of Vfl Wolsburg, not born in 1959?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["VfL Wolfsburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Madsen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1959", "!="]}], "sparql": "ASK { ?e <pred:name> \"Michael Madsen\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"VfL Wolfsburg\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1959 ) .  }", "answer": "yes"}, {"question": "Regarding The Green Mile (which was composed by Thomas newman), tell me the official website.", "choices": ["http://www.rleeermey.com/", "http://www.leonardbernstein.com/", "http://www.cuni.cz/", "http://www.larenztate.com", "http://thegreenmile.warnerbros.com/", "http://www.mic.gov.to/", "http://www.philipjohnston.com/rmas/history.htm", "http://www.mun.ca/", "http://www.cityofmobile.org/", "http://www.tv-tokyo.co.jp/anime/naruto/movie08/index.html"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Newman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Green Mile"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Green Mile\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Thomas Newman\" .  ?e <official_website> ?pv .  }", "answer": "http://thegreenmile.warnerbros.com/"}, {"question": "Was Cleveland State University established after 1867?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cleveland State University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1867", ">"]}], "sparql": "ASK { ?e <pred:name> \"Cleveland State University\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1867 ) .  }", "answer": "yes"}, {"question": "Is the official website of the person with the Twitter username of ashleyjudd http://ashleyjudd.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ashleyjudd"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://ashleyjudd.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ashleyjudd\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://ashleyjudd.com/\" .  }", "answer": "yes"}, {"question": "Sarah McLachlan won which award in 1999?", "choices": ["Grammy Award for Best Reggae Album", "Rock and Roll Hall of Fame", "Grammy Award for Best Metal Performance", "Golden Globe Award for Best Animated Feature Film", "Grammy Award for Best Dance Recording", "Latin Grammy Award for Best Male Pop Vocal Album", "Grammy Award for Best Female Pop Vocal Performance", "Genie Award for Best Achievement in Editing", "Grammy Award for Best Pop Collaboration with Vocals", "Independent Spirit Award for Best Female Lead"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sarah McLachlan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Sarah McLachlan\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1999 .  }", "answer": "Grammy Award for Best Female Pop Vocal Performance"}, {"question": "The demonym lombardi designates which part of the Italian region with ISNI number 0000 0001 1504 1022?", "choices": ["Community, season 3", "airspace", "Pangandaran", "Vanderburgh County", "Eastern Province", "coastal waters of Australia", "feminine singular", "Australia", "Stewart County", "masculine plural"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1504 1022"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "lombardi", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1504 1022\" . ?e <demonym> ?pv . ?pv <pred:value> \"lombardi\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine plural"}, {"question": "The pronunciation audio Es-mx-M\u00e9xico.ogg corresponds with which first-level administrative country subdivision ?", "choices": ["Minas Gerais", "England", "Canton of Valais", "Rio de Janeiro", "M\u00e9xico", "Landgraviate of Hesse-Kassel", "Oaxaca", "Lublin Voivodeship", "Lower Austria", "Podlaskie Voivodeship"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Es-mx-M\u00e9xico.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Es-mx-M\u00e9xico.ogg\" .  }", "answer": "M\u00e9xico"}, {"question": "Which area is larger, Ontario County or Albany County?", "choices": ["Albany County", "Rensselaer County", "Clinton County", "Greene County", "Jefferson County", "Chautauqua County", "Orange County", "Warren County", "Ontario County", "Cayuga County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ontario County"]}, {"function": "Find", "dependencies": [], "inputs": ["Albany County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ontario County\" .  } UNION { ?e <pred:name> \"Albany County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ontario County"}, {"question": "What visual artwork's genre is the film genre of the Russ Meyer genre (the one that has the occupation of film producer)?", "choices": ["Pleasantville", "A Prairie Home Companion", "Russ Meyer", "Wild at Heart", "Godzilla", "Twin Peaks: Fire Walk with Me", "Hudson Hawk", "Rebecca", "Angel", "Montana"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Russ Meyer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film genre"]}, {"function": "Relate", "dependencies": [5], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film genre\" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> \"Russ Meyer\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"film producer\" .   }", "answer": "Angel"}, {"question": "What is Kerry Washington's role in Fantastic Four which was nominated for a Golden Raspberry Award for Worst Actress?", "choices": ["Saul Goodman", "Khal Drogo", "Ted Clubberlang", "Briseis", "Aragorn", "Peggy Olson", "Edward Malus", "Alicia Masters", "Phil Coulson", "The Ancestors"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fantastic Four"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kerry Washington"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Fantastic Four\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Actress\" . ?e_2 <pred:name> \"Kerry Washington\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Alicia Masters"}, {"question": "What is the connection between Gothenburg to Aarhus?", "choices": ["office held by head of the organisation", "official religion", "twinned administrative body", "located in time zone", "operating system", "distribution", "sibling", "next higher rank", "part of", "characters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gothenburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Aarhus"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gothenburg\" . ?e_2 <pred:name> \"Aarhus\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the connection between Joe Diffie to 1999 Grammy Awards?", "choices": ["material used", "director/manager", "award received", "medical condition", "enclave within", "office held by head of government", "tributary", "series spin-off", "registered with", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joe Diffie"]}, {"function": "Find", "dependencies": [], "inputs": ["1999 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Joe Diffie\" . ?e_2 <pred:name> \"1999 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "for the person with a CANTIC-ID of, did he die not on 2005", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11155474"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2005", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11155474\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  }", "answer": "yes"}, {"question": "What is the connection between Charles Boyer (the one whose name in native language is Charles Boyer) to screenwriter?", "choices": ["director", "sports season of league or competition", "member of sports team", "film editor", "uses", "license", "film release region", "occupation", "official color", "performer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Boyer"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Charles Boyer"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charles Boyer\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Charles Boyer\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Who is the screenwriter of the film that has the official website http://timemachine.countingdown.com/?", "choices": ["John Logan", "Arthur Conan Doyle", "Robert Bolt", "Wes Craven", "Ronald Neame", "Vera Farmiga", "Jack Kerouac", "Paul Winfield", "TobyMac", "David O. Selznick"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://timemachine.countingdown.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://timemachine.countingdown.com/\" .   }", "answer": "John Logan"}, {"question": "When was the death of the person born on 1902-03-27?", "choices": ["1778-05-15", "2012-05-20", "2007-04-11", "1979-02-27", "1940-08-21", "1998-04-03", "2006-03-13", "1911-08-08", "1989-02-09", "1945-04-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1902-03-27", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1902-03-27\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1998-04-03"}, {"question": "What is the time point of when George Martin (the one that was nominated for Tony Award for Best Featured Actor in a Play) was nominated for a Tony Award for Best Featured Actor in a Play?", "choices": ["1900-12-31", "1200", "1825-12-01", "1377", "1985-12-01", "1983", "1707", "2016-04-24", "1420", "1963-05-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Martin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George Martin\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Tony Award for Best Featured Actor in a Play\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actor in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1983"}, {"question": "Does Sean Astin or Basil Rathbone have more children?", "choices": ["Simon Cowell", "Basil Rathbone", "Sylvester Stallone", "Richard Gere", "David Byrne", "Max Fleischer", "Rahul Dev Burman", "James E. Reilly", "William Henry Harrison", "Sean Astin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sean Astin"]}, {"function": "Find", "dependencies": [], "inputs": ["Basil Rathbone"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sean Astin\" .  } UNION { ?e <pred:name> \"Basil Rathbone\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sean Astin"}, {"question": "How is The Human Stain composed by Rachel Portman related to film based on literature?", "choices": ["follows", "diplomatic relation", "candidacy in election", "characters", "country of citizenship", "subject has role", "registered with", "edition or translation of", "signatory", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rachel Portman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Human Stain"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Human Stain\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"Rachel Portman\" . ?e_2 <pred:name> \"film based on literature\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does the animated series whose titled Adrian have more than 20 seasons?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Adrian"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["20", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Adrian\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"20\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the connection between 1965 Major League Baseball season to Chicago Cubs?", "choices": ["film crew member", "filming location", "participant", "family name", "part of the series", "occupant", "designated as terrorist by", "organisation directed from the office or person", "approved by", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1965 Major League Baseball season"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago Cubs"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1965 Major League Baseball season\" . ?e_2 <pred:name> \"Chicago Cubs\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "What is the connection between Late Show with David Letterman to Marisa Tomei?", "choices": ["main food source", "partner", "nominated for", "heritage designation", "afflicts", "hair color", "home port", "talk show guest", "next lower rank", "worshipped by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Late Show with David Letterman"]}, {"function": "Find", "dependencies": [], "inputs": ["Marisa Tomei"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Late Show with David Letterman\" . ?e_2 <pred:name> \"Marisa Tomei\" . ?e_1 ?p ?e_2 .  }", "answer": "talk show guest"}, {"question": "At what point in time is 366762 the population of the city having the license plate code B?", "choices": ["2015-09-03", "2015-10-08", "1836-01-01", "2018-09-04", "2019-01-12", "1961-06-22", "1834", "1981-12-31", "2016-03-15", "1916-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "\u0412"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "366762", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"\u0412\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"366762\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-03-15"}, {"question": "How is the Seoul Broadcasting System related to South Korea?", "choices": ["affiliation", "platform", "film regional debut venue", "opposite of", "approved by", "killed by", "Wikidata property", "country", "season starts", "relative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seoul Broadcasting System"]}, {"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Seoul Broadcasting System\" . ?e_2 <pred:name> \"South Korea\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How are Richard Jenkins, who was a cast member of Eat Pray Love, and The Rum Diary related?", "choices": ["maintained by", "afflicts", "killed by", "located in time zone", "model item", "inspired by", "production company", "published in", "cast member", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Rum Diary"]}, {"function": "Find", "dependencies": [], "inputs": ["Eat Pray Love"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Jenkins"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Rum Diary\" . ?e_2 <pred:name> \"Richard Jenkins\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Eat Pray Love\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Was the visual artwork whose Instagram username is starisbornmovie published (in Ukraine) after 1979?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "starisbornmovie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Ukraine"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1979", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"starisbornmovie\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1979 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Ukraine\" .  }", "answer": "yes"}, {"question": "What is the elevation above sea level of Kenya that is the lowest point of the Indian Ocean", "choices": ["322 metre", "377 metre", "0 metre", "222 metre", "667 metre", "435 metre", "131 metre", "112 metre", "131 foot", "74 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kenya"]}, {"function": "Find", "dependencies": [], "inputs": ["Indian Ocean"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["lowest point", "elevation above sea level"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kenya\" . ?e_2 <pred:name> \"Indian Ocean\" . ?e_1 <lowest_point> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <lowest_point> ; <pred:fact_t> ?e_2 ] <elevation_above_sea_level> ?qpv .  }", "answer": "0 metre"}, {"question": "Is the Instagram username of a TV station, the distributor of f South Park (the one that is released for Microsoft Windows), equal to comedycentral ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Microsoft Windows"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["South Park"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["comedycentral"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <distributor> ?e . ?e_1 <pred:name> \"South Park\" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> \"Microsoft Windows\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"comedycentral\" .  }", "answer": "yes"}, {"question": "What is the character role of Grey DeLisle who is a voice actor in the film Transformers: Revenge of the Fallen (that was released in the United States of America)?", "choices": ["Faramir", "The Dragon Emperor", "Elizabeth Swann", "Karen Silkwood", "Eddie Morra", "Blade", "Sharpay Evans", "Jorah Mormont", "Prue Halliwell", "Arcee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers: Revenge of the Fallen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grey DeLisle"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Transformers: Revenge of the Fallen\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Grey DeLisle\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Arcee"}, {"question": "Since when is Jena a twinned administrative body of Porto (the one that is the twinned administrative body of Bristol)?", "choices": ["1966-10-17", "2003-10-03", "2015-08-12", "1929-04-26", "1980-05-02", "1861-04-03", "1984", "2006-03-12", "1992-03-16", "1924-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jena"]}, {"function": "Find", "dependencies": [], "inputs": ["Bristol"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Porto"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jena\" . ?e_2 <pred:name> \"Porto\" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> \"Bristol\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1984"}, {"question": "What is the census-designated place that shares its southwest border with the United States city whose motto Justitia Omnibus?", "choices": ["Kool & the Gang", "The Birdcage", "Independence", "Super 35", "Stanford", "Towson", "Silver Spring", "Bethesda", "Coimbatore district", "McLean"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Justitia Omnibus"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["direction relative to location", "southwest"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["census-designated place"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <motto_text> ?pv . ?pv <pred:value> \"Justitia Omnibus\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <direction_relative_to_location> ?qpv . ?qpv <pred:value> \"southwest\" .  }", "answer": "Silver Spring"}, {"question": "Which US city is at zip codes 44700\u201344799?", "choices": ["Waukegan", "College Park", "New Haven", "Columbus", "Southfield", "Canton", "Waterloo", "Midland", "Fremont", "St. Joseph"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "44700\u201344799"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"44700\u201344799\" .  }", "answer": "Canton"}, {"question": "What is the date of birth of the person whose Twitter username is Paul_Bettany with 267560 subscribers?", "choices": ["1934-04-02", "1909-06-20", "1969-02-01", "1971-05-27", "1958-09-03", "1946-01-06", "1946-02-07", "1991-12-21", "1869-06-08", "1947-08-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Paul_Bettany"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "267560", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Paul_Bettany\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"267560\"^^xsd:double . ?e <date_of_birth> ?pv .  }", "answer": "1971-05-27"}, {"question": "Is the native label of Normandy (the location of the Invasion of Normandy) equal to Normandie?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Invasion of Normandy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Normandie"]}], "sparql": "ASK { ?e <pred:name> \"Normandy\" . ?e_1 <location> ?e . ?e_1 <pred:name> \"Invasion of Normandy\" .  ?e <native_label> ?pv . ?pv <pred:value> \"Normandie\" .  }", "answer": "yes"}, {"question": "What physics engine is the software engine of the video games with the official Japanese-language website  http://sonic.sega.jp/sonic/ ?", "choices": ["University of Wales", "George Frideric Handel", "Mike Epps", "Houston Rockets", "Bridgend", "Dunfermline", "Tombstone", "Havok", "How I Met Your Mother", "Imperial Records"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://sonic.sega.jp/sonic/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "Japanese"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["video game"]}, {"function": "Relate", "dependencies": [3], "inputs": ["software engine", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["physics engine"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"physics engine\" . ?e_1 <software_engine> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"video game\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://sonic.sega.jp/sonic/\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Japanese\" .   }", "answer": "Havok"}, {"question": "How many boarding schools were not founded in 1440?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1440", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["boarding school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"boarding school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1440 ) .  }", "answer": "5"}, {"question": "Which TV series has the official website of http://www.sho.com/homeland?", "choices": ["Bleak House", "Oz", "Stargate SG-1", "Happy Days", "Homeland", "As the World Turns", "Game of Thrones", "American Horror Story", "American Masters", "Law & Order"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sho.com/homeland"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sho.com/homeland\" .  }", "answer": "Homeland"}, {"question": "When did Cary Grant become a citizen of United States of America?", "choices": ["1950-07-01", "1979-03-14", "1795-10-24", "1942-06-26", "1899-01-01", "1999-03-12", "1720", "1898-08-12", "1955-12-01", "2013-07-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cary Grant"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country of citizenship", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cary Grant\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1942-06-26"}, {"question": "What is the CANTIC-ID of the person whose Munzinger IBA is 00000029459?", "choices": ["a10086924", "a11055054", "a11719126", "a11028907", "a1170665x", "a1099564x", "a11298613", "a12013250", "a11550806", "a1044998x"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000029459"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000029459\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11550806"}, {"question": "Was Malibu released by record label RCA Records in 2008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RCA Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Malibu"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2008", "!="]}], "sparql": "ASK { ?e <pred:name> \"Malibu\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"RCA Records\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  }", "answer": "yes"}, {"question": "Is Douglas County (sharing a border with Mono County) or Nye County smaller by area?", "choices": ["Greene County", "Delaware County", "Lee County", "Washoe County", "Douglas County", "Orange County", "San Juan County", "Kent County", "African Union", "Nye County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mono County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nye County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Douglas County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Mono County\" .   } UNION { ?e <pred:name> \"Nye County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Douglas County"}, {"question": "Jim Taylor, born on 1917-11-05, belonged to Queens Park Rangers F.C. until what date?", "choices": ["1960-02-28", "1981", "1976-09-09", "1996-07-24", "1895", "1954-01-01", "2011-11-27", "1204", "1887-01-01", "2012-07-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Taylor"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1917-11-05", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Queens Park Rangers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jim Taylor\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1917-11-05\"^^xsd:date . ?e_2 <pred:name> \"Queens Park Rangers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1954-01-01"}, {"question": "What's the connection between Con Air and Danny Trejo?", "choices": ["make-up artist", "highest judicial authority", "time period", "natural product of taxon", "costume designer", "place of origin (Switzerland)", "start point", "place of birth", "cast member", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Con Air"]}, {"function": "Find", "dependencies": [], "inputs": ["Danny Trejo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Con Air\" . ?e_2 <pred:name> \"Danny Trejo\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which higher education institution did Nathaniel Hathorne study at?", "choices": ["University of Turin", "Bennington College", "American University", "College of William & Mary", "McGill University", "University of Bristol", "Bucknell University", "University of Reading", "Laval University", "Bowdoin College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Nathaniel Hathorne"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Nathaniel Hathorne\" .   }", "answer": "Bowdoin College"}, {"question": "Who is shorter, Scott Wilson (the one whose height is 185 centimetre) or George Clooney?", "choices": ["Sylvester Stallone", "Richard Gere", "Simon Cowell", "Scott Wilson", "Paul Simon", "James E. Reilly", "George Clooney", "David Byrne", "Rahul Dev Burman", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Wilson"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "185 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Scott Wilson\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"185\"^^xsd:double . } UNION { ?e <pred:name> \"George Clooney\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "George Clooney"}, {"question": "What is the connection between Wikimedia Foundation, Inc. to Google (the one whose Yahoo Answers category is 2115500141)?", "choices": ["official language", "fictional universe described in", "has edition", "award received", "narrative location", "sibling", "history of topic", "sponsor", "subsidiary", "studies"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wikimedia Foundation, Inc."]}, {"function": "Find", "dependencies": [], "inputs": ["Google"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Yahoo Answers category", "2115500141"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wikimedia Foundation, Inc.\" . ?e_2 <pred:name> \"Google\" . ?e_2 <Yahoo_Answers_category> ?pv . ?pv <pred:value> \"2115500141\" . ?e_1 ?p ?e_2 .  }", "answer": "sponsor"}, {"question": "What is the population of the US city which shares border with Lakewood?", "choices": ["32283194", "3544695", "1772405", "83459", "130311", "371000000", "396815", "495181", "109381550", "78248000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lakewood"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Lakewood\" .  ?e <population> ?pv .  }", "answer": "396815"}, {"question": "Does the Santa Cruz County bordering Pima County occupy more area, or does Cochise County?", "choices": ["Coconino County", "Mohave County", "Pinal County", "Maricopa County", "Gila County", "Pima County", "Navajo County", "Cochise County", "Yavapai County", "Santa Cruz County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pima County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Cruz County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cochise County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Santa Cruz County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Pima County\" .   } UNION { ?e <pred:name> \"Cochise County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cochise County"}, {"question": "What is the publication date of an entertainment piece with a review score of 4/10, that was done based on Constantine, the one published on 1st January 2005?", "choices": ["2007-05-04", "1987-05-14", "1603", "2012-05-31", "2011-09-06", "1994-05-27", "1936-01-01", "1988-04-02", "2005-03-23", "1983-05-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Constantine"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2005-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["entertainment"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["review score", "4/10", "publication date"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Constantine\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2005-01-01\"^^xsd:date . ?e <review_score> ?pv . ?pv <pred:value> \"4/10\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <publication_date> ?qpv .  }", "answer": "2005-03-23"}, {"question": "Does University of Toronto or University of Texas at Austin have fewer students?", "choices": ["University of Michigan", "Birkbeck, University of London", "University of Queensland", "Panjab University", "University of Texas at Austin", "McMaster University", "King's College London", "University of Melbourne", "San Diego State University", "University of Hamburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Toronto"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Texas at Austin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Toronto\" .  } UNION { ?e <pred:name> \"University of Texas at Austin\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Texas at Austin"}, {"question": "What is the official website for the person with Munzinger IBA 00000004688?", "choices": ["http://www.paulgross.org", "http://www.haroldlloyd.com/", "http://www.bloomfieldhillsmi.net/", "http://www.planetgong.co.uk/", "http://www.robertenglund.com", "http://warnervideo.com/wonderwomanmovie/", "http://www.dartmouth.edu", "https://www.nintendo.com.au/", "http://www.abc.net.au/tv/channels/abc1.htm", "http://versailles.syncl.jp/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000004688"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000004688\" . ?e <official_website> ?pv .  }", "answer": "http://www.haroldlloyd.com/"}, {"question": "For the person influenced by Charlie Parker (the one whose ISNI is 0000 0003 6863 3974), how many woodwind instruments are the instruments he/she used?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Parker"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6863 3974"]}, {"function": "Relate", "dependencies": [1], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["woodwind instrument"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"woodwind instrument\" . ?e_1 <instrument> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <influenced_by> ?e_2 . ?e_2 <pred:name> \"Charlie Parker\" . ?e_2 <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6863 3974\" .   }", "answer": "2"}, {"question": "How is the Ben Burtt related to Academy Award for Best Documentary (Short Subject)?", "choices": ["award disciplines or subjects", "partially contains", "appears in the form of", "position played on team / speciality", "has cause", "place of origin (Switzerland)", "has part", "lyrics by", "parent astronomical body", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Burtt"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Documentary (Short Subject)"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ben Burtt\" . ?e_2 <pred:name> \"Academy Award for Best Documentary (Short Subject)\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What cemetery has postal code 75018?", "choices": ["Brompton Cemetery", "Woodlawn Cemetery", "Montmartre Cemetery", "West Norwood Cemetery", "Kensal Green Cemetery", "Glasnevin Cemetery", "Arlington National Cemetery", "Paris", "Forest Lawn Memorial Park", "Holy Cross Cemetery"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "75018"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e <postal_code> ?pv . ?pv <pred:value> \"75018\" .  }", "answer": "Montmartre Cemetery"}, {"question": "Which has a greater box office, Up (the one that was nominated for Broadcast Film Critics Association Award for Best Film) or Treasure Planet?", "choices": ["Peter Pan", "Lilo & Stitch", "Aladdin", "Treasure Planet", "Winnie the Pooh", "Shrek 2", "The Rescuers", "WALL\u00b7E", "Up", "Renaissance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Up"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Treasure Planet"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Up\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Film\" .   } UNION { ?e <pred:name> \"Treasure Planet\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Up"}, {"question": "Is 70th the ranking on the date 2007-07-18 for the national association football team that has a member named Jim Brown (who is a member of Clyde F.C.)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clyde F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "QueryAttrUnderCondition", "dependencies": [5], "inputs": ["ranking", "point in time", "2007-07-18"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["70", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Jim Brown\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Clyde F.C.\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"70\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2007-07-18\"^^xsd:date .  }", "answer": "no"}, {"question": "Which lasted longer Brothers (the one whose original language is Hindi) or Porto (the one whose publication date is 2016)?", "choices": ["Talk to Her", "Brothers", "Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion", "Training Day", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hindi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brothers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Porto"]}, {"function": "FilterYear", "dependencies": [4], "inputs": ["publication date", "2016", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brothers\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Hindi\" . } UNION { ?e <pred:name> \"Porto\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2016 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Brothers"}, {"question": "When did the national association football team that has member Mohamed Kallon have a ranking of 120?", "choices": ["2016-01-12", "1989", "2012-01-15", "2017-06-07", "1999-12-22", "1725-01-01", "1785-01-01", "1935-01-01", "2015-10-31", "2018-01-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mohamed Kallon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "120", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Mohamed Kallon\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"120\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1999-12-22"}, {"question": "How many market towns are the residence of Peter O'Toole or are the twinned administrative body of New York City?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter O'Toole"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["market town"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["market town"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"market town\" .  { ?e_1 <residence> ?e . ?e_1 <pred:name> \"Peter O'Toole\" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"New York City\" .  } }", "answer": "0"}, {"question": "Is the inflation rate from 1st January 1999, of a sovereign state that is the country of Djibouti (the one whose detail map is Updated Map Of Djibouti City and Balbala.png), less than 1,600 %?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Djibouti"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["detail map", "Updated Map Of Djibouti City and Balbala.png"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["inflation rate", "point in time", "1999-01-01"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["1600 percentage", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Djibouti\" . ?e_1 <detail_map> ?pv_1 . ?pv_1 <pred:value> \"Updated Map Of Djibouti City and Balbala.png\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1600\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"1999-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "What is the Instagram username for the association footbacll club with the Twitter username ikstart?", "choices": ["milano_alyssa", "annehathaway", "thechemicalbrothers", "ikstart", "city_of_rockville", "clubsantos", "tyrabanks", "cityofhighpoint", "officialecfc", "johnthecho"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ikstart"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ikstart\" . ?e <Instagram_username> ?pv .  }", "answer": "ikstart"}, {"question": "What is the number of belief systems that have the political ideologies of the business with PermID is 4295908552", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4295908552"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Relate", "dependencies": [2], "inputs": ["political ideology", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["belief system"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e_1 <political_ideology> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"business\" . ?e_1 <PermID> ?pv . ?pv <pred:value> \"4295908552\" .   }", "answer": "0"}, {"question": "Which movie cost less to make, Algiers (the one that was nominated for Academy Award for Best Supporting Actor) or Robin Hood (the one that has Russell Crowe as a cast member)?", "choices": ["Robin Hood", "Training Day", "The Fifth Element", "Talk to Her", "The Towering Inferno", "Algiers", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Pleasantville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Algiers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Russell Crowe"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robin Hood"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Algiers\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" .   } UNION { ?e <pred:name> \"Robin Hood\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Russell Crowe\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Algiers"}, {"question": "What United States city is known to share a border with Claremont?", "choices": ["Huntsville", "Costa Mesa", "Columbus", "Waukegan", "Charlotte", "Franklin", "Pomona", "New Haven", "Quincy", "Akron"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claremont"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Claremont\" .   }", "answer": "Pomona"}, {"question": "What person died on 1978-06-20?", "choices": ["Mark Robson", "Sylvester Stallone", "Jason Robards", "Richard Gere", "William Henry Harrison", "Max Fleischer", "Alan Turing", "Dannii Minogue", "Snoop Dogg", "R. Lee Ermey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1978-06-20", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:date> \"1978-06-20\"^^xsd:date .  }", "answer": "Mark Robson"}, {"question": "What is the connection between Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture to John Rhys-Davies?", "choices": ["killed by", "performer", "officially opened by", "industry", "winner", "lyrics by", "feast day", "voice type", "has parts of the class", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["John Rhys-Davies"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"John Rhys-Davies\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "What is the connection between Battle of Britain (the one whose regional debut venue is New York City) and  Philippines", "choices": ["official residence", "dissertation submitted to", "organisation directed from the office or person", "general manager", "manner of death", "source of material", "applies to jurisdiction", "material used", "contains settlement", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film regional debut venue", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battle of Britain"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Battle of Britain\" . ?e_1 <film_regional_debut_venue> ?e_3 . ?e_3 <pred:name> \"New York City\" . ?e_2 <pred:name> \"Philippines\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "How are Richard Day and the 27th Academy Awards connected?", "choices": ["author", "substitute/deputy/replacement of office/officeholder", "instrument", "model item", "approved by", "political ideology", "award received", "contains settlement", "allegiance", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Day"]}, {"function": "Find", "dependencies": [], "inputs": ["27th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Day\" . ?e_2 <pred:name> \"27th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the connection between James Taylor (the one that died in Edinburgh) to University of Cambridge?", "choices": ["seed team", "continent", "properties for this type", "godparent", "broadcast by", "cause of death", "field of work", "genre", "educated at", "manner of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Cambridge"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Taylor\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Edinburgh\" . ?e_2 <pred:name> \"University of Cambridge\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Does Charles Bronson (who is the member of the political party called the Democratic Party) or Michael Tollin have fewer children?", "choices": ["James E. Reilly", "Rahul Dev Burman", "Charles Bronson", "Simon Cowell", "Max Fleischer", "Paul Simon", "Michael Tollin", "Sylvester Stallone", "Richard Gere", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charles Bronson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Michael Tollin"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charles Bronson\" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> \"Democratic Party\" .   } UNION { ?e <pred:name> \"Michael Tollin\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Michael Tollin"}, {"question": "How is Incheon United FC linked to South Korea?", "choices": ["different from", "time period", "broadcast by", "film distribute region", "country", "filming location", "original language of film or TV show", "does not have part", "head of state", "airline alliance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Incheon United FC"]}, {"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Incheon United FC\" . ?e_2 <pred:name> \"South Korea\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When was slavery abolished?", "choices": ["1874-06-01", "1865-12-18", "1803-01-01", "2009-01-01", "1939", "1917", "1881-03-14", "1970-04-10", "1991-12-04", "1946-08-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["slavery"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"slavery\" . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1865-12-18"}, {"question": "How many films were either published after 2006 or were published by Kikuko Inou that has a given name in native language of \u3044\u306e\u3046\u3048 \u304d\u304f\u3053?", "choices": ["683", "684", "685", "686", "687", "688", "689", "690", "691", "692"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kikuko Inoue"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in kana", "\u3044\u306e\u3046\u3048 \u304d\u304f\u3053"]}, {"function": "Relate", "dependencies": [1], "inputs": ["author", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["publication date", "2006", ">"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["film"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" .  { ?e <author> ?e_1 . ?e_1 <pred:name> \"Kikuko Inoue\" . ?e_1 <name_in_kana> ?pv . ?pv <pred:value> \"\u3044\u306e\u3046\u3048 \u304d\u304f\u3053\" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2006 ) .  } }", "answer": "691"}, {"question": "What association does Sheldon Leonard have to Manhattan (death place of Eli Wallach)?", "choices": ["military branch", "has cause", "takes place in fictional universe", "office held by head of the organisation", "place of birth", "twinned administrative body", "language of work or name", "location of discovery", "separated from", "noble title"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheldon Leonard"]}, {"function": "Find", "dependencies": [], "inputs": ["Eli Wallach"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sheldon Leonard\" . ?e_2 <pred:name> \"Manhattan\" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> \"Eli Wallach\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What person lives in Derbyshire (whose official website is http://www.derbyshire.gov.uk/)?", "choices": ["William Henry Harrison", "Sylvester Stallone", "Rahul Dev Burman", "Richard Gere", "Samantha Morton", "Juelz Santana", "M. Night Shyamalan", "Simon Cowell", "Nunnally Johnson", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Derbyshire"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.derbyshire.gov.uk/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Derbyshire\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.derbyshire.gov.uk/\" .   }", "answer": "Samantha Morton"}, {"question": "How is the Live and Let Die published in 1954 related to the Live and Let Die produced by United Artists?", "choices": ["affiliation", "interests", "collection", "derivative work", "medical treatment", "field of work", "had as last meal", "convicted of", "substitute/deputy/replacement of office/officeholder", "military casualty classification"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Live and Let Die"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1954", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [2], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Live and Let Die"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Live and Let Die\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1954 . ?e_2 <pred:name> \"Live and Let Die\" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> \"United Artists\" . ?e_1 ?p ?e_2 .  }", "answer": "derivative work"}, {"question": "How many artists have the ROME Occupation Code (v3) L1505 or the Iconclass notation 48C821?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ROME Occupation Code (v3)", "L1505"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["artist"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Iconclass notation", "48C821"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["artist"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"artist\" .  { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"L1505\" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"48C821\" .  } }", "answer": "2"}, {"question": "Which has fewer seasons, WWE SmackDown or Dumb and Dumber, which originally aired on ABC?", "choices": ["Dancing with the Stars", "Phineas and Ferb", "American Horror Story", "Seinfeld", "Game of Thrones", "Bleak House", "Six Feet Under", "Robot Chicken", "Dumb and Dumber", "WWE SmackDown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WWE SmackDown"]}, {"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dumb and Dumber"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"WWE SmackDown\" .  } UNION { ?e <pred:name> \"Dumb and Dumber\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"American Broadcasting Company\" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dumb and Dumber"}, {"question": "Is the film The Hangover shorter than 730 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Hangover"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["730 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Hangover\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"730\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is The Santa Clause 2 or Mary Poppins longer?", "choices": ["National Treasure: Book of Secrets", "Old Dogs", "G-Force", "The Santa Clause 2", "The Muppets", "The Flintstones in Viva Rock Vegas", "Alvin and the Chipmunks: Chipwrecked", "The Flintstones", "John Carter", "Mary Poppins"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Santa Clause 2"]}, {"function": "Find", "dependencies": [], "inputs": ["Mary Poppins"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Santa Clause 2\" .  } UNION { ?e <pred:name> \"Mary Poppins\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mary Poppins"}, {"question": "How many short films were published in a year predating 1932?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1932", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1932 ) .  }", "answer": "9"}, {"question": "For University of Birmingham's headquarter location in Birmingham (the one whose postal code is B), at what street address is it located?", "choices": ["2001 Sheridan Rd", "42 W. Warren Ave.", "Columbia-Campus, Columbia, SC, 29208", "Edgbaston", "4513 Manhattan College Parkway, Riverdale, NY, 10471-4098", "250 Joralemon St, Brooklyn, NY, 11201", "1601 Punahou Street", "875 Perimeter Drive, Moscow, ID, 83844-2282", "37th and O St NW, Washington, DC, 20057-0001", "601, Circle Seven Drive"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Birmingham"]}, {"function": "Find", "dependencies": [], "inputs": ["Birmingham"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "B"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Birmingham\" . ?e_2 <pred:name> \"Birmingham\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"B\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "Edgbaston"}, {"question": "Does Belarus or Togo have less nominal GDP per capita?", "choices": ["Belarus", "Colombia", "Namibia", "Bolivia", "Germany", "Zimbabwe", "Italy", "Mozambique", "Sierra Leone", "Togo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belarus"]}, {"function": "Find", "dependencies": [], "inputs": ["Togo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["nominal GDP per capita", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Belarus\" .  } UNION { ?e <pred:name> \"Togo\" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Togo"}, {"question": "Which one is shorter, Derby (published in 1949) or The Life Aquatic with Steve Zissou?", "choices": ["The Towering Inferno", "The Fifth Element", "Derby", "A Prairie Home Companion", "Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "The Life Aquatic with Steve Zissou", "Talk to Her", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Derby"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1949", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Life Aquatic with Steve Zissou"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Derby\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1949 . } UNION { ?e <pred:name> \"The Life Aquatic with Steve Zissou\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Derby"}, {"question": "What is the connection between Arthur Christmas to Jim Broadbent?", "choices": ["capital of", "said to be the same as", "illustrator", "voice actor", "place of publication", "home world", "fabrication method", "field of this occupation", "location of final assembly", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arthur Christmas"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Broadbent"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Arthur Christmas\" . ?e_2 <pred:name> \"Jim Broadbent\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Which has the most area among the former French regions replaced by Normandy whose population is 3006341?", "choices": ["Burgundy", "Languedoc-Roussillon", "Picardy", "Poitou-Charentes", "Champagne-Ardenne", "Lower Normandy", "Aquitaine", "Alsace", "Lorraine", "Nord-Pas-de-Calais"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3006341", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["replaced by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["former French region"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <replaced_by> ?e_1 . ?e_1 <pred:name> \"Normandy\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3006341\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lower Normandy"}, {"question": "How is George R. Nelson related to Los Angeles?", "choices": ["occupant", "position held", "cast member", "academic degree", "place served by transport hub", "mountain range", "significant person", "place of death", "presenter", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George R. Nelson"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George R. Nelson\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "When was Rory Albanese born?", "choices": ["1963-07-15", "1921-11-03", "1952-06-23", "1955-05-29", "1942-10-02", "1987-05-22", "1989-10-24", "1948-11-20", "1907-10-05", "1977-05-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rory Albanese"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rory Albanese\" . ?e <date_of_birth> ?pv .  }", "answer": "1977-05-29"}, {"question": "What is the location of the administrative territorial entity which contains Glasgow, where U.K. citizen Craig Ferguson was born?", "choices": ["Scotland", "Colorado", "sanjak of the Ottoman Empire", "Ramenki District", "England", "Archbishopric of Salzburg", "North Rhine-Westphalia", "Massachusetts", "Greater London", "Kilo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Ferguson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Glasgow"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Craig Ferguson\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Glasgow\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Scotland"}, {"question": "How many soul music renditions are there whose famous person is Kenny Loggins?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kenny Loggins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soul music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soul music\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Kenny Loggins\" .   }", "answer": "1"}, {"question": "Which one, High Point or Denton, has greater area?", "choices": ["Greenville", "Boulder", "Columbus", "Franklin", "Waukegan", "Compton", "Lansing", "Denton", "Oakland", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["High Point"]}, {"function": "Find", "dependencies": [], "inputs": ["Denton"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"High Point\" .  } UNION { ?e <pred:name> \"Denton\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Denton"}, {"question": "Does Iran or Yemen have less mains voltage?", "choices": ["South Sudan", "Switzerland", "Iran", "Yemen", "Benin", "Russian Soviet Federative Socialist Republic", "Weimar Republic", "Cambodia", "Samoa", "Socialist Federal Republic of Yugoslavia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iran"]}, {"function": "Find", "dependencies": [], "inputs": ["Yemen"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mains voltage", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iran\" .  } UNION { ?e <pred:name> \"Yemen\" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Iran"}, {"question": "Who weighs more, Alan Ball (the one whose height is 185 centimetre) or Brian Jones (the one that is a member of Jacksonville Jaguars)?", "choices": ["Richard Gere", "Alan Ball", "David Byrne", "James E. Reilly", "Paul Simon", "Max Fleischer", "Sylvester Stallone", "William Henry Harrison", "Rahul Dev Burman", "Brian Jones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Ball"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "185 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jacksonville Jaguars"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Jones"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alan Ball\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"185\"^^xsd:double . } UNION { ?e <pred:name> \"Brian Jones\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Jacksonville Jaguars\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Brian Jones"}, {"question": "How many film characters derive the film that follows The Pink Panther (whose composer is Christophe Beck)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christophe Beck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Pink Panther"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "Relate", "dependencies": [5], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["film character"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film character\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <follows> ?e_2 . ?e_2 <pred:name> \"The Pink Panther\" . ?e_2 <composer> ?e_3 . ?e_3 <pred:name> \"Christophe Beck\" .   }", "answer": "0"}, {"question": "Is the release date for Christopher Columbus (whose title is Christoph Columbus) prior to the year 2013?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Columbus"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Christoph Columbus"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2013", "<"]}], "sparql": "ASK { ?e <pred:name> \"Christopher Columbus\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Christoph Columbus\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2013 ) .  }", "answer": "yes"}, {"question": "What is the birth date of William Brian James?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William James"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "William Brian James"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1962", "!="]}], "sparql": "ASK { ?e <pred:name> \"William James\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"William Brian James\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1962 ) .  }", "answer": "yes"}, {"question": "What is the connection between Ricky Gervais and Reading (the capital of Berkshire)?", "choices": ["drug used for treatment", "superhuman feature or ability", "production company", "opposite of", "medical condition", "fictional universe described in", "military conflicts", "part of", "sponsor", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ricky Gervais"]}, {"function": "Find", "dependencies": [], "inputs": ["Berkshire"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Reading"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ricky Gervais\" . ?e_2 <pred:name> \"Reading\" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> \"Berkshire\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Does the state of the US with the FIPS 5-2 alpha code (US states) of FL have the ISO 3166-2 of US-SD?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 5-2 alpha code (US states)", "FL"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["US-SD"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <FIPS_5-2_alpha_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> \"FL\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"US-SD\" .  }", "answer": "no"}, {"question": "How is 1988 NCAA Men's Division I Basketball Tournament related to basketball?", "choices": ["given name", "sibling", "geography of topic", "sex or gender", "designed by", "talk show guest", "military branch", "patron saint", "sport", "located in the administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1988 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["basketball"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1988 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"basketball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Is the population count higher for Palo Alto, where the Grateful Dead formed, or Mesa (in the Mountain Time Zone)?", "choices": ["Palo Alto", "New Haven", "Franklin", "Oakland", "Columbus", "Waukegan", "Greenville", "Mesa", "Boulder", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grateful Dead"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Palo Alto"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mountain Time Zone"]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in time zone", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mesa"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Palo Alto\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"Grateful Dead\" .   } UNION { ?e <pred:name> \"Mesa\" . ?e <located_in_time_zone> ?e_2 . ?e_2 <pred:name> \"Mountain Time Zone\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mesa"}, {"question": "How many science awards whose country is the sovereign state whose nominal GDP is equal to 7308755000000 USD?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "7308755000000 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["science award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science award\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"7308755000000\"^^xsd:double .   }", "answer": "5"}, {"question": "Was there more attendance at The Incredible Hulk (the one whose box office is 263427551 United States dollar) or Titanic (the one that received Academy Award for Best Film Editing)?", "choices": ["The Fifth Element", "Pleasantville", "Talk to Her", "Rebecca", "The Incredible Hulk", "Titanic", "The Towering Inferno", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Incredible Hulk"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "263427551 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Titanic"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["attendance", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Incredible Hulk\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"263427551\"^^xsd:double . } UNION { ?e <pred:name> \"Titanic\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Film Editing\" . } ?e <attendance> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Titanic"}, {"question": "Which human is a member of AGOVV Apeldoorn?", "choices": ["Max Fleischer", "Daniel Barenboim", "Jack Warner", "William Henry Harrison", "Richard Gere", "Dianne Wiest", "Klaas-Jan Huntelaar", "Sylvester Stallone", "Paris", "Joe Jackson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AGOVV Apeldoorn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"AGOVV Apeldoorn\" .   }", "answer": "Klaas-Jan Huntelaar"}, {"question": "What film has a script written by Walter F. Parkes?", "choices": ["WarGames", "Talk to Her", "A Prairie Home Companion", "September", "In the Bedroom", "Pleasantville", "A Streetcar Named Desire", "Montana", "Rebecca", "The Bridges of Madison County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter F. Parkes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Walter F. Parkes\" .   }", "answer": "WarGames"}, {"question": "Did the Academy Awards ceremony where Mary Poppins received an award take place after 1969?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Poppins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1969", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Mary Poppins\" .  ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1969 ) .  }", "answer": "no"}, {"question": "When was The Three Musketeers (the one whose duration is 125 minute) published?", "choices": ["2012-08-30", "1999-12-30", "1948-10-19", "2009-12-18", "2013-11-14", "1996-04-08", "2012-01-01", "2008-07-11", "2004-10-14", "2010-11-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "125 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Three Musketeers\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"125\"^^xsd:double . ?e <publication_date> ?pv .  }", "answer": "1948-10-19"}, {"question": "Regarding the person with the Munzinger IBA of 00000020210 tell me his/her ISNI.", "choices": ["0000 0001 2137 1765", "0000 0001 2169 031X", "0000 0003 8336 5509", "0000 0001 2097 5006", "0000 0001 2102 822X", "0000 0001 2157 2305", "0000 0001 2133 9888", "0000 0001 2283 459X", "0000 0000 3044 1959", "0000 0001 1085 4948"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020210"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000020210\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2102 822X"}, {"question": "Which one, Sussex County (the one whose population is 149265) or Essex County (the one whose FIPS 6-4 (US counties) is 34013), has less area?", "choices": ["Passaic County", "Bergen County", "Essex County", "Morris County", "Monmouth County", "Cumberland County", "Burlington County", "Hudson County", "Gloucester County", "Sussex County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sussex County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "149265", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)", "34013"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sussex County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"149265\"^^xsd:double . } UNION { ?e <pred:name> \"Essex County\" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> \"34013\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Essex County"}, {"question": "When did Brian Wilson of Bristol City F.C. join Colchester United F.C.?", "choices": ["1960-10-03", "1791-12-29", "1992-05-06", "1621-09-25", "2010-01-01", "1923-07-06", "1806", "1992-08-15", "1896-12-01", "1836"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bristol City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Colchester United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brian Wilson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Bristol City F.C.\" . ?e_2 <pred:name> \"Colchester United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "When was G.I. Joe: The Rise of Cobra (the one that is released for Xbox 360) published?", "choices": ["2009-08-04", "1996-02-23", "1831-01-14", "2001-05-17", "2007-11-22", "2015-07-09", "2008-05-16", "1988", "1998-09-17", "1977-03-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Xbox 360"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["G.I. Joe: The Rise of Cobra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"G.I. Joe: The Rise of Cobra\" . ?e <platform> ?e_1 . ?e_1 <pred:name> \"Xbox 360\" .  ?e <publication_date> ?pv .  }", "answer": "2009-08-04"}, {"question": "How is Nelson (published on 1918-01-01) related to the United Kingdom?", "choices": ["creator", "based on", "occupation", "country of origin", "used by", "head coach", "original network", "official color", "inspired by", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nelson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1918-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nelson\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1918-01-01\"^^xsd:date . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "How is the 78 minute long April related to Apulia?", "choices": ["filming location", "child", "connects with", "conflict", "religion", "material used", "airline alliance", "presenter", "head of government", "facet of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["April"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "78 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Apulia"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"April\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"78\"^^xsd:double . ?e_2 <pred:name> \"Apulia\" . ?e_1 ?p ?e_2 .  }", "answer": "filming location"}, {"question": "What is the TOID for the metropolitan borough whose FIPS 10-4 (countries and regions) is UKB4?", "choices": ["7000000000014539", "7000000000016726", "7000000000007408", "4000000074574343", "4000000074556889", "4000000074550413", "4000000074559233", "4000000074545044", "4000000074567025", "4000000074576144"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKB4"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan borough"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["TOID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"UKB4\" . ?e <TOID> ?pv .  }", "answer": "7000000000016726"}, {"question": "Among the bodies of water with a depth less than 6000 meters deep, which has the shallowest vertical depth?", "choices": ["Caribbean Sea", "Natsume", "Vancouver Island", "Adriatic Sea", "Louisiana State University", "Aegean Sea", "English Channel", "North Sea", "Green Bay", "Mediterranean Sea"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "6000 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <vertical_depth> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6000\"^^xsd:double ) . ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "English Channel"}, {"question": "Between the show Angel, in which Andy Hallett does memorable work, and the show America's Got Talent, which show has fewer episodes?", "choices": ["Game of Thrones", "American Horror Story", "Phineas and Ferb", "Seinfeld", "Dancing with the Stars", "Angel", "America's Got Talent", "Bleak House", "Robot Chicken", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andy Hallett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["America's Got Talent"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Angel\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Andy Hallett\" .   } UNION { ?e <pred:name> \"America's Got Talent\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Angel"}, {"question": "How many subscribers does the subreddit user MontgomeryCountyMD (the one about the Montgomery County with postal code is 20889, have?", "choices": ["1733", "159", "4217", "238286", "1334", "13566", "244675", "91852", "14096", "4109440"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "20889"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["subreddit", "MontgomeryCountyMD", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Montgomery County\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"20889\" . ?e <subreddit> ?pv . ?pv <pred:value> \"MontgomeryCountyMD\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "4217"}, {"question": "What is the connection between Cast Away to Helen Hunt?", "choices": ["programming paradigm", "basin country", "place of birth", "cast member", "located on astronomical location", "source of income", "has contributing factor", "Wikidata property", "religious order", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cast Away"]}, {"function": "Find", "dependencies": [], "inputs": ["Helen Hunt"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cast Away\" . ?e_2 <pred:name> \"Helen Hunt\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which one is shorter, The Cassandra Crossing or Road to Perdition?", "choices": ["Pleasantville", "Training Day", "The Fifth Element", "The Hunchback of Notre Dame", "Talk to Her", "The Cassandra Crossing", "Rebecca", "The Towering Inferno", "Road to Perdition", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Cassandra Crossing"]}, {"function": "Find", "dependencies": [], "inputs": ["Road to Perdition"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Cassandra Crossing\" .  } UNION { ?e <pred:name> \"Road to Perdition\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Road to Perdition"}, {"question": "Is the website for the basketball team with the Twitter username of SacramentoKings http://www.nba.com/kings/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "SacramentoKings"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.nba.com/kings/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"SacramentoKings\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nba.com/kings/\" .  }", "answer": "yes"}, {"question": "What is the title of The Pride of the Yankees?", "choices": ["A Great Day in Harlem", "Strictly Ballroom", "Evita", "The Chronicles of Narnia: The Voyage of the Dawn Treader", "Nashville", "Back to the Future Part II", "Jimi Hendrix", "Primal Fear", "Massachusetts", "The Pride of the Yankees"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Pride of the Yankees"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Pride of the Yankees\" . ?e <title> ?pv .  }", "answer": "The Pride of the Yankees"}, {"question": "What relationship does Scream 2 have with Tori Spelling?", "choices": ["cast member", "legal form", "commander of", "winner", "has part", "chief executive officer", "designated as terrorist by", "theme music", "does not have part", "business division"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scream 2"]}, {"function": "Find", "dependencies": [], "inputs": ["Tori Spelling"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Scream 2\" . ?e_2 <pred:name> \"Tori Spelling\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is the date of birth of Brian Wilson (who is a member of Newcastle United F.C.) not in 1959?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newcastle United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1959", "!="]}], "sparql": "ASK { ?e <pred:name> \"Brian Wilson\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Newcastle United F.C.\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1959 ) .  }", "answer": "yes"}, {"question": "What is the connection between Frank Loesser to musical?", "choices": ["risk factor", "nominated for", "this taxon is source of", "genre", "theme music", "main food source", "doctoral advisor", "diplomatic relation", "game mode", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Loesser"]}, {"function": "Find", "dependencies": [], "inputs": ["musical"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Loesser\" . ?e_2 <pred:name> \"musical\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many counties there are in California (the one that is the narrative location of Walk the Line) or whose population is less than 9600?", "choices": ["33", "34", "35", "36", "37", "38", "39", "40", "41", "42"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walk the Line"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of California"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "9600", "<"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of California"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"California\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"Walk the Line\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"9600\"^^xsd:double ) .  } }", "answer": "40"}, {"question": "What is the CANTIC-ID for the spouse of David Benioff?", "choices": ["a1235210x", "a1016036x", "a10430969", "a10801066", "a12188384", "a10939830", "a10791280", "a10117581", "a10445444", "a10157955"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Benioff"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"David Benioff\" .  ?e <CANTIC-ID> ?pv .  }", "answer": "a10445444"}, {"question": "How much did it cost to make the movie that took in 401128639 USD at the box office?", "choices": ["130000000 United States dollar", "630000 United States dollar", "180000000 United States dollar", "2883848 United States dollar", "85000000 United States dollar", "18500000 United States dollar", "1500000 United States dollar", "94000000 United States dollar", "100000000 United States dollar", "145000000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "401128639 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"401128639\"^^xsd:double . ?e <cost> ?pv .  }", "answer": "145000000 United States dollar"}, {"question": "Does the person with a CANTIC-ID of a11326438 have a Munzinger IBA of 00000016263?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11326438"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000016263"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11326438\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000016263\" .  }", "answer": "no"}, {"question": "Is the date of birth for the human whose ISNI is 0000 0000 6308 3529 before 1932?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6308 3529"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1932", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 6308 3529\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1932 ) .  }", "answer": "yes"}, {"question": "What is the title of Android (the one whose genre is action film)?", "choices": ["The Weather Man", "Before the Devil Knows You're Dead", "Sunset Boulevard", "Batman Forever", "Maidstone", "Android", "Marie Antoinette", "Jackass 3D", "Sicko", "The Diary of Anne Frank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Android"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Android\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"action film\" .  ?e <title> ?pv .  }", "answer": "Android"}, {"question": "How many woodwind instruments have the Hornbostel-Sachs classification 421.221.12 or are the instruments used by Sonny Rollins?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "421.221.12"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["woodwind instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonny Rollins"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["woodwind instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"woodwind instrument\" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"421.221.12\" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Sonny Rollins\" .  } }", "answer": "3"}, {"question": "What is the connection between Parker Posey and actor?", "choices": ["owned by", "head coach", "screenwriter", "narrative location", "Wikidata property", "natural product of taxon", "connects with", "exclave of", "head of state", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Parker Posey"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Parker Posey\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many scientists correspond to ROME Occupation Code (v3) M1805 or to Dewey Decimal Classification 530.092?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ROME Occupation Code (v3)", "M1805"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["scientist"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "530.092"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["scientist"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"scientist\" .  { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"M1805\" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"530.092\" .  } }", "answer": "2"}, {"question": "How is A View to a Kill with Dolph Lundgren related to the United States of America?", "choices": ["participant", "drafted by", "separated from", "country of origin", "contains administrative territorial entity", "captain", "country of citizenship", "sibling", "lowest point", "owner of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dolph Lundgren"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A View to a Kill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A View to a Kill\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Dolph Lundgren\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What visual artwork titled as An American in Paris that was nominated for Golden Globe Award for Best Director?", "choices": ["Talk to Her", "The Quiet Man", "An American in Paris", "A Prairie Home Companion", "Dog Day Afternoon", "Pleasantville", "On the Waterfront", "Black Swan", "Rebecca", "Hud"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "An American in Paris"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Globe Award for Best Director\" .  ?e <title> ?pv . ?pv <pred:value> \"An American in Paris\" .  }", "answer": "An American in Paris"}, {"question": "is tigers the Instagram username for Boyz II Men?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boyz II Men"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["tigers"]}], "sparql": "ASK { ?e <pred:name> \"Boyz II Men\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"tigers\" .  }", "answer": "no"}, {"question": "Who has fewer children, Emily Mortimer or Ashlee Simpson?", "choices": ["David Byrne", "William Henry Harrison", "Max Fleischer", "Ashlee Simpson", "Rahul Dev Burman", "Richard Gere", "James E. Reilly", "Sylvester Stallone", "Emily Mortimer", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emily Mortimer"]}, {"function": "Find", "dependencies": [], "inputs": ["Ashlee Simpson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Emily Mortimer\" .  } UNION { ?e <pred:name> \"Ashlee Simpson\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ashlee Simpson"}, {"question": "Who has fewer employees, Cisco Systems or HTC Corporation?", "choices": ["HTC Corporation", "Sega", "KLM", "Pfizer", "Vodafone", "Adobe Inc.", "McDonald's", "Entertainment One", "Silver Pictures", "Cisco Systems"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cisco Systems"]}, {"function": "Find", "dependencies": [], "inputs": ["HTC Corporation"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cisco Systems\" .  } UNION { ?e <pred:name> \"HTC Corporation\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "HTC Corporation"}, {"question": "What is the date of death of Michael Collins (whose ISNI is 0000 0001 1507 0042)?", "choices": ["2015-04-06", "2004-09-12", "1941-03-28", "1962-04-24", "2005-08-19", "2013-03-08", "1946-01-03", "1943-11-22", "2008-03-18", "2016-02-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Collins"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1507 0042"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Michael Collins\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1507 0042\" . ?e <date_of_death> ?pv .  }", "answer": "2005-08-19"}, {"question": "Which visual artwork has the title Kiss of the Spider Woman?", "choices": ["Pleasantville", "Quiz Show", "Broadcast News", "Ragtime", "Talk to Her", "On the Road", "A Prairie Home Companion", "The Silence of the Lambs", "That's My Boy", "Kiss of the Spider Woman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Kiss of the Spider Woman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Kiss of the Spider Woman\" .  }", "answer": "Kiss of the Spider Woman"}, {"question": "When did Los Angeles become the home of the Los Angeles Dodgers?", "choices": ["1991-12-26", "1958", "1935", "1908-01-01", "1918-11-09", "1979-01-01", "1973-01-07", "1963-04-01", "1917", "2006-09-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Dodgers"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Los Angeles Dodgers\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1958"}, {"question": "Which class of instruments is the instrument used by the human whose pseudonym is Jon Bon Jovi (in the class of stage name)?", "choices": ["piano", "guitar", "djembe", "goblet drum", "harmonica", "oboe", "kazoo", "Timbales", "xylophone", "celesta"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Jon Bon Jovi"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["instance of", "stage name"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["class of instruments"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e_1 <instrument> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"Jon Bon Jovi\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv ] <instance_of> ?qpv . ?qpv <pred:value> \"stage name\" .   }", "answer": "harmonica"}, {"question": "Which one is smaller, DMX or Arjen Anthony Lucassen ?", "choices": ["DMX", "Paul Simon", "Max Fleischer", "Sylvester Stallone", "Arjen Anthony Lucassen", "David Byrne", "Rahul Dev Burman", "Richard Gere", "William Henry Harrison", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DMX"]}, {"function": "Find", "dependencies": [], "inputs": ["Arjen Anthony Lucassen"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"DMX\" .  } UNION { ?e <pred:name> \"Arjen Anthony Lucassen\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "DMX"}, {"question": "What is the date of death for the person born in Roxbury?", "choices": ["2005-06-25", "2016-07-27", "1875-03-26", "1998-11-03", "1993-03-17", "1968-11-18", "1847-01-14", "2018-02-16", "1938-02-09", "2015-03-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roxbury"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Roxbury\" .  ?e <date_of_death> ?pv .  }", "answer": "1938-02-09"}, {"question": "What record label originates in the state of the United States whose population is not 44000000 in the year 1916?", "choices": ["Arista Records", "Mercury Records", "Icon Productions", "Epitaph Records", "eBay", "Hollywood Records", "Tooth & Nail Records", "Epic Records", "Green Day", "Matador Records"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "44000000", "!="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1916", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"44000000\"^^xsd:double ) . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1916 .   }", "answer": "Tooth & Nail Records"}, {"question": "Is 0000 0003 6846 8884 the ISNI of the person with Twitter username JennifersWayJE?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "JennifersWayJE"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0003 6846 8884"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"JennifersWayJE\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6846 8884\" .  }", "answer": "no"}, {"question": "When did Verona (whose postal code is 37100) become the twinned administrative body of Munich (whose demonym is M\u00fcnchnerin)?", "choices": ["1993-01-27", "1813-11-20", "1790-03-04", "1527", "1980-02-25", "1960-01-01", "2003-12-05", "1951-12-07", "697", "1969"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Verona"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "37100"]}, {"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["demonym", "M\u00fcnchnerin"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Verona\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"37100\" . ?e_2 <pred:name> \"Munich\" . ?e_2 <demonym> ?pv_1 . ?pv_1 <pred:value> \"M\u00fcnchnerin\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1960-01-01"}, {"question": "What is the ISNI of the person whose Libris-URI is 31fhjj7m5b2nth3?", "choices": ["0000 0001 2139 3171", "0000 0001 0857 3629", "0000 0000 7972 5290", "0000 0001 1466 6485", "0000 0001 2293 7601", "0000 0000 5515 5844", "0000 0001 1691 7663", "0000 0000 9543 6034", "0000 0003 6464 8802", "0000 0001 1468 0957"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "31fhjj7m5b2nth3"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"31fhjj7m5b2nth3\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2139 3171"}, {"question": "The person born as Nelly Kim Furtado famously exemplifies which Latin American music style?", "choices": ["Latin pop", "reggaeton", "symphony", "alternative rock", "chamber music", "trombone", "dance-pop", "post-punk revival", "experimental rock", "Mandopop"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Nelly Kim Furtado"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Latin American music"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Latin American music\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Nelly Kim Furtado\" .   }", "answer": "Latin pop"}, {"question": "How are Sheena Easton and Henderson related?", "choices": ["director", "does not have part", "honorific suffix", "said to be the same as", "residence", "has edition", "home port", "place served by transport hub", "political alignment", "movement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheena Easton"]}, {"function": "Find", "dependencies": [], "inputs": ["Henderson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sheena Easton\" . ?e_2 <pred:name> \"Henderson\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "How many administrative-territorial entities have the short name of Jefferson County or have the postal code of 17325?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "Jefferson County"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "17325"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" .  { ?e <short_name> ?pv . ?pv <pred:value> \"Jefferson County\" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> \"17325\" .  } }", "answer": "2"}, {"question": "What is the link between Thom Yorke and the United Kingdom?", "choices": ["cast member", "country of citizenship", "official color", "headquarters location", "source of material", "production designer", "field of work", "parent astronomical body", "writing system", "father"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thom Yorke"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thom Yorke\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How is big beat related to the Prodigy, which has an eletronica genre?", "choices": ["does not have part", "winner", "honorific suffix", "seed team", "designated as terrorist by", "hair color", "has edition", "parent club", "famous people", "facet of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["big beat"]}, {"function": "Find", "dependencies": [], "inputs": ["electronica"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Prodigy"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"big beat\" . ?e_2 <pred:name> \"The Prodigy\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"electronica\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which area is smaller, Greater Manchester or Cornwall?", "choices": ["Northumberland", "Norfolk", "Derbyshire", "Warwickshire", "Cornwall", "Cumbria", "Essex", "Staffordshire", "West Midlands", "Greater Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greater Manchester"]}, {"function": "Find", "dependencies": [], "inputs": ["Cornwall"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greater Manchester\" .  } UNION { ?e <pred:name> \"Cornwall\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Greater Manchester"}, {"question": "Which lasted longer, Sicko or Revolutionary Road?", "choices": ["The Towering Inferno", "A Prairie Home Companion", "Sicko", "Training Day", "Talk to Her", "The Fifth Element", "Pleasantville", "Revolutionary Road", "Rebecca", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sicko"]}, {"function": "Find", "dependencies": [], "inputs": ["Revolutionary Road"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sicko\" .  } UNION { ?e <pred:name> \"Revolutionary Road\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sicko"}, {"question": "What is the subject of Taiwan's diplomatic relations with Niger?", "choices": ["Canada\u2013Ireland relations", "Afghanistan\u2013Taiwan relations", "Denmark\u2013Republic of Macedonia relations", "Niger\u2013Taiwan relations", "Denmark\u2013Nepal relations", "Denmark\u2013North Korea relations", "Gustavo Cerati dies after four years in coma", "Fiji\u2013France relations", "Spain\u2013United Kingdom relations", "Iraq\u2013Pakistan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Find", "dependencies": [], "inputs": ["Niger"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Taiwan\" . ?e_2 <pred:name> \"Niger\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Niger\u2013Taiwan relations"}, {"question": "When did Meg Ryan stop becoming Dennis Quaid's spouse?", "choices": ["1992-03-23", "1793-12-31", "1981-03-15", "1794", "1929-12-16", "1748-10-18", "1993-01-20", "2001-01-01", "1801-03-04", "2003-10-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meg Ryan"]}, {"function": "Find", "dependencies": [], "inputs": ["Dennis Quaid"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Meg Ryan\" . ?e_2 <pred:name> \"Dennis Quaid\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2001-01-01"}, {"question": "How is rock music's Toto related to Sony BMG Music Entertainment?", "choices": ["is a list of", "uses", "medical condition", "cites", "genre", "natural product of taxon", "record label", "next lower rank", "officially opened by", "programming language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Toto"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sony BMG Music Entertainment"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Toto\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"rock music\" . ?e_2 <pred:name> \"Sony BMG Music Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Which national soccer team ranked above 0 by FIFA represents the country Spain?", "choices": ["Canada men's national soccer team", "North Korea national football team", "Spain national football team", "India national football team", "China national football team", "Greece national football team", "Peru national football team", "South Korea national football team", "Argentina national football team", "Scotland national football team"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "0", ">"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["review score by", "FIFA"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["national association football team"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv . ?qpv <pred:value> \"FIFA\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Spain\" .  }", "answer": "Spain national football team"}, {"question": "What is the relation between Ghent and France?", "choices": ["dedicated to", "country", "award received", "named after", "record label", "health specialty", "public holiday", "destination point", "located in or next to body of water", "field of this occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghent"]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ghent\" . ?e_2 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When did Frederick County, which occupies 1076 square kilometers, record a population of 83199?", "choices": ["2006-02-08", "2006-03-15", "2015-01-01", "1950-01-01", "1995-03-27", "2014-02-13", "1950-09-13", "2016-10-01", "1949", "1978-04-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frederick County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1076 square kilometre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "83199", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Frederick County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1076\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"83199\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Mark Gatiss is cast in what role on Game of Thrones, also featuring Jerome Flynn as a cast member?", "choices": ["John McKittrick", "Dieter Reinhardt", "Juan Domingo Per\u00f3n", "Genevieve Scherbatsky", "Karen Smith", "Frank Abagnale", "Tycho Nestoris", "Allie Earp", "L\u00e1szl\u00f3 Alm\u00e1sy", "Hal Moore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerome Flynn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Game of Thrones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mark Gatiss"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Game of Thrones\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Jerome Flynn\" . ?e_2 <pred:name> \"Mark Gatiss\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Tycho Nestoris"}, {"question": "Which has more people, Melaka or Punjab (the one that shares border with Sindh)?", "choices": ["Greater Poland Voivodeship", "New South Wales", "Minas Gerais", "Upper Austria", "Lublin Voivodeship", "Melaka", "Podlaskie Voivodeship", "Chiapas", "Punjab", "Tasmania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melaka"]}, {"function": "Find", "dependencies": [], "inputs": ["Sindh"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Punjab"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Melaka\" .  } UNION { ?e <pred:name> \"Punjab\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Sindh\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Punjab"}, {"question": "What is the connection between Dharmendra to Sikhism?", "choices": ["designed by", "signatory", "office held by head of state", "religion", "practiced by", "interests", "official symbol", "cast member", "based on", "patron saint"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dharmendra"]}, {"function": "Find", "dependencies": [], "inputs": ["Sikhism"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dharmendra\" . ?e_2 <pred:name> \"Sikhism\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "tell me the time point for Thailand national football team ranking 103.", "choices": ["2018-06-30", "1948-05-14", "1970-05-06", "2015-05-01", "1838-01-01", "1995-11-21", "1915-01-01", "1994-03-21", "1919-01-01", "1793-02-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thailand national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "103", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Thailand national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"103\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1995-11-21"}, {"question": "Which is longer, The Crucible that was nominated for a Satellite Award for Best Adapted Screenplay or Body of Lies?", "choices": ["Pleasantville", "Curse of the Golden Flower", "Training Day", "The Hunchback of Notre Dame", "Body of Lies", "Rebecca", "The Fifth Element", "The Towering Inferno", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Adapted Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Crucible"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Body of Lies"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Crucible\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Satellite Award for Best Adapted Screenplay\" .   } UNION { ?e <pred:name> \"Body of Lies\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Body of Lies"}, {"question": "http://www.fcbarcelona.com/football/barca-b is the official website of which organization?", "choices": ["Academy of Television Arts & Sciences", "Macy's, Inc.", "Walt Disney Studios Motion Pictures", "Pfizer", "Populous", "California Department of Parks and Recreation", "BBC News", "FC Barcelona B", "E. W. Scripps Company", "McDonald's"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fcbarcelona.com/football/barca-b"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fcbarcelona.com/football/barca-b\" .  }", "answer": "FC Barcelona B"}, {"question": "What is the link between Algiers (whose cost is 691833 United States dollars) and the Academy Award for Best Cinematography?", "choices": ["field of this occupation", "parent organization", "honorific prefix", "nominated for", "place of birth", "distributor", "geography of topic", "participant of", "vehicle normally used", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Algiers"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "691833 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Algiers\" . ?e_1 <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"691833\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Is the smaller area occupied by Delaware County, population 47980, or Sullivan County (Dewey Decimal Classification 2--74735)?", "choices": ["Clinton County", "Cayuga County", "Albany County", "Orange County", "Jefferson County", "Greene County", "Delaware County", "Sullivan County", "Warren County", "Niagara County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delaware County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "47980", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sullivan County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["Dewey Decimal Classification", "2--74735"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Delaware County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"47980\"^^xsd:double . } UNION { ?e <pred:name> \"Sullivan County\" . ?e <Dewey_Decimal_Classification> ?pv_2 . ?pv_2 <pred:value> \"2--74735\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sullivan County"}, {"question": "Who is the teacher of the person referenced by the Swedish Literature Bank AuthorID JungCG?", "choices": ["Arnold Schoenberg", "Sigmund Freud", "Michael Nesmith", "William Henry Harrison", "Sylvester Stallone", "David Byrne", "CeeLo Green", "Bob Fosse", "Plato", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Swedish Literature Bank AuthorID", "JungCG"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["student", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <student> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Swedish_Literature_Bank_AuthorID> ?pv . ?pv <pred:value> \"JungCG\" .   }", "answer": "Sigmund Freud"}, {"question": "What is Jerome Kern's CANTIC-ID?", "choices": ["a10345267", "a11588263", "a11255237", "a11447540", "a10438877", "a10450294", "a10677446", "a1160217x", "a11610037", "a10430064"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerome Kern"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jerome Kern\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a10450294"}, {"question": "Is the run-time shorter for Catwoman, a Golden Raspberry nominee for Worst Director, or Sunday, Bloody Sunday?", "choices": ["Curse of the Golden Flower", "Training Day", "Sunday, Bloody Sunday", "Pleasantville", "The Hunchback of Notre Dame", "The Towering Inferno", "The Fifth Element", "A Prairie Home Companion", "Catwoman", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catwoman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sunday, Bloody Sunday"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Catwoman\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Director\" .   } UNION { ?e <pred:name> \"Sunday, Bloody Sunday\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Catwoman"}, {"question": "How is Midnight's Children (published 2013-03-28) related to Charles Dance?", "choices": ["continent", "located in the administrative territorial entity", "feast day", "student", "residence", "airline hub", "founded by", "located on terrain feature", "mother", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midnight's Children"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2013-03-28", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Charles Dance"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Midnight's Children\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2013-03-28\"^^xsd:date . ?e_2 <pred:name> \"Charles Dance\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Does Nagpur or Derry have less population?", "choices": ["Santo Domingo", "Derry", "Nagpur", "Abidjan", "Bergen", "Cork", "Kingston", "Trieste", "Kilkenny", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nagpur"]}, {"function": "Find", "dependencies": [], "inputs": ["Derry"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nagpur\" .  } UNION { ?e <pred:name> \"Derry\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Derry"}, {"question": "Is 51222211 the RIA Novosti reference of sumo?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["sumo"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["RIA Novosti reference"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["51222211"]}], "sparql": "ASK { ?e <pred:name> \"sumo\" . ?e <RIA_Novosti_reference> ?pv . ?pv <pred:value> \"51222211\" .  }", "answer": "no"}, {"question": "Is the ISNI for Northrop Grumman JP3778630008 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northrop Grumman"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISIN"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["JP3778630008"]}], "sparql": "ASK { ?e <pred:name> \"Northrop Grumman\" . ?e <ISIN> ?pv . ?pv <pred:value> \"JP3778630008\" .  }", "answer": "no"}, {"question": "How many chemical elements have an electrical conductivity equal to 25100000 amperes per volt meters and have an RTECS number of OO9275000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["electrical conductivity", "25100000 amperes per volt meter", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["RTECS number", "OO9275000"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["chemical element"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <electrical_conductivity> ?pv . ?pv <pred:unit> \"amperes per volt meter\" . ?pv <pred:value> \"25100000\"^^xsd:double . ?e <RTECS_number> ?pv_1 . ?pv_1 <pred:value> \"OO9275000\" .  }", "answer": "0"}, {"question": "How is The Spy Who Loved Me,  Academy Award nominee for Best Production Design, related to the genre adventure film?", "choices": ["material used", "author", "operating system", "conferred by", "successful candidate", "risk factor", "owned by", "genre", "enclave within", "chairperson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Spy Who Loved Me"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Spy Who Loved Me\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Production Design\" . ?e_2 <pred:name> \"adventure film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the connection between Fast Food Nation to Greg Kinnear?", "choices": ["legislative body", "contributing factor of", "cast member", "software engine", "member of political party", "set in period", "season starts", "narrative location", "location", "relative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fast Food Nation"]}, {"function": "Find", "dependencies": [], "inputs": ["Greg Kinnear"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fast Food Nation\" . ?e_2 <pred:name> \"Greg Kinnear\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is the running time longer for Blues Brothers 2000, published on 1998-01-01, or Brothers, published on 2005-03-31?", "choices": ["The Fifth Element", "The Towering Inferno", "Training Day", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "Blues Brothers 2000", "Brothers", "Curse of the Golden Flower", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Blues Brothers 2000"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1998-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Brothers"]}, {"function": "FilterDate", "dependencies": [2], "inputs": ["publication date", "2005-03-31", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Blues Brothers 2000\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1998-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Brothers\" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> \"2005-03-31\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Blues Brothers 2000"}, {"question": "When was the movie featuring Damian Lewis in the cast published?", "choices": ["1994-02-17", "2013-01-01", "2003-03-20", "2016-04-29", "2004-09-30", "2010-12-29", "1933-04-07", "2013-02-04", "2003-06-21", "1965"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Damian Lewis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Damian Lewis\" .  ?e <publication_date> ?pv .  }", "answer": "2013-01-01"}, {"question": "What is the TOID for the town that has a local dialing code of 01634?", "choices": ["4000000074579014", "4000000074547835", "7000000000017754", "4000000074550040", "4000000074547095", "4000000074558013", "4000000074563302", "4000000074552610", "4000000074574164", "4000000074559702"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "01634"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["TOID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"01634\" . ?e <TOID> ?pv .  }", "answer": "4000000074547835"}, {"question": "Is Christopher Young's official website equal to http://www.christopher-young.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Young"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.christopher-young.com"]}], "sparql": "ASK { ?e <pred:name> \"Christopher Young\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.christopher-young.com\" .  }", "answer": "yes"}, {"question": "Is http://www.snowwhiteandthehuntsman.com the official website of the town that is the birthplace of Richard Hammond?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Hammond"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.snowwhiteandthehuntsman.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Richard Hammond\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.snowwhiteandthehuntsman.com\" .  }", "answer": "no"}, {"question": "Which made more money at the box office, Goodfellas or Patton?", "choices": ["Training Day", "Rebecca", "The Towering Inferno", "Goodfellas", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "The Fifth Element", "Patton", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Goodfellas"]}, {"function": "Find", "dependencies": [], "inputs": ["Patton"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Goodfellas\" .  } UNION { ?e <pred:name> \"Patton\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Patton"}, {"question": "How many metropolitan areas have a population not equal to 0.7 or have the official website http://www.oregonmetro.gov?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "0.7", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.oregonmetro.gov"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0.7\"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oregonmetro.gov\" .  } }", "answer": "9"}, {"question": "Which has higher elevation above sea level, Kentucky (the one that shares border with Indiana) or Wyoming (the one whose demonym is Wyomingian)?", "choices": ["Massachusetts", "New Mexico", "Hawaii", "Illinois", "California", "New Jersey", "Wyoming", "Colorado", "Iowa", "Kentucky"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indiana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kentucky"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wyoming"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["demonym", "Wyomingian"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kentucky\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Indiana\" . } UNION { ?e <pred:name> \"Wyoming\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Wyomingian\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Wyoming"}, {"question": "What is the connection between Metallica (the one whose inception time is 1982-10-28) to Universal Music Group?", "choices": ["basic form of government", "narrative location", "allegiance", "ancestral home", "conflict", "has immediate cause", "set in period", "organizer", "native language", "record label"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metallica"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1982-10-28", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Universal Music Group"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Metallica\" . ?e_1 <inception> ?pv . ?pv <pred:date> \"1982-10-28\"^^xsd:date . ?e_2 <pred:name> \"Universal Music Group\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Did a war, that took place in South America, begin not in 1911 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1911", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"South America\" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1911 ) .  }", "answer": "yes"}, {"question": "IS https://livingstonfc.co.uk the official website for an association football club, who was since 1999 counting Ray Mckinnon (born on 5th August 1970) as the member ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray McKinnon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1970-08-05", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [2], "inputs": ["start time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [4], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [5], "inputs": ["https://livingstonfc.co.uk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Ray McKinnon\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1970-08-05\"^^xsd:date . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1999 . ?e <official_website> ?pv . ?pv <pred:value> \"https://livingstonfc.co.uk/\" .  }", "answer": "yes"}, {"question": "Which Twitter handle belongs to the communication medium represented online at www.forbes.com?", "choices": ["IAMJHUD", "UofGlasgow", "villedelyon", "AthleticClub", "_AfricanUnion", "janesaddiction", "Forbes", "USUAggies", "enriqueiglesias", "nickcave"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.forbes.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["communication medium"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"communication medium\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.forbes.com\" . ?e <Twitter_username> ?pv .  }", "answer": "Forbes"}, {"question": "Does Napoleon (the one whose date of death is 1821-05-05) or John Madden (the one that is a member of Florida Panthers) have less height?", "choices": ["Rahul Dev Burman", "James E. Reilly", "Simon Cowell", "William Henry Harrison", "Max Fleischer", "David Byrne", "John Madden", "Richard Gere", "Napoleon", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Napoleon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1821-05-05", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Florida Panthers"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Madden"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Napoleon\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1821-05-05\"^^xsd:date . } UNION { ?e <pred:name> \"John Madden\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Florida Panthers\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Napoleon"}, {"question": "Does the baseball team located in Cincinnati have a twitter username of gomvfc?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cincinnati"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["gomvfc"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Cincinnati\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"gomvfc\" .  }", "answer": "no"}, {"question": "Tell me the relationship between Python (which has the inception time of 1991-02-20) and Haskell.", "choices": ["contributing factor of", "practiced by", "noble title", "subject has role", "has contributing factor", "geographic distribution", "location of final assembly", "industry", "influenced by", "item operated"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Python"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1991-02-20", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Haskell"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Python\" . ?e_1 <inception> ?pv . ?pv <pred:date> \"1991-02-20\"^^xsd:date . ?e_2 <pred:name> \"Haskell\" . ?e_1 ?p ?e_2 .  }", "answer": "influenced by"}, {"question": "How many make believe people hail from the DC Universe or correspond to ISNI 0000 0004 5308 4834?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DC Universe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["from fictional universe", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0004 5308 4834"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional human"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" .  { ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> \"DC Universe\" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 5308 4834\" .  } }", "answer": "2"}, {"question": "When was United Kingdom an ethnic group of White British ?", "choices": ["1632", "2004-08-01", "2015-01-31", "1727-12-01", "1782", "1957-12-01", "2016-09-15", "2016", "1982", "2011"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Find", "dependencies": [], "inputs": ["White British"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["ethnic group", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"White British\" . ?e_1 <ethnic_group> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ethnic_group> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "tell me the movie that was published after 2001 in as official website http://www.midnightschildren.com/", "choices": ["The Ten Commandments", "I Am Legend", "Enthiran", "Om Shanti Om", "The Interpreter", "Pleasantville", "A Prairie Home Companion", "Midnight's Children", "Talk to Her", "The Lives of Others"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2001", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.midnightschildren.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2001 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.midnightschildren.com/\" .  }", "answer": "Midnight's Children"}, {"question": "When was the population of Cheshire County 76753?", "choices": ["2007-09-04", "1497-01-01", "2015-02-12", "1792", "2006-08-01", "2010-02-01", "2018-04-01", "2012-07-01", "2001-04-11", "1998-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cheshire County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "76753", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cheshire County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"76753\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "What is the association between Hannah Arendt (that is influenced by Martin Heidegger) and the University of Freiburg?", "choices": ["talk show guest", "sibling", "educated at", "archives at", "located in the administrative territorial entity", "history of topic", "dissertation submitted to", "interested in", "airline alliance", "item operated"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin Heidegger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hannah Arendt"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Freiburg"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hannah Arendt\" . ?e_1 <influenced_by> ?e_3 . ?e_3 <pred:name> \"Martin Heidegger\" . ?e_2 <pred:name> \"University of Freiburg\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "For the Hungry release Internal Affairs when did it receive the Hong Kong Film Award for Best Film?", "choices": ["2003-04-06", "1917-12-01", "1972-04-10", "2005-07-01", "1980-04-01", "1864-01-01", "1991-03-07", "1875-01-01", "1932", "2017-11-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Infernal Affairs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Infernal Affairs\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Hungary\" . ?e_2 <pred:name> \"Hong Kong Film Award for Best Film\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2003-04-06"}, {"question": "When did Drew Barrymore and Tom Green get married?", "choices": ["1858-08-02", "2001-01-01", "1993-06-21", "2007-10-02", "2009-04-15", "1963-12-24", "1911-01-17", "2005-07-31", "1936-02-19", "2000-11-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Green"]}, {"function": "Find", "dependencies": [], "inputs": ["Drew Barrymore"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tom Green\" . ?e_2 <pred:name> \"Drew Barrymore\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2001-01-01"}, {"question": "When was  WALL\u00b7E nominated for BAFTA Award for Best Animated Film?", "choices": ["2010-01-15", "1914-01-01", "1991-03-25", "2009", "1990-06-03", "1986-09-06", "1970-01-01", "2010-12-01", "2004-01-14", "1958-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WALL\u00b7E"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Animated Film"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"WALL\u00b7E\" . ?e_2 <pred:name> \"BAFTA Award for Best Animated Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "What is the duration for the film titled The Mission?", "choices": ["220 minute", "149 minute", "126 minute", "169 minute", "106 minute", "173 minute", "57 minute", "73 minute", "104 minute", "164 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Mission"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Mission\" . ?e <duration> ?pv .  }", "answer": "126 minute"}, {"question": "Which has higher elevation above sea level, Joplin or Danville (the one whose local dialing code is 859)?", "choices": ["Greenville", "New Haven", "Franklin", "Boulder", "Waukegan", "Columbus", "Danville", "Oakland", "Compton", "Joplin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joplin"]}, {"function": "Find", "dependencies": [], "inputs": ["Danville"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "859"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Joplin\" . } UNION { ?e <pred:name> \"Danville\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"859\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Joplin"}, {"question": "Who has more children between Carter Burwell and Michael J. Fox?", "choices": ["Sylvester Stallone", "James E. Reilly", "Simon Cowell", "Max Fleischer", "William Henry Harrison", "Paul Simon", "Richard Gere", "David Byrne", "Michael J. Fox", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carter Burwell"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael J. Fox"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carter Burwell\" .  } UNION { ?e <pred:name> \"Michael J. Fox\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Michael J. Fox"}, {"question": "Which person is a member of Esporte Clube Bahia (the number of points of this statement is 0)?", "choices": ["William Henry Harrison", "Jason Roberts", "Richard Gere", "Max Fleischer", "Lincoln", "David Byrne", "Sylvester Stallone", "Roy Carroll", "Joe Walsh", "Hugo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Esporte Clube Bahia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of points/goals/set scored", "0", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Esporte Clube Bahia\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"0\"^^xsd:double .  }", "answer": "Hugo"}, {"question": "What is the relationship between Crossroads (the one whose genre is film noir) and Joseph Ruttenberg ?", "choices": ["member of", "film regional debut venue", "destination point", "eye color", "takes place in fictional universe", "director of photography", "named after", "voice type", "model item", "commissioned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film noir"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crossroads"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Ruttenberg"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Crossroads\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"film noir\" . ?e_2 <pred:name> \"Joseph Ruttenberg\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "Does Amherst or Ridgefield occupy a larger area?", "choices": ["Greenwich", "Brookline", "Uxbridge", "Litchfield", "Chapel Hill", "Kensington", "West Hartford", "Amherst", "Bedford", "Ridgefield"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amherst"]}, {"function": "Find", "dependencies": [], "inputs": ["Ridgefield"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amherst\" .  } UNION { ?e <pred:name> \"Ridgefield\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ridgefield"}, {"question": "Are there not 5300 episodes of the television series that is a well-known work of Jim Henson?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Henson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5300", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Jim Henson\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5300\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is Sonic the Hedgehog from Playstation 2 related to Doctor Eggman?", "choices": ["maintained by", "place of burial", "set in period", "copyright holder", "copyright representative", "characters", "office held by head of government", "medical condition", "child", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PlayStation 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Eggman"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sonic the Hedgehog\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"PlayStation 2\" . ?e_2 <pred:name> \"Doctor Eggman\" . ?e_1 ?p ?e_2 .  }", "answer": "characters"}, {"question": "Is the running time of The Black Dahlia or The Dreamers the shorter of the two?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "Training Day", "A Prairie Home Companion", "Curse of the Golden Flower", "Pleasantville", "The Dreamers", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Black Dahlia"]}, {"function": "Find", "dependencies": [], "inputs": ["The Dreamers"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Black Dahlia\" .  } UNION { ?e <pred:name> \"The Dreamers\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Dreamers"}, {"question": "Where was the visual artwork that received an Academy Award for Best Costume Design (to Michael O'Connor) published on 2009-01-15?", "choices": ["Indonesia", "Ireland", "Serbia", "Chile", "Iceland", "Hungary", "New York", "Moscow", "Grauman's Chinese Theatre", "Slovenia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Michael O'Connor"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2009-01-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Michael O'Connor\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-01-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "Which has less of an elevation above sea level, Beverly Hills or Columbus (the one whose official website is http://www.columbusga.org)?", "choices": ["Boulder", "Lansing", "Waukegan", "Oakland", "New Haven", "New Britain", "Compton", "Franklin", "Beverly Hills", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beverly Hills"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbus"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.columbusga.org"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Beverly Hills\" . } UNION { ?e <pred:name> \"Columbus\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.columbusga.org\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Columbus"}, {"question": "How many visual artworks are associated with someone who, as the costume designer, received the Academy Award for Best Costume Design (the award-winning work of this statement is Cinderella) ?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Cinderella"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["costume designer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <costume_designer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Costume Design\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv . ?qpv <pred:value> \"Cinderella\" .   }", "answer": "11"}, {"question": "Is the run-time under 510 minutes for The Island, with a story set in the Caribbean?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caribbean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Island"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["510 minute", "<"]}], "sparql": "ASK { ?e <pred:name> \"The Island\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Caribbean\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"510\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "For which work was Nicholas Tse awarded the  Hong Kong Film Award for Best New Performer?", "choices": ["Ray", "Turbulent Indigo", "One True Thing", "Mad Men", "Mighty Aphrodite", "Argo", "Young and Dangerous: The Prequel", "The Guns of Navarone", "Chico and Rita", "The Little Mermaid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best New Performer"]}, {"function": "Find", "dependencies": [], "inputs": ["Nicholas Tse"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hong Kong Film Award for Best New Performer\" . ?e_2 <pred:name> \"Nicholas Tse\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Young and Dangerous: The Prequel"}, {"question": "Does the Pacific Ocean or Asia (demonym asiatisch) occupy a smaller area?", "choices": ["Southern California", "Caribbean", "Piedmont", "Antarctica", "Africa", "Pacific Ocean", "Transylvania", "Asia", "Lake District", "Atlantic Canada"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Ocean"]}, {"function": "Find", "dependencies": [], "inputs": ["Asia"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["demonym", "asiatisch"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pacific Ocean\" . } UNION { ?e <pred:name> \"Asia\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"asiatisch\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Asia"}, {"question": "How many MTV Video Music Awards began before 1989 and not in 1999?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1989", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Video Music Award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1999", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Video Music Award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1989 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1999 ) .  }", "answer": "10"}, {"question": "When did the prefecture of Japan whose dantai code is 270008 have a population of 8831642?", "choices": ["2004-06-24", "2008-11-12", "1815-12-01", "1910-12-31", "1086", "2015-05-01", "2017-10-01", "1999-08-18", "1833-09-18", "1867-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["dantai code", "270008"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "8831642", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <dantai_code> ?pv_1 . ?pv_1 <pred:value> \"270008\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"8831642\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-10-01"}, {"question": "When was the television network whose country is South Korea founded?", "choices": ["1859-01-28", "1262", "1747", "1900-12-16", "1931", "1189", "1990-11-14", "1883-01-01", "1608-07-03", "1874-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television network"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"South Korea\" .  ?e <inception> ?pv .  }", "answer": "1990-11-14"}, {"question": "Does the website www.mtv.com/ontv/vma represent the MTV Video Music Award earned by the musician Sting?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sting"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Video Music Award"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["http://www.mtv.com/ontv/vma/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Sting\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"musician\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mtv.com/ontv/vma/\" .  }", "answer": "yes"}, {"question": "What name is Massachusetts (the one whose subtitle is The Lights Went Out In), known under ISCW T-011.363.815-5, recorded in a database or mentioned as a work contributor?", "choices": ["Montgomery, County of (Maryland)", "HOWARD JAMES NEWTON", "Universit\u00e9 Laval", "HANDEL", "JACKSON RANDY DARNELL", "LIGHTS WENT OUT IN MASSACHUSETTS", "MENKEN ALAN", "HAYES ISAAC LEE", "Geffen Records", "HANDEL G F"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Massachusetts"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subtitle", "The Lights Went Out In"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["ISWC", "T-011.363.815-5", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Massachusetts\" . ?e <subtitle> ?pv_1 . ?pv_1 <pred:value> \"The Lights Went Out In\" . ?e <ISWC> ?pv . ?pv <pred:value> \"T-011.363.815-5\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISWC> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "LIGHTS WENT OUT IN MASSACHUSETTS"}, {"question": "How is Lane County related to the 2842321 population count Oregon?", "choices": ["permanent resident of", "located in the administrative territorial entity", "military rank", "architectural style", "appointed by", "connects with", "head of government", "does not have part", "officeholder", "director of photography"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lane County"]}, {"function": "Find", "dependencies": [], "inputs": ["Oregon"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "2842321", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lane County\" . ?e_2 <pred:name> \"Oregon\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2842321\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Does the university whose IPv4 routing prefix is 88.96.178.32/29, have an ISNI of 0000 0001 0654 4242?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv4 routing prefix", "88.96.178.32/29"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0654 4242"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <IPv4_routing_prefix> ?pv_1 . ?pv_1 <pred:value> \"88.96.178.32/29\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0654 4242\" .  }", "answer": "no"}, {"question": "What is the connection between Leigh Harline to cancer?", "choices": ["cause of death", "studies", "culture", "public holiday", "film distribute region", "capital", "drug used for treatment", "board member", "replaced by", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leigh Harline"]}, {"function": "Find", "dependencies": [], "inputs": ["cancer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Leigh Harline\" . ?e_2 <pred:name> \"cancer\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "Which anime produced by T\u014dh\u014d is the longest in duration?", "choices": ["The Super Dimension Fortress Macross", "Naruto Shippuden the Movie: Bonds", "Magic Knight Rayearth", "Vampire Knight", "Code Geass", "Ponyo on the Cliff by the Sea", "Magical Girl Lyrical Nanoha", "My-HiME", "Chrono Crusade", "Fullmetal Alchemist the Movie: Conqueror of Shamballa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["T\u014dh\u014d"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"T\u014dh\u014d\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ponyo on the Cliff by the Sea"}, {"question": "Is the duration of Brighton Rock, the one published in 1947, different from 50 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brighton Rock"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1947", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["50 minute", "!="]}], "sparql": "ASK { ?e <pred:name> \"Brighton Rock\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1947 . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"50\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "For the sovereign state whose native label is \u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0438\u043c\u043f\u0435\u0440\u0438\u044f, to which part it applies its demonym is ruso?", "choices": ["Knox County", "masculine", "Republic of Crimea", "United States Virgin Islands", "United States of America", "Guam", "Fentress County", "plural", "Bradley County", "direct-controlled municipality"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0438\u043c\u043f\u0435\u0440\u0438\u044f"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "ruso", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0438\u043c\u043f\u0435\u0440\u0438\u044f\" . ?e <demonym> ?pv . ?pv <pred:value> \"ruso\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "How many government structures have an inflation rate that is over 650 percent or a population that is more than 1000000?", "choices": ["30", "31", "32", "33", "34", "35", "36", "37", "38", "39"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "650 percentage", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "1000000", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["form of government"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" .  { ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v > \"650\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1000000\"^^xsd:double ) .  } }", "answer": "38"}, {"question": "Which movie made more at the box office, Thunderball (the one whose cost is 9000000 United States dollar) or American Beauty (the one that was nominated for Satellite Award for Best Original Screenplay)?", "choices": ["The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "Pleasantville", "The Towering Inferno", "The Fifth Element", "Training Day", "Rebecca", "A Prairie Home Companion", "American Beauty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thunderball"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "9000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Original Screenplay"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Beauty"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thunderball\" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"9000000\"^^xsd:double . } UNION { ?e <pred:name> \"American Beauty\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Satellite Award for Best Original Screenplay\" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "American Beauty"}, {"question": "What is the ISIN of the Warner Media Group?", "choices": ["US0378331005", "US7427181091", "US5770811025", "US4180561072", "US5398301094", "US20030N2009", "US1248572026", "US8873173038", "US00507V1098", "US6541061031"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Media Group"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISIN"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Warner Media Group\" . ?e <ISIN> ?pv .  }", "answer": "US8873173038"}, {"question": "Which country with a population size surpassing 55,000 covers the biggest area?", "choices": ["math rock", "Cook Islands", "dubstep", "Netherlands", "Scotland", "Wales", "Faroe Islands", "A.C. Perugia Calcio", "Greenland", "Wayne's World"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "55000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"55000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greenland"}, {"question": "Which type of sport is associated with tennis?", "choices": ["Novak Djokovic", "Serena Williams", "Hannover 96", "judo", "water polo", "tennis", "Leander Paes", "American football", "ice hockey", "synchronized swimming"], "program": [{"function": "Find", "dependencies": [], "inputs": ["tennis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"tennis\" .   }", "answer": "tennis"}, {"question": "Who is married to the person that has Coco Rodriguez as a pseudonym?", "choices": ["Guy Ritchie", "Kurt Cobain", "Nick Cannon", "Courtney Love", "David Foster", "Hank Azaria", "Michael Balcon", "George C. Scott", "Justin Theroux", "Shirley Jones"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Coco Rodriguez"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"Coco Rodriguez\" .   }", "answer": "Kurt Cobain"}, {"question": "Is 0000 0000 0314 7391 the ISNI of the person born in Jefferson City?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 0314 7391"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Jefferson City\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 0314 7391\" .  }", "answer": "yes"}, {"question": "What city in New Jersey has a ISNI of 0000 0004 0419 528X?", "choices": ["Paterson", "Passaic", "Jersey City", "East Orange", "Atlantic City", "Trenton", "Perth Amboy", "Hackensack", "Hoboken", "Elizabeth"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0419 528X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0419 528X\" .  }", "answer": "Paterson"}, {"question": "How many infectious diseases are identified by the DiseasesDB of 10209?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DiseasesDB", "10209"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["infectious disease"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"infectious disease\" . ?e <DiseasesDB> ?pv . ?pv <pred:value> \"10209\" .  }", "answer": "1"}, {"question": "How many forms of government are there whose life expectancy is higher than 13.3 years or ITU letter code is ALB?", "choices": ["30", "31", "32", "33", "34", "35", "36", "37", "38", "39"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "13.3 year", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ITU letter code", "ALB"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["form of government"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" .  { ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"13.3\"^^xsd:double ) .  } UNION { ?e <ITU_letter_code> ?pv . ?pv <pred:value> \"ALB\" .  } }", "answer": "37"}, {"question": "What is New Plymouth's founding date?", "choices": ["1837-01-01", "1873-06-15", "1925-04-19", "1816-12-06", "1841-03-31", "1974-01-01", "1664", "1883-08-13", "1857", "1853-06-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Plymouth"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"New Plymouth\" . ?e <inception> ?pv .  }", "answer": "1841-03-31"}, {"question": "Does the Twitter username equal universitario for Club Universitario de Deportes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Club Universitario de Deportes"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Universitario"]}], "sparql": "ASK { ?e <pred:name> \"Club Universitario de Deportes\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Universitario\" .  }", "answer": "yes"}, {"question": "At what point in time is 0.752 the Human Development Index for the democracy that comes from Italy?", "choices": ["1994", "1738-01-01", "2011", "1705", "2002-07-03", "1940", "2018-06-06", "2003-05-21", "1960-04-04", "1798"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Human Development Index", "0.752", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e_1 <exported_to> ?e . ?e_1 <pred:name> \"Italy\" .  ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.752\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "When did Dean Martin (the one that is a member of Stoke City F.C.) stop being a member of Port Vale F.C.?", "choices": ["1952", "1945-03-18", "1997-09-20", "1998-06-21", "2021-06-30", "1798-01-24", "1945-04-20", "1902-10-01", "1934-01-18", "1976-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stoke City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dean Martin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Port Vale F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dean Martin\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Stoke City F.C.\" . ?e_2 <pred:name> \"Port Vale F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1976-01-01"}, {"question": "What language is used in http://www.grammy.com, the official website of an award nominated to Melissa Etheridge in 2001 ?", "choices": ["Icelandic", "Bokm\u00e5l", "Bavarian", "France", "English", "American English", "Luxembourgish", "Eastern Armenian", "Basque", "Galician"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melissa Etheridge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2001", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.grammy.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Melissa Etheridge\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2001 . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.grammy.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which native label designates the Kingdom of Hungary, which replaced Austria-Hungary?", "choices": ["Dover", "\u092d\u093e\u0930\u0924 \u0917\u0923\u0930\u093e\u091c\u094d\u092f", "Dortmund", "Tarto", "\ud55c\uad6d\ub3d9\ub780", "Benjamin Franklin Medal", "Freistaat Sachsen", "Lietuva", "Tet\u00e3 Vol\u00edvia", "Magyar Kir\u00e1lys\u00e1g"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austria-Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["replaces", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Hungary"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kingdom of Hungary\" . ?e <replaces> ?e_1 . ?e_1 <pred:name> \"Austria-Hungary\" .  ?e <native_label> ?pv .  }", "answer": "Magyar Kir\u00e1lys\u00e1g"}, {"question": "How is the film producer John Hughes related to Lake Forest?", "choices": ["residence", "contains settlement", "sidekick of", "official symbol", "has dialect (DEPRECATED)", "religion", "film release region", "licensed to broadcast to", "official residence", "board member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lake Forest"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Hughes\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"film producer\" . ?e_2 <pred:name> \"Lake Forest\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "In what language is the creative work of Elvis (with official website http://www.elvisthemusic.com/) that influenced Jim Morrison?", "choices": ["Bavarian", "Indian English", "Australian English", "Hebrew", "Ukrainian", "Finnish", "Polish", "Maltese", "Czech", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Morrison"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Jim Morrison"]}, {"function": "Relate", "dependencies": [1], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.elvisthemusic.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Jim Morrison\" . ?e_1 <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Jim Morrison\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.elvisthemusic.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did the independent city that is the headquarter location of General Dynamics have a population of 13892?", "choices": ["1832-01-01", "1949-01-01", "1961-04-17", "1864-12-01", "2017-11-24", "1700-01-01", "2015-01-01", "1966-04-18", "1941-03-01", "1970-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Dynamics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "13892", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"General Dynamics\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"13892\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Who has fewer children, Jack Black or Steve Buscemi?", "choices": ["Steve Buscemi", "Simon Cowell", "Rahul Dev Burman", "Max Fleischer", "Richard Gere", "David Byrne", "Paul Simon", "Sylvester Stallone", "James E. Reilly", "Jack Black"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Black"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Buscemi"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jack Black\" .  } UNION { ?e <pred:name> \"Steve Buscemi\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Steve Buscemi"}, {"question": "Which area is larger, Durham (the one whose population is 5485) or Hagerstown?", "choices": ["Waukegan", "Boulder", "Columbus", "Oakland", "Durham", "Hagerstown", "Franklin", "Lansing", "New Haven", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Durham"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5485", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Hagerstown"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Durham\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"5485\"^^xsd:double . } UNION { ?e <pred:name> \"Hagerstown\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Durham"}, {"question": "How many film awards have an inception time after 1951?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1951", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1951 ) .  }", "answer": "9"}, {"question": "Which movie is shorter, Being Julia or Annie (the one that was nominated for Golden Raspberry Award for Worst New Star)?", "choices": ["Being Julia", "Talk to Her", "The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "The Towering Inferno", "Annie", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Being Julia"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst New Star"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Annie"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Being Julia\" .  } UNION { ?e <pred:name> \"Annie\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst New Star\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Being Julia"}, {"question": "How many Michigan counties have the US counties FIPS 6-4 26115 or contain Birmingham (that shares a border with Bloomfield Hills)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "26115"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Bloomfield Hills"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Birmingham"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Michigan"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" .  { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"26115\" .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Birmingham\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Bloomfield Hills\" .  } }", "answer": "2"}, {"question": "Was a person born in Huntsville before 1965 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Huntsville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1965", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Huntsville\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  }", "answer": "yes"}, {"question": "When did the membership of the Liberal Democrats number 95000?", "choices": ["2002-07-01", "2003-04-24", "2015-04-01", "2012-11-01", "2017-11-23", "1453-12-01", "2017-04-20", "1961-04-17", "2014-07-01", "2002-05-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liberal Democrats"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["member count", "95000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Liberal Democrats\" . ?e <member_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"95000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <member_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-04-20"}, {"question": "Is Bryan Cranston or Winona Ryder shorter?", "choices": ["Paul Simon", "James E. Reilly", "Rahul Dev Burman", "Sylvester Stallone", "William Henry Harrison", "Simon Cowell", "David Byrne", "Winona Ryder", "Bryan Cranston", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryan Cranston"]}, {"function": "Find", "dependencies": [], "inputs": ["Winona Ryder"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bryan Cranston\" .  } UNION { ?e <pred:name> \"Winona Ryder\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Winona Ryder"}, {"question": "How many sciences are the industry to which belongs the organization whose PermID is 5000021791?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5000021791"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["industry", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["science"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science\" . ?e_1 <industry> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <PermID> ?pv . ?pv <pred:value> \"5000021791\" .   }", "answer": "0"}, {"question": "Which movie is shorter, Step Up Revolution or The Ugly Truth?", "choices": ["The Towering Inferno", "The Fifth Element", "Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "Talk to Her", "The Ugly Truth", "A Prairie Home Companion", "Training Day", "Step Up Revolution"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Step Up Revolution"]}, {"function": "Find", "dependencies": [], "inputs": ["The Ugly Truth"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Step Up Revolution\" .  } UNION { ?e <pred:name> \"The Ugly Truth\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Ugly Truth"}, {"question": "Is 215403957 the correct SIREN number for the film production company with the official website http://www.europacorp.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.europacorp.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["SIREN number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["215403957"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.europacorp.com/\" . ?e <SIREN_number> ?pv . ?pv <pred:value> \"215403957\" .  }", "answer": "no"}, {"question": "Korea occupies how much area?", "choices": ["528 square kilometre", "1131 square kilometre", "225163 square kilometre", "115.669851 square kilometre", "219155 square kilometre", "21800251 square kilometre", "2724900.0 square kilometre", "600.592202 square kilometre", "59.901735 square kilometre", "450.39 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Korea"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Korea\" . ?e <area> ?pv .  }", "answer": "219155 square kilometre"}, {"question": "Tell me the inception time for protopunk", "choices": ["1419", "1847", "1912-12-24", "1945-10-04", "1965-01-01", "1789-04-06", "1981-09-21", "1927-08-09", "1861-04-21", "2005-01-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["protopunk"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"protopunk\" . ?e <inception> ?pv .  }", "answer": "1965-01-01"}, {"question": "ISNI 0000 0001 0904 5203 designates which person born prior to 1961?", "choices": ["Richard Gere", "Bill Clinton", "Daryl Hannah", "Max Fleischer", "Sylvester Stallone", "George Duke", "William Henry Harrison", "Buck Henry", "Jim Brown", "Robert Palmer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1961", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 0904 5203"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1961 ) . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0904 5203\" .  }", "answer": "Buck Henry"}, {"question": "Which movie is longer, Going My Way (the one that received National Film Registry) or Austin Powers: The Spy Who Shagged Me?", "choices": ["Going My Way", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "The Fifth Element", "Curse of the Golden Flower", "Austin Powers: The Spy Who Shagged Me", "The Towering Inferno", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Going My Way"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Austin Powers: The Spy Who Shagged Me"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Going My Way\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"National Film Registry\" .   } UNION { ?e <pred:name> \"Austin Powers: The Spy Who Shagged Me\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Going My Way"}, {"question": "What is the run-time of the TV movie featuring a cast with Adam Baldwin?", "choices": ["2396 second", "363 minute", "4 year", "137 minute", "90 minute", "148 minute", "198 minute", "178 minute", "119 minute", "259 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam Baldwin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Adam Baldwin\" .  ?e <duration> ?pv .  }", "answer": "178 minute"}, {"question": "Which has fewer seasons, Indian Idol or War and Peace (the one whose duration is 15 hour)?", "choices": ["War and Peace", "Dancing with the Stars", "Game of Thrones", "Phineas and Ferb", "Robot Chicken", "Bleak House", "American Horror Story", "Six Feet Under", "Indian Idol", "Seinfeld"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indian Idol"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "15 hour", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Indian Idol\" . } UNION { ?e <pred:name> \"War and Peace\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"hour\" . ?pv_1 <pred:value> \"15\"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "War and Peace"}, {"question": "How is Tony nominee for Best Direction of a Musical, Michael Kahn, related to the role of theatre director?", "choices": ["different from", "military casualty classification", "heritage designation", "occupation", "designated as terrorist by", "symptom of", "headquarters location", "military conflicts", "distributor", "partner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Direction of a Musical"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Kahn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["theatre director"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Kahn\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Tony Award for Best Direction of a Musical\" . ?e_2 <pred:name> \"theatre director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the beginning date that UKD6 is the NUTS code of the ceremonial county of England that contains Crewe?", "choices": ["2004-01-01", "1440", "1991-09-24", "1999-01-01", "2005-11-17", "2011-09-30", "1980-10-27", "2006-03-12", "1891", "1025"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crewe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["NUTS code", "UKD6", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Crewe\" .  ?e <NUTS_code> ?pv . ?pv <pred:value> \"UKD6\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "What is the relationship between Watchmen (the one whose publication date is 1986) and Alan Moore (the one that has a notable work From Hell)?", "choices": ["capital", "dissertation submitted to", "main food source", "language of work or name", "replaced by", "office contested", "copyright representative", "author", "occupant", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watchmen"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1986", "="]}, {"function": "Find", "dependencies": [], "inputs": ["From Hell"]}, {"function": "Relate", "dependencies": [2], "inputs": ["notable work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Moore"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Watchmen\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1986 . ?e_2 <pred:name> \"Alan Moore\" . ?e_2 <notable_work> ?e_3 . ?e_3 <pred:name> \"From Hell\" . ?e_1 ?p ?e_2 .  }", "answer": "author"}, {"question": "Which is longer in duration, the 100 minute long Titanic, or Jackass: The Movie?", "choices": ["Titanic", "Jackass: The Movie", "Pleasantville", "Training Day", "Curse of the Golden Flower", "The Towering Inferno", "The Fifth Element", "Talk to Her", "Rebecca", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackass: The Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["Titanic"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "100 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jackass: The Movie\" . } UNION { ?e <pred:name> \"Titanic\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"100\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Titanic"}, {"question": "Is the ISNI of a person, who was the screenwriter for Babylon 5: The Gathering, 0000 0001 1032 8163 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Babylon 5: The Gathering"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1032 8163"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Babylon 5: The Gathering\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1032 8163\" .  }", "answer": "yes"}, {"question": "Is the title of the film with the exploitation visa number 57759 Eduardo Manostijeras?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "57759"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Eduardo Manostijeras"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"57759\" . ?e <title> ?pv . ?pv <pred:value> \"Eduardo Manostijeras\" .  }", "answer": "no"}, {"question": "Which movie has the longer duration, Hilary and Jackie or The Wizard of Oz?", "choices": ["Training Day", "Pleasantville", "Talk to Her", "A Prairie Home Companion", "Hilary and Jackie", "The Towering Inferno", "Rebecca", "The Fifth Element", "The Hunchback of Notre Dame", "The Wizard of Oz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hilary and Jackie"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Wizard of Oz"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hilary and Jackie\" .  } UNION { ?e <pred:name> \"The Wizard of Oz\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hilary and Jackie"}, {"question": "How many media franchises use http://db30th.com as the official website and are titled \uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://db30th.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "\uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["media franchise"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://db30th.com/\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc\" .  }", "answer": "0"}, {"question": "Does the film titled Watchmen have a publication date in a year other than 1981 (the place of publication is Germany)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Watchmen"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1981", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Watchmen\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1981 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "What disease had the DiseasesDB identifier of 6330?", "choices": ["cancer", "meningitis", "acute cystitis", "bubonic plague", "attention deficit hyperactivity disorder", "epilepsy", "gastroesophageal reflux disease", "typhoid fever", "hypertension", "prostate cancer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DiseasesDB", "6330"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e <DiseasesDB> ?pv . ?pv <pred:value> \"6330\" .  }", "answer": "hypertension"}, {"question": "Which U.S. city has an elevation (above sea level) of less than 740 metres and a postal code of 60601?", "choices": ["Waukegan", "Chicago", "Columbus", "Bloomington", "Annapolis", "Franklin", "Fontana", "Florence", "New Haven", "Gulfport"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "740 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "60601"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"740\"^^xsd:double ) . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"60601\" .  }", "answer": "Chicago"}, {"question": "Who is the person whose Instagram username is tonygoldwyn?", "choices": ["Richard Gere", "William Henry Harrison", "Marilyn Manson", "James L. Brooks", "Earl Scruggs", "Max Fleischer", "Tony Goldwyn", "Donald Trump", "Keenen Ivory Wayans", "Yui Horie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "tonygoldwyn"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"tonygoldwyn\" .  }", "answer": "Tony Goldwyn"}, {"question": "When did Shanghai (the one that is the twinned administrative body of Dunedin) start to be the twinned administrative body of Liverpool (the one with a population of 513441)?", "choices": ["1809-09-05", "1994-06-25", "1963-12-12", "1988-08-09", "1991-06-26", "1970", "1998-12-02", "1999-01-01", "1952-08-14", "1999-01-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dunedin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shanghai"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "513441", "="]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shanghai\" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Dunedin\" . ?e_2 <pred:name> \"Liverpool\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"513441\"^^xsd:double . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "What is the connection between Merv Griffin to Westwood Village Memorial Park Cemetery?", "choices": ["place of burial", "film crew member", "famous people", "feast day", "partner", "substitute/deputy/replacement of office/officeholder", "winner", "field of this occupation", "item operated", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merv Griffin"]}, {"function": "Find", "dependencies": [], "inputs": ["Westwood Village Memorial Park Cemetery"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Merv Griffin\" . ?e_2 <pred:name> \"Westwood Village Memorial Park Cemetery\" . ?e_1 ?p ?e_2 .  }", "answer": "place of burial"}, {"question": "Which has fewer people,Sonora or canton of Z\u00fcrich?", "choices": ["Chiapas", "Minas Gerais", "Lublin Voivodeship", "Upper Austria", "canton of Z\u00fcrich", "Greater Poland Voivodeship", "Sonora", "England", "New South Wales", "Punjab"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sonora"]}, {"function": "Find", "dependencies": [], "inputs": ["canton of Z\u00fcrich"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sonora\" .  } UNION { ?e <pred:name> \"canton of Z\u00fcrich\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "canton of Z\u00fcrich"}, {"question": "How many master's degree are granted by a higher education institution whose postal code is 2006 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "2006"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "Relate", "dependencies": [2], "inputs": ["grants", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["master's degree"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"master's degree\" . ?e_1 <grants> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"higher education institution\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"2006\" .   }", "answer": "1"}, {"question": "How many programming languages are influenced by Java, whose official website is https://www.java.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Java"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.java.com/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["programming language"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"programming language\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Java\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://www.java.com/\" .   }", "answer": "3"}, {"question": "How many matches did David Cross play in Bolton Wanderers F.C., the club club he's a member of?", "choices": ["255", "59", "62", "23", "84", "55", "136", "47", "68", "43"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bolton Wanderers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Cross"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bolton Wanderers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Cross\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Bolton Wanderers F.C.\" . ?e_2 <pred:name> \"Bolton Wanderers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "23"}, {"question": "Which has fewer episodes, The Ten Commandments (the one whose composer is Randy Edelman) or L.A. Law?", "choices": ["George Washington", "The Diary of Anne Frank", "The Stand", "Roots", "The Ten Commandments", "L.A. Law", "Emma", "Battlestar Galactica", "The Civil War", "The Pacific"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Randy Edelman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Ten Commandments"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["L.A. Law"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Ten Commandments\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Randy Edelman\" .   } UNION { ?e <pred:name> \"L.A. Law\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Ten Commandments"}, {"question": "Since when did Jodie Forster study at Yale University ?", "choices": ["2017-11-23", "1857-01-01", "2013-07-07", "1992-03-09", "1992-09-18", "1975-10-11", "1993-04-08", "1980-01-01", "1951-11-07", "1871"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jodie Foster"]}, {"function": "Find", "dependencies": [], "inputs": ["Yale University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jodie Foster\" . ?e_2 <pred:name> \"Yale University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1980-01-01"}, {"question": "Who received a Nobel Prize in Literature in 1927 and has ISNI 0000 0001 2135 5394?", "choices": ["Henri Bergson", "Sylvester Stallone", "Max Fleischer", "Richard Gere", "Paul Simon", "David Byrne", "James E. Reilly", "Babyface", "William Henry Harrison", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1927", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISNI", "0000 0001 2135 5394"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Nobel Prize in Literature\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1927 . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2135 5394\" .  }", "answer": "Henri Bergson"}, {"question": "Is Kevin Clash the native name of the person corresponding to ISNI 0000 0000 7779 2799 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7779 2799"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Kevin Clash"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7779 2799\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Kevin Clash\" .  }", "answer": "yes"}, {"question": "When did \u014csaka Prefecture acquire the status of Lombardy's twinned administrative body ?", "choices": ["1992-02-20", "2002-07-09", "1988-09-10", "2014-01-01", "1911", "1937-01-21", "2009-05-19", "2000-10-10", "1933-01-01", "1998-08-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u014csaka Prefecture"]}, {"function": "Find", "dependencies": [], "inputs": ["Lombardy"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"\u014csaka Prefecture\" . ?e_2 <pred:name> \"Lombardy\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2002-07-09"}, {"question": "What is the edition number of the 1928 Summer Olympics?", "choices": ["64", "73", "16", "8", "15", "46", "1", "63", "9", "32"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1928 Summer Olympics"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["edition number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"1928 Summer Olympics\" . ?e <edition_number> ?pv .  }", "answer": "9"}, {"question": "Is American Pie (the one whose official website is http://www.americanpiemovie.com/) longer than 1 academic term ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Pie"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.americanpiemovie.com/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["1 academic term", ">"]}], "sparql": "ASK { ?e <pred:name> \"American Pie\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.americanpiemovie.com/\" . ?e <duration> ?pv . ?pv <pred:unit> \"academic term\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Is a11004629 the CANTIC-ID of Baruch Spinoza?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baruch Spinoza"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["a11004629"]}], "sparql": "ASK { ?e <pred:name> \"Baruch Spinoza\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11004629\" .  }", "answer": "no"}, {"question": "What is the ISNI of a person who did the screenwriting for  From Dusk till Dawn (the one that has Quentin Tarantino as a cast member) ?", "choices": ["0000 0001 0879 0359", "0000 0001 2138 5921", "0000 0000 6301 200X", "0000 0001 2153 4843", "0000 0001 1456 7559", "0000 0001 2128 3132", "0000 0001 1760 7931", "0000 0001 2073 6240", "0000 0003 6853 7325", "0000 0000 8154 4763"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quentin Tarantino"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["From Dusk till Dawn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"From Dusk till Dawn\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Quentin Tarantino\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2128 3132"}, {"question": "What is the character that the voice actor Masako Nozawa plays in Dragon Ball?", "choices": ["Son Goku", "James J. Braddock", "Alice", "Cosmo Gordon Lang", "Leo", "Eric Lamonsoff", "Callie Torres", "Rita Bennett", "Roxana", "Addison Montgomery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Masako Nozawa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dragon Ball"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Masako Nozawa"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dragon Ball\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Masako Nozawa\" . ?e_2 <pred:name> \"Masako Nozawa\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Son Goku"}, {"question": "Did the empire with the demonym bizantina dissolve pre-1956 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "bizantina"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1956", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"bizantina\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1956 ) .  }", "answer": "yes"}, {"question": "When did Kiefer Sutherland start working?", "choices": ["1896", "1934", "1904", "1953", "1983", "1916", "1999", "1913", "1814", "1886"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiefer Sutherland"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kiefer Sutherland\" . ?e <work_period_(start)> ?pv .  }", "answer": "1983"}, {"question": "Tell me the one that has the smallest area within the independent city that has a population of under 220000", "choices": ["Richmond", "Charlottesville", "Winchester", "Fredericksburg", "Carson City", "Petersburg", "Falls Church", "Danville", "Fairfax", "Lynchburg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "220000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"220000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falls Church"}, {"question": "How long is the movie with the website: http://www.theproducersmovie.com/ ?", "choices": ["25 minute", "43 minute", "129 minute", "66 minute", "135 minute", "141 minute", "108 minute", "31 minute", "71 minute", "21 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theproducersmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.theproducersmovie.com/\" . ?e <duration> ?pv .  }", "answer": "129 minute"}, {"question": "Which professions have David Petraeus as a member or is different from film director?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Petraeus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" .  { ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> \"David Petraeus\" .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"film director\" .  } }", "answer": "2"}, {"question": "What is the publication territory for The Secret in Their Eyes (whose release region is Russia), having the release date 2010-10-21?", "choices": ["Iceland", "Los Angeles", "Venezuela", "Hungary", "People's Republic of China", "Beverly Hills", "Telluride Film Festival", "Toronto", "North America", "Colombia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Secret in Their Eyes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2010-10-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Secret in Their Eyes\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Russia\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2010-10-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "Tell me the one that has the biggest area within the geographic region that is part of Earth (which has pronunciation audio of Ru-\u0437\u0435\u043c\u043b\u044f.ogg)", "choices": ["Europe", "Transylvania", "Lake District", "Oceania", "North America", "Asia", "Atlantic Canada", "Africa", "Antarctica", "South America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Ru-\u0437\u0435\u043c\u043b\u044f.ogg"]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Earth\" . ?e_1 <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"Ru-\u0437\u0435\u043c\u043b\u044f.ogg\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Asia"}, {"question": "How many food ingredients come from broccoli or are produced by birds naturally?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bird"]}, {"function": "Relate", "dependencies": [0], "inputs": ["natural product of taxon", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "Find", "dependencies": [], "inputs": ["broccoli"]}, {"function": "Relate", "dependencies": [3], "inputs": ["this taxon is source of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["food ingredient"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" .  { ?e <natural_product_of_taxon> ?e_1 . ?e_1 <pred:name> \"bird\" .  } UNION { ?e_1 <this_taxon_is_source_of> ?e . ?e_1 <pred:name> \"broccoli\" .  } }", "answer": "1"}, {"question": "What is the number of literary awards whose beginning date is prior to 1967 or after 1968?", "choices": ["26", "27", "28", "29", "30", "31", "32", "33", "34", "35"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1967", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1968", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1968 ) .  } }", "answer": "31"}, {"question": "What is the connection between Philadelphia Union to Chester (the one that is the headquarter location of Philadelphia Union)?", "choices": ["native language", "film release region", "basin country", "producer", "headquarters location", "instrument", "located on terrain feature", "main food source", "contributor(s) to the creative work", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Union"]}, {"function": "Find", "dependencies": [], "inputs": ["Philadelphia Union"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chester"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Philadelphia Union\" . ?e_2 <pred:name> \"Chester\" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> \"Philadelphia Union\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Bob Gunton was a Tony Award nominee for Best Featured Actor in which Musical?", "choices": ["Rwanda\u2013Tanzania relations", "Belgium\u2013Malaysia relations", "Netherlands\u2013Uruguay relations", "Croatia\u2013Taiwan relations", "34th Tony Awards", "Lesotho\u2013South Africa relations", "virgin birth of Jesus", "Norway\u2013Sudan relations", "Ukraine-Italy relations", "Finland\u2013Sweden border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Gunton"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Musical"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bob Gunton\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actor in a Musical\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "34th Tony Awards"}, {"question": "Was the person with CANTIC-ID a10287978 born before 1969?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10287978"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1969", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10287978\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1969 ) .  }", "answer": "yes"}, {"question": "How is Calista Flockhart related to Harrison Ford from The Conversation?", "choices": ["participant", "creator", "author", "continent", "sex or gender", "publisher", "educated at", "board member", "substitute/deputy/replacement of office/officeholder", "spouse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calista Flockhart"]}, {"function": "Find", "dependencies": [], "inputs": ["The Conversation"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harrison Ford"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Calista Flockhart\" . ?e_2 <pred:name> \"Harrison Ford\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"The Conversation\" . ?e_1 ?p ?e_2 .  }", "answer": "spouse"}, {"question": "What is the connection between Spider-Man 2 (the one that has John Landis as a cast member) to Museum of Modern Art?", "choices": ["collection", "domain of saint or deity", "fabrication method", "has immediate cause", "commander of", "official color", "publisher", "illustrator", "occupant", "original language of film or TV show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Landis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man 2"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Museum of Modern Art"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spider-Man 2\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"John Landis\" . ?e_2 <pred:name> \"Museum of Modern Art\" . ?e_1 ?p ?e_2 .  }", "answer": "collection"}, {"question": "What is the relation of Die Hard with a Vengeance to Live Free or Die Hard?", "choices": ["is a list of", "official symbol", "military conflicts", "followed by", "employer", "student", "twinned administrative body", "practiced by", "place of birth", "head coach"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Die Hard with a Vengeance"]}, {"function": "Find", "dependencies": [], "inputs": ["Live Free or Die Hard"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Die Hard with a Vengeance\" . ?e_2 <pred:name> \"Live Free or Die Hard\" . ?e_1 ?p ?e_2 .  }", "answer": "followed by"}, {"question": "What is the native language name of the person who holds the office of chairperson until the ending date 1992-01-01?", "choices": ["Ernest Miller Hemingway", "Paul Gross", "Jennifer Tilly", "Tony Curtis", "Mel Brooks", "Milton Friedman", "Dev Patel", "Macaulay Culkin", "Hillary Diane Rodham Clinton", "Phyllis Smith"], "program": [{"function": "Find", "dependencies": [], "inputs": ["chairperson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1992-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_held> ?e_1 . ?e_1 <pred:name> \"chairperson\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"1992-01-01\"^^xsd:date . ?e <name_in_native_language> ?pv .  }", "answer": "Hillary Diane Rodham Clinton"}, {"question": "Where was the 1993-09-16 release of the movie with the official website www.warnerbros.com/movies/home-entertainment/the-fugitive/4bab88e9-e878-4c69-ad37-a306c8d53398.html?", "choices": ["Brazil", "Thailand", "Finland", "Montreal World Film Festival", "Sundance Film Festival", "Germany", "Bolivia", "Chile", "2005 Cannes Film Festival", "Moscow"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.warnerbros.com/movies/home-entertainment/the-fugitive/4bab88e9-e878-4c69-ad37-a306c8d53398.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1993-09-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.warnerbros.com/movies/home-entertainment/the-fugitive/4bab88e9-e878-4c69-ad37-a306c8d53398.html\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1993-09-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the one with the least population within the ethnic group that has the population not exactly 720000000", "choices": ["Puerto Ricans", "German Americans", "Austrians", "Italians", "Cherokee", "Iroquois", "Hungarians", "French people", "Punjabi people", "Ashkenazi Jews"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "720000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"720000000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Americans"}, {"question": "Is The Savages or Get Him to the Greek shorter?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "Get Him to the Greek", "The Hunchback of Notre Dame", "Rebecca", "Training Day", "Pleasantville", "The Savages", "The Towering Inferno", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Savages"]}, {"function": "Find", "dependencies": [], "inputs": ["Get Him to the Greek"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Savages\" .  } UNION { ?e <pred:name> \"Get Him to the Greek\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Get Him to the Greek"}, {"question": "What is the Munzinger IBA of the person with Instagram username jessicachastain?", "choices": ["00000014921", "00000020746", "00000018856", "00000014529", "00000020712", "00000029459", "00000023285", "00000024054", "00000014080", "00000018406"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "jessicachastain"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"jessicachastain\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000029459"}, {"question": "What is the number of colleges at the University of Cambridge whose establishment date is not in 1584?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1584", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Cambridge"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1584 ) .  }", "answer": "19"}, {"question": "How many art movements there are whose Dewey Decimal Classification is 709.04042?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "709.04042"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"709.04042\" .  }", "answer": "1"}, {"question": "Which county in Massachusetts (that contains Barnstable) has the smallest land area?", "choices": ["Berkshire County", "Norfolk County", "Plymouth County", "Barnstable County", "Worcester County", "Suffolk County", "Essex County", "Bristol County", "Hampden County", "Franklin County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barnstable County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Massachusetts"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Massachusetts\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Barnstable County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Worcester County"}, {"question": "Who created Homeland?", "choices": ["Sylvester Stallone", "Jerry Seinfeld", "William Henry Harrison", "Richard Gere", "Vince McMahon", "Howard Gordon", "Brad Falchuk", "Richard Wagner", "Michael Piller", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Homeland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"Homeland\" .   }", "answer": "Howard Gordon"}, {"question": "What is the official website for the Goya Award for Best Film?", "choices": ["http://www.endemol.com/", "http://www.co.ulster.ny.us", "https://www.imax.com/", "http://www.erie.pa.us/", "http://www.jenniferlovehewittonline.com/", "http://www.themotherland.info", "http://www.ala.org/alsc/awardsgrants/bookmedia/newberymedal/newberymedal", "http://premiosgoya.academiadecine.com/home/", "http://www.jamesarness.com/", "http://www.dumbanddumber.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Goya Award for Best Film"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Goya Award for Best Film\" . ?e <official_website> ?pv .  }", "answer": "http://premiosgoya.academiadecine.com/home/"}, {"question": "What city in the United States has the postal code 94005?", "choices": ["Nashua", "New Haven", "Washington, D.C.", "Peoria", "Brisbane", "Minot", "Columbus", "Franklin", "Morgantown", "Waukegan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "94005"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"94005\" .  }", "answer": "Brisbane"}, {"question": "What is height for the human whose date of birth is on 1979-10-05?", "choices": ["198 centimetre", "19 centimetre", "157 centimetre", "1.59 metre", "67 inch", "1.89 metre", "59 inch", "183 centimetre", "180 centimetre", "1.735 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1979-10-05", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1979-10-05\"^^xsd:date . ?e <height> ?pv .  }", "answer": "180 centimetre"}, {"question": "When was Robert Ryan (the one whose date of birth is 1878-07-09) born?", "choices": ["2011-04-09", "1954-11-09", "2007-06-08", "2018-09-27", "1997-07-02", "2002", "2011-03-23", "2007-08-08", "2004-09-11", "1984-04-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Ryan"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1878-07-09", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Robert Ryan\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1878-07-09\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1954-11-09"}, {"question": "What is the title of the movie which had its script written by Jon Avnet?", "choices": ["True Lies", "\u5341\u6708\u570d\u57ce", "Fargo", "Uprising", "The Sixth Sense", "Anger Management", "Easy Rider", "On the Road", "Close Encounters of the Third Kind", "Babe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Avnet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Jon Avnet\" .  ?e <title> ?pv .  }", "answer": "Uprising"}, {"question": "How many Alabama counties, whose population is different from 30,000, are located in Alabama (whose total population is 3,266,740) ?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "30000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "3266740", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Alabama"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"30000\"^^xsd:double ) . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Alabama\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3266740\"^^xsd:double .  }", "answer": "10"}, {"question": "What person was killed by the person known by \u0421\u0442\u0430\u043b\u0438\u043d (the role of this statement is Intelectual author)?", "choices": ["Paul Simon", "Richard Gere", "Leon Trotsky", "William Henry Harrison", "Max Fleischer", "David Byrne", "Rahul Dev Burman", "Babyface", "James E. Reilly", "Simon Cowell"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "\u0421\u0442\u0430\u043b\u0438\u043d"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["killed by", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["subject has role", "Intelectual author"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <killed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"\u0421\u0442\u0430\u043b\u0438\u043d\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <killed_by> ; <pred:fact_t> ?e_1 ] <subject_has_role> ?qpv . ?qpv <pred:value> \"Intelectual author\" .  }", "answer": "Leon Trotsky"}, {"question": "Which covers a larger amount of area, Key West or Billings?", "choices": ["Franklin", "Key West", "Billings", "New Haven", "Lansing", "Waukegan", "Columbus", "Compton", "Boulder", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Key West"]}, {"function": "Find", "dependencies": [], "inputs": ["Billings"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Key West\" .  } UNION { ?e <pred:name> \"Billings\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Billings"}, {"question": "What is the connection between hard bop and McCoy Tyner?", "choices": ["screenwriter", "field of this occupation", "facet of", "coextensive with", "performer", "geography of topic", "currency", "famous people", "father", "significant event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hard bop"]}, {"function": "Find", "dependencies": [], "inputs": ["McCoy Tyner"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"hard bop\" . ?e_2 <pred:name> \"McCoy Tyner\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many crimes either have a death number greater than 650000 or have the Wikitribune category of espionage?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of deaths", "650000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["crime"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Wikitribune category", "espionage"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["crime"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"crime\" .  { ?e <number_of_deaths> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"650000\"^^xsd:double ) .  } UNION { ?e <Wikitribune_category> ?pv . ?pv <pred:value> \"espionage\" .  } }", "answer": "2"}, {"question": "The 52 ranking for Cameroon's national association football team was ascertained in what manner?", "choices": ["de jure", "United Kingdom Census 1981", "Russian Empire Census", "gross floor area", "rated voltage", "United Kingdom Census 1971", "tradition", "questionnaire", "Sixth National Population Census of the People's Republic of China", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cameroon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "52", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Cameroon\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"52\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is David Morse's role in John Adams which was nominated for a Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie?", "choices": ["Leonard Nimoy", "Kevin Bernard", "Hans Landa", "Nightcrawler", "Owen Lars", "George Washington", "Georg Johannes von Trapp", "Donna Noble", "Gr\u00edma Wormtongue", "Sharpay Evans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Morse"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Adams\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie\" . ?e_2 <pred:name> \"David Morse\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "George Washington"}, {"question": "Is the official website of a person, associated with ISNI 0000 0001 1665 6934, http://www.tournamentofroses.com/rosebowlgame/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1665 6934"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.tournamentofroses.com/rosebowlgame/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1665 6934\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tournamentofroses.com/rosebowlgame/\" .  }", "answer": "no"}, {"question": "How is the Legislative Assembly of Ontario related to Canada?", "choices": ["game mode", "official color", "geographic distribution", "place of death", "sex or gender", "narrator", "use", "place of publication", "country", "follows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Legislative Assembly of Ontario"]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Legislative Assembly of Ontario\" . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many counties in Wisconsin have a population greater than 770000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "770000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"770000\"^^xsd:double ) .  }", "answer": "1"}, {"question": "When did the person loyal to Nazi Germany die?", "choices": ["2001-06-04", "1981-07-27", "1965-01-24", "1990-05-01", "2006-09-20", "2008-09-12", "2017-09-15", "1950-04-04", "1945-04-21", "2011-12-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nazi Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["allegiance", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <allegiance> ?e_1 . ?e_1 <pred:name> \"Nazi Germany\" .  ?e <date_of_death> ?pv .  }", "answer": "1945-04-21"}, {"question": "Is the publication date of Pulp Fiction that was published in Germany, not in 1987 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pulp Fiction"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1987", "!="]}], "sparql": "ASK { ?e <pred:name> \"Pulp Fiction\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1987 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "What is the birth name of the father of Beau Bridges?", "choices": ["Sheila Escovedo", "John Michael Crichton", "John Cameron Fogerty", "Lloyd Vernet Bridges", "Leslie Lynch King Jr.", "Paul Anthony Williams", "Kumaresan Duraisamy", "Tommaso d'Aquino", "Marianne Evelyn Gabriel Faithfull", "Leslie William Nielsen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beau Bridges"]}, {"function": "Relate", "dependencies": [0], "inputs": ["father", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <father> ?e . ?e_1 <pred:name> \"Beau Bridges\" .  ?e <birth_name> ?pv .  }", "answer": "Lloyd Vernet Bridges"}, {"question": "What does Tarzan (published 1999-01-01) have to do with soundtrack?", "choices": ["material used", "enclave within", "capital", "genre", "original language of film or TV show", "convicted of", "voice actor", "next lower rank", "risk factor", "producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1999-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["soundtrack"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tarzan\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1999-01-01\"^^xsd:date . ?e_2 <pred:name> \"soundtrack\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does St. Petersburg or Santa Ana have higher elevation above sea level?", "choices": ["Lansing", "New Haven", "Boulder", "Santa Ana", "Oakland", "Waukegan", "Franklin", "St. Petersburg", "Compton", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Petersburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Ana"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"St. Petersburg\" .  } UNION { ?e <pred:name> \"Santa Ana\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Petersburg"}, {"question": "What is the relationship between Eddie Redmayne and the BAFTA Award for Best Actor in a Leading Role?", "choices": ["permanent resident of", "license", "enclave within", "mother", "make-up artist", "award received", "notable work", "territory overlaps", "takes place in fictional universe", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eddie Redmayne"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Leading Role"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eddie Redmayne\" . ?e_2 <pred:name> \"BAFTA Award for Best Actor in a Leading Role\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Sheena Easton got Grammy Grant for Best Modern Craftsman, what is its predecessor", "choices": ["American Pie 2", "Amy Winehouse", "American Pie", "2006 NCAA Men's Division I Basketball Tournament", "The Carpenters", "Alien", "2 Fast 2 Furious", "Star Wars Episode V: The Empire Strikes Back", "Christopher Cross", "Svetlana Aleksievich"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheena Easton"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best New Artist"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "follows"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sheena Easton\" . ?e_2 <pred:name> \"Grammy Award for Best New Artist\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <follows> ?qpv .  }", "answer": "Christopher Cross"}, {"question": "Who was the screenwriter of The Station Agent?", "choices": ["Max Fleischer", "Sylvester Stallone", "Rabindranath Tagore", "Hugo Weaving", "Richard Gere", "John Broome", "Tom McCarthy", "Charles Boyer", "Drew Goddard", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Station Agent"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"The Station Agent\" .   }", "answer": "Tom McCarthy"}, {"question": "What activity is based on Independence day (the one that is 145 min long) ?", "choices": ["Constantine", "Pirates of the Caribbean: Dead Man's Chest", "Harry Potter and the Half-Blood Prince", "Spider-Man", "Independence Day", "Batman", "Serie A", "Battleship", "Guitar Hero 5", "music video game"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independence Day"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "145 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["activity"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Independence Day\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"145\"^^xsd:double .   }", "answer": "Independence Day"}, {"question": "Which movie is longer, The Kingdom (the one whose release region is United States of America) or Dangerous Liaisons (the one whose director of photography is Philippe Rousselot)?", "choices": ["The Hunchback of Notre Dame", "Rebecca", "The Towering Inferno", "Dangerous Liaisons", "Curse of the Golden Flower", "Talk to Her", "The Kingdom", "A Prairie Home Companion", "The Fifth Element", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Kingdom"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Philippe Rousselot"]}, {"function": "Relate", "dependencies": [4], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dangerous Liaisons"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Kingdom\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Dangerous Liaisons\" . ?e <director_of_photography> ?e_2 . ?e_2 <pred:name> \"Philippe Rousselot\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dangerous Liaisons"}, {"question": "Which one has less area among the counties of Alabama (the one whose FIPS 5-2 alpha code (US states) is AL)?", "choices": ["Shelby County", "Monroe County", "Mobile County", "Washington County", "Jefferson County", "Madison County", "Baldwin County", "Jackson County", "Dallas County", "Montgomery County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 5-2 alpha code (US states)", "AL"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Alabama\" . ?e_1 <FIPS_5-2_alpha_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> \"AL\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "What number of plays were published before 1991?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1991", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["play"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) .  }", "answer": "10"}, {"question": "What is the association of Ron Howard (who is educated at Seattle University) with Oakland?", "choices": ["hair color", "position played on team / speciality", "lowest point", "nominated for", "religious order", "permanent resident of", "indigenous to", "place of birth", "original film format", "patron saint"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seattle University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ron Howard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Oakland"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ron Howard\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Seattle University\" . ?e_2 <pred:name> \"Oakland\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What is the National Heritage List for England designation of Albany, residence of Lord Byron?", "choices": ["1125517", "1006996", "1332166", "1389259", "1095484", "1332185", "1290278", "1209755", "1199727", "1332192"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lord Byron"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupant", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Albany"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["National Heritage List for England number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Albany\" . ?e <occupant> ?e_1 . ?e_1 <pred:name> \"Lord Byron\" .  ?e <National_Heritage_List_for_England_number> ?pv .  }", "answer": "1209755"}, {"question": "What is the official website of the ice hockey team that drafts Ben Johnson (who is connected to the sport ice hockey)?", "choices": ["https://www.yahoo.com/", "http://www.harrogate.gov.uk/", "http://www.kidcudi.com/", "http://www.wheaton.edu", "http://www.gov.im/", "http://www.gilacountyaz.gov", "http://devils.nhl.com/", "http://www.lifesthatway.com/", "http://www.meangirls.com/indexflash.html", "http://www.soloistmovie.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ice hockey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["drafted by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ice hockey team"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> \"Ben Johnson\" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> \"ice hockey\" .  ?e <official_website> ?pv .  }", "answer": "http://devils.nhl.com/"}, {"question": "How many in pop music are a facet of the rock band whose ISNI is 0000 0001 2375 8787?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2375 8787"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["pop music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pop music\" . ?e <facet_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"rock band\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2375 8787\" .   }", "answer": "0"}, {"question": "How many film festival editions occur either after 2011 or have an edition number of 25?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2011", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival edition"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "25"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film festival edition"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2011 ) .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> \"25\" .  } }", "answer": "4"}, {"question": "What is the relation between Saw (the one released in 2004-01-19) and Croatia?", "choices": ["found", "located on terrain feature", "mascot", "film release region", "successful candidate", "performer", "mouth of the watercourse", "creator", "lyrics by", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saw"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2004-01-19", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Croatia"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saw\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2004-01-19\"^^xsd:date . ?e_2 <pred:name> \"Croatia\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What language is the official webiste of the county of Florida (whose ISNI is 0000 0004 0631 7316, and official website is http://www.pascocountyfl.net)?", "choices": ["Belarusian", "Italian", "Persian", "Latvian", "Japanese", "Chinese", "Punjabi", "English", "Australian English", "Turkish"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0631 7316"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.pascocountyfl.net", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0631 7316\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pascocountyfl.net\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What administrative territorial entity is Syracuse (in the USA) where Bobcat Goldthwait was born?", "choices": ["Stockholm County", "Kentucky", "New York", "Kilo", "London", "Texas", "New Jersey", "Scotland", "Makkah Region", "Greater Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bobcat Goldthwait"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Syracuse"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bobcat Goldthwait\" . ?e_2 <pred:name> \"Syracuse\" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "New York"}, {"question": "How many Florida counties are in Florida or United States of America?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Florida"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Florida\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "19"}, {"question": "Which has a higher elevation above sea level, Marche or Abruzzo?", "choices": ["Basilicata", "Lombardy", "Marche", "Veneto", "Lazio", "Abruzzo", "Sicily", "Apulia", "Sardinia", "Piedmont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marche"]}, {"function": "Find", "dependencies": [], "inputs": ["Abruzzo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marche\" .  } UNION { ?e <pred:name> \"Abruzzo\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Abruzzo"}, {"question": "How is Hugo released in Argentina related to Ray Winstone?", "choices": ["feast day", "broadcast by", "manner of death", "licensed to broadcast to", "rector", "subject has role", "cast member", "designated as terrorist by", "location", "main subject"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Argentina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hugo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ray Winstone"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hugo\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Argentina\" . ?e_2 <pred:name> \"Ray Winstone\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the Twitter username of the association football club whose Instagram username is sportrecife?", "choices": ["Illeanarama", "CharlizeAfrica", "AnnCurry", "Favre4Official", "UofMaryland", "KanagawaPref_PR", "sportrecife", "madlyv", "Andiebo", "imogenheap"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "sportrecife"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"sportrecife\" . ?e <Twitter_username> ?pv .  }", "answer": "sportrecife"}, {"question": "What is the predecessor of Third Crusade that is a component of Crusade (that has Third Crusade as a part)?", "choices": ["Simeiz Observatory", "The Son's Room", "Star Trek \u2163: The Voyage Home", "Lauryn Hill", "2006 NCAA Men's Division I Basketball Tournament", "2008 NFL season", "Alien: Resurrection", "Second Crusade", "Marvin Hamlisch", "Hootie & the Blowfish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Third Crusade"]}, {"function": "Find", "dependencies": [], "inputs": ["Third Crusade"]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crusade"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["part of", "follows"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Third Crusade\" . ?e_2 <pred:name> \"Crusade\" . ?e_3 <part_of> ?e_2 . ?e_3 <pred:name> \"Third Crusade\" . ?e_1 <part_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of> ; <pred:fact_t> ?e_2 ] <follows> ?qpv .  }", "answer": "Second Crusade"}, {"question": "Is \u6a2a\u6d5c\u5e02 the official name of American International Group?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American International Group"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u6a2a\u6d5c\u5e02"]}], "sparql": "ASK { ?e <pred:name> \"American International Group\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u6a2a\u6d5c\u5e02\" .  }", "answer": "no"}, {"question": "What number of New York cities have a  population larger than 71000000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "71000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"71000000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "When was the entertainment which Matt Groening designed published?", "choices": ["2008-12-04", "2016-04-11", "1968-12-17", "2003-08-01", "1926-01-01", "1985-04-26", "1998-05-18", "2005-06-15", "1957-10-04", "2001-02-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Matt Groening"]}, {"function": "Relate", "dependencies": [0], "inputs": ["designed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <designed_by> ?e_1 . ?e_1 <pred:name> \"Matt Groening\" .  ?e <publication_date> ?pv .  }", "answer": "2003-08-01"}, {"question": "How many chemical elements are different from both sodium and manganese?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["sodium"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "Find", "dependencies": [], "inputs": ["manganese"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["chemical element"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"sodium\" .  ?e <different_from> ?e_2 . ?e_2 <pred:name> \"manganese\" .  }", "answer": "0"}, {"question": "How many musical instruments are either played by John Mayer, who plays the mandolin, or are different from the Appalachian dulcimer?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mandolin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Mayer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Appalachian dulcimer"]}, {"function": "Relate", "dependencies": [6], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["musical instrument"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical instrument\" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"John Mayer\" . ?e_1 <instrument> ?e_2 . ?e_2 <pred:name> \"mandolin\" .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Appalachian dulcimer\" .  } }", "answer": "1"}, {"question": "What is the end time of Joan Rivers being educated at Barnard College?", "choices": ["1974-01-01", "1728-01-01", "1989-12-02", "1940-05-19", "1994-04-05", "1976-12-31", "1936-08-17", "1954-01-01", "2017-10-24", "1935"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joan Rivers"]}, {"function": "Find", "dependencies": [], "inputs": ["Barnard College"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joan Rivers\" . ?e_2 <pred:name> \"Barnard College\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1954-01-01"}, {"question": "The movie titled Rocky V was released in what region on 1990-12-21?", "choices": ["Peru", "Los Angeles", "Sweden", "West Germany", "North America", "United Kingdom", "Singapore", "Sundance Film Festival", "India", "Taiwan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rocky V"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1990-12-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Rocky V\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1990-12-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "What is the duration of Evil Angels?", "choices": ["9 minute", "117 minute", "220 minute", "12 minute", "41 minute", "122 minute", "145 minute", "141 minute", "100 minute", "363 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evil Angels"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Evil Angels\" . ?e <duration> ?pv .  }", "answer": "122 minute"}, {"question": "Are there not 60 seasons for the television series whose official website is http://www.hbo.com/oz/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hbo.com/oz/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["60", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hbo.com/oz/\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"60\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Hornbostel-Sachs classifies how many saxophones as number 422.212-71?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "422.212-71"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["saxophone"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"saxophone\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"422.212-71\" .  }", "answer": "4"}, {"question": "What is the connection between England (the one that is the origin country of table tennis) to Greenwich Mean Time?", "choices": ["had as last meal", "quotes work", "takes place in fictional universe", "approved by", "located on terrain feature", "conferred by", "hair color", "located in time zone", "notable work", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["table tennis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Greenwich Mean Time"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"England\" . ?e_3 <country_of_origin> ?e_1 . ?e_3 <pred:name> \"table tennis\" . ?e_2 <pred:name> \"Greenwich Mean Time\" . ?e_1 ?p ?e_2 .  }", "answer": "located in time zone"}, {"question": "For the capital of Clark County (the one that shares a border with San Bernardino County), what public company sets up in that U.S. city?", "choices": ["The Killers", "Oracle Corporation", "MGM Resorts International", "Canon Inc.", "Bandai Namco Holdings", "Panic! at the Disco", "Boeing", "Kraft Foods", "TV5", "Motorola"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Bernardino County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clark County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [5], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["public company"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"Clark County\" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"San Bernardino County\" .   }", "answer": "MGM Resorts International"}, {"question": "When did Franklin County (the one founded in 1794-12-07) have a population of 49496?", "choices": ["2008-02-13", "1777", "2010-03-31", "1972-04-10", "1945-12-31", "2012-07-01", "2017-12-31", "2008-06-04", "1990", "1890"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1794-12-07", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "49496", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Franklin County\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1794-12-07\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"49496\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "How long is the movie Around the World in 80 Days (the one that has Arnold Schwarzenegger as a cast member)?", "choices": ["120 minute", "167 minute", "432 minute", "79 minute", "178 minute", "83 minute", "101 minute", "80 minute", "182 minute", "2396 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arnold Schwarzenegger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Around the World in 80 Days\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Arnold Schwarzenegger\" .  ?e <duration> ?pv .  }", "answer": "120 minute"}, {"question": "When did playwright James Joyce begin his studies at University College Dublin?", "choices": ["1815-03-04", "1936-10-06", "1224", "2017-05-04", "1889-11-02", "2016-09-06", "1992-04-23", "1995-03-26", "1926-01-01", "1898"], "program": [{"function": "Find", "dependencies": [], "inputs": ["playwright"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Joyce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University College Dublin"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Joyce\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"playwright\" . ?e_2 <pred:name> \"University College Dublin\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1898"}, {"question": "Annapolis, filmed in New Jersey, has what connection to Walt Disney Studios Motion Pictures?", "choices": ["practiced by", "named after", "continent", "distributor", "source of material", "owned by", "film release region", "place served by transport hub", "model item", "grants"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Jersey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Annapolis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Annapolis\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"New Jersey\" . ?e_2 <pred:name> \"Walt Disney Studios Motion Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "Did the person with ISNI 0000 0001 0928 4028 not start working in 1912?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0928 4028"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1912", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0928 4028\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1912 ) .  }", "answer": "yes"}, {"question": "When did Paris (the one whose genre is drama film) have the exploitation visa number of 114879?", "choices": ["2013-07-01", "1999-06-09", "1945-11-07", "2002-09-10", "1857", "2010-03-01", "1650-06-25", "2015-08-05", "1998-08-23", "2008-01-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["exploitation visa number", "114879", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Paris\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"drama film\" .  ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"114879\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2008-01-28"}, {"question": "How are the North Sea and Rhine related?", "choices": ["tributary", "capital", "fictional universe described in", "month of the year", "chief executive officer", "architectural style", "has contributing factor", "official language", "office held by head of state", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Sea"]}, {"function": "Find", "dependencies": [], "inputs": ["Rhine"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"North Sea\" . ?e_2 <pred:name> \"Rhine\" . ?e_1 ?p ?e_2 .  }", "answer": "tributary"}, {"question": "What is the relation between October and November (the one that is followed by December) ?", "choices": ["basic form of government", "stated in", "interests", "does not have part", "archives at", "this taxon is source of", "followed by", "sports season of league or competition", "employer", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["October"]}, {"function": "Find", "dependencies": [], "inputs": ["December"]}, {"function": "Relate", "dependencies": [1], "inputs": ["follows", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["November"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"October\" . ?e_2 <pred:name> \"November\" . ?e_3 <follows> ?e_2 . ?e_3 <pred:name> \"December\" . ?e_1 ?p ?e_2 .  }", "answer": "followed by"}, {"question": "How many Critics' Choice Movie Awards were nominations for the film whose official website is http://www.moonrisekingdom.com?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.moonrisekingdom.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Critics' Choice Movie Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Critics' Choice Movie Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.moonrisekingdom.com\" .   }", "answer": "4"}, {"question": "What is the relationship between Andrea Martin (the one whose genre is contemporary R&B) and Andrea Martin (the one that is educated at Emerson College)?", "choices": ["general manager", "lowest point", "has cause", "has part", "different from", "start point", "terminus", "currency", "cause of death", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["contemporary R&B"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrea Martin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Emerson College"]}, {"function": "Relate", "dependencies": [4], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrea Martin"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Andrea Martin\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"contemporary R&B\" . ?e_2 <pred:name> \"Andrea Martin\" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> \"Emerson College\" . ?e_1 ?p ?e_2 .  }", "answer": "different from"}, {"question": "Which has less elevation above sea level, Thrissur or Newcastle upon Tyne (which is Newcastle's twinned administrative body)?", "choices": ["Cork", "Dundee", "Chihuahua", "Thrissur", "Trieste", "Abidjan", "Kilkenny", "Santo Domingo", "Newcastle upon Tyne", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thrissur"]}, {"function": "Find", "dependencies": [], "inputs": ["Newcastle"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Newcastle upon Tyne"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thrissur\" .  } UNION { ?e <pred:name> \"Newcastle upon Tyne\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Newcastle\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Newcastle upon Tyne"}, {"question": "Which has the smallest population among the New York cities established before 1848?", "choices": ["Binghamton", "Syracuse", "White Plains", "Long Beach", "Auburn", "Yonkers", "Troy", "Glen Cove", "Buffalo", "Utica"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1848", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1848 ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Auburn"}, {"question": "What character does Pierce Brosnan play in The World is Not Enough, which also includes Michael G. Wilson in the cast?", "choices": ["Marshall Carter", "Justin Hammer", "Cliff Clavin", "Ross Geller", "James Bond", "Abraham Whistler", "Pain", "Ron Johner", "Cliegg Lars", "Frank Burns"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael G. Wilson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The World Is Not Enough"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pierce Brosnan"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The World Is Not Enough\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michael G. Wilson\" . ?e_2 <pred:name> \"Pierce Brosnan\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "James Bond"}, {"question": "What is the connection between Jackie Robinson (the one that is a member of Detroit Pistons) to Detroit Pistons?", "choices": ["Wikidata property", "cause of death", "partner", "residence", "currency", "office contested", "properties for this type", "publisher", "political ideology", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Detroit Pistons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Robinson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Detroit Pistons"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jackie Robinson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Detroit Pistons\" . ?e_2 <pred:name> \"Detroit Pistons\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Whose work on Charlie and the Chocolate Factory, released in the UAE, earned an Academy Award nomination for Best Costume Design?", "choices": ["James Corcoran", "Peter Robb-King", "Robert Towne", "Tilda Swinton", "Fredric M. Frank", "Amy Adams", "Gabriella Pescucci", "Tim Squyres", "Claudette Colbert", "Robert Pulcini"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Arab Emirates"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie and the Chocolate Factory"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Charlie and the Chocolate Factory\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United Arab Emirates\" . ?e_2 <pred:name> \"Academy Award for Best Costume Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Gabriella Pescucci"}, {"question": "Which administrative territorial entity bordering Hennepin County covers the least area?", "choices": ["Scott County", "Delaware County", "African Union", "Washoe County", "Lee County", "Kent County", "Cass County", "Dakota County", "Orange County", "Ramsey County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hennepin County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Hennepin County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ramsey County"}, {"question": "Which area is smaller, Split (the one whose WOEID is 850357) or Dnipro?", "choices": ["Regensburg", "Utrecht", "Stuttgart", "Lyon", "Bordeaux", "Dnipro", "Split", "Fort Smith", "Wuppertal", "Aachen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Split"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "850357"]}, {"function": "Find", "dependencies": [], "inputs": ["Dnipro"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Split\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"850357\" . } UNION { ?e <pred:name> \"Dnipro\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Split"}, {"question": "For which work was John Ford (the one that is buried in Holy Cross Cemetery) awarded an Academy Award for Best Picture?", "choices": ["The Four Seasons", "The Rape of Richard Beck", "Saving Grace", "Basic Instinct 2", "The Quiet Man", "Capote", "I See You (Theme from Avatar)", "The Spy Next Door", "Algiers", "Erin Brockovich"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Holy Cross Cemetery"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Ford"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Ford\" . ?e_1 <place_of_burial> ?e_3 . ?e_3 <pred:name> \"Holy Cross Cemetery\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Quiet Man"}, {"question": "What is the connection between Hugh Grant (the one whose date of birth is 1960-09-09) to Elizabeth Hurley?", "choices": ["place of birth", "part of the series", "symptom of", "partner", "director/manager", "manufacturer", "territory claimed by", "part of", "official religion", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Grant"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1960-09-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Elizabeth Hurley"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hugh Grant\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1960-09-09\"^^xsd:date . ?e_2 <pred:name> \"Elizabeth Hurley\" . ?e_1 ?p ?e_2 .  }", "answer": "partner"}, {"question": "What was the work that Laurence Mark was nominated for the Academy Award for Best Picture about?", "choices": ["Germany-Eritrea relations", "Malta\u2013Slovakia relations", "Israel\u2013Malta relations", "40th Grammy Awards", "69th Academy Awards", "Jamaica\u2013Venezuela relations", "North Korea\u2013South Korea border", "Russian Soviet Federative Socialist Republic", "Spain\u2013Vietnam relations", "Belgium\u2013Israel relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laurence Mark"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Laurence Mark\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "69th Academy Awards"}, {"question": "What is the connection between Brian Wilson (the one that origins from United States of America) to Jeff Lynne?", "choices": ["killed by", "chairperson", "board member", "risk factor", "does not have part", "author", "territory overlaps", "producer", "item operated", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jeff Lynne"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brian Wilson\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Jeff Lynne\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "When did Stephen King, who lives in Fort Wayne, end his education at the University of Maine?", "choices": ["2013-11-28", "2006-08-24", "1957-03-06", "1923-01-01", "1955-04-07", "2000-08-01", "1913-03-04", "2017-09-03", "1971", "1973-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Wayne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Maine"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Stephen King\" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> \"Fort Wayne\" . ?e_2 <pred:name> \"University of Maine\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1971"}, {"question": "Regarding the movie entitled bones, is the publicaton date other than 1966?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Bones"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1966", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Bones\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1966 ) .  }", "answer": "yes"}, {"question": "Is 4466 Judd Hirsch's Deutsche Synchronkartei actor-ID?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judd Hirsch"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["4466"]}], "sparql": "ASK { ?e <pred:name> \"Judd Hirsch\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"4466\" .  }", "answer": "no"}, {"question": "What is the release date of the visual artwork that received an Academy Award for Best Film Editing involving the winner Barbara McLean?", "choices": ["1980-08-15", "2005-11-23", "1932-11-28", "2001-11-16", "2007-07-04", "1944-01-01", "1988-09-15", "1966", "2007-06-24", "1978-11-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Barbara McLean"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Film Editing\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> \"Barbara McLean\" . ?e <publication_date> ?pv .  }", "answer": "1944-01-01"}, {"question": "What computer programming language is influenced by Java whose Dewey Decimal Classification is 005.133?", "choices": ["2008 Tour de France", "Batman", "Python", "C#", "PHP", "object-oriented programming", "Harry Potter and the Half-Blood Prince", "Dark Horse Comics", "programming", "JavaScript"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Java"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "005.133"]}, {"function": "Relate", "dependencies": [1], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["computer programming"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"computer programming\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Java\" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"005.133\" .   }", "answer": "JavaScript"}, {"question": "What is the connection between Gossip Girl to Penn Badgley?", "choices": ["official religion", "fictional universe described in", "work location", "military branch", "instrumentation", "cast member", "film crew member", "chief executive officer", "diplomatic relation", "seed team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gossip Girl"]}, {"function": "Find", "dependencies": [], "inputs": ["Penn Badgley"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gossip Girl\" . ?e_2 <pred:name> \"Penn Badgley\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Since when has Harare been the twinned administrative body of Munich (the one whose ISNI is 0000 0001 2189 3141)?", "choices": ["1984-05-09", "2015-08-12", "1996-01-01", "1900-05-14", "1988-12-10", "2000-11-01", "1982-10-09", "2007-01-03", "2008-03-06", "1994-11-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harare"]}, {"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0001 2189 3141"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harare\" . ?e_2 <pred:name> \"Munich\" . ?e_2 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2189 3141\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1996-01-01"}, {"question": "What is the connection between Bertolt Brecht to German Democratic Republic?", "choices": ["capital of", "after a work by", "make-up artist", "language used", "country of citizenship", "librettist", "worshipped by", "published in", "use", "doctoral advisor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bertolt Brecht"]}, {"function": "Find", "dependencies": [], "inputs": ["German Democratic Republic"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bertolt Brecht\" . ?e_2 <pred:name> \"German Democratic Republic\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Who is the reviewer for the ranking of 67 for the national-association football team whose official name is \u00f6sterreichische Fu\u00dfballnationalmannschaft?", "choices": ["Innovation, Science and Economic Development Canada", "The World of Movies", "Empire", "AllMovie", "International Congress of Distinguished Awards", "Roger Ebert", "Charity Navigator", "Metacritic", "Gene Siskel", "FIFA"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u00f6sterreichische Fu\u00dfballnationalmannschaft"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "67", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u00f6sterreichische Fu\u00dfballnationalmannschaft\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Which national soccer team had a 72 ranking on 2008-09-03?", "choices": ["Estonia national football team", "Equatorial Guinea national football team", "Jamaica national football team", "Iraq national football team", "Zimbabwe national football team", "Cape Verde national football team", "Ecuador national football team", "Northern Ireland national football team", "Armenia national football team", "Uzbekistan national football team"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "72", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2008-09-03", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"72\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2008-09-03\"^^xsd:date .  }", "answer": "Iraq national football team"}, {"question": "When did the unitary state whose masculine singular demonym is trinitense have an inflation rate of 4.5 percentage?", "choices": ["1350-01-01", "1996-09-07", "1969-12-01", "1998-02-18", "2006-05-18", "1825-12-01", "1935-10-01", "1833-09-19", "1976-05-17", "1996-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "trinitense"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "masculine singular"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["unitary state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inflation rate", "4.5 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"trinitense\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"masculine singular\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"4.5\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1996-01-01"}, {"question": "When was Dudley Moore up for an Academy Award as a Best Actor nominee?", "choices": ["2000-09-06", "2012-12-31", "2240", "2002-04-17", "2003-07-01", "1923-01-01", "1981-01-01", "1887", "1855-12-03", "2011-06-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dudley Moore"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dudley Moore\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981-01-01"}, {"question": "Which neighborhood with an elevation other than 430 meters is lowest, relative to sea level?", "choices": ["Hollywood", "Roxbury", "Van Nuys", "Sherman Oaks", "Northridge", "San Pedro", "Encino", "Monte Carlo", "Pacific Palisades", "Woodland Hills"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "430 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"430\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Pedro"}, {"question": "Who is the person with ISNI 0000 0000 7693 1339?", "choices": ["John C. Reilly", "Matt Hubbard", "Sharon Osbourne", "Richard Gere", "Joe Walsh", "Adolf Hitler", "Michael J. Fox", "Ralph Bellamy", "William Henry Harrison", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7693 1339"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7693 1339\" .  }", "answer": "Joe Walsh"}, {"question": "What person has the Munzinger IBA 00000020340?", "choices": ["William Henry Harrison", "Sylvester Stallone", "Ryan Gosling", "David Cronenberg", "Richard Gere", "Donald Trump", "Max Fleischer", "William Fichtner", "Stephen Moyer", "Ben Harper"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020340"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020340\" .  }", "answer": "David Cronenberg"}, {"question": "What is the language associated with http://www.goldenglobes.com, the official website of an award that was nominated to Cars 2 (the movie that was released in Indonesia among other places) ?", "choices": ["Czech", "multiple languages", "French", "Thai", "National language of Republic of China", "Albanian", "Hindi", "Polish", "Yaqui", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indonesia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cars 2"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.goldenglobes.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Cars 2\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Indonesia\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.goldenglobes.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Grays Harbor County or Whatcom County have the larger land area?", "choices": ["Spokane County", "Whatcom County", "Okanogan County", "Grays Harbor County", "King County", "Douglas County", "San Juan County", "Snohomish County", "Pierce County", "Yakima County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grays Harbor County"]}, {"function": "Find", "dependencies": [], "inputs": ["Whatcom County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Grays Harbor County\" .  } UNION { ?e <pred:name> \"Whatcom County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Whatcom County"}, {"question": "Of all neighborhoods that are not exactly 5200 meters above sea level, which is highest in elevation?", "choices": ["Van Nuys", "Sherman Oaks", "Astoria", "Pacific Palisades", "Encino", "Hollywood", "Woodland Hills", "Roxbury", "Monte Carlo", "Northridge"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "5200 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5200\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Northridge"}, {"question": "Which movie was released in Argentina titled The House of Mirth?", "choices": ["The Weather Man", "Rebecca", "Pleasantville", "Inception", "Talk to Her", "Terminator 2: Judgment Day", "Sunset Boulevard", "A Prairie Home Companion", "The House of Mirth", "We Need to Talk About Kevin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Argentina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "The House of Mirth"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Argentina\" .  ?e <title> ?pv . ?pv <pred:value> \"The House of Mirth\" .  }", "answer": "The House of Mirth"}, {"question": "How many neighborhoods are in the USA?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "18"}, {"question": "What is the relationship between St. Louis County (the one whose area is 17767 square kilometre) and Duluth?", "choices": ["collection", "replaced by", "lyrics by", "talk show guest", "kit supplier", "studies", "executive producer", "official language", "twinned administrative body", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Louis County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "17767 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Duluth"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St. Louis County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"17767\"^^xsd:double . ?e_2 <pred:name> \"Duluth\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "Does Lahore or Suzhou have the higher elevation?", "choices": ["Dundee", "Chihuahua", "Suzhou", "Kingston", "Abidjan", "Trieste", "Cork", "Lahore", "Kilkenny", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lahore"]}, {"function": "Find", "dependencies": [], "inputs": ["Suzhou"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lahore\" .  } UNION { ?e <pred:name> \"Suzhou\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lahore"}, {"question": "Tell me the person that has the Iconclass notation of 98C(JULIA)7.", "choices": ["William Henry Harrison", "Dante Alighieri", "F. Murray Abraham", "Ludwig von Mises", "Richard Gere", "Karl Urban", "Julia", "Napoleon", "Stevie Wonder", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "98C(JULIA)7"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"98C(JULIA)7\" .  }", "answer": "Julia"}, {"question": "How is Lenny Bruce related to Jewish people?", "choices": ["next lower rank", "official symbol", "ethnic group", "has part", "chairperson", "material used", "does not have part", "commissioned by", "official color", "found"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lenny Bruce"]}, {"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lenny Bruce\" . ?e_2 <pred:name> \"Jewish people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which area is smaller, Fond du Lac County or Columbia County (the one whose population is 56653)?", "choices": ["Columbia County", "Washington County", "Waukesha County", "Fond du Lac County", "Polk County", "Pierce County", "Jackson County", "Jefferson County", "Wood County", "La Crosse County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fond du Lac County"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "56653", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fond du Lac County\" . } UNION { ?e <pred:name> \"Columbia County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"56653\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fond du Lac County"}, {"question": "What's the nature of the relation between Mahesh Bhatt and Milan, published in 1995-01-01?", "choices": ["official symbol", "director", "legislative body", "position held", "language of work or name", "characters", "architectural style", "diplomatic relation", "officeholder", "professorship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milan"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1995-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Mahesh Bhatt"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Milan\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1995-01-01\"^^xsd:date . ?e_2 <pred:name> \"Mahesh Bhatt\" . ?e_1 ?p ?e_2 .  }", "answer": "director"}, {"question": "What is cast member Mark Williams' (the one that wins Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture) character role in the work Harry Potter and the Prisoner of Azkaban (the one whose duration is 136 minute)?", "choices": ["Arthur Weasley", "Mulan", "Penguin", "Man in Black", "Bedivere", "Brain", "Bree Van de Kamp", "Ben Urich", "Itzhak Stern", "Inspector Clouseau"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Prisoner of Azkaban"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "136 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Williams"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harry Potter and the Prisoner of Azkaban\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"136\"^^xsd:double . ?e_2 <pred:name> \"Mark Williams\" . ?e_3 <winner> ?e_2 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Arthur Weasley"}, {"question": "How many Virginia counties were established before 1653 or after 1744?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1653", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Virginia"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1744", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Virginia"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1653 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1744 ) .  } }", "answer": "9"}, {"question": "Is 30 Days of Night or the silent film Waterloo longer in duration?", "choices": ["Waterloo", "30 Days of Night", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Talk to Her", "The Towering Inferno", "Training Day", "The Fifth Element", "Pleasantville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["30 Days of Night"]}, {"function": "Find", "dependencies": [], "inputs": ["silent film"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Waterloo"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"30 Days of Night\" .  } UNION { ?e <pred:name> \"Waterloo\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"silent film\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Waterloo"}, {"question": "How is the 2-season Crash related to the Crash that was an Academy Award nominee for Best Writing, Original Screenplay?", "choices": ["commander of", "replaced by", "official language", "noble title", "based on", "twinned administrative body", "cast member", "member of", "organisation directed from the office or person", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "2", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Crash\" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2\"^^xsd:double . ?e_2 <pred:name> \"Crash\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "Which has more cost, The Book of Eli or The Incredible Hulk distributed by Sony Pictures?", "choices": ["Pleasantville", "Rebecca", "The Fifth Element", "The Incredible Hulk", "Training Day", "Curse of the Golden Flower", "Talk to Her", "The Book of Eli", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Book of Eli"]}, {"function": "Find", "dependencies": [], "inputs": ["Sony Pictures"]}, {"function": "Relate", "dependencies": [1], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Incredible Hulk"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Book of Eli\" .  } UNION { ?e <pred:name> \"The Incredible Hulk\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Sony Pictures\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Incredible Hulk"}, {"question": "When was Quo Vadis (the one that was nominated for Academy Award for Best Film Editing) nominated for Academy Award for Best Picture ?", "choices": ["2000-03-15", "1995-04-19", "1984-12-01", "2003-02-19", "1936", "1867-12-03", "1951-01-01", "2015-10-28", "2006-07-01", "1420"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Quo Vadis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Quo Vadis\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Film Editing\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1951-01-01"}, {"question": "What is the elevation (above sea level) of Morgantown?", "choices": ["75 metre", "305 metre", "114 metre", "371 foot", "234 metre", "73 metre", "256 metre", "96 metre", "13 foot", "293 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morgantown"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Morgantown\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "293 metre"}, {"question": "Does FIPS 6-4 (US counties) code 51131 correspond to the Pennsylvania county containing Harrisburg ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harrisburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["51131"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Harrisburg\" .  ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"51131\" .  }", "answer": "no"}, {"question": "Which area has lower elevation above sea level, Busan or Alexandria (the one whose population is 4532174)?", "choices": ["Alexandria", "Basra", "Tianjin", "Barcelona", "Gibraltar", "Odessa", "\u0130zmir", "Fremantle", "Joan Collins", "Busan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Busan"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "4532174", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Busan\" . } UNION { ?e <pred:name> \"Alexandria\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4532174\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alexandria"}, {"question": "How many cable channels were either established after 1988 or on 1981-08-01?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1988", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cable channel"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["inception", "1981-08-01", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["cable channel"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1988 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:date> \"1981-08-01\"^^xsd:date .  } }", "answer": "3"}, {"question": "How many sport disciplines whose IPTC Newscode is mediatopic/20000951?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20000951"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sport discipline"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport discipline\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000951\" .  }", "answer": "1"}, {"question": "What role does Paul Shaffer do the voice acting in the comedy-drama Hercules?", "choices": ["Kekata", "Randle McMurphy", "Johnny Ringo", "Conan O'Brien", "Brittany Pierce", "Mason Verger", "Hermes", "Apu Nahasapeemapetilon", "Jumba Jookiba", "Scrum"], "program": [{"function": "Find", "dependencies": [], "inputs": ["comedy-drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Paul Shaffer"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hercules\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"comedy-drama\" . ?e_2 <pred:name> \"Paul Shaffer\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Hermes"}, {"question": "Is the date of birth of the person who resides in Passaic in the year 1948?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Passaic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1948", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Passaic\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> 1948 .  }", "answer": "yes"}, {"question": "Which has more people, Varanasi or Lagos?", "choices": ["Chihuahua", "Bergen", "Santo Domingo", "Abidjan", "Trieste", "Kingston", "Varanasi", "Lagos", "Cork", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Varanasi"]}, {"function": "Find", "dependencies": [], "inputs": ["Lagos"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Varanasi\" .  } UNION { ?e <pred:name> \"Lagos\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lagos"}, {"question": "Who was a voice actor in Where the Wild Things Are, which had Catherine O'Hara as a voice actor and Catherine Keener as a cast member?", "choices": ["Sun", "Natalya Kaznacheeva", "Vsevolod Kuznetsov", "NED", "Eric Victor Burdon", "19268", "Henri Ebstein", "363 degree Celsius", "18724000000 United States dollar", "40.315 kilometre per hour"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catherine O'Hara"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Where the Wild Things Are"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Catherine Keener"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "voice actor"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Where the Wild Things Are\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Catherine O'Hara\" . ?e_2 <pred:name> \"Catherine Keener\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <voice_actor> ?qpv .  }", "answer": "Natalya Kaznacheeva"}, {"question": "What is the CANTIC-ID of the person whose ISNI is 0000 0001 1455 8441?", "choices": ["a11024203", "a1182749x", "a11115270", "a11465347", "a12236299", "a1160217x", "a11419908", "a11649161", "a11704408", "a11955132"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1455 8441"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1455 8441\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a12236299"}, {"question": "Who was the Braveheart BAFTA nominee for Best Direction?", "choices": ["Mel Gibson", "Cotton Warburton", "Ren\u00e9e Zellweger", "Allan Starski", "Simon Thompson", "Alberto Grimaldi", "Stacey Sher", "Andrew Stanton", "Robert O. Cook", "Donna Gigliotti"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Direction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Braveheart"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Braveheart\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"BAFTA Award for Best Direction\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Mel Gibson"}, {"question": "How is The Exorcist connected to Mexico?", "choices": ["connects with", "update method", "allegiance", "film release region", "academic degree", "diplomatic relation", "manufacturer", "mascot", "film crew member", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Exorcist"]}, {"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Exorcist\" . ?e_2 <pred:name> \"Mexico\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "The visual artwork subsequent to Superman III was released in what location on 1987-07-24?", "choices": ["Latvia", "58th Berlin International Film Festival", "Europe", "Panama", "Kuwait", "Bolivia", "Kingdom of the Netherlands", "New York", "Park City", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman III"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1987-07-24", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"Superman III\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1987-07-24\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What US City is the birthplace of the person who has pseudonym of Chris Lova Lova?", "choices": ["Haverhill", "Bloomington", "Champaign", "Denver", "La Crosse", "Grants Pass", "Portland", "Long Branch", "East St. Louis", "Downey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Chris Lova Lova"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"Chris Lova Lova\" .   }", "answer": "Champaign"}, {"question": "What is the native-language name of someone whose ISNI is 0000 0003 6859 9630 ?", "choices": ["Grey Griffin", "Laura Dern", "Joseph Michael Schenck", "Douglas MacArthur", "Kevin Smith", "Ozzy Osbourne", "Peter MacNicol", "Bruce Campbell", "Bette Davis", "Michael Mann"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6859 9630"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6859 9630\" . ?e <name_in_native_language> ?pv .  }", "answer": "Ozzy Osbourne"}, {"question": "What is the relationship between A Bug's Life (the one whose game mode is single-player video game) and single-player video game?", "choices": ["licensed to broadcast to", "candidacy in election", "interested in", "game mode", "destination point", "drug used for treatment", "employer", "set in period", "writing system", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Bug's Life"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A Bug's Life\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"single-player video game\" . ?e_2 <pred:name> \"single-player video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "What is the connection between coconut milk to manganese?", "choices": ["dissertation submitted to", "contributor(s) to the creative work", "material used", "nutrient", "voice actor", "famous people", "dialect of", "product or material produced", "has edition", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["coconut milk"]}, {"function": "Find", "dependencies": [], "inputs": ["manganese"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"coconut milk\" . ?e_2 <pred:name> \"manganese\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "What is the official website of The Others?", "choices": ["http://www.australiamovie.com", "http://cincinnati.reds.mlb.com", "http://www.cambuur.nl/", "http://www.nba.com/heat/", "http://www.miramax.com/movie/the-others", "http://www.robbiewilliams.com", "http://www.fdlco.wi.gov", "http://www.thewb.com/shows/veronica-mars", "http://www.belgianfootball.be/", "https://www.nottscountyfc.co.uk/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Others"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Others\" . ?e <official_website> ?pv .  }", "answer": "http://www.miramax.com/movie/the-others"}, {"question": "Was the 80-minute long For Girls not published in 2008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Girls"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "80 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2008", "!="]}], "sparql": "ASK { ?e <pred:name> \"Girls\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"80\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  }", "answer": "yes"}, {"question": "How is Liverpool (multiplayer video game mode) related to sports video game?", "choices": ["nutrient", "office held by head of state", "has contributing factor", "basic form of government", "parent organization", "lyrics by", "published in", "genre", "contains administrative territorial entity", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["sports video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Liverpool\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"multiplayer video game\" . ?e_2 <pred:name> \"sports video game\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which movie is titled \u72c4\u4ec1\u6770\u4e4b\u901a\u5929\u5e1d\u56fd ?", "choices": ["A Prairie Home Companion", "Pleasantville", "The Sixth Sense", "The Merry Widow", "3 Idiots", "Bedazzled", "Detective Dee and the Mystery of the Phantom Flame", "Rebecca", "The Silence of the Lambs", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u72c4\u4ec1\u6770\u4e4b\u901a\u5929\u5e1d\u56fd"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"\u72c4\u4ec1\u6770\u4e4b\u901a\u5929\u5e1d\u56fd\" .  }", "answer": "Detective Dee and the Mystery of the Phantom Flame"}, {"question": "Did the person with the Twitter username of GhostPanther start working after 1987?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "GhostPanther"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1987", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"GhostPanther\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) .  }", "answer": "yes"}, {"question": "What person is a citizen of the Kingdom of Italy (that succeeds the Kingdom of Sardinia) and has BMLO r1588?", "choices": ["Rahul Dev Burman", "Simon Cowell", "Max Fleischer", "Giuseppe Verdi", "James E. Reilly", "David Byrne", "Gioachino Rossini", "William Henry Harrison", "Richard Gere", "Benito Mussolini"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Sardinia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Italy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["BMLO", "r1588"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"Kingdom of Italy\" . ?e_1 <follows> ?e_2 . ?e_2 <pred:name> \"Kingdom of Sardinia\" .  ?e <BMLO> ?pv . ?pv <pred:value> \"r1588\" .  }", "answer": "Gioachino Rossini"}, {"question": "When was 425,363 the total population count for a county of Washington that contains the administrative division called Vancouver (the one whose WOEID is 2511258) ?", "choices": ["1895", "1453-12-01", "2001-08-22", "1982-03-29", "2000-01-19", "2007-06-01", "1919-01-01", "2010-11-17", "2010-04-01", "2003-04-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vancouver"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "2511258"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Washington"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "425363", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Vancouver\" . ?e_1 <WOEID> ?pv_1 . ?pv_1 <pred:value> \"2511258\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"425363\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What music has an IAB code of 344?", "choices": ["country pop", "soft rock", "art punk", "progressive house music", "psychedelic soul", "hard rock", "psychedelic trance", "children's music", "drum and bass", "power metal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "344"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"344\" .  }", "answer": "children's music"}, {"question": "What is the Libris-URI of the human that won an MTV Video Music Award for Best Male Video in 1986?", "choices": ["31fhkn7m27dm7lv", "31fjn1dm43rsjfp", "rp3520m91f4fp46", "97mqwfft540blkk", "64jlgg5q502wmgq", "vs69hcjd5550d4c", "qn2591t858fdcnp", "64jln1nq2xrb4kg", "97mpq85t18vjcm0", "0xbdd4gj0pg6l0l"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Male Video"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1986", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"MTV Video Music Award for Best Male Video\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1986 . ?e <Libris-URI> ?pv .  }", "answer": "97mqwfft540blkk"}, {"question": "Which website represents the person who has 13150 followers for her Twitter username, OliviadAbo ?", "choices": ["http://www.corkcoco.ie/", "http://www.mammootty.com/", "http://www.thehungergamesmovie.com/", "http://www.cookingvinyl.com/", "https://www.metallica.com/releases/albums/release-4213.html", "http://www.bath.ac.uk/", "http://www.themummy.com/", "http://www.oliviadabo.net", "http://www.theconstantgardener.com/", "http://www.ontarioliberal.ca/fr/Default.aspx"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "OliviadAbo"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "13150", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"OliviadAbo\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"13150\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.oliviadabo.net"}, {"question": "Which university has fewer students, Tennessee State University or University of Minnesota?", "choices": ["North Carolina Agricultural and Technical State University", "Tennessee State University", "Iowa State University", "Montana State University - Bozeman", "Kansas State University", "North Dakota State University", "University of Minnesota", "Virginia Tech", "University of Arkansas", "University of Idaho"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tennessee State University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Minnesota"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tennessee State University\" .  } UNION { ?e <pred:name> \"University of Minnesota\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tennessee State University"}, {"question": "Was Grammy Award for Best Spoken Word Album for Children created in a year other than 1771 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Spoken Word Album for Children"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1771", "!="]}], "sparql": "ASK { ?e <pred:name> \"Grammy Award for Best Spoken Word Album for Children\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1771 ) .  }", "answer": "yes"}, {"question": "What is Colin Farrell's role in Total Recall released in Norway?", "choices": ["Brutish Guard", "Douglas Quail", "Ian Malcolm", "Jerry Seinfeld", "Morpheus", "A.J. Frost", "Legolas", "Lara Croft", "Dum Dum Dugan", "Cinna"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norway"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Total Recall"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Colin Farrell"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Total Recall\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Norway\" . ?e_2 <pred:name> \"Colin Farrell\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Douglas Quail"}, {"question": "Which movie features Liev Schreiber and cost less than 250000000 United States dollar to make?", "choices": ["X-Men Origins: Wolverine", "Cape Fear", "The Hunchback of Notre Dame", "Chuck", "Rebecca", "The Guard", "A Prairie Home Companion", "Salt", "The Last King of Scotland", "The Hurricane"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liev Schreiber"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["cost", "250000000 United States dollar", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Liev Schreiber\" .  ?e <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"250000000\"^^xsd:double ) .  }", "answer": "Salt"}, {"question": "What is the relationship between The Sorcerer's Aprentice, with bass drum instrumentation, and glockenspiel?", "choices": ["based on", "office held by head of state", "instrumentation", "place of burial", "genre", "cause of death", "designed by", "seed team", "lowest point", "replaced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bass drum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrumentation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sorcerer's Apprentice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["glockenspiel"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sorcerer's Apprentice\" . ?e_1 <instrumentation> ?e_3 . ?e_3 <pred:name> \"bass drum\" . ?e_2 <pred:name> \"glockenspiel\" . ?e_1 ?p ?e_2 .  }", "answer": "instrumentation"}, {"question": "What is the association of Manitoba with Minnesota (that is the birthplace of Edward Kitsis)?", "choices": ["make-up artist", "director/manager", "shares border with", "location of final assembly", "country of origin", "has edition", "dissertation submitted to", "time period", "notable people with this condition", "health specialty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manitoba"]}, {"function": "Find", "dependencies": [], "inputs": ["Edward Kitsis"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Manitoba\" . ?e_2 <pred:name> \"Minnesota\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Edward Kitsis\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Does the currency known by at PermID of 500269 not have a value of 0.1 United States dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "500269"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["currency"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["price"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0.1 United States dollar", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"currency\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"500269\" . ?e <price> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0.1\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is John Huston's Libris-URI?", "choices": ["vs6888qd42r4qlr", "qn259ph84vk5pfq", "jgvz38r253kxwps", "qn245zj82gvb84s", "86lpsnxs47m2939", "vs6892bd4fzg2dq", "qn25czf84lbgxf6", "75kns45r4jzwj1s", "97mqwwst5l0x29f", "64jmqzpq4tvgktm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Huston"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Huston\" . ?e <Libris-URI> ?pv .  }", "answer": "jgvz38r253kxwps"}, {"question": "What is the connection between Four Rooms to Roald Dahl?", "choices": ["creator", "model item", "family name", "interested in", "depicts", "conflict", "instrumentation", "practiced by", "participant", "screenwriter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Four Rooms"]}, {"function": "Find", "dependencies": [], "inputs": ["Roald Dahl"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Four Rooms\" . ?e_2 <pred:name> \"Roald Dahl\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "How many taxonomic ranks are the taxon ranks of Pyrus and have the OSM tag or key Key:species?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pyrus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["taxon rank", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["taxonomic rank"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OSM tag or key", "Key:species"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["taxonomic rank"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"taxonomic rank\" . ?e_1 <taxon_rank> ?e . ?e_1 <pred:name> \"Pyrus\" .  ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Key:species\" .  }", "answer": "0"}, {"question": "Where was Cry Freedom published in 1988-02-25?", "choices": ["Ireland", "Australia", "Taormina Film Fest", "Hungary", "Beverly Hills", "Cannes Film Festival", "Hong Kong", "Egypt", "European Union", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cry Freedom"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1988-02-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cry Freedom\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1988-02-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What visual artwork is titled Get Shorty?", "choices": ["Pleasantville", "Alaska", "Talk to Her", "Get Shorty", "2010: The Year We Make Contact", "Aurora", "A Prairie Home Companion", "Thelma & Louise", "Sikkim", "Catch Me If You Can"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Get Shorty"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Get Shorty\" .  }", "answer": "Get Shorty"}, {"question": "How many nonprofit organizations are the educational site of Macaulay Culkin and have PermID 4298499928?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macaulay Culkin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["nonprofit organization"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PermID", "4298499928"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["nonprofit organization"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"nonprofit organization\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Macaulay Culkin\" .  ?e <PermID> ?pv . ?pv <pred:value> \"4298499928\" .  }", "answer": "0"}, {"question": "What has less area, Lakewood or Evanston?", "choices": ["New Haven", "Columbus", "Greenville", "Evanston", "Compton", "Boulder", "Lansing", "Lakewood", "Franklin", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lakewood"]}, {"function": "Find", "dependencies": [], "inputs": ["Evanston"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lakewood\" .  } UNION { ?e <pred:name> \"Evanston\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lakewood"}, {"question": "How many schools of law were founded earlier than 1901?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1901", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1901 ) .  }", "answer": "17"}, {"question": "At what  point in time is 526714 the population of the administration territorial entity containing Saint Paul?", "choices": ["1378", "1350-01-01", "2013-07-01", "1940-04-01", "2014-04-10", "2012-07-04", "1903-03-02", "1000-01-01", "1936-12-01", "1915-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Paul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "526714", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Saint Paul\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"526714\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "Which area is larger, County Waterford or County Mayo?", "choices": ["County Dublin", "County Limerick", "County Donegal", "County Waterford", "County Kilkenny", "County Monaghan", "County Galway", "County Sligo", "County Mayo", "County Tipperary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Waterford"]}, {"function": "Find", "dependencies": [], "inputs": ["County Mayo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Waterford\" .  } UNION { ?e <pred:name> \"County Mayo\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "County Mayo"}, {"question": "Is 0000 0000 7982 3122 the ISNI of the person who is a cast member in the character role of Cutler Beckett in Pirates of the Caribbean: At World's End (that originates in the United States of America) (the character role of this statement is Cutler Beckett)", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: At World's End"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Cutler Beckett"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["0000 0000 7982 3122"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Pirates of the Caribbean: At World's End\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Cutler Beckett\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7982 3122\" .  }", "answer": "no"}, {"question": "For Taxi Driver (that has a narrative location of Mumbai), is the title exactly Anger Management?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mumbai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taxi Driver"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Anger Management"]}], "sparql": "ASK { ?e <pred:name> \"Taxi Driver\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Mumbai\" .  ?e <title> ?pv . ?pv <pred:value> \"Anger Management\" .  }", "answer": "no"}, {"question": "Andy Williams of Doncaster Rovers F.C. scored how many points in the match as a member of Bristol Rovers F.C.?", "choices": ["21", "42", "2", "6", "40", "60", "8", "46", "61", "44"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doncaster Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andy Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bristol Rovers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Andy Williams\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Doncaster Rovers F.C.\" . ?e_2 <pred:name> \"Bristol Rovers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "8"}, {"question": "Is twitter user Metallica part of the Italian crew for The Lion King?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lion King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["film crew member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["series ordinal", "20"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["metallica"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <film_crew_member> ?e . ?e_1 <pred:name> \"The Lion King\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Italy\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <film_crew_member> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> \"20\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"metallica\" .  }", "answer": "no"}, {"question": "Which language is used on the website www.cityofinglewood.org, representing the US birth city of Tyra Banks?", "choices": ["Basque", "Indonesian", "Belgian French", "\u01c0Xam language", "English", "Corsican", "Arabic", "Yue Chinese", "Putonghua", "Hungarian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tyra Banks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cityofinglewood.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Tyra Banks\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cityofinglewood.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many plays were published sometime other than 1991?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1991", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["play"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  }", "answer": "10"}, {"question": "What is the number of Italian provinces tha tha the administrative division the city that is part of Province of Naples", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Naples"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of Italy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <part_of> ?e_3 . ?e_3 <pred:name> \"Province of Naples\" .   }", "answer": "1"}, {"question": "Douglas Adams penned which visual artwork?", "choices": ["The Hitchhiker's Guide to the Galaxy", "Stardust", "Pleasantville", "The Little Mermaid", "Rebecca", "The Count of Monte Cristo", "Crossroads", "The Portrait of a Lady", "The Three Musketeers", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas Adams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"Douglas Adams\" .   }", "answer": "The Hitchhiker's Guide to the Galaxy"}, {"question": "Who has an ISNI of 0000 0001 1885 8417?", "choices": ["Richard Gere", "Kelly Rowland", "Walter Hill", "Frank Welker", "Sylvester Stallone", "Nina Simone", "Tim Rice", "Steve McQueen", "Ian McShane", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1885 8417"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1885 8417\" .  }", "answer": "Frank Welker"}, {"question": "Was the person with Munzinger IBA 00000020884 born after 1932?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020884"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1932", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000020884\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1932 ) .  }", "answer": "yes"}, {"question": "What is the work period start of the person with ISNI 0000 0001 2145 8895?", "choices": ["1930", "1958", "1782", "1955", "1761", "1886", "1700", "1938", "1927", "2006"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2145 8895"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2145 8895\" . ?e <work_period_(start)> ?pv .  }", "answer": "1927"}, {"question": "What is the publication date of the entertainment whose distributor is Sony Interactive Entertainment ?", "choices": ["1979-07-06", "2006-11-29", "2002-11-22", "2003-07-03", "1944", "2012-05-30", "2015-03-05", "2008-04-18", "1993-07-29", "2009-09-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony Interactive Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Sony Interactive Entertainment\" .  ?e <publication_date> ?pv .  }", "answer": "2006-11-29"}, {"question": "Is The Office the title of the film that has Grey DeLisle as a voice actor?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grey DeLisle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["The Office"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Grey DeLisle\" .  ?e <title> ?pv . ?pv <pred:value> \"The Office\" .  }", "answer": "no"}, {"question": "What is the character role of Danny DeVito in Batman Returns (the one whose publication date is 1992-07-31)?", "choices": ["Penguin", "Morgan Earp", "Agent Smith", "\u00c9amon de Valera", "Felicity Shagwell", "Ares", "Kekata", "Briseis", "Daredevil", "Kenneth Parcell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Batman Returns"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1992-07-31", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Danny DeVito"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Batman Returns\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1992-07-31\"^^xsd:date . ?e_2 <pred:name> \"Danny DeVito\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Penguin"}, {"question": "Which ISNI number belongs to the person with CANTIC-ID a11031487?", "choices": ["0000 0001 1634 9627", "0000 0003 6863 5750", "0000 0001 1084 933X", "0000 0001 2321 7569", "0000 0001 1675 581X", "0000 0004 0440 4352", "0000 0001 1797 8871", "0000 0001 1632 8092", "0000 0001 1838 6026", "0000 0001 2375 2529"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11031487"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11031487\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1675 581X"}, {"question": "What is the number of miniseries that derives Confessions of a Dangerous Mind", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Confessions of a Dangerous Mind"]}, {"function": "Relate", "dependencies": [0], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Confessions of a Dangerous Mind\" .   }", "answer": "0"}, {"question": "How is Spider-Man 2, with Tobey Maguire as a cast member, related to Rosemary Harris, an alumnus of the Royal Academy of Dramatic Art?", "choices": ["cast member", "sports season of league or competition", "manufacturer", "located on astronomical location", "place of burial", "is a list of", "has effect", "military casualty classification", "twinned administrative body", "replaces"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tobey Maguire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man 2"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Royal Academy of Dramatic Art"]}, {"function": "Relate", "dependencies": [4], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rosemary Harris"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spider-Man 2\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Tobey Maguire\" . ?e_2 <pred:name> \"Rosemary Harris\" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> \"Royal Academy of Dramatic Art\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which has less area, Santa Cruz County that borders Monterey County or Tuolumne County?", "choices": ["Solano County", "Alameda County", "Tuolumne County", "Contra Costa County", "Mariposa County", "San Luis Obispo County", "Santa Cruz County", "San Mateo County", "Tulare County", "Butte County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monterey County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Cruz County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tuolumne County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Santa Cruz County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Monterey County\" .   } UNION { ?e <pred:name> \"Tuolumne County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Which band has the ISNI 0000 0001 1292 1243 and began after 1534?", "choices": ["The Pretenders", "Oregon", "Iron Maiden", "Dixie Chicks", "The Jackson 5", "Dream Theater", "The Monkees", "Funkadelic", "Faith No More", "The Hollies"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1292 1243"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1534", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1292 1243\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1534 ) .  }", "answer": "The Hollies"}, {"question": "What is Damon Albarn's date of birth?", "choices": ["1945-08-24", "1967-05-01", "1978-02-20", "1961-12-19", "1907-11-28", "1971-11-04", "1964-05-27", "1926-03-18", "1981-06-13", "1968-03-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Damon Albarn"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Damon Albarn\" . ?e <date_of_birth> ?pv .  }", "answer": "1968-03-23"}, {"question": "ISO 3166-2 code CN-32 corresponded until what date to the Chinese province that includes Suzhou?", "choices": ["1991-09-07", "2017-11-23", "1857-09-12", "1853-03-04", "1884-01-01", "1939-05-09", "1979-06-03", "1", "1990-02-04", "1941-04-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suzhou"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ISO 3166-2 code", "CN-32", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e_1 <part_of> ?e . ?e_1 <pred:name> \"Suzhou\" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"CN-32\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "2017-11-23"}, {"question": "Is the ISNI of the rock band that is a cast member of Little Women (which has David O. Selznick as an executive producer) equal to 0000 0001 2375 8787?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David O. Selznick"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Little Women"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0000 0001 2375 8787"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Little Women\" . ?e_1 <executive_producer> ?e_2 . ?e_2 <pred:name> \"David O. Selznick\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2375 8787\" .  }", "answer": "yes"}, {"question": "Which has lower elevation above sea level, Sofia or Hangzhou?", "choices": ["Trieste", "Cork", "Kingston", "Abidjan", "Bergen", "Sofia", "Kilkenny", "Hangzhou", "Chihuahua", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sofia"]}, {"function": "Find", "dependencies": [], "inputs": ["Hangzhou"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sofia\" .  } UNION { ?e <pred:name> \"Hangzhou\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hangzhou"}, {"question": "Who has less children, Rivers Cuomo or George Washington (the notable person that had smallpox)?", "choices": ["Sylvester Stallone", "Max Fleischer", "Simon Cowell", "William Henry Harrison", "Richard Gere", "Rahul Dev Burman", "Paul Simon", "James E. Reilly", "David Byrne", "George Washington"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rivers Cuomo"]}, {"function": "Find", "dependencies": [], "inputs": ["smallpox"]}, {"function": "Relate", "dependencies": [1], "inputs": ["notable people with this condition", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rivers Cuomo\" .  } UNION { ?e <pred:name> \"George Washington\" . ?e_1 <notable_people_with_this_condition> ?e . ?e_1 <pred:name> \"smallpox\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "George Washington"}, {"question": "What is the ending date that The Andy Griffith Show's color is black-and-white?", "choices": ["1763-01-01", "1889-03-04", "2015-08-05", "1998-05-18", "2012-07-14", "1954-06-18", "1883-03-14", "1965", "1988-02-28", "1862"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Andy Griffith Show"]}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["color", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Andy Griffith Show\" . ?e_2 <pred:name> \"black-and-white\" . ?e_1 <color> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <color> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1965"}, {"question": "Which movie made less money at the box office: Jackie Brown or Wreck-It Ralph?", "choices": ["Pleasantville", "Jackie Brown", "The Hunchback of Notre Dame", "Wreck-It Ralph", "Talk to Her", "Training Day", "Curse of the Golden Flower", "A Prairie Home Companion", "The Fifth Element", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bridget Fonda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wreck-It Ralph"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jackie Brown\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Bridget Fonda\" .   } UNION { ?e <pred:name> \"Wreck-It Ralph\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jackie Brown"}, {"question": "What is the WALS lect code of Welsh?", "choices": ["por", "gha", "mnd", "wel", "ger", "rom", "kug", "mhi", "hin", "pan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Welsh"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["WALS lect code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Welsh\" . ?e <WALS_lect_code> ?pv .  }", "answer": "wel"}, {"question": "What is the connection between Modena F.C. to Italy?", "choices": ["subsidiary", "costume designer", "ethnic group", "statistical leader", "place of burial", "award disciplines or subjects", "narrator", "production company", "facet of", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Modena F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Modena F.C.\" . ?e_2 <pred:name> \"Italy\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which US town's official website is http://newtontownhall.com/?", "choices": ["Amherst", "Newton", "Westport", "Morristown", "Chapel Hill", "Brookline", "Bedford", "Kensington", "Greenwich", "Ridgefield"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://newtontownhall.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://newtontownhall.com/\" .  }", "answer": "Newton"}, {"question": "Does the longer run-time belong to Sony Pictures' production of Ghost Rider or to Yentl?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion", "Yentl", "Training Day", "Pleasantville", "Talk to Her", "Ghost Rider"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ghost Rider"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Yentl"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ghost Rider\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Sony Pictures\" .   } UNION { ?e <pred:name> \"Yentl\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Yentl"}, {"question": "What disease was the cause of death of the person with the ISNI of 0000 0001 1496 3797?", "choices": ["prostate cancer", "skin cancer", "attention deficit hyperactivity disorder", "lymphoma", "Parkinson disease", "myocardial infarction", "respiratory failure", "lung cancer", "pulmonary embolism", "liver failure"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1496 3797"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cause of death", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["disease"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1496 3797\" .   }", "answer": "skin cancer"}, {"question": "Which movie is shorter, Immortals or North?", "choices": ["Rebecca", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "Immortals", "The Towering Inferno", "A Prairie Home Companion", "North"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Immortals"]}, {"function": "Find", "dependencies": [], "inputs": ["North"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Immortals\" .  } UNION { ?e <pred:name> \"North\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "North"}, {"question": "Tony Thomas of Everton F.C. has what connection to Tranmere Rovers F.C.?", "choices": ["significant person", "drug used for treatment", "game mode", "has cause", "distribution", "member of sports team", "partially contains", "contributor(s) to the creative work", "rector", "continent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everton F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tranmere Rovers F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tony Thomas\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Everton F.C.\" . ?e_2 <pred:name> \"Tranmere Rovers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the ISNI of the person who is the spouse of Johnny Cash?", "choices": ["0000 0000 9637 0671", "0000 0003 6859 2308", "0000 0001 1944 8612", "0000 0001 1442 8495", "0000 0000 7293 9018", "0000 0000 5927 2634", "0000 0001 0245 1364", "0000 0003 6847 6198", "0000 0000 6742 8758", "0000 0000 5939 1078"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johnny Cash"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Johnny Cash\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 7293 9018"}, {"question": "Among the county of Ireland that is an administrative division of Ireland (the one whose population is 4588252), which one has the smallest area ?", "choices": ["County Tipperary", "County Kildare", "County Clare", "County Mayo", "County Sligo", "County Wicklow", "County Donegal", "County Dublin", "County Kerry", "County Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4588252", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Ireland"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Ireland\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4588252\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Dublin"}, {"question": "Which person, Nancy Marchand or Ozzy Osbourne, has fewer kids?", "choices": ["David Byrne", "Ozzy Osbourne", "James E. Reilly", "William Henry Harrison", "Rahul Dev Burman", "Sylvester Stallone", "Nancy Marchand", "Paul Simon", "Max Fleischer", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ozzy Osbourne"]}, {"function": "Find", "dependencies": [], "inputs": ["Nancy Marchand"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ozzy Osbourne\" .  } UNION { ?e <pred:name> \"Nancy Marchand\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nancy Marchand"}, {"question": "Who is the person whose official website is http://www.tim-roth.com/ and whose name in native language is Tim Roth?", "choices": ["Rahul Dev Burman", "Paul Simon", "Babyface", "David Byrne", "Simon Cowell", "William Henry Harrison", "James E. Reilly", "Tim Roth", "Max Fleischer", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tim-roth.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "Tim Roth"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tim-roth.com/\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Tim Roth\" .  }", "answer": "Tim Roth"}, {"question": "How is baseball's Steve Howe related to the position of pitcher?", "choices": ["heritage designation", "from fictional universe", "source of income", "participant of", "position played on team / speciality", "home port", "languages spoken, written or signed", "use", "works in collection", "sexual orientation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Howe"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["pitcher"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve Howe\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"baseball\" . ?e_2 <pred:name> \"pitcher\" . ?e_1 ?p ?e_2 .  }", "answer": "position played on team / speciality"}, {"question": "How many literary awards has Terry Pratchett been nominated for?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terry Pratchett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Terry Pratchett\" .   }", "answer": "6"}, {"question": "Which has fewer students-  Indiana State University or Northeastern University", "choices": ["University of Manchester", "Panjab University", "King's College London", "Indiana State University", "Pennsylvania State University", "Presidency University", "McMaster University", "Northeastern University", "University of Tehran", "Imperial College London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indiana State University"]}, {"function": "Find", "dependencies": [], "inputs": ["Northeastern University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Indiana State University\" .  } UNION { ?e <pred:name> \"Northeastern University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Indiana State University"}, {"question": "What point in time did the higher education institution whose ISNI is 0000 0001 2288 9830 have an admission rate of 0.524?", "choices": ["1975-12-01", "2016-08-09", "2006-04-19", "2010-03-31", "1928", "2009-05-01", "2014", "1841", "2013-01-11", "1950"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2288 9830"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["admission rate", "0.524", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2288 9830\" . ?e <admission_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.524\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <admission_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014"}, {"question": "Which Twitter handle corresponds to the person who goes by teamcoco on Instagram?", "choices": ["ArizonaCoyotes", "realrobinwright", "katyperry", "jessemccartney", "ConanOBrien", "OECD", "SportingKC", "ericburdon", "KalPenn", "hannover"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "teamcoco"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"teamcoco\" . ?e <Twitter_username> ?pv .  }", "answer": "ConanOBrien"}, {"question": "The animated movie with the voice of Angela Lansbury was released in which place on 1998-04-02?", "choices": ["Kingdom of the Netherlands", "Kazakhstan", "Venezuela", "Tokyo", "Tribeca Film Festival", "Berlin", "France", "Taiwan", "Argentina", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angela Lansbury"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1998-04-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Angela Lansbury\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1998-04-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which is longer, Hyde Park on Hudson or Mystic River published on 2003-05-23?", "choices": ["Mystic River", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "The Towering Inferno", "Training Day", "The Fifth Element", "A Prairie Home Companion", "Hyde Park on Hudson", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hyde Park on Hudson"]}, {"function": "Find", "dependencies": [], "inputs": ["Mystic River"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2003-05-23", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hyde Park on Hudson\" . } UNION { ?e <pred:name> \"Mystic River\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2003-05-23\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mystic River"}, {"question": "what is the number of people that has a height not exactly 1.8 m and that has a Twitter username nicolerichie", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "1.8 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "nicolerichie"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <height> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.8\"^^xsd:double ) . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"nicolerichie\" .  }", "answer": "0"}, {"question": "Was the dissolution date of the agent that had the military conflicts with North Vietnam 1970-04-10?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Vietnam"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["1970-04-10", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> \"North Vietnam\" .  ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:date> \"1970-04-10\"^^xsd:date .  }", "answer": "no"}, {"question": "When did  Victoria (the one that received Order of the Garter) is the member of Royal Society originate?", "choices": ["1965-09-18", "1883", "2015-04-10", "1861-12-10", "1936-01-01", "1838", "1948", "2015-11-27", "2007-04-20", "1996"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Order of the Garter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Victoria"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Royal Society"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Victoria\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Order of the Garter\" . ?e_2 <pred:name> \"Royal Society\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1838"}, {"question": "Does the higher season count belong to the work titled John Adams or to The Smurfs, first broadcast by NBC?", "choices": ["Batman Beyond", "The Smurfs", "The Venture Bros.", "American Dad!", "Aladdin", "Phineas and Ferb", "Robot Chicken", "Tiny Toon Adventures", "South Park", "John Adams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Adams"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "John Adams"]}, {"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Smurfs"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"John Adams\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"John Adams\" . } UNION { ?e <pred:name> \"The Smurfs\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"NBC\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Smurfs"}, {"question": "How is John Bailey (the one whose CANTIC-ID is a11706788) connected to Santa Clara University?", "choices": ["replaced by", "doctoral student", "depicts", "contains administrative territorial entity", "award disciplines or subjects", "noble title", "used by", "after a work by", "derivative work", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Bailey"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11706788"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Clara University"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Bailey\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11706788\" . ?e_2 <pred:name> \"Santa Clara University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How is Monster (the one that was nominated for National Society of Film Critics Award for Best Actress) related to biographical film?", "choices": ["record label", "official religion", "takes place in fictional universe", "genre", "operating area", "make-up artist", "update method", "has dialect (DEPRECATED)", "nutrient", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Monster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["biographical film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Monster\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"National Society of Film Critics Award for Best Actress\" . ?e_2 <pred:name> \"biographical film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Is there a greater elevation above sea level in Arlington or in Fayetteville (the one whose PermID is 5035888231)?", "choices": ["Waukegan", "Greenville", "Fayetteville", "New Haven", "Compton", "Oakland", "Boulder", "Franklin", "Arlington", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arlington"]}, {"function": "Find", "dependencies": [], "inputs": ["Fayetteville"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["PermID", "5035888231"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Arlington\" . } UNION { ?e <pred:name> \"Fayetteville\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5035888231\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fayetteville"}, {"question": "Which has fewer people, Dorset (the one that shares border with Wiltshire) or Cambridgeshire (the one that shares border with Hertfordshire)?", "choices": ["West Midlands", "Essex", "Cambridgeshire", "Warwickshire", "Somerset", "Derbyshire", "Norfolk", "Cumbria", "Northumberland", "Dorset"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wiltshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dorset"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Hertfordshire"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridgeshire"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dorset\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Wiltshire\" .   } UNION { ?e <pred:name> \"Cambridgeshire\" . ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> \"Hertfordshire\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dorset"}, {"question": "When was Michael Clayton, which received a 2007 Satellite Award, nominated for a BAFTA Award for Best Original Screenplay?", "choices": ["1880-01-01", "1962-05-29", "2000-08-09", "1959-12-01", "2018-08-16", "2008", "2007-05-16", "1974-04-02", "1870", "1742-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Awards 2007"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Clayton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Clayton\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Satellite Awards 2007\" . ?e_2 <pred:name> \"BAFTA Award for Best Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2008"}, {"question": "How is Manila related to Maui County?", "choices": ["depicted by", "twinned administrative body", "sponsor", "interests", "organisation directed from the office or person", "destination point", "capital of", "history of topic", "original film format", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manila"]}, {"function": "Find", "dependencies": [], "inputs": ["Maui County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Manila\" . ?e_2 <pred:name> \"Maui County\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the relation between America's Next Top Model and the United States of America?", "choices": ["employer", "mouth of the watercourse", "organizer", "symptom of", "item operated", "candidate", "country of origin", "from fictional universe", "platform", "Wikidata property"], "program": [{"function": "Find", "dependencies": [], "inputs": ["America's Next Top Model"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"America's Next Top Model\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the number of woodwind instruments that have the famous person the person with the official website http://www.sonnyrollins.com/", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonnyrollins.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["woodwind instrument"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"woodwind instrument\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.sonnyrollins.com/\" .   }", "answer": "2"}, {"question": "What is the official website for the miniseries that is originally broadcast on Sky 1?", "choices": ["https://www.crewealex.net/", "http://www.jatimprov.go.id", "http://theofficialcharlieadler.com", "http://rickspringfield.com", "http://www.oprah.com/", "http://www.anc.org.za", "http://www.naperville.il.us", "http://www.juneallyson.com/", "http://www.norfolk.gov", "http://www.syfy.com/battlestar/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sky 1"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"Sky 1\" .  ?e <official_website> ?pv .  }", "answer": "http://www.syfy.com/battlestar/"}, {"question": "What American football team has a member named Will Smith whose position is defensive end?", "choices": ["New Orleans Saints", "New England Patriots", "Seattle Seahawks", "Philadelphia Eagles", "Carolina Panthers", "California Golden Bears football", "Chicago Bears", "Atlanta Falcons", "New York Jets", "Oklahoma Sooners football"], "program": [{"function": "Find", "dependencies": [], "inputs": ["defensive end"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Will Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["American football team"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Will Smith\" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> \"defensive end\" .   }", "answer": "New Orleans Saints"}, {"question": "What is the Hosnbostel-Sach classification for a class of instruments that saw its birth in Cuba (the one that has a citizen Al Jourgensen) ?", "choices": ["211.11", "112.1", "422.112-71", "121.2", "211.212.1", "421.221.12", "211.221.1", "111.222", "321.322-71", "321.321-6"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Jourgensen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cuba"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["class of instruments"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Hornbostel-Sachs classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Cuba\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Al Jourgensen\" .  ?e <Hornbostel-Sachs_classification> ?pv .  }", "answer": "211.221.1"}, {"question": "What is the relationship between Stanley Tucci and his relative John Krasinski?", "choices": ["grandson", "grandfather", "adopted daughter", "female first cousin", "adopted son", "husband's brother", "adoptive parent", "brother-in-law", "granddaughter", "uncle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stanley Tucci"]}, {"function": "Find", "dependencies": [], "inputs": ["John Krasinski"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["relative", "type of kinship"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Stanley Tucci\" . ?e_2 <pred:name> \"John Krasinski\" . ?e_1 <relative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e_2 ] <type_of_kinship> ?qpv .  }", "answer": "brother-in-law"}, {"question": "Which Munzinger Sport number corresponds to someone with the Instagram handle davidbeckham?", "choices": ["01000005836", "01000001131", "01000006729", "01000005121", "01000002802", "01000004405", "01000052509", "01000007033", "01000004590", "01000005016"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "davidbeckham"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger Sport number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"davidbeckham\" . ?e <Munzinger_Sport_number> ?pv .  }", "answer": "01000005016"}, {"question": "Is http://www.tampere.fi the official website of the U.S. city whose population is 28190?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "28190", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.tampere.fi"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"28190\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tampere.fi\" .  }", "answer": "no"}, {"question": "Which feature film originating in the United States of America has the longest running time?", "choices": ["The Muppets", "The Flintstones in Viva Rock Vegas", "Labyrinth", "Invincible", "Back to the Future Part II", "Pirates of the Caribbean: On Stranger Tides", "Around the World in 80 Days", "Fiddler on the Roof", "Alice in Wonderland", "Back to the Future Part III"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fiddler on the Roof"}, {"question": "What is the connection between Tony Thomas (the one that died in Burbank) to United States of America?", "choices": ["used by", "art director", "culture", "developer", "follows", "sports season of league or competition", "honorific prefix", "country of citizenship", "location", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burbank"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tony Thomas\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Burbank\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How soul music is related to Toni Braxton who is famous for jazz?", "choices": ["famous people", "director of photography", "board member", "godparent", "parent organization", "series spin-off", "partner", "notable work", "father", "office held by head of the organisation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["soul music"]}, {"function": "Find", "dependencies": [], "inputs": ["jazz"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Toni Braxton"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"soul music\" . ?e_2 <pred:name> \"Toni Braxton\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"jazz\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What television series has official website http://www.cbs.com/shows/csi/ and has more than 5 seasons?", "choices": ["CSI: Crime Scene Investigation", "The Surreal Life", "Bleak House", "The Big Bang Theory", "Robot Chicken", "Desperate Housewives", "Sesame Street", "American Horror Story", "Love of Life", "Murphy Brown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cbs.com/shows/csi/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of seasons", "5", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cbs.com/shows/csi/\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v > \"5\"^^xsd:double ) .  }", "answer": "CSI: Crime Scene Investigation"}, {"question": "How is David Mills of West Bromwich Albion F.C. related to Darlington F.C.?", "choices": ["source of material", "public holiday", "follows", "spouse", "replaces", "position played on team / speciality", "tributary", "has quality", "member of sports team", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Bromwich Albion F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Mills"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Darlington F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Mills\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"West Bromwich Albion F.C.\" . ?e_2 <pred:name> \"Darlington F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Which one has the smallest vertical depth among the seas whose vertical depth is not equal to 290 meters?", "choices": ["A.C. Ajaccio", "Green Bay", "Aegean Sea", "Adriatic Sea", "Fred Frith", "Mediterranean Sea", "Caribbean Sea", "Yavapai County", "North Sea", "English Channel"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "290 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sea"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sea\" . ?e <vertical_depth> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"290\"^^xsd:double ) . ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "English Channel"}, {"question": "What language is associated with the official website http://www.earlham.edu, belonging to the United States liberal arts college whose ISNI is 0000 0001 1960 0522?", "choices": ["Slovene", "multiple languages", "Dutch", "\u01c0Xam language", "Swedish", "English", "Albanian", "Cornish", "Atikamekw", "Romanian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1960 0522"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.earlham.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1960 0522\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.earlham.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the CANTIC-ID of the person 0000 0001 1450 5331?", "choices": ["a10791280", "a11855897", "a10099293", "a10432206", "a10929423", "a10444488", "a1200943x", "a11298613", "a11654314", "a11507779"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1450 5331"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1450 5331\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a10099293"}, {"question": "How many subscribers have the subreddit karnataka that belong to the state of India that contains Bangalore?", "choices": ["540918", "9048", "1448", "4217", "1494728", "265", "136114", "129", "25066", "480"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangalore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "karnataka", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Bangalore\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"karnataka\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "480"}, {"question": "How many Golden Globe events come after its 65th edition or are affiliated with the website www.goldenglobes.com/winners-nominees/1999?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["65th Golden Globe Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Globe Award ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.goldenglobes.com/winners-nominees/1999"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Golden Globe Award ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Globe Award ceremony\" .  { ?e <follows> ?e_1 . ?e_1 <pred:name> \"65th Golden Globe Awards\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.goldenglobes.com/winners-nominees/1999\" .  } }", "answer": "2"}, {"question": "What is Tom Stoppard's link to the 71st Academy Awards?", "choices": ["newspaper format", "student of", "statistical leader", "permanent resident of", "different from", "location", "opposite of", "award received", "operating area", "conflict"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Stoppard"]}, {"function": "Find", "dependencies": [], "inputs": ["71st Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tom Stoppard\" . ?e_2 <pred:name> \"71st Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Billy Boyd of Scotland's national football club took part in how many sessions of legislature?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scotland national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Billy Boyd"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e_1 <part_of> ?e . ?e_1 <pred:name> \"Billy Boyd\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Scotland national football team\" .   }", "answer": "0"}, {"question": "What is the connection between Tokyo Yakult Swallows to red?", "choices": ["conflict", "parent club", "interests", "mother", "subsidiary", "official color", "spouse", "replaced by", "field of this occupation", "designed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tokyo Yakult Swallows"]}, {"function": "Find", "dependencies": [], "inputs": ["red"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tokyo Yakult Swallows\" . ?e_2 <pred:name> \"red\" . ?e_1 ?p ?e_2 .  }", "answer": "official color"}, {"question": "Among the sovereign states that is an administrative division of European Union,which one has the largest mains voltage ?", "choices": ["Cyprus", "United Kingdom", "Poland", "Czech Republic", "Hungary", "Slovenia", "Spain", "Belgium", "Ireland", "Portugal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["European Union"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mains voltage", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"European Union\" .  ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cyprus"}, {"question": "How is David Krumholtz related to Queens?", "choices": ["place of birth", "parent club", "organisation directed from the office or person", "appears in the form of", "costume designer", "employer", "narrator", "professorship", "member of", "foundational text"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Krumholtz"]}, {"function": "Find", "dependencies": [], "inputs": ["Queens"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Krumholtz\" . ?e_2 <pred:name> \"Queens\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "In what language is is http://www.umt.edu, the official website for the higher education institution whose ISNI is 0000 0001 2192 5772?", "choices": ["Latin script", "Breton", "Slovak", "Esperanto", "France", "Estonian", "Modern Greek", "English", "Albanian", "Serbian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2192 5772"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.umt.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2192 5772\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.umt.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between Dead Ringers to Joe Roth (the one whose CANTIC-ID is a11437480)?", "choices": ["original network", "practiced by", "student of", "partially contains", "replaces", "child astronomical body", "executive producer", "location of final assembly", "given name", "military branch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dead Ringers"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Roth"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["CANTIC-ID", "a11437480"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dead Ringers\" . ?e_2 <pred:name> \"Joe Roth\" . ?e_2 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11437480\" . ?e_1 ?p ?e_2 .  }", "answer": "executive producer"}, {"question": "Is 400 Ray C. Hunt Drive the street address of Indiana University of Pennsylvania?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indiana University of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["400 Ray C. Hunt Drive"]}], "sparql": "ASK { ?e <pred:name> \"Indiana University of Pennsylvania\" . ?e <located_at_street_address_(DEPRECATED)> ?pv . ?pv <pred:value> \"400 Ray C. Hunt Drive\" .  }", "answer": "no"}, {"question": "Where was Godzilla (produced by  Tomoyuki Tanaka) published on 1957-01-28?", "choices": ["Quebec", "Grauman's Chinese Theatre", "Sweden", "Denmark", "Tokyo", "Panama", "Rio de Janeiro", "Brazil", "North America", "London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tomoyuki Tanaka"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Godzilla"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1957-01-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Godzilla\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Tomoyuki Tanaka\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1957-01-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "Was a person whose Libris-URI is 86lnn24s32hbk86 not born in 1773 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "86lnn24s32hbk86"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1773", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"86lnn24s32hbk86\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1773 ) .  }", "answer": "yes"}, {"question": "What does Late Show with David Letterman have to do with Hillary Clinton?", "choices": ["draft pick from school", "manufacturer", "head of state", "edition or translation of", "penalty", "collection", "Wikidata property", "contributor(s) to the creative work", "film release region", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Late Show with David Letterman"]}, {"function": "Find", "dependencies": [], "inputs": ["Hillary Clinton"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Late Show with David Letterman\" . ?e_2 <pred:name> \"Hillary Clinton\" . ?e_1 ?p ?e_2 .  }", "answer": "talk show guest"}, {"question": "Where was the visual artwork titled Life Is great published on 1998-10-23?", "choices": ["Portugal", "BFI London Film Festival", "Tokyo", "2003 Cannes Film Festival", "Stockholm", "Vietnam", "United States of America", "Philippines", "Romania", "Mexico"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Life Is great"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1998-10-23", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Life Is great\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-10-23\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "How many episodes does Rugrats TV series have?", "choices": ["656", "59", "101", "1710", "25", "4795", "91", "38", "172", "41"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rugrats"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Rugrats\" . ?e <number_of_episodes> ?pv .  }", "answer": "172"}, {"question": "When was the population of the county in California that has the FIPS 6-4 (US counties) of 06045 87766?", "choices": ["2001-11-21", "2010-07-01", "2009-04-08", "900", "2010-08-01", "1993-03-29", "1999-12-01", "1600", "2018-09-04", "2009-06-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "06045"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "87766", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"06045\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"87766\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Tell me the relationship between A.S. Nancy-Lorraine and Nancy (who is the Padua twinned administrative body)", "choices": ["contributor(s) to the creative work", "maintained by", "licensed to broadcast to", "approved by", "genre", "owner of", "film release region", "head coach", "headquarters location", "home world"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A.S. Nancy-Lorraine"]}, {"function": "Find", "dependencies": [], "inputs": ["Padua"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nancy"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A.S. Nancy-Lorraine\" . ?e_2 <pred:name> \"Nancy\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Padua\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "How many University of Oxford colleges are designated by IPv4 routing prefix 163.1.112.0/24 or ISNI 0000 0001 2232 4995?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv4 routing prefix", "163.1.112.0/24"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2232 4995"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Oxford"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" .  { ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"163.1.112.0/24\" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2232 4995\" .  } }", "answer": "2"}, {"question": "How does Jesus College (the one whose ISNI is 0000 0000 8499 2780) relate to United Kingdom?", "choices": ["draft pick from school", "legislative body", "has quality", "country", "stated in", "noble title", "designed to carry", "model item", "doctoral student", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jesus College"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8499 2780"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jesus College\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8499 2780\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the relation between artistic gymnastics and rhythmic gymnastics", "choices": ["has edition", "different from", "sex or gender", "designated as terrorist by", "discoverer or inventor", "distribution", "set in period", "stated in", "student of", "head coach"], "program": [{"function": "Find", "dependencies": [], "inputs": ["artistic gymnastics"]}, {"function": "Find", "dependencies": [], "inputs": ["rhythmic gymnastics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"artistic gymnastics\" . ?e_2 <pred:name> \"rhythmic gymnastics\" . ?e_1 ?p ?e_2 .  }", "answer": "different from"}, {"question": "Did the person with Twitter username Renner4Real start working after 1897?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Renner4Real"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1897", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Renner4Real\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1897 ) .  }", "answer": "yes"}, {"question": "Does Worcester City F.C. or Selangor FA have the lower maximum capacity?", "choices": ["Selangor FA", "Middlesbrough F.C.", "Worcester City F.C.", "S.C. Braga", "Stade Brestois 29", "Hibernian F.C.", "Preston North End F.C.", "Roda JC Kerkrade", "Zamalek SC", "C.F. Os Belenenses"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Worcester City F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Selangor FA"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["maximum capacity", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Worcester City F.C.\" .  } UNION { ?e <pred:name> \"Selangor FA\" .  } ?e <maximum_capacity> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Worcester City F.C."}, {"question": "How does the 183-minute The Count of Monte Cristo relate to France?", "choices": ["military branch", "student of", "place of death", "honorific suffix", "takes place in fictional universe", "owned by", "country of origin", "godparent", "doctoral advisor", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Count of Monte Cristo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "183 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Count of Monte Cristo\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"183\"^^xsd:double . ?e_2 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Which news broadcast without 40 seasons has the least of them?", "choices": ["Napoleonic Wars", "manufacturing", "FreeBSD", "Good Morning America", "Second Intifada", "The Daily Show", "Western Desert Campaign", "Orange", "The Colbert Report", "Today"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "40", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"40\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Colbert Report"}, {"question": "Does Hallmark Hall of Fame or Mad TV have more seasons?", "choices": ["Bleak House", "Phineas and Ferb", "Hallmark Hall of Fame", "Robot Chicken", "Dancing with the Stars", "Game of Thrones", "Mad TV", "Saturday Night's Main Event", "American Horror Story", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hallmark Hall of Fame"]}, {"function": "Find", "dependencies": [], "inputs": ["Mad TV"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hallmark Hall of Fame\" .  } UNION { ?e <pred:name> \"Mad TV\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hallmark Hall of Fame"}, {"question": "Was the person with ISNI 0000 0001 2136 3861 born in 1940?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2136 3861"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1940", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2136 3861\" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1940 .  }", "answer": "yes"}, {"question": "Who was the Toy Story 3 Academy Award nominee for Best Animated Feature?", "choices": ["Jay Cocks", "Aldo Signoretti", "Deborah Lynn Scott", "Robert Nelson Jacobs", "Dalton Trumbo", "Spencer Tracy", "Lee Unkrich", "Philippa Boyens", "Arthur Max", "Jeremy Lubbock"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toy Story 3"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Feature"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Toy Story 3\" . ?e_2 <pred:name> \"Academy Award for Best Animated Feature\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Lee Unkrich"}, {"question": "How many Grammy Awards are a list of people or have the official website of http://www.grammy.com/?", "choices": ["29", "30", "31", "32", "33", "34", "35", "36", "37", "38"], "program": [{"function": "Find", "dependencies": [], "inputs": ["human"]}, {"function": "Relate", "dependencies": [0], "inputs": ["is a list of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Grammy Award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.grammy.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Grammy Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Grammy Award\" .  { ?e <is_a_list_of> ?e_1 . ?e_1 <pred:name> \"human\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.grammy.com/\" .  } }", "answer": "29"}, {"question": "Is the publication date in the US for Alice in Wonderland, produced by The Walt Disney Company, from 2005 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Walt Disney Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2005", "<"]}], "sparql": "ASK { ?e <pred:name> \"Alice in Wonderland\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"The Walt Disney Company\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "yes"}, {"question": "Who was born on 1968-02-11?", "choices": ["Max Fleischer", "Mo Willems", "Robert Young", "Henry King", "Sylvester Stallone", "Oliver Stone", "Michel Legrand", "William Henry Harrison", "Richard Gere", "Penn Jillette"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1968-02-11", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1968-02-11\"^^xsd:date .  }", "answer": "Mo Willems"}, {"question": "How is Cliff Richard related to London which is the twinned administrative body of Mumbai?", "choices": ["original film format", "location of formation", "product or material produced", "contains settlement", "political alignment", "registered with", "significant person", "shares border with", "ethnic group", "successful candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cliff Richard"]}, {"function": "Find", "dependencies": [], "inputs": ["Mumbai"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cliff Richard\" . ?e_2 <pred:name> \"London\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Mumbai\" . ?e_1 ?p ?e_2 .  }", "answer": "location of formation"}, {"question": "What film, featuring the character Daffy Duck, received the Golden Raspberry Award for Worst Screenplay?", "choices": ["Curse of the Golden Flower", "Striptease", "Training Day", "The Fifth Element", "Pleasantville", "The Last Airbender", "Howard the Duck", "A Prairie Home Companion", "Talk to Her", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Daffy Duck"]}, {"function": "Relate", "dependencies": [3], "inputs": ["characters", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" .  ?e <characters> ?e_2 . ?e_2 <pred:name> \"Daffy Duck\" .  }", "answer": "Howard the Duck"}, {"question": "Of news shows with Irish American Stephen Colbert in the cast, which has the most seasons?", "choices": ["Android", "The Colbert Report", "Good Morning America", "Today", "manufacturing", "FreeBSD", "Napoleonic Wars", "Western Desert Campaign", "The Daily Show", "Orange"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irish Americans"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Colbert"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["news"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Stephen Colbert\" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> \"Irish Americans\" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Daily Show"}, {"question": "What is the time period that 299.99 United States dollars is the price of the video game console model whose official website is http://fr.PlayStation.com/?", "choices": ["1818-12-01", "1490", "1960", "1787", "2013-01-04", "1973", "1190", "1991-03-07", "2014-08-26", "1942-02-26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://fr.PlayStation.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["price", "299.99 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://fr.PlayStation.com/\" . ?e <price> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"299.99\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <price> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-01-04"}, {"question": "Which movie is titled Todo sobre mi madre?", "choices": ["Changeling", "Pleasantville", "A Prairie Home Companion", "The Avengers", "Talk to Her", "Rambo III", "Rebecca", "All About My Mother", "St. Louis Blues", "Annie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Todo sobre mi madre"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Todo sobre mi madre\" .  }", "answer": "All About My Mother"}, {"question": "When was the association football club whose Twitter username is fluminensefc founded?", "choices": ["1459", "1785-03-04", "1851-03-31", "1887-05-13", "1824-12-29", "1179-01-01", "1810", "1902-07-21", "1867", "1862-07-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "fluminensefc"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"fluminensefc\" . ?e <inception> ?pv .  }", "answer": "1902-07-21"}, {"question": "How many written works have the website of http://www.agathachristie.com/story-explorer/stories/death-on-the-nile-2/ or have the number of pages greater than 330?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.agathachristie.com/story-explorer/stories/death-on-the-nile-2/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of pages", "330", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.agathachristie.com/story-explorer/stories/death-on-the-nile-2/\" .  } UNION { ?e <number_of_pages> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"330\"^^xsd:double ) .  } }", "answer": "6"}, {"question": "What is the subreddit of The University of Hong Kong?", "choices": ["abstractalgebra", "nwt", "de", "CrewsCrew", "UniversityOfHongKong", "WMU", "weho", "odesa", "breakbeat", "Eau_Claire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The University of Hong Kong"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The University of Hong Kong\" . ?e <subreddit> ?pv .  }", "answer": "UniversityOfHongKong"}, {"question": "What is the relationship between Steve Earle (the one whose ISNI is 0000 0001 1472 442X) to Americana (the one whose famous people is Warren Zevon)?", "choices": ["film regional debut venue", "registered with", "work location", "honorific suffix", "distributor", "genre", "location", "captain", "headquarters location", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Earle"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1472 442X"]}, {"function": "Find", "dependencies": [], "inputs": ["Warren Zevon"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Americana"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve Earle\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1472 442X\" . ?e_2 <pred:name> \"Americana\" . ?e_2 <famous_people> ?e_3 . ?e_3 <pred:name> \"Warren Zevon\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which place has a lower unemployment rate, Lesotho or Bahrain?", "choices": ["Weimar Republic", "Cambodia", "Benin", "Samoa", "Russian Soviet Federative Socialist Republic", "Bahrain", "Socialist Federal Republic of Yugoslavia", "Kiribati", "Lesotho", "South Sudan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bahrain"]}, {"function": "Find", "dependencies": [], "inputs": ["Lesotho"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["unemployment rate", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bahrain\" .  } UNION { ?e <pred:name> \"Lesotho\" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bahrain"}, {"question": "When was the person whose ISNI is 0000 0001 0912 821X born?", "choices": ["1980-04-07", "1970-04-19", "1941-01-14", "1971-08-29", "1966-08-14", "1969-03-16", "1932-06-23", "1928-04-08", "1974-02-13", "1965-08-22"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0912 821X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0912 821X\" . ?e <date_of_birth> ?pv .  }", "answer": "1965-08-22"}, {"question": "What is the official website of Hednesford Town F.C.?", "choices": ["http://www.som.com/", "http://www.hednesfordtownfc.com", "http://pythonline.com/plugs/idle/", "http://www.rockymountnc.gov", "http://www.tcu.edu/", "http://www.sho.com/homeland", "http://www.bradford.gov.uk/", "http://www.onsoranje.nl/", "http://ci.fargo.nd.us", "http://www.square-enix.co.jp/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hednesford Town F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hednesford Town F.C.\" . ?e <official_website> ?pv .  }", "answer": "http://www.hednesfordtownfc.com"}, {"question": "Which person penned the literary work titled Frankenstein?", "choices": ["Alan Moore", "Tom Kenny", "Sylvester Stallone", "Max Fleischer", "William Henry Harrison", "Frank Miller", "Brad Jones", "Mary Shelley", "Nathaniel Hawthorne", "Joanne Woodward"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Frankenstein"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary genre"]}, {"function": "Relate", "dependencies": [2], "inputs": ["author", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <author> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"literary genre\" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> \"Frankenstein\" .   }", "answer": "Mary Shelley"}, {"question": "What is Herbert Lom's ISNI?", "choices": ["0000 0000 5937 2061", "0000 0000 8079 5958", "0000 0003 8307 0671", "0000 0001 1934 7125", "0000 0000 8113 7359", "0000 0001 2364 4624", "0000 0001 1455 8548", "0000 0001 2169 4257", "0000 0001 0871 0398", "0000 0001 1655 9392"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Herbert Lom"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Herbert Lom\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0871 0398"}, {"question": "Which movie made less at the box office, Analyze This or Nixon?", "choices": ["The Fifth Element", "Nixon", "Analyze This", "The Hunchback of Notre Dame", "Training Day", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "The Towering Inferno", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Analyze This"]}, {"function": "Find", "dependencies": [], "inputs": ["Nixon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Analyze This\" .  } UNION { ?e <pred:name> \"Nixon\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nixon"}, {"question": "How many Academy Awards ceremonies were in the US or in Bahamas (the one whose nominal GDP is 3259000000 United States dollars)  ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "Find", "dependencies": [], "inputs": ["Bahamas"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["nominal GDP", "3259000000 United States dollar", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["Academy Awards ceremony"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"Bahamas\" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"3259000000\"^^xsd:double .  } }", "answer": "2"}, {"question": "Was Ve Neill born more recently than 1858 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ve Neill"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1858", ">"]}], "sparql": "ASK { ?e <pred:name> \"Ve Neill\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1858 ) .  }", "answer": "yes"}, {"question": "What is the start date that Cologne becomes the twinned administrative body of Indianapolis?", "choices": ["1972-05-25", "1972-09-17", "1988-04-11", "1998-11-20", "2011-09-14", "1968-04-24", "1950-07-01", "1975-10-10", "1988-01-01", "1979-04-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cologne"]}, {"function": "Find", "dependencies": [], "inputs": ["Indianapolis"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cologne\" . ?e_2 <pred:name> \"Indianapolis\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1988-01-01"}, {"question": "Regarding the business that was set up in Chicago (which is the filming location of Eagle Eye), tell me its ISNI.", "choices": ["0000 0001 0668 9396", "0000 0001 1911 3644", "0000 0004 0431 9908", "0000 0004 0445 6056", "0000 0001 0859 6775", "0000 0001 1445 1281", "0000 0001 1456 2467", "0000 0001 1075 4939", "0000 0001 1551 0749", "0000 0001 1072 502X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eagle Eye"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Chicago\" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> \"Eagle Eye\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0004 0431 9908"}, {"question": "For which work was  Margaret Atwood nominated for Nebula Award for Best Novel?", "choices": ["Lemony Snicket's A Series of Unfortunate Events", "The Years of Rice and Salt", "America America", "Going My Way", "Job: A Comedy of Justice", "The Man Who Would Be King", "Who's Afraid of Virginia Woolf?", "The Client", "Pan's Labyrinth", "The Handmaid's Tale"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Margaret Atwood"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebula Award for Best Novel"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Margaret Atwood\" . ?e_2 <pred:name> \"Nebula Award for Best Novel\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Handmaid's Tale"}, {"question": "What cemetery was John F. Seitz buried at?", "choices": ["Glasnevin Cemetery", "Montmartre Cemetery", "Brompton Cemetery", "Arlington National Cemetery", "Grove Street Cemetery", "Woodlawn Cemetery", "Kensal Green Cemetery", "Hollywood Forever Cemetery", "Holy Cross Cemetery", "West Norwood Cemetery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John F. Seitz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> \"John F. Seitz\" .   }", "answer": "Holy Cross Cemetery"}, {"question": "What is the WOEID for Kabul whose demonym is Kabuli?", "choices": ["14696", "2411304", "35356", "2422344", "698064", "14605", "1922738", "1105353", "2458923", "2459618"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kabul"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Kabuli"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["WOEID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kabul\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Kabuli\" . ?e <WOEID> ?pv .  }", "answer": "1922738"}, {"question": "Who is the spouse of Swizz Beatz ?", "choices": ["Alicia Keys", "Jim Clark", "Richard Gere", "Tom Jones", "Justin Theroux", "Chris Evans", "William Henry Harrison", "Hema Malini", "Tia Carrere", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swizz Beatz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Swizz Beatz\" .   }", "answer": "Alicia Keys"}, {"question": "Does Harare or Calgary have less area?", "choices": ["Harare", "Chihuahua", "Kilkenny", "Kingston", "Cork", "Bergen", "Santo Domingo", "Trieste", "Calgary", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harare"]}, {"function": "Find", "dependencies": [], "inputs": ["Calgary"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Harare\" .  } UNION { ?e <pred:name> \"Calgary\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Calgary"}, {"question": "What does Bobby Farrelly have to do with screenwriter?", "choices": ["software engine", "officially opened by", "art director", "educated at", "candidate", "award received", "geographic distribution", "occupation", "director/manager", "industry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bobby Farrelly"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bobby Farrelly\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which movie is shorter, Tarzan (the one whose duration is 88 minute) or Renaissance (the one whose genre is neo-noir)?", "choices": ["Peter Pan", "WALL\u00b7E", "The Rescuers", "Cinderella", "Beauty and the Beast", "Lilo & Stitch", "Renaissance", "Tarzan", "Aladdin", "Shrek 2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "88 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["neo-noir"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Renaissance"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tarzan\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"88\"^^xsd:double . } UNION { ?e <pred:name> \"Renaissance\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"neo-noir\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tarzan"}, {"question": "Is the IPTC Newscode of dentistry mediatopic/20000712?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dentistry"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IPTC Newscode"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["mediatopic/20000712"]}], "sparql": "ASK { ?e <pred:name> \"dentistry\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000712\" .  }", "answer": "yes"}, {"question": "Does South Korea or South Sudan have the less inflation rate?", "choices": ["South Korea", "South Sudan", "Switzerland", "Russian Soviet Federative Socialist Republic", "People's Republic of China", "Cambodia", "Benin", "Samoa", "Socialist Federal Republic of Yugoslavia", "Kiribati"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "Find", "dependencies": [], "inputs": ["South Sudan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["inflation rate", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Korea\" .  } UNION { ?e <pred:name> \"South Sudan\" .  } ?e <inflation_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "South Korea"}, {"question": "Which is longer: Lawless or Superman II?", "choices": ["Lawless", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "The Towering Inferno", "Rebecca", "Superman II", "Pleasantville", "A Prairie Home Companion", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawless"]}, {"function": "Find", "dependencies": [], "inputs": ["Superman II"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lawless\" .  } UNION { ?e <pred:name> \"Superman II\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Superman II"}, {"question": "What is the language associated with a creative work of John F. Kennedy (the award-winning work of this statement is Profiles in Courage), that had him win an award that can be found on its official website http://www.pulitzer.org ?", "choices": ["English", "Modern Greek", "Canadian French", "Czech", "Finnish", "Punjabi", "Cook Islands M\u0101ori", "Galician", "Lithuanian", "Toki Pona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John F. Kennedy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Profiles in Courage"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.pulitzer.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"John F. Kennedy\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <for_work> ?qpv_1 . ?qpv_1 <pred:value> \"Profiles in Courage\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pulitzer.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Who won the MTV Movie Award in 1996 for their work on the movie The Craft?", "choices": ["Daryl Hannah", "Ali Larter", "Sylvester Stallone", "Mark Ruffalo", "Richard Gere", "Max Fleischer", "Chris Evans", "Christopher Lee", "William Henry Harrison", "Fairuza Balk"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1996", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Movie Awards"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "The Craft"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"MTV Movie Awards\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1996 .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"The Craft\" .  }", "answer": "Fairuza Balk"}, {"question": "To which territorial jurisdiction does http://www.thenationalleague.org.uk/, the official website of the activity that contains Ebbsfleet United F.C. as a member, apply?", "choices": ["Canada", "Tambov Oblast", "United Kingdom", "Turkey", "Kaluga Oblast", "Germany", "Luxembourg", "Chelyabinsk Oblast", "Jewish Autonomous Oblast", "Costa Rica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ebbsfleet United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["league", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.thenationalleague.org.uk/", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <league> ?e . ?e_1 <pred:name> \"Ebbsfleet United F.C.\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.thenationalleague.org.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Which language is officially used by Bangalore?", "choices": ["Irish", "Kannada", "Pashto", "Hebrew", "Bengali", "Gujarati", "Vietnamese", "Arabic", "German", "Scots"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangalore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e_1 <official_language> ?e . ?e_1 <pred:name> \"Bangalore\" .   }", "answer": "Kannada"}, {"question": "Does the big city whose NUTS code is DEE31 (the end time of this statement is 2007-12-31) have its local dialing code equal to 0240?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "DEE31"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2007-12-31", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["big city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0240"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"DEE31\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <end_time> ?qpv . ?qpv <pred:date> \"2007-12-31\"^^xsd:date . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"0240\" .  }", "answer": "no"}, {"question": "What is the work term start date of the person who is the spouse of Hayden Christensen?", "choices": ["1908", "2012", "1922", "1973", "1928", "1997", "1940", "1986", "1935", "1998"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hayden Christensen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Hayden Christensen\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1998"}, {"question": "Is Chelmsford or Beijing smaller, in terms of area?", "choices": ["Trieste", "Kingston", "Cork", "Kilkenny", "Santo Domingo", "Bergen", "Dundee", "Chihuahua", "Abidjan", "Chelmsford"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chelmsford"]}, {"function": "Find", "dependencies": [], "inputs": ["Beijing"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chelmsford\" .  } UNION { ?e <pred:name> \"Beijing\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chelmsford"}, {"question": "What does Midwest hip hop have to do with Kanye West?", "choices": ["cast member", "league", "famous people", "legislative body", "indigenous to", "office contested", "place of burial", "child", "operating system", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midwest hip hop"]}, {"function": "Find", "dependencies": [], "inputs": ["Kanye West"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Midwest hip hop\" . ?e_2 <pred:name> \"Kanye West\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "When was Harry Potter and the Order of the Phoenix, filmed in Hertfordshire, a BAFTA nominee for Best Special Visual Effects?", "choices": ["1935", "1753-01-01", "1820-01-01", "2012-09-23", "1964", "1930-01-01", "2017-04-06", "2008", "1991-03-07", "2012-12-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hertfordshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Order of the Phoenix"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Special Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harry Potter and the Order of the Phoenix\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"Hertfordshire\" . ?e_2 <pred:name> \"BAFTA Award for Best Special Visual Effects\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2008"}, {"question": "Out of California Institute of Technology or Ohio Wesleyan University, Which has more employees?", "choices": ["Ohio Wesleyan University", "California Institute of Technology", "Presidency University", "Imperial College London", "University of Tehran", "Panjab University", "University of Manchester", "Pennsylvania State University", "McMaster University", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California Institute of Technology"]}, {"function": "Find", "dependencies": [], "inputs": ["Ohio Wesleyan University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"California Institute of Technology\" .  } UNION { ?e <pred:name> \"Ohio Wesleyan University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "California Institute of Technology"}, {"question": "What is the relationship between Million Dollar Baby (the one that has Morgan Freeman as a cast member) and Jude Ciccolella?", "choices": ["place of birth", "screenwriter", "update method", "country of citizenship", "time period", "indigenous to", "cast member", "position played on team / speciality", "kit supplier", "dedicated to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morgan Freeman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Million Dollar Baby"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jude Ciccolella"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Million Dollar Baby\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Morgan Freeman\" . ?e_2 <pred:name> \"Jude Ciccolella\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many songs depict New Haven?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Haven"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["song"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"song\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"New Haven\" .   }", "answer": "0"}, {"question": "How many entities of house music were created after 1987 and are associated with famous Timbaland ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1987", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["house music"]}, {"function": "Find", "dependencies": [], "inputs": ["Timbaland"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["house music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"house music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Timbaland\" .  }", "answer": "2"}, {"question": "For which work was John Logan (the one that has the occupation of film producer) nominated for Academy Award for Best Writing, Adapted Screenplay ?", "choices": ["Arkansas\u2013Missouri border", "India\u2013Trinidad and Tobago relations", "North Korea\u2013Russia border", "Federal Republic of Central America", "Argentina\u2013Bangladesh relations", "Mexico\u2013Romania relations", "35th Academy Awards", "84th Academy Awards", "Japan-Soviet Union relations", "occupation of Smyrna"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Logan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Logan\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"film producer\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "84th Academy Awards"}, {"question": "Which has fewer episodes, Edge of Darkness (the one whose duration is 55 minute) or CBS Schoolbreak Special?", "choices": ["The Stand", "George Washington", "Edge of Darkness", "The Civil War", "The Pacific", "Battlestar Galactica", "Emma", "The Ten Commandments", "CBS Schoolbreak Special", "The Diary of Anne Frank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edge of Darkness"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "55 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["CBS Schoolbreak Special"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Edge of Darkness\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"55\"^^xsd:double . } UNION { ?e <pred:name> \"CBS Schoolbreak Special\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Edge of Darkness"}, {"question": "The visual artwork titled Man of Steel was issued on 2013-06-26 in what location?", "choices": ["Portal:Belgium", "United States of America", "Sweden", "West Germany", "Lebanon", "Tribeca Film Festival", "Stockholm", "Canada", "Washington, D.C.", "Thailand"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Man of Steel"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2013-06-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Man of Steel\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2013-06-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "Romeo & Juliet the visual artwork whose publication date is 3-13-1997, where was it published?", "choices": ["Egypt", "New York City", "worldwide", "Japan", "Canada", "R\u00e4ttvik", "Taormina Film Fest", "Germany", "Northern America", "Washington, D.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Romeo + Juliet"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1997-03-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Romeo + Juliet\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-03-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which show has fewer episodes, Hill Street Blues or America's Next Top Model?", "choices": ["America's Next Top Model", "Game of Thrones", "Hill Street Blues", "Phineas and Ferb", "Robot Chicken", "Seinfeld", "Dancing with the Stars", "Six Feet Under", "Bleak House", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hill Street Blues"]}, {"function": "Find", "dependencies": [], "inputs": ["America's Next Top Model"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hill Street Blues\" .  } UNION { ?e <pred:name> \"America's Next Top Model\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hill Street Blues"}, {"question": "Tokyo Broadcasting System Holdings was the first to air which movie?", "choices": ["Magical Girl Lyrical Nanoha", "Magic Knight Rayearth", "Splash", "2001: A Space Odyssey", "Secrets & Lies", "Grey Gardens", "Jackie Robinson", "Detroit", "Eureka Seven", "Mobile Suit Gundam SEED"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tokyo Broadcasting System Holdings"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"Tokyo Broadcasting System Holdings\" .   }", "answer": "Eureka Seven"}, {"question": "Where was Daredevil (the one whose birth name is Matthew Michael Murdock) published on 2003-03-20?", "choices": ["Canada", "Germany", "Kuwait", "Venice Film Festival", "British Hong Kong", "Ukraine", "United States of America", "Chile", "Taiwan", "Romania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daredevil"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Matthew Michael Murdock"]}, {"function": "Relate", "dependencies": [1], "inputs": ["present in work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2003-03-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> \"Daredevil\" . ?e_1 <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Matthew Michael Murdock\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2003-03-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the title of the musical composition that has the Bee Gees as a performer and the release date in 1967?", "choices": ["Radio Days", "From the Earth to the Moon", "War and Peace", "Flight", "Love Actually", "W.", "Shaun of the Dead", "Massachusetts", "Smallville", "Hoffa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bee Gees"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["publication date", "1967", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["musical composition"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical composition\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Bee Gees\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_1 ] <publication_date> ?qpv . ?qpv <pred:year> 1967 . ?e <title> ?pv .  }", "answer": "Massachusetts"}, {"question": "When did the Indiana county containing Gary of the USA have a population figure of 496005?", "choices": ["2016-06-20", "2004-12-01", "1957-01-01", "1945-12-01", "1490", "1964", "2000-05-01", "2010-04-01", "1946-04-21", "2004-03-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Indiana"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "496005", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Gary\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"496005\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Is milesdavis the Twitter username of the association football club whose official website is http://www.bocajuniors.com.ar/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bocajuniors.com.ar/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["milesdavis"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.bocajuniors.com.ar/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"milesdavis\" .  }", "answer": "no"}, {"question": "How is rock musician Brian May related to glam rock?", "choices": ["mouth of the watercourse", "said to be the same as", "geography of topic", "genre", "interests", "business division", "newspaper format", "basin country", "talk show guest", "movement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian May"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["glam rock"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brian May\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"rock music\" . ?e_2 <pred:name> \"glam rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "When did the county of Pennsylvania that is named after United States of America have a population of 44947?", "choices": ["2017-03-31", "1927", "2018-10-01", "2010-04-01", "1790", "1965-01-01", "2014-08-28", "1875", "1493", "1955-03-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "44947", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"44947\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What is the number of media franchises that has the visual artwork with official website http://www.nasinc.co.jp/jp/vampire-knight/", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nasinc.co.jp/jp/vampire-knight/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of the series", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["media franchise"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.nasinc.co.jp/jp/vampire-knight/\" .   }", "answer": "0"}, {"question": "What is the connection between Frances Marion to United States of America?", "choices": ["professional or sports partner", "territory overlaps", "lifestyle", "mother", "enclave within", "capital of", "manufacturer", "general manager", "symptom of", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frances Marion"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frances Marion\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the connection between Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series to Iain Glen?", "choices": ["winner", "sexual orientation", "language used", "subsidiary", "mother", "indigenous to", "official color", "editor", "partner", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Iain Glen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_2 <pred:name> \"Iain Glen\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Of miniseries filmed in London, where Freddie Young was born, which has the fewest episodes?", "choices": ["The Pacific", "The Civil War", "Battlestar Galactica", "The Ten Commandments", "The Diary of Anne Frank", "Roots", "Tinker Tailor Soldier Spy", "The Stand", "George Washington", "Edge of Darkness"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freddie Young"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"London\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Freddie Young\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tinker Tailor Soldier Spy"}, {"question": "Are individuals born on 1980-04-22 more than 75 inches in height?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1980-04-22", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["75 inch", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1980-04-22\"^^xsd:date . ?e <height> ?pv . ?pv <pred:unit> \"inch\" . ?pv <pred:value> ?v . FILTER ( ?v > \"75\"^^xsd:double ) .  }", "answer": "no"}, {"question": "When did the person with ISNI number 0000 0000 8442 3203 die?", "choices": ["1867-12-21", "2006-01-27", "2008-09-26", "2011-01-21", "1936-06-11", "1997-03-09", "1967-02-24", "1985-03-21", "2005-05-21", "1995-01-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8442 3203"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8442 3203\" . ?e <date_of_death> ?pv .  }", "answer": "1867-12-21"}, {"question": "Which written work was the basis of Charlie and the Chocolate Factory, nominated for an Academy Award for Best Costume Design?", "choices": ["Live and Let Die", "Charlie and the Chocolate Factory", "Contact", "The Pianist", "The Lorax", "The Hours", "Naked Lunch", "The Painted Veil", "A Single Man", "Atonement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie and the Chocolate Factory"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Charlie and the Chocolate Factory\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Costume Design\" .   }", "answer": "Charlie and the Chocolate Factory"}, {"question": "Is 4ELV7Z65AP the UNII of egg?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["egg"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["UNII"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["4ELV7Z65AP"]}], "sparql": "ASK { ?e <pred:name> \"egg\" . ?e <UNII> ?pv . ?pv <pred:value> \"4ELV7Z65AP\" .  }", "answer": "no"}, {"question": "How many diseases, within the psychiatry field of healthcare, can be treated by The Girl with the Dragon Tattoo (the one whose OCLC control number is 259742180)?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["psychiatry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["health specialty", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "Find", "dependencies": [], "inputs": ["The Girl with the Dragon Tattoo"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OCLC control number", "259742180"]}, {"function": "Relate", "dependencies": [4], "inputs": ["medical treatment", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["disease"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" .  { ?e <health_specialty> ?e_1 . ?e_1 <pred:name> \"psychiatry\" .  } UNION { ?e <medical_treatment> ?e_1 . ?e_1 <pred:name> \"The Girl with the Dragon Tattoo\" . ?e_1 <OCLC_control_number> ?pv . ?pv <pred:value> \"259742180\" .  } }", "answer": "9"}, {"question": "Who has more children, Jennifer Hale (the one whose children number is 1) or Mike Myers (the one that is the screenwriter of Austin Powers: International Man of Mystery)?", "choices": ["William Henry Harrison", "James E. Reilly", "Jennifer Hale", "Richard Gere", "David Byrne", "Sylvester Stallone", "Max Fleischer", "Paul Simon", "Rahul Dev Burman", "Mike Myers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jennifer Hale"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of children", "1", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Austin Powers: International Man of Mystery"]}, {"function": "Relate", "dependencies": [2], "inputs": ["screenwriter", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Myers"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jennifer Hale\" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } UNION { ?e <pred:name> \"Mike Myers\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Austin Powers: International Man of Mystery\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mike Myers"}, {"question": "For the Netherlands municipality with official website http://www.rotterdam.nl/, and number of households 309936, tell me its time point.", "choices": ["1929-01-01", "1965-08-01", "1650", "2011-01-01", "2010-01-15", "2016-03-31", "2013-04-11", "2005-09-12", "1939-01-01", "1846-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.rotterdam.nl/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of households", "309936", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.rotterdam.nl/\" . ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"309936\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_households> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Is John Denver the pseudonym for ther person with the ISNI of 0000 0001 2148 628X?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2148 628X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["pseudonym"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["John Denver"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2148 628X\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"John Denver\" .  }", "answer": "no"}, {"question": "What is the relationship between Lincoln (the one that was born in Belo Horizonte) and FC Schalke 04?", "choices": ["symptoms", "rector", "member of sports team", "industry", "operating system", "child", "general manager", "legal form", "platform", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belo Horizonte"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lincoln"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["FC Schalke 04"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lincoln\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"Belo Horizonte\" . ?e_2 <pred:name> \"FC Schalke 04\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Which has more box office, Back to the Future Part II or Around the World in 80 Days starring Ian McNeice?", "choices": ["Around the World in 80 Days", "The Flintstones in Viva Rock Vegas", "John Carter", "G-Force", "Old Dogs", "Back to the Future Part II", "The Muppets", "Holes", "Alvin and the Chipmunks: Chipwrecked", "The Flintstones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part II"]}, {"function": "Find", "dependencies": [], "inputs": ["Ian McNeice"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Back to the Future Part II\" .  } UNION { ?e <pred:name> \"Around the World in 80 Days\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ian McNeice\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Around the World in 80 Days"}, {"question": "What is the relationship between Athens (the one whose country is Greece) and Rio de Janeiro (the one whose population is 6476631)?", "choices": ["mouth of the watercourse", "mother", "residence", "twinned administrative body", "director of photography", "source of income", "interested in", "exported to", "organizer", "characters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Athens"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rio de Janeiro"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "6476631", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Athens\" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> \"Greece\" . ?e_2 <pred:name> \"Rio de Janeiro\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"6476631\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Who is the English-speaking screenwriter of Dog Day Afternoon?", "choices": ["William James", "Richard Gere", "Edward Albee", "Jeph Loeb", "Max Fleischer", "Magic Johnson", "Frank Pierson", "Emma Thompson", "Gene Reynolds", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dog Day Afternoon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [3], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Dog Day Afternoon\" .  ?e <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> \"English\" .  }", "answer": "Frank Pierson"}, {"question": "How is Rebecca Romijn related to X-Men distributed at United Kingdom?", "choices": ["performer", "edition or translation of", "geography of topic", "works in collection", "seed team", "part of the series", "has dialect (DEPRECATED)", "military rank", "chairperson", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film distribute region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["X-Men"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rebecca Romijn"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"X-Men\" . ?e_1 <film_distribute_region> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Rebecca Romijn\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which movie is longer, Ally McBeal or Star Trek: The Original Series?", "choices": ["Game of Thrones", "Star Trek: The Original Series", "Ally McBeal", "Dancing with the Stars", "Robot Chicken", "Six Feet Under", "American Horror Story", "Bleak House", "Saturday Night's Main Event", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ally McBeal"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Original Series"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ally McBeal\" .  } UNION { ?e <pred:name> \"Star Trek: The Original Series\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Trek: The Original Series"}, {"question": "Which profession is the work of the person whose death date is on 2004-11-24?", "choices": ["playback singer", "visual effects supervisor", "chef", "actor", "radio personality", "councillor", "film director", "accountant", "television director", "creative director"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2004-11-24", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["profession"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"2004-11-24\"^^xsd:date .   }", "answer": "creative director"}, {"question": "How many subscribers does the Charlotte Hornets, Twitter username  hornets, have?", "choices": ["42984", "891139", "317555", "7666319", "3279491", "4994", "2011", "794215", "117465", "33344"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte Hornets"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "hornets", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Charlotte Hornets\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"hornets\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "891139"}, {"question": "How many video game developers are a part of EuropaCorp and have an ISIN equal to JP3164630000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "JP3164630000"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "Find", "dependencies": [], "inputs": ["EuropaCorp"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game developer"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <ISIN> ?pv . ?pv <pred:value> \"JP3164630000\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"EuropaCorp\" .  }", "answer": "0"}, {"question": "What number of people are in the cast of Killing Them Softly?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Killing Them Softly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Killing Them Softly\" .   }", "answer": "7"}, {"question": "Which area is larger, Pas-de-Calais or Gironde?", "choices": ["Haute-Savoie", "Manche", "Alpes-Maritimes", "Calvados", "Bas-Rhin", "Vaucluse", "Seine-et-Marne", "Nord", "Somme", "Gironde"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pas-de-Calais"]}, {"function": "Find", "dependencies": [], "inputs": ["Gironde"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pas-de-Calais\" .  } UNION { ?e <pred:name> \"Gironde\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gironde"}, {"question": "What visual artwork's official website is http://www.killersfilm.com/?", "choices": ["Marley", "Red Cliff", "Killers", "Mystic River", "Twin Peaks: Fire Walk with Me", "A Prairie Home Companion", "Pleasantville", "Rebecca", "The Music Man", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.killersfilm.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.killersfilm.com/\" .  }", "answer": "Killers"}, {"question": "How was Jeremy Davies, born 10/08/1969, connected with Traverse City?", "choices": ["source of material", "official language", "contains administrative territorial entity", "place of birth", "record label", "medical condition", "instrumentation", "licensed to broadcast to", "architect", "child astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Davies"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1969-10-08", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Traverse City"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jeremy Davies\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1969-10-08\"^^xsd:date . ?e_2 <pred:name> \"Traverse City\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Tell me the association football club that is related to sports association football and that has Twitter username rccelta.", "choices": ["Zamalek SC", "Fredrikstad FK", "SV Ried", "Middlesbrough F.C.", "Feyenoord", "Dagenham & Redbridge F.C.", "Racing Club de Avellaneda", "Liga Deportiva Universitaria de Quito", "Celta Vigo", "Stade Brestois 29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "rccelta"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"association football\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"rccelta\" .  }", "answer": "Celta Vigo"}, {"question": "Which show has fewer seasons, Roots (the one that was nominated for Primetime Emmy Award for Outstanding Guest Actor in a Drama Series) or Stargate SG-1?", "choices": ["Roots", "The Civil War", "George Washington", "Battlestar Galactica", "The Stand", "Emma", "Stargate SG-1", "Edge of Darkness", "The Pacific", "The Ten Commandments"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actor in a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Roots"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Stargate SG-1"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Roots\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actor in a Drama Series\" .   } UNION { ?e <pred:name> \"Stargate SG-1\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Roots"}, {"question": "What is the subject of the statement that Michael Shannon (who uses the English language) was nominated for a Tony Award for Best Featured Actor in a Play?", "choices": ["Cuba\u2013Israel relations", "Denmark\u2013France relations", "Fiji\u2013Tonga relations", "Georgia (country)\u2013Poland relations", "Brazil\u2013Chile relations", "Grenada\u2013Trinidad and Tobago relations", "Kosovo\u2013Turkey relations", "Grenada\u2013South Korea relations", "Philippines\u2013Sri Lanka relations", "70th Tony Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Shannon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Shannon\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actor in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "70th Tony Awards"}, {"question": "What is the connection between Selena Gomez to Italian American?", "choices": ["platform", "ethnic group", "commissioned by", "sport", "update method", "narrative role", "family", "film release region", "destination point", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Selena Gomez"]}, {"function": "Find", "dependencies": [], "inputs": ["Italian American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Selena Gomez\" . ?e_2 <pred:name> \"Italian American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which university has fewer students, Brandeis University or University of Missouri?", "choices": ["McNeese State University", "Presidency University", "Panjab University", "Imperial College London", "King's College London", "Pennsylvania State University", "McMaster University", "Brandeis University", "University of Missouri", "University of Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brandeis University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Missouri"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brandeis University\" .  } UNION { ?e <pred:name> \"University of Missouri\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brandeis University"}, {"question": "Which movie is shorter, Caravaggio (the one whose title is Caravaggio) or The Specialist (the one that has Sylvester Stallone as a cast member)?", "choices": ["Talk to Her", "Pleasantville", "Training Day", "The Specialist", "The Fifth Element", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Rebecca", "Caravaggio", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caravaggio"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Caravaggio"]}, {"function": "Find", "dependencies": [], "inputs": ["Sylvester Stallone"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Specialist"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Caravaggio\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Caravaggio\" . } UNION { ?e <pred:name> \"The Specialist\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sylvester Stallone\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Caravaggio"}, {"question": "What is the relationship between Mesa (official website is https://mesa3d.org) and FreeBSD?", "choices": ["military branch", "operating system", "film crew member", "update method", "superhuman feature or ability", "replaces", "candidacy in election", "present in work", "winner", "mountain range"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mesa"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://mesa3d.org"]}, {"function": "Find", "dependencies": [], "inputs": ["FreeBSD"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mesa\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://mesa3d.org\" . ?e_2 <pred:name> \"FreeBSD\" . ?e_1 ?p ?e_2 .  }", "answer": "operating system"}, {"question": "Was Bonnie and Clyde composed by Serge Gainsbourg published in 2009?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serge Gainsbourg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bonnie and Clyde"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2009", "="]}], "sparql": "ASK { ?e <pred:name> \"Bonnie and Clyde\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Serge Gainsbourg\" .  ?e <publication_date> ?pv . ?pv <pred:year> 2009 .  }", "answer": "no"}, {"question": "How is Taken, which can be found at their official website of http://alt.tnt.tv/itw/, related to Steven Spielberg?", "choices": ["studies", "culture", "located on terrain feature", "producer", "depicts", "month of the year", "basin country", "nominated for", "next higher rank", "contains administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taken"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://alt.tnt.tv/itw/"]}, {"function": "Find", "dependencies": [], "inputs": ["Steven Spielberg"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Taken\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://alt.tnt.tv/itw/\" . ?e_2 <pred:name> \"Steven Spielberg\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "When did the producer of Love Affair (the one that is designed by Van Nest Polglase) die?", "choices": ["1852-02-21", "1964-10-15", "2002-12-25", "1999-12-12", "1969-07-05", "2012-05-29", "2018-09-27", "1900-08-25", "1983-01-01", "1773-12-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Van Nest Polglase"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Love Affair"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Love Affair\" . ?e_1 <production_designer> ?e_2 . ?e_2 <pred:name> \"Van Nest Polglase\" .  ?e <date_of_death> ?pv .  }", "answer": "1969-07-05"}, {"question": "Where was released television film produced by PBSand released at 1999-12-25?", "choices": ["Latvia", "United Kingdom", "Austria", "Belgium", "Australia", "Taormina Film Fest", "Beverly Hills", "New Amsterdam Theatre", "Bolivia", "Malaysia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1999-12-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"PBS\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1999-12-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What is the connection between Oingo Boingo to Los Angeles?", "choices": ["location of formation", "connects with", "airline hub", "chief executive officer", "signatory", "affiliation", "chairperson", "country of citizenship", "item operated", "notable people with this condition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oingo Boingo"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oingo Boingo\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "location of formation"}, {"question": "Which news has the smallest number of episodes among those that received 60th Primetime Emmy Awards?", "choices": ["FreeBSD", "Second Intifada", "manufacturing", "Good Morning America", "The Colbert Report", "Western Desert Campaign", "Orange", "Today", "The Daily Show", "Napoleonic Wars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["60th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"60th Primetime Emmy Awards\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Colbert Report"}, {"question": "Where was the visual artwork titled The A-Team published on 2010-08-12 ?", "choices": ["South Korea", "Tribeca Film Festival", "Germany", "Estonia", "Taiwan", "New Amsterdam Theatre", "Philippines", "Iceland", "Johannesburg", "Chicago"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The A-Team"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-08-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The A-Team\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-08-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many media franchises were authored by Frank Marshall who died on 1928-01-01 and that contain Son Goku?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Marshall"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1928-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["author", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["media franchise"]}, {"function": "Find", "dependencies": [], "inputs": ["Son Goku"]}, {"function": "Relate", "dependencies": [4], "inputs": ["present in work", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["media franchise"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <author> ?e_1 . ?e_1 <pred:name> \"Frank Marshall\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1928-01-01\"^^xsd:date .  ?e_2 <present_in_work> ?e . ?e_2 <pred:name> \"Son Goku\" .  }", "answer": "0"}, {"question": "Which show has more seasons, I Spy (the one whose number of seasons is 3) or Happy Days (the one that has Robin Williams as a cast member)?", "choices": ["Happy Days", "Robot Chicken", "American Horror Story", "Game of Thrones", "Bleak House", "Seinfeld", "Phineas and Ferb", "Saturday Night's Main Event", "I Spy", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Spy"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "3", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Robin Williams"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Happy Days"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"I Spy\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3\"^^xsd:double . } UNION { ?e <pred:name> \"Happy Days\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Robin Williams\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Happy Days"}, {"question": "How many people subscribe under NPR under the Twitter username of NPR?", "choices": ["217071", "7546943", "26668212", "199432", "541183", "3821569", "449", "6437", "1378", "441738"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NPR"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "NPR", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"NPR\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"NPR\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "7546943"}, {"question": "What was the work that Dmitri Shostakovich was nominated for Academy Award for Best Original Musical Score for about?", "choices": ["83rd Academy Awards", "Bangladesh\u2013Indonesia relations", "Democratic Republic of the Congo\u2013Uganda border", "Canada\u2013South Korea relations", "77th Academy Awards", "Austria\u2013Liechtenstein border", "Mozambique\u2013South Africa border", "Costa Rica\u2013Denmark relations", "European Union\u2013Tunisia relations", "34th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dmitri Shostakovich"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Musical Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dmitri Shostakovich\" . ?e_2 <pred:name> \"Academy Award for Best Original Musical Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "34th Academy Awards"}, {"question": "What is the connection between Deep Purple to psychedelic rock?", "choices": ["genre", "afflicts", "is a list of", "original network", "executive producer", "parent club", "located in the administrative territorial entity", "sponsor", "instrument", "family name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Deep Purple"]}, {"function": "Find", "dependencies": [], "inputs": ["psychedelic rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Deep Purple\" . ?e_2 <pred:name> \"psychedelic rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "When did Bermuda have a population of 57849?", "choices": ["1881", "2014-06-26", "1987", "1975-05-01", "1871", "1885", "1896", "2011-01-16", "1949-05-23", "1962"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bermuda"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "57849", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bermuda\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"57849\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1987"}, {"question": "What is the RIA Novosti reference of the literary award that was a nomination for Thomas Hardy whose occupation is poet?", "choices": ["54756131", "44730667", "39726152", "54239113", "57906872", "42596093", "54572283", "57750227", "57215154", "55428295"], "program": [{"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Hardy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary award"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["RIA Novosti reference"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Thomas Hardy\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"poet\" .  ?e <RIA_Novosti_reference> ?pv .  }", "answer": "54756131"}, {"question": "When was the death of Edgar Allan Poe, born on 1871-09-15?", "choices": ["2012-08-07", "1985-03-21", "2014-12-23", "1274-03-07", "1999-05-02", "1961-11-29", "1990-01-01", "1890-02-01", "1987-06-13", "1959-03-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edgar Allan Poe"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1871-09-15", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Edgar Allan Poe\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1871-09-15\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1961-11-29"}, {"question": "Which movie has a longer runtime, The Lookout or Out of Africa (the one that was nominated for Academy Award for Best Costume Design)?", "choices": ["Pleasantville", "Talk to Her", "Rebecca", "Curse of the Golden Flower", "Out of Africa", "The Hunchback of Notre Dame", "Training Day", "The Lookout", "The Towering Inferno", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Lookout"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Out of Africa"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Lookout\" .  } UNION { ?e <pred:name> \"Out of Africa\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Out of Africa"}, {"question": "What is the role of Milla Jovovich's character in Resident Evil (the one released in Finland) ?", "choices": ["Gus Fring", "Jack Shephard", "Alice", "Col. Eric Byer", "Barney Stinson", "Robert Goren", "Bronn", "Grace Adler", "Jack O'Neill", "Josiah Bartlet"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Resident Evil"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Milla Jovovich"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Resident Evil\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Finland\" . ?e_2 <pred:name> \"Milla Jovovich\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Alice"}, {"question": "What is the number of films that have the title New Mexico or contain Days of Thunder (that is published for PlayStation 3)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "New Mexico"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["PlayStation 3"]}, {"function": "Relate", "dependencies": [3], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Days of Thunder"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["part of the series", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" .  { ?e <title> ?pv . ?pv <pred:value> \"New Mexico\" .  } UNION { ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"Days of Thunder\" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> \"PlayStation 3\" .  } }", "answer": "2"}, {"question": "What does Bram Stoker's Dracula (whose genre is romance film) have to do with the Saturn Award for Best Director?", "choices": ["illustrator", "head coach", "presenter", "parent organization", "art director", "award received", "country of origin", "operator", "record label", "facet of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bram Stoker's Dracula"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Director"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bram Stoker's Dracula\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"romance film\" . ?e_2 <pred:name> \"Saturn Award for Best Director\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which person has Twitter username officialdfoster?", "choices": ["Sylvester Stallone", "Michael Piller", "Richard Gere", "Max Fleischer", "Dan Stevens", "Mick Jagger", "Stephen Gilchrist Glover", "Cesar Romero", "David Foster", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "officialdfoster"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"officialdfoster\" .  }", "answer": "David Foster"}, {"question": "How is Batman: Gotham Knight related to action film?", "choices": ["symptom of", "lyrics by", "connects with", "feast day", "model item", "highest judicial authority", "military branch", "cast member", "genre", "parent astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Batman: Gotham Knight"]}, {"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Batman: Gotham Knight\" . ?e_2 <pred:name> \"action film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which website represents the soccer club in the Mountain Time Zone?", "choices": ["http://www.boll-kg.de/", "http://www.zodiacmovie.com/", "http://www.thelivesofothers.com", "http://www.ci.traverse-city.mi.us/", "http://www.williamsburgva.gov/", "http://www.tnstate.edu", "http://www.clubdevo.com/", "https://www.coloradorapids.com", "http://www.tennisfame.com/", "http://www.travisbarker.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mountain Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Mountain Time Zone\" .  ?e <official_website> ?pv .  }", "answer": "https://www.coloradorapids.com"}, {"question": "Which person's birth date is 1969-02-13?", "choices": ["Erwin Rommel", "Caleb Deschanel", "Max Fleischer", "Michael McDonald", "Richard Gere", "Sylvester Stallone", "Mark Salling", "William Henry Harrison", "Ingmar Bergman", "Jennifer Carpenter"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1969-02-13", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1969-02-13\"^^xsd:date .  }", "answer": "Michael McDonald"}, {"question": "Which profession is Craig Barron in?", "choices": ["art critic", "bandleader", "High Sheriff", "seiy\u016b", "visual effects supervisor", "artist", "priest", "financier", "psychologist", "make-up artist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Craig Barron"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Craig Barron\" .   }", "answer": "visual effects supervisor"}, {"question": "Which area is smaller, Miami (the one that is the residence of Chris Cornell) or Auburn (the one that is located in Placer County)?", "choices": ["Boulder", "Auburn", "Franklin", "Columbus", "Oakland", "Compton", "Greenville", "Lansing", "New Haven", "Miami"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Cornell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Miami"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Placer County"]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Auburn"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Miami\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Chris Cornell\" .   } UNION { ?e <pred:name> \"Auburn\" . ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Placer County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Auburn"}, {"question": "How many forms of hardcore punk were established post-1987 and not in 1981?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1987", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hardcore punk"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1981", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hardcore punk"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hardcore punk\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1981 ) .  }", "answer": "4"}, {"question": "When did team member Shane Smeltz join Mansfield Town F.C.?", "choices": ["1815-07-07", "1763", "1985-07-16", "1788-05-23", "1914", "2013-08-01", "1996-02-28", "1966-09-28", "2005-01-01", "2003-12-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shane Smeltz"]}, {"function": "Find", "dependencies": [], "inputs": ["Mansfield Town F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shane Smeltz\" . ?e_2 <pred:name> \"Mansfield Town F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "What role did composer Mark Mancina play in the 88 minute long Tarzan?", "choices": ["character designer", "Justice League Heroes", "island", "lower house", "singer-songwriter", "film score composer", "songwriter", "pen name", "guitarist", "LAU 2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "88 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Mancina"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["composer", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tarzan\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"88\"^^xsd:double . ?e_2 <pred:name> \"Mark Mancina\" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "film score composer"}, {"question": "How many plucked string instruments would a pianist in the field of a harpsichordist use?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pianist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["uses", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["plucked string instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["harpsichordist"]}, {"function": "Relate", "dependencies": [3], "inputs": ["field of this occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["plucked string instrument"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"plucked string instrument\" . ?e_1 <uses> ?e . ?e_1 <pred:name> \"pianist\" .  ?e_2 <field_of_this_occupation> ?e . ?e_2 <pred:name> \"harpsichordist\" .  }", "answer": "0"}, {"question": "Which duo is represented online at www.laxmipyare.com?", "choices": ["Julie Gardner", "Grenoble", "The Water Horse", "Laxmikant-Pyarelal", "electro house", "Iftekhar", "Joseph M. Schenck", "Fear and Loathing in Las Vegas", "Houston", "Chris Paul"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.laxmipyare.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["duo"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"duo\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.laxmipyare.com/\" .  }", "answer": "Laxmikant-Pyarelal"}, {"question": "Where was Legally Blonde published on 2001-11-15?", "choices": ["Germany", "Singapore", "Grauman's Chinese Theatre", "South Africa", "2003 Cannes Film Festival", "German Democratic Republic", "Charlotte Motor Speedway", "Ukraine", "58th Berlin International Film Festival", "Bahrain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Legally Blonde"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2001-11-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Legally Blonde\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2001-11-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did the professional career launch for the person with the native language name Sigourney Weaver?", "choices": ["1916", "2017", "1942", "1921", "1934", "2012", "1977", "1937", "1981", "1925"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Sigourney Weaver"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Sigourney Weaver\" . ?e <work_period_(start)> ?pv .  }", "answer": "1977"}, {"question": "Is Skagit County's official website http://www.skagitcounty.net ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skagit County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.skagitcounty.net"]}], "sparql": "ASK { ?e <pred:name> \"Skagit County\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.skagitcounty.net\" .  }", "answer": "yes"}, {"question": "What is the ISNI of the New Jersey county whose official website is http://www.co.hunterdon.nj.us?", "choices": ["0000 0001 1444 1825", "0000 0001 2219 4764", "0000 0000 7992 0467", "0000 0001 1991 9381", "0000 0001 1878 6548", "0000 0004 0438 9017", "0000 0001 1473 1080", "0000 0001 2114 305X", "0000 0001 1874 3425", "0000 0001 2133 1026"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.hunterdon.nj.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.hunterdon.nj.us\" . ?e <ISNI> ?pv .  }", "answer": "0000 0004 0438 9017"}, {"question": "Six Feet Under, the Primetime Emmy nominee for Outstanding Directing for a Drama Series, was first broadcast on HBO on what date?", "choices": ["1911-01-01", "1987-12-10", "1878", "1960-02-18", "2001-06-03", "2009-11-13", "2006-01-24", "1996-09-12", "1990-03-11", "1826"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Directing for a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Six Feet Under"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["HBO"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Six Feet Under\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Primetime Emmy Award for Outstanding Directing for a Drama Series\" . ?e_2 <pred:name> \"HBO\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2001-06-03"}, {"question": "Which province of China that shares a border with Zhejiang has the largest land area?", "choices": ["Hubei", "Zhejiang", "Anhui", "Hunan", "Henan", "Jiangsu", "Shaanxi", "Yunnan", "Guangdong", "Fujian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zhejiang"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Zhejiang\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anhui"}, {"question": "When did the sovereign state whose demonym is beninesa have a total fertility rate of 5.459?", "choices": ["1986-03-24", "2012-01-11", "0001-01-01", "2016-03-31", "2008-12-17", "1978-05-01", "1671", "2012-08-01", "1863-01-01", "2006"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "beninesa"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["total fertility rate", "5.459", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"beninesa\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"5.459\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "Which movie script was written by the person with CANTIC-ID a10432267?", "choices": ["Titanic", "The Producers", "Cobra", "Cold Mountain", "A Better Tomorrow", "Luther", "Friday Night Lights", "The King and I", "War and Peace", "The Cider House Rules"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10432267"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a10432267\" .   }", "answer": "The Cider House Rules"}, {"question": "Which is longer, Cobra, produced by Warner Bros., or Twilight, released in Thailand?", "choices": ["The Fifth Element", "Twilight", "Training Day", "Pleasantville", "The Towering Inferno", "Cobra", "Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cobra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Thailand"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twilight"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cobra\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Warner Bros.\" .   } UNION { ?e <pred:name> \"Twilight\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"Thailand\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Twilight"}, {"question": "Which film's cast includes the individual whose name in native language is Michael Rosenbaum?", "choices": ["All About My Mother", "Mighty Aphrodite", "Starship Troopers", "Midnight in the Garden of Good and Evil", "Lucky Numbers", "Fatal Attraction", "Smallville", "Being Julia", "Ned Kelly", "Valentine's Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Michael Rosenbaum"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Michael Rosenbaum\" .   }", "answer": "Midnight in the Garden of Good and Evil"}, {"question": "How many liberal arts colleges in the United States have an establishment date that is after 1903 and are located in Massachusetts (whose native title is Commonwealth of Massachusetts)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1903", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Massachusetts"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "Commonwealth of Massachusetts"]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["liberal arts college in the United States"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1903 ) . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Massachusetts\" . ?e_1 <native_label> ?pv_1 . ?pv_1 <pred:value> \"Commonwealth of Massachusetts\" .  }", "answer": "0"}, {"question": "Tell me the reviewer with the Croatia national football team ranking of 45.", "choices": ["AllMovie", "Peter Travers", "The World of Movies", "International Congress of Distinguished Awards", "Innovation, Science and Economic Development Canada", "FIFA", "Charity Navigator", "AlloCin\u00e9", "Empire", "James Berardinelli"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatia national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "45", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Croatia national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"45\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "What  language s https://amphilsoc.org/, the official website of an association that counts Milton Friendman as its member?", "choices": ["Austrian German", "Irish", "Azerbaijani", "English", "Klingon", "Latin script", "Basque", "Modern Greek", "Bashkir", "Macedonian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milton Friedman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://amphilsoc.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" . ?e_1 <member_of> ?e . ?e_1 <pred:name> \"Milton Friedman\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://amphilsoc.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many television programs there are in the genre Real World?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Real World"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television genre"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television program"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television genre\" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> \"Real World\" .   }", "answer": "2"}, {"question": "How is Romania (the successor of Kingdom of Romania) related to Romanian ?", "choices": ["office held by head of the organisation", "vehicle normally used", "separated from", "language used", "designed by", "chief executive officer", "cites", "country", "official language", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Romania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Romania"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Romanian"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Romania\" . ?e_1 <followed_by> ?e_3 . ?e_3 <pred:name> \"Kingdom of Romania\" . ?e_2 <pred:name> \"Romanian\" . ?e_1 ?p ?e_2 .  }", "answer": "official language"}, {"question": "How is Ulsan Hyundai FC related to association football?", "choices": ["professorship", "family", "sport", "location of final assembly", "interests", "symptom of", "main food source", "has contributing factor", "vehicle normally used", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ulsan Hyundai FC"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ulsan Hyundai FC\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Does the city with a licence plate code of C have an elevation (over sea level) of exactly 0 metres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "C"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0 metre", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"C\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"0\"^^xsd:double .  }", "answer": "yes"}, {"question": "Which movie is shorter, The Island (the one whose title is Ostrov) or Mrs Henderson Presents?", "choices": ["Mrs Henderson Presents", "Rebecca", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her", "Pleasantville", "A Prairie Home Companion", "The Island", "The Fifth Element", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Island"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Ostrov"]}, {"function": "Find", "dependencies": [], "inputs": ["Mrs Henderson Presents"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Island\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Ostrov\" . } UNION { ?e <pred:name> \"Mrs Henderson Presents\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mrs Henderson Presents"}, {"question": "Did the career of the person with ISNI number 0000 0000 7779 2799 begin more recently than 1997?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7779 2799"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1997", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7779 2799\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1997 ) .  }", "answer": "no"}, {"question": "In what language was recorded The Lorax (the one that has Ed Helms as a voice actor and its official website is http://www.theloraxmovie.com/)?", "choices": ["English", "Arabic", "Ewe", "Tahitian", "Maltese", "Croatian", "Russian", "Polish", "Turkish", "Portuguese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ed Helms"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lorax"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.theloraxmovie.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Lorax\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Ed Helms\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theloraxmovie.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which one has more members, the SkyTeam or the Royal Canadian Air Force?", "choices": ["Luftwaffe", "Royal Naval Air Service", "United States Army Air Corps", "SkyTeam", "Continental Army", "Royal Australian Navy", "Waffen-SS", "Soviet Air Forces", "German Army", "Royal Canadian Air Force"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SkyTeam"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Canadian Air Force"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["member count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"SkyTeam\" .  } UNION { ?e <pred:name> \"Royal Canadian Air Force\" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Royal Canadian Air Force"}, {"question": "When was Frankenstein, released in France, a National Film Registry recipient?", "choices": ["1983", "2255", "1941-02-27", "2014-07-17", "2003-02-23", "2001", "2015-10-08", "2010-09-01", "2016-01-01", "1991-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frankenstein"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Frankenstein\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"France\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "At what law school was the person with the official website http://www2.newpaltz.edu/~hathaway educated?", "choices": ["Harvard University", "Brooklyn Law School", "Georgetown University Law Center", "Schulich School of Law", "University of Texas School of Law", "Fordham University School of Law", "George Washington University Law School", "University of Virginia School of Law", "Harvard Law School", "New York Law School"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www2.newpaltz.edu/~hathaway"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["law school"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www2.newpaltz.edu/~hathaway\" .   }", "answer": "Harvard Law School"}, {"question": "What is the connection between New Year's Eve (the one whose release region is Hungary) to Ireland (the one whose population is 4273591)?", "choices": ["film release region", "headquarters location", "exported to", "nutrient", "location of formation", "operating system", "chairperson", "source of material", "instrumentation", "feast day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["New Year's Eve"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "4273591", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"New Year's Eve\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Hungary\" . ?e_2 <pred:name> \"Ireland\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4273591\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "For Corporate Number (Japan) 5180001087444, how many subscribers does this video-game developer have for sunsoftgames, its Twitter username?", "choices": ["17496", "1826785", "11795304", "1563225", "4900", "464", "977637", "760", "161901", "18627"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Corporate Number (Japan)", "5180001087444"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "sunsoftgames", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <Corporate_Number_(Japan)> ?pv_1 . ?pv_1 <pred:value> \"5180001087444\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"sunsoftgames\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "4900"}, {"question": "How tall is Patrick Stewart?", "choices": ["5.5 foot", "6.167 foot", "191 centimetre", "167.64 centimetre", "1.78 metre", "218 centimetre", "62 inch", "68 inch", "77 inch", "68.11 inch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patrick Stewart"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Patrick Stewart\" . ?e <height> ?pv .  }", "answer": "1.78 metre"}, {"question": "Baltimore, where playwright Edgar Allan Poe died, is in which administrative territorial entity?", "choices": ["Michigan", "Maryland", "Archbishopric of Salzburg", "Georgian Soviet Socialist Republic", "Transcaucasian Socialist Federative Soviet Republic", "Pennsylvania", "Tennessee", "Florida", "Massachusetts", "Saint Petersburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["playwright"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Edgar Allan Poe"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Baltimore"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["place of death", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Edgar Allan Poe\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"playwright\" . ?e_2 <pred:name> \"Baltimore\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Maryland"}, {"question": "Which one of the miniseries with number of season below 50 has the highest number of them ?", "choices": ["John Adams", "Oliver Twist", "Merlin", "Mildred Pierce", "The Diary of Anne Frank", "Underbelly", "The Shining", "Rosemary's Baby", "Sherlock", "Tin Man"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "50", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"50\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Underbelly"}, {"question": "When did Seal who plays guitar receive a Grammy Award for Best Pop Collaboration with Vocals?", "choices": ["1902", "1742-01-01", "2002-02-12", "2010", "2011-06-01", "2018-09-04", "1966-12-01", "1868-01-01", "1988-01-01", "1939-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Seal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Pop Collaboration with Vocals"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seal\" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> \"guitar\" . ?e_2 <pred:name> \"Grammy Award for Best Pop Collaboration with Vocals\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Was the cast member of Rogue (the one whose official website is http://www.directv.com/premiums/audience/rogue) born before 1976?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rogue"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.directv.com/premiums/audience/rogue"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1976", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Rogue\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.directv.com/premiums/audience/rogue\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1976 ) .  }", "answer": "yes"}, {"question": "When did someone die in Lucerne?", "choices": ["1976-06-05", "2017-07-26", "1994", "1988-09-06", "1963-08-15", "1970-02-17", "1959-09-13", "2006-07-08", "1990-11-02", "1989-02-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lucerne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Lucerne\" .  ?e <date_of_death> ?pv .  }", "answer": "1976-06-05"}, {"question": "Is the date of birth of the person having the ISNI 0000 0000 5516 8346 after the year 1917?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5516 8346"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1917", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 5516 8346\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1917 ) .  }", "answer": "yes"}, {"question": "Which area is larger, Lake County (the one whose population is 229245) or Butler County (the one whose area is 1218 square kilometre)?", "choices": ["Cuyahoga County", "Summit County", "Delaware County", "Mahoning County", "Lake County", "Butler County", "Erie County", "Stark County", "Wood County", "Wayne County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "229245", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Butler County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["area", "1218 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lake County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"229245\"^^xsd:double . } UNION { ?e <pred:name> \"Butler County\" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> \"square kilometre\" . ?pv_2 <pred:value> \"1218\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lake County"}, {"question": "Which is longer, The Producers that was nominated for a Golden Globe Award for Best Original Song or Memoirs of a Geisha?", "choices": ["The Hunchback of Notre Dame", "Curse of the Golden Flower", "Talk to Her", "The Producers", "Training Day", "The Towering Inferno", "Memoirs of a Geisha", "A Prairie Home Companion", "Pleasantville", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Original Song"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Producers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Memoirs of a Geisha"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Producers\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Globe Award for Best Original Song\" .   } UNION { ?e <pred:name> \"Memoirs of a Geisha\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Memoirs of a Geisha"}, {"question": "What visual artwork has http://www.legend-the-movie.com as the official website ?", "choices": ["Stop! Or My Mom Will Shoot", "All About Steve", "Being Julia", "Up", "Rebecca", "Talk to Her", "3:10 to Yuma", "A Prairie Home Companion", "Legend", "The Faculty"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.legend-the-movie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.legend-the-movie.com\" .  }", "answer": "Legend"}, {"question": "When was John Varley a Hugo Award winner for Best Short Story?", "choices": ["1396", "1982", "2011-08-09", "2003-06-01", "2007-04-18", "2009-04-08", "2008-11-12", "1630", "1814", "1867-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugo Award for Best Short Story"]}, {"function": "Find", "dependencies": [], "inputs": ["John Varley"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hugo Award for Best Short Story\" . ?e_2 <pred:name> \"John Varley\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1982"}, {"question": "What is the DNB editions for the television film known as Deutschland im Herbst?", "choices": ["78319", "11045", "afroasiatic", "8446", "Howard Ashman", "Data:Ncei.noaa.gov/weather/New York City.tab", "1054350752", "1953-09-03", "17048085", "94061278X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Deutschland im Herbst"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["DNB editions"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Deutschland im Herbst\" . ?e <DNB_editions> ?pv .  }", "answer": "1054350752"}, {"question": "What is the native tongue name of Raj Babbar?", "choices": ["\u5bae\u91ce\u771f\u5b88", "Akshay Kumar", "John Stuart Mill", "Devin Garrett Townsend", "David Bowie", "James Pickens Jr.", "Raffael S. Da Urbino", "\u09b0\u09be\u099c \u09ac\u09be\u09ac\u09cd\u09ac\u09b0", "Toni Morrison", "Carter Bays"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raj Babbar"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Raj Babbar\" . ?e <name_in_native_language> ?pv .  }", "answer": "\u09b0\u09be\u099c \u09ac\u09be\u09ac\u09cd\u09ac\u09b0"}, {"question": "Does the person whose birth name is James Francis Cagney have a Libris-URI equal to 20dgk2vl1g9rnzp?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "James Francis Cagney"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["20dgk2vl1g9rnzp"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"James Francis Cagney\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"20dgk2vl1g9rnzp\" .  }", "answer": "yes"}, {"question": "When did Heidelberg become the twinned administrative body of Cambridge, birthplace of Syd Barrett?", "choices": ["2004-10-19", "1821-08-10", "2005-09-22", "1843-03-04", "1871-01-01", "1788-07-26", "-277", "2008-05-16", "1965", "2009-06-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heidelberg"]}, {"function": "Find", "dependencies": [], "inputs": ["Syd Barrett"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Heidelberg\" . ?e_2 <pred:name> \"Cambridge\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Syd Barrett\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1965"}, {"question": "Was Robbie Williams (the one whose position is defender) born after 1969?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["defender"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robbie Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1969", ">"]}], "sparql": "ASK { ?e <pred:name> \"Robbie Williams\" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> \"defender\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1969 ) .  }", "answer": "yes"}, {"question": "How many ice hockey teams were formed prior to 1991 and have the official website http://flames.nhl.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1991", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ice hockey team"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://flames.nhl.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ice hockey team"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://flames.nhl.com/\" .  }", "answer": "1"}, {"question": "Which movie is titled North?", "choices": ["Talk to Her", "Pleasantville", "Vanity Fair", "The Lives of a Bengal Lancer", "Rebecca", "28 Days Later", "A Prairie Home Companion", "Santiago", "Men in Black II", "North"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "North"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"North\" .  }", "answer": "North"}, {"question": "What is the birth name of Mark Strong (the one whose CANTIC-ID is a11804762)?", "choices": ["Elektra Natchios", "Julian Wyatt Glover", "David Henry Thoreau", "Eilleen Regina Edwards", "Philip Andre Rourke, Jr.", "Marco Giuseppe Salussolia", "Jason Kent Bateman", "Olvido Gara Jova", "John Arthur Carradine", "Alejandro S\u00e1nchez Pizarro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Strong"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11804762"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Mark Strong\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11804762\" . ?e <birth_name> ?pv .  }", "answer": "Marco Giuseppe Salussolia"}, {"question": "Does Samsung Electronics or Harland and Wolff have the smaller work staff?", "choices": ["Vodafone", "KLM", "Adobe Inc.", "Harland and Wolff", "Pfizer", "Skidmore Owings Merrill", "Entertainment One", "McDonald's", "Sega", "Silver Pictures"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samsung Electronics"]}, {"function": "Find", "dependencies": [], "inputs": ["Harland and Wolff"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Samsung Electronics\" .  } UNION { ?e <pred:name> \"Harland and Wolff\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Harland and Wolff"}, {"question": "What is the number of film festival editions that are a part of the movie festival that is the regional debut venue?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Graffiti"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film regional debut venue", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of the series", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film festival edition"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film festival\" . ?e_2 <film_regional_debut_venue> ?e_1 . ?e_2 <pred:name> \"American Graffiti\" .   }", "answer": "8"}, {"question": "What is the relationship between Michael Jackon, who died 2007-08-30, and myocarial infarction?", "choices": ["manufacturer", "copyright representative", "affiliation", "director", "partially contains", "drafted by", "industry", "capital of", "cause of death", "film regional debut venue"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2007-08-30", "="]}, {"function": "Find", "dependencies": [], "inputs": ["myocardial infarction"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Jackson\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"2007-08-30\"^^xsd:date . ?e_2 <pred:name> \"myocardial infarction\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "What is the relation between Anne V. Coates and a consultant ?", "choices": ["had as last meal", "commander of", "product or material produced", "occupation", "original language of film or TV show", "opposite of", "has effect", "political ideology", "published in", "appointed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne V. Coates"]}, {"function": "Find", "dependencies": [], "inputs": ["consultant"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anne V. Coates\" . ?e_2 <pred:name> \"consultant\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many types of astronomical objects contain an interstellar cloud that comprises the part of a galaxy ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["galaxy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["interstellar cloud"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["astronomical object type"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"astronomical object type\" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"interstellar cloud\" . ?e_1 <part_of> ?e_2 . ?e_2 <pred:name> \"galaxy\" .   }", "answer": "1"}, {"question": "When did  Oliver Twist (the one that is originally aired on CBS) air on CBS?", "choices": ["2015-02-12", "1893", "1869-01-01", "1998", "2001-09-19", "2015-07-09", "2012-01-11", "1982-03-23", "1557-01-01", "1848"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oliver Twist"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["original network", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Oliver Twist\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"CBS\" . ?e_2 <pred:name> \"CBS\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1982-03-23"}, {"question": "Is thatkevinsmith the Twitter handle of the beauty contest whose Instagram username is missuniverse?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "missuniverse"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["beauty contest"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["thatkevinsmith"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"beauty contest\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"missuniverse\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"thatkevinsmith\" .  }", "answer": "no"}, {"question": "What is the relationship between Billy Corgan and The Smashing Pumpkins?", "choices": ["signatory", "significant event", "operating system", "member of", "parent club", "natural product of taxon", "participant", "language of work or name", "professorship", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Corgan"]}, {"function": "Find", "dependencies": [], "inputs": ["The Smashing Pumpkins"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billy Corgan\" . ?e_2 <pred:name> \"The Smashing Pumpkins\" . ?e_1 ?p ?e_2 .  }", "answer": "member of"}, {"question": "Is Marcel Proust identified by the British Museum person-institution code 134912 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marcel Proust"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["British Museum person-institution"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["134912"]}], "sparql": "ASK { ?e <pred:name> \"Marcel Proust\" . ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> \"134912\" .  }", "answer": "yes"}, {"question": "The association football club with official website http://www.hellasverona.it/ has how many subscribers for its Twitter account with username HellasVeronaFC?", "choices": ["1041", "22889", "2641", "28317", "29663", "2711", "250844", "159", "318537", "4389"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hellasverona.it/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "HellasVeronaFC", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hellasverona.it/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"HellasVeronaFC\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "250844"}, {"question": "How many human settlements lie on the are equal to 35,000 hectares or are located in Eastern Time Zone ?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "35000 hectare", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human settlement"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" .  { ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> \"35000\"^^xsd:double .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern Time Zone\" .  } }", "answer": "10"}, {"question": "When did FC Rostov have the official name of \u0420\u043e\u0441\u0442\u043e\u0432?", "choices": ["2008-05-16", "1956-06-29", "1961-09-27", "2010-06-08", "2003", "1920-08-11", "1945-01-01", "2005-12-12", "1976-02-04", "1936-04-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Rostov"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official name", "\u0420\u043e\u0441\u0442\u043e\u0432", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"FC Rostov\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u0420\u043e\u0441\u0442\u043e\u0432\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2003"}, {"question": "Where, on 4th February 1970, was a visual artwork that received Academy Award for Best Writing, Original Screenplay (the winner of this statement is Francis Ford Coppola, published?", "choices": ["Egypt", "2008 Toronto International Film Festival", "United States of America", "Toronto", "Seattle International Film Festival", "BFI London Film Festival", "Slovakia", "John F. Kennedy Center for the Performing Arts", "Uruguay", "Bahrain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Francis Ford Coppola"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1970-04-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Francis Ford Coppola\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1970-04-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the connection between Resident Evil: Afterlife to Tokyo (the one that is the headquarter location of Sony Interactive Entertainment)?", "choices": ["enclave within", "author", "production designer", "archives at", "film crew member", "narrative location", "basic form of government", "characters", "musical conductor", "penalty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Afterlife"]}, {"function": "Find", "dependencies": [], "inputs": ["Sony Interactive Entertainment"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tokyo"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Resident Evil: Afterlife\" . ?e_2 <pred:name> \"Tokyo\" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> \"Sony Interactive Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "What is the language of the American football team that has Art Carney (the one that died in Bronxville) as a member and has the official website of http://www.giants.com?", "choices": ["Indonesian", "Montenegrin", "French", "multiple languages", "J\u00e8rriais", "Toki Pona", "Norwegian", "Icelandic", "English", "Put\u00e8r"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bronxville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Art Carney"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["American football team"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.giants.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Art Carney\" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> \"Bronxville\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.giants.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "As of 1996, what quantity of Screen Actors Guild award nominations were presented to the visual art with an exploitation visa number of 89440?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "89440"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1996", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Screen Actors Guild Award"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"89440\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:year> 1996 .   }", "answer": "3"}, {"question": "When did  Brian Wilson (the one whose date of birth is 1983-05-09) become a member of Oldham Athletic A.F.C.?", "choices": ["2005-07-12", "1991-07-16", "1796-06-01", "2014-01-01", "-1200", "1998-05-01", "1986-03-16", "1929-02-11", "1960-09-30", "1721-08-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian Wilson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1983-05-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Oldham Athletic A.F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brian Wilson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1983-05-09\"^^xsd:date . ?e_2 <pred:name> \"Oldham Athletic A.F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "How is Ralph Waldo Emerson related to Boston?", "choices": ["subject has role", "work location", "dissertation submitted to", "shares border with", "doctoral student", "programming paradigm", "statistical leader", "model item", "licensed to broadcast to", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ralph Waldo Emerson"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ralph Waldo Emerson\" . ?e_2 <pred:name> \"Boston\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What geographic territory is situated in the sovereign state that has a citizen named Candice Bergen, whose ISNI is 0000 0001 1261 2934?", "choices": ["Northwest Territories", "Ontario", "Pacific Ocean", "Africa", "Atlantic Canada", "Bohemia", "Kansai region", "Windsor", "Nunavut", "Prince Edward Island"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Candice Bergen"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1261 2934"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Candice Bergen\" . ?e_2 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1261 2934\" .   }", "answer": "Atlantic Canada"}, {"question": "What is the official website for the award that Hayao Miyazaki won in 1998?", "choices": ["http://www.inkheartmovie.com/", "http://www.glendaleaz.com/", "http://www.hapoel-haifa.org.il", "http://www.frankfort.ky.gov/", "http://www.idesofmarch-movie.com", "http://www.impacdublinaward.ie/", "http://www.japan-academy-prize.jp/", "http://www.casablanca.ma/", "http://nau.edu/", "http://www.cityofbradenton.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hayao Miyazaki"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1998", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Hayao Miyazaki\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1998 . ?e <official_website> ?pv .  }", "answer": "http://www.japan-academy-prize.jp/"}, {"question": "What is the CANTIC-ID of the person whose ISNI is 0000 0001 1804 7454?", "choices": ["a12009970", "a12009672", "a11804580", "a10667040", "a10844016", "a11212160", "a10668081", "a10938035", "a11036163", "a11827518"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1804 7454"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1804 7454\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11804580"}, {"question": "What is the Dewey Decimal Classification of Berkshire County?", "choices": ["335.43", "2--742", "2--755522", "2--6652", "2--445823", "2--447144", "2--7441", "2--49232", "2--51156", "2--43841"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berkshire County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Berkshire County\" . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--7441"}, {"question": "How many cities use English as their official language and are a part of Kuwait?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["Kuwait"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_language> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <part_of> ?e_2 . ?e_2 <pred:name> \"Kuwait\" .  }", "answer": "0"}, {"question": "Which movie titled Get Smart features Dwayne Johnson in the cast?", "choices": ["A Prairie Home Companion", "The Scorpion King", "The Other Guys", "The Mummy Returns", "Rebecca", "The Fifth Element", "Pleasantville", "Get Smart", "Fast Five", "G.I. Joe: Retaliation"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Get Smart"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Dwayne Johnson"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Get Smart\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Dwayne Johnson\" .  }", "answer": "Get Smart"}, {"question": "What is the name of the person that was nominated for the Academy Awards for I'm Not There, and win one for Cross Creek?", "choices": ["Joan Plowright", "Mo'Nique", "Angelina Jolie", "William Henry Harrison", "Melissa Leo", "Rip Torn", "Alfre Woodard", "Max Fleischer", "Lynn Redgrave", "Taraji P. Henson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I'm Not There"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "Cross Creek"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Academy Awards\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"I'm Not There\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Cross Creek\" .  }", "answer": "Alfre Woodard"}, {"question": "What is the name of the person who was born in Washington, D.C. and participated in the 1912 Summer Olympics?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Richard Gere", "John Carpenter", "John Paul Jones", "Jim Thorpe", "James Brown", "Max Fleischer", "Henry Rollins", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1912 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> \"1912 Summer Olympics\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Washington, D.C.\" .  }", "answer": "John Paul Jones"}, {"question": "Is http://310toyumathefilm.com/ the official website for 3:10 to Yuma (the one released in 2007-01-01)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3:10 to Yuma"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://310toyumathefilm.com/"]}], "sparql": "ASK { ?e <pred:name> \"3:10 to Yuma\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2007-01-01\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://310toyumathefilm.com/\" .  }", "answer": "yes"}, {"question": "What is the postal code of North Dakota State University?", "choices": ["20123", "22000\u201322699", "68161", "05405-0160", "58108-6050", "56001\u201356077", "1010", "67207", "31917", "X0A"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Dakota State University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"North Dakota State University\" . ?e <postal_code> ?pv .  }", "answer": "58108-6050"}, {"question": "What is the Mumford's title ?", "choices": ["Red Tails", "Scent of a Woman", "The Dukes of Hazzard", "Dressed to Kill", "\u0421\u043e\u043b\u044f\u0440\u0438\u0441", "Taking Woodstock", "There Will Be Blood", "George Harrison: Living in the Material World", "Charlie and the Chocolate Factory", "Mumford"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mumford"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Mumford\" . ?e <title> ?pv .  }", "answer": "Mumford"}, {"question": "Which movie is shorter, My Man Godfrey (the one whose publication date is 1936-01-01) or The Matrix Reloaded?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "My Man Godfrey", "Curse of the Golden Flower", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "Rebecca", "Training Day", "The Matrix Reloaded"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Man Godfrey"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1936-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Matrix Reloaded"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"My Man Godfrey\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1936-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"The Matrix Reloaded\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "My Man Godfrey"}, {"question": "Which US city is the capital of Cache County?", "choices": ["Santa Rosa", "Beaufort", "Franklin", "Columbus", "Lansing", "New Haven", "Boise", "Norwich", "Logan", "Sandusky"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cache County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Cache County\" .   }", "answer": "Logan"}, {"question": "Regarding the political ideology that is the main subject of The Human Stain, (which was published on 2003-01-01) is the Twitter hashtag exactly Rassimus?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Human Stain"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2003-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["political ideology"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter hashtag"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Rassismus"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"The Human Stain\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2003-01-01\"^^xsd:date . ?e <Twitter_hashtag> ?pv . ?pv <pred:value> \"Rassismus\" .  }", "answer": "yes"}, {"question": "Which is smaller, Nunavut or Yukon?", "choices": ["Nunavut", "FC Aarau", "Durham", "Stacy Keach", "Yukon", "Parma Calcio 1913", "Essex County", "Northwest Territories", "evolution", "James Coburn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nunavut"]}, {"function": "Find", "dependencies": [], "inputs": ["Yukon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nunavut\" .  } UNION { ?e <pred:name> \"Yukon\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Yukon"}, {"question": "For a movie whose narrative location is British Columbia, is it length other than 15 weeks ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Columbia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["15 week", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"British Columbia\" .  ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v != \"15\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Jews have how many different religious practices?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["practiced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religion"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e <practiced_by> ?e_1 . ?e_1 <pred:name> \"Jewish people\" .   }", "answer": "1"}, {"question": "Is the length of the visual artwork titled Unforgiven under 5 weeks?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Unforgiven"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5 week", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Unforgiven\" . ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v < \"5\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Does San Jose or Las Cruces have the lower elevation?", "choices": ["Boulder", "San Jose", "Franklin", "Lansing", "Greenville", "Columbus", "New Haven", "Compton", "Waukegan", "Las Cruces"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Jose"]}, {"function": "Find", "dependencies": [], "inputs": ["Las Cruces"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Jose\" .  } UNION { ?e <pred:name> \"Las Cruces\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Jose"}, {"question": "How many subscribers can be found on GameOFThrones, the Twitter username of TV series with the official website  http://www.hbo.com/game-of-thrones, ?", "choices": ["66531", "171553", "7103582", "516289", "562076", "4994", "253104", "1561922", "1744539", "15392"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hbo.com/game-of-thrones"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "GameOfThrones", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hbo.com/game-of-thrones\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"GameOfThrones\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "7103582"}, {"question": "Which movie is longer, The Pirate Movie or The Black Dahlia?", "choices": ["The Black Dahlia", "The Fifth Element", "Training Day", "Rebecca", "Pleasantville", "The Hunchback of Notre Dame", "Talk to Her", "The Pirate Movie", "Curse of the Golden Flower", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Pirate Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["The Black Dahlia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Pirate Movie\" .  } UNION { ?e <pred:name> \"The Black Dahlia\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Black Dahlia"}, {"question": "Which Touchstone Pictures-produced visual artwork is titled The Count of Monte Cristo?", "choices": ["Die Hard with a Vengeance", "Talk to Her", "A Prairie Home Companion", "Lincoln", "The Ice Storm", "Oscar", "The Nightmare Before Christmas", "The Count of Monte Cristo", "Rebecca", "Cinderella Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Touchstone Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "The Count of Monte Cristo"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Touchstone Pictures\" .  ?e <title> ?pv . ?pv <pred:value> \"The Count of Monte Cristo\" .  }", "answer": "The Count of Monte Cristo"}, {"question": "What is the official website of the class of award that was nominated to Notting Hill?", "choices": ["http://www.kettering.gov.uk/", "http://www.mansfield.gov.uk/", "http://kobebryant.com/", "http://www.alanalda.com/", "http://www.bafta.org/", "https://www.bursaspor.org.tr/", "http://www.valpo.edu", "http://www.jawatengah.go.id", "http://candicebergen.ca/", "https://www.ford.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Notting Hill"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Notting Hill\" .  ?e <official_website> ?pv .  }", "answer": "http://www.bafta.org/"}, {"question": "Which CANTIC-ID identifies US colleges and universities in the United States with ARCHON number 1275?", "choices": ["a10172026", "a10427223", "a10107162", "a11115270", "a10315603", "a10857163", "a10394709", "a10929423", "a11006006", "a10887544"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "1275"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <ARCHON_code> ?pv_1 . ?pv_1 <pred:value> \"1275\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a10172026"}, {"question": "What is the ROME Occupation Code (v3) of television director?", "choices": ["J1102", "C1503", "L1304", "M1402", "E1201", "K2402", "K1104", "L1103", "L1204", "K1601"], "program": [{"function": "Find", "dependencies": [], "inputs": ["television director"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ROME Occupation Code (v3)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"television director\" . ?e <ROME_Occupation_Code_(v3)> ?pv .  }", "answer": "L1304"}, {"question": "How is Eric Stoltz related to Whittier?", "choices": ["producer", "has dialect (DEPRECATED)", "doctoral advisor", "sidekick of", "military branch", "health specialty", "place of birth", "rector", "source of material", "coextensive with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eric Stoltz"]}, {"function": "Find", "dependencies": [], "inputs": ["Whittier"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eric Stoltz\" . ?e_2 <pred:name> \"Whittier\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What number of public universities are located in Guangzhou?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guangzhou"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Guangzhou\" .   }", "answer": "0"}, {"question": "What is the connection between the 1992 NCAA Men's Division I Basketball Tournament to UCLA Bruins men's basketball?", "choices": ["seed team", "make-up artist", "costume designer", "nominated for", "based on", "father", "professional or sports partner", "head of state", "owner of", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1992 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["UCLA Bruins men's basketball"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1992 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"UCLA Bruins men's basketball\" . ?e_1 ?p ?e_2 .  }", "answer": "seed team"}, {"question": "What is the work period start of the human that is a performer of George Harrison: Living in the Material World?", "choices": ["1924", "1980", "1956", "1878", "2008", "1982", "1864", "1951", "1958", "1908"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Harrison: Living in the Material World"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <performer> ?e . ?e_1 <pred:name> \"George Harrison: Living in the Material World\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1958"}, {"question": "What city is know as the working location of someone whose  Libris-URI is 86lptzns3t4t5v8 ?", "choices": ["Vienna", "Adelaide", "Dresden", "Rabat", "Venice", "Melbourne", "Trieste", "Durham", "Hanover", "Lower Hutt"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "86lptzns3t4t5v8"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <work_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"86lptzns3t4t5v8\" .   }", "answer": "Dresden"}, {"question": "What is the connection between FC Basel to Switzerland?", "choices": ["country", "member of", "film distribute region", "honorific prefix", "successful candidate", "properties for this type", "movement", "symptoms", "sex or gender", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Basel"]}, {"function": "Find", "dependencies": [], "inputs": ["Switzerland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"FC Basel\" . ?e_2 <pred:name> \"Switzerland\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many states have a diplomatic relation with Libya?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Libya"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Libya\" .   }", "answer": "4"}, {"question": "Tell me the one with the longest duration within the visual artwork that is part of Alien (the one containing Prometheus)", "choices": ["Alien: Resurrection", "Pleasantville", "Aliens", "Training Day", "A Prairie Home Companion", "Curse of the Golden Flower", "Talk to Her", "The Fifth Element", "Alien", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prometheus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alien"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Alien\" . ?e_2 <part_of_the_series> ?e_1 . ?e_2 <pred:name> \"Prometheus\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aliens"}, {"question": "When was writer Alan Bennett born?", "choices": ["1942-10-11", "1897-10-20", "1972-10-31", "1963-03-04", "1935-03-27", "1934-08-16", "1965-07-23", "1934-05-09", "1917-04-26", "1951-05-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Bennett"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Alan Bennett\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"writer\" .  ?e <date_of_birth> ?pv .  }", "answer": "1934-05-09"}, {"question": "When was Diana Ross, who records on the Motown label, the Presidential Medal of Freedom recipient?", "choices": ["2013-04-13", "1975-04-08", "1874", "2016", "1681", "1984-01-01", "1991-09-11", "1917", "2016-11-22", "1855-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Motown"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Diana Ross"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Presidential Medal of Freedom"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Diana Ross\" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> \"Motown\" . ?e_2 <pred:name> \"Presidential Medal of Freedom\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "For the Virginia county whose official website is http://www.co.augusta.va.us (the language of this statement is English), what is the time point for its population of 73750?", "choices": ["2012-06-10", "1610", "2011-01-16", "1753-01-01", "2010-04-01", "1919", "2018-03-01", "2012-01-11", "2017-11-30", "2014-01-16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.augusta.va.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Virginia"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "73750", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.augusta.va.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"73750\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Which movie is shorter, Spartacus (the one that has Ian McNeice as a cast member) or Ulysses' Gaze?", "choices": ["The Music Man", "Shackleton", "The Three Musketeers", "The Goodbye Girl", "All Quiet on the Western Front", "A Streetcar Named Desire", "The Late Shift", "Spartacus", "The Challenge", "Ulysses' Gaze"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian McNeice"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spartacus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ulysses' Gaze"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Spartacus\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ian McNeice\" .   } UNION { ?e <pred:name> \"Ulysses' Gaze\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Spartacus"}, {"question": "Which of these sports have higher minimum number of players, association football or tennis?", "choices": ["auto racing", "tennis", "fenci", "Nordic combined", "diving", "cricket", "taekwondo", "biathlon", "skateboarding", "association football"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Find", "dependencies": [], "inputs": ["tennis"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["minimum number of players", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"association football\" .  } UNION { ?e <pred:name> \"tennis\" .  } ?e <minimum_number_of_players> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "association football"}, {"question": "Which TV network first aired the series with 44 episodes?", "choices": ["The WB", "UPN", "ABC", "Telemundo", "PBS", "Network Ten", "Seoul Broadcasting System", "Nine Network", "E!", "Adult Swim"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "44", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television network"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" . ?e_1 <original_network> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"44\"^^xsd:double .   }", "answer": "UPN"}, {"question": "What is the relationship between George Martin (the one whose date of birth is 1953-02-16) and American football?", "choices": ["sport", "political ideology", "inspired by", "official symbol", "after a work by", "signatory", "mascot", "located in the administrative territorial entity", "twinned administrative body", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Martin"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1953-02-16", "="]}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Martin\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1953-02-16\"^^xsd:date . ?e_2 <pred:name> \"American football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What character role is played by Charlie Cox (winner of the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series) in the film Daredevil (whose title is \u062f\u064a\u0631\u062f\u064a\u0641\u064a\u0644)?", "choices": ["Scratchy", "Bird Brain Mary", "Jack McCoy", "Daredevil", "Abigail Whistler", "Red Skull", "Benjamin Franklin", "Irina Spalko", "Ellie", "Mathayus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daredevil"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u062f\u064a\u0631\u062f\u064a\u0641\u064a\u0644"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Cox"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Daredevil\" . ?e_1 <title> ?pv . ?pv <pred:value> \"\u062f\u064a\u0631\u062f\u064a\u0641\u064a\u0644\" . ?e_2 <pred:name> \"Charlie Cox\" . ?e_3 <winner> ?e_2 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Daredevil"}, {"question": "What is the connection between Colombo to Leeds (the one whose local dialing code is 0113)?", "choices": ["uses", "chief executive officer", "coextensive with", "educated at", "place of publication", "notable people with this condition", "start point", "main food source", "archives at", "twinned administrative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colombo"]}, {"function": "Find", "dependencies": [], "inputs": ["Leeds"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "0113"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Colombo\" . ?e_2 <pred:name> \"Leeds\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"0113\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "When did Busan become the twinned administrative body of Shanghai?", "choices": ["1848-05-29", "2011-09-13", "1993-01-01", "1898-08-12", "2010-06-18", "2012", "1982-10-26", "1995-04-21", "1975", "1550"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Busan"]}, {"function": "Find", "dependencies": [], "inputs": ["Busan"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shanghai"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Busan\" . ?e_2 <pred:name> \"Shanghai\" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> \"Busan\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1993-01-01"}, {"question": "When did the Washington county with the official English-language website www.co.jefferson.wa.us have a population numbering 29904?", "choices": ["2010-07-01", "1730", "2014-06-30", "2017-11-12", "1819-12-01", "1958-12-01", "1990-02-01", "1975-12-01", "1850-03-01", "2005-08-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.jefferson.wa.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Washington"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "29904", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.jefferson.wa.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"29904\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Which area is larger, Washington County (the one whose population is 554996) or Tillamook County?", "choices": ["Washington County", "Marion County", "Columbia County", "Lane County", "Tillamook County", "Yamhill County", "Linn County", "Jackson County", "Douglas County", "Lake County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "554996", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Tillamook County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"554996\"^^xsd:double . } UNION { ?e <pred:name> \"Tillamook County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tillamook County"}, {"question": "Does the film that has Billy Ray Cyrus as a cast member have a title equal to The Simpsons?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Ray Cyrus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["The Simpsons"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Billy Ray Cyrus\" .  ?e <title> ?pv . ?pv <pred:value> \"The Simpsons\" .  }", "answer": "no"}, {"question": "What neighborhood borders Studio City?", "choices": ["Sherman Oaks", "Flushing", "Van Nuys", "Pacific Palisades", "Roxbury", "Tarzana", "Monte Carlo", "Encino", "Hollywood", "Woodland Hills"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Studio City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Studio City\" .   }", "answer": "Sherman Oaks"}, {"question": "Regarding the person with the nickname \u00d8rkenreven is the ISNI exactly 0000 0001 2276 8510 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "\u00d8rkenreven"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2276 8510"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"\u00d8rkenreven\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2276 8510\" .  }", "answer": "yes"}, {"question": "How many law schools were established before 1888?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1888", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1888 ) .  }", "answer": "12"}, {"question": "What is the relationship between David Boreanaz and Italian American?", "choices": ["notable people with this condition", "operator", "different from", "domain of saint or deity", "symptoms", "ethnic group", "Wikidata property", "part of", "next lower rank", "child astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Boreanaz"]}, {"function": "Find", "dependencies": [], "inputs": ["Italian American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Boreanaz\" . ?e_2 <pred:name> \"Italian American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "I need to know the number of Summer Olympic Games that derive The History Boys or which has a point in time not in 1956.", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The History Boys"]}, {"function": "Relate", "dependencies": [0], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "1956", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Summer Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" .  { ?e_1 <based_on> ?e . ?e_1 <pred:name> \"The History Boys\" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1956 ) .  } }", "answer": "26"}, {"question": "Which area is larger, Jefferson County (the one whose population is 73191) or Franklin County (the one whose FIPS 6-4 (US counties) is 20059)?", "choices": ["Washoe County", "San Juan County", "Franklin County", "Delaware County", "Kent County", "African Union", "Lee County", "Jefferson County", "Greene County", "Cass County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "73191", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)", "20059"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jefferson County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"73191\"^^xsd:double . } UNION { ?e <pred:name> \"Franklin County\" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> \"20059\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jefferson County"}, {"question": "How many alternative rock bands in total were formed on 01/01/1996 or before 1980?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1996-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["alternative rock"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1980", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["alternative rock"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"alternative rock\" .  { ?e <inception> ?pv . ?pv <pred:date> \"1996-01-01\"^^xsd:date .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) .  } }", "answer": "2"}, {"question": "When Ghostbusters with budget of 30000000 USD was nominated for Academy Award for Best Visual Effects?", "choices": ["1923", "1984", "2016-01-05", "1981-12-01", "2015-06-30", "2010-06-07", "1960", "1839-01-01", "2015-03-01", "2013-12-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghostbusters"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "30000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ghostbusters\" . ?e_1 <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"30000000\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1984"}, {"question": "What does Funny Girl have to do with the National Film Registry?", "choices": ["language used", "found", "award disciplines or subjects", "enclave within", "replaces", "statistical leader", "sport", "does not have part", "award received", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Funny Girl"]}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Funny Girl\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How many singles originate from the country that has Debra Winger as a citizen?", "choices": ["23", "24", "25", "26", "27", "28", "29", "30", "31", "32"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Debra Winger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["single"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Debra Winger\" .   }", "answer": "25"}, {"question": "How many mountain ranges either have a length not equal to 530 km or connect to the Iberian Peninsula?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["length", "530 kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "Find", "dependencies": [], "inputs": ["Iberian Peninsula"]}, {"function": "Relate", "dependencies": [3], "inputs": ["connects with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mountain range"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" .  { ?e <length> ?pv . ?pv <pred:unit> \"kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"530\"^^xsd:double ) .  } UNION { ?e_1 <connects_with> ?e . ?e_1 <pred:name> \"Iberian Peninsula\" .  } }", "answer": "6"}, {"question": "Was the person whose official website is http://www.gregayres.com/ born after 1940?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.gregayres.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1940", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.gregayres.com/\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1940 ) .  }", "answer": "yes"}, {"question": "Did more people attend Iron Man 2, with box office earnings of 312433331 USD, or Iron Man, a Saturn Award nominee for Best Writing?", "choices": ["The Hunchback of Notre Dame", "Iron Man 2", "A Prairie Home Companion", "Iron Man", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "Talk to Her", "Training Day", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iron Man 2"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "312433331 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Writing"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["attendance", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iron Man 2\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"312433331\"^^xsd:double . } UNION { ?e <pred:name> \"Iron Man\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Saturn Award for Best Writing\" . } ?e <attendance> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Iron Man"}, {"question": "What has Darwin (the one that is the capital of Northern Territory) todo with  Australia (the one that shares border with East Timor)?", "choices": ["business division", "start point", "official religion", "country", "diplomatic relation", "afflicts", "approved by", "based on", "dissertation submitted to", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northern Territory"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Darwin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["East Timor"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Darwin\" . ?e_3 <capital> ?e_1 . ?e_3 <pred:name> \"Northern Territory\" . ?e_2 <pred:name> \"Australia\" . ?e_2 <shares_border_with> ?e_4 . ?e_4 <pred:name> \"East Timor\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Twitter username of the person convicted of theft?", "choices": ["SierraGames", "HouseonFOX", "CharlizeAfrica", "evamendes", "onlyanexpert", "SacramentoKings", "earthwindfire", "m_giacchino", "cityoftampa", "dmx"], "program": [{"function": "Find", "dependencies": [], "inputs": ["theft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["convicted of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <convicted_of> ?e_1 . ?e_1 <pred:name> \"theft\" .  ?e <Twitter_username> ?pv .  }", "answer": "dmx"}, {"question": "Does the longer run-time belong to Titanic, Academy Award nominee for Best Writing, Original Screenplay, or to Cadillac Records?", "choices": ["The Hunchback of Notre Dame", "Cadillac Records", "Training Day", "Curse of the Golden Flower", "The Fifth Element", "Rebecca", "A Prairie Home Companion", "The Towering Inferno", "Titanic", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Titanic"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cadillac Records"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Titanic\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" .   } UNION { ?e <pred:name> \"Cadillac Records\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cadillac Records"}, {"question": "What is the connection between the Gold Coast (that is replaced by Ghana) and Accra?", "choices": ["this taxon is source of", "public holiday", "capital", "ancestral home", "tributary", "narrator", "enclave within", "contains settlement", "coextensive with", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["replaced by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gold Coast"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Accra"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gold Coast\" . ?e_1 <replaced_by> ?e_3 . ?e_3 <pred:name> \"Ghana\" . ?e_2 <pred:name> \"Accra\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "Which Paramount Pictures-produced movie is designated by exploitation visa number 49628?", "choices": ["Let Me In", "Wonder Boys", "Talk to Her", "The Love Guru", "A Prairie Home Companion", "Pleasantville", "Rebecca", "World Trade Center", "Indiana Jones and the Kingdom of the Crystal Skull", "Grease"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["exploitation visa number", "49628"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Paramount Pictures\" .  ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"49628\" .  }", "answer": "Grease"}, {"question": "Was Paul Winfield born in a year other than 1981 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Winfield"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1981", "="]}], "sparql": "ASK { ?e <pred:name> \"Paul Winfield\" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1981 .  }", "answer": "no"}, {"question": "Which area is larger, Toledo (the one whose area is 232.1 square kilometre) or Hamilton County (the one whose population is 345580)?", "choices": ["Greene County", "Cass County", "African Union", "Toledo", "Hamilton County", "Delaware County", "Orange County", "Lee County", "Kent County", "San Juan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toledo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "232.1 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Hamilton County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "345580", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Toledo\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"232.1\"^^xsd:double . } UNION { ?e <pred:name> \"Hamilton County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"345580\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hamilton County"}, {"question": "Where was the animated feature film (which got an exploitation visa number of 90294 in 1996) published on 1996-11-15?", "choices": ["Europe", "Peru", "European Union", "Austria", "Los Angeles", "Portugal", "Sweden", "Malaysia", "United Arab Emirates", "Davao City"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "90294"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1996", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["animated feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1996-11-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"90294\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1996 . ?e <publication_date> ?pv . ?pv <pred:date> \"1996-11-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "For which work was Michael Bay awarded the  Saturn Award for Best Director?", "choices": ["Gun, with Occasional Music", "The Piano", "The Wedding Banquet", "Swimming Pool", "Dynamite", "Armageddon", "Woman of the Year", "The Fragile", "A View from the Bridge", "The Lost Weekend"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Director"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Bay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Saturn Award for Best Director\" . ?e_2 <pred:name> \"Michael Bay\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Armageddon"}, {"question": "Which hore has more inhabitants, London Borough of Tower Hamlets or Autonomous Republic of Crimea?", "choices": ["London Borough of Tower Hamlets", "Delaware County", "San Juan County", "Greene County", "Autonomous Republic of Crimea", "Kent County", "Orange County", "African Union", "Cass County", "Lee County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["London Borough of Tower Hamlets"]}, {"function": "Find", "dependencies": [], "inputs": ["Autonomous Republic of Crimea"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"London Borough of Tower Hamlets\" .  } UNION { ?e <pred:name> \"Autonomous Republic of Crimea\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Autonomous Republic of Crimea"}, {"question": "What is the population of Monaco that is the Russians' country?", "choices": ["1848096", "3802515", "6422000", "17068000", "200952", "300", "17758096", "116887", "20532688", "325871"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russians"]}, {"function": "Find", "dependencies": [], "inputs": ["Monaco"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "population"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Russians\" . ?e_2 <pred:name> \"Monaco\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <population> ?qpv .  }", "answer": "300"}, {"question": "What is the relation between John Williams (the one that has the occupation of journalist) and Brooklyn (the one that is the residence of Robert Silverberg)?", "choices": ["tributary", "followed by", "executive producer", "natural product of taxon", "found", "military casualty classification", "captain", "place of death", "sponsor", "member of political party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["journalist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robert Silverberg"]}, {"function": "Relate", "dependencies": [4], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"journalist\" . ?e_2 <pred:name> \"Brooklyn\" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> \"Robert Silverberg\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Is 150 E Tenth St, Claremont, CA, 91711-6160 the street address of the higher learning institution whose street address is 158 Harmon Drive, Northfield, VT, 05663-1035?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "158 Harmon Drive, Northfield, VT, 05663-1035"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["150 E Tenth St, Claremont, CA, 91711-6160"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_at_street_address> ?pv_1 . ?pv_1 <pred:value> \"158 Harmon Drive, Northfield, VT, 05663-1035\" . ?e <located_at_street_address> ?pv . ?pv <pred:value> \"150 E Tenth St, Claremont, CA, 91711-6160\" .  }", "answer": "no"}, {"question": "Is 0000 0000 9857 7502 the ISNI of Claudia Cardinale?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claudia Cardinale"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 9857 7502"]}], "sparql": "ASK { ?e <pred:name> \"Claudia Cardinale\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9857 7502\" .  }", "answer": "no"}, {"question": "What was the crime for what DMX was convicted and that iwasthe main subject of The Loss of a Teardrop Diamond?", "choices": ["kidnapping", "theft", "murder", "The Holocaust", "espionage", "rape", "terrorism", "French Revolution", "illegal drug trade", "manslaughter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DMX"]}, {"function": "Relate", "dependencies": [0], "inputs": ["convicted of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["crime"]}, {"function": "Find", "dependencies": [], "inputs": ["The Loss of a Teardrop Diamond"]}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["crime"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"crime\" . ?e_1 <convicted_of> ?e . ?e_1 <pred:name> \"DMX\" .  ?e_2 <main_subject> ?e . ?e_2 <pred:name> \"The Loss of a Teardrop Diamond\" .  }", "answer": "theft"}, {"question": "What is the Munzinger IBA of the person with birth name Ronald Walken?", "choices": ["00000020396", "00000019129", "00000002256", "00000021067", "00000011236", "00000020172", "00000010328", "00000023854", "00000015305", "00000026265"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Ronald Walken"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Ronald Walken\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000020396"}, {"question": "How many Florida counties are located in or adjacent to the geographic region whose lowest point is Maryland (whose ISO 3166-2 code is US-MD)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maryland"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "US-MD"]}, {"function": "Relate", "dependencies": [1], "inputs": ["lowest point", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["geographic region"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Florida"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"geographic region\" . ?e_2 <lowest_point> ?e_1 . ?e_2 <pred:name> \"Maryland\" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"US-MD\" .   }", "answer": "4"}, {"question": "What is Fight Club's connection to Hungary?", "choices": ["candidate", "had as last meal", "commissioned by", "quotes work", "film release region", "source of income", "influenced by", "significant event", "voice type", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fight Club"]}, {"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fight Club\" . ?e_2 <pred:name> \"Hungary\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What is the work period (start) for the human whose ISNI is 0000 0003 8167 2687?", "choices": ["1897", "1939", "1933", "1995", "1926", "1931", "1942", "1997", "1761", "1984"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 8167 2687"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 8167 2687\" . ?e <work_period_(start)> ?pv .  }", "answer": "1926"}, {"question": "How is Wuthering Heights (the one whose original language is Spanish) related to black-and-white ?", "choices": ["language of work or name", "country of origin", "color", "work location", "registered with", "movement", "afflicts", "season starts", "art director", "update method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spanish"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wuthering Heights"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wuthering Heights\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"Spanish\" . ?e_2 <pred:name> \"black-and-white\" . ?e_1 ?p ?e_2 .  }", "answer": "color"}, {"question": "How many counties in Arizona have a population of less than 6200000000?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6200000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6200000000\"^^xsd:double ) .  }", "answer": "11"}, {"question": "How many anime have Japanese as the original language and are originally aired on Caesars Entertainment Corporation?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime"]}, {"function": "Find", "dependencies": [], "inputs": ["Caesars Entertainment Corporation"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anime"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Japanese\" .  ?e <original_network> ?e_2 . ?e_2 <pred:name> \"Caesars Entertainment Corporation\" .  }", "answer": "0"}, {"question": "What language is associated with the official website https://www.bgsu.edu for the higher education institution where James Pickens was educated?", "choices": ["Atikamekw", "multiple languages", "\u01c0Xam language", "Malagasy", "Ewe", "English", "Bulgarian", "Bashkir", "Lower Sorbian", "Czech"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Pickens"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.bgsu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"James Pickens\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.bgsu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which is smaller in size, Larimer County or Polk County (with Dewey Decimal Classification 2--77758)?", "choices": ["San Juan County", "Larimer County", "Polk County", "Orange County", "Washoe County", "Kent County", "African Union", "Cass County", "Delaware County", "Lee County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Larimer County"]}, {"function": "Find", "dependencies": [], "inputs": ["Polk County"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Dewey Decimal Classification", "2--77758"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Larimer County\" . } UNION { ?e <pred:name> \"Polk County\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--77758\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Polk County"}, {"question": "Which movie is longer, Dragon Ball Z: Dead Zone or Ghost World?", "choices": ["The Towering Inferno", "Rebecca", "The Hunchback of Notre Dame", "Ghost World", "Talk to Her", "Curse of the Golden Flower", "Training Day", "The Fifth Element", "Dragon Ball Z: Dead Zone", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dragon Ball Z: Dead Zone"]}, {"function": "Find", "dependencies": [], "inputs": ["Ghost World"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dragon Ball Z: Dead Zone\" .  } UNION { ?e <pred:name> \"Ghost World\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ghost World"}, {"question": "Who directed the movie titled Hello, Dolly!?", "choices": ["George Seaton", "Paul Feig", "Danny Glover", "Ricky Gervais", "Henry Winkler", "Sean McNamara", "Gene Kelly", "Charlie Kaufman", "Harold Ramis", "Joseph Vijay"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Hello, Dolly!"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Hello, Dolly!\" .   }", "answer": "Gene Kelly"}, {"question": "Which part of an army, located in New Delhi (the one that is the twinned administrative body of Manila), counts 960,000 employees?", "choices": ["magazine", "feminine singular", "direct-controlled municipality", "Alaska", "Lower Austria", "Eurasia", "full-time", "reserve duty", "physics", "mathematics"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manila"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["New Delhi"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["army"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["employees", "960000", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"army\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"New Delhi\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Manila\" .  ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"960000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "reserve duty"}, {"question": "What visual artwork's official website is https://www.warnerbros.com/blade-runner?", "choices": ["A Prairie Home Companion", "Live Free or Die Hard", "Blade Runner", "Water", "Gosford Park", "Talk to Her", "Away from Her", "Beowulf", "The King's Speech", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.warnerbros.com/blade-runner"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.warnerbros.com/blade-runner\" .  }", "answer": "Blade Runner"}, {"question": "Is the film, whose script was written by Bam Margera, equal to The Santa Clause 3: The Escape Clause ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bam Margera"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["The Santa Clause 3: The Escape Clause"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Bam Margera\" .  ?e <title> ?pv . ?pv <pred:value> \"The Santa Clause 3: The Escape Clause\" .  }", "answer": "no"}, {"question": "How is Marc Anthony, Tranmere Rovers F.C. member, related to Forfar Athletic F.C. ?", "choices": ["member of sports team", "Wikidata property", "vehicle normally used", "talk show guest", "replaced by", "different from", "quotes work", "located on astronomical location", "superhuman feature or ability", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tranmere Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Marc Anthony"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Forfar Athletic F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marc Anthony\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Tranmere Rovers F.C.\" . ?e_2 <pred:name> \"Forfar Athletic F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the relationship between the Progressive Conservative Party of Canada to Ottawa?", "choices": ["medical treatment", "publisher", "position held", "start point", "general manager", "fictional universe described in", "field of work", "headquarters location", "fabrication method", "participant of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Progressive Conservative Party of Canada"]}, {"function": "Find", "dependencies": [], "inputs": ["Ottawa"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Progressive Conservative Party of Canada\" . ?e_2 <pred:name> \"Ottawa\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Is the Giphy username of the university that is the education place of Ian Fleming (whose CANTIC-ID is a11435719) equal to shaniatwain?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian Fleming"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11435719"]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Giphy username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["shaniatwain"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Ian Fleming\" . ?e_1 <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11435719\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"shaniatwain\" .  }", "answer": "no"}, {"question": "When did the English-language Battle Creek conclude its run on CBS, where it was first broadcast?", "choices": ["1924-01-21", "1934", "2007-05-23", "2008-11-25", "1815-02-18", "1814-05-25", "1992-08-09", "2015-05-24", "1960-09-11", "1960-02-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["original network", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Battle Creek\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"CBS\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2015-05-24"}, {"question": "Which county in Washington that shares a boarded with Skagit County has the largest area?", "choices": ["King County", "Clark County", "Spokane County", "San Juan County", "Whatcom County", "Grays Harbor County", "Okanogan County", "Pierce County", "Yakima County", "Snohomish County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skagit County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Skagit County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Okanogan County"}, {"question": "What is the subject of a statement 'John Lennon is a student of Donovan'?", "choices": ["The Beatles in India", "Denmark\u2013Pakistan relations", "China\u2013Holy See relations", "Czech Republic\u2013Israel relations", "Brazil\u2013India relations", "South Korea\u2013European Union relations", "Ethiopia\u2013Sweden relations", "China\u2013South Sudan relations", "Germany\u2013Kosovo relations", "India\u2013Japan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Lennon"]}, {"function": "Find", "dependencies": [], "inputs": ["Donovan"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["student of", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Lennon\" . ?e_2 <pred:name> \"Donovan\" . ?e_1 <student_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <student_of> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "The Beatles in India"}, {"question": "At what time point was the MTV Movie Award for Best Fight won by Jackie Chan?", "choices": ["1541", "1983-01-01", "1813-01-01", "1967-01-01", "2003-12-01", "2002", "2016-09-15", "2017-07-01", "2006-04-19", "2002-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Fight"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Chan"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Movie Award for Best Fight\" . ?e_2 <pred:name> \"Jackie Chan\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2002"}, {"question": "Which independent city of Germany whose population is under 990000 has the highest elevation above sea level?", "choices": ["Blizzard Entertainment", "Royal College of Art", "Coburg", "Bayreuth", "Frankfurt (Oder)", "Weimar", "Brian K. Vaughan", "Baden-Baden", "The Wharton School", "Swedish"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "990000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"990000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "What is the connection between Vladimir Nabokov to Wellesley College?", "choices": ["place of burial", "member of sports team", "executive producer", "territory claimed by", "chairperson", "notable people with this condition", "airline hub", "employer", "educated at", "medical condition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vladimir Nabokov"]}, {"function": "Find", "dependencies": [], "inputs": ["Wellesley College"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Vladimir Nabokov\" . ?e_2 <pred:name> \"Wellesley College\" . ?e_1 ?p ?e_2 .  }", "answer": "employer"}, {"question": "Which soccer club with the Twitter username Atalanta_BC is headquartered in Bergamo?", "choices": ["Preston North End F.C.", "C.F. Os Belenenses", "Hibernian F.C.", "Atalanta B.C.", "Stade Brestois 29", "Rochester Rhinos", "Middlesbrough F.C.", "Brisbane Roar FC", "Roda JC Kerkrade", "Zamalek SC"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Atalanta_BC"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Bergamo"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Atalanta_BC\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Bergamo\" .  }", "answer": "Atalanta B.C."}, {"question": "Kenneth Branagh has what relationship to the Academy Award for Best Live Action Short Film?", "choices": ["applies to jurisdiction", "parent club", "original network", "occupant", "allegiance", "noble title", "nominated for", "position held", "source of income", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kenneth Branagh"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Live Action Short Film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kenneth Branagh\" . ?e_2 <pred:name> \"Academy Award for Best Live Action Short Film\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the connection between Pirates of the Caribbean: Dead Man's Chest (the one whose genre is action game) to Pirates of the Caribbean: Dead Man's Chest (the one that has Tom Hollander as a cast member)?", "choices": ["heritage designation", "distribution", "territory overlaps", "dissertation submitted to", "based on", "organisation directed from the office or person", "head of state", "collection", "residence", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: Dead Man's Chest"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tom Hollander"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: Dead Man's Chest"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pirates of the Caribbean: Dead Man's Chest\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"action game\" . ?e_2 <pred:name> \"Pirates of the Caribbean: Dead Man's Chest\" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> \"Tom Hollander\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "What is the connection between In Harm's Way to Malaysia?", "choices": ["manufacturer", "geographic distribution", "creator", "narrative location", "follows", "located in the administrative territorial entity", "donated by", "vehicle normally used", "subsidiary", "place of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In Harm's Way"]}, {"function": "Find", "dependencies": [], "inputs": ["Malaysia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"In Harm's Way\" . ?e_2 <pred:name> \"Malaysia\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Where is the visual artwork published which has the exploitation visa number of 116411 (the start time of this statement is 2006), and has a publication date of 2006-11-16?", "choices": ["Germany", "Egypt", "People's Republic of China", "R\u00e4ttvik", "Slovenia", "Vietnam", "Malaysia", "Sorrento", "Hollywood Bowl", "Kuwait"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "116411"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2006", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2006-11-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"116411\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 2006 . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-11-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the character role of Craig Ferguson (the one that has the occupation of screenwriter) in Winnie the Pooh (the one whose release region is Bulgaria)?", "choices": ["Yossarian", "Twoflower", "Owl", "Mr. Smithers", "Billy Clanton", "Rude", "Nightcrawler", "Jenna Maroney", "Al Capone", "Bob Zmuda"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Winnie the Pooh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Ferguson"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Winnie the Pooh\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Bulgaria\" . ?e_2 <pred:name> \"Craig Ferguson\" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> \"screenwriter\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Owl"}, {"question": "Which movie is titled Rocco e i suoi fratelli?", "choices": ["Mamma Mia!", "Galileo Galilei", "Runaway Jury", "Rebecca", "The Secret in Their Eyes", "Pleasantville", "Rocco and His Brothers", "Talk to Her", "The Notebook", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rocco e i suoi fratelli"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Rocco e i suoi fratelli\" .  }", "answer": "Rocco and His Brothers"}, {"question": "How many subscribers does the human that won an MTV Movie Award for Best Comedic Performance in 2010 have under the Twitter username galifianakisz?", "choices": ["6021669", "1539395", "3846508", "3", "25901", "1153", "25136748", "966323", "129", "1484391"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Comedic Performance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2010", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "galifianakisz", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"MTV Movie Award for Best Comedic Performance\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2010 . ?e <Twitter_username> ?pv . ?pv <pred:value> \"galifianakisz\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "3846508"}, {"question": "What is the connection between Wuthering Heights (the one whose ISWC is T-010.003.184-2) to English?", "choices": ["maintained by", "sex or gender", "movement", "main food source", "studies", "language of work or name", "conflict", "official color", "has dialect (DEPRECATED)", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wuthering Heights"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISWC", "T-010.003.184-2"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wuthering Heights\" . ?e_1 <ISWC> ?pv . ?pv <pred:value> \"T-010.003.184-2\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "language of work or name"}, {"question": "What is the elevation of the landform distinct from the Greenland bordering Canada?", "choices": ["2850 metre", "508 metre", "4634 metre", "3694 metre", "183 metre", "1250 metre", "760 metre", "1424 metre", "597 foot", "6 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Greenland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["landform"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Greenland\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Canada\" .  ?e <elevation_above_sea_level> ?pv .  }", "answer": "3694 metre"}, {"question": "Saif Ali Khan has what relationship with Sharmila Tagore?", "choices": ["native language", "allegiance", "film editor", "coextensive with", "software engine", "model item", "mother", "takes place in fictional universe", "broadcast by", "sibling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saif Ali Khan"]}, {"function": "Find", "dependencies": [], "inputs": ["Sharmila Tagore"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saif Ali Khan\" . ?e_2 <pred:name> \"Sharmila Tagore\" . ?e_1 ?p ?e_2 .  }", "answer": "mother"}, {"question": "Which sovereign state has diplomatic relations with Taiwan (the subject of this statement is Honduras\u2013Taiwan relations) while its demonym is honduregno ?", "choices": ["Samoa", "Honduras", "South Sudan", "Russian Soviet Federative Socialist Republic", "Switzerland", "Socialist Federal Republic of Yugoslavia", "Benin", "Cambodia", "People's Republic of China", "Weimar Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Honduras\u2013Taiwan relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["demonym", "honduregno"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["sovereign state"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Taiwan\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Honduras\u2013Taiwan relations\" . ?e <demonym> ?pv . ?pv <pred:value> \"honduregno\" .  }", "answer": "Honduras"}, {"question": "How many independent record labels were started before 1999 or how many are there that are headquartered in New York that has a population of 13479142?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1990", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent record label"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "13479142", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["independent record label"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent record label\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1990 ) .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New York\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"13479142\"^^xsd:double .  } }", "answer": "3"}, {"question": "When did the Michigan county whose PermID is 4296438341 have a population of 1815544?", "choices": ["2007-12-01", "1937-01-01", "1965-01-01", "1772-12-01", "1250-01-01", "2006-10-18", "2006-03-15", "2010-07-01", "2005-12-16", "1974-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4296438341"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1815544", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"4296438341\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1815544\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Which movie is longer, Seabiscuit or Romeo and Juliet (the one whose publication date is 1916-01-01)?", "choices": ["Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "Seabiscuit", "Curse of the Golden Flower", "Training Day", "Romeo and Juliet", "The Towering Inferno", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seabiscuit"]}, {"function": "Find", "dependencies": [], "inputs": ["Romeo and Juliet"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1916-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seabiscuit\" . } UNION { ?e <pred:name> \"Romeo and Juliet\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1916-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Seabiscuit"}, {"question": "What is the native-language name for Leslie Bricusse?", "choices": ["Queen Latifah", "Brian Wilson", "Jonah Hex", "Arthur Schopenhauer", "Jack Huston", "Leslie Bricusse", "Niels Bohr", "\u0930\u093e\u091c \u0915\u092a\u0942\u0930", "Hugh Dancy", "Roger Taylor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leslie Bricusse"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Leslie Bricusse\" . ?e <name_in_native_language> ?pv .  }", "answer": "Leslie Bricusse"}, {"question": "What is the ISNI of the record label which follows United Artists Records?", "choices": ["0000 0001 2364 7622", "0000 0004 1936 9721", "0000 0001 1479 978X", "0000 0001 2286 2224", "0000 0001 1068 327X", "0000 0001 2110 6208", "0000 0001 2124 4985", "0000 0000 7851 9073", "0000 0001 0724 2027", "0000 0001 2150 5903"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"United Artists Records\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 0724 2027"}, {"question": "What is the connection between Edward Fox (the one that has the occupation of lawyer) to Harvard Law School?", "choices": ["patron saint", "educated at", "distribution", "airline hub", "copyright representative", "designated as terrorist by", "works in collection", "statistical leader", "followed by", "capital of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["lawyer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Edward Fox"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Harvard Law School"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Edward Fox\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"lawyer\" . ?e_2 <pred:name> \"Harvard Law School\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "What is the connection between Rory Gallagher to composer?", "choices": ["copyright representative", "donated by", "used by", "location", "culture", "art director", "award received", "next lower rank", "occupation", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rory Gallagher"]}, {"function": "Find", "dependencies": [], "inputs": ["composer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rory Gallagher\" . ?e_2 <pred:name> \"composer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did the Martin Beck Award for literature, founded in 1971, end?", "choices": ["1976-09-09", "1990-04-23", "1995-01-03", "1793-03-04", "1911", "2009", "1880", "1973-09-29", "-168", "1900-10-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1971", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["name", "Martin Beck Award", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1971 . ?e <name> ?pv . ?pv <pred:value> \"Martin Beck Award\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "2009"}, {"question": "Does CANTIC-ID a10418271 designate the economist who was an influence of Karl Marx ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["economist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Karl Marx"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["a10418271"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Karl Marx\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"economist\" .  ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10418271\" .  }", "answer": "yes"}, {"question": "Tell me the business that is produced by WWE SmackDown or that has Twitter username WWE.", "choices": ["Sega", "Silver Pictures", "Skidmore Owings Merrill", "Pfizer", "WWE", "Entertainment One", "Vodafone", "E. W. Scripps Company", "McDonald's", "KLM"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WWE SmackDown"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "WWE"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"WWE SmackDown\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"WWE\" .  }", "answer": "WWE"}, {"question": "Who is the person whose ISNI is 0000 0000 2854 5011 and whose date of death is not in 1969?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Edmund Husserl", "Raymond Chow", "Ray Charles", "Ronald Neame", "William S. Darling", "Robert Taylor", "Richard Gere", "Mike Nichols"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 2854 5011"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of death", "1969", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 2854 5011\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1969 ) .  }", "answer": "William S. Darling"}, {"question": "Which movie is shorter, Cyrano de Bergerac (the one whose genre is drama film) or Tripoli (the one whose title is Tripoli)?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "The Fifth Element", "Curse of the Golden Flower", "Cyrano de Bergerac", "The Towering Inferno", "Talk to Her", "Tripoli", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cyrano de Bergerac"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tripoli"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "Tripoli"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cyrano de Bergerac\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"drama film\" . } UNION { ?e <pred:name> \"Tripoli\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Tripoli\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tripoli"}, {"question": "What is the number of news programs which have fewer than 8700 episodes?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "8700", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"8700\"^^xsd:double ) .  }", "answer": "2"}, {"question": "How many mythical creatures have the Iconclass notation of 25FF411 or derive from Frankenstein (the one that is based on Frankenstein's monster)?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "25FF411"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mythical creature"]}, {"function": "Find", "dependencies": [], "inputs": ["Frankenstein's monster"]}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frankenstein"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["mythical creature"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mythical creature\" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"25FF411\" .  } UNION { ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Frankenstein\" . ?e_1 <based_on> ?e_2 . ?e_2 <pred:name> \"Frankenstein's monster\" .  } }", "answer": "2"}, {"question": "Of all the comedies that do not have 370 episodes, which has the highest number of seasons?", "choices": ["The Golden Girls", "Contact", "comedy of manners", "Fanny and Alexander", "farce", "Mr. Smith Goes to Washington", "stand-up comedy", "Whitney Houston", "Shane", "The Monkees"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "370", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"370\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "When did the 10th Screen Actors Guild Awards take place?", "choices": ["1822-05-24", "1990-01-01", "1766-11-10", "1448", "1895", "1995", "1979-07-12", "1940-06-30", "1996", "1931-12-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["10th Screen Actors Guild Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"10th Screen Actors Guild Awards\" . ?e <inception> ?pv .  }", "answer": "1995"}, {"question": "Which political party's official website is http://www.plq.org/?", "choices": ["Indian National Congress", "Ontario Liberal Party", "Progressive Conservative Party of Ontario", "British Columbia Liberal Party", "Labour Party", "Australian Labor Party", "United National Party", "Conservative Party of Canada", "Quebec Liberal Party", "Kuomintang"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.plq.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.plq.org/\" .  }", "answer": "Quebec Liberal Party"}, {"question": "Regarding the person that is related to sport golf does he or she have a Deutsche Synchronkartei actor-ID equal to 454 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["golf"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["454"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"golf\" .  ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"454\" .  }", "answer": "no"}, {"question": "What's the connection between Chinatown and the Golden Globe Award for Best Original Score?", "choices": ["participant of", "killed by", "author", "office held by head of government", "foundational text", "place served by transport hub", "nominated for", "captain", "commander of", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chinatown"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Original Score"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chinatown\" . ?e_2 <pred:name> \"Golden Globe Award for Best Original Score\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "How many historical countries were founded more recently than 1526?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1526", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1526 ) .  }", "answer": "17"}, {"question": "What film's official website is http://www.sonypictures.com/classics/allaboutmymother/ and title is Todo sobre mi madre?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca", "Talk to Her", "The Towering Inferno", "The Fifth Element", "Pleasantville", "Training Day", "Rope", "All About My Mother"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonypictures.com/classics/allaboutmymother/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Todo sobre mi madre"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonypictures.com/classics/allaboutmymother/\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Todo sobre mi madre\" .  }", "answer": "All About My Mother"}, {"question": "Which association football club is related to sport American football?", "choices": ["defensive back", "1. FC Kaiserslautern", "Kevin Smith", "Indianapolis Colts", "Northampton Town F.C.", "Leeds United F.C.", "Fluminense F.C.", "Alemannia Aachen", "Burt Reynolds", "Inverness Caledonian Thistle F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"American football\" .   }", "answer": "Fluminense F.C."}, {"question": "Who is taller, Jessica Biel or Michael Jeter?", "choices": ["David Byrne", "Richard Gere", "Max Fleischer", "Michael Jeter", "Sylvester Stallone", "Jessica Biel", "William Henry Harrison", "Simon Cowell", "Rahul Dev Burman", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jessica Biel"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jeter"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jessica Biel\" .  } UNION { ?e <pred:name> \"Michael Jeter\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jessica Biel"}, {"question": "About the disease with the DiseasesDB identifier of 7728, and 31479 cases, tell me it's time point", "choices": ["1944-09-13", "2000-04-09", "2016-01-15", "1832-01-01", "2012-02-12", "1665-09-28", "1999-12-01", "2013", "1992", "2002-07-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DiseasesDB", "7728"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of cases", "31479", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e <DiseasesDB> ?pv_1 . ?pv_1 <pred:value> \"7728\" . ?e <number_of_cases> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"31479\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_cases> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "Is http://www.paramountvantage.com/ the official website of the New Jersey county whose population is 145992?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "145992", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.paramountvantage.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"145992\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.paramountvantage.com/\" .  }", "answer": "no"}, {"question": "What is the link between Tony Scott (who is the director of Enemy of the State) and English people?", "choices": ["works in collection", "famous people", "located in the administrative territorial entity", "mouth of the watercourse", "filmography", "political ideology", "culture", "archives at", "takes place in fictional universe", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enemy of the State"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English people"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tony Scott\" . ?e_3 <director> ?e_1 . ?e_3 <pred:name> \"Enemy of the State\" . ?e_2 <pred:name> \"English people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which state, whose nominal GDP is not equal to 6400000000 United States dollars, has the smallest area?", "choices": ["Kazakhstan", "Jamaica", "Saint Kitts and Nevis", "Tajikistan", "Luxembourg", "Monaco", "Cuba", "Grenada", "Gabon", "Lithuania"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "6400000000 United States dollar", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6400000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monaco"}, {"question": "What role does Adam Sandler inhabit on Bedtime Stories, which also stars Carmen Electra?", "choices": ["Skeeter Bronson", "Big Nose Kate", "Tycho Nestoris", "Vito Corleone", "Freddy Lounds", "Monica Geller", "Russell Billiu Long", "Ian the Gator", "Jim Halpert", "Simon Adebisi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carmen Electra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bedtime Stories"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Adam Sandler"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bedtime Stories\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Carmen Electra\" . ?e_2 <pred:name> \"Adam Sandler\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Skeeter Bronson"}, {"question": "How is John Wells who died in Sussex related to Ashford?", "choices": ["family", "architect", "approved by", "located in time zone", "place of birth", "indigenous to", "executive producer", "mother", "main food source", "located on astronomical location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sussex"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Wells"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ashford"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Wells\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Sussex\" . ?e_2 <pred:name> \"Ashford\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which animated feature film whose length is not 340 minutes has the shortest runtime?", "choices": ["The Illusionist", "Astro Boy", "The Simpsons Movie", "Treasure Planet", "The Adventures of Tintin", "Secret of the Wings", "Sailor Moon S: The Movie", "Hotel Transylvania", "The Prince of Egypt", "Monsters, Inc."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "340 minute", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"340\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sailor Moon S: The Movie"}, {"question": "Where is the visual artwork published which has a publication date of 1970-03-30 and the title Airport?", "choices": ["United Arab Emirates", "New York City", "German Democratic Republic", "Grauman's Chinese Theatre", "Lithuania", "Israel", "Egypt", "Stockholm", "Spain", "Hollywood Bowl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Airport"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1970-03-30", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Airport\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1970-03-30\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Stockholm"}, {"question": "Is the Leicester, the capital of England, equal to US05 in its its FIPS 10-4?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leicester"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 10-4 (countries and regions)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["US05"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Leicester\" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"US05\" .  }", "answer": "no"}, {"question": "Is the larger area occupied by Ocean County or by Somerset County, population 333654?", "choices": ["Somerset County", "Passaic County", "Monmouth County", "Ocean County", "Hunterdon County", "Hudson County", "Bergen County", "Morris County", "Burlington County", "Gloucester County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocean County"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "333654", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ocean County\" . } UNION { ?e <pred:name> \"Somerset County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"333654\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ocean County"}, {"question": "What is the ISNI of Fred Quimby ?", "choices": ["0000 0001 0936 5135", "0000 0000 4693 3018", "0000 0000 7245 3376", "0000 0001 1576 5717", "0000 0001 0720 9454", "0000 0001 1874 7776", "0000 0001 0874 0060", "0000 0001 2135 5968", "0000 0001 1229 8260", "0000 0001 1781 1326"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fred Quimby"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Fred Quimby\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 7245 3376"}, {"question": "Does the higher education institution in Tuscaloosa employ fewer than 22000 reserve staff ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuscaloosa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["22000 reservist", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Tuscaloosa\" .  ?e <employees> ?pv . ?pv <pred:unit> \"reservist\" . ?pv <pred:value> ?v . FILTER ( ?v < \"22000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What language is  http://stadt.koeln, the official website of a big city whose postal code is 51067, made in ?", "choices": ["Croatian", "J\u00e8rriais", "German", "Old English", "Northern Sotho", "Lower Sorbian", "Catalan", "Atikamekw", "Macedonian", "Punjabi"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "51067"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://stadt.koeln", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"51067\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://stadt.koeln\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "German"}, {"question": "When did 3:10 to Yuma (the one that has Van Heflin as a cast member) receive the National Film Registry?", "choices": ["1973-03-27", "1978-01-01", "2006-08-01", "1901", "2012-01-01", "2000", "1940-05-15", "1856", "1820-01-01", "1858"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Van Heflin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["3:10 to Yuma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"3:10 to Yuma\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Van Heflin\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "Among the sovereign states that export to Italy, which has the lowest GDP (PPP)?", "choices": ["Tuvalu", "Cambodia", "Kiribati", "Socialist Federal Republic of Yugoslavia", "Madagascar", "South Sudan", "Weimar Republic", "Switzerland", "Russian Soviet Federative Socialist Republic", "Algeria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["GDP (PPP)", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <exported_to> ?e_1 . ?e_1 <pred:name> \"Italy\" .  ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tuvalu"}, {"question": "Which one of the the prefectures of Japan has the largest percentage of water area between the ones that have less than 15%?", "choices": ["Okinawa Prefecture", "Hiroshima Prefecture", "Gifu Prefecture", "Fukuoka Prefecture", "\u014csaka Prefecture", "Nagano Prefecture", "Niigata Prefecture", "Kagoshima Prefecture", "Aichi Prefecture", "Kanagawa Prefecture"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["water as percent of area", "15 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["water as percent of area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"15\"^^xsd:double ) . ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aichi Prefecture"}, {"question": "How is the Goya Award for Best Actor related to acting?", "choices": ["sibling", "shares border with", "territory overlaps", "used by", "honorific prefix", "legislative body", "political alignment", "afflicts", "award disciplines or subjects", "voice actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Goya Award for Best Actor"]}, {"function": "Find", "dependencies": [], "inputs": ["acting"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Goya Award for Best Actor\" . ?e_2 <pred:name> \"acting\" . ?e_1 ?p ?e_2 .  }", "answer": "award disciplines or subjects"}, {"question": "What is the connection between Dynasty (the one that has the record label Casablanca Records) to Casablanca Records?", "choices": ["next lower rank", "record label", "manufacturer", "student of", "place of publication", "developer", "official symbol", "league", "grants", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Casablanca Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dynasty"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Casablanca Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dynasty\" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> \"Casablanca Records\" . ?e_2 <pred:name> \"Casablanca Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "How many writers are screenwriters by trade or are designated by ROME Occupation Code (v3) E1102?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["writer"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "E1102"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["writer"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"writer\" .  { ?e <occupation> ?e_1 . ?e_1 <pred:name> \"screenwriter\" .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"E1102\" .  } }", "answer": "3"}, {"question": "Among US states making up a common property of an organization, which one covers the largest area ?", "choices": ["Kansas", "Colorado", "North Carolina", "New Jersey", "Florida", "Hawaii", "California", "Illinois", "New Mexico", "Iowa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [0], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"organization\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Iowa"}, {"question": "What sovereign state has Pakistan\u2013Somalia diplomatic relations with Somalia?", "choices": ["Switzerland", "South Korea", "Kiribati", "Cambodia", "Turkey", "Pakistan", "United Arab Emirates", "Russian Soviet Federative Socialist Republic", "Djibouti", "Kenya"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Somalia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Pakistan\u2013Somalia relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Somalia\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Pakistan\u2013Somalia relations\" .  }", "answer": "Pakistan"}, {"question": "Does Frank Pierson or Christopher Lee have fewer offspring?", "choices": ["Max Fleischer", "Simon Cowell", "Christopher Lee", "Paul Simon", "Rahul Dev Burman", "Frank Pierson", "David Byrne", "James E. Reilly", "William Henry Harrison", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Pierson"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Lee"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Frank Pierson\" .  } UNION { ?e <pred:name> \"Christopher Lee\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Christopher Lee"}, {"question": "What is the connection between Signs (whose release territory is Colombia) and Frank Marshall (who is the producer of The Bourne Ultimatum)?", "choices": ["production company", "place of publication", "separated from", "cites", "producer", "culture", "airline alliance", "participant of", "approved by", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Signs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Bourne Ultimatum"]}, {"function": "Relate", "dependencies": [4], "inputs": ["producer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Marshall"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Signs\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Colombia\" . ?e_2 <pred:name> \"Frank Marshall\" . ?e_4 <producer> ?e_2 . ?e_4 <pred:name> \"The Bourne Ultimatum\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "At what point in time is 12588665303.244 United States dollars the nominal GDP of the sovereign state having the INSEE countries and foreign territories code 99222?", "choices": ["2010-12-31", "1913", "1655-01-01", "1855-12-01", "1882-01-01", "2005-01-01", "1919-12-01", "-500", "2004-06-09", "2017-02-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["INSEE countries and foreign territories code", "99222"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "12588665303.244 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <INSEE_countries_and_foreign_territories_code> ?pv_1 . ?pv_1 <pred:value> \"99222\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"12588665303.244\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "Which language is associated with https://nikeinc.com/, the official website of Nike?", "choices": ["American English", "Brazilian Portuguese", "Spanish", "Franco-Proven\u00e7al", "Thai", "English", "Slavic languages", "Estonian", "Tlingit", "Northern Sotho"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nike"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://nikeinc.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nike\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://nikeinc.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Was the movie different from  Bolero (the one whose production company is The Cannon Group) published not in 1998?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Cannon Group"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bolero"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1998", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Bolero\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"The Cannon Group\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) .  }", "answer": "yes"}, {"question": "What is the connection between Punjabi to India (the one that is the release region of The Orphanage?", "choices": ["contributing factor of", "subject has role", "diplomatic relation", "mascot", "parent astronomical body", "country", "organizer", "capital of", "board member", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Punjabi"]}, {"function": "Find", "dependencies": [], "inputs": ["The Orphanage"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Punjabi\" . ?e_2 <pred:name> \"India\" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> \"The Orphanage\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is the FIFA country code for a national association football team, whose ranking is below 210 (with the number of 24 league points achieved), equal to PAK ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "210", "<"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["points for", "24", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIFA country code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["PAK"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"210\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <points_for> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"24\"^^xsd:double . ?e <FIFA_country_code> ?pv . ?pv <pred:value> \"PAK\" .  }", "answer": "yes"}, {"question": "How is Fluminense F.C. related to diving?", "choices": ["newspaper format", "seed team", "replaced by", "vehicle normally used", "contributor(s) to the creative work", "location of discovery", "sport", "next lower rank", "airline hub", "health specialty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fluminense F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["diving"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fluminense F.C.\" . ?e_2 <pred:name> \"diving\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Which George R. Nelson work earned him an Academy Award for Best Production Design?", "choices": ["North Korea\u2013Taiwan relations", "Bangladesh\u2013China relations", "Finland\u2013Latvia relations", "Burundi\u2013Democratic Republic of the Congo border", "Australia\u2013Papua New Guinea border", "Netherlands\u2013Pakistan relations", "47th Academy Awards", "Denmark and the European Union", "Bosnia and Herzegovina\u2013Serbia border", "Guinea-Bissau\u2013Sweden relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George R. Nelson"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George R. Nelson\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "47th Academy Awards"}, {"question": "What is the role of the subject TOID 7000000000041631 for the county town that shares a border with High Wycombe?", "choices": ["Intelectual author", "singer", "state", "civil parish", "human settlement", "city", "honorary member", "district of the Czech Republic", "sovereign state", "municipality of the Czech Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["High Wycombe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["TOID", "7000000000041631", "subject has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"High Wycombe\" .  ?e <TOID> ?pv . ?pv <pred:value> \"7000000000041631\" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }", "answer": "civil parish"}, {"question": "What is the official name of the US city with the native label Berkeley?", "choices": ["National University of Singapore", "Tucson", "Yeshiva University", "Doncaster Rovers Football Club", "R\u00e9publique du Cameroun", "Kingdom of Belgium", "Republica Francez\u0103", "Ypsilanti", "Berkeley", "Pittsburgh"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Berkeley"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Berkeley\" . ?e <official_name> ?pv .  }", "answer": "Berkeley"}, {"question": "Which business has the official name 'GT Interactive Software Corp.' and is headquartered in New York City?", "choices": ["McDonald's", "Viacom", "Sega", "Marvel Comics", "KLM", "Silver Pictures", "Marvel Entertainment", "GT Interactive Software", "American International Group", "Morgan Stanley"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "GT Interactive Software Corp."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <official_name> ?pv . ?pv <pred:value> \"GT Interactive Software Corp.\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New York City\" .  }", "answer": "GT Interactive Software"}, {"question": "How many medicines have MeSH Code H02.403.690?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["MeSH Code", "H02.403.690"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medicine"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medicine\" . ?e <MeSH_Code> ?pv . ?pv <pred:value> \"H02.403.690\" .  }", "answer": "1"}, {"question": "What is the relation between North Dakota State University and North Dakota?", "choices": ["instrument", "organizer", "filming location", "narrative role", "lowest point", "dialect of", "grants", "symptom of", "named after", "official residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Dakota State University"]}, {"function": "Find", "dependencies": [], "inputs": ["North Dakota"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"North Dakota State University\" . ?e_2 <pred:name> \"North Dakota\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "Which person executive produced the visual artwork featuring Betty White as a cast member?", "choices": ["David Robb", "Danilo Donati", "Dino De Laurentiis", "Alex Kurtzman", "Jesse Louis Lasky", "Alexander Payne", "Harvey Weinstein", "Samuel Goldwyn", "Chuck Berry", "Drew Barrymore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Betty White"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Betty White\" .   }", "answer": "Alex Kurtzman"}, {"question": "When did the sovereign state that is the country of Groningen (that is the headquarter location of FC Groningen) have a population of 855900?", "choices": ["2014-04-01", "1640-01-01", "1950-10-01", "2013-10-01", "2016-09-30", "1910-12-31", "2015-05-07", "1795", "1819-12-01", "2017-02-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Groningen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Groningen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "1880500", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Groningen\" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> \"FC Groningen\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1880500\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1795"}, {"question": "Tell me the start time for Western Cape that has a FIPS 10-4 (countries and regions) of SF11.", "choices": ["1981-01-05", "1992-02-18", "1998-05-01", "2000-04-18", "1830-05-13", "2007-03-07", "2010-09-19", "1958-02-23", "1998-11-14", "1998-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Western Cape"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "SF11", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Western Cape\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"SF11\" . [ <pred:fact_h> ?e ; <pred:fact_r> <FIPS_10-4_(countries_and_regions)> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1998-12-01"}, {"question": "How are East Coast hip hop and The Notorious B.I.G. related?", "choices": ["located in the administrative territorial entity", "geographic distribution", "color", "languages spoken, written or signed", "game mode", "publisher", "manufacturer", "famous people", "parent organization", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Coast hip hop"]}, {"function": "Find", "dependencies": [], "inputs": ["The Notorious B.I.G."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"East Coast hip hop\" . ?e_2 <pred:name> \"The Notorious B.I.G.\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which series spin-off of Family Guy has the longest runtime?", "choices": ["Tiny Toon Adventures", "The Venture Bros.", "Aladdin", "The Cleveland Show", "American Dad!", "Robot Chicken", "Batman Beyond", "Phineas and Ferb", "South Park", "Disney's House of Mouse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Guy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["series spin-off", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> \"Family Guy\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Cleveland Show"}, {"question": "Which Ireland county that is an administrative division of Ireland (whose nominal GDP is 21500472054.5495 United States dollars) has the largest area?", "choices": ["County Galway", "County Dublin", "County Cork", "County Mayo", "County Meath", "County Kerry", "County Kilkenny", "County Clare", "County Kildare", "County Limerick"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "21500472054.5495 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Ireland"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Ireland\" . ?e_1 <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"21500472054.5495\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "County Cork"}, {"question": "Is the King and I which won the Academy Award for Best Actor or Milk, released on 09/01/2008 longer?", "choices": ["Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion", "The King and I", "Training Day", "Rebecca", "The Towering Inferno", "The Fifth Element", "Milk", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The King and I"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Milk"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "2008-09-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The King and I\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actor\" . } UNION { ?e <pred:name> \"Milk\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2008-09-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The King and I"}, {"question": "What is the title of the movie which official website is http://www.ring-themovie.com/?", "choices": ["Alexander", "Coal Miner's Daughter", "Las Vegas", "The Ring", "Eagle Eye", "Little Shop of Horrors", "EDtv", "Rush", "Glee", "The Nun's Story"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ring-themovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ring-themovie.com/\" . ?e <title> ?pv .  }", "answer": "The Ring"}, {"question": "Which human is in the ethnic group of Scottish Americans and is a cast member of The Flintstones (which was nominated for a Golden Raspberry Award for Worst Supporting Actress)?", "choices": ["James K. Polk", "Gregory Peck", "Kyle MacLachlan", "David Carradine", "Ben Affleck", "Halle Berry", "James Monroe", "Jack Black", "John Goodman", "Elizabeth Taylor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scottish American"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Flintstones"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Scottish American\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"The Flintstones\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" .  }", "answer": "Kyle MacLachlan"}, {"question": "What is the predecessor of Rush Hour 2, part of the Rush Hour franchise which includes Rush Hour 3?", "choices": ["Alien: Resurrection", "Rush Hour 2", "Rush Hour", "Paula Cole", "Taiwan", "The Fast and the Furious", "2009 NCAA Men's Division I Basketball Tournament", "Star Trek: Nemesis", "Adam Sandler", "Rocky V"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rush Hour 2"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush Hour 3"]}, {"function": "Relate", "dependencies": [1], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush Hour"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["part of the series", "follows"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Rush Hour 2\" . ?e_2 <pred:name> \"Rush Hour\" . ?e_2 <has_part> ?e_3 . ?e_3 <pred:name> \"Rush Hour 3\" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <follows> ?qpv .  }", "answer": "Rush Hour"}, {"question": "What is the Twitter username of the association football club headquartered in Tours?", "choices": ["JimCarrey", "TheBonnieRaitt", "UnionSeminary", "loreena", "ToursFC", "RCA", "Capitals", "WorldBank", "Jeff_Daniels", "alfranken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tours"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Tours\" .  ?e <Twitter_username> ?pv .  }", "answer": "ToursFC"}, {"question": "When did Tours become the capital of France?", "choices": ["1965-04-01", "1940-06-10", "1985-05-11", "1949-05-05", "1536", "1944-06-06", "1956-05-24", "1991-04-09", "1917-11-09", "2012-12-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Find", "dependencies": [], "inputs": ["Tours"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["capital", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"France\" . ?e_2 <pred:name> \"Tours\" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1940-06-10"}, {"question": "What are the number of counties of Indiana whose FIPS 6-4 (US counties) is 18089 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "18089"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"18089\" .  }", "answer": "1"}, {"question": "What is the role of TOID 7000000000042110 in a market town that is the death place of Bob Hoskins ?", "choices": ["city", "President of the United States", "human settlement", "state", "sovereign state", "community", "distributor", "declaration of independence", "civil parish", "lead vocalist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Hoskins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["market town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["TOID", "7000000000042110", "subject has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"market town\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Bob Hoskins\" .  ?e <TOID> ?pv . ?pv <pred:value> \"7000000000042110\" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }", "answer": "civil parish"}, {"question": "The official website of what city in the US is http://www.cityofinglewood.org (in English)?", "choices": ["Battle Creek", "Prescott", "Inglewood", "Oakland", "Jackson", "Columbus", "Compton", "Waukegan", "Boulder", "Franklin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityofinglewood.org"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cityofinglewood.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Inglewood"}, {"question": "Was the agent, whose official website is  http://www.westfieldcorp.com/, established after 1951 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.westfieldcorp.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1951", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.westfieldcorp.com/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1951 ) .  }", "answer": "yes"}, {"question": "How many action games, whose OLAC video game genre vocabulary ID is 1055, or whose genre is the one of Alien vs. Predator (published 20th May 1994), do we know?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OLAC video game genre vocabulary", "1055"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["action game"]}, {"function": "Find", "dependencies": [], "inputs": ["Alien vs. Predator"]}, {"function": "FilterDate", "dependencies": [3], "inputs": ["publication date", "1994-05-20", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["action game"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"action game\" .  { ?e <OLAC_video_game_genre_vocabulary> ?pv . ?pv <pred:value> \"1055\" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"Alien vs. Predator\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1994-05-20\"^^xsd:date .  } }", "answer": "2"}, {"question": "What is the connection between an art critic and Johann Wolfgang", "choices": ["vehicle normally used", "home world", "filmography", "occupation", "country of origin", "chief executive officer", "founded by", "film editor", "use", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johann Wolfgang von Goethe"]}, {"function": "Find", "dependencies": [], "inputs": ["art critic"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Johann Wolfgang von Goethe\" . ?e_2 <pred:name> \"art critic\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "what is the direction of western Cape which is along the border of Eastern Cape", "choices": ["east", "117233744", "average", "northeast", "west", "north", "Emma Woodhouse, handsome, clever, and rich, with a comfortable home and happy disposition, seemed to unite some of the best blessings of existence; and had lived nearly twenty-one years in the world with very little to distress or vex her.", "N", "southwest", "north-northeast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Western Cape"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Cape"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "direction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Western Cape\" . ?e_2 <pred:name> \"Eastern Cape\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction> ?qpv .  }", "answer": "east"}, {"question": "What is the connection between J. T. Walsh to San Diego?", "choices": ["place of death", "interests", "indigenous to", "lifestyle", "captain", "discoverer or inventor", "designated as terrorist by", "original network", "derivative work", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. T. Walsh"]}, {"function": "Find", "dependencies": [], "inputs": ["San Diego"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"J. T. Walsh\" . ?e_2 <pred:name> \"San Diego\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Is http://itthemovie.com the official website of Al-Hilal FC?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al-Hilal FC"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://itthemovie.com"]}], "sparql": "ASK { ?e <pred:name> \"Al-Hilal FC\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://itthemovie.com\" .  }", "answer": "no"}, {"question": "Is The Simpsons Movie publicized after 1994 in Sweden?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Simpsons Movie"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Sweden"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1994", ">"]}], "sparql": "ASK { ?e <pred:name> \"The Simpsons Movie\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1994 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Sweden\" .  }", "answer": "yes"}, {"question": "When was a person, that is known as James Whitmore in a native language, born?", "choices": ["-100", "1907-02-15", "1973-12-04", "1944-12-17", "1954-08-25", "1949-05-17", "1980-05-02", "1950", "1960-06-18", "1921-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "James Whitmore"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"James Whitmore\" . ?e <date_of_birth> ?pv .  }", "answer": "1921-10-01"}, {"question": "What is the relationship between Dallas (the one whose official website is http://www.tnt.tv/series/dallas/) and soap opera?", "choices": ["quotes work", "occupation", "located on terrain feature", "ethnic group", "start point", "military rank", "derivative work", "ancestral home", "stated in", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tnt.tv/series/dallas/"]}, {"function": "Find", "dependencies": [], "inputs": ["soap opera"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dallas\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.tnt.tv/series/dallas/\" . ?e_2 <pred:name> \"soap opera\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Is the official website of Mona Marshall http://www.monamarshall.net/MonaMarshallHOME.html?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mona Marshall"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.monamarshall.net/MonaMarshallHOME.html"]}], "sparql": "ASK { ?e <pred:name> \"Mona Marshall\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.monamarshall.net/MonaMarshallHOME.html\" .  }", "answer": "yes"}, {"question": "Of newscasts that aren't 240 minutes long, which is the shortest?", "choices": ["Android", "The Daily Show", "FreeBSD", "The Colbert Report", "Second Intifada", "manufacturing", "Good Morning America", "Napoleonic Wars", "Western Desert Campaign", "Today"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "240 minute", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"240\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Daily Show"}, {"question": "What city in the United States with the postal code of 90263-90265 has an elevation above sea level of less than 6300 meters?", "choices": ["Waukegan", "Youngstown", "Decatur", "Cranston", "New Haven", "Franklin", "Omaha", "Columbus", "Malibu", "Quincy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "90263\u201390265"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["elevation above sea level", "6300 metre", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"90263\u201390265\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"6300\"^^xsd:double ) .  }", "answer": "Malibu"}, {"question": "Was Virgin Interactive dissolved after 1716?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virgin Interactive"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1716", ">"]}], "sparql": "ASK { ?e <pred:name> \"Virgin Interactive\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1716 ) .  }", "answer": "yes"}, {"question": "When was Skyfall, performed by Adele, an Academy Award nominee for Best Original Song?", "choices": ["2015-09-03", "1652", "2004-06-24", "2002-04-17", "2005-06-28", "2012", "1887-01-01", "1836-01-01", "1994-10-25", "1906-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adele"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Skyfall"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Song"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Skyfall\" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> \"Adele\" . ?e_2 <pred:name> \"Academy Award for Best Original Song\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "What is the character role in the work Dallas (which also has Chazz Palminteri as a cast member) for cast member Larry Hagman?", "choices": ["Bedivere", "Ron Johner", "Brainy Smurf", "Djali", "Dinah", "Gael", "Benjamin Stone", "Auda ibu Tayi", "J. R. Ewing", "Gerald Westerby"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chazz Palminteri"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Larry Hagman"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dallas\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Chazz Palminteri\" . ?e_2 <pred:name> \"Larry Hagman\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "J. R. Ewing"}, {"question": "When did McGill University have an admission rate of 0.463?", "choices": ["2004-02-08", "2016", "1932-01-01", "2017-03-01", "1964-04-13", "2016-03-31", "2013-04-11", "1957-03-27", "1911", "1999-07-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["McGill University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["admission rate", "0.463", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"McGill University\" . ?e <admission_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.463\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <admission_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "When did Chris Carter (the one whose position is left fielder) stop being a member of the Saitama Seibu Lions?", "choices": ["2016-01-01", "1939-04-01", "2012", "1956-01-01", "1991-12-26", "1991-05-13", "1990-02-19", "1999-02-03", "1971-10-25", "1965"], "program": [{"function": "Find", "dependencies": [], "inputs": ["left fielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Carter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Saitama Seibu Lions"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chris Carter\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"left fielder\" . ?e_2 <pred:name> \"Saitama Seibu Lions\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2012"}, {"question": "Was the person whose ISNI is 0000 0000 8186 5196 born after 1976?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8186 5196"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1976", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8186 5196\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1976 ) .  }", "answer": "no"}, {"question": "How is Amanda Seyfried related to the MTV Movie Award for Best Scared-As-S**t Performance?", "choices": ["sidekick of", "season starts", "sponsor", "foundational text", "winner", "currency", "honorific prefix", "owner of", "feast day", "manufacturer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Scared-As-S**t Performance"]}, {"function": "Find", "dependencies": [], "inputs": ["Amanda Seyfried"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"MTV Movie Award for Best Scared-As-S**t Performance\" . ?e_2 <pred:name> \"Amanda Seyfried\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Which visual artwork titled Palm Springs is also set in Palm Springs, where Darryl F. Zanuck died?", "choices": ["Curse of the Golden Flower", "Pleasantville", "The Fifth Element", "Palm Springs", "The Towering Inferno", "Talk to Her", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Rebecca", "Training Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Palm Springs"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Darryl F. Zanuck"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Palm Springs"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Palm Springs\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Palm Springs\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Darryl F. Zanuck\" .  }", "answer": "Palm Springs"}, {"question": "How is 4167947 determined as the population of the county of Arizona whose Dewey Decimal Classification is 2--79173 ?", "choices": ["extrapolation", "estimation", "middle", "demographic balance", "tradition", "Sixth National Population Census of the People's Republic of China", "Canada 2011 Census", "census", "hearth tax", "de jure"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--79173"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "4167947", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--79173\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4167947\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "Which model of video game console whose sold units is over 56000000 has the least sold units?", "choices": ["Legend", "PlayStation 3", "Wii", "abstract algebra", "Exodus", "Gene Simmons", "Xbox 360", "Nintendo Entertainment System", "PlayStation 2", "Adrian Grenier"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["units sold", "56000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <units_sold> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"56000000\"^^xsd:double ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nintendo Entertainment System"}, {"question": "Which US state is the location of the administrative territorial entity whose official website is www.carrollcountynh.net?", "choices": ["New Hampshire", "Utah", "Massachusetts", "Nevada", "Kansas", "Montana", "Illinois", "West Virginia", "Florida", "Nebraska"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.carrollcountynh.net"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"administrative territorial entity\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.carrollcountynh.net\" .   }", "answer": "New Hampshire"}, {"question": "How many United States liberal arts colleges are registered with the organization whose ISNI is 0000 0004 0560 9886?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0560 9886"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["liberal arts college in the United States"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <registered_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0560 9886\" .   }", "answer": "0"}, {"question": "What is the ISNI of the person with the official website of http://www.terencestamp.com?", "choices": ["0000 0001 1494 7973", "0000 0001 1442 8348", "0000 0001 0872 6066", "0000 0001 1556 4288", "0000 0001 2156 6140", "0000 0004 4684 6132", "0000 0001 2358 1926", "0000 0001 1030 935X", "0000 0000 7884 9160", "0000 0001 2126 9154"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.terencestamp.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.terencestamp.com\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0872 6066"}, {"question": "How is Scott Wilson ( the member of Motherwell F.C.) related to Raith Rovers F.C.?", "choices": ["nutrient", "member of sports team", "country", "parent club", "political alignment", "significant event", "replaced by", "vehicle normally used", "taxon rank", "officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Motherwell F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Raith Rovers F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Scott Wilson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Motherwell F.C.\" . ?e_2 <pred:name> \"Raith Rovers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Is http://www.usc.edu/ the official website for Sony Pictures?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony Pictures"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.usc.edu/"]}], "sparql": "ASK { ?e <pred:name> \"Sony Pictures\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.usc.edu/\" .  }", "answer": "no"}, {"question": "When did David Shire become Talia Shire's husband?", "choices": ["1922-01-01", "1950-07-13", "2013-07-16", "1985-09-05", "1981-09-08", "1501-01-01", "1970-01-01", "1860-01-01", "2012-02-27", "1992-02-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Shire"]}, {"function": "Find", "dependencies": [], "inputs": ["Talia Shire"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Shire\" . ?e_2 <pred:name> \"Talia Shire\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1970-01-01"}, {"question": "What is the national association football team which belongs to Austria?", "choices": ["India national football team", "Canada men's national soccer team", "Algeria national football team", "Austria national football team", "Greece national football team", "Bahrain national football team", "Sweden national football team", "South Africa national football team", "Finland national football team", "Maldives national football team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Austria\" .   }", "answer": "Austria national football team"}, {"question": "What is the date of birth for the person with an ISNI of 0000 0000 5936 4408?", "choices": ["1940-12-21", "1953-08-20", "1949-10-04", "1927-05-13", "1903-01-01", "1942-01-21", "1980-07-08", "1901-08-04", "1927-01-31", "1952-11-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5936 4408"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 5936 4408\" . ?e <date_of_birth> ?pv .  }", "answer": "1952-11-06"}, {"question": "Is the movie The Right Stuff longer than 690 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Right Stuff"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["690 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Right Stuff\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"690\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Was the NBA Draft held in 2006 issued in a year other than 1943 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2006", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Basketball Association Draft"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1943", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Basketball Association Draft\" . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> 2006 . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1943 ) .  }", "answer": "yes"}, {"question": "Tell me the the name of the person who has the instagram handle realhimesh and has an ISNI of  0000 0001 0862 318X", "choices": ["Babyface", "James E. Reilly", "David Byrne", "Max Fleischer", "Richard Gere", "Sylvester Stallone", "Himesh Reshammiya", "Rahul Dev Burman", "William Henry Harrison", "Paul Simon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0862 318X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Instagram username", "realhimesh"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0862 318X\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"realhimesh\" .  }", "answer": "Himesh Reshammiya"}, {"question": "What is the date of death for the human born in Jamaica (the one that has a diplomatic relation with Ghana)?", "choices": ["1966-08-15", "1979-06-11", "1782-06-18", "2001-09-11", "2003-04-26", "1974-05-25", "1962-11-15", "2011-08-06", "2017-04-06", "1995-01-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jamaica"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Jamaica\" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> \"Ghana\" .  ?e <date_of_death> ?pv .  }", "answer": "2001-09-11"}, {"question": "How was a population figure of 148,157 arrived at for Sussex County, which borders Morris County?", "choices": ["Family record booklet", "rated voltage", "lead-lead dating", "average", "Census", "estimation process", "estimation", "tradition", "United States Census", "Address Based Population Registration System"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morris County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sussex County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "148157", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Sussex County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Morris County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"148157\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the connection between Columbia County (the one whose population is 56891) to Sauk County?", "choices": ["located on terrain feature", "shares border with", "domain of saint or deity", "taxon rank", "maintained by", "drug used for treatment", "chairperson", "applies to jurisdiction", "had as last meal", "located on astronomical location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "56891", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sauk County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Columbia County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"56891\"^^xsd:double . ?e_2 <pred:name> \"Sauk County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the area of Middletown?", "choices": ["710 square kilometre", "100295 square kilometre", "27208 square kilometre", "109.724077 square kilometre", "4755 square kilometre", "158.9 square kilometre", "18.931143 square kilometre", "1380 square kilometre", "4917.47 square kilometre", "4.888346 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Middletown"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Middletown\" . ?e <area> ?pv .  }", "answer": "109.724077 square kilometre"}, {"question": "For the school of Dave Thomas (the one that has the occupation of film producer), what is the inception time for his higher-education institution?", "choices": ["1960-01-01", "-4570000000", "1386", "1937-04-17", "1843-01-01", "1983-10-05", "1932", "1965-04-08", "1887", "1736"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dave Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Dave Thomas\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"film producer\" .  ?e <inception> ?pv .  }", "answer": "1887"}, {"question": "Which one has less running time between This Is England and Taken 2?", "choices": ["The Fifth Element", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "This Is England", "Taken 2", "Training Day", "The Towering Inferno", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["This Is England"]}, {"function": "Find", "dependencies": [], "inputs": ["Taken 2"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"This Is England\" .  } UNION { ?e <pred:name> \"Taken 2\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Taken 2"}, {"question": "What is the relation between Dragon Ball (the one whose official website is http://www.toei-anim.co.jp/tv/dragon/) and Son Goku?", "choices": ["home port", "position held", "official symbol", "diaspora", "producer", "said to be the same as", "characters", "manner of death", "contributor(s) to the creative work", "has part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dragon Ball"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.toei-anim.co.jp/tv/dragon/"]}, {"function": "Find", "dependencies": [], "inputs": ["Son Goku"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dragon Ball\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.toei-anim.co.jp/tv/dragon/\" . ?e_2 <pred:name> \"Son Goku\" . ?e_1 ?p ?e_2 .  }", "answer": "characters"}, {"question": "How many neighborhoods lie in a sovereign state whose mobile country code is 316 ?", "choices": ["18", "19", "20", "21", "22", "23", "24", "25", "26", "27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["mobile country code", "316"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["neighborhood"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <mobile_country_code> ?pv . ?pv <pred:value> \"316\" .   }", "answer": "18"}, {"question": "Which person has Munzinger IBA 00000022868?", "choices": ["Max Fleischer", "Richard Gere", "William Henry Harrison", "Michael Chabon", "Michael Winterbottom", "J. K. Rowling", "John Broome", "Gene Colan", "Sylvester Stallone", "Dennis Hopper"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000022868"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000022868\" .  }", "answer": "Michael Winterbottom"}, {"question": "Which has the most seasons among the animated series whose season count is not 15?", "choices": ["The Venture Bros.", "Fantastic Four", "Ben 10", "The Penguins of Madagascar", "Star Trek: The Animated Series", "Phineas and Ferb", "The Simpsons", "Family Guy", "X-Men", "The Adventures of Tintin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "15", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"15\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Simpsons"}, {"question": "What is the address of the street in Brooklyn (where Long Island university is located) where the english speaking Michael Dodson lives?", "choices": ["Wivenhoe Park", "103 South Bldg Cb 9100, Chapel Hill, NC, 27599", "700 College St, Beloit, WI, 53511-5595", "80 New Scotland Avenue, Albany, NY, 12208", "3801 W Temple Ave", "BBC Broadcasting House, Portland Place", "270 Mohegan Avenue, New London, CT, 06320-4196", "754 Greene Street", "One College Street, Worcester, MA, 01610-2395", "4400 University Drive"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Dobson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Long Island University"]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["residence", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Dobson\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Brooklyn\" . ?e_4 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_4 <pred:name> \"Long Island University\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "754 Greene Street"}, {"question": "What is the time point for Berrien County has a population of 156781", "choices": ["1990-03-26", "1495-01-01", "2003-10-22", "1823", "2008-03-01", "2010-07-01", "1989-01-21", "2004-12-20", "1925-06-16", "1970-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berrien County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "156781", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Berrien County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"156781\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Who is the person whose name in native language is Kevin Clash?", "choices": ["Richard Gere", "David Foster Wallace", "Sylvester Stallone", "William Henry Harrison", "Robert Klein", "Francis Bacon", "Kevin Clash", "William Demarest", "Harry Nilsson", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Kevin Clash"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Kevin Clash\" .  }", "answer": "Kevin Clash"}, {"question": "What is the official website of the higher education institution where Robert Patrick (the one whose ISNI is 0000 0001 1494 7797) was educated?", "choices": ["http://www.pro-baobab.jp/men/ogata_k/index.html", "http://www.saccounty.net", "http://www.tomwaits.com/", "https://www.bgsu.edu", "http://www.ala.org/alsc/awardsgrants/bookmedia/newberymedal/newberymedal", "https://www.unr.edu/", "http://www.worcester.gov.uk/", "http://www.harbin.gov.cn/", "http://www.baseballhall.org/", "http://steveblumvoices.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Patrick"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1494 7797"]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Robert Patrick\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1494 7797\" . ?e <official_website> ?pv .  }", "answer": "https://www.bgsu.edu"}, {"question": "Originating in the USA, Grimsby was published in what location on 2016-03-11?", "choices": ["Hungary", "Bahrain", "Telluride Film Festival", "Panama", "Japan", "United States of America", "Philippines", "Estonia", "Westwood", "Thailand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Grimsby"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2016-03-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Grimsby\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2016-03-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Is Scott McDonald or the Oscar who measures 185 centimetres tall the more lightweight one?", "choices": ["Paul Simon", "Oscar", "Max Fleischer", "Simon Cowell", "Rahul Dev Burman", "Sylvester Stallone", "David Byrne", "Richard Gere", "William Henry Harrison", "Scott McDonald"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott McDonald"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["height", "185 centimetre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Scott McDonald\" . } UNION { ?e <pred:name> \"Oscar\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"185\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Scott McDonald"}, {"question": "How many time zones in the country of Syria or the country of Bangladesh (the one whose nominal GDP is 7253575399.32149 United States dollar)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["time zone"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["nominal GDP", "7253575399.32149 United States dollar", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["time zone"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"time zone\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Syria\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"Bangladesh\" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"7253575399.32149\"^^xsd:double .  } }", "answer": "0"}, {"question": "How many people subscribe to the the university which is the education place of Bret McKenzie on the Twitter username of VicUniWgtn?", "choices": ["14071", "95948", "275650", "460968", "1", "4768872", "419349", "24326", "24", "12367"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bret McKenzie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "VicUniWgtn", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Bret McKenzie\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"VicUniWgtn\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "12367"}, {"question": "Is the release date of the film that has Deborah Ann Woll as a member of the cast after 1993?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Deborah Ann Woll"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1993", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Deborah Ann Woll\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1993 ) .  }", "answer": "yes"}, {"question": "What is the relationship between the People's Republic of China and Vatican City?", "choices": ["costume designer", "has quality", "writing system", "conflict", "commander of", "symptom of", "diplomatic relation", "office contested", "member of sports team", "influenced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Find", "dependencies": [], "inputs": ["Vatican City"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"People's Republic of China\" . ?e_2 <pred:name> \"Vatican City\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which area is smaller, Kankakee or Highland Park (the one that is the birthplace of Alex Borstein?", "choices": ["Highland Park", "Kankakee", "Franklin", "Greenville", "Waukegan", "Boulder", "Compton", "Oakland", "Lansing", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kankakee"]}, {"function": "Find", "dependencies": [], "inputs": ["Alex Borstein"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Highland Park"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kankakee\" .  } UNION { ?e <pred:name> \"Highland Park\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Alex Borstein\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Highland Park"}, {"question": "What is the ISNI of Waddy Wachtel?", "choices": ["0000 0001 2117 4550", "0000 0001 2100 0710", "0000 0000 8399 0919", "0000 0004 0638 8552", "0000 0000 8043 6250", "0000 0003 7396 9683", "0000 0001 1440 3642", "0000 0001 1949 0845", "0000 0000 7365 687X", "0000 0001 1879 6818"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waddy Wachtel"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Waddy Wachtel\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1949 0845"}, {"question": "Regarding cities in New Jersey with the population that differs from 5300, which one covers the smallest area ?", "choices": ["Elizabeth", "Jersey City", "New Brunswick", "Perth Amboy", "Paterson", "Atlantic City", "Camden", "Hoboken", "Trenton", "Plainfield"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5300", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5300\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hoboken"}, {"question": "Regarding the sport that has an IAB code of 537, tell me the Politika topic.", "choices": ["62", "263", "61", "357", "65", "67", "41", "6", "7", "31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "537"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Politika topic"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <IAB_code> ?pv_1 . ?pv_1 <pred:value> \"537\" . ?e <Politika_topic> ?pv .  }", "answer": "41"}, {"question": "How many foods have the USDA NDB number 01077 or are a nutrient of apples?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["USDA NDB number", "01077"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food"]}, {"function": "Find", "dependencies": [], "inputs": ["apple"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["food"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food\" .  { ?e <USDA_NDB_number> ?pv . ?pv <pred:value> \"01077\" .  } UNION { ?e_1 <nutrient> ?e . ?e_1 <pred:name> \"apple\" .  } }", "answer": "3"}, {"question": "What television series episode was published on 2006-11-13?", "choices": ["The Host", "Happy Feet", "The Offspring", "Purple Heart", "Angel", "P.S. I Love You", "Atlantic City", "Evolution", "Six Feet Under", "Hawaii"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2006-11-13", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series episode"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-11-13\"^^xsd:date .  }", "answer": "Atlantic City"}, {"question": "How was 92582 determined as the population of the county of Ohio whose ISNI is 0000 0004 0476 5908 ?", "choices": ["United States Census", "average", "demographic balance", "United Kingdom Census 2011", "UIS estimation", "census", "Canada 2011 Census", "gross floor area", "Russian Empire Census", "United Kingdom Census 1991"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0476 5908"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "92582", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0476 5908\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"92582\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Which person was born in Asheville?", "choices": ["Richard Gere", "Doc Watson", "Jermaine Dupri", "Rosemary Harris", "Ethan Hawke", "Gene Hackman", "George Fenton", "Max Fleischer", "Christine Baranski", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asheville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Asheville\" .   }", "answer": "Jermaine Dupri"}, {"question": "Which Texas county containing Fort Worth (that is the twinned administrative body of Bandung) has the smallest area?", "choices": ["McLennan County", "Johnson County", "Tarrant County", "Cameron County", "Montgomery County", "Brazoria County", "El Paso County", "Denton County", "Jefferson County", "Dallas County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bandung"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fort Worth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Fort Worth\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Bandung\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tarrant County"}, {"question": "Where was A Fish Called Wanda published on 1989-01-18?", "choices": ["Russia", "Greek Theatre, Los Angeles", "Argentina", "British Hong Kong", "Tokyo", "Bahrain", "Austin", "France", "Hollywood Bowl", "Australia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "A Fish Called Wanda"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1989-01-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"A Fish Called Wanda\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1989-01-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "France"}, {"question": "Is the run-time of 1941 different from 330 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1941"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["330 minute", "!="]}], "sparql": "ASK { ?e <pred:name> \"1941\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"330\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Who is the the person with Deutsche Synchronkartei actor-ID is 79823 and ISNI 0000 0001 1574 1520?", "choices": ["Richard Gere", "William Henry Harrison", "Simon Cowell", "Rahul Dev Burman", "Paul Simon", "David Byrne", "Sylvester Stallone", "Babyface", "Max Fleischer", "Dinah Shore"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "79823"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1574 1520"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"79823\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1574 1520\" .  }", "answer": "Dinah Shore"}, {"question": "What is the connection between Twin Peaks (the one whose start time is 2017-05-21) to Matthew Lillard?", "choices": ["studies", "replaced by", "publisher", "territory overlaps", "office held by head of state", "student of", "language used", "military casualty classification", "cast member", "office held by head of the organisation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Twin Peaks"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "2017-05-21", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Matthew Lillard"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Twin Peaks\" . ?e_1 <start_time> ?pv . ?pv <pred:date> \"2017-05-21\"^^xsd:date . ?e_2 <pred:name> \"Matthew Lillard\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is Edward Zwick's ISNI equal to 0000 0000 9859 0969?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward Zwick"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 9859 0969"]}], "sparql": "ASK { ?e <pred:name> \"Edward Zwick\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9859 0969\" .  }", "answer": "no"}, {"question": "How is Miracle on 34th Street distributed by CBS related to children's film?", "choices": ["nutrient", "contains settlement", "art director", "genre", "native language", "director of photography", "doctoral student", "partner", "time period", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Miracle on 34th Street"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["children's film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Miracle on 34th Street\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"CBS\" . ?e_2 <pred:name> \"children's film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How are Billy Joel and New York City related?", "choices": ["place of birth", "enclave within", "taxon rank", "member of political party", "architectural style", "followed by", "country", "official color", "opposite of", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Joel"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billy Joel\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How was it determined that Cheshire County has a population of 77011?", "choices": ["administrative division valid at the time point of history to which the data relates", "register office", "estimation process", "demographic balance", "rated voltage", "Canada 2016 Census", "resident registration", "Yemen General Census of Population, Housing and Establishments 2004", "UIS estimation", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cheshire County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "77011", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cheshire County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"77011\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Which location, between Summit County or Lucas County, is smaller in area?", "choices": ["Delaware County", "Lucas County", "Mahoning County", "Erie County", "Wayne County", "Stark County", "Wood County", "Tuscarawas County", "Cuyahoga County", "Summit County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Summit County"]}, {"function": "Find", "dependencies": [], "inputs": ["Lucas County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Summit County\" .  } UNION { ?e <pred:name> \"Lucas County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Summit County"}, {"question": "When was the association football club whose official website is http://www.fc-sion.ch/ founded?", "choices": ["1348", "1858-11-22", "1836", "1608", "1733", "1909", "1901-06-24", "1803-05-01", "1811-01-01", "1886"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fc-sion.ch/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fc-sion.ch/\" . ?e <inception> ?pv .  }", "answer": "1909"}, {"question": "Is 00000021023 the Munzinger IBA of Michael Ballhaus?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Ballhaus"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["00000021023"]}], "sparql": "ASK { ?e <pred:name> \"Michael Ballhaus\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000021023\" .  }", "answer": "yes"}, {"question": "What is the connection between contemporary R&B to Joe Jonas?", "choices": ["famous people", "follows", "source of material", "time period", "film crew member", "model item", "parent club", "exclave of", "original language of film or TV show", "interested in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["contemporary R&B"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Jonas"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"contemporary R&B\" . ?e_2 <pred:name> \"Joe Jonas\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the name of the person whose ISNI is 0000 0000 7367 0348 and is the son of Hume Cronyn (the one that works in Ottawa)?", "choices": ["Sylvester Stallone", "Hume Cronyn", "Max Fleischer", "Babyface", "Richard Gere", "William Henry Harrison", "James E. Reilly", "Paul Simon", "Simon Cowell", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7367 0348"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Ottawa"]}, {"function": "Relate", "dependencies": [3], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hume Cronyn"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["father", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7367 0348\" . ?e <father> ?e_1 . ?e_1 <pred:name> \"Hume Cronyn\" . ?e_1 <work_location> ?e_2 . ?e_2 <pred:name> \"Ottawa\" .  }", "answer": "Hume Cronyn"}, {"question": "How many Pennsylvania counties have a population greater than 620000?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "620000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"620000\"^^xsd:double ) .  }", "answer": "3"}, {"question": "Where was P.S. I Love You released in Panama published on 2008-01-17?", "choices": ["Germany", "Europe", "2005 Cannes Film Festival", "Estonia", "London", "Northern America", "Poland", "Grauman's Chinese Theatre", "Uruguay", "Taormina Film Fest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Panama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["P.S. I Love You"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2008-01-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"P.S. I Love You\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Panama\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2008-01-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many perscribers does the subreddit Feminisme of Thelma & Louise have?", "choices": ["188048", "111098", "8048485", "1424", "167", "194425", "40511", "1317353", "9309", "1124"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thelma & Louise"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "Feminisme", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Thelma & Louise\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"Feminisme\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1124"}, {"question": "Is Martin Marcantonio Luciano Scorsese the birth name of the sibling of James Fox , from the cast of United 93 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United 93"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Fox"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["sibling", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["Martin Marcantonio Luciano Scorsese"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <sibling> ?e . ?e_1 <pred:name> \"James Fox\" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> \"United 93\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Martin Marcantonio Luciano Scorsese\" .  }", "answer": "no"}, {"question": "What is the OS grid reference for the town that is the birthplace of Michael Winterbottom whose occupation is film director?", "choices": ["SE145165", "SD685277", "SK382711", "TQ325767", "SN415205", "SY5785299047", "SJ505955", "TQ267814", "SU637523", "TQ510887"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Winterbottom"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["OS grid reference"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Michael Winterbottom\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"film director\" .  ?e <OS_grid_reference> ?pv .  }", "answer": "SD685277"}, {"question": "Does Superman (the one whose point in time is 1940) not have 550 episodes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "1940", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["5500", "!="]}], "sparql": "ASK { ?e <pred:name> \"Superman\" . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> 1940 . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5500\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the end time of Austrian Empire of Trieste's country?", "choices": ["1867", "1997-08-31", "2005", "1982-02-17", "1932-02-27", "1940-01-01", "1888-01-01", "1948-02-08", "1865", "2014-10-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trieste"]}, {"function": "Find", "dependencies": [], "inputs": ["Austrian Empire"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Trieste\" . ?e_2 <pred:name> \"Austrian Empire\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1867"}, {"question": "Which has more people, Champagne-Ardenne or Picardy?", "choices": ["Lower Normandy", "Poitou-Charentes", "Burgundy", "Nord-Pas-de-Calais", "Lorraine", "Upper Normandy", "Languedoc-Roussillon", "Champagne-Ardenne", "Aquitaine", "Picardy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Champagne-Ardenne"]}, {"function": "Find", "dependencies": [], "inputs": ["Picardy"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Champagne-Ardenne\" .  } UNION { ?e <pred:name> \"Picardy\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Picardy"}, {"question": "What is the number of Texas counties whose capital is Waco (that has an area of 262.411283 square kilometers) or population is not 220000?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waco"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "262.411283 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "220000", "!="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Texas"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Waco\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"262.411283\"^^xsd:double .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"220000\"^^xsd:double ) .  } }", "answer": "17"}, {"question": "Did James Cagney die after 1961?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Cagney"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1961", ">"]}], "sparql": "ASK { ?e <pred:name> \"James Cagney\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1961 ) .  }", "answer": "yes"}, {"question": "What does Brazoria County have to do with Texas (the narrative location of Whip It)?", "choices": ["located in the administrative territorial entity", "symptoms", "contains administrative territorial entity", "business division", "basin country", "commissioned by", "natural product of taxon", "doctoral advisor", "official symbol", "operator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brazoria County"]}, {"function": "Find", "dependencies": [], "inputs": ["Whip It"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brazoria County\" . ?e_2 <pred:name> \"Texas\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"Whip It\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What is the association between Tony Blair and the University of Oxford?", "choices": ["place of birth", "hair color", "appears in the form of", "sibling", "afflicts", "educated at", "located on terrain feature", "material used", "appointed by", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Blair"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Oxford"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tony Blair\" . ?e_2 <pred:name> \"University of Oxford\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "When did Paul McCartney leave the pop band The Beatles?", "choices": ["1516-01-01", "1798", "1970", "1962-10-01", "1508-01-01", "1989", "1775", "1890-01-01", "2000-12-18", "1939-03-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul McCartney"]}, {"function": "Find", "dependencies": [], "inputs": ["pop music"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Beatles"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["part of", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Paul McCartney\" . ?e_2 <pred:name> \"The Beatles\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"pop music\" . ?e_1 <part_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1970"}, {"question": "When did CBS Corporation have 25920 employees?", "choices": ["2003-07-01", "2015-01-22", "2009", "2014-11-01", "1947", "2001-04-11", "2016-07-14", "2015-12-17", "1150", "1840-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS Corporation"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["employees", "25920", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"CBS Corporation\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"25920\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "What is the connection between the Filmfare Award for Best Actor and Aamir Khan?", "choices": ["influenced by", "risk factor", "field of this occupation", "has immediate cause", "original network", "award disciplines or subjects", "history of topic", "cast member", "operator", "winner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Actor"]}, {"function": "Find", "dependencies": [], "inputs": ["Aamir Khan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Filmfare Award for Best Actor\" . ?e_2 <pred:name> \"Aamir Khan\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "How is Adrien Brody related to Stony Brook University?", "choices": ["partner", "main subject", "permanent resident of", "parent club", "season starts", "educated at", "inspired by", "movement", "home port", "item operated"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adrien Brody"]}, {"function": "Find", "dependencies": [], "inputs": ["Stony Brook University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adrien Brody\" . ?e_2 <pred:name> \"Stony Brook University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Does the person with a birth place in Lafayette (where Angela Kinsey was born) have a birth date prior to 1973?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angela Kinsey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lafayette"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1973", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Lafayette\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Angela Kinsey\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1973 ) .  }", "answer": "yes"}, {"question": "Does The Master (whose producer is Tsui Hark) or An Alan Smithee Film: Burn Hollywood Burn have the longer running time?", "choices": ["The Fifth Element", "An Alan Smithee Film: Burn Hollywood Burn", "Rebecca", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "Pleasantville", "The Towering Inferno", "The Master", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tsui Hark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Master"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["An Alan Smithee Film: Burn Hollywood Burn"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Master\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Tsui Hark\" .   } UNION { ?e <pred:name> \"An Alan Smithee Film: Burn Hollywood Burn\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Master"}, {"question": "Is Antony Sher's ISNI equal to 0000 0001 1479 5658?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antony Sher"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1479 5658"]}], "sparql": "ASK { ?e <pred:name> \"Antony Sher\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1479 5658\" .  }", "answer": "no"}, {"question": "Which movie is longer The Dictator (the one that has Fred Armisen as a cast member) or Speed (the one that has Urmila Matondkar as a cast member)?", "choices": ["The Towering Inferno", "Training Day", "Curse of the Golden Flower", "Rebecca", "Speed", "The Dictator", "Pleasantville", "The Fifth Element", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fred Armisen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Dictator"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Urmila Matondkar"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Speed"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Dictator\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Fred Armisen\" .   } UNION { ?e <pred:name> \"Speed\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Urmila Matondkar\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Speed"}, {"question": "Which Japanese citizen is in the cast of Street Fighter II: The Animated Movie?", "choices": ["Sylvester Stallone", "Rie Kugimiya", "Ayumi Hamasaki", "William Henry Harrison", "Max Fleischer", "Aya Hisakawa", "Takeshi Kitano", "Kaneto Shiozawa", "Richard Gere", "Megumi Hayashibara"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Street Fighter II: The Animated Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Street Fighter II: The Animated Movie\" .  ?e <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"Japan\" .  }", "answer": "Kaneto Shiozawa"}, {"question": "What is the connection between Wayne Shorter to 2000 Grammy Awards?", "choices": ["award received", "depicts", "sport", "operating system", "contains settlement", "famous people", "child", "is a list of", "statistical leader", "mascot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wayne Shorter"]}, {"function": "Find", "dependencies": [], "inputs": ["2000 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wayne Shorter\" . ?e_2 <pred:name> \"2000 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Emma, featuring Samantha Morton as a cast member, has what connection to the United Kingdom?", "choices": ["has cause", "director", "parent organization", "given name", "cause of death", "facet of", "maintained by", "candidacy in election", "country of origin", "notable work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samantha Morton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Emma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Emma\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Samantha Morton\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Does the US city of the English-language website www.cityofdavenportiowa.com occupy 50 square verstas ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityofdavenportiowa.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["50 square versta", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityofdavenportiowa.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <area> ?pv . ?pv <pred:unit> \"square versta\" . ?pv <pred:value> \"50\"^^xsd:double .  }", "answer": "no"}, {"question": "What is the connection between Max von Sydow to Norwegian?", "choices": ["languages spoken, written or signed", "sibling", "appears in the form of", "mother", "office held by head of state", "culture", "location of final assembly", "child", "sidekick of", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Max von Sydow"]}, {"function": "Find", "dependencies": [], "inputs": ["Norwegian"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Max von Sydow\" . ?e_2 <pred:name> \"Norwegian\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "What is the name of the person with the ISNI of 0000 0003 6865 1718?", "choices": ["Ronald D. Moore", "Sarah Michelle Gellar", "David Wenham", "Max Fleischer", "Sylvester Stallone", "Richard Gere", "Xzibit", "Barbara Stanwyck", "William Henry Harrison", "Ralph Fiennes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6865 1718"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6865 1718\" .  }", "answer": "Barbara Stanwyck"}, {"question": "How many Oregon counties have an establishment date that is after 1853 or a population that is not 7100000?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1853", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "7100000", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Oregon"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1853 ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"7100000\"^^xsd:double ) .  } }", "answer": "14"}, {"question": "Does the written work, whose director is Lewis Gilbert (the one that has the occupation of screenwriter), have an ISBN-10 equal to 84-663-0903-9?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lewis Gilbert"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISBN-10"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["84-663-0903-9"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Lewis Gilbert\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"screenwriter\" .  ?e <ISBN-10> ?pv . ?pv <pred:value> \"84-663-0903-9\" .  }", "answer": "yes"}, {"question": "I need to know the relation between Butler County (which has an area of 2058 square kilometres) and Beaver County", "choices": ["military casualty classification", "airline hub", "does not have part", "licensed to broadcast to", "vehicle normally used", "hair color", "manner of death", "residence", "shares border with", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Butler County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2058 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Beaver County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Butler County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"2058\"^^xsd:double . ?e_2 <pred:name> \"Beaver County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "tell me the television genre that has under 5100 episodes.", "choices": ["Roots", "talk show", "The Price Is Right", "medical drama", "Animaniacs", "cooking show", "Rosemary's Baby", "Malibu", "Magical Girl Lyrical Nanoha", "Damages"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "5100", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television genre"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television genre\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"5100\"^^xsd:double ) .  }", "answer": "The Price Is Right"}, {"question": "The House of Wittelsbach is related to the Holy Roman Empire in what way?", "choices": ["country", "edition or translation of", "sexual orientation", "substitute/deputy/replacement of office/officeholder", "territory claimed by", "basin country", "has part", "academic degree", "participant", "captain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Wittelsbach"]}, {"function": "Find", "dependencies": [], "inputs": ["Holy Roman Empire"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"House of Wittelsbach\" . ?e_2 <pred:name> \"Holy Roman Empire\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the date of death of Rod Taylor, who won a Broadcast Film Critics Association Award for Best Cast?", "choices": ["2016-11-13", "1993-01-15", "1723-02-25", "2015-01-07", "2012-10-21", "2014-09-09", "1965-05-05", "1988-06-06", "1981-04-07", "1998-11-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rod Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rod Taylor\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" .  ?e <date_of_death> ?pv .  }", "answer": "2015-01-07"}, {"question": "Is 1001602 the eMedicine of the crime whose ICD-9 is E960.1?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-9", "E960.1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["crime"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["eMedicine"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1001602"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"crime\" . ?e <ICD-9> ?pv_1 . ?pv_1 <pred:value> \"E960.1\" . ?e <eMedicine> ?pv . ?pv <pred:value> \"1001602\" .  }", "answer": "no"}, {"question": "How many researchers are different from physicians or work in the field of statistics ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["physician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["researcher"]}, {"function": "Find", "dependencies": [], "inputs": ["statistics"]}, {"function": "Relate", "dependencies": [3], "inputs": ["field of this occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["researcher"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" .  { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"physician\" .  } UNION { ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> \"statistics\" .  } }", "answer": "2"}, {"question": "What method was used to determine that Nunavut has a population of 31906?", "choices": ["resident registration", "census", "register office", "Address Based Population Registration System", "United Kingdom Census 1991", "Family record booklet", "administrative division valid at the time point of history to which the data relates", "lead-lead dating", "estimation", "rated voltage"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nunavut"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "31906", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nunavut\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"31906\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Is the IAB code of the type of sport whose IPTC Newscode is mediatopic/20001064 at 1058?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20001064"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IAB code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1058"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <IPTC_Newscode> ?pv_1 . ?pv_1 <pred:value> \"mediatopic/20001064\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"1058\" .  }", "answer": "no"}, {"question": "When did the administrative territorial entity of FIPS 6-4 (US counties) of 21211 have a population of 43604?", "choices": ["1995-05-16", "1430", "1870-12-01", "1982-03-23", "1989", "2012-07-01", "1984-04-09", "1665-09-28", "1378", "1933-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "21211"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "43604", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"21211\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"43604\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Was Sam Rockwell born later than 1967 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Rockwell"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1967", ">"]}], "sparql": "ASK { ?e <pred:name> \"Sam Rockwell\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1967 ) .  }", "answer": "yes"}, {"question": "What is the NUTS code of the ceremonial county of England whose FIPS 10-4 (countries and regions) is UKE2 ?", "choices": ["DE122", "UKC21", "BE21", "IE", "CH04", "HR", "DE714", "UKJ22", "DE803", "DE40"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKE2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["NUTS code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"UKE2\" . ?e <NUTS_code> ?pv .  }", "answer": "UKJ22"}, {"question": "When was Chevy Chase nominated for the Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program?", "choices": ["1943", "1966-12-31", "1960-04-25", "1988-04-11", "2013-03-01", "1873", "2016-01-04", "2013-03-11", "1977", "2007-12-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chevy Chase"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chevy Chase\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1977"}, {"question": "Does the person nominated for the Nobel Prize in Physics (the point in time of this statement is 1938-01-01), have a Munzinger IBA equal to 00000022505?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Physics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1938-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["00000022505"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Nobel Prize in Physics\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1938-01-01\"^^xsd:date . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000022505\" .  }", "answer": "no"}, {"question": "What is the official website of Springfield whose total area measures 171.90 square kilometers?", "choices": ["http://www.haldavid.com/", "http://www.montcopa.org/", "http://www.ecb.europa.eu", "http://www.co.lake.mn.us", "http://extremelyloudmovie.com/", "http://www.aafk.no/", "http://www.montclair.edu", "http://richsommer.com/", "http://www.springfield.il.us/", "http://www.placer.ca.gov/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Springfield"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "171.909634 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Springfield\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"171.909634\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.springfield.il.us/"}, {"question": "How is Harris County related to Montgomery County of the official website www.co.montgomery.tx.us?", "choices": ["lifestyle", "shares border with", "field of work", "appears in the form of", "writing system", "month of the year", "material used", "chief executive officer", "place of origin (Switzerland)", "affiliation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harris County"]}, {"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.co.montgomery.tx.us/"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harris County\" . ?e_2 <pred:name> \"Montgomery County\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://www.co.montgomery.tx.us/\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which Indiana county with less than 53000 people has the smallest area?", "choices": ["Lake County", "Delaware County", "Franklin County", "Shelby County", "Allen County", "Marion County", "Madison County", "Johnson County", "Hancock County", "Monroe County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "53000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"53000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Franklin County"}, {"question": "What is the connection between Ernest Rutherford and the University of Manchester?", "choices": ["honorific prefix", "employer", "political alignment", "sex or gender", "sidekick of", "depicts", "work location", "office held by head of state", "draft pick from school", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ernest Rutherford"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Manchester"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ernest Rutherford\" . ?e_2 <pred:name> \"University of Manchester\" . ?e_1 ?p ?e_2 .  }", "answer": "employer"}, {"question": "How many subscribers are there for the Twitter username ashleesimpson of the person who is the spouse of Pete Wentz?", "choices": ["19648", "610767", "1272", "865", "2726075", "101986", "4340992", "527181", "52253", "532926"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pete Wentz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "ashleesimpson", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Pete Wentz\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"ashleesimpson\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "2726075"}, {"question": "How many French departments are the twinned administrative bodies of Moscow, US, or show 50 as their INSEE department code ?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Moscow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["departments of France"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["INSEE department code", "50"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["departments of France"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" .  { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Moscow\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } UNION { ?e <INSEE_department_code> ?pv . ?pv <pred:value> \"50\" .  } }", "answer": "1"}, {"question": "What is the inception time of the music genre whose Dewey Decimal Classification is 781.66082 ?", "choices": ["1789-12-11", "1860-01-17", "1990-01-01", "1912-12-19", "1801-01-22", "1590", "1993-05-14", "1847-01-01", "1901-06-24", "1864-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "781.66082"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"781.66082\" . ?e <inception> ?pv .  }", "answer": "1990-01-01"}, {"question": "What does GoldenEye (published 1995-12-08) have to do with James Bond (the one that uses the language Danish)?", "choices": ["country", "based on", "source of income", "designed by", "work location", "studied by", "appointed by", "occupant", "manufacturer", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["GoldenEye"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1995-12-08", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Danish"]}, {"function": "Relate", "dependencies": [2], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Bond"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"GoldenEye\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1995-12-08\"^^xsd:date . ?e_2 <pred:name> \"James Bond\" . ?e_2 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"Danish\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "How many states have a total fertility rate greater than 2.4 and a nominal GDP less than 14900000 USD?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "2.4", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["nominal GDP", "14900000 United States dollar", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2.4\"^^xsd:double ) . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"14900000\"^^xsd:double ) .  }", "answer": "1"}, {"question": "Which Mike Nichols work earned him an Academy Award for Best Director?", "choices": ["Belgium\u2013Democratic Republic of the Congo relations", "Arkansas\u2013Texas border", "Republic of Macedonia\u2013Ukraine relations", "Japan\u2013Solomon Islands relations", "40th Academy Awards", "Kuwait\u2013Pakistan relations", "Israel\u2013Netherlands relations", "France\u2013Libya relations", "Germany-Angola relations", "Greece\u2013North Macedonia border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Nichols"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mike Nichols\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "40th Academy Awards"}, {"question": "What is the subject of this statement: \"My Man Godfrey (the one whose release region is Netherlands) was nominated for Academy Award for Best Supporting Actress?\"", "choices": ["Kazakhstan\u2013Ukraine relations", "European Union and the United Nations", "Mexico\u2013Saudi Arabia relations", "Bolivia\u2013Brazil relations", "Russia and the United Nations", "Japan\u2013Portugal relations", "Philippines\u2013Romania relations", "Canada\u2013Italy relations", "9th Academy Awards", "Kenya\u2013Uganda relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["My Man Godfrey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"My Man Godfrey\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Netherlands\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "9th Academy Awards"}, {"question": "Who took part in the Winter Olympics that came after the 1976 Winter Games?", "choices": ["Mark Johnson", "Chris Pronger", "David Byrne", "Max Fleischer", "Bruce Greenwood", "William Henry Harrison", "Richard Gere", "Harlan Ellison", "John Milton", "Dany Heatley"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1976 Winter Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Winter Olympic Games"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <participant_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Winter Olympic Games\" . ?e_2 <followed_by> ?e_1 . ?e_2 <pred:name> \"1976 Winter Olympics\" .   }", "answer": "Mark Johnson"}, {"question": "How is Butler County in Pennsylvania related to Mercer County where there are 114234 people living?", "choices": ["shares border with", "archives at", "doctoral advisor", "father", "named after", "godparent", "next higher rank", "work location", "participant of", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Butler County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mercer County"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "114234", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Butler County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Pennsylvania\" . ?e_2 <pred:name> \"Mercer County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"114234\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is Travis Tritt's ISNI?", "choices": ["0000 0004 0394 1316", "0000 0001 1949 4774", "0000 0001 2278 4916", "0000 0003 6863 6577", "0000 0004 0638 6725", "0000 0000 7828 1448", "0000 0001 1464 1501", "0000 0004 0404 0130", "0000 0001 1450 6350", "0000 0001 1463 1864"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Travis Tritt"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Travis Tritt\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1450 6350"}, {"question": "How many entities of sounds were named after math rock or created before 1967?", "choices": ["28", "29", "30", "31", "32", "33", "34", "35", "36", "37"], "program": [{"function": "Find", "dependencies": [], "inputs": ["math rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sound"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1967", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sound"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sound\" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> \"math rock\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  } }", "answer": "34"}, {"question": "Is Marin County or Alameda County smaller, in terms of area?", "choices": ["San Diego County", "San Mateo County", "San Luis Obispo County", "Mariposa County", "Tulare County", "Solano County", "Contra Costa County", "Butte County", "Marin County", "Alameda County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marin County"]}, {"function": "Find", "dependencies": [], "inputs": ["Alameda County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marin County\" .  } UNION { ?e <pred:name> \"Alameda County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alameda County"}, {"question": "How is Lena Headey related to United Kingdom ?", "choices": ["designed by", "symptoms", "subject has role", "patron saint", "country of citizenship", "is a list of", "place of birth", "draft pick from school", "grants", "original network"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lena Headey"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lena Headey\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "The person born as Leslie William Nielsen is identified by which Munzinger IBA?", "choices": ["00000000358", "00000021702", "00000000866", "00000001106", "00000014750", "00000008168", "00000020939", "00000003348", "00000016292", "00000021708"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Leslie William Nielsen"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Leslie William Nielsen\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000021708"}, {"question": "Which association football club has its headquarters location is Charleston, which is the capital of Charleston County?", "choices": ["Hibernian F.C.", "Real Sociedad", "Stade Brestois 29", "Zamalek SC", "Brentford F.C.", "Brisbane Roar FC", "Charleston Battery", "Roda JC Kerkrade", "Turun Palloseura", "Preston North End F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charleston County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charleston"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Charleston\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"Charleston County\" .   }", "answer": "Charleston Battery"}, {"question": "How is Unione Calcio Sampdoria related to Genoa?", "choices": ["connects with", "item operated", "head coach", "convicted of", "domain of saint or deity", "operator", "interested in", "diaspora", "headquarters location", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Unione Calcio Sampdoria"]}, {"function": "Find", "dependencies": [], "inputs": ["Genoa"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Unione Calcio Sampdoria\" . ?e_2 <pred:name> \"Genoa\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What language is associated with http://www.tonibraxton.com/, the official website of a person who is a performer of Toni Braxton (the one whose genre is contemporary R&B) ?", "choices": ["Irish", "Arabic", "Polish", "Maltese", "English", "Serbian", "Ewe", "Atikamekw", "Icelandic", "Bavarian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["contemporary R&B"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Toni Braxton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.tonibraxton.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <performer> ?e . ?e_1 <pred:name> \"Toni Braxton\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"contemporary R&B\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tonibraxton.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Among the animated feature films that contain Shrek (whose children number is 3), which has the largest cost?", "choices": ["Winnie the Pooh", "WALL\u00b7E", "Peter Pan", "Shrek 2", "Shrek Forever After", "Renaissance", "Shrek", "Beauty and the Beast", "Aladdin", "Shrek the Third"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shrek"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of children", "3", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["present in work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["cost", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> \"Shrek\" . ?e_1 <number_of_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3\"^^xsd:double . ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shrek Forever After"}, {"question": "When was the association football club that has a Twitter username of gatesheadfc established?", "choices": ["1189", "2011", "1839", "1567-07-25", "1796-02-09", "1801", "1797-07-27", "1984-02-01", "1899-01-08", "1977"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "gatesheadfc"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"gatesheadfc\" . ?e <inception> ?pv .  }", "answer": "1977"}, {"question": "When was the record label that is the record label of Morning Musume conceived?", "choices": ["1982-01-01", "1798-02-23", "1874-02-18", "1965-11-11", "1890-07-03", "1776-09-06", "1993", "1971-04-16", "1856-02-14", "1885"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morning Musume"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Morning Musume\" .  ?e <inception> ?pv .  }", "answer": "1993"}, {"question": "Does University of Toronto or Goldsmiths, University of London have the smaller student body?", "choices": ["King's College London", "McMaster University", "University of Tehran", "Goldsmiths, University of London", "University of Toronto", "Pennsylvania State University", "Imperial College London", "University of Manchester", "Panjab University", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Toronto"]}, {"function": "Find", "dependencies": [], "inputs": ["Goldsmiths, University of London"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Toronto\" .  } UNION { ?e <pred:name> \"Goldsmiths, University of London\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Goldsmiths, University of London"}, {"question": "What is the metropolitan area that is in the state of the United States that has the official website http://www.ca.gov/ .", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ca.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["metropolitan area"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.ca.gov/\" .   }", "answer": "2"}, {"question": "How is James Marsden connected to actor?", "choices": ["child", "military conflicts", "sports season of league or competition", "capital of", "occupation", "influenced by", "after a work by", "has effect", "month of the year", "start point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Marsden"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Marsden\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Was the publication date in Germany for Fair Game (composed by Mark Mancina) not in 2004?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Mancina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fair Game"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2004", "!="]}], "sparql": "ASK { ?e <pred:name> \"Fair Game\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Mark Mancina\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2004 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "When did  Matthew Fox (the one whose position is defender) stop becoming a member of Cheltenham Town F.C.?", "choices": ["1849-03-07", "1666", "2014-04-07", "1506", "1748-10-18", "1956-01-01", "1991-01-01", "2015-08-02", "2008-04-20", "1937-01-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["defender"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Matthew Fox"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cheltenham Town F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Matthew Fox\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"defender\" . ?e_2 <pred:name> \"Cheltenham Town F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "What is the number of electronic music renditions whose famous person is Bill Nelson (whose occupation is record producer) or whose origination date is not in 1988?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Nelson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [6], "inputs": ["inception", "1988", "!="]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["electronic music"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic music\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Bill Nelson\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"record producer\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  } }", "answer": "25"}, {"question": "What is the connection between 2004 Major League Baseball draft to Philadelphia Phillies?", "choices": ["has contributing factor", "operating area", "political alignment", "publisher", "feast day", "instrumentation", "domain of saint or deity", "source of material", "symptom of", "participant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2004 Major League Baseball draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Philadelphia Phillies"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2004 Major League Baseball draft\" . ?e_2 <pred:name> \"Philadelphia Phillies\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "How long is Galaxy Quest?", "choices": ["238 second", "150 minute", "102 minute", "160 minute", "29 minute", "82 minute", "189 minute", "139.0 minute", "162 minute", "61 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Galaxy Quest"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Galaxy Quest\" . ?e <duration> ?pv .  }", "answer": "102 minute"}, {"question": "Did Al Pacino's career begin post-1989 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Pacino"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1989", ">"]}], "sparql": "ASK { ?e <pred:name> \"Al Pacino\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1989 ) .  }", "answer": "no"}, {"question": "How many votes did 2008 United States presidential election candidate Barack Obama receive?", "choices": ["-1367 kilojoule per mole", "14266", "59948323", "http://www.bbc.co.uk/tv/bbcone/live", "69498516", "4p18", "967", "scheduled monument", "Ian the Gator", "0.7184327 astronomical unit"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States presidential election, 2008"]}, {"function": "Find", "dependencies": [], "inputs": ["Barack Obama"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["candidate", "votes received"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"United States presidential election, 2008\" . ?e_2 <pred:name> \"Barack Obama\" . ?e_1 <candidate> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <candidate> ; <pred:fact_t> ?e_2 ] <votes_received> ?qpv .  }", "answer": "69498516"}, {"question": "Is the smaller area occupied by El Paso County, home of the US Air Force Academy, or Veracruz, at 241 square kilometers in size?", "choices": ["San Juan County", "Kent County", "Delaware County", "African Union", "Greene County", "Veracruz", "Lee County", "Cass County", "Orange County", "El Paso County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Air Force Academy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["El Paso County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Veracruz"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["area", "241 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"El Paso County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"United States Air Force Academy\" . } UNION { ?e <pred:name> \"Veracruz\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"241\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Veracruz"}, {"question": "When did the 56th Primetime Emmy Awards take place?", "choices": ["2010-03-01", "2004", "1999-08-18", "2018-01-02", "2005-01-01", "2013-12-19", "2013-10-28", "1870", "1363", "1966"], "program": [{"function": "Find", "dependencies": [], "inputs": ["56th Primetime Emmy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"56th Primetime Emmy Awards\" . ?e <point_in_time> ?pv .  }", "answer": "2004"}, {"question": "What is the relationship between Cagney & Lacey and Orion Pictures?", "choices": ["child", "narrative location", "fictional universe described in", "has contributing factor", "month of the year", "connects with", "time period", "editor", "ethnic group", "distributor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cagney & Lacey"]}, {"function": "Find", "dependencies": [], "inputs": ["Orion Pictures"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cagney & Lacey\" . ?e_2 <pred:name> \"Orion Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "How is Henry King born on 1776-01-01 related to Eton College?", "choices": ["child", "operating area", "officeholder", "language used", "game mode", "general manager", "location of formation", "film crew member", "architectural style", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry King"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1776-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Eton College"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Henry King\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1776-01-01\"^^xsd:date . ?e_2 <pred:name> \"Eton College\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "When did Augsburg become a part of Germany?", "choices": ["1945-05-08", "1950-03-07", "1926", "1980-12-10", "1980-05-02", "1880-01-01", "2017-11-08", "1984-10-01", "1797-10-12", "1919-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augsburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Augsburg\" . ?e_2 <pred:name> \"Germany\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1945-05-08"}, {"question": "How many subscribers are there for the Twitter username KarlUrban belonging to Karl Urban whose date of birth is 1972-08-07?", "choices": ["2836", "31802", "3564793", "98232", "80825", "591848", "149933", "3401634", "2465921", "38006"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Karl Urban"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1972-08-07", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Twitter username", "KarlUrban", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Karl Urban\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1972-08-07\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"KarlUrban\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "98232"}, {"question": "Which person has ISNI 0000 0001 1494 5302?", "choices": ["William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "Jennifer Ehle", "Cheryl Hines", "Hal Mohr", "John Milton", "Kamal Haasan", "Michael Phelps", "James Brown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1494 5302"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1494 5302\" .  }", "answer": "Jennifer Ehle"}, {"question": "Regarding the film genre that is entitled Chicken Run is the exploitation visa number exactyl 111753?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Chicken Run"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["exploitation visa number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["111753"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Chicken Run\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"111753\" .  }", "answer": "no"}, {"question": "The person born as Chloe Ardelia Wofford has which KLfG Critical Dictionary of foreign contemporary literature designation?", "choices": ["18000000513", "18000000359", "18000000052", "18000000482", "18000000030", "18000000381", "18000000638", "18000000318", "18000000267", "18000000474"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Chloe Ardelia Wofford"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["KLfG Critical Dictionary of foreign contemporary literature"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Chloe Ardelia Wofford\" . ?e <KLfG_Critical_Dictionary_of_foreign_contemporary_literature> ?pv .  }", "answer": "18000000318"}, {"question": "Is the OSM tag or key of species equal to Tag:denomination=evangelical?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["species"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OSM tag or key"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Tag:denomination=evangelical"]}], "sparql": "ASK { ?e <pred:name> \"species\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:denomination=evangelical\" .  }", "answer": "no"}, {"question": "What is the end date of the official name \u0421\u0432\u0435\u0440\u0434\u043b\u043e\u0432\u0441\u044c\u043a for the second largest city having a population that is under 3400000000 on the date 1807-01-01?", "choices": ["1833-09-10", "1763-02-15", "1883", "1936-01-01", "1912-01-01", "1991", "1814-04-11", "1972-09-11", "1990-08-27", "1985-12-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3400000000", "<"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1807-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["second largest city"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official name", "\u0421\u0432\u0435\u0440\u0434\u043b\u043e\u0432\u0441\u044c\u043a", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"second largest city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"3400000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:date> \"1807-01-01\"^^xsd:date . ?e <official_name> ?pv . ?pv <pred:value> \"\u0421\u0432\u0435\u0440\u0434\u043b\u043e\u0432\u0441\u044c\u043a\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1991"}, {"question": "Is \"Sky Captain and the World of Tomorrow\" or \"Fame,\" with Holland Taylor as a cast member, longer?", "choices": ["Training Day", "Fame", "A Prairie Home Companion", "The Fifth Element", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "The Hunchback of Notre Dame", "Sky Captain and the World of Tomorrow", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sky Captain and the World of Tomorrow"]}, {"function": "Find", "dependencies": [], "inputs": ["Holland Taylor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fame"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sky Captain and the World of Tomorrow\" .  } UNION { ?e <pred:name> \"Fame\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Holland Taylor\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fame"}, {"question": "The university of ISNI number 0000 0001 0671 8898 is associated with the website www.jsums.edu, published in which language?", "choices": ["Montenegrin", "Breton", "Navajo", "Indonesian", "Irish", "Polish", "Korean", "English", "Hindi", "Austrian German"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0671 8898"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.jsums.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0671 8898\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.jsums.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the official website of the United States city whose population is 14817?", "choices": ["http://www.vangelisworld.com/", "http://www.justgowithit-movie.com", "http://www.donegal.ie", "http://www.xolos.com.mx/", "http://elfman.cinemusic.net/", "https://www.cbs.com/shows/big_bang_theory/", "http://www.kathmandu.gov.np", "https://www.halloweenmovie.com/", "http://www.ci.ann-arbor.mi.us/", "https://catstevens.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "14817", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"14817\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.ci.ann-arbor.mi.us/"}, {"question": "How many Arizona counties are there whose country is the sovereign state having the Stack Exchange tag https://travel.stackexchange.com/tags/usa?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://travel.stackexchange.com/tags/usa"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Arizona"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://travel.stackexchange.com/tags/usa\" .   }", "answer": "11"}, {"question": "When was the MTV Video Music Award for Best Hip-Hop Video created?", "choices": ["2008", "1919", "1926-04-15", "1999", "1876-02-02", "1849-01-18", "1753-12-13", "1752-03-11", "1965", "1879-11-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Hip-Hop Video"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"MTV Video Music Award for Best Hip-Hop Video\" . ?e <inception> ?pv .  }", "answer": "1999"}, {"question": "How are Denise Richards the profession of model related?", "choices": ["sibling", "instrument", "is a list of", "main food source", "candidate", "quotes work", "military conflicts", "permanent resident of", "occupation", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denise Richards"]}, {"function": "Find", "dependencies": [], "inputs": ["model"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Denise Richards\" . ?e_2 <pred:name> \"model\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Tell me the relationship between English and Sam Rockwell", "choices": ["next higher rank", "office held by head of government", "designated as terrorist by", "broadcast by", "child astronomical body", "producer", "official religion", "family", "languages spoken, written or signed", "participant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Rockwell"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sam Rockwell\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "What is the point in time of the Academy Awards ceremony whose edition number is 75?", "choices": ["1964", "2003-03-23", "2015-08-12", "1983-01-01", "1838", "1996-12-18", "1976-03-29", "1999-10-12", "1823", "2011-02-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "75"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"75\" . ?e <point_in_time> ?pv .  }", "answer": "2003-03-23"}, {"question": "Which area is larger, Colorado (the one that has the capital Denver) or Florida?", "choices": ["California", "Kansas", "South Carolina", "Hawaii", "Iowa", "Colorado", "Illinois", "New Jersey", "New Mexico", "Massachusetts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denver"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Colorado"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Colorado\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Denver\" .   } UNION { ?e <pred:name> \"Florida\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Colorado"}, {"question": "Does Franchot Tone not have exactly 1.2 sons?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Franchot Tone"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["1.2 son", "!="]}], "sparql": "ASK { ?e <pred:name> \"Franchot Tone\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"son\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Was Randy Jackson who is a member of TCU Horned Frogs football born after 1964?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TCU Horned Frogs football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Randy Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1964", ">"]}], "sparql": "ASK { ?e <pred:name> \"Randy Jackson\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"TCU Horned Frogs football\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1964 ) .  }", "answer": "no"}, {"question": "How many food ingredients come from birds or have the pronunciation audio De-K\u00e4se.ogg ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "De-K\u00e4se.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "Find", "dependencies": [], "inputs": ["bird"]}, {"function": "Relate", "dependencies": [3], "inputs": ["this taxon is source of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["food ingredient"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" .  { ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"De-K\u00e4se.ogg\" .  } UNION { ?e_1 <this_taxon_is_source_of> ?e . ?e_1 <pred:name> \"bird\" .  } }", "answer": "2"}, {"question": "When did the city with local dialing code 95 have a population of 690566?", "choices": ["1936", "2016-01-01", "1956-01-01", "1970-04-01", "2003-12-31", "1738", "2014-07-17", "1964-10-01", "1977-01-10", "1980-12-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "95"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "690566", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"95\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"690566\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "What is the relation of Nashville (nominated for a BAFTA Award for Best Actress in a Supporting Role) to Tennessee (whose area is 109247.0 square kilometre)?", "choices": ["presenter", "collection", "lyrics by", "narrative location", "captain", "distribution", "cast member", "head coach", "professorship", "has contributing factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actress in a Supporting Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nashville"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tennessee"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["area", "109247.0 square kilometre", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nashville\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"BAFTA Award for Best Actress in a Supporting Role\" . ?e_2 <pred:name> \"Tennessee\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"109247.0\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "When did  Gerry Conway (the one that has the record label Island Records) become a member of Jethro Tull?", "choices": ["1843-03-04", "2011-02-15", "2011-11-25", "1943-08-01", "2013-08-01", "1922-01-01", "1982", "1983-11-17", "2012-01-08", "1821-06-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Island Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gerry Conway"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jethro Tull"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Gerry Conway\" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> \"Island Records\" . ?e_2 <pred:name> \"Jethro Tull\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1982"}, {"question": "What is the character role of John Cleese in Die Another Day (the one that has John Cleese as a cast member)?", "choices": ["Bigweld", "William Stryker", "Lancelot", "Johnny English", "Treebeard", "Q", "Reverend Lovejoy", "Sam Lane", "Sweeney Todd", "Raiden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cleese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Die Another Day"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["John Cleese"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Die Another Day\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"John Cleese\" . ?e_2 <pred:name> \"John Cleese\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Q"}, {"question": "What number of sports have the IAB code 514?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "514"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sport"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"514\" .  }", "answer": "1"}, {"question": "Was the university headquartered in Burnaby founded later than 1846 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burnaby"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1846", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Burnaby\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1846 ) .  }", "answer": "yes"}, {"question": "What is the number of Italian communes that you can find in the Eastern European time zone or that is from Italy", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern European Time"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comune of Italy"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["comune of Italy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" .  { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern European Time\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"Italy\" .  } }", "answer": "5"}, {"question": "How was it determined that 242,803 is the number of people living in an independent city which is the twinned administrative body of Norfolk (the one whose official website is http://www.norfolk.gov.uk/)?", "choices": ["census", "extrapolation", "United Kingdom Census 1981", "de facto", "UIS estimation", "lead-lead dating", "Census", "resident registration", "2000 United States Census", "administrative division valid at the time point of history to which the data relates"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.norfolk.gov.uk/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "242803", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Norfolk\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.norfolk.gov.uk/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"242803\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Tell me the number of medications that have a meting point exactly 250 degree Celsius", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["melting point", "250 degree Celsius", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e <melting_point> ?pv . ?pv <pred:unit> \"degree Celsius\" . ?pv <pred:value> \"250\"^^xsd:double .  }", "answer": "0"}, {"question": "Which award having a visitor count of under 5600000 per year has the smallest number of visitors?", "choices": ["Independent Spirit Award for Best Female Lead", "Pro Football Hall of Fame", "Royal Victorian Chain", "National Baseball Hall of Fame and Museum", "Grammy Award for Best Reggae Album", "World Golf Hall of Fame", "Latin Grammy Award for Best Male Pop Vocal Album", "Golden Globe Award for Best Animated Feature Film", "Grammy Award for Best Metal Performance", "Rock and Roll Hall of Fame"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["visitors per year", "5600000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["visitors per year", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <visitors_per_year> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"5600000\"^^xsd:double ) . ?e <visitors_per_year> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pro Football Hall of Fame"}, {"question": "Is the publication date of the visual artwork whose official website is http://www.angelsanddemons.com/ after the year 1995 in the release region Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.angelsanddemons.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1995", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.angelsanddemons.com/\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1995 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "When was Trevor Howard was nominated for Academy Award for Best Actor?", "choices": ["2003-03-23", "1900-12-01", "1960-01-01", "1300", "350", "2007-04-01", "1819", "1977-01-10", "2017-07-18", "2016-06-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trevor Howard"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Trevor Howard\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1960-01-01"}, {"question": "What is the connection between Evil Angels to Sam Neill?", "choices": ["signatory", "country of citizenship", "cast member", "producer", "sponsor", "applies to jurisdiction", "game mode", "position held", "geography of topic", "medical treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evil Angels"]}, {"function": "Find", "dependencies": [], "inputs": ["Sam Neill"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Evil Angels\" . ?e_2 <pred:name> \"Sam Neill\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the Universal Decimal Classification associated with Taoism?", "choices": ["316", "59", "221.3", "24", "233", "811.134.2", "004.3", "511", "811.162.3", "520"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taoism"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Universal Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Taoism\" . ?e <Universal_Decimal_Classification> ?pv .  }", "answer": "221.3"}, {"question": "What is Jim Carrey's role in Dumb and Dumber whose narrative location is Aspen?", "choices": ["Nigel Powers", "Sleepy", "Elrond", "Jack Shephard", "Demetrius", "Mr. Big", "Lloyd Christmas", "Ghost Rider", "Maximilian Veers", "John Adams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aspen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dumb and Dumber"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jim Carrey"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dumb and Dumber\" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Aspen\" . ?e_2 <pred:name> \"Jim Carrey\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Lloyd Christmas"}, {"question": "How is the writer Frank Herbert related to writer?", "choices": ["country of citizenship", "costume designer", "employer", "student", "main food source", "narrative role", "educated at", "field of work", "occupation", "instrumentation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Herbert"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Herbert\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"writer\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which Florida county is in the country of the United States of America and has the Dewey Decimal Classification 2--75932?", "choices": ["Collier County", "Polk County", "Putnam County", "Broward County", "West Palm Beach", "Citrus County", "Hillsborough County", "Alachua County", "Duval County", "Palm Beach County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "2--75932"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Florida"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--75932\" .  }", "answer": "Palm Beach County"}, {"question": "Is 2012 not the year of the release date in the release region the United States of America for the visual artwork whose production company is Lawrence Kasdan?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence Kasdan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2012", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Lawrence Kasdan\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "yes"}, {"question": "When ws the music genre which originated from Sweden founded?", "choices": ["1980-02-21", "1858-05-11", "1882-01-01", "1966-01-20", "1776-01-01", "1948-05-26", "1244", "1985-01-01", "1986-02-03", "1950-02-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Sweden\" .  ?e <inception> ?pv .  }", "answer": "1985-01-01"}, {"question": "Who is the US citizen that has the ISNI 0000 0000 7824 8269 ?", "choices": ["Toni Braxton", "Mike Nichols", "Michael Tollin", "Elliott Smith", "Michael Collins", "Sylvester Stallone", "Richard Gere", "Charlie Daniels", "Max Fleischer", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7824 8269"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7824 8269\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  }", "answer": "Michael Tollin"}, {"question": "Where was In Bruges released on 2008-06-25?", "choices": ["R\u00e4ttvik", "El Capitan Theatre", "Vietnam", "France", "Moscow", "Singapore", "British Hong Kong", "Czech Republic", "Hungary", "United Arab Emirates"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In Bruges"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2008-06-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"In Bruges\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-06-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "France"}, {"question": "What is the connection between The Man in the Iron Mask (the one that has Alan Hale as a cast member) to drama film?", "choices": ["kit supplier", "airline hub", "continent", "genre", "stated in", "collection", "record label", "doctoral student", "talk show guest", "partially contains"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Hale"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man in the Iron Mask"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Man in the Iron Mask\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Alan Hale\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the number of subscribers for the Twitter username univienna, belonging to the university that employs Richard Wagner (whose date of death is 1974-04-19)?", "choices": ["22335", "214566", "18271819", "12060", "143161", "61441", "43851", "141342", "3728", "581985"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Wagner"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1974-04-19", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "univienna", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Richard Wagner\" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1974-04-19\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"univienna\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "12060"}, {"question": "Is 55 inches the height of the person whose birthday is 1981-10-08?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1981-10-08", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["55 inch", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1981-10-08\"^^xsd:date . ?e <height> ?pv . ?pv <pred:unit> \"inch\" . ?pv <pred:value> \"55\"^^xsd:double .  }", "answer": "no"}, {"question": "What is the connection between V2 Records Benelux to Richard Branson?", "choices": ["designed to carry", "part of", "symptoms", "contributor(s) to the creative work", "student of", "screenwriter", "candidate", "programming paradigm", "founded by", "political ideology"], "program": [{"function": "Find", "dependencies": [], "inputs": ["V2 Records Benelux"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Branson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"V2 Records Benelux\" . ?e_2 <pred:name> \"Richard Branson\" . ?e_1 ?p ?e_2 .  }", "answer": "founded by"}, {"question": "Who gave the Nobel Prize in Economics a review score of 0.8?", "choices": ["FIFA", "Metacritic", "The World of Movies", "Internet Movie Database", "Rotten Tomatoes", "James Berardinelli", "Charity Navigator", "Innovation, Science and Economic Development Canada", "Roger Ebert", "Gene Siskel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Economics"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["review score", "0.8", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nobel Prize in Economics\" . ?e <review_score> ?pv . ?pv <pred:value> \"0.8\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "Innovation, Science and Economic Development Canada"}, {"question": "What is the connection between Preston Sturges to United States of America?", "choices": ["Wikidata property", "organisation directed from the office or person", "language of work or name", "legal form", "country of citizenship", "editor", "located in the administrative territorial entity", "mascot", "location of formation", "exported to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Preston Sturges"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Preston Sturges\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Was it more expensive to make Ghostbusters, scripted by Harold Ramis, or The Hunchback of Notre Dame, with Anthony Quinn as a cast member?", "choices": ["The Flintstones in Viva Rock Vegas", "G-Force", "The Flintstones", "Alvin and the Chipmunks: Chipwrecked", "The Muppets", "National Treasure: Book of Secrets", "John Carter", "Old Dogs", "Ghostbusters", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harold Ramis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ghostbusters"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Anthony Quinn"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hunchback of Notre Dame"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ghostbusters\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Harold Ramis\" .   } UNION { ?e <pred:name> \"The Hunchback of Notre Dame\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Anthony Quinn\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ghostbusters"}, {"question": "What is the beginning date of the Academy Awards for which David Strathairn was nominated?", "choices": ["1852-12-02", "862", "1911-01-30", "1787-04-30", "1950-08-15", "1951-01-01", "1965-09-09", "1927", "1988", "-4527000000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Strathairn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"David Strathairn\" .  ?e <inception> ?pv .  }", "answer": "1927"}, {"question": "The visual artwork that won the Golden Lion on 1993-01-01 had which release location on 1994-01-06?", "choices": ["Taiwan", "1949 Cannes Film Festival", "Seattle International Film Festival", "Malaysia", "Sweden", "Germany", "Romania", "Stockholm", "Japan", "Venezuela"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1993-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1994-01-06", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Golden Lion\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:date> \"1993-01-01\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-01-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is Matthew Fox of Northampton Town F.C. related to Northampton Town F.C.?", "choices": ["member of sports team", "located in or next to body of water", "home venue", "afflicts", "cites", "board member", "place of birth", "candidacy in election", "lyrics by", "location of formation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northampton Town F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Matthew Fox"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Northampton Town F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Matthew Fox\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Northampton Town F.C.\" . ?e_2 <pred:name> \"Northampton Town F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "When is the establishment of the record label which has the official website of http://www.dvsrecords.com/?", "choices": ["1902-07-21", "1964", "1759", "1979-05-10", "1975-06-25", "1953-11-09", "1966", "1751", "1365-03-12", "1910-03-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.dvsrecords.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.dvsrecords.com/\" . ?e <inception> ?pv .  }", "answer": "1966"}, {"question": "What is the official name of the association football club whose Instagram username is heraclesalmelo?", "choices": ["New York", "Arcade Forming South Western Quarter Of Circle And Avenue", "Heracles Almelo", "Repubblica delle Seychelles", "\u05de\u05d3\u05d9\u05e0\u05ea \u05d9\u05e9\u05e8\u05d0\u05dc", "\u0160v\u00e9dsk\u00e9 kr\u00e1lovstv\u00ed", "Republica Bulgaria", "Luton Town Football Club", "House of Assembly of South Australia", "Unione europea"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "heraclesalmelo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"heraclesalmelo\" . ?e <official_name> ?pv .  }", "answer": "Heracles Almelo"}, {"question": "When did the film whose official website is http://www.enemyatthegatesmovie.com/ get an exploitation visa number of 101871?", "choices": ["2005-03-27", "2004-08-05", "1945-01-01", "2001-03-12", "1908-04-27", "1996-04-30", "2013-04-03", "1964-10-10", "1981-01-15", "1701-07-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.enemyatthegatesmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["exploitation visa number", "101871", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.enemyatthegatesmovie.com/\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"101871\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2001-03-12"}, {"question": "I want to know the university that is where The Last Emperor was educated (the one who is a United States of America citizen).", "choices": ["Villanova University", "University of Manchester", "Loyola University Chicago", "Kellogg School of Management", "Pennsylvania State University", "Lincoln University", "Imperial College London", "McNeese State University", "University of Louisville", "California State Polytechnic University, Pomona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Last Emperor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["university"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"The Last Emperor\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United States of America\" .   }", "answer": "Lincoln University"}, {"question": "Bel Ami, which was released in the Netherlands region, has what length of duration?", "choices": ["145 minute", "197 minute", "9 minute", "193 minute", "62 minute", "184 minute", "67.0 minute", "2359 second", "100 minute", "142 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bel Ami"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bel Ami\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Netherlands\" .  ?e <duration> ?pv .  }", "answer": "100 minute"}, {"question": "Which movie cost more to make, Inception or Detective Dee and the Mystery of the Phantom Flame?", "choices": ["Detective Dee and the Mystery of the Phantom Flame", "The Fifth Element", "Training Day", "Pleasantville", "Inception", "Talk to Her", "The Towering Inferno", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Inception"]}, {"function": "Find", "dependencies": [], "inputs": ["Detective Dee and the Mystery of the Phantom Flame"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Inception\" .  } UNION { ?e <pred:name> \"Detective Dee and the Mystery of the Phantom Flame\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Inception"}, {"question": "To which part of the sovereign state that shares a border with Guinea-Bissau (in the subject of Guinea-Bissau\u2013Senegal border) does the demonym \"senegalezi\" apply?", "choices": ["European Russia", "France", "Posey County", "Obion County", "5th arrondissement of Lyon", "Flo", "Parkland Region", "plural", "Manitoba", "Bandung"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guinea-Bissau"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Guinea-Bissau\u2013Senegal border"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["demonym", "senegalezi", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Guinea-Bissau\" . [ <pred:fact_h> ?e ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Guinea-Bissau\u2013Senegal border\" . ?e <demonym> ?pv . ?pv <pred:value> \"senegalezi\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "plural"}, {"question": "What is the end time of James Brown (who is a member of the Miami Dolphins) a member of New York Jets?", "choices": ["1932-02-26", "1850-12-31", "1995", "1149", "1861-07-20", "1980-08-03", "1934-01-01", "1861-02-17", "1972-09-11", "1936-04-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miami Dolphins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York Jets"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Miami Dolphins\" . ?e_2 <pred:name> \"New York Jets\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1995"}, {"question": "The ethnicity of Clint Eastwood, director of Gran Torino, includes how many ethnic groups?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gran Torino"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clint Eastwood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic group"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"Clint Eastwood\" . ?e_2 <director> ?e_1 . ?e_2 <pred:name> \"Gran Torino\" .   }", "answer": "2"}, {"question": "What is the relationship between Anna Karenina (the one whose publication date is 1915-01-01) and black-and-white?", "choices": ["convicted of", "depicted by", "mother", "basin country", "child", "professorship", "famous people", "color", "notable work", "has quality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1915-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anna Karenina\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1915-01-01\"^^xsd:date . ?e_2 <pred:name> \"black-and-white\" . ?e_1 ?p ?e_2 .  }", "answer": "color"}, {"question": "Is the population higher in Fairfield, headquarters of Fairfield University, or in Newton, population 7997?", "choices": ["Chapel Hill", "Westport", "Greenwich", "Brookline", "West Hartford", "Uxbridge", "Kensington", "Newton", "Bedford", "Fairfield"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fairfield University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fairfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Newton"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "7997", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fairfield\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Fairfield University\" . } UNION { ?e <pred:name> \"Newton\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"7997\"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fairfield"}, {"question": "What is the official website of the association football club whose Twitter username is scheerenveen?", "choices": ["http://pirates.disney.com/pirates-of-the-caribbean-dead-mans-chest", "http://www.pref.chiba.lg.jp", "https://www.bamargera.com", "http://www.tudelft.nl/", "https://www.sc-heerenveen.nl/", "http://www.mrshendersonpresentsmovie.co.uk/", "http://www.co.santa-cruz.ca.us", "http://www.islandrecords.com", "http://www.umno-online.com/", "http://www.uzh.ch/index.html"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "scheerenveen"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"scheerenveen\" . ?e <official_website> ?pv .  }", "answer": "https://www.sc-heerenveen.nl/"}, {"question": "Is ucf.edu the Instagram username of the higher learning institution whose official color is black?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["ucf.edu"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <official_color> ?e_1 . ?e_1 <pred:name> \"black\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"ucf.edu\" .  }", "answer": "yes"}, {"question": "How is the 9-season Alice related to the Primetime Emmy for Outstanding Supporting Actor in a Comedy Series?", "choices": ["taxon rank", "after a work by", "distribution", "executive producer", "voice actor", "had as last meal", "basic form of government", "nominated for", "office held by head of the organisation", "parent astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "9", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice\" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"9\"^^xsd:double . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which area is larger, Tel Aviv or Calgary?", "choices": ["Chihuahua", "Bergen", "Tel Aviv", "Calgary", "Cork", "Kingston", "Abidjan", "Trieste", "Santo Domingo", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tel Aviv"]}, {"function": "Find", "dependencies": [], "inputs": ["Calgary"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tel Aviv\" .  } UNION { ?e <pred:name> \"Calgary\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Calgary"}, {"question": "Are there more people in Bethlehem (birthplace of Daniel Roebuck) or in Lancaster (dialing code 717)?", "choices": ["Philadelphia", "Wilkes-Barre", "Harrisburg", "Johnstown", "Bethlehem", "Erie", "Chester", "Greensburg", "Lancaster", "York"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Roebuck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bethlehem"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lancaster"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["local dialing code", "717"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bethlehem\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Daniel Roebuck\" . } UNION { ?e <pred:name> \"Lancaster\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"717\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bethlehem"}, {"question": "When did soccer's Cesar Romero become a member of FC Pyunik?", "choices": ["1890-01-01", "1855", "2003-12-08", "1984-09-17", "1992-04-23", "1960-10-15", "1975-01-23", "1940", "2006-11-16", "2014-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cesar Romero"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["FC Pyunik"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cesar Romero\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"FC Pyunik\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "Alan Arkin was cast in what role on Catch-22, with Sam O'Steen serving as a film editor?", "choices": ["Callie Torres", "Kim Fowley", "William IV of the United Kingdom", "Yossarian", "Raymond Langston", "Tom\u00e1\u0161", "Perry White", "Hermes", "John Doggett", "Peter Venkman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam O'Steen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film editor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catch-22"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alan Arkin"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Catch-22\" . ?e_1 <film_editor> ?e_3 . ?e_3 <pred:name> \"Sam O'Steen\" . ?e_2 <pred:name> \"Alan Arkin\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Yossarian"}, {"question": "Which person is a student of the individual whose Libris-URI is 75kmn1kr3mpfb1g?", "choices": ["Amy Adams", "Niels Bohr", "Hannah Arendt", "Jacques Derrida", "Sylvester Stallone", "J. Michael Riva", "Carl Gustav Jung", "Marcel Proust", "Max Fleischer", "Aristotle"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "75kmn1kr3mpfb1g"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["student of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <student_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> \"75kmn1kr3mpfb1g\" .   }", "answer": "Aristotle"}, {"question": "What is the character role of Jay Baruchel in  The Sorcerer's Apprentice (the one that has Alfred Molina as a cast member)?", "choices": ["Billie Jenkins", "Jonah Hex", "Felicity Shagwell", "Dave", "Dieter Reinhardt", "Alfred Pennyworth", "Kevin Venkataraghavan", "White Rabbit", "Cinna", "Eugene O'Neill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alfred Molina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sorcerer's Apprentice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jay Baruchel"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Sorcerer's Apprentice\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Alfred Molina\" . ?e_2 <pred:name> \"Jay Baruchel\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Dave"}, {"question": "Of feature films publicly released in the year 2007, which has the longest run-time?", "choices": ["The Muppets", "Holes", "John Carter", "Earth", "Old Dogs", "Invincible", "G-Force", "Alvin and the Chipmunks: Chipwrecked", "National Treasure: Book of Secrets", "Pirates of the Caribbean: At World's End"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2007", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2007 . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pirates of the Caribbean: At World's End"}, {"question": "Who is shorter, Amy Adams (the one that is a cast member of Charlie Wilson's War) or Thomas Jefferson (the one that founds Democratic-Republican Party)?", "choices": ["Richard Gere", "Sylvester Stallone", "Rahul Dev Burman", "David Byrne", "Simon Cowell", "Max Fleischer", "Amy Adams", "Thomas Jefferson", "William Henry Harrison", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Wilson's War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amy Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Democratic-Republican Party"]}, {"function": "Relate", "dependencies": [4], "inputs": ["found", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Jefferson"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amy Adams\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Charlie Wilson's War\" .   } UNION { ?e <pred:name> \"Thomas Jefferson\" . ?e <found> ?e_2 . ?e_2 <pred:name> \"Democratic-Republican Party\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Amy Adams"}, {"question": "How is Robert Forster whose ISNI is 0000 0001 1448 530X related to the guitar?", "choices": ["instrument", "costume designer", "permanent resident of", "official residence", "production company", "founded by", "candidacy in election", "after a work by", "religious order", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Forster"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1448 530X"]}, {"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Forster\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1448 530X\" . ?e_2 <pred:name> \"guitar\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Which is shorter, An Inconvenient Truth or Crazy Heart?", "choices": ["Curse of the Golden Flower", "The Towering Inferno", "Crazy Heart", "The Hunchback of Notre Dame", "Rebecca", "An Inconvenient Truth", "A Prairie Home Companion", "Training Day", "Pleasantville", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["An Inconvenient Truth"]}, {"function": "Find", "dependencies": [], "inputs": ["Crazy Heart"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"An Inconvenient Truth\" .  } UNION { ?e <pred:name> \"Crazy Heart\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "An Inconvenient Truth"}, {"question": "What person is famous for the pedal steel guitar and has the birth name Ronald David Wood?", "choices": ["Richard Gere", "David Byrne", "Daniel Lanois", "Jerry Garcia", "Sylvester Stallone", "Jimmy Page", "Max Fleischer", "Simon Cowell", "Rahul Dev Burman", "Ronnie Wood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pedal steel guitar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Ronald David Wood"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"pedal steel guitar\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Ronald David Wood\" .  }", "answer": "Ronnie Wood"}, {"question": "The movie titled The Shining was released on 1980-05-23 in which region?", "choices": ["United States of America", "Charlotte Motor Speedway", "Seattle International Film Festival", "2005 Cannes Film Festival", "Los Angeles", "New Amsterdam Theatre", "United Kingdom", "Peru", "Westwood", "Colombia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Shining"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1980-05-23", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Shining\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1980-05-23\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the name of the person with the CANTIC-ID of 10456004?", "choices": ["Julie Delpy", "Xzibit", "Richard Gere", "Robert Redford", "William Henry Harrison", "Max Fleischer", "Peter Jacobson", "Bill Evans", "Steve Martin", "Theodor W. Adorno"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10456004"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10456004\" .  }", "answer": "Steve Martin"}, {"question": "Which movie is longer, The Jetsons Meet the Flintstones or The Patriot (the one whose release region is United States of America)?", "choices": ["The Patriot", "Rebecca", "Talk to Her", "The Towering Inferno", "The Jetsons Meet the Flintstones", "The Fifth Element", "Pleasantville", "Training Day", "A Prairie Home Companion", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Jetsons Meet the Flintstones"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Jetsons Meet the Flintstones\" .  } UNION { ?e <pred:name> \"The Patriot\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Patriot"}, {"question": "Which one has more episodes within the tv program that has a number of episodes other than 910", "choices": ["Lost, season 3", "Monster House", "The Wire, season 3", "Cold War", "The Wire, season 5", "The Larry Sanders Show", "Cranford", "The Wire, season 4", "The Wire, season 2", "The Wire, season 1"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "910", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television program"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"910\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Larry Sanders Show"}, {"question": "What is the place of publication for Domino whose official website is http://www.domino-lefilm.com/ and release date is 2005-12-29?", "choices": ["Thailand", "Cannes Film Festival", "Germany", "United States of America", "Ukraine", "Brazil", "Croatia", "Washington, D.C.", "Sweden", "Australia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Domino"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.domino-lefilm.com/"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["publication date", "2005-12-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Domino\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.domino-lefilm.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-12-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the start time of the legislative term that ended in 1843?", "choices": ["1974-11-21", "1947-08-27", "1841-03-04", "2005-09-19", "1979-09-24", "2017-09-08", "1916-07-01", "1961-12-05", "2011-03-09", "2007-09-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1843", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> 1843 . ?e <start_time> ?pv .  }", "answer": "1841-03-04"}, {"question": "What is the edition number of the 2006 Satellite Awards?", "choices": ["55", "35", "11", "29", "66", "30", "74", "21", "10", "31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Awards 2006"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["edition number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Satellite Awards 2006\" . ?e <edition_number> ?pv .  }", "answer": "11"}, {"question": "Tell me the number of belief systems that is influenced by the belief system that has the OSM tag or key Tag:religion=hindu.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:religion=hindu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "Relate", "dependencies": [2], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["belief system"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"belief system\" . ?e_1 <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:religion=hindu\" .   }", "answer": "1"}, {"question": "Who is the person that stars in Foreign Correspondent and whose birth name is Alfred Joseph Hitchcock?", "choices": ["James E. Reilly", "Max Fleischer", "Richard Gere", "Sylvester Stallone", "Rahul Dev Burman", "David Byrne", "William Henry Harrison", "George Sanders", "Alfred Hitchcock", "Laraine Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Foreign Correspondent"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Alfred Joseph Hitchcock"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Foreign Correspondent\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Alfred Joseph Hitchcock\" .  }", "answer": "Alfred Hitchcock"}, {"question": "What Los Angeles neighborhood has postal codes 91401, 91405, 91406, 91409 and 91411?", "choices": ["Encino", "Roxbury", "Woodland Hills", "Astoria", "Monte Carlo", "Northridge", "Venice", "Hollywood", "Van Nuys", "Sherman Oaks"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "91401, 91405, 91406, 91409, 91411"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["neighborhood"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <postal_code> ?pv . ?pv <pred:value> \"91401, 91405, 91406, 91409, 91411\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .  }", "answer": "Van Nuys"}, {"question": "How many theatrical genres have a number of seasons that isn't 20?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "20", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"20\"^^xsd:double ) .  }", "answer": "3"}, {"question": "Which movie is shorter, The Queen or Superman/Batman: Public Enemies?", "choices": ["The Fifth Element", "Curse of the Golden Flower", "Rebecca", "Superman/Batman: Public Enemies", "A Prairie Home Companion", "Training Day", "Pleasantville", "The Hunchback of Notre Dame", "The Towering Inferno", "The Queen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Queen"]}, {"function": "Find", "dependencies": [], "inputs": ["Superman/Batman: Public Enemies"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Queen\" .  } UNION { ?e <pred:name> \"Superman/Batman: Public Enemies\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Superman/Batman: Public Enemies"}, {"question": "Does Savages (the one whose release region is Germany), have a duration of less than 6 months?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Savages"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["6 month", "<"]}], "sparql": "ASK { ?e <pred:name> \"Savages\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Germany\" .  ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Is Monroe County (population 73090) associated with the website http://www.armandassante.net ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monroe County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "73090", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://www.armandassante.net"]}], "sparql": "ASK { ?e <pred:name> \"Monroe County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"73090\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.armandassante.net\" .  }", "answer": "no"}, {"question": "How many subscribers does SM Entertainment have for its Twitter username, SMTOWNGLOBAL?", "choices": ["1983", "35230408", "6671094", "3537200", "114", "477167", "163858", "64528", "321559", "63"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SM Entertainment"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "SMTOWNGLOBAL", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"SM Entertainment\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SMTOWNGLOBAL\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "6671094"}, {"question": "The USA has how many Maine counties?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maine"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "10"}, {"question": "What is the relationship between Burlington (the one whose Amtrak station code is brl) and Streamline Moderne?", "choices": ["contributing factor of", "officially opened by", "home port", "studies", "student", "instrument", "screenwriter", "seed team", "season starts", "architectural style"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burlington"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Amtrak station code", "brl"]}, {"function": "Find", "dependencies": [], "inputs": ["Streamline Moderne"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Burlington\" . ?e_1 <Amtrak_station_code> ?pv . ?pv <pred:value> \"brl\" . ?e_2 <pred:name> \"Streamline Moderne\" . ?e_1 ?p ?e_2 .  }", "answer": "architectural style"}, {"question": "How many subscribers does the rock band whose genre is electronica have under the Twitter username sparksofficial?", "choices": ["1760042", "57124", "182054", "12792", "3288357", "12550", "415310", "789", "153063", "302417"], "program": [{"function": "Find", "dependencies": [], "inputs": ["electronica"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "sparksofficial", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"electronica\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"sparksofficial\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "12550"}, {"question": "How many mathematics are involved with the field of statistician or whose Universal Decimal Classification is 511?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["statistician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of this occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mathematics"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Universal Decimal Classification", "511"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mathematics"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mathematics\" .  { ?e_1 <field_of_this_occupation> ?e . ?e_1 <pred:name> \"statistician\" .  } UNION { ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> \"511\" .  } }", "answer": "2"}, {"question": "Which human has a date of birth on 1971-05-09?", "choices": ["William Henry Harrison", "Winston Churchill", "Chris Brown", "Jason Lee", "Max Fleischer", "Richard Gere", "Edward Burns", "Julie Delpy", "Sylvester Stallone", "Swizz Beatz"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1971-05-09", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1971-05-09\"^^xsd:date .  }", "answer": "Jason Lee"}, {"question": "Does Lubbock or Pensacola cover a larger area?", "choices": ["Lubbock", "Greenville", "Franklin", "New Haven", "Waukegan", "Compton", "Pensacola", "Oakland", "Lansing", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lubbock"]}, {"function": "Find", "dependencies": [], "inputs": ["Pensacola"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lubbock\" .  } UNION { ?e <pred:name> \"Pensacola\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lubbock"}, {"question": "When was 438965 the population of the county of Pennsylvania whose FIPS 6-4 (US counties) is 42133 ?", "choices": ["2010-03-07", "1867-12-03", "1928-01-01", "1830-01-01", "1966-12-31", "2004-11-10", "-150", "2013-01-01", "2013-07-01", "1919"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42133"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "438965", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"42133\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"438965\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "How is downtempo connected to Portishead?", "choices": ["famous people", "professorship", "capital", "signatory", "use", "source of material", "used by", "language used", "located in or next to body of water", "coextensive with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["downtempo"]}, {"function": "Find", "dependencies": [], "inputs": ["Portishead"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"downtempo\" . ?e_2 <pred:name> \"Portishead\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many subscribers are there for the subreddit Hunan belonging to the China province having the ISO 3166-2 code CN-43 whose ending date is 2017-11-23?", "choices": ["1066036", "1135880", "50288", "15325", "398248", "24723", "149", "8", "921414", "580515"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "CN-43"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2017-11-23", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["province of China"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["subreddit", "Hunan", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> \"CN-43\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:date> \"2017-11-23\"^^xsd:date . ?e <subreddit> ?pv . ?pv <pred:value> \"Hunan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "8"}, {"question": "What is the connection between The Office (the one that is a notable work of Mindy Kaling) to Creed Bratton?", "choices": ["director/manager", "executive producer", "separated from", "basin country", "original language of film or TV show", "sponsor", "owned by", "model item", "cast member", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mindy Kaling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Office"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Creed Bratton"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Office\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Mindy Kaling\" . ?e_2 <pred:name> \"Creed Bratton\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which person was born on 1898-01-01?", "choices": ["Harry Dean Stanton", "Diane Sawyer", "John Spencer", "Iftekhar", "Sylvester Stallone", "Joseph Barbera", "Richard Gere", "William Henry Harrison", "Max Fleischer", "Tony Scott"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1898-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1898-01-01\"^^xsd:date .  }", "answer": "John Spencer"}, {"question": "Where was The Mirror Has Two Faces published on 1997-02-06?", "choices": ["Latvia", "Vietnam", "Tribeca Film Festival", "Denmark", "Egypt", "Germany", "Europe", "Taiwan", "Moscow", "Canada"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mirror Has Two Faces"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1997-02-06", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Mirror Has Two Faces\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-02-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which film's official website is http://www.miramax.com/movie/the-diving-bell-and-the-butterfly?", "choices": ["Walk the Line", "Flags of Our Fathers", "A Prairie Home Companion", "The Tourist", "Talk to Her", "Rebecca", "The Mummy", "Mildred Pierce", "Pleasantville", "The Diving Bell and the Butterfly"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/the-diving-bell-and-the-butterfly"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/the-diving-bell-and-the-butterfly\" .  }", "answer": "The Diving Bell and the Butterfly"}, {"question": "What is the title of the visual artwork whose official website is http://www.paramount.com/movies/sum-all-fears?", "choices": ["\u0421\u043b\u0430\u0432\u0430", "The Sum of All Fears", "House", "Willow", "I Am Legend", "Boston Legal", "Recess: School's Out", "Mickey's Magical Christmas: Snowed in at the House of Mouse", "As Good as It Gets", "In the Name of the Father"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.paramount.com/movies/sum-all-fears"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.paramount.com/movies/sum-all-fears\" . ?e <title> ?pv .  }", "answer": "The Sum of All Fears"}, {"question": "What feature film is titled The Chronicles of Narnia: The Lion, the Witch  and was nominated for Academy Award for Best Makeup and Hairstyling at 78th Academy Awards ?", "choices": ["John Carter", "Old Dogs", "G-Force", "The Flintstones in Viva Rock Vegas", "Alvin and the Chipmunks: Chipwrecked", "The Flintstones", "The Muppets", "Holes", "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe", "Enchanted"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["statement is subject of", "78th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["feature film"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv . ?pv <pred:value> \"The Chronicles of Narnia: The Lion, the Witch and the Wardrobe\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"78th Academy Awards\" .  }", "answer": "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe"}, {"question": "Which movie is shorter, Magnolia or War Horse?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "Magnolia", "The Fifth Element", "Rebecca", "War Horse", "The Towering Inferno", "Training Day", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Magnolia"]}, {"function": "Find", "dependencies": [], "inputs": ["War Horse"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Magnolia\" .  } UNION { ?e <pred:name> \"War Horse\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "War Horse"}, {"question": "Does the website at http://www.ericrobertsactor.com/ belong to the parent of Emma Roberts?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emma Roberts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["child", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.ericrobertsactor.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <child> ?e_1 . ?e_1 <pred:name> \"Emma Roberts\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ericrobertsactor.com/\" .  }", "answer": "yes"}, {"question": "What is the time point of a population of 310864 for St. Louis?", "choices": ["1986-03-24", "1850-03-01", "1870", "400", "2008-07-02", "1756", "2003-07-01", "2008-12-01", "2004-05-01", "2004-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Louis"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "310864", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"St. Louis\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"310864\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1870"}, {"question": "When did a licence plate of a sovereign state, whose annual number of weddings was lower or higher than 29,000 in 2013, come with CGO reading ?", "choices": ["1994-01-01", "1581", "1936-06-09", "1999-04-01", "1803-03-04", "1997-09-16", "1990-11-01", "1934", "1967-09-10", "1997-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["annual number of weddings", "29000", "!="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2013", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["licence plate code", "CGO", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <annual_number_of_weddings> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"29000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <annual_number_of_weddings> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2013 . ?e <licence_plate_code> ?pv . ?pv <pred:value> \"CGO\" . [ <pred:fact_h> ?e ; <pred:fact_r> <licence_plate_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1997-01-01"}, {"question": "Tell me the time point of javier bardem got National Society of Film Critics Award for Best Actor", "choices": ["2015-03-01", "1993-11-19", "2000", "300", "1999-10-12", "2015-05-07", "1939-01-01", "2018-06-06", "1949-01-01", "2011-11-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Javier Bardem"]}, {"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Javier Bardem\" . ?e_2 <pred:name> \"National Society of Film Critics Award for Best Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "When was the person with ISNI 0000 0000 7840 2844 born?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7840 2844"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1991", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7840 2844\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  }", "answer": "yes"}, {"question": "Does Cork or Havana, birthplace of Gloria Estefan, have higher elevation above sea level?", "choices": ["Cairo", "Dundee", "Abidjan", "Kingston", "Chihuahua", "Trieste", "Kilkenny", "Cork", "Havana", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cork"]}, {"function": "Find", "dependencies": [], "inputs": ["Gloria Estefan"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Havana"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cork\" .  } UNION { ?e <pred:name> \"Havana\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Gloria Estefan\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Havana"}, {"question": "How is the US state with the demonym Utahn abbreviated?", "choices": ["\ud83c\uddfa\ud83c\uddec", "\ud83c\uddea\ud83c\uddec", "T2", "\ud83c\uddf2\ud83c\uddfe", "\u10d0\u10e8\u10e8", "TWN", "Cannes", "UT", "SC Cambuur", "\ud83c\uddee\ud83c\uddf9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Utahn"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["short name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Utahn\" . ?e <short_name> ?pv .  }", "answer": "UT"}, {"question": "Of all the silent films distributed by Metro-Goldwyn-Mayer, which is the shortest in duration?", "choices": ["Little Women", "Paris", "The Hunchback of Notre Dame", "The Scarlet Letter", "A Prairie Home Companion", "Rebecca", "Hamlet", "Earth", "The Last of the Mohicans", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Metro-Goldwyn-Mayer\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Paris"}, {"question": "Http://www.vh1.com/shows/dyn/the_surreal_life/series.jhtml (the language of this statement is English) on this website is the number of episodes of the television series greater than 470?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.vh1.com/shows/dyn/the_surreal_life/series.jhtml"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["470", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.vh1.com/shows/dyn/the_surreal_life/series.jhtml\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"470\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the topic of the statement that Libya shares a boundary with Algeria?", "choices": ["Pakistan\u2013Serbia relations", "Montana\u2013North Dakota border", "Iran\u2013Senegal relations", "China\u2013Eritrea relations", "Statute of Westminster 1931", "Germany\u2013Iran relations", "Algeria\u2013Libya border", "Pakistan\u2013Russia Relation", "17th Tony Awards", "Bosnia and Herzegovina\u2013Malaysia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Libya"]}, {"function": "Find", "dependencies": [], "inputs": ["Algeria"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Libya\" . ?e_2 <pred:name> \"Algeria\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Algeria\u2013Libya border"}, {"question": "When was the person who died on 1920-04-23 born?", "choices": ["1964-01-18", "1940-01-03", "1983-04-03", "1955-06-07", "1930-08-18", "1932-11-10", "1943-08-17", "1963-10-30", "1844", "1885-09-11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1920-04-23", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1920-04-23\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1844"}, {"question": "Since when was Kevin James (the one that is a member of Boston United F.C.)  a member of Grimsby Town F.C. ?", "choices": ["2006-01-01", "1934", "1946-06-25", "1997-02-20", "1996-01-09", "1991-12-13", "2006-09-08", "1914-08-31", "1986-11-16", "1930-05-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin James"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grimsby Town F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kevin James\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Boston United F.C.\" . ?e_2 <pred:name> \"Grimsby Town F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "Is Google Doodle of a person, who was nominated to  BAFTA Award for Best Film (the award-winning work of this statement is Aparajito), satyajit-rays-92nd-birthday ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Aparajito"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Google Doodle"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["satyajit-rays-92nd-birthday"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Film\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Aparajito\" . ?e <Google_Doodle> ?pv . ?pv <pred:value> \"satyajit-rays-92nd-birthday\" .  }", "answer": "yes"}, {"question": "Was black metal created after 1777?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black metal"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1777", ">"]}], "sparql": "ASK { ?e <pred:name> \"black metal\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1777 ) .  }", "answer": "yes"}, {"question": "Which movie made more at the box office, Robin Hood (the one whose release region is France) or Anger Management (the one that has Krista Allen as a cast member)?", "choices": ["Robin Hood", "Pleasantville", "The Fifth Element", "Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "Anger Management", "A Prairie Home Companion", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robin Hood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Krista Allen"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anger Management"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Robin Hood\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"France\" .   } UNION { ?e <pred:name> \"Anger Management\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Krista Allen\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Robin Hood"}, {"question": "What agent's official website is  http://www.mediaasia.com/home.php ?", "choices": ["McDonald's", "The Criterion Collection", "United States House Committee on Energy and Commerce", "Walmart", "Pfizer", "United Airlines", "Silver Pictures", "Sega", "Media Asia Entertainment Group", "Geelong Football Club"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.mediaasia.com/home.php"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mediaasia.com/home.php\" .  }", "answer": "Media Asia Entertainment Group"}, {"question": "How many armies represented by the website indianarmy.nic.in are situated in the Russian Empire?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://indianarmy.nic.in/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["army"]}, {"function": "Find", "dependencies": [], "inputs": ["Russian Empire"]}, {"function": "Relate", "dependencies": [3], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["army"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"army\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://indianarmy.nic.in/\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Russian Empire\" .  }", "answer": "0"}, {"question": "Is  ISO 3166-2 code of a ceremonial county of England, containing Grimsby (the official name is also Grimsby), PL-PM?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grimsby"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Grimsby"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["PL-PM"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Grimsby\" . ?e_1 <official_name> ?pv_1 . ?pv_1 <pred:value> \"Grimsby\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"PL-PM\" .  }", "answer": "no"}, {"question": "Who was the London Film Critics Circle Award winning Actress of the Year for King Kong?", "choices": ["Sylvester Stallone", "Susan Sarandon", "Max Fleischer", "Naomi Watts", "Imelda Staunton", "Frances McDormand", "Richard Taylor", "Isabelle Huppert", "Annette Bening", "Stockard Channing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["London Film Critics Circle Award for Actress of the Year"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "King Kong"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"London Film Critics Circle Award for Actress of the Year\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"King Kong\" .  }", "answer": "Naomi Watts"}, {"question": "Which California county is identified by FIPS 6-4 (US counties) code 06019?", "choices": ["San Luis Obispo County", "Fresno County", "Contra Costa County", "San Diego County", "Imperial County", "Nevada County", "Alameda County", "Tulare County", "Los Angeles County", "Butte County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "06019"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"06019\" .  }", "answer": "Fresno County"}, {"question": "What is the language associated with the official website https://www.cambridge-united.co.uk/ for the association football club nicknamed United?", "choices": ["English", "Lower Sorbian", "Traditional Chinese", "Latvian", "Brazilian Portuguese", "Luxembourgish", "Yue Chinese", "Bulgarian", "Serbian", "Hebrew"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "United"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.cambridge-united.co.uk/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"United\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.cambridge-united.co.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Brittany Murphy or Jim Brown (the one whose height is 188 centimetre) have greater mass ?", "choices": ["Simon Cowell", "David Byrne", "William Henry Harrison", "Max Fleischer", "Paul Simon", "James E. Reilly", "Rahul Dev Burman", "Richard Gere", "Jim Brown", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brittany Murphy"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["height", "188 centimetre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brittany Murphy\" . } UNION { ?e <pred:name> \"Jim Brown\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"188\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jim Brown"}, {"question": "Is P'ohang Suteelesu the McCune-Reischauer romanization of the Pohang Steelers?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pohang Steelers"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["McCune-Reischauer romanization"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["P'ohang Suteelesu"]}], "sparql": "ASK { ?e <pred:name> \"Pohang Steelers\" . ?e <McCune-Reischauer_romanization> ?pv . ?pv <pred:value> \"P'ohang Suteelesu\" .  }", "answer": "yes"}, {"question": "What is the official website of the human whose Twitter username is kelly_clarkson?", "choices": ["http://www.oxfordcounty.org", "http://www.perthairport.net.au", "http://www.minniedriver.com", "http://www.lebronjames.com", "https://www.yorkcityfootballclub.co.uk/", "http://www.jamesmarsters.com", "http://www.thisisenglandmovie.co.uk/", "http://brasil.bbchd.com/", "http://www.kellyclarkson.com/", "http://www.bangkok.go.th/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "kelly_clarkson"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"kelly_clarkson\" . ?e <official_website> ?pv .  }", "answer": "http://www.kellyclarkson.com/"}, {"question": "Jonathan Pryce is cast in what role on Pirates of the Caribbean: The Curse of the Black Pearl?", "choices": ["Valerie Veran", "Weatherby Swann", "Miranda Bailey", "Samuel Adams", "Alec Trevelyan", "Sheriff Woody", "Robert de Brus, 6th Lord of Annandale", "Austin Powers", "Nate Fisher", "Ethan Hunt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: The Curse of the Black Pearl"]}, {"function": "Find", "dependencies": [], "inputs": ["Jonathan Pryce"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Pirates of the Caribbean: The Curse of the Black Pearl\" . ?e_2 <pred:name> \"Jonathan Pryce\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Weatherby Swann"}, {"question": "Of all the countries with more than 19000000 people, which covers the largest amount of area?", "choices": ["Greenland", "Dave Thomas", "Cook Islands", "Cambodia", "winger", "Scotland", "Wales", "The Jackson 5", "Netherlands", "Faroe Islands"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "19000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"19000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greenland"}, {"question": "How many Games of the Summer Olympics were officially opened by Edward VII or began prior to 1976?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward VII"]}, {"function": "Relate", "dependencies": [0], "inputs": ["officially opened by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1976", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Summer Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" .  { ?e <officially_opened_by> ?e_1 . ?e_1 <pred:name> \"Edward VII\" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1976 ) .  } }", "answer": "17"}, {"question": "Where was a television series, whose production code is 177,  premiered on 1993-08-17?", "choices": ["Grauman's Chinese Theatre", "North America", "Greek Theatre, Los Angeles", "New Zealand", "Estonia", "India", "Bolivia", "Germany", "Hungary", "Ukraine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["production code", "177"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series episode"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1993-08-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <production_code> ?pv_1 . ?pv_1 <pred:value> \"177\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1993-08-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between The Shield and the Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series?", "choices": ["headquarters location", "military rank", "film editor", "cause of death", "member of political party", "child astronomical body", "licensed to broadcast to", "noble title", "nominated for", "head of state"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Shield"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Shield\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Alabama, which has 3.39 percent water area, is related in what way to Secretary of State?", "choices": ["terminus", "source of material", "has edition", "sexual orientation", "notable work", "next higher rank", "permanent resident of", "office held by head of government", "voice type", "religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["water as percent of area", "3.39 percentage", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Secretary of State"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alabama\" . ?e_1 <water_as_percent_of_area> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"3.39\"^^xsd:double . ?e_2 <pred:name> \"Secretary of State\" . ?e_1 ?p ?e_2 .  }", "answer": "office held by head of government"}, {"question": "When was Jude Law nominated for a Tony Award for Best Actor in a Play?", "choices": ["2003-08-01", "2018-10-01", "1971", "2010", "2011-03-27", "1994-05-17", "1886", "2006-11-22", "2001-06-20", "2016-01-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jude Law"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jude Law\" . ?e_2 <pred:name> \"Tony Award for Best Actor in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Where was Immortals, which has a publication date of 2011-11-11, published?", "choices": ["Hollywood", "Taormina Film Fest", "Pakistan", "Greece", "Toronto", "Norway", "Brazil", "Germany", "Stockholm", "South Korea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Immortals"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2011-11-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Immortals\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-11-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Whose ISNI is it 0000 0000 7979 7630?", "choices": ["Arjun Rampal", "Richard Gere", "Max Fleischer", "George Martin", "William Henry Harrison", "Edward Burns", "Ryan Murphy", "Fran Drescher", "Paul Williams", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7979 7630"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7979 7630\" .  }", "answer": "George Martin"}, {"question": "How many alternative rock pieces include famous artists of Pearl Jam (the one that wins MTV Video Music Award for Best Rock Video) or are the origin of deathcore name?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Rock Video"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pearl Jam"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["alternative rock"]}, {"function": "Find", "dependencies": [], "inputs": ["deathcore"]}, {"function": "Relate", "dependencies": [6], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["alternative rock"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"alternative rock\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Pearl Jam\" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> \"MTV Video Music Award for Best Rock Video\" .  } UNION { ?e_1 <named_after> ?e . ?e_1 <pred:name> \"deathcore\" .  } }", "answer": "2"}, {"question": "Which movie is shorter, 3:10 to Yuma (the one whose director is Delmer Daves) or The Way We Were (the one that has James Woods as a cast member)?", "choices": ["Training Day", "3:10 to Yuma", "Talk to Her", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "The Fifth Element", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delmer Daves"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["3:10 to Yuma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["James Woods"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Way We Were"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"3:10 to Yuma\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Delmer Daves\" .   } UNION { ?e <pred:name> \"The Way We Were\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"James Woods\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "3:10 to Yuma"}, {"question": "What is Jack Blender's ISNI?", "choices": ["0000 0001 0940 5491", "0000 0001 1438 025X", "0000 0004 0406 6058", "0000 0000 2490 8911", "0000 0001 1451 0544", "0000 0003 6857 269X", "0000 0004 0647 1911", "0000 0003 7596 208X", "0000 0000 7824 0910", "0000 0001 1479 4233"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Bender"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jack Bender\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 2490 8911"}, {"question": "Is the elevation of the city whose subreddit is Coimbatore with 209 subscribers less than 540 meters above sea level?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Coimbatore"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "209", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["540 metre", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Coimbatore\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"209\"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"540\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many literary awards created prior to 1978 are in the fantasy field?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1978", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "Find", "dependencies": [], "inputs": ["fantasy"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award disciplines or subjects", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1978 ) . ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> \"fantasy\" .  }", "answer": "10"}, {"question": "What is the connection between Hong Kong Film Award for Best Actress to acting?", "choices": ["from fictional universe", "doctoral student", "studied by", "statistical leader", "parent astronomical body", "twinned administrative body", "award disciplines or subjects", "mascot", "kit supplier", "newspaper format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["acting"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hong Kong Film Award for Best Actress\" . ?e_2 <pred:name> \"acting\" . ?e_1 ?p ?e_2 .  }", "answer": "award disciplines or subjects"}, {"question": "When did the Federated States of Micronesia have a population of 52238?", "choices": ["2000-11-15", "1710-01-01", "1865-01-01", "1630", "2009", "2018-06-22", "1955-10-01", "1965", "2010-01-17", "1974-04-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Federated States of Micronesia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "52238", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Federated States of Micronesia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"52238\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1965"}, {"question": "What is the count of positions that have the Twitter username Pontifex or that have a term length of office more than 3.9 years", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Pontifex"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["position"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["term length of office", "3.9 year", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["position"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"position\" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> \"Pontifex\" .  } UNION { ?e <term_length_of_office> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3.9\"^^xsd:double ) .  } }", "answer": "3"}, {"question": "Is the Twitter username of Albert Brooks AlbertBrooks?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albert Brooks"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["AlbertBrooks"]}], "sparql": "ASK { ?e <pred:name> \"Albert Brooks\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AlbertBrooks\" .  }", "answer": "yes"}, {"question": "What is the relationship between David Mills (the one that has the occupation of composer) and a poet?", "choices": ["history of topic", "sex or gender", "record label", "sponsor", "occupation", "item operated", "programming paradigm", "next higher rank", "location of formation", "industry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["composer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Mills"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Mills\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"composer\" . ?e_2 <pred:name> \"poet\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How are Peter David and New York University related?", "choices": ["educated at", "tributary", "head of state", "field of work", "film distribute region", "country for sport", "director", "diaspora", "place served by transport hub", "has parts of the class"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter David"]}, {"function": "Find", "dependencies": [], "inputs": ["New York University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter David\" . ?e_2 <pred:name> \"New York University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How many Winter Olympic Games included country of Bhutan or have an end time after 1968?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bhutan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Winter Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["end time", "1968", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Winter Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Winter Olympic Games\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Bhutan\" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1968 ) .  } }", "answer": "11"}, {"question": "Is IT-42 the ISO 3166-2 code for the ceremonial county of England having the NUTS code UKH23?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKH23"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["IT-42"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKH23\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"IT-42\" .  }", "answer": "no"}, {"question": "How much area is occupied by the city with WOEID number 21248?", "choices": ["28.72215 square kilometre", "32800.69 square kilometre", "9596961 square kilometre", "2280.98 square kilometre", "2918 square kilometre", "3885 square kilometre", "23.971623 square kilometre", "2097 square kilometre", "331690 square kilometre", "34.5 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "21248"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"21248\" . ?e <area> ?pv .  }", "answer": "34.5 square kilometre"}, {"question": "Which company has a lower operating income, IBM or Hasbro, Inc.?", "choices": ["Pfizer", "Hasbro, Inc.", "Sega", "Silver Pictures", "Skidmore Owings Merrill", "Adobe Inc.", "KLM", "McDonald's", "IBM", "Entertainment One"], "program": [{"function": "Find", "dependencies": [], "inputs": ["IBM"]}, {"function": "Find", "dependencies": [], "inputs": ["Hasbro, Inc."]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["operating income", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"IBM\" .  } UNION { ?e <pred:name> \"Hasbro, Inc.\" .  } ?e <operating_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hasbro, Inc."}, {"question": "Which organization has Carl Weathers as a member?", "choices": ["Pfizer", "Calgary Stampeders", "New Zealand national cricket team", "United States Army", "FC Bayern Munich II", "BC Lions", "McDonald's", "Oakland Raiders", "General Motors", "PepsiCo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carl Weathers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Carl Weathers\" .   }", "answer": "BC Lions"}, {"question": "When was TMNT (the one whose Nintendo GameID is RTMP41) published?", "choices": ["2005-05-12", "1967-05-26", "2019-02-07", "2011-02-17", "2000-11-10", "2010-01-14", "1950-02-24", "2005-11-06", "1998-10-15", "2007-03-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TMNT"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "RTMP41"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"TMNT\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"RTMP41\" . ?e <publication_date> ?pv .  }", "answer": "2007-03-20"}, {"question": "Which has greater box office The Lord of the Rings: The Fellowship of the Ring (the one whose release region is Japan) or The Hunger Games?", "choices": ["The Towering Inferno", "Pleasantville", "Talk to Her", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "The Fifth Element", "The Lord of the Rings: The Fellowship of the Ring", "Rebecca", "The Hunger Games"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Fellowship of the Ring"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Hunger Games"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Lord of the Rings: The Fellowship of the Ring\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Japan\" .   } UNION { ?e <pred:name> \"The Hunger Games\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings: The Fellowship of the Ring"}, {"question": "When did Jonathan Forte become a member of Crawley Town F.C.?", "choices": ["1897-03-04", "1998-09-21", "1990-03-18", "1973-11-26", "2000-01-01", "2012-01-01", "1807-01-19", "1794", "2008-07-05", "2018-01-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Forte"]}, {"function": "Find", "dependencies": [], "inputs": ["Crawley Town F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jonathan Forte\" . ?e_2 <pred:name> \"Crawley Town F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "Which place lies higher above sea level within a commune of Italy whose country was Kingdom of Italy (dissolved on 25th April 1814) ?", "choices": ["National Book Award for Fiction", "Cremona", "Nashua", "Treviso", "E.T. the Extra-Terrestrial", "Pavia", "73rd Academy Awards", "Lucca", "David Copperfield", "Mantua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Italy"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1814-05-25", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["comune of Italy"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Kingdom of Italy\" . ?e_1 <dissolved,_abolished_or_demolished> ?pv_1 . ?pv_1 <pred:date> \"1814-05-25\"^^xsd:date . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pavia"}, {"question": "How is St. Augustine (the one that has the patron saint Augustine of Hippo) related to modern architecture?", "choices": ["public holiday", "convicted of", "architectural style", "permanent resident of", "residence", "lyrics by", "creator", "significant person", "has immediate cause", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augustine of Hippo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["patron saint", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Augustine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["modern architecture"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St. Augustine\" . ?e_1 <patron_saint> ?e_3 . ?e_3 <pred:name> \"Augustine of Hippo\" . ?e_2 <pred:name> \"modern architecture\" . ?e_1 ?p ?e_2 .  }", "answer": "architectural style"}, {"question": "How many subscribers are there for the Twitter username fujitv that belongs to Fuji Television?", "choices": ["3285", "33417", "459343", "5920797", "193424", "39736", "513639", "423695", "530070", "935"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fuji Television"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "fujitv", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Fuji Television\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"fujitv\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "459343"}, {"question": "Since when is Jonathan Walters a member of Bolton Wanderers F.C. ?", "choices": ["2001-01-01", "2003-08-01", "1300", "2005-09-22", "1983-08-09", "1989-06-08", "2017-01-20", "1998-07-31", "2018", "1997-09-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Walters"]}, {"function": "Find", "dependencies": [], "inputs": ["Bolton Wanderers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jonathan Walters\" . ?e_2 <pred:name> \"Bolton Wanderers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2001-01-01"}, {"question": "What is the relationship between Lars Hirschfeld and CFR Cluj?", "choices": ["use", "sport", "hair color", "public holiday", "sibling", "author", "member of sports team", "industry", "mother", "military branch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lars Hirschfeld"]}, {"function": "Find", "dependencies": [], "inputs": ["CFR Cluj"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lars Hirschfeld\" . ?e_2 <pred:name> \"CFR Cluj\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the connection between 1927 Major League Baseball season to Pittsburgh Pirates?", "choices": ["appears in the form of", "participant", "grants", "architectural style", "field of this occupation", "voice type", "production designer", "depicts", "original network", "place of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1927 Major League Baseball season"]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Pirates"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1927 Major League Baseball season\" . ?e_2 <pred:name> \"Pittsburgh Pirates\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "Which has more people, Champagne-Ardenne or Lorraine (the one whose area is 23547 square kilometre)?", "choices": ["Lower Normandy", "Poitou-Charentes", "Upper Normandy", "Aquitaine", "Picardy", "Burgundy", "Languedoc-Roussillon", "Nord-Pas-de-Calais", "Alsace", "Lorraine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Champagne-Ardenne"]}, {"function": "Find", "dependencies": [], "inputs": ["Lorraine"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "23547 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Champagne-Ardenne\" . } UNION { ?e <pred:name> \"Lorraine\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"23547\"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lorraine"}, {"question": "How many legislative terms were followed by the legislative term that followed the 34th Canadian Parliament?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["34th Canadian Parliament"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "Relate", "dependencies": [2], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["legislative term"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"legislative term\" . ?e_1 <follows> ?e_2 . ?e_2 <pred:name> \"34th Canadian Parliament\" .   }", "answer": "1"}, {"question": "How is New York, I Love You related to Christina Ricci?", "choices": ["medical treatment", "had as last meal", "office held by head of state", "programming paradigm", "cast member", "start point", "occupant", "league", "professorship", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York, I Love You"]}, {"function": "Find", "dependencies": [], "inputs": ["Christina Ricci"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"New York, I Love You\" . ?e_2 <pred:name> \"Christina Ricci\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many regions of Italy share a border with Liguria or are the twinned administrative body of Bethlehem (which is also the twinned administrative body of Cologne)?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liguria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "Find", "dependencies": [], "inputs": ["Cologne"]}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bethlehem"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["region of Italy"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" .  { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Liguria\" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Bethlehem\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Cologne\" .  } }", "answer": "5"}, {"question": "What is the connection between New Westminster to Burnaby?", "choices": ["academic degree", "has immediate cause", "musical conductor", "discoverer or inventor", "relative", "separated from", "headquarters location", "lifestyle", "shares border with", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Westminster"]}, {"function": "Find", "dependencies": [], "inputs": ["Burnaby"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"New Westminster\" . ?e_2 <pred:name> \"Burnaby\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "WHen did the Los Angeles Chargers become a part of the  National Football League?", "choices": ["2007-09-16", "1864", "1976-01-01", "1999-04-29", "1997-09-01", "2007-08-08", "1905-03-17", "2008", "1966-06-10", "1970"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Chargers"]}, {"function": "Find", "dependencies": [], "inputs": ["National Football League"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["league", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Los Angeles Chargers\" . ?e_2 <pred:name> \"National Football League\" . ?e_1 <league> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <league> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1970"}, {"question": "Who is the publisher for Livorno's population of 159020?", "choices": ["South Australia", "Yugio Sabyeon", "Criando malvas", "loan", "401 watt per meter kelvin", "Statistics Netherlands", "Monmouthshire County Council", "baritone", "Desert Island Discs", "Istat"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Livorno"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "159020", "publisher"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Livorno\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"159020\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <publisher> ?qpv .  }", "answer": "Istat"}, {"question": "What video game is adapted from the visual artwork that is based on Catwoman, created by Bill Finger?", "choices": ["Harry Potter and the Half-Blood Prince", "Batman Returns", "Sonic the Hedgehog", "Monsters, Inc.", "Jurassic Park", "Rango", "Batman", "Batman Begins", "Superman Returns", "Catwoman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Finger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catwoman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [5], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["video game"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <based_on> ?e_2 . ?e_2 <pred:name> \"Catwoman\" . ?e_2 <creator> ?e_3 . ?e_3 <pred:name> \"Bill Finger\" .   }", "answer": "Catwoman"}, {"question": "What is the subreddit of Long Beach (the one that is the filming location of Last Action Hero)?", "choices": ["Eritrea", "Biochemistry", "Dehradun", "mavericks", "geneva", "capcom", "longbeach", "StanleyKubrick", "Chhattisgarh", "Ohio"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Last Action Hero"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Long Beach"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Long Beach\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Last Action Hero\" .  ?e <subreddit> ?pv .  }", "answer": "longbeach"}, {"question": "Who was a winner in 1967 of the award affiliated with the website www.goldenglobes.com?", "choices": ["Spike Jonze", "James L. Brooks", "Steven Zaillian", "George Kennedy", "Stirling Silliphanta", "Peter Ustinov", "Jim Taylor", "Waheeda Rehman", "Ernest Lehman", "Vijay Anand"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.goldenglobes.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "1967", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.goldenglobes.com\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1967 .  }", "answer": "Stirling Silliphanta"}, {"question": "What language is associated with the official website http://www.nfl.com/draft/history/fulldraft?season=2007 for the National Football League Draft that is followed by the 2008 NFL Draft?", "choices": ["Belarusian", "English", "Ukrainian", "Hebrew", "Basque", "Australian English", "Lower Sorbian", "American English", "multiple languages", "Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2008 NFL Draft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.nfl.com/draft/history/fulldraft?season=2007", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"2008 NFL Draft\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nfl.com/draft/history/fulldraft?season=2007\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many subscribers does the subreddit of psychology that studies pedophila have?", "choices": ["771711", "361569", "317555", "266394", "16438", "5373", "1208284", "1350", "84871", "6030"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pedophilia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["studied by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "psychology", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <studied_by> ?e . ?e_1 <pred:name> \"pedophilia\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"psychology\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "361569"}, {"question": "Which has fewer employees, Arizona State University or Barnard College?", "choices": ["Trinity College", "Denison University", "Scottish Church College", "Grinnell College", "Williams College", "Arizona State University", "Colorado College", "Barnard College", "Clark University", "Wheaton College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arizona State University"]}, {"function": "Find", "dependencies": [], "inputs": ["Barnard College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Arizona State University\" .  } UNION { ?e <pred:name> \"Barnard College\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Barnard College"}, {"question": "What is the number of Texas counties that have a population under 36000000 or official website of http://www.co.mclennan.tx.us", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "36000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.co.mclennan.tx.us"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"36000000\"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.co.mclennan.tx.us\" .  } }", "answer": "17"}, {"question": "Where was Robin Hood: Prince of Thieves published on 1991-06-14?", "choices": ["Singapore", "South Africa", "Ireland", "Netherlands", "Israel", "Argentina", "India", "Italy", "New York", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robin Hood: Prince of Thieves"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1991-06-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Robin Hood: Prince of Thieves\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1991-06-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What human is a part of Tom Petty and the Heartbreakers and a cast member of George Harrison: Living in the Material World?", "choices": ["Terry Gilliam", "Max Fleischer", "Jeff Lynne", "Sylvester Stallone", "Tom Petty", "Richard Gere", "Bob Dylan", "William Henry Harrison", "George Harrison", "Yoko Ono"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Petty and the Heartbreakers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["George Harrison: Living in the Material World"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Tom Petty and the Heartbreakers\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"George Harrison: Living in the Material World\" .  }", "answer": "Tom Petty"}, {"question": "What is the connection between Egypt (the one that origins from United Kingdom) to BBC One?", "choices": ["honorific prefix", "original network", "parent astronomical body", "programming paradigm", "source of income", "composer", "time period", "military rank", "film regional debut venue", "religious order"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Egypt"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["BBC One"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Egypt\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"BBC One\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "What relation type does C0043395, the UMLS CUI of the disease whose ICD-10-CM is A95.0, map to?", "choices": ["broad match", "153.0", "exact match", "C\u2085H\u2081\u2081NO\u2082", "Han\u2019guk Pangsong Kongsa", "narrow match", "Rhineland-Palatinate", "Constitution Act, 1867", "49185", "close match"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-10-CM", "A95.0"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["UMLS CUI", "C0043395", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e <ICD-10-CM> ?pv_1 . ?pv_1 <pred:value> \"A95.0\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0043395\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "exact match"}, {"question": "What is the association between Ohio and Saitama Prefecture?", "choices": ["author", "penalty", "main food source", "symptom of", "basin country", "diplomatic relation", "twinned administrative body", "contains administrative territorial entity", "head of government", "art director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Find", "dependencies": [], "inputs": ["Saitama Prefecture"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ohio\" . ?e_2 <pred:name> \"Saitama Prefecture\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Swedish is designated by the pronunciation audio Sv-svenska.ogg, which is in which language?", "choices": ["Bavarian", "Yaqui", "Spanish", "Latin script", "Luxembourgish", "O'odham", "Swedish", "Canadian French", "Maltese", "Cornish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swedish"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["pronunciation audio", "Sv-svenska.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Swedish\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Sv-svenska.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Swedish"}, {"question": "When did Thomas Jane become Patricia Arquette's spouse?", "choices": ["2018-06-01", "1992-04-27", "1864-10-30", "1871-01-26", "1949-07-12", "1976-01-01", "1952-02-18", "1983-08-15", "2006-06-25", "1992-07-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Jane"]}, {"function": "Find", "dependencies": [], "inputs": ["Patricia Arquette"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Thomas Jane\" . ?e_2 <pred:name> \"Patricia Arquette\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-06-25"}, {"question": "What is the elevation above sea level for the city which ISNI is 0000 0004 0407 2327?", "choices": ["344 metre", "7220 foot", "89 metre", "294 metre", "322 metre", "2 metre", "940 metre", "0 metre", "274 metre", "26 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0407 2327"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0407 2327\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "344 metre"}, {"question": "Which school has fewer students, London School of Economics or Imperial College London?", "choices": ["San Diego State University", "University of Hamburg", "Panjab University", "University of Queensland", "London School of Economics", "University of Michigan", "University of Melbourne", "McMaster University", "Imperial College London", "King's College London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["London School of Economics"]}, {"function": "Find", "dependencies": [], "inputs": ["Imperial College London"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"London School of Economics\" .  } UNION { ?e <pred:name> \"Imperial College London\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "London School of Economics"}, {"question": "What is the IPTC Newscode for a type of sport associated with a team related to Peter Jackson (the one that is a participant of 1992 Summer Olympics) ?", "choices": ["mediatopic/20000823", "mediatopic/20001071", "mediatopic/20000846", "mediatopic/20001154", "mediatopic/20001083", "mediatopic/20000035", "mediatopic/20000436", "mediatopic/20001149", "mediatopic/20001152", "mediatopic/20000737"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1992 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["IPTC Newscode"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:name> \"Peter Jackson\" . ?e_1 <participant_of> ?e_2 . ?e_2 <pred:name> \"1992 Summer Olympics\" .  ?e <IPTC_Newscode> ?pv .  }", "answer": "mediatopic/20001083"}, {"question": "Which one contains higher volume (of water), Pacific Ocean or Atlantic Ocean  ?", "choices": ["Caribbean", "Atlantic Canada", "Africa", "Atlantic Ocean", "Pacific Ocean", "South America", "Antarctica", "Piedmont", "Southern California", "Lake District"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Ocean"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlantic Ocean"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["volume as quantity", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pacific Ocean\" .  } UNION { ?e <pred:name> \"Atlantic Ocean\" .  } ?e <volume_as_quantity> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pacific Ocean"}, {"question": "Was Dancing with the Stars (the one that is released for Wii) not published in 2006?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wii"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dancing with the Stars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2006", "!="]}], "sparql": "ASK { ?e <pred:name> \"Dancing with the Stars\" . ?e <platform> ?e_1 . ?e_1 <pred:name> \"Wii\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2006 ) .  }", "answer": "yes"}, {"question": "Is Rory Fallon less than 2.0 metres tall?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rory Fallon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["2.0 metre", "<"]}], "sparql": "ASK { ?e <pred:name> \"Rory Fallon\" . ?e <height> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"2.0\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What did Harvey Firestein receive the Tony Award for Best Actor in a Play for?", "choices": ["China\u2013Mongolia relations", "Italy\u2013San Marino relations", "Jamaica\u2013Taiwan relations", "37th Tony Awards", "Armenia\u2013Portugal relations", "Somalia\u2013Turkey relations", "Indonesia\u2013Taiwan relations", "Germany\u2013Palau relations", "Brazil\u2013African Union relations", "Australia\u2013Barbados relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harvey Fierstein"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harvey Fierstein\" . ?e_2 <pred:name> \"Tony Award for Best Actor in a Play\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "37th Tony Awards"}, {"question": "Who is taller, David Schwimmer or Alan Dale?", "choices": ["Richard Gere", "Max Fleischer", "David Byrne", "James E. Reilly", "Sylvester Stallone", "Paul Simon", "Alan Dale", "Simon Cowell", "David Schwimmer", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Schwimmer"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Dale"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Schwimmer\" .  } UNION { ?e <pred:name> \"Alan Dale\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Alan Dale"}, {"question": "What is the connection between 2001: A Space Odyssey and Warner Bros?", "choices": ["designated as terrorist by", "production company", "award received", "manufacturer", "Wikidata property", "had as last meal", "dedicated to", "political ideology", "different from", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2001: A Space Odyssey"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2001: A Space Odyssey\" . ?e_2 <pred:name> \"Warner Bros.\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "What does Willie Nelson have to do with taekwondo?", "choices": ["notable people with this condition", "sport", "said to be the same as", "sports season of league or competition", "writing system", "notable work", "given name", "employer", "geography of topic", "designated as terrorist by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Willie Nelson"]}, {"function": "Find", "dependencies": [], "inputs": ["taekwondo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Willie Nelson\" . ?e_2 <pred:name> \"taekwondo\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Is Arrested Development or Deadwood longer in run-time?", "choices": ["Robot Chicken", "Saturday Night's Main Event", "Bleak House", "Six Feet Under", "Phineas and Ferb", "Arrested Development", "Game of Thrones", "American Horror Story", "Deadwood", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arrested Development"]}, {"function": "Find", "dependencies": [], "inputs": ["Deadwood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Arrested Development\" .  } UNION { ?e <pred:name> \"Deadwood\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Deadwood"}, {"question": "When was the release of the software license published by Apache Software Foundation?", "choices": ["2007-10-24", "2012-02-09", "2014", "1967-11-06", "2008-06-27", "2004-10-14", "1999-09-08", "1995", "2006-05-17", "2002-02-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Apache Software Foundation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software license"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software license\" . ?e <publisher> ?e_1 . ?e_1 <pred:name> \"Apache Software Foundation\" .  ?e <publication_date> ?pv .  }", "answer": "1995"}, {"question": "What is the official website of the person with ISNI 0000 0001 1765 5829?", "choices": ["http://www.pauldooleyactor.com/", "http://www.georgeburns.com/", "https://www.charlestonbattery.com/", "http://jenniferehle.blogspot.com/", "http://eyeswideshut.warnerbros.com/", "http://www.garryshandling.com/", "http://www.launceston.tas.gov.au/lcc/", "http://www.globaltv.com", "http://www.johnabraham.com/", "http://www.tomscottmusic.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1765 5829"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1765 5829\" . ?e <official_website> ?pv .  }", "answer": "http://www.pauldooleyactor.com/"}, {"question": "Which is longer in duration, Bowling for Columbine or The Aristocrats?", "choices": ["The Aristocrats", "A Prairie Home Companion", "Bowling for Columbine", "Rebecca", "The Towering Inferno", "Pleasantville", "Training Day", "Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bowling for Columbine"]}, {"function": "Find", "dependencies": [], "inputs": ["The Aristocrats"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bowling for Columbine\" .  } UNION { ?e <pred:name> \"The Aristocrats\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bowling for Columbine"}, {"question": "Who has the name is Tia Carrere and was in True Lies?", "choices": ["Bill Paxton", "Jamie Lee Curtis", "Sylvester Stallone", "Arnold Schwarzenegger", "Tia Carrere", "Richard Gere", "Rahul Dev Burman", "Eliza Dushku", "Max Fleischer", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Tia Carrere"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["True Lies"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Tia Carrere\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"True Lies\" .  }", "answer": "Tia Carrere"}, {"question": "Does the civil war whose start time is in 1917, have its end time before 1776?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1917", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["civil war"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1776", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"civil war\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 1917 . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1776 ) .  }", "answer": "no"}, {"question": "Who produced the movie that was released on November 29, 2012?", "choices": ["David O. Russell", "Roberto Benigni", "Russell Crowe", "Alex Kurtzman", "Deion Sanders", "Danny Boyle", "Don Carmody", "Brad Pitt", "Jude Law", "Josh Hartnett"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2012-11-29", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2012-11-29\"^^xsd:date .   }", "answer": "Brad Pitt"}, {"question": "Which association football club whose Instagram is out there whose username is lokomotiv_plovdiv_official and whose nickname is \u03a4\u03b1 \u03a3\u03c4\u03c1\u03bf\u03c5\u03bc\u03c6\u03ac\u03ba\u03b9\u03b1 ?", "choices": ["Middlesbrough F.C.", "Rochester Rhinos", "Zamalek SC", "PFC Lokomotiv Plovdiv", "Roda JC Kerkrade", "Preston North End F.C.", "Stade Brestois 29", "Hibernian F.C.", "Brisbane Roar FC", "S.C. Braga"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "lokomotiv_plovdiv_official"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["nickname", "\u03a4\u03b1 \u03a3\u03c4\u03c1\u03bf\u03c5\u03bc\u03c6\u03ac\u03ba\u03b9\u03b1"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"lokomotiv_plovdiv_official\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"\u03a4\u03b1 \u03a3\u03c4\u03c1\u03bf\u03c5\u03bc\u03c6\u03ac\u03ba\u03b9\u03b1\" .  }", "answer": "PFC Lokomotiv Plovdiv"}, {"question": "What person has the Twitter username MichaelKeaton and is a voice actor in Toy Story 3?", "choices": ["Sylvester Stallone", "John Ratzenberger", "William Henry Harrison", "Joan Cusack", "Max Fleischer", "Michael Keaton", "Ned Beatty", "Tim Allen", "David Byrne", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "MichaelKeaton"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Toy Story 3"]}, {"function": "Relate", "dependencies": [3], "inputs": ["voice actor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"MichaelKeaton\" . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> \"Toy Story 3\" .  }", "answer": "Michael Keaton"}, {"question": "When was the death of someone born on 1902-12-02?", "choices": ["1986-02-11", "1973-07-14", "1983-05-01", "1865-04-01", "1910-05-06", "2003-12-22", "1979-01-05", "1992-11-10", "1990-05-01", "1917"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1902-12-02", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1902-12-02\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1973-07-14"}, {"question": "Is the PermID of the game developer with the ISIN of  US8724434035 4295903341?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "US8724434035"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PermID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["4295903341"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <ISIN> ?pv_1 . ?pv_1 <pred:value> \"US8724434035\" . ?e <PermID> ?pv . ?pv <pred:value> \"4295903341\" .  }", "answer": "no"}, {"question": "Finland is the originating place of how many death metal entities?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["death metal"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"death metal\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Finland\" .   }", "answer": "1"}, {"question": "What capital has an official name of Ankara?", "choices": ["Doha", "Z\u00fcrich", "Ankara", "Sarajevo", "Addis Ababa", "Jaipur", "Prague", "Lausanne", "Moscow", "Tunis"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Ankara"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <official_name> ?pv . ?pv <pred:value> \"Ankara\" .  }", "answer": "Ankara"}, {"question": "How many rock music entities were created before 1979 ?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1979", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1979 ) .  }", "answer": "23"}, {"question": "What is the determination method of 30, the ranking of the national association football team whose country is Mexico?", "choices": ["Russian Empire Census", "UIS estimation", "middle", "Address Based Population Registration System", "average", "estimation", "FIFA World Rankings", "United Kingdom Census 1991", "demographic balance", "lead-lead dating"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "30", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Mexico\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"30\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "Which area is smaller, Trondheim or Belgrade?", "choices": ["Cork", "Belgrade", "Santo Domingo", "Dundee", "Trondheim", "Trieste", "Chihuahua", "Bergen", "Abidjan", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trondheim"]}, {"function": "Find", "dependencies": [], "inputs": ["Belgrade"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Trondheim\" .  } UNION { ?e <pred:name> \"Belgrade\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Trondheim"}, {"question": "Which one is longer,  Waco (the one that is designed by Hal Pereira) or Angela's Ashes?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca", "Pleasantville", "Waco", "Angela's Ashes", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hal Pereira"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Waco"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Angela's Ashes"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Waco\" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> \"Hal Pereira\" .   } UNION { ?e <pred:name> \"Angela's Ashes\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Angela's Ashes"}, {"question": "What's the relationship between Union College and the judge John Wells?", "choices": ["copyright representative", "place of birth", "educated at", "geographic distribution", "domain of saint or deity", "interested in", "basin country", "member of political party", "location of final assembly", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["judge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Wells"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Union College"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Wells\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"judge\" . ?e_2 <pred:name> \"Union College\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How many subscribers does the user Android (the one that uses the language Yue Chinese), have for its Twitter username, Android?", "choices": ["108738", "18", "10202476", "610078", "166697", "5824", "1465307", "4196", "1627", "53794"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yue Chinese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Android"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "Android", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Android\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"Yue Chinese\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"Android\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "10202476"}, {"question": "Is 08948 the local dialing code for the county town whose postal code is DT1?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "DT1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["08948"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"DT1\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"08948\" .  }", "answer": "no"}, {"question": "How is The Apartment (with Ray Walston as a cast member) related to the Academy Award for Best Cinematography?", "choices": ["genre", "doctoral student", "place of publication", "nominated for", "said to be the same as", "located in or next to body of water", "architect", "original network", "child astronomical body", "color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Walston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Apartment"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Apartment\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Ray Walston\" . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Since when is Bangalore located in Karnataka?", "choices": ["1994-08-01", "1962-10-16", "1966-10-31", "1861-03-17", "1994-05-01", "1999-02-11", "1792", "1801-07-01", "1961-12-05", "1956-11-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangalore"]}, {"function": "Find", "dependencies": [], "inputs": ["Karnataka"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bangalore\" . ?e_2 <pred:name> \"Karnataka\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1956-11-01"}, {"question": "How many television genres have origins from the sovereign state which is the country of Geffen Records?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geffen Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television genre"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television genre\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Geffen Records\" .   }", "answer": "2"}, {"question": "Is https://www.olympic.org/athens-2004 the official website for track cycling?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["track cycling"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.olympic.org/athens-2004"]}], "sparql": "ASK { ?e <pred:name> \"track cycling\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.olympic.org/athens-2004\" .  }", "answer": "no"}, {"question": "What number of independent record label has the country of Kenya?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kenya"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent record label"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent record label\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Kenya\" .   }", "answer": "0"}, {"question": "How many counties of Texas share border with the county of Texas whose FIPS 6-4 (US counties) is 48201?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "48201"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Texas"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Texas\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"48201\" .   }", "answer": "3"}, {"question": "What is the official website of the award that originated in 1958?", "choices": ["http://www.grammy.com/", "http://www.esporteclubebahia.com.br", "http://www.emma.cam.ac.uk/", "http://www.co.essex.ny.us", "http://www.neftchifc.com/", "http://www.savannahga.gov/", "http://www.ci.fremont.ca.us", "http://algreen.house.gov", "http://www.relativitymedia.com/", "http://abc.go.com/shows/general-hospital"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1958", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1958 . ?e <official_website> ?pv .  }", "answer": "http://www.grammy.com/"}, {"question": "What is the Twitter username of the association football club that had Craig Rocastle as a member in 2010?", "choices": ["realmikefox", "bfc_official", "cr_flamengo", "missjudygreer", "stevenagefc", "London2012", "FGRFC_Official", "SEGA_OFFICIAL", "DukeMBB", "kagoshimakensei"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Craig Rocastle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2010", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Craig Rocastle\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2010 . ?e <Twitter_username> ?pv .  }", "answer": "FGRFC_Official"}, {"question": "Which has a higher elevation above sea level, Barrie or Turin?", "choices": ["Turin", "Kilkenny", "Santo Domingo", "Chihuahua", "Dundee", "Abidjan", "Trieste", "Barrie", "Kingston", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barrie"]}, {"function": "Find", "dependencies": [], "inputs": ["Turin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barrie\" .  } UNION { ?e <pred:name> \"Turin\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Barrie"}, {"question": "When did Buenos Aires Province have a population of 1796320?", "choices": ["2019", "2001-03-14", "1967", "1600", "1908-01-01", "1875", "1910", "1912-01-01", "1724-01-01", "1917-09-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buenos Aires Province"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "1796320", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Buenos Aires Province\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1796320\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1910"}, {"question": "What is the connection between Landon Donovan to United States men's national soccer team?", "choices": ["signatory", "cause of death", "owned by", "nutrient", "risk factor", "organizer", "member of sports team", "languages spoken, written or signed", "territory overlaps", "architect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Landon Donovan"]}, {"function": "Find", "dependencies": [], "inputs": ["United States men's national soccer team"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Landon Donovan\" . ?e_2 <pred:name> \"United States men's national soccer team\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Tell me the relationship between the University of Queensland to Brisbane (which has a local dialing code of 07322)", "choices": ["medical condition", "located in the administrative territorial entity", "killed by", "grants", "territory claimed by", "set in period", "history of topic", "board member", "officially opened by", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Queensland"]}, {"function": "Find", "dependencies": [], "inputs": ["Brisbane"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "07322"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Queensland\" . ?e_2 <pred:name> \"Brisbane\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"07322\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Of all Ohio counties founded later than 1838, which occupies the least area?", "choices": ["Delaware County", "Stark County", "Erie County", "Mahoning County", "Summit County", "Jefferson County", "Wayne County", "Cuyahoga County", "Tuscarawas County", "Lake County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1838", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1838 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Summit County"}, {"question": "What was The French Connection that received the Academy Award for Best Director about?", "choices": ["Kazakhstan\u2013Pakistan relations", "C\u00f4te d'Ivoire\u2013Mali border", "Malaysia\u2013Singapore relations", "China\u2013Nigeria relations", "East Timor\u2013Malaysia relations", "Iraq\u2013Pakistan relations", "Massachusetts\u2013New York border", "Saint Lucia\u2013Taiwan relations", "44th Academy Awards", "Burundi\u2013Tanzania border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The French Connection"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The French Connection\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "44th Academy Awards"}, {"question": "For which work was Richard Portman given the Academy Award for Best Sound Mixing?", "choices": ["Blue Crush", "Mirrors", "Ender's Game", "My Left Foot", "Hugo", "Strange Days", "The Deer Hunter", "La La Land", "Romeo and Juliet", "Someone Comes to Town, Someone Leaves Town"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Portman"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Portman\" . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Deer Hunter"}, {"question": "What is the relationship between Sleepers and buddy film?", "choices": ["diaspora", "location of formation", "given name", "update method", "published in", "genre", "cast member", "located in time zone", "territory overlaps", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sleepers"]}, {"function": "Find", "dependencies": [], "inputs": ["buddy film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sleepers\" . ?e_2 <pred:name> \"buddy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many silent movies were published in the year 1918?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1918", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <publication_date> ?pv . ?pv <pred:year> 1918 .  }", "answer": "1"}, {"question": "What academic degree did Bill Clinton obtain at Edmund A. Walsh School of Foreign Service?", "choices": ["Juris Doctor", "Master of Arts", "doctorate", "bachelor's degree", "Bachelor of Arts", "undergraduate degree", "Bachelor of Engineering", "master's degree", "Bachelor of Science", "Bachelor of Fine Arts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Clinton"]}, {"function": "Find", "dependencies": [], "inputs": ["Edmund A. Walsh School of Foreign Service"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "academic degree"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bill Clinton\" . ?e_2 <pred:name> \"Edmund A. Walsh School of Foreign Service\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_degree> ?qpv .  }", "answer": "Bachelor of Science"}, {"question": "What is the name in native tongue of Tony Geiss?", "choices": ["Casey Kasem", "Anne Rice", "J. R. R. Tolkien", "\u0938\u0948\u092b\u093c \u0905\u0932\u0940 \u0916\u093c\u093e\u0928", "Nicolas Cage", "John Kerry", "Tim Roth", "Hannah Arendt", "Howard Hughes", "Nicholas Anthony Geiss"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Geiss"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tony Geiss\" . ?e <name_in_native_language> ?pv .  }", "answer": "Nicholas Anthony Geiss"}, {"question": "What is the name of the work whose OCLC control number is 25995508?", "choices": ["The Firm", "Catch-22", "The Hours", "A Single Man", "About a Boy", "Jaws", "Charlie and the Chocolate Factory", "Live and Let Die", "Contact", "Along Came a Spider"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OCLC control number", "25995508"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <OCLC_control_number> ?pv . ?pv <pred:value> \"25995508\" .  }", "answer": "Along Came a Spider"}, {"question": "Which independent city that is an administrative division of Virginia (whose subreddit is Virginia) has the largest area?", "choices": ["Falls Church", "Winchester", "Hampton", "Virginia Beach", "Lynchburg", "Staunton", "Danville", "Suffolk", "Richmond", "Roanoke"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Virginia"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Virginia\" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Virginia\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Virginia Beach"}, {"question": "Does Lupe Fiasco go by the Instagram handle acmilan ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lupe Fiasco"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["acmilan"]}], "sparql": "ASK { ?e <pred:name> \"Lupe Fiasco\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"acmilan\" .  }", "answer": "no"}, {"question": "Does Java, at 128297 square km, or Ireland, release region of Marley, have more inhabitants?", "choices": ["Tasmania", "Guernsey", "Puerto Rico", "Long Island", "Trinidad", "Java", "Ireland", "Newfoundland", "Cyprus", "Maui"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Java"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "128297 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Marley"]}, {"function": "Relate", "dependencies": [2], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Java\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"128297\"^^xsd:double . } UNION { ?e <pred:name> \"Ireland\" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> \"Marley\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Java"}, {"question": "Which movie is longer, The Orphanage or Spartacus (the one whose regional debut venue is Berlin International Film Festival)?", "choices": ["Training Day", "The Fifth Element", "Talk to Her", "The Orphanage", "The Hunchback of Notre Dame", "Rebecca", "A Prairie Home Companion", "Pleasantville", "Spartacus", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Orphanage"]}, {"function": "Find", "dependencies": [], "inputs": ["Berlin International Film Festival"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film regional debut venue", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spartacus"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Orphanage\" .  } UNION { ?e <pred:name> \"Spartacus\" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> \"Berlin International Film Festival\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Spartacus"}, {"question": "Is the duration not 2300 seconds for the animated film whose official website is http://www.fujitv.co.jp/b_hp/chrono/index.html?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fujitv.co.jp/b_hp/chrono/index.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2300 second", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fujitv.co.jp/b_hp/chrono/index.html\" . ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2300\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Was Ben Harper (the one whose genre is alternative rock) not born in 1972?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Harper"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1972", "!="]}], "sparql": "ASK { ?e <pred:name> \"Ben Harper\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"alternative rock\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1972 ) .  }", "answer": "yes"}, {"question": "What is the connection between Alice (the one whose genre is pop music) to singer-songwriter?", "choices": ["depicted by", "occupation", "language used", "country of citizenship", "located on astronomical location", "draft pick from school", "captain", "part of", "place of origin (Switzerland)", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pop music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["singer-songwriter"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"pop music\" . ?e_2 <pred:name> \"singer-songwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is the date of death of the human that received an Academy Award for Best Director for Skippy outside of 1971?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Skippy"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1914", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Director\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Skippy\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1914 ) .  }", "answer": "yes"}, {"question": "Does Suva or La Plata have a higher elevation relative to sea level?", "choices": ["Abidjan", "Cork", "Santo Domingo", "Dundee", "Kingston", "Chihuahua", "Bergen", "La Plata", "Kilkenny", "Suva"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suva"]}, {"function": "Find", "dependencies": [], "inputs": ["La Plata"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Suva\" .  } UNION { ?e <pred:name> \"La Plata\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "La Plata"}, {"question": "What is the number of Texas counties that have a population under 120000000 and that you can find in time zone Alaska Time Zone", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "120000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "Find", "dependencies": [], "inputs": ["Alaska Time Zone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"120000000\"^^xsd:double ) . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Alaska Time Zone\" .  }", "answer": "0"}, {"question": "Which has more people, Tempe or Newport (the one whose official website is http://www.cityofnewport.com)?", "choices": ["Compton", "Franklin", "Waukegan", "Oakland", "New Haven", "Tempe", "Lansing", "Boulder", "Newport", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tempe"]}, {"function": "Find", "dependencies": [], "inputs": ["Newport"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.cityofnewport.com"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tempe\" . } UNION { ?e <pred:name> \"Newport\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityofnewport.com\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tempe"}, {"question": "What is the Instagram username of the person whose ISNI is 0000 0000 7840 7581?", "choices": ["methodmanofficial", "stpatsfc", "rebeccahall", "dcunited", "thebeatles", "stokecity", "laclippers", "reallucylawless", "officialresidentevil", "officialbhafc"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7840 7581"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7840 7581\" . ?e <Instagram_username> ?pv .  }", "answer": "reallucylawless"}, {"question": "Which film has http://watchmenmovie.warnerbros.com/ as its official website?", "choices": ["We Were Soldiers", "Watchmen", "Pleasantville", "The Girl with the Dragon Tattoo", "Addams Family Values", "A Prairie Home Companion", "Rebecca", "Scotland", "Talk to Her", "Cats & Dogs"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://watchmenmovie.warnerbros.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://watchmenmovie.warnerbros.com/\" .  }", "answer": "Watchmen"}, {"question": "Which ISNI identifies the person who produced Eragon, with Sienna Guillory as a cast member?", "choices": ["0000 0001 0921 736X", "0000 0000 8786 7651", "0000 0001 1680 3164", "0000 0001 2126 9058", "0000 0004 0420 2689", "0000 0001 2298 6657", "0000 0001 2141 9263", "0000 0001 1471 2349", "0000 0003 7673 0176", "0000 0001 0873 9318"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sienna Guillory"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Eragon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Eragon\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Sienna Guillory\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0003 7673 0176"}, {"question": "Which film is titled Billy Elliot?", "choices": ["The Godfather Part III", "Taxi", "A Prairie Home Companion", "Rebecca", "Talk to Her", "The Merry Widow", "The Missing", "Billy Elliot", "Independence Day", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Billy Elliot"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Billy Elliot\" .  }", "answer": "Billy Elliot"}, {"question": "How many associations were founded by Utpal Dutt?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Utpal Dutt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" . ?e <founded_by> ?e_1 . ?e_1 <pred:name> \"Utpal Dutt\" .   }", "answer": "0"}, {"question": "Which UK town is designated by WOEID 36191?", "choices": ["Harlow", "Edmonton", "Stockton-on-Tees", "Royal Tunbridge Wells", "Ashford", "Doncaster", "Torquay", "South Shields", "Bournemouth", "Wigan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["WOEID", "36191"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <WOEID> ?pv . ?pv <pred:value> \"36191\" .  }", "answer": "Stockton-on-Tees"}, {"question": "What is the street address of the HQ of Hammer Film Productions in London, where Natasha Richardson was born?", "choices": ["Dragonhold-Underhill", "52 Haymarket", "1425 W. Lincoln Hwy., Dekalb, IL, 60115-2828", "121 Blake Road", "85 Castlereagh Street", "1400 Washington Avenue", "37th and O St NW, Washington, DC, 20057-0001", "735 Anderson Hill Rd, Purchase, NY, 10577-1400", "302 Buchtel Common, Akron, OH, 44325-4702", "66 West 12th Street, New York, NY, 10011-8603"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hammer Film Productions"]}, {"function": "Find", "dependencies": [], "inputs": ["Natasha Richardson"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hammer Film Productions\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Natasha Richardson\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "52 Haymarket"}, {"question": "How many literary awards have the official website http://www.locusmag.com/SFAwards/Db/Locus.html?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.locusmag.com/SFAwards/Db/Locus.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.locusmag.com/SFAwards/Db/Locus.html\" .  }", "answer": "2"}, {"question": "I, Robot, released on 2004-06-20, is based on which written work?", "choices": ["The Painted Veil", "About a Boy", "I, Robot", "Interview with the Vampire", "The Hours", "Contact", "Women in Love", "A Single Man", "The Maltese Falcon", "Starship Troopers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I, Robot"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2004-06-20", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["written work"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"I, Robot\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2004-06-20\"^^xsd:date .   }", "answer": "I, Robot"}, {"question": "What is the ISNI of The Byrds?", "choices": ["0000 0003 6858 7082", "0000 0001 1477 3598", "0000 0004 1936 8112", "0000 0001 2293 1795", "0000 0001 1448 0314", "0000 0001 1523 6911", "0000 0001 1075 3522", "0000 0000 7879 2782", "0000 0000 5946 3086", "0000 0001 0728 9853"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Byrds"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Byrds\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1523 6911"}, {"question": "How many real properties are in the country United Kingdom and have an inception time that is not in 1931?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["real property"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1931", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["real property"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"real property\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1931 ) .  }", "answer": "2"}, {"question": "How many genres are connected with a discipline of the literary award that was given toThe Polar Express (the one whose publication date is 1985) in 1986?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Polar Express"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1985", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["award received", "forward"]}, {"function": "QFilterYear", "dependencies": [2], "inputs": ["point in time", "1986", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["literary award"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award disciplines or subjects", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["genre"]}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"genre\" . ?e_1 <award_disciplines_or_subjects> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"literary award\" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> \"The Polar Express\" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1985 . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1986 .   }", "answer": "1"}, {"question": "When was the visual artwork titled Seven Brides for Seven Brothers published?", "choices": ["2013-01-01", "2017-06-02", "1954-01-01", "2002-05-30", "1988-06-22", "1988-03-29", "1991-12-30", "2013-11-14", "2004-09-08", "2002-06-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Seven Brides for Seven Brothers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Seven Brides for Seven Brothers\" . ?e <publication_date> ?pv .  }", "answer": "1954-01-01"}, {"question": "Which place is at a higher elevation above sea level, Indore or Agra?", "choices": ["Agra", "Santo Domingo", "Dundee", "Cork", "Chihuahua", "Trieste", "Abidjan", "Kingston", "Kilkenny", "Indore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indore"]}, {"function": "Find", "dependencies": [], "inputs": ["Agra"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Indore\" .  } UNION { ?e <pred:name> \"Agra\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Indore"}, {"question": "When died Robert Palmer (the one that was educated at Eton College and was a citizen of Kingdom of Great Britain)?", "choices": ["1997-09-20", "2013-09-04", "1801-01-01", "1920-07-31", "2003-12-25", "2013-07-12", "1948-07-17", "1957-03-06", "1791-03-04", "1516-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eton College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Palmer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["country of citizenship", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Palmer\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Eton College\" . ?e_2 <pred:name> \"Kingdom of Great Britain\" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1801-01-01"}, {"question": "What is the language used on the website of http://bronxboropres.nyc.gov/, which is associated with the administrative territorial entity whose FIPS 6-4 (US counties) is 36005?", "choices": ["English", "Tahitian", "Georgian", "Nynorsk", "Norwegian", "Lithuanian", "Japanese", "Classical Latin", "Spanish", "Armenian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "36005"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://bronxboropres.nyc.gov/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"36005\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://bronxboropres.nyc.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which has a higher population count, Hamilton which has a postal code of 45011, or Pine Bluff?", "choices": ["Compton", "Oakland", "Franklin", "Lansing", "New Haven", "Boulder", "Hamilton", "Waukegan", "Greenville", "Pine Bluff"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pine Bluff"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamilton"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "45011"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pine Bluff\" . } UNION { ?e <pred:name> \"Hamilton\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"45011\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hamilton"}, {"question": "Where was the visual artwork whose official website is http://www.miramax.com/movie/a-midsummer-nights-dream published on 1999-10-21?", "choices": ["Taormina Film Fest", "German Democratic Republic", "Spain", "BFI London Film Festival", "Germany", "Taiwan", "2004 Cannes Film Festival", "Philippines", "Tribeca Film Festival", "Stockholm"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/a-midsummer-nights-dream"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1999-10-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.miramax.com/movie/a-midsummer-nights-dream\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1999-10-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What person has the name \u3044\u3057\u3060 \u3042\u304d\u3089 in kana?", "choices": ["Richard Gere", "Shin-ichiro Miki", "Anne Rice", "Richard Burton", "Frank Miller", "Masako Nozawa", "Sylvester Stallone", "Zhang Yimou", "Akira Ishida", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in kana", "\u3044\u3057\u3060 \u3042\u304d\u3089"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_kana> ?pv . ?pv <pred:value> \"\u3044\u3057\u3060 \u3042\u304d\u3089\" .  }", "answer": "Akira Ishida"}, {"question": "What is the relationship between Deuce Bigalow: European Gigolo and English?", "choices": ["original language of film or TV show", "creator", "voice type", "manner of death", "occupant", "month of the year", "illustrator", "cause of death", "capital of", "works in collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Deuce Bigalow: European Gigolo"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Deuce Bigalow: European Gigolo\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "How is doom metal related to Melvins?", "choices": ["sibling", "patron saint", "head of state", "famous people", "sexual orientation", "nutrient", "lifestyle", "heritage designation", "domain of saint or deity", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["doom metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Melvins"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"doom metal\" . ?e_2 <pred:name> \"Melvins\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "When was Sunsoft established?", "choices": ["1971-04-16", "1642-05-17", "1776-06-29", "1803-03-30", "1000-01-01", "1902-07-23", "1819-10-01", "1961-01-01", "1893-05-04", "2004-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sunsoft"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Sunsoft\" . ?e <inception> ?pv .  }", "answer": "1971-04-16"}, {"question": "What person is part of the Dave Matthews Band?", "choices": ["John Carpenter", "Terry Gilliam", "William Henry Harrison", "Richard Gere", "Dave Matthews", "Anthony Kiedis", "Steve Earle", "Martie Maguire", "Sylvester Stallone", "Graham Yost"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dave Matthews Band"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Dave Matthews Band\" .   }", "answer": "Dave Matthews"}, {"question": "Does the website www.beastieboys.co.kr represent Beastie Boys, filmed in Seoul ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seoul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beastie Boys"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.beastieboys.co.kr"]}], "sparql": "ASK { ?e <pred:name> \"Beastie Boys\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Seoul\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.beastieboys.co.kr\" .  }", "answer": "yes"}, {"question": "Was The French Connection published later than 1959 in Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The French Connection"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1959", ">"]}], "sparql": "ASK { ?e <pred:name> \"The French Connection\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1959 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "How many arts are the discipline of the AACTA Award for Best Actress in a Leading Role and have the Universal Decimal Classification 821.111?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AACTA Award for Best Actress in a Leading Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award disciplines or subjects", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Universal Decimal Classification", "821.111"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art\" . ?e_1 <award_disciplines_or_subjects> ?e . ?e_1 <pred:name> \"AACTA Award for Best Actress in a Leading Role\" .  ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> \"821.111\" .  }", "answer": "0"}, {"question": "How many subscribers does Twitter username fcstpauli, belonging to an association football club whose official website is http://www.fcstpauli.com, currently have?", "choices": ["5489", "338", "17045544", "29470", "33074696", "490", "207380", "12765", "1260225", "318"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fcstpauli.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "fcstpauli", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fcstpauli.com\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"fcstpauli\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "207380"}, {"question": "Samuel Vincent, born 1971-10-05, has how many followers of his Twitter account name, SamVincent71?", "choices": ["354", "102594", "330247", "243993", "362655", "10226", "311583", "13156771", "4330", "3757242"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel Vincent"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1971-10-05", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Twitter username", "SamVincent71", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Samuel Vincent\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1971-10-05\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SamVincent71\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "4330"}, {"question": "When did the actor Warren Ellis become a member of Nick Cave and the Bad Seeds?", "choices": ["1881", "2007-01-29", "1990-01-01", "1996", "2011-01-14", "1994-09-30", "1834-01-09", "1989-10-23", "1943-01-01", "-509"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Warren Ellis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nick Cave and the Bad Seeds"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Warren Ellis\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_2 <pred:name> \"Nick Cave and the Bad Seeds\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1996"}, {"question": "What language is associated with the official website http://www.huntingtonbeachca.gov for the United States city whose postal codes are 92605, 92615 and 92646\u201392649?", "choices": ["Malagasy", "Eastern Armenian", "Bashkir", "Austrian German", "Hungarian", "Thai", "Esperanto", "British English", "English", "Hindi"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "92605, 92615, 92646\u201392649"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.huntingtonbeachca.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"92605, 92615, 92646\u201392649\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.huntingtonbeachca.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which has greater elevation above sea level, Gloucester whose area is 107.514634 square kilometres or Pomona?", "choices": ["Gloucester", "Compton", "Boulder", "Lansing", "New Haven", "Waukegan", "Oakland", "Franklin", "Pomona", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gloucester"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "107.514634 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Pomona"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gloucester\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"107.514634\"^^xsd:double . } UNION { ?e <pred:name> \"Pomona\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pomona"}, {"question": "When did Craig Armstrong (the midfielder) become a exmember of Grimsby Town F.C.?", "choices": ["2013-04-08", "1538-02-23", "2010-10-03", "1623", "1797-03-12", "1814-10-12", "2006-08-27", "2004-01-01", "2017-06-27", "2011-08-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["midfielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Armstrong"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grimsby Town F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Craig Armstrong\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"midfielder\" . ?e_2 <pred:name> \"Grimsby Town F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2004-01-01"}, {"question": "James Whitmore was nominated for an Academy Award for Best Actor for which work?", "choices": ["Brief Encounter", "A Medal for Benny", "Thief of Time", "Time After Time", "The Mary Tyler Moore Show", "Maytime", "The Longest Voyage", "Give 'em Hell", "To Make You Feel My Love", "Trio"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Whitmore"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Whitmore\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Give 'em Hell"}, {"question": "What language is http://www.iit.edu, the official website of an university whose subreddit is IIT with 511 subscribers ?", "choices": ["Czech", "Navajo", "Galician", "Hebrew", "Italian", "Putonghua", "Nynorsk", "Spanish", "English", "Klingon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "IIT"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "511", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.iit.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"IIT\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"511\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.iit.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which Wisconsin county occupying under 73000 square km is biggest, area-wise?", "choices": ["Jackson County", "Sauk County", "La Crosse County", "Monroe County", "Dane County", "Jefferson County", "Polk County", "Outagamie County", "Fond du Lac County", "Milwaukee County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "73000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"73000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dane County"}, {"question": "Which area is larger, Delaware County (the one that shares border with Licking County) or Licking County?", "choices": ["Cuyahoga County", "Erie County", "Delaware County", "Summit County", "Jefferson County", "Licking County", "Mahoning County", "Tuscarawas County", "Stark County", "Wood County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Licking County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Delaware County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Licking County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Delaware County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Licking County\" .   } UNION { ?e <pred:name> \"Licking County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Licking County"}, {"question": "How is Peter Fonda related to the role of screenwriter?", "choices": ["from fictional universe", "statistical leader", "software engine", "occupation", "film editor", "domain of saint or deity", "airline alliance", "location of formation", "applies to jurisdiction", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Fonda"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Fonda\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many subscribers have the Twitter username SCBastia when the association football club that have Alou Diarra as a member had played 35 games?", "choices": ["12235", "3876955", "93841", "11339", "3016", "2571", "635635", "300038", "596005", "17711"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alou Diarra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of matches played/races/starts", "35", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "SCBastia", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Alou Diarra\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"35\"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SCBastia\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "300038"}, {"question": "What is the relationship between Eugene (the one whose Twitter username is islandgirl_81) and SM Entertainment?", "choices": ["eye color", "editor", "depicts", "military branch", "record label", "permanent resident of", "original film format", "mouth of the watercourse", "language of work or name", "indigenous to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eugene"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "islandgirl_81"]}, {"function": "Find", "dependencies": [], "inputs": ["SM Entertainment"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eugene\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"islandgirl_81\" . ?e_2 <pred:name> \"SM Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "What is the connection between Cairo (the one whose production company is Metro-Goldwyn-Mayer) to spy film?", "choices": ["head of state", "genre", "kit supplier", "instrument", "software engine", "film distribute region", "located in time zone", "feast day", "conflict", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cairo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["spy film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cairo\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Metro-Goldwyn-Mayer\" . ?e_2 <pred:name> \"spy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "When was the American football team with James Brown, the member of the New York Jets in 1996, start?", "choices": ["1158", "1781", "1905-10-26", "1861-01-29", "1967-02-27", "1976-07-02", "1525", "1966", "1757-01-01", "1926-06-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York Jets"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["start time", "1996", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["American football team"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"James Brown\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"New York Jets\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1996 . ?e <inception> ?pv .  }", "answer": "1966"}, {"question": "By which name is the IPI name number 00069574335 recorded in a database or mentioned as a contributor of a work for James Newton Howard?", "choices": ["MERCER JOHN H", "Walt Disney Studios Motion Pictures", "SUMMER DONNA A", "RCA Victor Company", "Disney", "LIGHTS WENT OUT IN MASSACHUSETTS", "LEITCH DONOVAN PHILLIPS", "HOWARD JAMES NEWTON", "WILSON DANIEL D", "WILSON DANIEL DODD"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Newton Howard"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["IPI name number", "00069574335", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"James Newton Howard\" . ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00069574335\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "HOWARD JAMES NEWTON"}, {"question": "Does Guilford County or Gaston County have the larger land area?", "choices": ["Gaston County", "Davidson County", "Wake County", "Cumberland County", "Polk County", "Madison County", "Franklin County", "Mecklenburg County", "Brunswick County", "Guilford County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guilford County"]}, {"function": "Find", "dependencies": [], "inputs": ["Gaston County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Guilford County\" .  } UNION { ?e <pred:name> \"Gaston County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Guilford County"}, {"question": "What is Instagram username of the association football club whose official name is Brighton & Hove Albion Football Club?", "choices": ["itsmeleighton", "wissenschaftsstadt_darmstadt", "sydneyfootballclub", "billyidolhq", "colocolooficial", "bfc1887", "officialbhafc", "kellyosbourne", "tblightning", "stokecity"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Brighton & Hove Albion Football Club"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Brighton & Hove Albion Football Club\" . ?e <Instagram_username> ?pv .  }", "answer": "officialbhafc"}, {"question": "What is the connection between Michael Jordan (the one that is the citizen of United Kingdom) to Yeovil Town F.C.?", "choices": ["influenced by", "architect", "platform", "main subject", "member of sports team", "narrative role", "taxon rank", "dissertation submitted to", "worshipped by", "official residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jordan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Yeovil Town F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Jordan\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Yeovil Town F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the name of the land-grant university located at Montana State University, Bozeman, MT, 59717 with an  ISNI of 0000 0001 2156 6108?", "choices": ["Montana State University - Bozeman", "Utah State University", "North Dakota State University", "Virginia Tech", "Iowa State University", "North Carolina Agricultural and Technical State University", "University of Maine", "South Carolina State University", "Kansas State University", "University of Arkansas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2156 6108"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["land-grant university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["located at street address", "Montana State University, Bozeman, MT, 59717"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["land-grant university"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2156 6108\" . ?e <located_at_street_address> ?pv_1 . ?pv_1 <pred:value> \"Montana State University, Bozeman, MT, 59717\" .  }", "answer": "Montana State University - Bozeman"}, {"question": "When was Tim Curry (the one that has the occupation of lawyer) born?", "choices": ["1938-09-18", "1931-01-29", "1956-07-31", "1911-11-10", "1983-05-09", "1929-04-14", "1965-11-24", "1913-07-14", "1966-12-21", "1977-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["lawyer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Curry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tim Curry\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"lawyer\" .  ?e <date_of_birth> ?pv .  }", "answer": "1938-09-18"}, {"question": "When did The Republic of the Congo (whose population is 3205636) become a member of the United Nations?", "choices": ["1992-12-04", "1979-04-07", "2011-02-15", "1960-09-20", "1956-03-02", "2011-05-01", "1858", "2000-08-02", "1937", "1974-06-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republic of the Congo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3205636", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Nations"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Republic of the Congo\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3205636\"^^xsd:double . ?e_2 <pred:name> \"United Nations\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1960-09-20"}, {"question": "How many matches are played/raced/started by John Bailey whose position is midfielder as a member of AFC Bournemouth?", "choices": ["189", "130", "190", "19", "137", "79", "240", "87", "63", "345"], "program": [{"function": "Find", "dependencies": [], "inputs": ["midfielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Bailey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["AFC Bournemouth"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Bailey\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"midfielder\" . ?e_2 <pred:name> \"AFC Bournemouth\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "137"}, {"question": "How many administrative territorial entities of Canada have Dewey Decimal Classification 2--7195?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--7195"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--7195\" .  }", "answer": "1"}, {"question": "Is the running time of The House of Mirth longer than 350 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The House of Mirth"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["350 minute", ">"]}], "sparql": "ASK { ?e <pred:name> \"The House of Mirth\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"350\"^^xsd:double ) .  }", "answer": "no"}, {"question": "When did Roy Carroll cease to be a member of Odense Boldklub?", "choices": ["1802", "1945-04-09", "1176", "1912", "2011-01-01", "1714", "2012-08-12", "1960-01-01", "1625", "1992-05-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roy Carroll"]}, {"function": "Find", "dependencies": [], "inputs": ["Odense Boldklub"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Roy Carroll\" . ?e_2 <pred:name> \"Odense Boldklub\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Which language represents the higher education institution attended by Dan Castellaneta on its official website, www.niu.edu?", "choices": ["Armenian", "Russian", "Dutch", "Spanish", "Azerbaijani", "English", "Cornish", "Norwegian", "Punjabi", "Bokm\u00e5l"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dan Castellaneta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.niu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Dan Castellaneta\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.niu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the relationship between Alex Rodriguez to United States of America?", "choices": ["twinned administrative body", "mother", "place of death", "based on", "country for sport", "owned by", "occupation", "geographic distribution", "theme music", "child astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alex Rodriguez"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alex Rodriguez\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country for sport"}, {"question": "Is RKC Waalwijk's short name equal to RKC Waalwijk?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RKC Waalwijk"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["short name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["RKC Waalwijk"]}], "sparql": "ASK { ?e <pred:name> \"RKC Waalwijk\" . ?e <short_name> ?pv . ?pv <pred:value> \"RKC Waalwijk\" .  }", "answer": "yes"}, {"question": "What is the CANTIC-ID of the person who won the 1979 National Society of Film Critics Award for Best Actress?", "choices": ["a11827518", "a11444198", "a10439560", "a11813751", "a11785603", "a10789455", "a10082529", "a11026480", "a11744959", "a10248201"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1979", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Actress\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1979 . ?e <CANTIC-ID> ?pv .  }", "answer": "a11813751"}, {"question": "What is the relationship between Thuringia (the one whose population is 2161000) and Gotha (the one whose NUTS code is DEG0C)?", "choices": ["contains administrative territorial entity", "terminus", "dissertation submitted to", "update method", "history of topic", "student", "killed by", "indigenous to", "has immediate cause", "penalty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thuringia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2161000", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Gotha"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["NUTS code", "DEG0C"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thuringia\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2161000\"^^xsd:double . ?e_2 <pred:name> \"Gotha\" . ?e_2 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"DEG0C\" . ?e_1 ?p ?e_2 .  }", "answer": "contains administrative territorial entity"}, {"question": "Which area is smaller, Riyadh or Riga?", "choices": ["Riga", "New Delhi", "Sarajevo", "Tallinn", "Mexico City", "Moscow", "Paris", "Manila", "Lausanne", "Doha"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Riyadh"]}, {"function": "Find", "dependencies": [], "inputs": ["Riga"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Riyadh\" .  } UNION { ?e <pred:name> \"Riga\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Riga"}, {"question": "What is the official website for the duo whose ISNI is 0000 0001 0728 0445?", "choices": ["http://www.panthers.com", "http://www.hbo.com/entourage/", "http://www.albanylaw.edu", "http://inglouriousbasterds-movie.com/", "http://www.laxmipyare.com/", "http://www.apolloschildren.com/", "http://www.universalmusic.com/label/emi/", "http://www.georges-delerue.com/", "http://krecs.com", "http://www.kbs.co.kr/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0728 0445"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["duo"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"duo\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0728 0445\" . ?e <official_website> ?pv .  }", "answer": "http://www.laxmipyare.com/"}, {"question": "Is the official website of Butler County (the one that shares border with Beaver County) http://www.skillet.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beaver County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Butler County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.skillet.com"]}], "sparql": "ASK { ?e <pred:name> \"Butler County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Beaver County\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.skillet.com\" .  }", "answer": "no"}, {"question": "How many constituencies of Rajya Sabha are located in Uttarakhand (whose official name is \u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0923\u094d\u0921)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Uttarakhand"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0923\u094d\u0921"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["constituency of the Rajya Sabha"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constituency of the Rajya Sabha\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Uttarakhand\" . ?e_1 <official_name> ?pv . ?pv <pred:value> \"\u0909\u0924\u094d\u0924\u0930\u093e\u0916\u0923\u094d\u0921\" .   }", "answer": "1"}, {"question": "Which website belongs to the association football club based in Brunswick,  twinned administrative body of Omaha?", "choices": ["http://www.peephouston.com", "http://www.beatles.com/#/films/", "http://www.rwcc.com/", "http://www.mckellen.com/", "http://www.worldfantasy.org/awards/", "http://www.piranha-3d.com/", "http://www.eintracht.com/", "http://www.sho.com/dexter", "http://www.intothematrix.com", "https://www.weber.edu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Omaha"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brunswick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Brunswick\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Omaha\" .  ?e <official_website> ?pv .  }", "answer": "http://www.eintracht.com/"}, {"question": "What is the Amazon author page for F.Scott Fitzgerald?", "choices": ["B000AQ043W", "B004N1PEC6", "B001HD071G", "B004WA76WY", "B000AQ0J28", "B000AQ0LN0", "B000APZK46", "B00BRTKOEA", "B00JLNLC7C", "B000APVBKI"], "program": [{"function": "Find", "dependencies": [], "inputs": ["F. Scott Fitzgerald"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Amazon author page"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"F. Scott Fitzgerald\" . ?e <Amazon_author_page> ?pv .  }", "answer": "B000AQ0J28"}, {"question": "Who's the author associated with the historical fiction movie Alexander, whose review score is 6/10 ?", "choices": ["62 years old", "presidency of Barack Obama", "Ivan Le Fou", "Dinowan", "5010401020855", "85600000 barrels per day", "El Gringo", "Jihem", "ackboo", "la_redaction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["historical fiction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexander"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["review score", "6/10", "author name string"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Alexander\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"historical fiction\" .  ?e <review_score> ?pv . ?pv <pred:value> \"6/10\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <author_name_string> ?qpv .  }", "answer": "ackboo"}, {"question": "How many unitary states founded the subject of international law, whose Twitter username is UN ?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "UN"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["subject of international law"]}, {"function": "Relate", "dependencies": [2], "inputs": ["founded by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["unitary state"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e_1 <founded_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"subject of international law\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"UN\" .   }", "answer": "3"}, {"question": "What is the connection between Alice in Wonderland (the one whose duration is 75 minute) to adventure film?", "choices": ["coextensive with", "draft pick from school", "nutrient", "located on terrain feature", "genre", "location of final assembly", "production company", "godparent", "student", "vehicle normally used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "75 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice in Wonderland\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"75\"^^xsd:double . ?e_2 <pred:name> \"adventure film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Was the German release of Johnny English Reborn published before 1993?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Johnny English Reborn"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1993", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Johnny English Reborn\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "no"}, {"question": "Which individual with ISNI code 0000 0000 6302 4991 died from pancreatic cancer?", "choices": ["John G. Avildsen", "William Henry Harrison", "Johannes Brahms", "Joan Crawford", "Richard Gere", "Frank Herbert", "Michael Gough", "Sylvester Stallone", "Robert Chartoff", "Arif Mardin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6302 4991"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["pancreatic cancer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cause of death", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6302 4991\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> \"pancreatic cancer\" .  }", "answer": "Arif Mardin"}, {"question": "What administrative territorial entity is the location of Portland that has the subreddit Portland and is the birthplace of Joel David Moore?", "choices": ["Michigan", "Duchy of Rome", "Cape Colony", "Pennsylvania", "Indiana", "Oregon", "Massachusetts", "North Rhine-Westphalia", "Minnesota", "City of Westminster"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joel David Moore"]}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["subreddit", "Portland"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joel David Moore\" . ?e_2 <pred:name> \"Portland\" . ?e_2 <subreddit> ?pv . ?pv <pred:value> \"Portland\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Oregon"}, {"question": "What is the connection between Hokkaid\u014d to Asia (the one that is the continent that Jammu and Kashmir locates)?", "choices": ["basin country", "board member", "enclave within", "head coach", "continent", "dialect of", "publisher", "domain of saint or deity", "drug used for treatment", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hokkaid\u014d"]}, {"function": "Find", "dependencies": [], "inputs": ["Jammu and Kashmir"]}, {"function": "Relate", "dependencies": [1], "inputs": ["continent", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Asia"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hokkaid\u014d\" . ?e_2 <pred:name> \"Asia\" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> \"Jammu and Kashmir\" . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "What time point for the first level administrative country subdivision its the country of the sport of James Stewert, date of birth is 1883-01-15, the population is 13090615?", "choices": ["1976-01-01", "1995-01-01", "1992-02-25", "2015-08-12", "1990-03-26", "1831", "2015-08-06", "2019-02-21", "1963-01-01", "1839-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Stewart"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1883-01-15", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country for sport", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "13090615", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e_1 <country_for_sport> ?e . ?e_1 <pred:name> \"James Stewart\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1883-01-15\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"13090615\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1831"}, {"question": "What is the beginning date of the television series whose official website is http://www.cbs.com/shows/csi/?", "choices": ["2000-10-06", "2005-01-26", "1946-11-19", "2001-07-07", "1992-06-16", "2015-05-04", "1896-12-01", "2006-11-07", "2007-07-11", "1920-02-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cbs.com/shows/csi/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cbs.com/shows/csi/\" . ?e <start_time> ?pv .  }", "answer": "2000-10-06"}, {"question": "Is the area of a city, where Tony Thomas (the one whose ISNI is 0000 0001 0788 0264) was born, more than 40 square km ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Thomas"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0788 0264"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["40 square kilometre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Tony Thomas\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0788 0264\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"40\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Doe Carnegie Mellon University or Free University of Berlin have more employees?", "choices": ["Birkbeck, University of London", "Carnegie Mellon University", "King's College London", "San Diego State University", "University of Melbourne", "Free University of Berlin", "University of Queensland", "Panjab University", "University of Michigan", "University of Hamburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carnegie Mellon University"]}, {"function": "Find", "dependencies": [], "inputs": ["Free University of Berlin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carnegie Mellon University\" .  } UNION { ?e <pred:name> \"Free University of Berlin\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Free University of Berlin"}, {"question": "Regarding a historical county established on 1st Jan 1356 (the class of this statement is statement with Gregorian date earlier than 1584), when did it reach the population of 1,100,000 ?", "choices": ["1977-01-01", "1846", "1800", "1920-08-31", "1823", "1377", "2001-08-22", "1965", "2006-05-18", "2012-09-05"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1356-01-01", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["instance of", "statement with Gregorian date earlier than 1584"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["historical country"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "1100000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1356-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv_1 ] <instance_of> ?qpv_1 . ?qpv_1 <pred:value> \"statement with Gregorian date earlier than 1584\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1100000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1800"}, {"question": "When did  Ludwig van Beethoven (the one that plays the instrument piano) become a student of Joseph Haydn?", "choices": ["1968", "2001-01-13", "1992-07-25", "2017-02-22", "2000-06-14", "1992-03-03", "1792", "1907-01-01", "1979-10-01", "1788-07-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ludwig van Beethoven"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Haydn"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["student of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ludwig van Beethoven\" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> \"piano\" . ?e_2 <pred:name> \"Joseph Haydn\" . ?e_1 <student_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <student_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1792"}, {"question": "Is the film that is a derivative work of Empire of the Sun (the one whose publication date is 1984-09-13) titled \u0422\u0440\u0438 \u043c\u0443\u0448\u043a\u0435\u0442\u0451\u0440\u0430 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Empire of the Sun"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1984-09-13", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["\u0422\u0440\u0438 \u043c\u0443\u0448\u043a\u0435\u0442\u0451\u0440\u0430"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Empire of the Sun\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1984-09-13\"^^xsd:date . ?e <title> ?pv . ?pv <pred:value> \"\u0422\u0440\u0438 \u043c\u0443\u0448\u043a\u0435\u0442\u0451\u0440\u0430\" .  }", "answer": "no"}, {"question": "How many Rajya Sabha constituencies differ in comparison with an Indian state whose Indian census area code (2001) is 11 ?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Indian census area code (2001)", "11"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "Relate", "dependencies": [2], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["constituency of the Rajya Sabha"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constituency of the Rajya Sabha\" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of India\" . ?e_1 <Indian_census_area_code_(2001)> ?pv_1 . ?pv_1 <pred:value> \"11\" .   }", "answer": "1"}, {"question": "What is the ISNI of the independent city having the FIPS 6-4 of 51800?", "choices": ["0000 0001 2351 423X", "0000 0004 0422 2575", "0000 0000 7825 8045", "0000 0004 1936 7566", "0000 0000 4128 1743", "0000 0001 0927 5324", "0000 0001 0587 7942", "0000 0000 5937 4075", "0000 0004 0638 5490", "0000 0001 2151 0585"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "51800"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"51800\" . ?e <ISNI> ?pv .  }", "answer": "0000 0004 0422 2575"}, {"question": "What activity's genre is massively multiplayer online role-playing game?", "choices": ["Battleship", "Harry Potter and the Half-Blood Prince", "music video game", "Van Helsing", "Batman", "Salem", "Star Trek", "shooting sport", "The Da Vinci Code", "Indiana Jones and the Temple of Doom"], "program": [{"function": "Find", "dependencies": [], "inputs": ["massively multiplayer online role-playing game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"massively multiplayer online role-playing game\" .   }", "answer": "Salem"}, {"question": "Of North Carolina counties bordering York County, established in 1798, which occupies the most area?", "choices": ["Franklin County", "Davidson County", "Brunswick County", "Polk County", "Guilford County", "Mecklenburg County", "Wake County", "Madison County", "Gaston County", "Cumberland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["York County"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1798", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of North Carolina"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"York County\" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:year> 1798 . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mecklenburg County"}, {"question": "Was the person with Munzinger IBA 00000007613 born before 1947?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000007613"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1947", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000007613\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1947 ) .  }", "answer": "yes"}, {"question": "Who is the proxy for Saskatchewan's (the one whose subreddit is Saskatchewan) head Elizabeth II?", "choices": ["Vaughn Solomon Schofield", "Albert Grey, 4th Earl Grey", "Vere Ponsonby, 9th Earl of Bessborough", "Harold Alexander, 1st Earl Alexander of Tunis", "Prince Arthur, Duke of Connaught and Strathearn", "Georges Vanier", "Jocelyne Roy-Vienneau", "Micha\u00eblle Jean", "Gilbert Elliot-Murray-Kynynmound, 4th Earl of Minto", "Jules L\u00e9ger"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saskatchewan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Saskatchewan"]}, {"function": "Find", "dependencies": [], "inputs": ["Elizabeth II"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["head of state", "proxy"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Saskatchewan\" . ?e_1 <subreddit> ?pv . ?pv <pred:value> \"Saskatchewan\" . ?e_2 <pred:name> \"Elizabeth II\" . ?e_1 <head_of_state> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <head_of_state> ; <pred:fact_t> ?e_2 ] <proxy> ?qpv .  }", "answer": "Vaughn Solomon Schofield"}, {"question": "How many liberal arts colleges in the United States with postal code 40422-1394?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "40422-1394"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"40422-1394\" .  }", "answer": "1"}, {"question": "What is the ISNI of Peter Horton who is a citizen of Austria?", "choices": ["0000 0000 8045 6817", "0000 0001 2137 0543", "0000 0000 7689 8882", "0000 0001 2178 4375", "0000 0003 5614 601X", "0000 0001 1450 6713", "0000 0001 2175 167X", "0000 0001 2110 961X", "0000 0001 0930 2468", "0000 0000 7852 0154"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Horton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Peter Horton\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"Austria\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 7852 0154"}, {"question": "What is the official website of the liberal arts college whose ISNI is 0000 0004 1774 732X?", "choices": ["http://www.scottishchurch.ac.in/", "http://www.sennamovie.co.uk/", "http://www.dreamworkspictures.com", "http://web.archive.org/web/20070926212852/http://www.capcom-europe.com/residentevil/remake/", "https://www.adobe.com/", "http://www.rupaul.com/", "http://www.miramax.com/movie/dont-be-afraid-of-the-dark", "http://www.officialboderek.com/", "http://texas.rangers.mlb.com/", "http://www.sonypictures.com/movies/thepinkpanther2"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 1774 732X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 1774 732X\" . ?e <official_website> ?pv .  }", "answer": "http://www.scottishchurch.ac.in/"}, {"question": "Does the count of male inhabitants of Wagga Wagga exceed 1,200,000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wagga Wagga"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["male population"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["1200000", ">"]}], "sparql": "ASK { ?e <pred:name> \"Wagga Wagga\" . ?e <male_population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1200000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "For the film whose producer is Ed Helms, where is it published on its 2011-07-07 publication date?", "choices": ["India", "Germany", "Thailand", "Australia", "Iceland", "1949 Cannes Film Festival", "United Kingdom", "German Democratic Republic", "Colombia", "Jordan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ed Helms"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-07-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Ed Helms\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2011-07-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is Linkin Park's connection to the MTV Video Music Award for Best Editing?", "choices": ["soundtrack album", "diaspora", "officeholder", "part of the series", "followed by", "nominated for", "position played on team / speciality", "connects with", "sports season of league or competition", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Linkin Park"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Editing"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Linkin Park\" . ?e_2 <pred:name> \"MTV Video Music Award for Best Editing\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "For which project did Peter Lamont earn an Academy Award for Best Production Design?", "choices": ["Soldier of the Mist", "Titanic", "Someone Comes to Town, Someone Leaves Town", "Jennifer's Body", "Cach\u00e9", "The Lonely Passion of Judith Hearne", "Nineteen Eighty-Four", "National Treasure: Book of Secrets", "Scherzo with Tyrannosaur", "Rhapsody in Rivets"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Lamont"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Lamont\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Titanic"}, {"question": "Is the local dialing code of the US city containing Marshall University 304?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marshall University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["304"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Marshall University\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"304\" .  }", "answer": "yes"}, {"question": "How many followers does the person nicknamed illwilly have for his Twitter username, iamwill?", "choices": ["1276502", "833097", "5370491", "8453", "1544", "633762", "595", "88489", "436907", "13564601"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "illwilly"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "iamwill", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"illwilly\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"iamwill\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "13564601"}, {"question": "How is Sufjan Stevens related to the indie folk genre?", "choices": ["developer", "position held", "screenwriter", "programming language", "genre", "part of", "medical condition", "cites", "interests", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sufjan Stevens"]}, {"function": "Find", "dependencies": [], "inputs": ["indie folk"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sufjan Stevens\" . ?e_2 <pred:name> \"indie folk\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many film awards were started before 1937?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1937", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1937 ) .  }", "answer": "0"}, {"question": "What is the connection between Norbit to Argentina?", "choices": ["dissertation submitted to", "studies", "film release region", "significant person", "different from", "location of final assembly", "lifestyle", "sibling", "mouth of the watercourse", "military branch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norbit"]}, {"function": "Find", "dependencies": [], "inputs": ["Argentina"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Norbit\" . ?e_2 <pred:name> \"Argentina\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "How many county towns hold the origin of Boston University's name?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Boston University\" .   }", "answer": "0"}, {"question": "What male-given name equals the given name of Leonard Cohen (the series ordinal of this statement is 2)?", "choices": ["Paul", "Christian", "Hugo", "Gary", "August", "Bobby", "Frederick", "Alexander", "Ray", "Norman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leonard Cohen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["series ordinal", "2"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["male given name"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Leonard Cohen\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <given_name> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> \"2\" .  }", "answer": "Norman"}, {"question": "What higher-education institution has an ISNI of 0000 0001 0721 1626 and an inception time before 1942?", "choices": ["Missouri State University", "Kent State University", "Pennsylvania State University", "Cooper Union", "Columbia University", "McNeese State University", "University of St Andrews", "Northwestern State University", "Amherst College", "University of Manchester"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0721 1626"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1942", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0721 1626\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1942 ) .  }", "answer": "University of St Andrews"}, {"question": "What is the official website for the sport activity related to American football?", "choices": ["http://www.nba.com/rockets/", "http://www.soonersports.com/sports/m-footbl/okla-m-footbl-body.html", "http://www.thecure.com", "http://www.miramax.com/movie/trainspotting", "https://www.fcl.ch/", "http://www.sony.net/", "http://www.lefilm-paris.com/", "http://www.regione.calabria.it/", "http://www.melaka.gov.my", "http://www.tournamentofroses.com/rosebowlgame/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"American football\" .  ?e <official_website> ?pv .  }", "answer": "http://www.tournamentofroses.com/rosebowlgame/"}, {"question": "What is the connection between Chris Killen and Middlesbrough F.C.?", "choices": ["sport", "member of sports team", "diaspora", "symptom of", "copyright representative", "voice type", "material used", "subject has role", "diplomatic relation", "foundational text"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Killen"]}, {"function": "Find", "dependencies": [], "inputs": ["Middlesbrough F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Killen\" . ?e_2 <pred:name> \"Middlesbrough F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the IATA airline designator for Ryanair?", "choices": ["LH", "UA", "QF", "FR", "KL", "PA", "DL", "U2", "RR", "AA"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryanair"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IATA airline designator"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ryanair\" . ?e <IATA_airline_designator> ?pv .  }", "answer": "FR"}, {"question": "What film is titled \"Jerusalem\" and is shorter than 570 minutes?", "choices": ["Pleasantville", "Rebecca", "A Prairie Home Companion", "Billy Elliot", "Bad Education", "Jerusalem", "Syriana", "Me and Orson Welles", "Talk to Her", "Cheaper by the Dozen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Jerusalem"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["duration", "570 minute", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Jerusalem\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"570\"^^xsd:double ) .  }", "answer": "Jerusalem"}, {"question": "When was Independence movie published?", "choices": ["1935-01-18", "2004-12-03", "1967-01-01", "2012-02-09", "1989-12-22", "2007-06-26", "2006-06-27", "1940-01-01", "2011-05-19", "1976-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Independence"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Independence\" . ?e <publication_date> ?pv .  }", "answer": "1976-01-01"}, {"question": "When did a city, located in or next to Rhine, reach the population of 275,722 ?", "choices": ["1945-12-01", "1970-05-06", "2007-10-24", "1996-12-04", "2005-06-01", "1964", "1970-12-31", "2017-02-09", "30000000", "1942"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rhine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "275722", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Rhine\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"275722\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1970-12-31"}, {"question": "Is Andy Richter's ISNI 0000 0001 0802 6780 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andy Richter"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 0802 6780"]}], "sparql": "ASK { ?e <pred:name> \"Andy Richter\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0802 6780\" .  }", "answer": "no"}, {"question": "Did action film Terminator 3: Rise of the Machines make under 4490000 euro at the box office?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Terminator 3: Rise of the Machines"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["4490000 euro", "<"]}], "sparql": "ASK { ?e <pred:name> \"Terminator 3: Rise of the Machines\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"action film\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"euro\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4490000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which has fewer people, Albany (the one whose population is 77434) or Escondido?", "choices": ["Boulder", "Columbus", "Greenville", "Albany", "Waukegan", "Oakland", "New Haven", "Franklin", "Escondido", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albany"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "77434", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Escondido"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Albany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"77434\"^^xsd:double . } UNION { ?e <pred:name> \"Escondido\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Albany"}, {"question": "Among the cities of Pennsylvania with population not equal to 86000000,which one has the largest elevation (above sea level) ?", "choices": ["Scranton", "Erie", "Chester", "Greensburg", "Pittsburgh", "Johnstown", "Philadelphia", "Allentown", "Bethlehem", "Altoona"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "86000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"86000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pittsburgh"}, {"question": "What is character, or role does Michael Keaton play in Batman (the one whose duration is 121 minute)?", "choices": ["Professor Lewis", "Banzai", "Emmett Brown", "Jefferson Coatsworth", "Wynnchel", "General Hologram", "Batman", "Eddard Stark", "Happy Hogan", "Wayne the Wolf"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "121 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Keaton"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Batman\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"121\"^^xsd:double . ?e_2 <pred:name> \"Michael Keaton\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Batman"}, {"question": "Was SPV founded more recently than 1870 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SPV"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1870", ">"]}], "sparql": "ASK { ?e <pred:name> \"SPV\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1870 ) .  }", "answer": "yes"}, {"question": "Which movie is shorter, Hope Springs (the one that has Tommy Lee Jones as a cast member) or Naked Lunch (the one whose production company is 20th Century Fox)?", "choices": ["The Towering Inferno", "Talk to Her", "Hope Springs", "Training Day", "Pleasantville", "A Prairie Home Companion", "Rebecca", "The Fifth Element", "The Hunchback of Notre Dame", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tommy Lee Jones"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hope Springs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [4], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Naked Lunch"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hope Springs\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tommy Lee Jones\" .   } UNION { ?e <pred:name> \"Naked Lunch\" . ?e <production_company> ?e_2 . ?e_2 <pred:name> \"20th Century Fox\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hope Springs"}, {"question": "Which movie is longer, Charlie's Angels (the one that has Luke Wilson as a cast member) or Animal House?", "choices": ["Charlie's Angels", "The Hunchback of Notre Dame", "The Fifth Element", "Rebecca", "Training Day", "Talk to Her", "Pleasantville", "Curse of the Golden Flower", "Animal House", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luke Wilson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Animal House"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlie's Angels\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Luke Wilson\" .   } UNION { ?e <pred:name> \"Animal House\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Animal House"}, {"question": "Is http://filmfareawards.indiatimes.com/ the official website of the U.S. city whose elevation above sea level is equal to 377 metres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "377 metre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://filmfareawards.indiatimes.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"377\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://filmfareawards.indiatimes.com/\" .  }", "answer": "no"}, {"question": "When did the college where Ben Stein was educated originate?", "choices": ["1754", "1833-01-02", "1966-11-01", "1818-12-03", "1918-07-09", "1949-03-31", "1773-02-26", "-16", "1861-11-04", "1960-06-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Stein"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Ben Stein\" .  ?e <inception> ?pv .  }", "answer": "1754"}, {"question": "What is the box office of the film that is based on Timeline (whose publication date is 1999)?", "choices": ["554987477 United States dollar", "457640427 United States dollar", "43935763 United States dollar", "321455689 United States dollar", "20158808 United States dollar", "16624456 United States dollar", "939885929 United States dollar", "694400000 United States dollar", "5700866.89 euro", "240000000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Timeline"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1999", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Timeline\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:year> 1999 . ?e <box_office> ?pv .  }", "answer": "43935763 United States dollar"}, {"question": "Tell me the relationship between John Cale and clavinet.", "choices": ["member of", "studies", "relative", "field of this occupation", "instrument", "honorific suffix", "located in the administrative territorial entity", "award disciplines or subjects", "vehicle normally used", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cale"]}, {"function": "Find", "dependencies": [], "inputs": ["clavinet"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Cale\" . ?e_2 <pred:name> \"clavinet\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "What is the birth date of the Primetime Emmy nominee for Outstanding Guest Actor in a Drama Series for The West Wing?", "choices": ["1951-09-02", "1905-03-28", "1865-11-02", "1958-02-19", "1946-09-14", "1955-05-20", "1884-07-10", "1965-01-09", "1769-05-01", "1897-12-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actor in a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The West Wing"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actor in a Drama Series\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The West Wing\" . ?e <date_of_birth> ?pv .  }", "answer": "1951-09-02"}, {"question": "What does AEP Paphos F.C. have to do with blue (the official color of Queens Park Rangers F.C.)?", "choices": ["occupation", "material used", "set in period", "destination point", "educated at", "official color", "basic form of government", "mascot", "interested in", "twinned administrative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AEP Paphos F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Queens Park Rangers F.C."]}, {"function": "Relate", "dependencies": [1], "inputs": ["official color", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["blue"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"AEP Paphos F.C.\" . ?e_2 <pred:name> \"blue\" . ?e_3 <official_color> ?e_2 . ?e_3 <pred:name> \"Queens Park Rangers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "official color"}, {"question": "Was the U.S. town with postal code 01002 established before 1933?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "01002"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1933", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"01002\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1933 ) .  }", "answer": "yes"}, {"question": "When started the 2008 Tour de France?", "choices": ["1855", "1967-01-09", "2007-07-19", "1990-05-11", "1802-04-21", "2008-07-05", "1981-11-11", "1992-03-02", "2012-02-17", "2000-07-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2008 Tour de France"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"2008 Tour de France\" . ?e <start_time> ?pv .  }", "answer": "2008-07-05"}, {"question": "When is the date of the first episode of Lost in Space that runs for 48 minutes and originally aired on CBS?", "choices": ["1825", "1990-10-03", "1984-10-09", "1997-09-01", "1990-07-12", "1994-05-27", "1965-09-15", "1949-05-23", "2004-03-16", "1963-11-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "48 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lost in Space\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"48\"^^xsd:double . ?e_2 <pred:name> \"CBS\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1965-09-15"}, {"question": "What FIPS 10-4 (countries & regions) is the correct one for County Cork?", "choices": ["UKB4", "IN16", "BN", "IN17", "TU", "FK", "JA08", "CH24", "BU42", "EI04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Cork"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"County Cork\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }", "answer": "EI04"}, {"question": "How is blues artist Tom Jones linked to Island Records?", "choices": ["has effect", "grants", "located in time zone", "league", "record label", "hair color", "notable people with this condition", "programming paradigm", "coextensive with", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["blues"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Jones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Island Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tom Jones\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"blues\" . ?e_2 <pred:name> \"Island Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "How many former French regions have an INSEE region code of 91 or the native label Haute-Normandie?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["INSEE region code", "91"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "Haute-Normandie"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["former French region"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" .  { ?e <INSEE_region_code> ?pv . ?pv <pred:value> \"91\" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> \"Haute-Normandie\" .  } }", "answer": "2"}, {"question": "How is The Flintstones in Viva Rock Vegas related to Warner Bros.?", "choices": ["child", "followed by", "is a list of", "filmography", "production company", "office held by head of government", "update method", "legislative body", "grants", "studied by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Flintstones in Viva Rock Vegas"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Flintstones in Viva Rock Vegas\" . ?e_2 <pred:name> \"Warner Bros.\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "How is Don Scardino connected to the 60th Primetime Emmy Awards?", "choices": ["allegiance", "field of this occupation", "parent club", "medical condition", "owned by", "geographic distribution", "donated by", "league", "given name", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Scardino"]}, {"function": "Find", "dependencies": [], "inputs": ["60th Primetime Emmy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Don Scardino\" . ?e_2 <pred:name> \"60th Primetime Emmy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the relation between Transformers: Dark of the Moon (the one whose release region was Taiwan) and Shia LaBeouf?", "choices": ["territory claimed by", "has quality", "set in period", "kit supplier", "member of sports team", "make-up artist", "office held by head of the organisation", "part of", "member of", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers: Dark of the Moon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shia LaBeouf"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Transformers: Dark of the Moon\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Taiwan\" . ?e_2 <pred:name> \"Shia LaBeouf\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which is shorter, I Spy which was nominated for a Golden Raspberry Award for Worst Actor or In the Loop?", "choices": ["Rebecca", "Curse of the Golden Flower", "Training Day", "I Spy", "Talk to Her", "The Towering Inferno", "The Hunchback of Notre Dame", "In the Loop", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["I Spy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["In the Loop"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"I Spy\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Actor\" .   } UNION { ?e <pred:name> \"In the Loop\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "I Spy"}, {"question": "What is the CANTIC-ID for the person who is the teacher of Sergei Prokofiev?", "choices": ["a10906204", "a11134689", "a1168298x", "a11169126", "a11878629", "a11686893", "a11043489", "a10458864", "a10209359", "a11246789"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sergei Prokofiev"]}, {"function": "Relate", "dependencies": [0], "inputs": ["student of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <student_of> ?e . ?e_1 <pred:name> \"Sergei Prokofiev\" .  ?e <CANTIC-ID> ?pv .  }", "answer": "a10209359"}, {"question": "How many crimes are different from kidnapping or homicide?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["kidnapping"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["crime"]}, {"function": "Find", "dependencies": [], "inputs": ["homicide"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["crime"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"crime\" .  { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"kidnapping\" .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> \"homicide\" .  } }", "answer": "2"}, {"question": "What person has the ISNI 0000 0001 1483 6552 and the official website http://www.shirleyhenderson.com?", "choices": ["Rahul Dev Burman", "James E. Reilly", "Shirley Henderson", "Richard Gere", "Max Fleischer", "Babyface", "David Byrne", "William Henry Harrison", "Paul Simon", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1483 6552"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.shirleyhenderson.com"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1483 6552\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.shirleyhenderson.com\" .  }", "answer": "Shirley Henderson"}, {"question": "What is the runtime of the animated feature film that has a voice actor named Mel Brooks?", "choices": ["190 minute", "111 minute", "259 minute", "91 minute", "162 minute", "25 minute", "196 minute", "131 minute", "159 minute", "61 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mel Brooks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Mel Brooks\" .  ?e <duration> ?pv .  }", "answer": "91 minute"}, {"question": "What association football club had a member who is the person with CANTIC-ID a11238215 until the year 2000?", "choices": ["Oxford United F.C.", "Hibernian F.C.", "Preston North End F.C.", "Fluminense F.C.", "Stade Brestois 29", "Brisbane Roar FC", "Zamalek SC", "Roda JC Kerkrade", "Newell's Old Boys", "PAS Giannina F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11238215"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["end time", "2000", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11238215\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2000 .  }", "answer": "Newell's Old Boys"}, {"question": "What is the relationship between Johnny Mercer (the one whose date of birth is 1909-11-18) to 24th Academy Awards?", "choices": ["participant of", "award received", "mascot", "contains administrative territorial entity", "drafted by", "nutrient", "uses", "political ideology", "narrator", "located on astronomical location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johnny Mercer"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1909-11-18", "="]}, {"function": "Find", "dependencies": [], "inputs": ["24th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Johnny Mercer\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1909-11-18\"^^xsd:date . ?e_2 <pred:name> \"24th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How was the population of New Castle County determined as 542354 ?", "choices": ["questionnaire", "United States Census", "United Kingdom Census 1971", "United Kingdom Census 1991", "Yemen General Census of Population, Housing and Establishments 2004", "United Kingdom Census 1981", "extrapolation", "estimation process", "Pensky\u2013Martens closed-cup test", "Population registration in Sweden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Castle County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "542354", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"New Castle County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"542354\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the relationship between Lower Austria and Styria?", "choices": ["interested in", "territory claimed by", "has contributing factor", "has quality", "shares border with", "season starts", "field of work", "production company", "maintained by", "home port"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lower Austria"]}, {"function": "Find", "dependencies": [], "inputs": ["Styria"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lower Austria\" . ?e_2 <pred:name> \"Styria\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the birth name of the fictional person whose native language name is Lois Lane?", "choices": ["Joseph Philippe Pierre Yves Elliott Trudeau", "Israel Gershowitz", "Lois Joanne Lane", "James Newel Osterberg Jr", "Ashlee Nicole Simpson", "Paul Frederic Simon", "Alice Brazier", "James Christian Kimmel", "Liza May Minnelli", "\u041c\u0438\u043a\u043e\u043b\u0430 \u0412\u0430\u0441\u0438\u043b\u044c\u043e\u0432\u0438\u0447 \u042f\u043d\u043e\u0432\u0441\u044c\u043a\u0438\u0439"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Lois Lane"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Lois Lane\" . ?e <birth_name> ?pv .  }", "answer": "Lois Joanne Lane"}, {"question": "Juan Mata is a Valencia CF member, what is the number of matches it played/starts/races", "choices": ["227", "153", "46", "90", "220", "181", "34", "129", "9", "8"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juan Mata"]}, {"function": "Find", "dependencies": [], "inputs": ["Valencia CF"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Juan Mata\" . ?e_2 <pred:name> \"Valencia CF\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "129"}, {"question": "Was Legend of the Guardians: The Owls of Ga'Hoole (Nintendo GameID R9GPWR) released before 2015?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Legend of the Guardians: The Owls of Ga'Hoole"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "R9GPWR"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2015", "<"]}], "sparql": "ASK { ?e <pred:name> \"Legend of the Guardians: The Owls of Ga'Hoole\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"R9GPWR\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2015 ) .  }", "answer": "yes"}, {"question": "Does Province of Turin or Province of Cagliari have less area?", "choices": ["Province of Rome", "Province of Turin", "Province of Brescia", "Province of Como", "Province of Salerno", "Province of Potenza", "Province of Naples", "Province of Cagliari", "Province of Palermo", "Province of Cuneo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Turin"]}, {"function": "Find", "dependencies": [], "inputs": ["Province of Cagliari"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Province of Turin\" .  } UNION { ?e <pred:name> \"Province of Cagliari\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Province of Cagliari"}, {"question": "What is the connection between One Flew Over the Cuckoo's Nest (the one that has Louise Fletcher as a cast member) to One Flew Over the Cuckoo's Nest (the one whose inception time is 1962)?", "choices": ["location of final assembly", "home world", "occupation", "industry", "depicted by", "head of government", "cites", "original film format", "based on", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louise Fletcher"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["One Flew Over the Cuckoo's Nest"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["One Flew Over the Cuckoo's Nest"]}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1962", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"One Flew Over the Cuckoo's Nest\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Louise Fletcher\" . ?e_2 <pred:name> \"One Flew Over the Cuckoo's Nest\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1962 . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "When did Billy Connolly live in Windsor (the one whose country is United Kingdom)?", "choices": ["1970-05-06", "2006-09-01", "1955-02-01", "2015-02-22", "1450-01-01", "2014-09-20", "1840-12-01", "1859", "1990", "2000-04-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Connolly"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Windsor"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["residence", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Billy Connolly\" . ?e_2 <pred:name> \"Windsor\" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1990"}, {"question": "What is the connection between Mighty Morphin Power Rangers (the one whose game mode is single-player video game) to Bandai Namco Entertainment?", "choices": ["discoverer or inventor", "soundtrack album", "industry", "academic degree", "located on terrain feature", "statistical leader", "publisher", "legal form", "honorific suffix", "student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mighty Morphin Power Rangers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bandai Namco Entertainment"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mighty Morphin Power Rangers\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"single-player video game\" . ?e_2 <pred:name> \"Bandai Namco Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "publisher"}, {"question": "What is the connection between Angel (the one whose number of episodes is 110) to Christina Hendricks?", "choices": ["set in period", "award received", "candidacy in election", "father", "distributor", "creator", "cast member", "work location", "contributor(s) to the creative work", "award disciplines or subjects"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "110", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Christina Hendricks"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Angel\" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"110\"^^xsd:double . ?e_2 <pred:name> \"Christina Hendricks\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Community related to NBC?", "choices": ["grants", "language used", "vehicle normally used", "geography of topic", "territory claimed by", "sports season of league or competition", "student of", "executive producer", "original network", "has part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Community"]}, {"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Community\" . ?e_2 <pred:name> \"NBC\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "Which has a greater GDP (PPP), Australia (which has a diplomatic relation with Samoa) or Ireland (which is the release region of Zoolander)?", "choices": ["Cambodia", "Benin", "Switzerland", "Weimar Republic", "Australia", "Ireland", "Russian Soviet Federative Socialist Republic", "Socialist Federal Republic of Yugoslavia", "Kiribati", "South Sudan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samoa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Zoolander"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["GDP (PPP)", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Australia\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Samoa\" .   } UNION { ?e <pred:name> \"Ireland\" . ?e_2 <film_release_region> ?e . ?e_2 <pred:name> \"Zoolander\" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Australia"}, {"question": "How long is the movie whose official website is http://www.sonyclassics.com/cominghome/?", "choices": ["239 second", "2749 second", "191 minute", "40 minute", "111 minute", "153 minute", "84 minute", "33 minute", "193 minute", "82 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonyclassics.com/cominghome/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sonyclassics.com/cominghome/\" . ?e <duration> ?pv .  }", "answer": "111 minute"}, {"question": "How many non-metro districts are in the UK or make up the filming location of Some Like it Hot (with Adolph Deutsch as the composer) ?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan district"]}, {"function": "Find", "dependencies": [], "inputs": ["Adolph Deutsch"]}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Some Like It Hot"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["non-metropolitan district"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  } UNION { ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Some Like It Hot\" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> \"Adolph Deutsch\" .  } }", "answer": "17"}, {"question": "What is the connection between rock music to Soundgarden?", "choices": ["studied by", "main food source", "child astronomical body", "famous people", "librettist", "academic degree", "nominated for", "has cause", "voice actor", "relative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Find", "dependencies": [], "inputs": ["Soundgarden"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"rock music\" . ?e_2 <pred:name> \"Soundgarden\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Did Beauty and the Beast whose Giphy username is beautyandthebeast or Star Wars: Episode I \u2013 The Phantom Menace cost more?", "choices": ["Star Wars: Episode I \u2013 The Phantom Menace", "The Flintstones", "The Flintstones in Viva Rock Vegas", "Beauty and the Beast", "Old Dogs", "The Muppets", "National Treasure: Book of Secrets", "G-Force", "Holes", "Alvin and the Chipmunks: Chipwrecked"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beauty and the Beast"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "beautyandthebeast"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars: Episode I \u2013 The Phantom Menace"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Beauty and the Beast\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"beautyandthebeast\" . } UNION { ?e <pred:name> \"Star Wars: Episode I \u2013 The Phantom Menace\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Beauty and the Beast"}, {"question": "Of democratic entities that were founders of the European Union, which boasts the greatest total reserves amount?", "choices": ["Germany", "Sierra Leone", "Namibia", "Malawi", "Italy", "France", "Colombia", "Mozambique", "Tunisia", "Zimbabwe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["European Union"]}, {"function": "Relate", "dependencies": [0], "inputs": ["founded by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["total reserves", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e_1 <founded_by> ?e . ?e_1 <pred:name> \"European Union\" .  ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "France"}, {"question": "tell me the duration of the film composed by Jean-Jacques Goldman.", "choices": ["11 minute", "92 minute", "84 minute", "102 minute", "186 minute", "158 minute", "37.5 minute", "74 minute", "100 minute", "4439 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jean-Jacques Goldman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Jean-Jacques Goldman\" .  ?e <duration> ?pv .  }", "answer": "92 minute"}, {"question": "What is the connection between Verona (the one whose population is 54709) to Albany (the one that is the twinned administrative body of Nassau)?", "choices": ["place of birth", "military conflicts", "father", "director", "time period", "twinned administrative body", "has edition", "contributing factor of", "studies", "commissioned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Verona"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "54709", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Nassau"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Albany"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Verona\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"54709\"^^xsd:double . ?e_2 <pred:name> \"Albany\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Nassau\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "When did Lancashire stop becoming a part of England (the one that is the narrative location of The Dresser)?", "choices": ["1928-01-01", "1973-02-08", "1914", "1809-09-05", "1805-12-26", "1988-10-02", "1904-11-23", "1994", "1976-12-04", "2010-09-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lancashire"]}, {"function": "Find", "dependencies": [], "inputs": ["The Dresser"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["located in the administrative territorial entity", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lancashire\" . ?e_2 <pred:name> \"England\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"The Dresser\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1994"}, {"question": "How many learned societies are there that have an official opening date after 1768?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of official opening", "1768", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["learned society"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e <date_of_official_opening> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1768 ) .  }", "answer": "0"}, {"question": "When did team member Cesar Romero join FC Pyunik?", "choices": ["1998-05-25", "2000-05-25", "1996-12-12", "2014-01-01", "1889-11-02", "1820-03-15", "1947-10-22", "1949-08-09", "2003-08-02", "1993-11-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Pyunik"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cesar Romero"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["FC Pyunik"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cesar Romero\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"FC Pyunik\" . ?e_2 <pred:name> \"FC Pyunik\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What is the connection between Ned Kelly (the one that uses the language English) to Melbourne (the one that is the residence of Geoffrey Rush)?", "choices": ["position held", "theme music", "place of death", "director of photography", "child", "librettist", "official language", "had as last meal", "located in the administrative territorial entity", "architect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ned Kelly"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Geoffrey Rush"]}, {"function": "Relate", "dependencies": [4], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Melbourne"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ned Kelly\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Melbourne\" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> \"Geoffrey Rush\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "What is the relationship between Star Plus to India (the one whose inflation rate is 9.7 percentage)?", "choices": ["location", "country", "filming location", "approved by", "allegiance", "killed by", "next higher rank", "organisation directed from the office or person", "replaces", "position held"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Plus"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["inflation rate", "9.7 percentage", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Plus\" . ?e_2 <pred:name> \"India\" . ?e_2 <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"9.7\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the form of government of the United Arab Emirates administrative division whose elevation above sea level is higher than -30 meters?", "choices": ["Dubai", "Zimbabwe", "Sierra Leone", "Eswatini", "Thailand", "Morocco", "Germany", "Tunisia", "Mozambique", "Namibia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Arab Emirates"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["elevation above sea level", "-30 metre", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["form of government"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"United Arab Emirates\" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"-30\"^^xsd:double ) .  }", "answer": "Dubai"}, {"question": "Which person educated at Harvard University served as the executive producer of The Simpsons?", "choices": ["David Foster Wallace", "Elisabeth Shue", "Matt Selman", "James L. Brooks", "Ken Keeler", "Sam Simon", "B. J. Novak", "Carlton Cuse", "Al Jean", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Simpsons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Harvard University"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:name> \"The Simpsons\" .  ?e <educated_at> ?e_2 . ?e_2 <pred:name> \"Harvard University\" .  }", "answer": "Al Jean"}, {"question": "How many forms of popular music hail from the sovereign country of Fulham F.C.?", "choices": ["31", "32", "33", "34", "35", "36", "37", "38", "39", "40"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fulham F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["popular music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Fulham F.C.\" .   }", "answer": "35"}, {"question": "What is the name of the city of the United States that is the twinned administrative body of the city that is the headquarter location of Nokia (the one whose net profit is -3786000000 euro)?", "choices": ["Sioux Falls", "Irving", "Shanghai", "Youngstown", "Des Moines", "Mumbai", "Cupertino", "Tuscaloosa", "Columbus", "Oxnard"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nokia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["net profit", "-3786000000 euro", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> \"Nokia\" . ?e_2 <net_profit> ?pv . ?pv <pred:unit> \"euro\" . ?pv <pred:value> \"-3786000000\"^^xsd:double .   }", "answer": "Irving"}, {"question": "Which licence plate code corresponds to the major city twinned to Savannah, where Nathanael Greene died?", "choices": ["\u0421, \u0421\u0410, CB", "DOM", "MD", "25", "MON", "\u8fbdB", "FL", "BLR", "HAL", "YAR"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nathanael Greene"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Savannah"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["big city"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["licence plate code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Savannah\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Nathanael Greene\" .  ?e <licence_plate_code> ?pv .  }", "answer": "HAL"}, {"question": "How many scientists belong to the main subject of Ned Kelly (the one that has Rachel Griffiths as a cast member) and also carry 2122 as their ISCO occupation code?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rachel Griffiths"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ned Kelly"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["scientist"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["ISCO occupation code", "2122"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["scientist"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"scientist\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Ned Kelly\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Rachel Griffiths\" .  ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> \"2122\" .  }", "answer": "0"}, {"question": "What is the connection between Carry On (the one whose lyrics is written by Stephen Stills) to Atlantic Records?", "choices": ["record label", "distributor", "lifestyle", "statistical leader", "derivative work", "symptom of", "season starts", "office held by head of state", "geographic distribution", "location of final assembly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Stills"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lyrics by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carry On"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Atlantic Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carry On\" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> \"Stephen Stills\" . ?e_2 <pred:name> \"Atlantic Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "What is the connection between Craig Thomas (the one whose ISNI is 0000 0001 1473 5081) to musician?", "choices": ["commissioned by", "capital", "platform", "software engine", "political ideology", "occupation", "symptoms", "location of discovery", "exclave of", "narrative role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Craig Thomas"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1473 5081"]}, {"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Craig Thomas\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1473 5081\" . ?e_2 <pred:name> \"musician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the connection between reggae fusion to Lily Allen?", "choices": ["chief executive officer", "sibling", "draft pick from school", "ethnic group", "currency", "notable people with this condition", "famous people", "allegiance", "partner", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["reggae fusion"]}, {"function": "Find", "dependencies": [], "inputs": ["Lily Allen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"reggae fusion\" . ?e_2 <pred:name> \"Lily Allen\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the subject of this statement: \"The Nutty Professor (the one whose script is wrote by Steve Oedekerk) received Academy Award for Best Makeup and Hairstyling\"?", "choices": ["Economy of Vatican City", "Denmark\u2013France relations", "Azerbaijan\u2013United States relations", "Romania\u2013Ukraine relations", "69th Academy Awards", "Hawkeye State", "India\u2013Morocco relations", "Slovakia\u2013Ukraine border", "Chad\u2013Sudan border", "Ireland\u2013Mexico relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Oedekerk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Nutty Professor\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Steve Oedekerk\" . ?e_2 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "69th Academy Awards"}, {"question": "What is the relationship between Alice (the one that presents in work Resident Evil: Apocalypse) to Resident Evil: Extinction?", "choices": ["afflicts", "killed by", "candidacy in election", "original film format", "license", "continent", "does not have part", "present in work", "parent club", "platform"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Apocalypse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["present in work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Extinction"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice\" . ?e_1 <present_in_work> ?e_3 . ?e_3 <pred:name> \"Resident Evil: Apocalypse\" . ?e_2 <pred:name> \"Resident Evil: Extinction\" . ?e_1 ?p ?e_2 .  }", "answer": "present in work"}, {"question": "When was the Seventh-day Adventist Church no longer headquartered in Battle Creek, which is at an elevation of 256 meters?", "choices": ["1903", "1805-03-04", "2011-05-13", "1963-07-07", "2002-01-01", "2016-11-02", "1337-01-01", "1516-01-01", "1871-01-01", "1596"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seventh-day Adventist Church"]}, {"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "256 metre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seventh-day Adventist Church\" . ?e_2 <pred:name> \"Battle Creek\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"256\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1903"}, {"question": "When did Dalian become located in Liaoning?", "choices": ["1953-08-19", "2001-10-24", "1954", "1538", "1992-07-03", "1846", "1906-01-01", "1991-08-30", "2015-05-04", "1983-01-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dalian"]}, {"function": "Find", "dependencies": [], "inputs": ["Liaoning"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dalian\" . ?e_2 <pred:name> \"Liaoning\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1954"}, {"question": "Which belief system was established in 1868, prior to 1961?", "choices": ["Kansas City", "Davis", "Judaism", "Scientology", "Hampton University", "Jainism", "Seventh-day Adventist Church", "Methodism", "Imperial Japanese Army", "Kanagawa Prefecture"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1868", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1961", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["belief system"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <inception> ?pv . ?pv <pred:year> 1868 . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1961 ) .  }", "answer": "Methodism"}, {"question": "What person's date of birth is 1969-05-06?", "choices": ["Richard Gere", "Richie Sambora", "Robert Young", "Robert L. Surtees", "David Angell", "John Bailey", "Cory Doctorow", "Max Fleischer", "Sylvester Stallone", "Roald Dahl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1969-05-06", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1969-05-06\"^^xsd:date .  }", "answer": "John Bailey"}, {"question": "What is the release region of the film whose title is Veronica Mars and release date is 2014-03-13?", "choices": ["United Kingdom", "Telluride Film Festival", "Venice Film Festival", "Cannes", "Germany", "Portugal", "Argentina", "Greece", "2005 Cannes Film Festival", "Berlin International Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Veronica Mars"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2014-03-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Veronica Mars\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2014-03-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which one of democracies, whose Human Development Index is more than 0.8, report the smallest real gross domestic product growth late ?", "choices": ["Mozambique", "Sierra Leone", "Zimbabwe", "Colombia", "Namibia", "Slovakia", "Austria", "Italy", "Germany", "Latvia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Human Development Index", "0.8", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["real gross domestic product growth rate", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"0.8\"^^xsd:double ) . ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Italy"}, {"question": "Which ISNI designates the person with the native language name Neil Patrick Harris?", "choices": ["0000 0001 1883 0158", "0000 0000 7778 4510", "0000 0001 1959 4994", "0000 0000 8136 1123", "0000 0004 4660 5494", "0000 0001 2342 5413", "0000 0001 2135 1369", "0000 0004 0439 8351", "0000 0004 1937 0642", "0000 0001 2172 1948"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Neil Patrick Harris"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Neil Patrick Harris\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1883 0158"}, {"question": "With its publication date of 2003-11-14, where is Finding Nemo (the one whose release region is Lithuania) published?", "choices": ["Hong Kong", "Telluride Film Festival", "Rio de Janeiro", "Japan", "Sundance Film Festival", "Sweden", "Chile", "Stockholm", "Germany", "Moscow"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Finding Nemo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2003-11-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Finding Nemo\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Lithuania\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2003-11-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "How many industries have an establishment date that is not in 2008 or are owned by Google whose PermID is 4295899948?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "2008", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "Find", "dependencies": [], "inputs": ["Google"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PermID", "4295899948"]}, {"function": "Relate", "dependencies": [4], "inputs": ["owned by", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["industry"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  } UNION { ?e <owned_by> ?e_1 . ?e_1 <pred:name> \"Google\" . ?e_1 <PermID> ?pv . ?pv <pred:value> \"4295899948\" .  } }", "answer": "11"}, {"question": "Which association football club is set up in Breda?", "choices": ["Middlesbrough F.C.", "SBV Excelsior", "Zamalek SC", "NAC Breda", "Sparta Rotterdam", "FC Thun", "Kettering Town F.C.", "Vitesse", "Brisbane Roar FC", "Deportivo Toluca F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Breda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Breda\" .   }", "answer": "NAC Breda"}, {"question": "How is Tirana related to Zagreb?", "choices": ["characters", "film editor", "costume designer", "narrator", "military rank", "officially opened by", "twinned administrative body", "time period", "political alignment", "geographic distribution"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tirana"]}, {"function": "Find", "dependencies": [], "inputs": ["Zagreb"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tirana\" . ?e_2 <pred:name> \"Zagreb\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the postal code of the city whose NUTS code is UKE41?", "choices": ["44052\u201344055", "BD1-BD99", "47755", "12866", "11600\u201311699", "34149", "02129", "46278", "83844-2282", "SW5"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKE41"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKE41\" . ?e <postal_code> ?pv .  }", "answer": "BD1-BD99"}, {"question": "How is Savages, with lyrics by Stephen Schwartz, related to Alan Menken?", "choices": ["home port", "legislative body", "has dialect (DEPRECATED)", "source of income", "sidekick of", "located in the administrative territorial entity", "after a work by", "office held by head of government", "location of discovery", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Schwartz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lyrics by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Savages"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alan Menken"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Savages\" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> \"Stephen Schwartz\" . ?e_2 <pred:name> \"Alan Menken\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "How was it determined that Delaware County (the one whose inception time is 1789-09-26) has a population of 560699?", "choices": ["middle", "Address Based Population Registration System", "2010 United States Census", "UIS estimation", "de jure", "United States Census", "2016 Australian census", "estimation process", "census", "1860 United States Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delaware County"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1789-09-26", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "560699", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Delaware County\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1789-09-26\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"560699\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the administrative-territorial entity which has FIPS 6-4 (US counties) of 20045?", "choices": ["York County", "Kent County", "Washington County", "African Union", "Grafton County", "Washoe County", "Orange County", "Douglas County", "Ramsey County", "Toledo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "20045"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"20045\" .  }", "answer": "Douglas County"}, {"question": "In which US city did Jack Kirby die?", "choices": ["Huntington", "Thousand Oaks", "Oklahoma City", "Franklin", "Oxnard", "Rancho Mirage", "Santa Monica", "Columbus", "Waukegan", "Redlands"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Kirby"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Jack Kirby\" .   }", "answer": "Thousand Oaks"}, {"question": "Who wrote the lyrics to the musical titled Chicago?", "choices": ["Fred Ebb", "Tim Rice", "Sylvester Stallone", "Mel Brooks", "Larry Hagman", "Frank Loesser", "Greta Scacchi", "Howard Ashman", "Max Fleischer", "Stephen Sondheim"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Chicago"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical"]}, {"function": "Relate", "dependencies": [2], "inputs": ["lyrics by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <lyrics_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"musical\" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> \"Chicago\" .   }", "answer": "Fred Ebb"}, {"question": "Regarding the departments of France that have the SIREN number 220600019, and Twitter username of AlpesMaritimes, what is the number of subscribers for this user?", "choices": ["15485", "75196", "13353674", "138", "50135", "333584", "2540", "123188", "56966", "200587"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["SIREN number", "220600019"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "AlpesMaritimes", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <SIREN_number> ?pv_1 . ?pv_1 <pred:value> \"220600019\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AlpesMaritimes\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "50135"}, {"question": "What website officially belongs to Stirling,  population 45750?", "choices": ["http://thehelpmovie.com/us/", "http://nasirjones.com", "http://www.in.gov", "http://www.wwe.com/shows/snme/", "http://www.stirling.gov.uk/", "https://shamrockrovers.ie/", "http://www.aokavalas.gr/", "http://www.hackney.gov.uk/", "http://www.metalblade.com", "http://www.patriots.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stirling"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "45750", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Stirling\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"45750\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.stirling.gov.uk/"}, {"question": "The art movement with the subreddit PopArt is preceded by how many other art movements?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "PopArt"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "Relate", "dependencies": [2], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["art movement"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e <follows> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"art movement\" . ?e_1 <subreddit> ?pv . ?pv <pred:value> \"PopArt\" .   }", "answer": "0"}, {"question": "How many colleges have the official website http://www.wheaton.edu?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.wheaton.edu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.wheaton.edu\" .  }", "answer": "1"}, {"question": "Where was the 110 minute Brothers (published 2005-03-31) published?", "choices": ["New York City", "Sorrento", "India", "Germany", "Thailand", "Jordan", "Hollywood Bowl", "Bulgaria", "Slovakia", "South Korea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brothers"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "110 minute", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["publication date", "2005-03-31", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Brothers\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"110\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-03-31\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did Charles B. Rangel stop being in the military branch 'United States Army'?", "choices": ["1926-01-01", "1952", "2025-01-31", "1430-03-29", "2011-11-10", "1950-01-01", "2000-08-01", "1924-07-27", "1713", "1811-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles B. Rangel"]}, {"function": "Find", "dependencies": [], "inputs": ["United States Army"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["military branch", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Charles B. Rangel\" . ?e_2 <pred:name> \"United States Army\" . ?e_1 <military_branch> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <military_branch> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1952"}, {"question": "What is the connection between Neal Stephenson to Bruce Sterling?", "choices": ["official color", "office held by head of government", "currency", "interests", "chairperson", "office held by head of the organisation", "award received", "designed to carry", "influenced by", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Neal Stephenson"]}, {"function": "Find", "dependencies": [], "inputs": ["Bruce Sterling"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Neal Stephenson\" . ?e_2 <pred:name> \"Bruce Sterling\" . ?e_1 ?p ?e_2 .  }", "answer": "influenced by"}, {"question": "Which RIA Novosti reference designates the TV program in French?", "choices": ["42204199", "58078725", "57076908", "44730667", "55513358", "58576160", "57226928", "39758118", "22585518", "57906872"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television program"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["RIA Novosti reference"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"French\" .  ?e <RIA_Novosti_reference> ?pv .  }", "answer": "44730667"}, {"question": "Which country has the largest area?", "choices": ["Grammy Award for Best Song Written for Visual Media", "Tom Selleck", "Orange", "Wales", "Greenland", "Baton Rouge", "Faroe Islands", "Cook Islands", "Netherlands", "Scotland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterConcept", "dependencies": [0], "inputs": ["country"]}, {"function": "SelectAmong", "dependencies": [1], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greenland"}, {"question": "Was the agent followed by NBCUniversal not founded in 1884 (the reference wording of this statement is An Acquisition of Metro-Goldwin-Mayer and a Merger of Metro-Goldwyn-Mayer to Form MGM/MCA)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBCUniversal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["inception", "stated as", "An Acquisition of Metro-Goldwin-Mayer and a Merger of Metro-Goldwyn-Mayer to Form MGM/MCA"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1884", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"NBCUniversal\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1884 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <stated_as> ?qpv . ?qpv <pred:value> \"An Acquisition of Metro-Goldwin-Mayer and a Merger of Metro-Goldwyn-Mayer to Form MGM/MCA\" .  }", "answer": "yes"}, {"question": "Midfielder Chris Brown had how many match appearances as a member of Real Salt Lake?", "choices": ["35", "68", "51", "134", "73", "171", "18", "60", "16", "62"], "program": [{"function": "Find", "dependencies": [], "inputs": ["midfielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Real Salt Lake"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chris Brown\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"midfielder\" . ?e_2 <pred:name> \"Real Salt Lake\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "60"}, {"question": "Is Hellas Verona F.C. officially represented by the site www.moldefk.no ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hellas Verona F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.moldefk.no/"]}], "sparql": "ASK { ?e <pred:name> \"Hellas Verona F.C.\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.moldefk.no/\" .  }", "answer": "no"}, {"question": "What number of Oregon counties have a population exceeding 20000000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "20000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"20000000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "How many Summer Olympic Games that did not take place in 1912 or have the official website of https://www.olympic.org/los-angeles-1984?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "1912", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.olympic.org/los-angeles-1984"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Summer Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1912 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.olympic.org/los-angeles-1984\" .  } }", "answer": "26"}, {"question": "How is Robert Smith of the Utah Jazz related to the Milwaukee Bucks?", "choices": ["educated at", "official symbol", "domain of saint or deity", "present in work", "item operated", "talk show guest", "notable people with this condition", "employer", "member of sports team", "start point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Utah Jazz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Milwaukee Bucks"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Smith\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Utah Jazz\" . ?e_2 <pred:name> \"Milwaukee Bucks\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Which show has fewer episodes, Twin Peaks (the one that is shot in Washington) or Bad Teacher (the one that is originally aired on CBS)?", "choices": ["Saturday Night's Main Event", "Bleak House", "Six Feet Under", "Dancing with the Stars", "Twin Peaks", "Seinfeld", "Bad Teacher", "Game of Thrones", "Robot Chicken", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twin Peaks"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bad Teacher"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Twin Peaks\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Washington\" .   } UNION { ?e <pred:name> \"Bad Teacher\" . ?e <original_network> ?e_2 . ?e_2 <pred:name> \"CBS\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bad Teacher"}, {"question": "Tell me the point in time, for the City of the United States who has a postal code 73072 and population of 110925", "choices": ["1979-12-01", "1995-11-21", "2009-01-25", "2011-12-01", "1775-01-01", "2002-12-18", "1872", "2010-01-01", "1958", "2010-04-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "73072"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "110925", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"73072\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"110925\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "What is the relationship between Pohang Steelers and association football?", "choices": ["captain", "archives at", "sport", "rector", "organisation directed from the office or person", "notable people with this condition", "home port", "conflict", "filmography", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pohang Steelers"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pohang Steelers\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What person is a sibling of Randy Quaid?", "choices": ["Chad Hugo", "Sylvester Stallone", "Todd Haynes", "Bob Weinstein", "William Henry Harrison", "Charles, Prince of Wales", "Sophie Thompson", "Dennis Quaid", "Joan Cusack", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Randy Quaid"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sibling", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <sibling> ?e_1 . ?e_1 <pred:name> \"Randy Quaid\" .   }", "answer": "Dennis Quaid"}, {"question": "Does Kevin Betsy's place of birth have a postal code of GU21, GU22?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kevin Betsy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["GU21, GU22"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Kevin Betsy\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"GU21, GU22\" .  }", "answer": "yes"}, {"question": "When did the capital located in the Canton of Vaud have an area of 41.38 square kilometers?", "choices": ["1949-10-07", "2019-01-24", "2015-10-08", "1994-01-01", "2004-01-01", "2011-02-02", "2003-05-01", "2001-10-17", "2017-07-18", "2015-01-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canton of Vaud"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["area", "41.38 square kilometre", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Canton of Vaud\" .  ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"41.38\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2004-01-01"}, {"question": "By which name is 00122507119, the IPI name number of the human whose BMLO is h1734, recorded in a database or mentioned as a contributor of a work?", "choices": ["WILSON BRIAN", "City of Rockville", "RKO Radio Pictures", "BALLARD GLEN", "GERSHWIN GEORGE", "COBAIN KURT D", "HANDEL", "Victor Talking Machine Company", "BRECHT EUGEN BERTHOLD", "ADKINS ADELE LAURIE BLUE"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["BMLO", "h1734"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["IPI name number", "00122507119", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <BMLO> ?pv_1 . ?pv_1 <pred:value> \"h1734\" . ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00122507119\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "HANDEL"}, {"question": "What are the number of occupations whose Iconclass notation is 13H2 or that is the saint domain of Allen Leech ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "13H2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["occupation"]}, {"function": "Find", "dependencies": [], "inputs": ["Allen Leech"]}, {"function": "Relate", "dependencies": [3], "inputs": ["domain of saint or deity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["occupation"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"13H2\" .  } UNION { ?e_1 <domain_of_saint_or_deity> ?e . ?e_1 <pred:name> \"Allen Leech\" .  } }", "answer": "1"}, {"question": "How is the 1996 NCAA Men's Division I Basketball Tournament related to the NCAA Men's Division I Basketball Championship?", "choices": ["place of publication", "after a work by", "chief executive officer", "found", "place of origin (Switzerland)", "sports season of league or competition", "film distribute region", "worshipped by", "seed team", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1996 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["NCAA Men's Division I Basketball Championship"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1996 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"NCAA Men's Division I Basketball Championship\" . ?e_1 ?p ?e_2 .  }", "answer": "sports season of league or competition"}, {"question": "Which programming language has the Stack Exchange tag https://ja.stackoverflow.com/tags/c%2b%2b and whose programming paradigm is functional programming?", "choices": ["C", "Python", "C++", "Java", "PHP", "Cannes Best Director Award", "Julia", "Perl", "Lisp", "C#"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://ja.stackoverflow.com/tags/c%2b%2b"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["programming language"]}, {"function": "Find", "dependencies": [], "inputs": ["functional programming"]}, {"function": "Relate", "dependencies": [3], "inputs": ["programming paradigm", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["programming language"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"programming language\" . ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://ja.stackoverflow.com/tags/c%2b%2b\" . ?e <programming_paradigm> ?e_1 . ?e_1 <pred:name> \"functional programming\" .  }", "answer": "C++"}, {"question": "Which is expensive, Mars Attacks! or Signs which has Joaquin Phoenix in its cast?", "choices": ["Talk to Her", "The Fifth Element", "Mars Attacks!", "The Towering Inferno", "Training Day", "Rebecca", "Signs", "A Prairie Home Companion", "Curse of the Golden Flower", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joaquin Phoenix"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Signs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mars Attacks!"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Signs\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Joaquin Phoenix\" .   } UNION { ?e <pred:name> \"Mars Attacks!\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Signs"}, {"question": "Does the U.S. city which is the formation location of Yahoo have postal code 94085?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yahoo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["94085"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"Yahoo\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"94085\" .  }", "answer": "yes"}, {"question": "Is Skip Lievsay's birth year later than 1960?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skip Lievsay"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1960", ">"]}], "sparql": "ASK { ?e <pred:name> \"Skip Lievsay\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1960 ) .  }", "answer": "yes"}, {"question": "Which person's ISNI is 0000 0001 0921 8186?", "choices": ["Taylor Lautner", "Max Fleischer", "Sylvester Stallone", "William Henry Harrison", "Richard Gere", "David Arnold", "Louis Armstrong", "Kim Carnes", "Robert Smith", "David Greenwalt"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0921 8186"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0921 8186\" .  }", "answer": "David Arnold"}, {"question": "What is the connection between East Prussia to Prussia?", "choices": ["studied by", "student of", "official language", "official religion", "home venue", "capital of", "present in work", "shares border with", "famous people", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Prussia"]}, {"function": "Find", "dependencies": [], "inputs": ["Prussia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"East Prussia\" . ?e_2 <pred:name> \"Prussia\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is the National Heritage List for England number for Golders Green Crematorium 1066236 (the involved part of this statement is cemetery)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golders Green Crematorium"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["National Heritage List for England number", "applies to part", "cemetery"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["1066236"]}], "sparql": "ASK { ?e <pred:name> \"Golders Green Crematorium\" . ?e <National_Heritage_List_for_England_number> ?pv . ?pv <pred:value> \"1066236\" . [ <pred:fact_h> ?e ; <pred:fact_r> <National_Heritage_List_for_England_number> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> \"cemetery\" .  }", "answer": "no"}, {"question": "How many matches did Felix Bastians play as a member of Nottingham Forest F.C. ?", "choices": ["155", "14", "38", "240", "108", "667", "29", "74", "66", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Felix Bastians"]}, {"function": "Find", "dependencies": [], "inputs": ["Nottingham Forest F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Felix Bastians\" . ?e_2 <pred:name> \"Nottingham Forest F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "14"}, {"question": "John Spencer, one of the actors of The Rock, received a Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series for which TV show?", "choices": ["Channel Orange", "Warrior", "Cinderella Man", "Bridesmaids", "War and Peace", "Houseboat", "Ulee's Gold", "A Cabin on the Coast", "The West Wing", "When Harry Met Sally"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Spencer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Spencer\" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> \"The Rock\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The West Wing"}, {"question": "The demonym tonganu applies to which part of Tonga?", "choices": ["Saint Martin", "Hamblen County", "Plazas de soberan\u00eda", "apogee", "Eurasia", "Anderson County", "header file", "world", "masculine singular", "Clay County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tonga"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["demonym", "tonganu", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Tonga\" . ?e <demonym> ?pv . ?pv <pred:value> \"tonganu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine singular"}, {"question": "Mighty Aphrodite or Iron Man 3 which has longer duration.", "choices": ["The Towering Inferno", "Training Day", "Curse of the Golden Flower", "A Prairie Home Companion", "The Fifth Element", "Pleasantville", "Rebecca", "Mighty Aphrodite", "The Hunchback of Notre Dame", "Iron Man 3"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mighty Aphrodite"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man 3"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mighty Aphrodite\" .  } UNION { ?e <pred:name> \"Iron Man 3\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Iron Man 3"}, {"question": "What does Valkyrie have to do with Eddie Izzard?", "choices": ["doctoral student", "source of income", "connects with", "fictional universe described in", "worshipped by", "illustrator", "field of work", "lowest point", "cast member", "donated by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Valkyrie"]}, {"function": "Find", "dependencies": [], "inputs": ["Eddie Izzard"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Valkyrie\" . ?e_2 <pred:name> \"Eddie Izzard\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many subscribers does the Twitter username the ThomasDekker have, who is also a cast member of kaboom?", "choices": ["90", "225817", "435", "2330", "1583591", "2326759", "157125", "899", "87986", "462187"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kaboom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "theThomasDekker", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Kaboom\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"theThomasDekker\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "87986"}, {"question": "Where is Thirteen Days, whose publication date is 2001-03-22, published?", "choices": ["Colombia", "Mexico", "Croatia", "Brazil", "Germany", "North America", "Norway", "Jordan", "Bahrain", "Uruguay"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thirteen Days"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2001-03-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Thirteen Days\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2001-03-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is Alok Nath related to India, whose citizen is Suresh Gopi?", "choices": ["vehicle normally used", "official religion", "medical treatment", "sex or gender", "country of citizenship", "location", "place of publication", "ethnic group", "dissertation submitted to", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alok Nath"]}, {"function": "Find", "dependencies": [], "inputs": ["Suresh Gopi"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of citizenship", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alok Nath\" . ?e_2 <pred:name> \"India\" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> \"Suresh Gopi\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which human, in 1962, received the Grammy Award that was also nominated to James Horner?", "choices": ["Leslie Bricusse", "Sylvester Stallone", "Maurice Jarre", "Max Fleischer", "The-Dream", "Elmer Bernstein", "Bing Crosby", "Igor Stravinsky", "Rob Thomas", "Justin Bieber"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Horner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Grammy Award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "1962", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Grammy Award\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"James Horner\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1962 .  }", "answer": "Leslie Bricusse"}, {"question": "Which show has fewer episodes, Boston Legal or Constantine (the one whose end time is 2015-02-13)?", "choices": ["Robot Chicken", "Seinfeld", "Game of Thrones", "Six Feet Under", "Boston Legal", "Dancing with the Stars", "American Horror Story", "Constantine", "Saturday Night's Main Event", "Bleak House"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston Legal"]}, {"function": "Find", "dependencies": [], "inputs": ["Constantine"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["end time", "2015-02-13", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Boston Legal\" . } UNION { ?e <pred:name> \"Constantine\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"2015-02-13\"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Constantine"}, {"question": "Is a11325446 the CANTIC-ID of the person who has a famous work called The Maltese Falcon (whose origination date is in 1930)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Maltese Falcon"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1930", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["a11325446"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> \"The Maltese Falcon\" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:year> 1930 . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11325446\" .  }", "answer": "yes"}, {"question": "How many basketball teams have the official web address http://www.nba.com/rockets/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nba.com/rockets/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nba.com/rockets/\" .  }", "answer": "1"}, {"question": "Among the U.S. cities located in Ventura County, which one has the smallest population?", "choices": ["Thousand Oaks", "Oakland", "Columbus", "Compton", "Franklin", "Oxnard", "Lansing", "Waukegan", "Ventura", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ventura County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Ventura County\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ventura"}, {"question": "What is the relationship between Lincoln College and the United Kingdom?", "choices": ["film release region", "costume designer", "language used", "commissioned by", "native language", "opposite of", "country", "depicts", "drug used for treatment", "series spin-off"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lincoln College"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lincoln College\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What language is associated with the official website http://www.lehigh.edu of the higher learning institution whose DOI prefix is 10.18275?", "choices": ["English", "O'odham", "Bashkir", "Lower Sorbian", "Cornish", "Bulgarian", "Valencian", "Estonian", "Arabic", "Eastern Armenian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DOI prefix", "10.18275"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.lehigh.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <DOI_prefix> ?pv_1 . ?pv_1 <pred:value> \"10.18275\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lehigh.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many video game publishers were founded in a year besides 1998?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1998", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game publisher"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game publisher\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) .  }", "answer": "3"}, {"question": "What number of Pennsylvania cities have a population smaller than 7.2 and has the official name of Philadelphia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7.2", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official name", "Philadelphia"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of Pennsylvania"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"7.2\"^^xsd:double ) . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Philadelphia\" .  }", "answer": "0"}, {"question": "Was the activity whose official website is http://www.2kgames.com/riseofthesilversurfer/ not published in 1996?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.2kgames.com/riseofthesilversurfer/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1996", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.2kgames.com/riseofthesilversurfer/\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1996 ) .  }", "answer": "yes"}, {"question": "Which has more episodes, Stargate Atlantis or Around the World in 80 Days (the one whose number of episodes is 6)?", "choices": ["American Horror Story", "Phineas and Ferb", "Saturday Night's Main Event", "Dancing with the Stars", "Seinfeld", "Bleak House", "Game of Thrones", "Six Feet Under", "Around the World in 80 Days", "Stargate Atlantis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stargate Atlantis"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of episodes", "6", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stargate Atlantis\" . } UNION { ?e <pred:name> \"Around the World in 80 Days\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"6\"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Stargate Atlantis"}, {"question": "Which movie has a longer runtime, The Twilight Saga: New Moon or Eyes Wide Shut?", "choices": ["Pleasantville", "Eyes Wide Shut", "Training Day", "The Towering Inferno", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "A Prairie Home Companion", "The Fifth Element", "The Twilight Saga: New Moon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Twilight Saga: New Moon"]}, {"function": "Find", "dependencies": [], "inputs": ["Eyes Wide Shut"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Twilight Saga: New Moon\" .  } UNION { ?e <pred:name> \"Eyes Wide Shut\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eyes Wide Shut"}, {"question": "When was Disney Channel created?", "choices": ["1819", "1753-12-13", "1983-01-01", "1889-10-10", "1999-06-01", "1905-10-26", "1945-08-17", "1928", "1979", "1749-08-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Disney Channel"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Disney Channel\" . ?e <inception> ?pv .  }", "answer": "1983-01-01"}, {"question": "How is Latin pop related to Nelly Furtado?", "choices": ["director of photography", "territory claimed by", "source of material", "father", "record label", "sex or gender", "had as last meal", "developer", "facet of", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin pop"]}, {"function": "Find", "dependencies": [], "inputs": ["Nelly Furtado"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Latin pop\" . ?e_2 <pred:name> \"Nelly Furtado\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "For the sovereign state whose motto text is \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u043e, \u043c\u0438\u0440, \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442, what is the time point of its nominal GDP of 19749893536.3204 United States dollars?", "choices": ["1964-10-01", "2014-09-18", "1962-05-29", "2003-03-23", "2009-05-06", "1843-12-01", "2008-01-01", "1994-07-21", "2018-12-13", "2019-01-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u043e, \u043c\u0438\u0440, \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "19749893536.3204 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> \"\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u043e, \u043c\u0438\u0440, \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"19749893536.3204\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2008-01-01"}, {"question": "What is the beginning date that UKM65 is the NUTS code for the geographic territory that is an administrative division of Scotland whose capital is Edinburgh?", "choices": ["1997-03-03", "1812-01-01", "1777-05-22", "1945-10-24", "1999-01-01", "1947-08-15", "1521-08-28", "1934-01-01", "1835-12-07", "1836"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scotland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["NUTS code", "UKM65", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Scotland\" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> \"Edinburgh\" .  ?e <NUTS_code> ?pv . ?pv <pred:value> \"UKM65\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "How many geographic regions are larger than 55 acres or border Europe?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "55 acre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Find", "dependencies": [], "inputs": ["Europe"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" .  { ?e <area> ?pv . ?pv <pred:unit> \"acre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"55\"^^xsd:double ) .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Europe\" .  } }", "answer": "1"}, {"question": "Which is higher in elevation: Leicester, or the Jerusalem designated by ISNI 0000 0001 2158 6491?", "choices": ["Cork", "Jerusalem", "Santo Domingo", "Dundee", "Abidjan", "Leicester", "Kingston", "Bergen", "Chihuahua", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leicester"]}, {"function": "Find", "dependencies": [], "inputs": ["Jerusalem"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0001 2158 6491"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Leicester\" . } UNION { ?e <pred:name> \"Jerusalem\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2158 6491\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jerusalem"}, {"question": "How many subscribers does the person whose Instagram username is ajrobach, Twitter username arobach, have?", "choices": ["657850", "28742", "1293627", "133272", "2803859", "3946645", "3810", "60", "6385279", "988208"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "ajrobach"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "arobach", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"ajrobach\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"arobach\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "133272"}, {"question": "Which language is used on the website of the General Dynamics-owned business, at http://www.gdeb.com?", "choices": ["Georgian", "Austrian German", "Estonian", "Ewe", "Traditional Chinese", "English", "Modern Greek", "\u01c0Xam language", "Ukrainian", "Yue Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Dynamics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owned by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.gdeb.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <owned_by> ?e_1 . ?e_1 <pred:name> \"General Dynamics\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.gdeb.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which democracy that is exported to the People's Republic of China has the highest mains voltage?", "choices": ["Sudan", "Namibia", "Colombia", "Mozambique", "France", "Zimbabwe", "Sierra Leone", "Italy", "Tunisia", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mains voltage", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <exported_to> ?e_1 . ?e_1 <pred:name> \"People's Republic of China\" .  ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sudan"}, {"question": "What number of Pennsylvania counties were not founded in 1752?", "choices": ["32", "33", "34", "35", "36", "37", "38", "39", "40", "41"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1752", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1752 ) .  }", "answer": "37"}, {"question": "Was Roy Bittan born before 1963?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roy Bittan"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1963", "<"]}], "sparql": "ASK { ?e <pred:name> \"Roy Bittan\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1963 ) .  }", "answer": "yes"}, {"question": "Iron Man (which was produced by Paramount Pictures) got nominated for MTV movie award for best movie, tell me the subject of this statement.", "choices": ["Colombia\u2013Russia relations", "Israel\u2013United States relations", "Germany\u2013El Salvador relations", "Denmark\u2013Vietnam relations", "Azerbaijan\u2013Ukraine relations", "Netherlands\u2013Singapore relations", "Mongolia\u2013Russia border", "Azerbaijan\u2013Georgia (country) relations", "2009 MTV Movie Awards", "Malta\u2013United Kingdom relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Movie"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Iron Man\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Paramount Pictures\" . ?e_2 <pred:name> \"MTV Movie Award for Best Movie\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "2009 MTV Movie Awards"}, {"question": "How many sports season match the sports season of NCAA Men's Division I Basketball Championship or the seed team - UCLA Bruins men's basketball ?", "choices": ["23", "24", "25", "26", "27", "28", "29", "30", "31", "32"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NCAA Men's Division I Basketball Championship"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sports season of league or competition", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "Find", "dependencies": [], "inputs": ["UCLA Bruins men's basketball"]}, {"function": "Relate", "dependencies": [3], "inputs": ["seed team", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sports season"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" .  { ?e <sports_season_of_league_or_competition> ?e_1 . ?e_1 <pred:name> \"NCAA Men's Division I Basketball Championship\" .  } UNION { ?e <seed_team> ?e_1 . ?e_1 <pred:name> \"UCLA Bruins men's basketball\" .  } }", "answer": "29"}, {"question": "What is the title of Vienna (with Mickey Rooney)?", "choices": ["Looper", "Sex, Lies, and Videotape", "Burn After Reading", "Coming to America", "Bon Jovi", "The A-Team", "The Stepford Wives", "American Psycho", "Vienna", "Winchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mickey Rooney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vienna"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Vienna\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Mickey Rooney\" .  ?e <title> ?pv .  }", "answer": "Vienna"}, {"question": "What belief system is the religion of Punjabi people and whose OSM tag or key is Tag:religion=sikh ?", "choices": ["Sikhism", "Unitarianism", "Russian Orthodox Church", "Lutheranism", "Baptists", "Scientology", "Greek Orthodox Church", "Presbyterianism", "Hinduism", "Jainism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Punjabi people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OSM tag or key", "Tag:religion=sikh"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["belief system"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e_1 <religion> ?e . ?e_1 <pred:name> \"Punjabi people\" .  ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:religion=sikh\" .  }", "answer": "Sikhism"}, {"question": "Which movie is longer, A Time to Kill or In America?", "choices": ["A Prairie Home Companion", "The Fifth Element", "Training Day", "Rebecca", "Talk to Her", "In America", "Pleasantville", "The Hunchback of Notre Dame", "A Time to Kill", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Time to Kill"]}, {"function": "Find", "dependencies": [], "inputs": ["In America"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Time to Kill\" .  } UNION { ?e <pred:name> \"In America\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "A Time to Kill"}, {"question": "Who is the Italian American whose Deutsche Synchronkartei actor-ID is 18023?", "choices": ["Sofia Coppola", "Talia Shire", "Lorraine Bracco", "David Byrne", "William Henry Harrison", "Richard Gere", "Selena Gomez", "Martin Scorsese", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "18023"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Italian American"]}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"18023\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Italian American\" .  }", "answer": "Selena Gomez"}, {"question": "How is Israel (the one that is the citizen of Spain) related to association football?", "choices": ["member of political party", "film regional debut venue", "located on terrain feature", "interested in", "designed by", "native language", "enclave within", "business division", "sport", "month of the year"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Israel\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"Spain\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the publication date of Pinocchio (the one whose publisher is Nintendo) ?", "choices": ["2017-11-10", "2018-10-25", "2010-08-26", "1933-09-08", "2002-06-08", "1990-12-14", "2016-01-07", "1990-01-01", "1995", "1986-11-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pinocchio"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Pinocchio\" . ?e <publisher> ?e_1 . ?e_1 <pred:name> \"Nintendo\" .  ?e <publication_date> ?pv .  }", "answer": "1995"}, {"question": "How many subscribers does David Foster (who received at the 55th Primetime Emmy Awards) have under the Twitter username officialdfoster?", "choices": ["1668423", "24320", "33642", "7747254", "4490177", "50909", "1816756", "57609", "29063", "102493"], "program": [{"function": "Find", "dependencies": [], "inputs": ["55th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "officialdfoster", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"David Foster\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"55th Primetime Emmy Awards\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"officialdfoster\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "102493"}, {"question": "How many states of Germany share border with Upper Austria ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upper Austria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Upper Austria\" .   }", "answer": "1"}, {"question": "How many Massachusetts counties are in the country that is the sovereign state having a citizen named Rick Kline?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rick Kline"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Massachusetts"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Rick Kline\" .   }", "answer": "12"}, {"question": "Among the administrative territorial entities whose above sea level elevation is less than 130 metres, which has the smallest above sea level elevation?", "choices": ["Norristown", "Ponce", "The Bronx", "Bali", "African Union", "Hildesheim", "Kent County", "Veracruz", "Antwerp", "Orange County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "130 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"130\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Veracruz"}, {"question": "What university that has less than 6300 students has the least amount of students?", "choices": ["King's College London", "San Diego State University", "Birkbeck, University of London", "University of Michigan", "University of Oregon", "Panjab University", "University of Queensland", "McMaster University", "University of Hamburg", "University of Melbourne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "6300", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6300\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Oregon"}, {"question": "What is the Instagram username of Katrina Bowden?", "choices": ["ucf.edu", "wustl_official", "mattbellamy", "katrinakbowden", "eatbulaga1979", "nicolekidman", "guilloryguillorybe", "azzurri", "cityofhighpoint", "benaffleck"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katrina Bowden"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Katrina Bowden\" . ?e <Instagram_username> ?pv .  }", "answer": "katrinakbowden"}, {"question": "What is the relationship between Nathaniel Hawthorne and The Scarlet Letter (the one whose publication date is 1850)?", "choices": ["stated in", "candidacy in election", "movement", "head of state", "language used", "public holiday", "native language", "notable work", "home port", "location of formation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nathaniel Hawthorne"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scarlet Letter"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["publication date", "1850", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nathaniel Hawthorne\" . ?e_2 <pred:name> \"The Scarlet Letter\" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1850 . ?e_1 ?p ?e_2 .  }", "answer": "notable work"}, {"question": "How is County Cork related to County Tipperary ?", "choices": ["shares border with", "relative", "maintained by", "illustrator", "godparent", "registered with", "update method", "presenter", "award disciplines or subjects", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Cork"]}, {"function": "Find", "dependencies": [], "inputs": ["County Tipperary"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"County Cork\" . ?e_2 <pred:name> \"County Tipperary\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What number of metropolitan boroughs reside within Nauru?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nauru"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan borough"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Nauru\" .   }", "answer": "0"}, {"question": "How many male given names are the given name of Gary Ross (whose Munzinger IBA is 00000029164) or are the religion of the United Church of Christ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gary Ross"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000029164"]}, {"function": "Relate", "dependencies": [1], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["male given name"]}, {"function": "Find", "dependencies": [], "inputs": ["United Church of Christ"]}, {"function": "Relate", "dependencies": [4], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["male given name"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" .  { ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Gary Ross\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000029164\" .  } UNION { ?e_1 <religion> ?e . ?e_1 <pred:name> \"United Church of Christ\" .  } }", "answer": "1"}, {"question": "Which cemetry was the person with ISNI 0000 0001 2320 7459 buried in?", "choices": ["Brompton Cemetery", "Forest Lawn Memorial Park", "Glasnevin Cemetery", "Holy Cross Cemetery", "Westwood Village Memorial Park Cemetery", "West Norwood Cemetery", "Montmartre Cemetery", "Woodlawn Cemetery", "Kensal Green Cemetery", "Hollywood Forever Cemetery"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2320 7459"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of burial", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["cemetery"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2320 7459\" .   }", "answer": "Forest Lawn Memorial Park"}, {"question": "When was Maurice LaMarche born?", "choices": ["1910-06-29", "1939-01-26", "1958-03-30", "1951-11-17", "1945-05-31", "1952-11-27", "1970-11-16", "1942-06-20", "1619-03-06", "1766-09-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maurice LaMarche"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Maurice LaMarche\" . ?e <date_of_birth> ?pv .  }", "answer": "1958-03-30"}, {"question": "When did the New York county named after Christopher Columbus (the one whose date of death is 1506-05-19) have a population of 47172?", "choices": ["2015-12-17", "1997-08-20", "1634-01-01", "1632", "1980", "2002-08-01", "1717-01-01", "1987-03-30", "1979-01-01", "1860"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Columbus"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1506-05-19", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "47172", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Christopher Columbus\" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1506-05-19\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"47172\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1860"}, {"question": "Which language has more speakers, Croatian or Punjabi?", "choices": ["Irish", "German", "Tamil", "Indonesian", "Marathi", "Punjabi", "Scots", "Welsh", "Croatian", "Gujarati"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatian"]}, {"function": "Find", "dependencies": [], "inputs": ["Punjabi"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of speakers", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Croatian\" .  } UNION { ?e <pred:name> \"Punjabi\" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Punjabi"}, {"question": "What is the relationship between Haruki Murakami and dystopia?", "choices": ["worshipped by", "permanent resident of", "record label", "mascot", "located on terrain feature", "office contested", "voice actor", "genre", "official residence", "taxon rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haruki Murakami"]}, {"function": "Find", "dependencies": [], "inputs": ["dystopia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Haruki Murakami\" . ?e_2 <pred:name> \"dystopia\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many Massachusetts counties have the United States capital city that is the capital of Oregon (the one whose FIPS 10-4 (countries and regions) is US41)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oregon"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "US41"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Massachusetts"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"Oregon\" . ?e_2 <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"US41\" .   }", "answer": "0"}, {"question": "How are J. R. R. Tolkien and the profession of poet related?", "choices": ["residence", "architect", "continent", "occupation", "film release region", "subject has role", "business division", "works in collection", "musical conductor", "located in or next to body of water"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. R. R. Tolkien"]}, {"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"J. R. R. Tolkien\" . ?e_2 <pred:name> \"poet\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is Munzinger IBA of Jim Jarmusch?", "choices": ["00000016518", "00000020721", "00000026044", "00000000208", "00000017656", "00000021673", "00000027236", "00000001014", "00000018172", "00000003765"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Jarmusch"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jim Jarmusch\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000018172"}, {"question": "What city is the twinned administrative body of Montevideo and of Cuba (whose population is 10285920)?", "choices": ["Kilkenny", "Santo Domingo", "Caracas", "Trieste", "La Plata", "Kingston", "Santa Fe", "Bergen", "Chihuahua", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montevideo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["Cuba"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "10285920", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Montevideo\" .  ?e <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Cuba\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"10285920\"^^xsd:double .  }", "answer": "Santa Fe"}, {"question": "When was the Catholic Graham Greene a Tony nominee for Best Play?", "choices": ["2007", "1957", "2003-04-23", "1840", "1910-12-31", "1967", "1662", "1970-12-31", "2015-06-30", "2016-02-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catholic Church"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Graham Greene"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Play"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Graham Greene\" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> \"Catholic Church\" . ?e_2 <pred:name> \"Tony Award for Best Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1957"}, {"question": "How many association football clubs were established before 1887 and not in 1913 ?", "choices": ["71", "72", "73", "74", "75", "76", "77", "78", "79", "80"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1887", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1913", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1887 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1913 ) .  }", "answer": "78"}, {"question": "How many awards did Fanny and Alexander receive?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fanny and Alexander"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Fanny and Alexander\" .   }", "answer": "4"}, {"question": "What is the relationship of Dave Thomas (who is involved in the conflict Korean War) to natural causes?", "choices": ["cast member", "country of citizenship", "country", "sidekick of", "head coach", "symptoms", "manner of death", "appears in the form of", "occupation", "location of final assembly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Korean War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["conflict", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dave Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dave Thomas\" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> \"Korean War\" . ?e_2 <pred:name> \"natural causes\" . ?e_1 ?p ?e_2 .  }", "answer": "manner of death"}, {"question": "Which resident of Italy won the Nobel Prize for Physics?", "choices": ["Enrico Fermi", "Sylvester Stallone", "Kobe Bryant", "Max Fleischer", "John Keats", "David Byrne", "Richard Feynman", "Niels Bohr", "Albert Einstein", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Physics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [3], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Nobel Prize in Physics\" .  ?e <residence> ?e_2 . ?e_2 <pred:name> \"Italy\" .  }", "answer": "Enrico Fermi"}, {"question": "Which has the largest duration among the news whose season count is not 45?", "choices": ["Android", "The Colbert Report", "Western Desert Campaign", "Today", "Good Morning America", "Napoleonic Wars", "Orange", "The Daily Show", "FreeBSD", "Second Intifada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "45", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"45\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Good Morning America"}, {"question": "Does the film titled Mighty Aphrodite have its publication date after 1962 (the place of publication of this statement is Germany)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Mighty Aphrodite"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1962", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Mighty Aphrodite\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1962 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "How many activities originate from the USA and have Nintendo GameID GHKP7D?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GHKP7D"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv . ?pv <pred:value> \"GHKP7D\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  }", "answer": "0"}, {"question": "Who is the member of Peterborough United Football Club since 1991?", "choices": ["Paul Walker", "John Williams", "Neil Young", "Marc Joseph", "John Byrne", "Dean Martin", "Steve Earle", "Jimmy Carter", "Robert Taylor", "Gary Cooper"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Peterborough United Football Club"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["start time", "1991", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"association football club\" . ?e_1 <official_name> ?pv . ?pv <pred:value> \"Peterborough United Football Club\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1991 .  }", "answer": "Gary Cooper"}, {"question": "What is the connection between Kiernan Shipka to 15th Screen Actors Guild Awards?", "choices": ["has parts of the class", "illustrator", "executive producer", "history of topic", "set in period", "award received", "doctoral student", "official color", "costume designer", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiernan Shipka"]}, {"function": "Find", "dependencies": [], "inputs": ["15th Screen Actors Guild Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kiernan Shipka\" . ?e_2 <pred:name> \"15th Screen Actors Guild Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How many points did Lionel Messi score in a match when he was a member of the FC Barcelona B?", "choices": ["61", "6", "40", "21541", "13", "42", "43", "41", "14", "0"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lionel Messi"]}, {"function": "Find", "dependencies": [], "inputs": ["FC Barcelona B"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lionel Messi\" . ?e_2 <pred:name> \"FC Barcelona B\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "6"}, {"question": "Does the county town that is Alan Turing's residence have an official name equal to Lucca?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Turing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Lucca"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Alan Turing\" .  ?e <official_name> ?pv . ?pv <pred:value> \"Lucca\" .  }", "answer": "no"}, {"question": "Which city 's headquarter region of FC Carl Zeiss Jena, its brief call is J, of which class it is a special example.", "choices": ["Committee on the Judiciary", "singular", "Composite monarchy", "Luz de Am\u00e9rica", "Gran Colombia", "Tor hidden service", "maritime boundary", "verified account", "location identifier part of a library identifier code", "sovereign state"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Carl Zeiss Jena"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["short name", "J", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"FC Carl Zeiss Jena\" .  ?e <short_name> ?pv . ?pv <pred:value> \"J\" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "location identifier part of a library identifier code"}, {"question": "What is the connection between 2006 NBA Draft to Duke University?", "choices": ["draft pick from school", "religious order", "from fictional universe", "home port", "separated from", "theme music", "territory overlaps", "head coach", "next lower rank", "located in time zone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2006 NBA Draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Duke University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2006 NBA Draft\" . ?e_2 <pred:name> \"Duke University\" . ?e_1 ?p ?e_2 .  }", "answer": "draft pick from school"}, {"question": "Of independent cities in Virginia, which is the location of Newport News, which possesses the least area?", "choices": ["Virginia Beach", "Danville", "Williamsburg", "Falls Church", "Winchester", "Roanoke", "Fredericksburg", "Alexandria", "Portsmouth", "Richmond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newport News"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Virginia\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Newport News\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falls Church"}, {"question": "What is the title of Oscar Wilde (the one whose color is black-and-white)?", "choices": ["Missing", "Pearl Harbor", "Wilson", "Brothers", "Uprising", "Superman III", "The Departed", "300", "Oscar Wilde", "\uc624\uc544\uc2dc\uc2a4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar Wilde"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Oscar Wilde\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .  ?e <title> ?pv .  }", "answer": "Oscar Wilde"}, {"question": "When did Napoleon (the one whose Biografisch Portaal number is 56419968) end to be the head of the First French Empire?", "choices": ["1871", "1776-07-04", "2000-08-10", "1992-02-29", "1918-11-08", "1945-03-29", "1649-05-18", "1940-07-21", "1996-01-01", "1814"], "program": [{"function": "Find", "dependencies": [], "inputs": ["First French Empire"]}, {"function": "Find", "dependencies": [], "inputs": ["Napoleon"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Biografisch Portaal number", "56419968"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["head of state", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"First French Empire\" . ?e_2 <pred:name> \"Napoleon\" . ?e_2 <Biografisch_Portaal_number> ?pv . ?pv <pred:value> \"56419968\" . ?e_1 <head_of_state> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <head_of_state> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1814"}, {"question": "When was the state of the United States that contains Creighton University have a population of 1315834?", "choices": ["1919-01-01", "1251", "1705", "1851-12-31", "1940", "1947", "1991-12-25", "1840-12-01", "1920-08-31", "2005-06-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Creighton University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1315834", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Creighton University\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1315834\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1940"}, {"question": "Which genre of music from the USA has a popular example in Ralph Stanley?", "choices": ["bluegrass music", "post-punk revival", "Mandopop", "New Age music", "Punk blues", "groove metal", "symphony", "old-time music", "Tejano music", "roots rock"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "Find", "dependencies": [], "inputs": ["Ralph Stanley"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music genre"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <famous_people> ?e_2 . ?e_2 <pred:name> \"Ralph Stanley\" .  }", "answer": "old-time music"}, {"question": "What is the language associated with the official website http://www.unh.edu/ for the University of New Hampshire?", "choices": ["English", "Italian", "Greek", "Slovene", "Spanish", "Canadian English", "Afrikaans", "American English", "Classical Latin", "Tlingit"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of New Hampshire"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.unh.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"University of New Hampshire\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.unh.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the association of Q-Tip with Davis (whose Cologne phonetic code is 238)?", "choices": ["family name", "continent", "this taxon is source of", "publisher", "director/manager", "exclave of", "illustrator", "quotes work", "opposite of", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Q-Tip"]}, {"function": "Find", "dependencies": [], "inputs": ["Davis"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Cologne phonetics", "238"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Q-Tip\" . ?e_2 <pred:name> \"Davis\" . ?e_2 <Cologne_phonetics> ?pv . ?pv <pred:value> \"238\" . ?e_1 ?p ?e_2 .  }", "answer": "family name"}, {"question": "What time zone does the city with population equal to 80032 and Dewey Decimal Classification is 2--71128 fall into?", "choices": ["2011-01-01", "1998-05-20", "1400-01-01", "1876", "1755-12-01", "1925", "2001-05-16", "1985-03-25", "1665-09-28", "1780"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--71128"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "80032", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--71128\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"80032\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "How many media franchises composed by John Williams who composed Family Plot are titled Mighty Morphin Power Rangers?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Plot"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["media franchise"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["title", "Mighty Morphin Power Rangers"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["media franchise"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"John Williams\" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> \"Family Plot\" .  ?e <title> ?pv . ?pv <pred:value> \"Mighty Morphin Power Rangers\" .  }", "answer": "0"}, {"question": "Which movie inspires the movie which has the official website of http://thewickermanmovie.warnerbros.com/?", "choices": ["Waterloo", "The Man in the Iron Mask", "Infernal Affairs", "Rush Hour", "3:10 to Yuma", "Brothers", "The Nutty Professor", "The Wicker Man", "Henry V", "Footloose"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://thewickermanmovie.warnerbros.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <based_on> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://thewickermanmovie.warnerbros.com/\" .   }", "answer": "The Wicker Man"}, {"question": "Which animated feature film produced by Walt Disney Animation Studios has the smallest duration?", "choices": ["Shrek 2", "The Hunchback of Notre Dame", "Aladdin", "The Rescuers", "WALL\u00b7E", "Chicken Little", "Peter Pan", "Renaissance", "Beauty and the Beast", "Winnie the Pooh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Animation Studios"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Walt Disney Animation Studios\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chicken Little"}, {"question": "The institution of higher learning at postal codes 12180-3590 is represented in which language on its official website www.rpi.edu?", "choices": ["Maltese", "Persian", "English", "Albanian", "Ukrainian", "J\u00e8rriais", "Putonghua", "Latvian", "Finnish", "Tahitian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "12180-3590"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.rpi.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"12180-3590\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.rpi.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What number of universities were founded before 1873?", "choices": ["201", "202", "203", "204", "205", "206", "207", "208", "209", "210"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1873", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1873 ) .  }", "answer": "202"}, {"question": "When did Douglas Haig, 1st Earl Haig, die?", "choices": ["2003-09-07", "1993-02-05", "1997-10-16", "2000-08-25", "1977-08-19", "2006-11-10", "1990-05-16", "1632-08-25", "1928-01-29", "1982-03-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas Haig, 1st Earl Haig"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Douglas Haig, 1st Earl Haig\" . ?e <date_of_death> ?pv .  }", "answer": "1928-01-29"}, {"question": "What association does Resident Evil: Afterlife have with Germany?", "choices": ["country of origin", "field of work", "has part", "shares border with", "director/manager", "distribution", "military rank", "home port", "color", "art director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Afterlife"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Resident Evil: Afterlife\" . ?e_2 <pred:name> \"Germany\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Is Libris-URI  53hlp91p3dd6dhb correct for the person who was screenwriter on The Scarlet Letter originating in Spain?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scarlet Letter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["53hlp91p3dd6dhb"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"The Scarlet Letter\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"Spain\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"53hlp91p3dd6dhb\" .  }", "answer": "no"}, {"question": "How is Scott Adsit identified by ISNI?", "choices": ["0000 0001 0547 4545", "0000 0001 0663 7289", "0000 0001 2314 9041", "0000 0001 0911 7086", "0000 0000 5119 3149", "0000 0001 0880 241X", "0000 0000 6671 4306", "0000 0001 1057 4188", "0000 0001 1742 385X", "0000 0001 0790 5329"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Adsit"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Scott Adsit\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 5119 3149"}, {"question": "When is the birth date of the person who played 5 games with Portsmouth F.C. ?", "choices": ["1977-03-19", "1941-11-27", "1974-04-11", "1899-12-25", "1908-12-31", "1913-05-26", "1958-03-23", "1959-06-30", "1922-05-13", "1932-06-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portsmouth F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of matches played/races/starts", "5", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Portsmouth F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"5\"^^xsd:double . ?e <date_of_birth> ?pv .  }", "answer": "1977-03-19"}, {"question": "Does Lily Allen or Jerry Lewis (who is a priest) have fewer children?", "choices": ["Rahul Dev Burman", "Max Fleischer", "William Henry Harrison", "Lily Allen", "David Byrne", "Simon Cowell", "James E. Reilly", "Richard Gere", "Paul Simon", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lily Allen"]}, {"function": "Find", "dependencies": [], "inputs": ["priest"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Lewis"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lily Allen\" .  } UNION { ?e <pred:name> \"Jerry Lewis\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"priest\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lily Allen"}, {"question": "When was the administrative territorial entity whose official website is http://www.jacksoncounty.wv.gov established?", "choices": ["1873", "1889-11-08", "1776-09-06", "1330", "1831-03-01", "1891-12-10", "1918-04-01", "1937-04-17", "1793-01-01", "1731"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jacksoncounty.wv.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.jacksoncounty.wv.gov\" . ?e <inception> ?pv .  }", "answer": "1831-03-01"}, {"question": "Is 3121 the ARCHON code of the higher education institution whose official website is https://www.cardiff.ac.uk/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.cardiff.ac.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ARCHON code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["3121"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.cardiff.ac.uk/\" . ?e <ARCHON_code> ?pv . ?pv <pred:value> \"3121\" .  }", "answer": "no"}, {"question": "Which is shorter, The Imaginarium of Doctor Parnassus or Seven Brides for Seven Brothers that was nominated for an Academy Award for Best Film Editing?", "choices": ["The Fifth Element", "Curse of the Golden Flower", "Training Day", "The Imaginarium of Doctor Parnassus", "Talk to Her", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Towering Inferno", "Seven Brides for Seven Brothers", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Imaginarium of Doctor Parnassus"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Seven Brides for Seven Brothers"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Imaginarium of Doctor Parnassus\" .  } UNION { ?e <pred:name> \"Seven Brides for Seven Brothers\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Film Editing\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seven Brides for Seven Brothers"}, {"question": "Judi Dench earned how many categories of awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judi Dench"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Judi Dench\" .   }", "answer": "2"}, {"question": "Which is shorter, Waterloo originally in German or Cloud Atlas released in Paraguay?", "choices": ["Talk to Her", "Pleasantville", "The Fifth Element", "Waterloo", "Curse of the Golden Flower", "Cloud Atlas", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Waterloo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Paraguay"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cloud Atlas"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Waterloo\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"German\" .   } UNION { ?e <pred:name> \"Cloud Atlas\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"Paraguay\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Waterloo"}, {"question": "Which American state has an ISO 3166-2 code of US-OK?", "choices": ["Colorado", "North Carolina", "Florida", "Hawaii", "Missouri", "South Carolina", "Iowa", "Illinois", "Oklahoma", "New York"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "US-OK"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"US-OK\" .  }", "answer": "Oklahoma"}, {"question": "When did Jimmy Page join Led Zeppelin that has the Decca record label?", "choices": ["2004-07-28", "1980-11-21", "1968", "2010-01-22", "1945-10-31", "1777-07-30", "1661", "1804-05-10", "2008-09-07", "2008-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jimmy Page"]}, {"function": "Find", "dependencies": [], "inputs": ["Decca"]}, {"function": "Relate", "dependencies": [1], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Led Zeppelin"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jimmy Page\" . ?e_2 <pred:name> \"Led Zeppelin\" . ?e_2 <record_label> ?e_3 . ?e_3 <pred:name> \"Decca\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1968"}, {"question": "How many Indiana counties contain the United States city whose population is 78167 on the date 2014-01-01?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "78167", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2014-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Indiana"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"78167\"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2014-01-01\"^^xsd:date .   }", "answer": "0"}, {"question": "What is the Twitter username of the Ottawa Senators?", "choices": ["tyrese", "bcfctweets", "DanielHandler", "newordernow", "RobertsEmma", "Senators", "SCSTATE1896", "FCNantes", "MNightShyamalan", "IncredibleCulk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ottawa Senators"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ottawa Senators\" . ?e <Twitter_username> ?pv .  }", "answer": "Senators"}, {"question": "What is the area for the administrative territorial entity, whose official website is http://www.monmouthshire.gov.uk/ (the publisher of this statement is Monmouthshire County Council)?", "choices": ["67.902279 square kilometre", "1838.0 square kilometre", "122230000 square metre", "710850 square kilometre", "102.35 square kilometre", "11300 square kilometre", "189000000 square metre", "212580000 square metre", "13004 square kilometre", "850 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.monmouthshire.gov.uk/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["publisher", "Monmouthshire County Council"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.monmouthshire.gov.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <publisher> ?qpv . ?qpv <pred:value> \"Monmouthshire County Council\" . ?e <area> ?pv .  }", "answer": "850 square kilometre"}, {"question": "Of all independent cities with under 860000000 in population, which takes up the greatest area?", "choices": ["Fairfax", "Fredericksburg", "Virginia Beach", "Alexandria", "Suffolk", "Carson City", "Charlottesville", "Staunton", "Williamsburg", "Hampton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "860000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"860000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Virginia Beach"}, {"question": "How many art movements were established in a year excluding 1800 and include pop art as a component?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1800", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "Find", "dependencies": [], "inputs": ["pop art"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art movement"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1800 ) . ?e_1 <part_of> ?e . ?e_1 <pred:name> \"pop art\" .  }", "answer": "0"}, {"question": "What is the connection between Kosovo to Maldives?", "choices": ["exclave of", "head of government", "diplomatic relation", "next lower rank", "official residence", "military casualty classification", "participant of", "field of work", "has quality", "heritage designation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kosovo"]}, {"function": "Find", "dependencies": [], "inputs": ["Maldives"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kosovo\" . ?e_2 <pred:name> \"Maldives\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which visual artwork received a National Board of Review Award for Best Actor (for Gene Hackman) and is titled The Conversation?", "choices": ["Rebecca", "Talk to Her", "A Prairie Home Companion", "The Conversation", "Rope", "Training Day", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Board of Review Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Gene Hackman"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "The Conversation"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"National Board of Review Award for Best Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> \"Gene Hackman\" . ?e <title> ?pv . ?pv <pred:value> \"The Conversation\" .  }", "answer": "The Conversation"}, {"question": "Which movie is longer, The Alamo (the one that was nominated for Academy Award for Best Original Score) or Quills?", "choices": ["Training Day", "Quills", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca", "The Fifth Element", "Curse of the Golden Flower", "The Towering Inferno", "The Alamo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Alamo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Quills"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Alamo\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Original Score\" .   } UNION { ?e <pred:name> \"Quills\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Alamo"}, {"question": "Charles B. Rangel participated in how many terms of legislature?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles B. Rangel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"Charles B. Rangel\" .   }", "answer": "10"}, {"question": "What is the title of the television series that has Tom Hardy (the one whose work period (start) is 2001) as a cast member ?", "choices": ["Network", "Oliver Twist", "Pearl Harbor", "Road Trip", "A Declaration by the Representatives of the United States of America, in General Congress assembled.", "The Opposite of Sex", "Battleground", "\u30c7\u30b8\u30e2\u30f3\u30a2\u30c9\u30d9\u30f3\u30c1\u30e3\u30fc", "Looney Tunes: Back in Action", "Cats & Dogs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Hardy"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["work period (start)", "2001", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tom Hardy\" . ?e_1 <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> 2001 . ?e <title> ?pv .  }", "answer": "Oliver Twist"}, {"question": "How is Victor Young related to the United States of America?", "choices": ["director", "instrumentation", "broadcast by", "country of citizenship", "award received", "feast day", "director/manager", "film distribute region", "kit supplier", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victor Young"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Victor Young\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which independent city in Germany with a population not of 700000 has the smallest elevation above sea level?", "choices": ["Coburg", "Baden-Baden", "Bayreuth", "Weimar", "Mike Watt", "Nunnally Johnson", "Frankfurt (Oder)", "Grays Harbor County", "Chasing Amy", "Harry Potter and the Philosopher's Stone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "700000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"700000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "What is the Munzinger IBA of Geoffrey Lewis's child?", "choices": ["00000002161", "00000021782", "00000009423", "00000019929", "00000000451", "00000022518", "00000014411", "00000000866", "00000025284", "00000000564"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geoffrey Lewis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["child", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <child> ?e . ?e_1 <pred:name> \"Geoffrey Lewis\" .  ?e <Munzinger_IBA> ?pv .  }", "answer": "00000021782"}, {"question": "How is Final Fantasy: The Spirits Within related to James Woods?", "choices": ["fabrication method", "distribution", "airline alliance", "professional or sports partner", "country of citizenship", "drug used for treatment", "material used", "cast member", "officeholder", "political ideology"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Final Fantasy: The Spirits Within"]}, {"function": "Find", "dependencies": [], "inputs": ["James Woods"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Final Fantasy: The Spirits Within\" . ?e_2 <pred:name> \"James Woods\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "For the basketball team that drafts Michael Jackson (the one that is drafted by New York Knicks), how many subscribers does the user have for its Twitter username of nyknicks?", "choices": ["16284", "2391774", "10171961", "76495", "263692", "413172", "2092631", "140806", "41858", "845463"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York Knicks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["drafted by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["basketball team"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["Twitter username", "nyknicks", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> \"Michael Jackson\" . ?e_1 <drafted_by> ?e_2 . ?e_2 <pred:name> \"New York Knicks\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"nyknicks\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "2092631"}, {"question": "What is the connection between Kevin Smith (the one that is educated at The New School) to television producer?", "choices": ["occupation", "record label", "voice actor", "field of work", "genre", "official symbol", "significant person", "worshipped by", "works in collection", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The New School"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["television producer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kevin Smith\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"The New School\" . ?e_2 <pred:name> \"television producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Tallinn is headquarters of which soccer club?", "choices": ["Brisbane Roar FC", "Ulsan Hyundai FC", "Lincoln City F.C.", "Everton F.C.", "FC Levadia Tallinn", "Middlesbrough F.C.", "Stade Brestois 29", "Zamalek SC", "Dagenham & Redbridge F.C.", "Brentford F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tallinn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Tallinn\" .   }", "answer": "FC Levadia Tallinn"}, {"question": "Which person born as Peter Dougan Capaldi is under 2.0 meters tall?", "choices": ["Amy Adams", "Jeff Gordon", "Brad Pitt", "Peter Capaldi", "Sylvester Stallone", "David Tennant", "Richard Gere", "Max Fleischer", "William Henry Harrison", "Toby Jones"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Peter Dougan Capaldi"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["height", "2.0 metre", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Peter Dougan Capaldi\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"2.0\"^^xsd:double ) .  }", "answer": "Peter Capaldi"}, {"question": "What is the connection between Salem (the one whose time of earliest written record is 1626) to United States of America?", "choices": ["country", "sexual orientation", "filming location", "series spin-off", "original language of film or TV show", "location", "next lower rank", "narrative role", "sport", "original network"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salem"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["time of earliest written record", "1626", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Salem\" . ?e_1 <time_of_earliest_written_record> ?pv . ?pv <pred:year> 1626 . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is http://www.murfreesborotn.gov/ the official website of Murfreesboro?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Murfreesboro"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.murfreesborotn.gov/"]}], "sparql": "ASK { ?e <pred:name> \"Murfreesboro\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.murfreesborotn.gov/\" .  }", "answer": "yes"}, {"question": "Tell me the one that has the biggest number of episodes within the miniseries that has the number of episodes not equalling 6900.", "choices": ["Edge of Darkness", "Jane Eyre", "Hercules", "The Pacific", "Oliver Twist", "Band of Brothers", "24", "Into the West", "Mildred Pierce", "Frank Herbert's Dune"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "6900", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6900\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "24"}, {"question": "Does Andorra or North Macedonia have a lower mains voltage?", "choices": ["Russian Soviet Federative Socialist Republic", "Weimar Republic", "Samoa", "Socialist Federal Republic of Yugoslavia", "Kiribati", "Cambodia", "Andorra", "Switzerland", "Benin", "South Sudan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andorra"]}, {"function": "Find", "dependencies": [], "inputs": ["North Macedonia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mains voltage", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Andorra\" .  } UNION { ?e <pred:name> \"North Macedonia\" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Andorra"}, {"question": "What town contains the headquarters of an association football club whose member was John Byrne (a member of Tranmere Rovers F.C.) until 1957 ?", "choices": ["Barnsley", "Hamilton", "Dumfries", "Slough", "South Shields", "Fulham", "Falkirk", "Edmonton", "Royal Tunbridge Wells", "Doncaster"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tranmere Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["end time", "1957", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "Relate", "dependencies": [6], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["town"]}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"association football club\" . ?e_2 <member_of_sports_team> ?e_1 . ?e_2 <pred:name> \"John Byrne\" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Tranmere Rovers F.C.\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1957 .   }", "answer": "Hamilton"}, {"question": "Who uses the English language and has an ISNI of 0000 0001 1478 3817?", "choices": ["Max Fleischer", "William Henry Harrison", "Ed Asner", "David Hasselhoff", "Richard Gere", "Donald Crisp", "Fred Thompson", "Neil Simon", "Michael O'Neill", "Sylvia Plath"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1478 3817"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1478 3817\" .  }", "answer": "Michael O'Neill"}, {"question": "Is the Libris-URI of a person, the producer of the rhythm and blues piece called Stand By Me,  0xbfk1kj4d24m4z ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rhythm and blues"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stand by Me"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0xbfk1kj4d24m4z"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Stand by Me\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"rhythm and blues\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"0xbfk1kj4d24m4z\" .  }", "answer": "yes"}, {"question": "Following the 30th annual Oscars, what Oscar ceremony takes place?", "choices": ["30th Academy Awards", "66th Academy Awards", "81st Academy Awards", "43rd Academy Awards", "25th Academy Awards", "85th Academy Awards", "61st Academy Awards", "31st Academy Awards", "70th Academy Awards", "56th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["30th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"30th Academy Awards\" .   }", "answer": "31st Academy Awards"}, {"question": "Which is shorter, the musical film Labyrinth or Earth, released on 2009-04-22?", "choices": ["Earth", "The Flintstones in Viva Rock Vegas", "Labyrinth", "The Flintstones", "G-Force", "John Carter", "National Treasure: Book of Secrets", "Holes", "The Muppets", "Old Dogs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Labyrinth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "2009-04-22", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Labyrinth\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"musical film\" . } UNION { ?e <pred:name> \"Earth\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-04-22\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Labyrinth"}, {"question": "Which person is a part of Millwall F.C. (the number of points of this statement is 5)?", "choices": ["William Henry Harrison", "Max Fleischer", "Jimmy Carter", "John Byrne", "Alou Diarra", "Ricardo Fuller", "Leon Cort", "Richard Gere", "Chris Wood", "Scott McDonald"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Millwall F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of points/goals/set scored", "5", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Millwall F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"5\"^^xsd:double .  }", "answer": "Scott McDonald"}, {"question": "How many singles have the producer David Bowie (the one that has the record label Columbia Records) or have a publication date after 2017?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Bowie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["single"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [6], "inputs": ["publication date", "2017", ">"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["single"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" .  { ?e <producer> ?e_1 . ?e_1 <pred:name> \"David Bowie\" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> \"Columbia Records\" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2017 ) .  } }", "answer": "1"}, {"question": "Who was born in Shimla and has a Twitter username of realpreityzinta?", "choices": ["David Byrne", "Rahul Dev Burman", "Sylvester Stallone", "Richard Gere", "Preity Zinta", "James E. Reilly", "Max Fleischer", "Paul Simon", "William Henry Harrison", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shimla"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "realpreityzinta"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Shimla\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"realpreityzinta\" .  }", "answer": "Preity Zinta"}, {"question": "What is the official website of Thank You for Smoking?", "choices": ["http://www.bloodsweatandtears.com/", "http://www.goldfingermusic.com", "http://www.jackierobinson.com/", "https://www.themillers.co.uk/", "http://www.tcu.edu/", "http://www.caths.cam.ac.uk/", "http://www.starshards.org/", "http://www.locusmag.com/SFAwards/Db/Locus.html", "http://www.foxsearchlight.com/thankyouforsmoking/", "https://www.paulmccartney.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thank You for Smoking"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Thank You for Smoking\" . ?e <official_website> ?pv .  }", "answer": "http://www.foxsearchlight.com/thankyouforsmoking/"}, {"question": "When did the city with the demonym Jeruzalemmer have a population of 7900?", "choices": ["2018-09-30", "1949-10-07", "1874", "2014-05-01", "1981-06-22", "1377", "2016-10-04", "1538", "1923-01-01", "1944"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Jeruzalemmer"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "7900", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Jeruzalemmer\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"7900\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1538"}, {"question": "What is the connection between Turkey to Turkish?", "choices": ["official language", "residence", "place of burial", "partially contains", "located on terrain feature", "mouth of the watercourse", "official symbol", "main subject", "librettist", "copyright holder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turkey"]}, {"function": "Find", "dependencies": [], "inputs": ["Turkish"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Turkey\" . ?e_2 <pred:name> \"Turkish\" . ?e_1 ?p ?e_2 .  }", "answer": "official language"}, {"question": "What is the official website of the television station that originally broadcasted Roots (which has Laurence Fishburne as a cast member)?", "choices": ["http://www.chrisisaak.com/", "http://www.europacorp.com/dossiers/taken/", "http://www.history.com/", "http://www.crawley.gov.uk/", "https://www.olympic.org/salt-lake-city-2002", "http://www.warrencountyva.net", "http://www.miramax.com/movie/jersey-girl", "http://www.rockhall.com/", "http://www.michaelswanwick.com/", "https://westmidlandscombinedauthority.org.uk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laurence Fishburne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Roots"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Roots\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Laurence Fishburne\" .  ?e <official_website> ?pv .  }", "answer": "http://www.history.com/"}, {"question": "At what point in time is 434123 the population of the Louisiana parish that is an administrative division of Louisiana (whose proportion of water area is 17.52 percent)?", "choices": ["1852-12-01", "1655-01-01", "2009-12-16", "1978-05-01", "2007-10-01", "1776-07-04", "1991-12-12", "1983-12-01", "1855-12-01", "2012-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louisiana"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["water as percent of area", "17.52 percentage", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["parish of Louisiana"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "434123", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"parish of Louisiana\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Louisiana\" . ?e_1 <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> \"17.52\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"434123\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "What is the predecessor of Men in Black 3, which is a part of Men in Black (the one that has Liam Neeson as a cast member)?", "choices": ["Alien", "Men in Black II", "The Wire, season 3", "The Beatles", "Toni Braxton", "American Pie 2", "Rush Hour 2", "The Wire, season 2", "Bette Midler", "Rocky IV"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Men in Black 3"]}, {"function": "Find", "dependencies": [], "inputs": ["Liam Neeson"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Men in Black"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["part of the series", "follows"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Men in Black 3\" . ?e_2 <pred:name> \"Men in Black\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"Liam Neeson\" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <follows> ?qpv .  }", "answer": "Men in Black II"}, {"question": "Does the art school where Andy Richter was educated have the official website http://www.audreyhepburn.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andy Richter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.audreyhepburn.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"art school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Andy Richter\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.audreyhepburn.com\" .  }", "answer": "no"}, {"question": "At what point in time is 43604 the population of the administrative territorial entity that shares a border with Jefferson County whose Dewey Decimal Classification is 2--76944?", "choices": ["2007", "2012-07-01", "2008-05-07", "2014-02-22", "1396", "1955-01-01", "2006-11-01", "1867-12-01", "1972-01-01", "1819-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--76944"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "43604", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Jefferson County\" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--76944\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"43604\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "What is the local dialing code for the city that is the birthplace of Raymond Burr ?", "choices": ["0732", "03726", "0474", "604", "041", "740", "08701", "(+86) 28", "530", "02065"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raymond Burr"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Raymond Burr\" .  ?e <local_dialing_code> ?pv .  }", "answer": "604"}, {"question": "Among the animated feature film whose director is Pete Docter, which one has the smallest duration ?", "choices": ["Lilo & Stitch", "Winnie the Pooh", "Monsters, Inc.", "Beauty and the Beast", "Renaissance", "Peter Pan", "The Rescuers", "Up", "WALL\u00b7E", "Aladdin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pete Docter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Pete Docter\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monsters, Inc."}, {"question": "How is Brothers (the one whose production company is Relativity Media) related to Ryan Kavanaugh ?", "choices": ["currency", "honorific prefix", "art director", "notable work", "interested in", "exported to", "producer", "archives at", "software engine", "symptoms"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Relativity Media"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brothers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ryan Kavanaugh"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brothers\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Relativity Media\" . ?e_2 <pred:name> \"Ryan Kavanaugh\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Acadians and New Brunswick, whose official name is Nouveau-Brunswick, what is the relationship?", "choices": ["derivative work", "geographic distribution", "main food source", "place of death", "destination point", "after a work by", "country of origin", "medical condition", "location of discovery", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Acadians"]}, {"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official name", "Nouveau-Brunswick"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Acadians\" . ?e_2 <pred:name> \"New Brunswick\" . ?e_2 <official_name> ?pv . ?pv <pred:value> \"Nouveau-Brunswick\" . ?e_1 ?p ?e_2 .  }", "answer": "geographic distribution"}, {"question": "How many diseases are designated by eMedicine code 367666 or result in heart failure?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["eMedicine", "367666"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "Find", "dependencies": [], "inputs": ["heart failure"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has cause", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["disease"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" .  { ?e <eMedicine> ?pv . ?pv <pred:value> \"367666\" .  } UNION { ?e_1 <has_cause> ?e . ?e_1 <pred:name> \"heart failure\" .  } }", "answer": "5"}, {"question": "How is Champaign related to Champaign County whose population is 203435?", "choices": ["capital", "sexual orientation", "operator", "maintained by", "located in the administrative territorial entity", "rector", "product or material produced", "properties for this type", "source of material", "narrative role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Champaign"]}, {"function": "Find", "dependencies": [], "inputs": ["Champaign County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "203435", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Champaign\" . ?e_2 <pred:name> \"Champaign County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"203435\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Was the association football club with the website of http://www.uniaodeleiria.pt/ founded after 1694?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.uniaodeleiria.pt/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1694", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.uniaodeleiria.pt/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1694 ) .  }", "answer": "yes"}, {"question": "For comedies with total episodes not numbering 8700, what is the one with the least amount of episodes?", "choices": ["Gene Colan", "farce", "The Golden Girls", "comedy of manners", "The University of Hong Kong", "stand-up comedy", "Mr. Smith Goes to Washington", "Club de Gimnasia y Esgrima La Plata", "The Monkees", "Lionel Richie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "8700", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"8700\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "When did an university, employing Ayn Rand, stopped to use its official name \u041f\u0435\u0442\u0440\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0438\u0439 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442 ?", "choices": ["2010-05-16", "1913-01-01", "2017-10-05", "1538-02-23", "1924", "1704", "1940-06-25", "1934-01-18", "2014-05-15", "1977-01-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ayn Rand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official name", "\u041f\u0435\u0442\u0440\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0438\u0439 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Ayn Rand\" .  ?e <official_name> ?pv . ?pv <pred:value> \"\u041f\u0435\u0442\u0440\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0438\u0439 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1924"}, {"question": "What is the relationship between Panionios F.C. to Greece?", "choices": ["capital of", "genre", "winner", "draft pick from school", "native language", "continent", "country", "parent club", "member of sports team", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Panionios F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Panionios F.C.\" . ?e_2 <pred:name> \"Greece\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is 25 the edition number of the award ceremony that follows the 2003 Grammy Awards?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2003 Grammy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["edition number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["25"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"2003 Grammy Awards\" .  ?e <edition_number> ?pv . ?pv <pred:value> \"25\" .  }", "answer": "no"}, {"question": "Is the run-time of the movie titled Lock Up in excess of 2.0 years ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Lock Up"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2.0 year", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Lock Up\" . ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2.0\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which one has the smaller amount of pKa, L-Histidine or L-Isoleucine ?", "choices": ["L-Arginine", "L-Leucine", "capric acid", "cis-oleic acid", "L-Isoleucine", "L-Histidine", "stearic acid", "palmitic acid", "L-alanine", "sucrose"], "program": [{"function": "Find", "dependencies": [], "inputs": ["L-Histidine"]}, {"function": "Find", "dependencies": [], "inputs": ["L-Isoleucine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["pKa", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"L-Histidine\" .  } UNION { ?e <pred:name> \"L-Isoleucine\" .  } ?e <pKa> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "L-Histidine"}, {"question": "What's the nomination subject of the statement of My Big Fat Greek Wedding that was nominated for the Oscar for Best Writing and Original Screenplay?", "choices": ["United Kingdom\u2013Yemen relations", "75th Academy Awards", "Treaty of Hubertusburg", "Libya\u2013South Africa relations", "Egypt\u2013India relations", "Germany\u2013Holy See relations", "Canada\u2013Soviet Union relations", "Kosovo\u2013Montenegro border", "India\u2013Panama relations", "Argentina\u2013Brazil border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Big Fat Greek Wedding"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"My Big Fat Greek Wedding\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "75th Academy Awards"}, {"question": "The movie titled Ed Wood was a winner at which Academy Awards event?", "choices": ["72nd Academy Awards", "39th Academy Awards", "37th Academy Awards", "63rd Academy Awards", "Academy Award for Best Supporting Actor", "Academy Award for Best Makeup and Hairstyling", "66th Academy Awards", "67th Academy Awards", "21st Academy Awards", "49th Academy Awards"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Ed Wood"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Ed Wood\" .   }", "answer": "67th Academy Awards"}, {"question": "Did the 63rd Primetime Emmy Awards have 66 as its edition number?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["63rd Primetime Emmy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["edition number"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["66"]}], "sparql": "ASK { ?e <pred:name> \"63rd Primetime Emmy Awards\" . ?e <edition_number> ?pv . ?pv <pred:value> \"66\" .  }", "answer": "no"}, {"question": "What is the connection between Latin pop to Calle 13?", "choices": ["license", "published in", "affiliation", "contains administrative territorial entity", "honorific prefix", "famous people", "parent club", "derivative work", "fictional universe described in", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin pop"]}, {"function": "Find", "dependencies": [], "inputs": ["Calle 13"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Latin pop\" . ?e_2 <pred:name> \"Calle 13\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Does Eli Wallach or Kikuko Inoue (whose ISNI is 0000 0003 7589 8735) have more children?", "choices": ["William Henry Harrison", "Kikuko Inoue", "David Byrne", "Max Fleischer", "Richard Gere", "Sylvester Stallone", "James E. Reilly", "Simon Cowell", "Eli Wallach", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eli Wallach"]}, {"function": "Find", "dependencies": [], "inputs": ["Kikuko Inoue"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0003 7589 8735"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eli Wallach\" . } UNION { ?e <pred:name> \"Kikuko Inoue\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 7589 8735\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eli Wallach"}, {"question": "What is the connection between The Man with the Golden Gun (the one whose publication date is 1965) to The Man with the Golden Gun (the one whose narrative location is Macau)?", "choices": ["derivative work", "operating system", "afflicts", "record label", "lyrics by", "production designer", "interests", "symptoms", "filming location", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Man with the Golden Gun"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1965", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Macau"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man with the Golden Gun"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Man with the Golden Gun\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1965 . ?e_2 <pred:name> \"The Man with the Golden Gun\" . ?e_2 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Macau\" . ?e_1 ?p ?e_2 .  }", "answer": "derivative work"}, {"question": "When did the sovereign state with the IOC country code of KGZ have an inflation rate of 4.9 percent?", "choices": ["1630-12-01", "2003-08-01", "1869", "1901-01-01", "2005-01-01", "2018-03-01", "2014-11-27", "1921-01-01", "1859", "2016-12-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IOC country code", "KGZ"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inflation rate", "4.9 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <IOC_country_code> ?pv_1 . ?pv_1 <pred:value> \"KGZ\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"4.9\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "What is the ISNI of the Michigan county with PermID 4296438341?", "choices": ["0000 0001 1451 4369", "0000 0001 2144 7715", "0000 0001 2119 2820", "0000 0003 6859 2463", "0000 0004 0400 9088", "0000 0004 1936 7638", "0000 0001 1019 8071", "0000 0001 0722 8794", "0000 0001 1456 1958", "0000 0000 7359 383X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4296438341"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"4296438341\" . ?e <ISNI> ?pv .  }", "answer": "0000 0004 0400 9088"}, {"question": "What is Eddie Vedder's record label?", "choices": ["Hollywood Records", "Southern Lord Records", "Epitaph Records", "Priority Records", "J Records", "Epic Records", "Tommy Boy Records", "V2 Records Benelux", "MGM Records", "Nettwerk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eddie Vedder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Eddie Vedder\" .   }", "answer": "J Records"}, {"question": "Is Lions Gate Entertainment's ISNI 0000 0001 1551 1354?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lions Gate Entertainment"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1551 1354"]}], "sparql": "ASK { ?e <pred:name> \"Lions Gate Entertainment\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1551 1354\" .  }", "answer": "yes"}, {"question": "Which area has fewer people, County Clare or County Limerick?", "choices": ["County Meath", "County Limerick", "County Kilkenny", "County Donegal", "County Tipperary", "County Clare", "County Dublin", "County Sligo", "County Kildare", "County Galway"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Clare"]}, {"function": "Find", "dependencies": [], "inputs": ["County Limerick"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Clare\" .  } UNION { ?e <pred:name> \"County Limerick\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Clare"}, {"question": "What chemical compound is part of the extracellular fluid whose UMLS CUI is C0032105 ?", "choices": ["L-Arginine", "L-Leucine", "capric acid", "sucrose", "cis-oleic acid", "glucose", "palmitic acid", "thiamine ion", "L-alanine", "L-Valine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UMLS CUI", "C0032105"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["extracellular fluid"]}, {"function": "Relate", "dependencies": [2], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["chemical compound"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"extracellular fluid\" . ?e_1 <UMLS_CUI> ?pv . ?pv <pred:value> \"C0032105\" .   }", "answer": "glucose"}, {"question": "What are the number of law schools whose inception time is not in 1888 and whose ISNI is 0000 0004 0521 8543 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1888", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0004 0521 8543"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["law school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1888 ) . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0521 8543\" .  }", "answer": "1"}, {"question": "Which has the shortest duration of feature films released in Belgium?", "choices": ["Pirates of the Caribbean: The Curse of the Black Pearl", "The Muppets", "John Carter", "Old Dogs", "Holes", "The Flintstones in Viva Rock Vegas", "Hannah Montana: The Movie", "Alvin and the Chipmunks: Chipwrecked", "National Treasure: Book of Secrets", "G-Force"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Belgium\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alvin and the Chipmunks: Chipwrecked"}, {"question": "Did the war whose end time is on 1991-02-28 start on 2004-06-04?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1991-02-28", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["2004-06-04", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1991-02-28\"^^xsd:date . ?e <start_time> ?pv . ?pv <pred:date> \"2004-06-04\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the ISNI of the person who was nominated for a Golden Raspberry Award for Worst Screen Couple/Ensemble in 2011?", "choices": ["0000 0001 2133 3240", "0000 0001 2290 3970", "0000 0001 2276 3584", "0000 0001 0788 0037", "0000 0001 1470 9131", "0000 0000 7846 5888", "0000 0001 0658 8800", "0000 0001 2144 168X", "0000 0001 2128 2295", "0000 0001 2145 1271"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screen Couple/Ensemble"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2011", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Screen Couple/Ensemble\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2011 . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2133 3240"}, {"question": "What point in time did Miles Davis receive an American Book Award?", "choices": ["1896", "2026", "1557-01-01", "2017-02-02", "2010-04-01", "1895", "2014-04-01", "1948-05-14", "1990-01-01", "1993-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miles Davis"]}, {"function": "Find", "dependencies": [], "inputs": ["American Book Awards"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Miles Davis\" . ?e_2 <pred:name> \"American Book Awards\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1990-01-01"}, {"question": "How many non-metropolitan counties are in the U.K. or whose GSS code (2011) is E10000014?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan county"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["GSS code (2011)", "E10000014"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan county"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan county\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  } UNION { ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E10000014\" .  } }", "answer": "9"}, {"question": "Which movie is shorter, The Virgin Suicides or Austin Powers: International Man of Mystery?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "Austin Powers: International Man of Mystery", "Rebecca", "The Towering Inferno", "Pleasantville", "A Prairie Home Companion", "The Virgin Suicides"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Virgin Suicides"]}, {"function": "Find", "dependencies": [], "inputs": ["Austin Powers: International Man of Mystery"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Virgin Suicides\" .  } UNION { ?e <pred:name> \"Austin Powers: International Man of Mystery\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Austin Powers: International Man of Mystery"}, {"question": "How tall is someone with ISNI # 0000 0001 2125 9394?", "choices": ["206 centimetre", "1.7 metre", "1.89 metre", "204 centimetre", "168 centimetre", "74 inch", "75 inch", "173 centimetre", "182 centimetre", "177 centimetre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2125 9394"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2125 9394\" . ?e <height> ?pv .  }", "answer": "168 centimetre"}, {"question": "When did Jefferson County that borders St. Lawrence County have a population of 116605?", "choices": ["1997-04-09", "2018-09-04", "2010-07-01", "2005-06-19", "1960-11-01", "1994", "1820-01-01", "2016-05-31", "2014-12-03", "1962"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Lawrence County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "116605", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jefferson County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"St. Lawrence County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"116605\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Is 39091 the FIPS 6-4 (US counties) of the county of Ohio that shares border with Champaign County (the one whose inception time is 1805-03-01) ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Champaign County"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1805-03-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Ohio"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["39091"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Champaign County\" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> \"1805-03-01\"^^xsd:date . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"39091\" .  }", "answer": "yes"}, {"question": "Where was the film that stars Richard Rodney Bennett published on 1975-03-06?", "choices": ["Greece", "Croatia", "Singapore", "Belgium", "Grauman's Chinese Theatre", "Egypt", "Mexico", "Colombia", "Quebec", "John F. Kennedy Center for the Performing Arts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Rodney Bennett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1975-03-06", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Richard Rodney Bennett\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1975-03-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Greece"}, {"question": "Is there a greater unemployment rate in Lithuania or in Bulgaria?", "choices": ["Bulgaria", "Finland", "Tajikistan", "Greece", "Lithuania", "Cuba", "Kosovo", "Luxembourg", "Fiji", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["unemployment rate", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lithuania\" .  } UNION { ?e <pred:name> \"Bulgaria\" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bulgaria"}, {"question": "What is the official website of Hillsborough County whose Dewey Decimal Classification is 2--7428?", "choices": ["http://www.ci.san-bernardino.ca.us/", "http://www.paulweller.com/", "http://www.takingwoodstockthemovie.com/", "http://www.recreativohuelva.com/", "https://www.sagawards.org", "http://www.ucsb.edu", "http://www.dreamworks.com/catchthem/jump2.html", "http://www.hillsboroughcountynh.org", "http://movies.disney.com/beauty-and-the-beast-2017", "http://www.drdre.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hillsborough County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--7428"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hillsborough County\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--7428\" . ?e <official_website> ?pv .  }", "answer": "http://www.hillsboroughcountynh.org"}, {"question": "Is the work period start date of the person having CANTIC-ID a11352152 after 1878?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11352152"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1878", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11352152\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1878 ) .  }", "answer": "yes"}, {"question": "What language is associated with the official website https://www.collegeparkmd.gov/ for College Park?", "choices": ["Finnish", "Russian", "Occitan", "Slavic languages", "Bokm\u00e5l", "Franco-Proven\u00e7al", "Galician", "Esperanto", "Toki Pona", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["College Park"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.collegeparkmd.gov/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"College Park\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.collegeparkmd.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does the human educated at primary school (the location of this statement is Eugene) have a name in native language equal to Paul M. Simon?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["primary school"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["location", "Eugene"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Paul M. Simon"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"primary school\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_1 ] <location> ?qpv . ?qpv <pred:value> \"Eugene\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Paul M. Simon\" .  }", "answer": "yes"}, {"question": "Rules of Engagement, directed by William Friedkin, has what connection to Richard D. Zanuck?", "choices": ["tributary", "board member", "producer", "depicts", "has edition", "followed by", "has contributing factor", "languages spoken, written or signed", "medical treatment", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Friedkin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rules of Engagement"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Richard D. Zanuck"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rules of Engagement\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"William Friedkin\" . ?e_2 <pred:name> \"Richard D. Zanuck\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Which New York county whose population is not 730000 has the smallest area?", "choices": ["Rockland County", "Monroe County", "Genesee County", "Livingston County", "Jefferson County", "Broome County", "Oswego County", "Niagara County", "Allegany County", "Washington County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "730000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"730000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "What media franchise's production company is Universal Pictures (that is the production studio of Terror in the Aisles)?", "choices": ["Pillow Talk", "Dragon Ball", "Shrek", "Contraband", "Jurassic Park", "Erin Brockovich", "The Green Mile", "The Glenn Miller Story", "Mighty Morphin Power Rangers", "Star Wars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terror in the Aisles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Universal Pictures"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["media franchise"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Universal Pictures\" . ?e_2 <production_company> ?e_1 . ?e_2 <pred:name> \"Terror in the Aisles\" .   }", "answer": "Jurassic Park"}, {"question": "What is the relationship between keyboard instrument to David Grisman?", "choices": ["nominated for", "board member", "home port", "contributor(s) to the creative work", "country", "famous people", "work location", "honorific suffix", "broadcast by", "candidacy in election"], "program": [{"function": "Find", "dependencies": [], "inputs": ["keyboard instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["David Grisman"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"keyboard instrument\" . ?e_2 <pred:name> \"David Grisman\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "To which part of a city that, is the location of 2012 Toronto International Film Festival, does its demonym Torontois apply ?", "choices": ["4th arrondissement of Lyon", "male", "Qikiqtaaluk Region", "2nd arrondissement of Paris", "Lincoln County", "Van Buren County", "Staffanstorp Municipality", "McNairy County", "Newfoundland", "Scattered Islands in the Indian Ocean"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2012 Toronto International Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "Torontois", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <location> ?e . ?e_1 <pred:name> \"2012 Toronto International Film Festival\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Torontois\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "male"}, {"question": "Does Chhattisgarh (Indian census area code (2001) 22) or Himachal Pradeshm with the capital Shimla, have fewer male inhabitants?", "choices": ["West Bengal", "Haryana", "Kerala", "Andhra Pradesh", "Karnataka", "Punjab", "Maharashtra", "Odisha", "Himachal Pradesh", "Jharkhand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chhattisgarh"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Indian census area code (2001)", "22"]}, {"function": "Find", "dependencies": [], "inputs": ["Shimla"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Himachal Pradesh"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["male population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chhattisgarh\" . ?e <Indian_census_area_code_(2001)> ?pv_1 . ?pv_1 <pred:value> \"22\" . } UNION { ?e <pred:name> \"Himachal Pradesh\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Shimla\" . } ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Himachal Pradesh"}, {"question": "Which landform that is a part of Lesser Antilles has the lowest elevation above sea level?", "choices": ["Saint John", "Ireland", "Aruba", "Tasmania", "Newfoundland", "Cyprus", "Puerto Rico", "Long Island", "Trinidad", "Hawaii"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lesser Antilles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Lesser Antilles\" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Aruba"}, {"question": "Tell me the relationship between Ford Motor Company and passenger car.", "choices": ["operator", "license", "godparent", "place of death", "dissertation submitted to", "currency", "official residence", "producer", "designed by", "product or material produced"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ford Motor Company"]}, {"function": "Find", "dependencies": [], "inputs": ["passenger car"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ford Motor Company\" . ?e_2 <pred:name> \"passenger car\" . ?e_1 ?p ?e_2 .  }", "answer": "product or material produced"}, {"question": "What is the area of the Virginia county that borders Washington County whose population is 149087?", "choices": ["268021.0 square kilometre", "555000 square kilometre", "47.397114 square kilometre", "12421 square kilometre", "1350 square kilometre", "3567 square kilometre", "1573 square kilometre", "23.33332 square kilometre", "86600.0 square kilometre", "12533 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "149087", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Virginia"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Washington County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"149087\"^^xsd:double . ?e <area> ?pv .  }", "answer": "1350 square kilometre"}, {"question": "How many subscribers does Holly Marie Combs have under the Twitter username H_Combs?", "choices": ["23318", "921414", "3294", "33417", "5718", "8785", "25685", "3367557", "446683", "212924"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Holly Marie Combs"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "H_Combs", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Holly Marie Combs\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"H_Combs\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "921414"}, {"question": "St. Louis is the birth place of which point guard player?", "choices": ["John Milius", "Chris Paul", "David Rasche", "Tony Bennett", "Mel Gibson", "Allen Iverson", "Jason Kidd", "John Goodman", "David Brown", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["point guard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Louis"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> \"point guard\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"St. Louis\" .  }", "answer": "David Brown"}, {"question": "Which has a greater population, Oshawa or Dunedin?", "choices": ["Santo Domingo", "Oshawa", "Trieste", "Bergen", "Kingston", "Chihuahua", "Cork", "Abidjan", "Kilkenny", "Dunedin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oshawa"]}, {"function": "Find", "dependencies": [], "inputs": ["Dunedin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Oshawa\" .  } UNION { ?e <pred:name> \"Dunedin\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oshawa"}, {"question": "How many national cuisines are in the sovereign state country whose inflation rate is 49.3 percentage?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "49.3 percentage", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["national cuisine"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national cuisine\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> \"49.3\"^^xsd:double .   }", "answer": "0"}, {"question": "How many census designated places are there in the United States of America?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "6"}, {"question": "Which one has the largest number of episodes between the animes whose started after 1995?", "choices": ["Fullmetal Alchemist the Movie: Conqueror of Shamballa", "Ponyo on the Cliff by the Sea", "The Super Dimension Fortress Macross", "Magical Girl Lyrical Nanoha", "Code Geass", "Vampire Knight", "Sonic X", "Chrono Crusade", "My-HiME", "Naruto Shippuden the Movie: Bonds"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1995", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1995 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sonic X"}, {"question": "What art movement has a movement by Marcel Duchamp and the Dewey Decimal Classification 759.0663?", "choices": ["Cubism", "Surrealism", "Art Deco", "experimental film", "Expressionism", "baroque pop", "Renaissance architecture", "Art Nouveau", "postmodern architecture", "Romanticism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marcel Duchamp"]}, {"function": "Relate", "dependencies": [0], "inputs": ["movement", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "759.0663"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art movement"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e_1 <movement> ?e . ?e_1 <pred:name> \"Marcel Duchamp\" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"759.0663\" .  }", "answer": "Surrealism"}, {"question": "Which person's Twitter username is shamsheraj?", "choices": ["Jason Biggs", "Max Fleischer", "Melora Hardin", "William Henry Harrison", "Shammi Kapoor", "Bryan Singer", "Ben Johnson", "Vanessa Hudgens", "Macaulay Culkin", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "shamsheraj"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"shamsheraj\" .  }", "answer": "Shammi Kapoor"}, {"question": "Did the Miramax production of Gangs of New York or Star Wars Episode IV: A New Hope, released on 1978-02-09, do worse at the box office?", "choices": ["Curse of the Golden Flower", "The Hunchback of Notre Dame", "Talk to Her", "The Fifth Element", "Gangs of New York", "Rebecca", "A Prairie Home Companion", "Star Wars Episode IV: A New Hope", "The Towering Inferno", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miramax"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gangs of New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode IV: A New Hope"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1978-02-09", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gangs of New York\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Miramax\" . } UNION { ?e <pred:name> \"Star Wars Episode IV: A New Hope\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1978-02-09\"^^xsd:date . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gangs of New York"}, {"question": "Who is the reviewer of the Nobel Prize in Chemistry having review score of 0.8?", "choices": ["Innovation, Science and Economic Development Canada", "Internet Movie Database", "The World of Movies", "FIFA", "International Congress of Distinguished Awards", "AllMovie", "Metacritic", "Empire", "Peter Travers", "Roger Ebert"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Chemistry"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["review score", "0.8", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nobel Prize in Chemistry\" . ?e <review_score> ?pv . ?pv <pred:value> \"0.8\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "Innovation, Science and Economic Development Canada"}, {"question": "When did the town with post town code WINDSOR have a population of 3361?", "choices": ["2005-12-01", "2002-09-18", "2018-11-14", "1816-12-01", "1925-10-01", "1664", "1801", "1897-01-01", "1994-05-17", "1806"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["post town", "WINDSOR"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "3361", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <post_town> ?pv_1 . ?pv_1 <pred:value> \"WINDSOR\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3361\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1801"}, {"question": "How long is the movie titled Snow White and the Huntsman?\"", "choices": ["127 minute", "7 minute", "99 minute", "176 minute", "181 minute", "238 second", "4512 second", "163 minute", "2359 second", "157 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Snow White and the Huntsman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Snow White and the Huntsman\" . ?e <duration> ?pv .  }", "answer": "127 minute"}, {"question": "Who weighs more, Chris Evans (the one that is a member of Detroit Red Wings) or Robert Smith (the one whose mass is 210 pound)?", "choices": ["Sylvester Stallone", "Rahul Dev Burman", "Paul Simon", "Simon Cowell", "Robert Smith", "David Byrne", "James E. Reilly", "Richard Gere", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Detroit Red Wings"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robert Smith"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["mass", "210 pound", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chris Evans\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Detroit Red Wings\" . } UNION { ?e <pred:name> \"Robert Smith\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"pound\" . ?pv_1 <pred:value> \"210\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Robert Smith"}, {"question": "Which person's ISNI is 0000 0001 1439 0511?", "choices": ["Madonna", "Illeana Douglas", "William Henry Harrison", "Max Fleischer", "Richard Gere", "John F. Kennedy", "Dario Argento", "Sandra Bernhard", "Cameron Mitchell", "Mehmood Ali"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1439 0511"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1439 0511\" .  }", "answer": "Illeana Douglas"}, {"question": "How long is the movie that was released on 1975-04-10 in Germany?", "choices": ["136 minute", "194 minute", "64 minute", "24 minute", "2713 second", "181 minute", "2576 second", "151 minute", "121 minute", "167 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1975-04-10", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "Germany"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1975-04-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" . ?e <duration> ?pv .  }", "answer": "121 minute"}, {"question": "APOEL F.C. counts how many subscribers to its Twitter username, apoelfcofficial?", "choices": ["46194", "436907", "3699803", "164001", "41", "30078", "1558625", "116844", "2304299", "199827"], "program": [{"function": "Find", "dependencies": [], "inputs": ["APOEL F.C."]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "apoelfcofficial", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"APOEL F.C.\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"apoelfcofficial\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "30078"}, {"question": "Is the title of the English film with Jeff Bennet Vera Drake?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeff Bennett"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["Vera Drake"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jeff Bennett\" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e <title> ?pv . ?pv <pred:value> \"Vera Drake\" .  }", "answer": "no"}, {"question": "How many museums are the employer of Wonder Woman (whose occupation is astronaut) or collect Body of Lies?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["astronaut"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["museum"]}, {"function": "Find", "dependencies": [], "inputs": ["Body of Lies"]}, {"function": "Relate", "dependencies": [6], "inputs": ["collection", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["museum"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"museum\" .  { ?e_1 <employer> ?e . ?e_1 <pred:name> \"Wonder Woman\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"astronaut\" .  } UNION { ?e_1 <collection> ?e . ?e_1 <pred:name> \"Body of Lies\" .  } }", "answer": "2"}, {"question": "How many agents are a cast member of the television series that has Jeffrey Wright as a member of the cast?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeffrey Wright"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["agent"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Jeffrey Wright\" .   }", "answer": "0"}, {"question": "When did Clark Gable win the  Academy Award for Best Actor?", "choices": ["1656-01-01", "1934", "1864-11-21", "1991-03-15", "2012-12-19", "2008", "1968-04-10", "1995-02-20", "2014-05-01", "2010-06-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Find", "dependencies": [], "inputs": ["Clark Gable"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Academy Award for Best Actor\" . ?e_2 <pred:name> \"Clark Gable\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1934"}, {"question": "Is 256 the area code for Decatur (which shares a border with Huntsville)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Huntsville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Decatur"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["256"]}], "sparql": "ASK { ?e <pred:name> \"Decatur\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Huntsville\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"256\" .  }", "answer": "yes"}, {"question": "What is the number of water area that are the terrain feature of English Channel or that have area not exactly 9700000 square kilometre", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English Channel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located on terrain feature", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["area", "9700000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["water area"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" .  { ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> \"English Channel\" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"9700000\"^^xsd:double ) .  } }", "answer": "5"}, {"question": "What is the IAB code of the sport team Peter Jackson (the one that is a participant of 1992 Summer Olympics)?", "choices": ["1368", "538", "398", "1431", "69", "321", "1243", "1070", "1275", "460"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1992 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["IAB code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:name> \"Peter Jackson\" . ?e_1 <participant_of> ?e_2 . ?e_2 <pred:name> \"1992 Summer Olympics\" .  ?e <IAB_code> ?pv .  }", "answer": "538"}, {"question": "Which area is smaller, Monterey County or Inyo County?", "choices": ["San Diego County", "Tuolumne County", "Monterey County", "Inyo County", "Contra Costa County", "Alameda County", "Tulare County", "Mariposa County", "San Mateo County", "Solano County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monterey County"]}, {"function": "Find", "dependencies": [], "inputs": ["Inyo County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Monterey County\" .  } UNION { ?e <pred:name> \"Inyo County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monterey County"}, {"question": "Does Cuyahoga County or Licking County have the larger land area?", "choices": ["Wayne County", "Summit County", "Stark County", "Jefferson County", "Mahoning County", "Delaware County", "Licking County", "Tuscarawas County", "Wood County", "Cuyahoga County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cuyahoga County"]}, {"function": "Find", "dependencies": [], "inputs": ["Licking County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cuyahoga County\" .  } UNION { ?e <pred:name> \"Licking County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cuyahoga County"}, {"question": "What visual artwork has a cast member named Viggo Mortensen and the official website http://www.filminfocus.com/focusfeatures/film/eastern_promises?", "choices": ["Good", "Eastern Promises", "Pleasantville", "Rebecca", "The Lord of the Rings: The Fellowship of the Ring", "A Prairie Home Companion", "The Fifth Element", "Psycho", "A Dangerous Method", "The Lord of the Rings: The Two Towers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Viggo Mortensen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.filminfocus.com/focusfeatures/film/eastern_promises?"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Viggo Mortensen\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.filminfocus.com/focusfeatures/film/eastern_promises?\" .  }", "answer": "Eastern Promises"}, {"question": "When did the US city whose postal code is 43085 have a population of 787033?", "choices": ["2010-01-01", "1834-12-01", "1929-07-16", "1919-12-01", "2016-03-15", "2018-06-01", "2019-02-21", "1849-12-03", "2015-04-01", "2011-08-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "43085"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "787033", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"43085\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"787033\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "How many democracies are the work location of the person whose ISNI is 0000 0000 7861 437X?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7861 437X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["democracy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e_1 <work_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7861 437X\" .   }", "answer": "1"}, {"question": "Which person is associated with the official website www.bjnovak.com?", "choices": ["Chris O'Donnell", "Louis C.K.", "Corinne Bailey Rae", "Max Fleischer", "Sammy Davis Jr.", "Richard Gere", "Sylvester Stallone", "John Bailey", "B. J. Novak", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bjnovak.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bjnovak.com/\" .  }", "answer": "B. J. Novak"}, {"question": "Is the website of http://www.wthefilm.com the official site for the university located at 1 University Circle, Monterey, CA, 93943?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)", "1 University Circle, Monterey, CA, 93943"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.wthefilm.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_at_street_address_(DEPRECATED)> ?pv_1 . ?pv_1 <pred:value> \"1 University Circle, Monterey, CA, 93943\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.wthefilm.com/\" .  }", "answer": "no"}, {"question": "The capital with the official language Urdu is whose birthplace?", "choices": ["Jean-Luc Godard", "Ennio Morricone", "Amjad Khan", "Shakti Kapoor", "Cliff Richard", "John Broome", "Joe Cocker", "Sharmila Tagore", "Brian Wilson", "Ashok Kumar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Urdu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"capital\" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> \"Urdu\" .   }", "answer": "Cliff Richard"}, {"question": "What is the Libris-URI of the winner of the Man Booker Prize in 1998?", "choices": ["dbqsvblx0nvp111", "fcrtvk2z3gvrr32", "c9prsjdw138nts9", "tr578lhc0v2tmsq", "mkz13rj52m3g5cn", "jgvz4tj20hcn1w2", "0xbdht6j1ml5vtx", "20dgjn8l0zg4xc4", "xv8bc4dg0zzf551", "hftx2qk13z2p344"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Man Booker Prize"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1998", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Man Booker Prize\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1998 . ?e <Libris-URI> ?pv .  }", "answer": "tr578lhc0v2tmsq"}, {"question": "How many seas have a tributary of the Amazon (the one whose discharge is 209000 cubic meters per second) or whose vertical depth is greater than 440 meters?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amazon"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["discharge", "209000 cubic metre per second", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["tributary", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sea"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["vertical depth", "440 metre", ">"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["sea"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sea\" .  { ?e <tributary> ?e_1 . ?e_1 <pred:name> \"Amazon\" . ?e_1 <discharge> ?pv . ?pv <pred:unit> \"cubic metre per second\" . ?pv <pred:value> \"209000\"^^xsd:double .  } UNION { ?e <vertical_depth> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"440\"^^xsd:double ) .  } }", "answer": "5"}, {"question": "Which reviewer gave a score of 93 percent to the movie featuring cast member Tsui Hark?", "choices": ["Rotten Tomatoes", "James Berardinelli", "Peter Travers", "AlloCin\u00e9", "International Congress of Distinguished Awards", "Metacritic", "The World of Movies", "Empire", "IREG Observatory on Academic Ranking and Excellence", "Charity Navigator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tsui Hark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["review score", "93%", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tsui Hark\" .  ?e <review_score> ?pv . ?pv <pred:value> \"93%\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "Rotten Tomatoes"}, {"question": "What is the connection between The Twilight Saga: Eclipse to Kristen Stewart?", "choices": ["cast member", "contributor(s) to the creative work", "student", "has part", "public holiday", "signatory", "set in period", "industry", "architect", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Twilight Saga: Eclipse"]}, {"function": "Find", "dependencies": [], "inputs": ["Kristen Stewart"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Twilight Saga: Eclipse\" . ?e_2 <pred:name> \"Kristen Stewart\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What visual artwork is titled Milan and is distributed by Star Cinema?", "choices": ["Rebecca", "Dubai", "The Towering Inferno", "Milan", "The Hunchback of Notre Dame", "Pleasantville", "A Prairie Home Companion", "Training Day", "The Fifth Element", "Curse of the Golden Flower"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Milan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Cinema"]}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Milan\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Star Cinema\" .  }", "answer": "Milan"}, {"question": "How is Entourage aired on HBO related to 58th Primetime Emmy Awards?", "choices": ["is a list of", "dialect of", "season starts", "league", "drafted by", "instrument", "appointed by", "award received", "does not have part", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["HBO"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Entourage"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["58th Primetime Emmy Awards"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Entourage\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"HBO\" . ?e_2 <pred:name> \"58th Primetime Emmy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the number of private universities that form  the  Association of American Universities?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Association of American Universities"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private university"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private university\" . ?e <found> ?e_1 . ?e_1 <pred:name> \"Association of American Universities\" .   }", "answer": "7"}, {"question": "How is Carroll O'Connor related to World War II?", "choices": ["symptom of", "conflict", "native language", "partner", "geography of topic", "film release region", "affiliation", "award disciplines or subjects", "head of state", "occupant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carroll O'Connor"]}, {"function": "Find", "dependencies": [], "inputs": ["World War II"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carroll O'Connor\" . ?e_2 <pred:name> \"World War II\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "Which comedy containing 8100 or less episodes has the most seasons?", "choices": ["Mr. Smith Goes to Washington", "agriculture", "The Golden Girls", "comedy of manners", "Steven Wright", "farce", "Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series", "Hanover", "stand-up comedy", "The Monkees"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "8100", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"8100\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "Which person has CANTIC-ID as a12282339 and has ISNI 0000 0004 5303 0481 ?", "choices": ["Babyface", "Simon Cowell", "Rahul Dev Burman", "Colm Meaney", "Max Fleischer", "Paul Simon", "James E. Reilly", "David Byrne", "William Henry Harrison", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12282339"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0004 5303 0481"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a12282339\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 5303 0481\" .  }", "answer": "Colm Meaney"}, {"question": "How many MTV Video Music Awards began before 1984 or were nominated to Ice-T?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1984", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Video Music Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Ice-T"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Video Music Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1984 ) .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Ice-T\" .  } }", "answer": "2"}, {"question": "What is the zip code of the HQ of the Green Party of the US in Washington, D.C.?", "choices": ["6160", "68305", "94710", "90900", "47710", "69004", "27411", "50827", "65897", "87151"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Party of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Green Party of the United States\" . ?e_2 <pred:name> \"Washington, D.C.\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "94710"}, {"question": "When was the town in Boston founded?", "choices": ["1918-11-16", "1998-05-19", "1889", "1776-09-06", "1903-06-30", "0990-01-01", "1628", "1820-06-06", "395", "1748-12-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Boston\" .  ?e <inception> ?pv .  }", "answer": "1628"}, {"question": "For the first-level administrative country subdivision that shares a border with Ireland (the one whose population is 3412800), its demonym of Nordire applies to which part?", "choices": ["DeKalb County", "singing", "city hall", "masculine", "Coffee County", "Cianjur", "Sukabumi", "2nd arrondissement of Lyon", "Majalengka", "Pangandaran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3412800", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["demonym", "Nordire", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Ireland\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3412800\"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> \"Nordire\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "Of California counties in Sierra Nevada, which occupies the biggest area?", "choices": ["Solano County", "Plumas County", "Butte County", "San Luis Obispo County", "San Mateo County", "Tuolumne County", "Contra Costa County", "Alameda County", "Mariposa County", "San Diego County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sierra Nevada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["mountain range", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <mountain_range> ?e_1 . ?e_1 <pred:name> \"Sierra Nevada\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Plumas County"}, {"question": "Of animated feature films released later than 1977, which has the shortest run-time?", "choices": ["Sailor Moon S: The Movie", "Aladdin", "Winnie the Pooh", "The Little Mermaid", "Brave", "Cars 2", "Madagascar 3: Europe's Most Wanted", "Persepolis", "Kung Fu Panda", "Chicken Little"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1977", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1977 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sailor Moon S: The Movie"}, {"question": "What is the character role of Karl Urban (who is the winner of a Broadcast Film Critics Association Award for Best Cast) as a cast member of Star Trek (that was nominated for a Broadcast Film Critics Association Award for Best Cast)?", "choices": ["Orr", "Figwit", "George III of Great Britain", "Martin Crane", "Kunta Kinte", "Hal Jordan", "Grampa Simpson", "Dana Scully", "Gazeem", "Leonard McCoy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Relate", "dependencies": [4], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Karl Urban"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_2 <pred:name> \"Karl Urban\" . ?e_4 <winner> ?e_2 . ?e_4 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Leonard McCoy"}, {"question": "How many non-metropolitan counties have a TOID of 7000000000022028 or an ISO 3166-2 code of GB-DOR?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000022028"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan county"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISO 3166-2 code", "GB-DOR"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan county"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan county\" .  { ?e <TOID> ?pv . ?pv <pred:value> \"7000000000022028\" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"GB-DOR\" .  } }", "answer": "2"}, {"question": "520 is the Dewey Decimal Classification of which academic discipline?", "choices": ["electrical engineering", "English Studies", "architecture", "biochemistry", "astronomy", "Yellow Submarine", "abstract algebra", "soprano", "chemistry", "choir"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "520"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"520\" .  }", "answer": "astronomy"}, {"question": "How many television genres use the language of Magyar nyelv?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Magyar nyelv"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["natural language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television genre"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television genre\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"natural language\" . ?e_1 <native_label> ?pv . ?pv <pred:value> \"Magyar nyelv\" .   }", "answer": "0"}, {"question": "When was  John Krasinski educated at Brown University?", "choices": ["1793", "1938-01-01", "2011-02-09", "2017-06-05", "2017-04-16", "1945", "1585", "1506", "1992-03-23", "2001"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Krasinski"]}, {"function": "Find", "dependencies": [], "inputs": ["Brown University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Krasinski\" . ?e_2 <pred:name> \"Brown University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2001"}, {"question": "How is Victoria, the home of Ballarat, related to South Australia?", "choices": ["lyrics by", "said to be the same as", "narrative location", "taxon rank", "shares border with", "published in", "studies", "replaces", "source of income", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ballarat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Victoria"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["South Australia"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Victoria\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"Ballarat\" . ?e_2 <pred:name> \"South Australia\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How many kinds of pop music were created after 1965 ?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1965", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["pop music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pop music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1965 ) .  }", "answer": "7"}, {"question": "What is the connection between FC Metalurh Donetsk to Ukraine?", "choices": ["domain of saint or deity", "currency", "manufacturer", "use", "month of the year", "languages spoken, written or signed", "maintained by", "from fictional universe", "country", "allegiance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Metalurh Donetsk"]}, {"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"FC Metalurh Donetsk\" . ?e_2 <pred:name> \"Ukraine\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many states have a rate of fertility different from 6.9 or belong to the country of Liechtenstein?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "6.9", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Find", "dependencies": [], "inputs": ["Liechtenstein"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" .  { ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"6.9\"^^xsd:double ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"Liechtenstein\" .  } }", "answer": "24"}, {"question": "Which TV station in the USA corresponds to ISNI 0000 0001 0420 4682?", "choices": ["The CW", "Discovery Channel", "CBS", "TV Asahi", "American Broadcasting Company", "CTV Television Network", "CITV", "Univision", "NBC", "Cartoon Network"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 0420 4682"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0420 4682\" .  }", "answer": "Cartoon Network"}, {"question": "What is the connection between RB Leipzig to Leipzig?", "choices": ["next higher rank", "terminus", "contributor(s) to the creative work", "source of income", "basin country", "significant person", "country of citizenship", "headquarters location", "producer", "sex or gender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RB Leipzig"]}, {"function": "Find", "dependencies": [], "inputs": ["Leipzig"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"RB Leipzig\" . ?e_2 <pred:name> \"Leipzig\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What number of public universities have ISNI 0000 0004 1936 9756?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 1936 9756"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 1936 9756\" .  }", "answer": "1"}, {"question": "Does the person designated by ISNI 0000 0001 1571 8291 have other than 2 daughters ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1571 8291"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2 daughter", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1571 8291\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"daughter\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the connection between A Bug's Life (the one whose publication date is 1998-11-18) to single-player video game?", "choices": ["position played on team / speciality", "director/manager", "lowest point", "airline alliance", "parent organization", "game mode", "has parts of the class", "eye color", "stated in", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Bug's Life"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1998-11-18", "="]}, {"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A Bug's Life\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1998-11-18\"^^xsd:date . ?e_2 <pred:name> \"single-player video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "What is the ISNI of John Leguizamo's record label?", "choices": ["0000 0001 0935 0742", "0000 0001 0907 8435", "0000 0001 1880 3192", "0000 0000 0211 5910", "0000 0001 2174 6686", "0000 0001 0783 5332", "0000 0004 0400 9416", "0000 0001 2125 135X", "0000 0001 0812 9149", "0000 0001 0908 2602"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Leguizamo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"John Leguizamo\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0004 0400 9416"}, {"question": "How many baseball teams are there whose headquarters is located in the United States city that is the narrative location of Chandler (that has Leslie Caron as a cast member)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leslie Caron"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chandler"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [5], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["baseball team"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"Chandler\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"Leslie Caron\" .   }", "answer": "1"}, {"question": "Was the record label with the official website of http://www.toothandnail.com (the language of this statement is English) founded after 1830?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.toothandnail.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1830", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.toothandnail.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1830 ) .  }", "answer": "yes"}, {"question": "What is the FIPS 10-4, for countries and regions, of an English ceremonial county that borders Monmouthshire?", "choices": ["JA18", "US37", "UKC7", "ER", "SN", "LE", "IV", "BO04", "UKE6", "SZ05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monmouthshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 10-4 (countries and regions)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Monmouthshire\" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }", "answer": "UKE6"}, {"question": "What number of natural languages have ISO 639-2 code of fas?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 639-2 code", "fas"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["natural language"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"natural language\" . ?e <ISO_639-2_code> ?pv . ?pv <pred:value> \"fas\" .  }", "answer": "1"}, {"question": "What is the connection between Psycho (the one whose publication date is 1959) to Psycho (the one whose genre is slasher film)?", "choices": ["owned by", "had as last meal", "replaces", "candidate", "location of formation", "relative", "derivative work", "basic form of government", "talk show guest", "production designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Psycho"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1959", "="]}, {"function": "Find", "dependencies": [], "inputs": ["slasher film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Psycho"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Psycho\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1959 . ?e_2 <pred:name> \"Psycho\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"slasher film\" . ?e_1 ?p ?e_2 .  }", "answer": "derivative work"}, {"question": "Which has a longer running time, Congo or King Kong, produced by RKO Pictures?", "choices": ["Rebecca", "Congo", "Curse of the Golden Flower", "The Towering Inferno", "Training Day", "The Hunchback of Notre Dame", "Talk to Her", "King Kong", "Pleasantville", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Congo"]}, {"function": "Find", "dependencies": [], "inputs": ["RKO Pictures"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["King Kong"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Congo\" .  } UNION { ?e <pred:name> \"King Kong\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"RKO Pictures\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Congo"}, {"question": "Was Nagoya Grampus' official name equal to R\u012bga until 1992?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nagoya Grampus"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["official name", "end time", "1992"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["R\u012bga"]}], "sparql": "ASK { ?e <pred:name> \"Nagoya Grampus\" . ?e <official_name> ?pv . ?pv <pred:value> \"R\u012bga\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:year> 1992 .  }", "answer": "no"}, {"question": "What is the official website for the television series using the Twitter username of csi_cbs?", "choices": ["https://www.gnu.org/licenses/gpl.html", "http://www.claireforlani.com/", "http://www.cbs.com/shows/csi/", "http://www.eclipsethemovie.com/", "http://republican.assembly.ca.gov/member/AD71/", "http://tsukamotoshinya.net/", "http://www.endofwatchthefilm.com/", "http://www.shanxigov.cn", "http://www.sonicteam.com/sonicx/", "http://www.beijing.gov.cn"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "csi_cbs"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"csi_cbs\" . ?e <official_website> ?pv .  }", "answer": "http://www.cbs.com/shows/csi/"}, {"question": "Is http://kings.nhl.com/ the official website of the basketball team that is located in Washington?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://kings.nhl.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Washington\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://kings.nhl.com/\" .  }", "answer": "no"}, {"question": "Did the association football club that has Thiago Silva as a member (by way of an acquisition transaction of loan) outside of 1947?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thiago Silva"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["acquisition transaction", "loan"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1947", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Thiago Silva\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <acquisition_transaction> ?qpv . ?qpv <pred:value> \"loan\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1947 ) .  }", "answer": "yes"}, {"question": "How many anime have an executive producer who is the person claiming the official website http://www.iamkelis.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.iamkelis.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["anime"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.iamkelis.com/\" .   }", "answer": "0"}, {"question": "The movie with US citizen Peter Krause as a cast member was published on 1998-11-12 in what location?", "choices": ["2004 Cannes Film Festival", "Washington, D.C.", "South Korea", "Austria", "2008 Toronto International Film Festival", "Greek Theatre, Los Angeles", "BFI London Film Festival", "Germany", "European Union", "Venezuela"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Krause"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "1998-11-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Peter Krause\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1998-11-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did the Wisconsin county whose FIPS 6-4 (US counties) is 55141 have a population of 74749?", "choices": ["1650", "1139", "1916", "1925-01-01", "2015-11-01", "2014-03-01", "1990-02-01", "2010-04-01", "1868-01-01", "2011-11-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "55141"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "74749", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"55141\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"74749\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What is the Twitter username for the television station that originally broadcast Law & Order: Criminal Intent (the one that has Jeff Goldblum as a cast member)?", "choices": ["careymulligan", "SunielVShetty", "SirTimRice", "KingJames", "NBC", "torontofc", "bigbangtheory", "MalmsteenMGMT", "PrisonBreak", "juniorbachchan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Goldblum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order: Criminal Intent"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Law & Order: Criminal Intent\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Jeff Goldblum\" .  ?e <Twitter_username> ?pv .  }", "answer": "NBC"}, {"question": "What is the ISNI of the college of the University of Oxford whose National Heritage List for England number is 1046710?", "choices": ["0000 0001 0667 3175", "0000 0001 1293 4482", "0000 0001 2170 3379", "0000 0001 1030 441X", "0000 0001 0657 3780", "0000 0004 5303 0481", "0000 0000 7140 9488", "0000 0001 0757 7919", "0000 0001 2375 8787", "0000 0001 0663 9073"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["National Heritage List for England number", "1046710"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <National_Heritage_List_for_England_number> ?pv_1 . ?pv_1 <pred:value> \"1046710\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0663 9073"}, {"question": "What is the connection between The Lion in Winter to John Barry (the one that is the composer of The Cotton Club)?", "choices": ["original language of film or TV show", "located in or next to body of water", "interests", "composer", "drug used for treatment", "from fictional universe", "located on astronomical location", "currency", "continent", "subject has role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Lion in Winter"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cotton Club"]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Barry"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Lion in Winter\" . ?e_2 <pred:name> \"John Barry\" . ?e_3 <composer> ?e_2 . ?e_3 <pred:name> \"The Cotton Club\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "What is the name of the institution that gave the number 43 ranking to the Albania national football team?", "choices": ["Empire", "AllMovie", "Gene Siskel", "Internet Movie Database", "Peter Travers", "FIFA", "AlloCin\u00e9", "International Congress of Distinguished Awards", "IREG Observatory on Academic Ranking and Excellence", "James Berardinelli"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albania national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "43", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Albania national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"43\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Does Geneva's historical country occupy other than 2300 hectares ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geneva"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2300 hectare", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Geneva\" .  ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2300\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Did the 1999 Tony winner for Best Actor in a Play begin working in 1977 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1977", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Actor in a Play\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1999 . ?e <work_period_(start)> ?pv . ?pv <pred:year> 1977 .  }", "answer": "yes"}, {"question": "What is the relation between The Tudors and Showtime (the one that broadcasts Dexter originally) ?", "choices": ["exported to", "dissertation submitted to", "opposite of", "original network", "position played on team / speciality", "subject has role", "follows", "Wikidata property", "doctoral advisor", "mountain range"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Tudors"]}, {"function": "Find", "dependencies": [], "inputs": ["Dexter"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Showtime"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Tudors\" . ?e_2 <pred:name> \"Showtime\" . ?e_3 <original_network> ?e_2 . ?e_3 <pred:name> \"Dexter\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "Was the person whose ISNI is 0000 0004 4915 238X not born in 1970?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 4915 238X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1970", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 4915 238X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1970 ) .  }", "answer": "yes"}, {"question": "What number of geographic regions don't have a population of 4200?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4200", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4200\"^^xsd:double ) .  }", "answer": "12"}, {"question": "The visual artwork named Resident Evil: Afterlife was released in which place on 2010-09-16?", "choices": ["Bolivia", "Germany", "Sydney", "Netherlands", "Indonesia", "United Kingdom", "2004 Cannes Film Festival", "India", "Slovakia", "Denmark"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Resident Evil: Afterlife"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-09-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Resident Evil: Afterlife\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-09-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the official website of the person with Twitter username Alancumming?", "choices": ["http://uni-bonn.de?set_language=en", "http://www.cityofmuncie.com/", "http://www.celinedion.com/", "http://www.newschool.edu/parsons/", "http://disney.go.com/disneypictures/princeofpersia", "http://www.alienlegend.com", "http://www.alancumming.com", "http://engineering.nyu.edu", "http://www.foxsearchlight.com/inamerica", "http://www.showgirlsmovie.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Alancumming"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Alancumming\" . ?e <official_website> ?pv .  }", "answer": "http://www.alancumming.com"}, {"question": "Regarding Huntington (which is where John Coltrane was born), tell me the local dialing code.", "choices": ["02054", "929", "623", "631", "089", "08716", "915", "270", "0221", "07325"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Coltrane"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Huntington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Huntington\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"John Coltrane\" .  ?e <local_dialing_code> ?pv .  }", "answer": "631"}, {"question": "Andrew Lloyd Webber composed how many albums?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andrew Lloyd Webber"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Andrew Lloyd Webber\" .   }", "answer": "1"}, {"question": "Which language represents the Primetime Emmy Award for Outstanding Drama Series on its official website, www.emmys.com?", "choices": ["English", "Chinese", "Old English", "Lithuanian", "multiple languages", "\u01c0Xam language", "Putonghua", "Australian English", "Thai", "Atikamekw"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Drama Series"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.emmys.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Primetime Emmy Award for Outstanding Drama Series\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.emmys.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is https://www.braunschweig.de/politik_verwaltung/statistik the official website of Jaime Pressly?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jaime Pressly"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.braunschweig.de/politik_verwaltung/statistik"]}], "sparql": "ASK { ?e <pred:name> \"Jaime Pressly\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.braunschweig.de/politik_verwaltung/statistik\" .  }", "answer": "no"}, {"question": "Does the silent film entilted The Scarlet Letter have a duration of 10 weeks?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Scarlet Letter"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["10 week", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Scarlet Letter\" . ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v != \"10\"^^xsd:double ) .  }", "answer": "no"}, {"question": "When was Veer-Zaara nominated for Filmfare Award for Best Film?", "choices": ["2014-12-01", "250", "1979-01-17", "1904", "1961", "2012-05-01", "1975-01-01", "2016-03-01", "2003-03-26", "2005"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Veer-Zaara"]}, {"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Veer-Zaara\" . ?e_2 <pred:name> \"Filmfare Award for Best Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2005"}, {"question": "Is the smaller area occupied by West Hollywood or by Lima, at an elevation of 268 meters?", "choices": ["Greenville", "Boulder", "Lansing", "Compton", "Oakland", "Franklin", "Waukegan", "West Hollywood", "Columbus", "Lima"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Hollywood"]}, {"function": "Find", "dependencies": [], "inputs": ["Lima"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "268 metre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"West Hollywood\" . } UNION { ?e <pred:name> \"Lima\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"268\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "West Hollywood"}, {"question": "Which work is awarded the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series that is won by Steve Schirripa?", "choices": ["A Midsummer Night's Dream", "Shy People", "The Hissing of Summer Lawns", "A Dangerous Method", "24 Views of Mt. Fuji, by Hokusai", "A Bigger Bang", "Bulldog Drummond", "Taken from Me: The Tiffany Rubin Story", "Othello", "The Sopranos"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Schirripa"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_2 <pred:name> \"Steve Schirripa\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Sopranos"}, {"question": "How many visual artworks received an award that was given to Vanessa Redgrave for Julia ?", "choices": ["41", "42", "43", "44", "45", "46", "47", "48", "49", "50"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vanessa Redgrave"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Julia"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"Vanessa Redgrave\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Julia\" .   }", "answer": "49"}, {"question": "What is the Pennsylvania county whose FIPS 6-4 (US counties) is 42059?", "choices": ["Lehigh County", "Franklin County", "Union County", "Fulton County", "Blair County", "Armstrong County", "Greene County", "Cumberland County", "York County", "Westmoreland County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42059"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"42059\" .  }", "answer": "Greene County"}, {"question": "Which language is associated with http://www.bandainamco.co.jp/, the official website of the public company whose ISIN is JP3778630008?", "choices": ["German", "Slovak", "Croatian", "Slavic languages", "American English", "French", "Japanese", "Indonesian", "Welsh", "Toki Pona"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "JP3778630008"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public company"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.bandainamco.co.jp/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <ISIN> ?pv_1 . ?pv_1 <pred:value> \"JP3778630008\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bandainamco.co.jp/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Japanese"}, {"question": "Which of the animated series that started before 1981 have the largest number of seasons?", "choices": ["Batman Beyond", "American Dad!", "Star Trek: The Animated Series", "Aladdin", "Tiny Toon Adventures", "South Park", "Robot Chicken", "The Flintstones", "The Venture Bros.", "Phineas and Ferb"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1981", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1981 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Flintstones"}, {"question": "Of Indiana counties without exactly 500 in population, which is biggest in terms of area?", "choices": ["Johnson County", "Shelby County", "Wayne County", "Franklin County", "Howard County", "Marion County", "Porter County", "Monroe County", "Allen County", "Hancock County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "500", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"500\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allen County"}, {"question": "What person has ISNI 0000 0001 2145 4886?", "choices": ["William Henry Harrison", "Scott Lobdell", "Chris Menges", "Rob Reiner", "Henry Grace", "Richard Gere", "Sylvester Stallone", "Beck", "B. B. King", "Mark Mancina"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2145 4886"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2145 4886\" .  }", "answer": "Chris Menges"}, {"question": "Which Primetime Emmy Award established subsequent to 1954 was bestowed on Dabney Coleman?", "choices": ["Primetime Emmy Award for Individual Performance in a Variety or Music Program", "Primetime Emmy Award for Outstanding Animated Program", "Primetime Emmy Award for Outstanding Directing for a Drama Series", "Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series", "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series", "Primetime Emmy Award for Outstanding Writing for a Drama Series", "Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie", "Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series", "Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie", "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1954", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Dabney Coleman"]}, {"function": "Relate", "dependencies": [3], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Primetime Emmy Award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1954 ) . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Dabney Coleman\" .  }", "answer": "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie"}, {"question": "What is the date of birth for Tom Scott whose official website is http://www.tomscottmusic.com/?", "choices": ["1948-05-19", "1910-04-26", "1977-11-10", "1984-08-30", "1934-07-01", "1939-02-03", "1981-03-02", "1987-01-12", "1946-01-28", "1963-07-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Scott"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tomscottmusic.com/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tom Scott\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tomscottmusic.com/\" . ?e <date_of_birth> ?pv .  }", "answer": "1948-05-19"}, {"question": "Who is taller, Jessica Biel or The Notorious B.I.G.?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Max Fleischer", "Paul Simon", "Simon Cowell", "Rahul Dev Burman", "The Notorious B.I.G.", "James E. Reilly", "David Byrne", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jessica Biel"]}, {"function": "Find", "dependencies": [], "inputs": ["The Notorious B.I.G."]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jessica Biel\" .  } UNION { ?e <pred:name> \"The Notorious B.I.G.\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Notorious B.I.G."}, {"question": "What is the official website of the United States city whose population is equal to 4913?", "choices": ["http://www.bismarcknd.gov", "http://www.lastsamurai.com", "http://www.crossroadsmovie.com", "http://www.savagesfilm.com", "http://www.gsmd.ac.uk", "http://www.sonyclassics.com/orlando/", "http://www.ithaca.edu", "http://KevinSpacey.com", "http://www.ci.monroe.la.us/", "http://www.greenecountymo.org"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4913", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4913\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.bismarcknd.gov"}, {"question": "What is the date of birth of Emilio Estefan?", "choices": ["1953-03-04", "1976-08-06", "1948-08-20", "1911-07-18", "1931-09-21", "1906-05-03", "1964-05-30", "1961-04-03", "1931-01-02", "1962-06-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emilio Estefan"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Emilio Estefan\" . ?e <date_of_birth> ?pv .  }", "answer": "1953-03-04"}, {"question": "How is keyboard instrument related to Gregg Allman?", "choices": ["foundational text", "grants", "architectural style", "famous people", "position held", "tributary", "fabrication method", "distributor", "collection", "location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["keyboard instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Gregg Allman"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"keyboard instrument\" . ?e_2 <pred:name> \"Gregg Allman\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the connection between Casino Royale (the one whose duration is 48 minute) to spy film?", "choices": ["contains settlement", "archives at", "genre", "notable work", "influenced by", "geography of topic", "country of origin", "located on astronomical location", "inspired by", "record label"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Casino Royale"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "48 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["spy film"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Casino Royale\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"48\"^^xsd:double . ?e_2 <pred:name> \"spy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "When did Jalisco's population number 7844830?", "choices": ["2015", "1664-02-07", "1993-10-22", "1978", "2006-04-19", "50", "2000-12-31", "1998-07-15", "2002-02-13", "2014-01-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jalisco"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "7844830", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jalisco\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"7844830\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "In what way is Duke Blue Devils men's basketball associated with the NCAA Men's Division I Basketball Tournament in 1985?", "choices": ["main food source", "foundational text", "copyright holder", "permanent resident of", "seed team", "captain", "convicted of", "model item", "capital of", "winner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1985 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["Duke Blue Devils men's basketball"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1985 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"Duke Blue Devils men's basketball\" . ?e_1 ?p ?e_2 .  }", "answer": "seed team"}, {"question": "Does Flint or Memphis have more area?", "choices": ["Compton", "Columbus", "Greenville", "Boulder", "Flint", "Memphis", "New Haven", "Oakland", "Franklin", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flint"]}, {"function": "Find", "dependencies": [], "inputs": ["Memphis"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flint\" .  } UNION { ?e <pred:name> \"Memphis\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Memphis"}, {"question": "What is the ISNI of the person who died on 2017-05-18?", "choices": ["0000 0001 0989 8265", "0000 0001 1494 7287", "0000 0004 1936 8438", "0000 0001 1615 5152", "0000 0001 2103 2691", "0000 0001 2161 0463", "0000 0001 2238 1295", "0000 0001 0547 4545", "0000 0001 2162 3504", "0000 0001 2096 1245"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2017-05-18", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"2017-05-18\"^^xsd:date . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1494 7287"}, {"question": "When did the comedy-drama Bones conclude?", "choices": ["1976-12-04", "1858-06-20", "1836", "2017-03-28", "1796", "1666", "1899", "1930-03-28", "2011-11-27", "1936-04-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["comedy-drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bones\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"comedy-drama\" .  ?e <end_time> ?pv .  }", "answer": "2017-03-28"}, {"question": "How many market towns are therecoming from a sovereign state that has a diplimatic relation with Saint Kitts and Nevis  (the subject of this statement is High Commission of Saint Kitts and Nevis, London) ?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Kitts and Nevis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "High Commission of Saint Kitts and Nevis, London"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["market town"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"market town\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> \"Saint Kitts and Nevis\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"High Commission of Saint Kitts and Nevis, London\" .   }", "answer": "6"}, {"question": "How is Mohave County related to Clark County that contains Henderson?", "choices": ["spouse", "sponsor", "shares border with", "game mode", "ancestral home", "vehicle normally used", "industry", "home venue", "penalty", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mohave County"]}, {"function": "Find", "dependencies": [], "inputs": ["Henderson"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clark County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mohave County\" . ?e_2 <pred:name> \"Clark County\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Henderson\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is Bono shorter, or is Geena Davis?", "choices": ["Rahul Dev Burman", "James E. Reilly", "Paul Simon", "Sylvester Stallone", "Richard Gere", "Bono", "William Henry Harrison", "Geena Davis", "Max Fleischer", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bono"]}, {"function": "Find", "dependencies": [], "inputs": ["Geena Davis"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bono\" .  } UNION { ?e <pred:name> \"Geena Davis\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bono"}, {"question": "Which US city is the capital of the Maryland county with zip code 20918?", "choices": ["Honolulu County", "Rockville", "Takoma Park", "Franklin", "Columbus", "Waukegan", "New Haven", "Annapolis", "Oakland", "Cumberland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "20918"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maryland"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Maryland\" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> \"20918\" .   }", "answer": "Rockville"}, {"question": "How many religions include the human who had pork as a last meal?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pork"]}, {"function": "Relate", "dependencies": [0], "inputs": ["had as last meal", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["religion"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <had_as_last_meal> ?e_2 . ?e_2 <pred:name> \"pork\" .   }", "answer": "1"}, {"question": "How is Morocco, with a total fertility rate of 2.545, related to North Africa?", "choices": ["filming location", "genre", "foundational text", "has part", "source of material", "part of", "country", "allegiance", "filmography", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morocco"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "2.545", "="]}, {"function": "Find", "dependencies": [], "inputs": ["North Africa"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Morocco\" . ?e_1 <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2.545\"^^xsd:double . ?e_2 <pred:name> \"North Africa\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "Does the movie that won for Best Actress at the 68th Academy Awards have a run-time other than 350 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "68th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["350 minute", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"68th Academy Awards\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"350\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Among the animated feature films whose publication date is after 1990, which has the smallest duration?", "choices": ["Toy Story", "Sailor Moon S: The Movie", "Winnie the Pooh", "Tarzan", "Legend of the Guardians: The Owls of Ga'Hoole", "The Prince of Egypt", "Treasure Planet", "Renaissance", "Ice Age: Dawn of the Dinosaurs", "Monster House"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1990", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1990 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sailor Moon S: The Movie"}, {"question": "Is the population of the county of New Jersey whose FIPS 6-4 (US counties) is 34005 greater than 950000 (the determination method of this statement is census)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "34005"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "determination method", "census"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["950000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"34005\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"950000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"census\" .  }", "answer": "no"}, {"question": "What is it that Aladdin (the one that has Charlie Adler as a voice actor) and Tim Allen (the one that is a crew member of The Princess and the Frog) have in common?", "choices": ["eye color", "distributor", "production designer", "hair color", "father", "occupation", "film crew member", "has edition", "winner", "official religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Adler"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aladdin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Princess and the Frog"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film crew member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Allen"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Aladdin\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Charlie Adler\" . ?e_2 <pred:name> \"Tim Allen\" . ?e_4 <film_crew_member> ?e_2 . ?e_4 <pred:name> \"The Princess and the Frog\" . ?e_1 ?p ?e_2 .  }", "answer": "film crew member"}, {"question": "Does Syracuse, capital of Onondaga County, or Utica have higher elevation above sea level?", "choices": ["White Plains", "Utica", "Auburn", "Glen Cove", "Syracuse", "Elmira", "Yonkers", "Ithaca", "Long Beach", "Troy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Onondaga County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Syracuse"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Utica"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Syracuse\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Onondaga County\" .   } UNION { ?e <pred:name> \"Utica\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Utica"}, {"question": "When did Hasbro, Inc., have a net gain of 375000000 USD?", "choices": ["2005-02-16", "2002-02-13", "2009-02-11", "2013-05-01", "2009", "2015-06-04", "2015-02-12", "2015-10-01", "2003-12-15", "1300"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hasbro, Inc."]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["net profit", "375000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hasbro, Inc.\" . ?e <net_profit> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"375000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_profit> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Which one was more expensive, The Mask of Zorro or Murder on the Orient Express (the one whose production company is 20th Century Fox)?", "choices": ["Talk to Her", "The Fifth Element", "The Mask of Zorro", "Curse of the Golden Flower", "Murder on the Orient Express", "Pleasantville", "The Towering Inferno", "Rebecca", "Training Day", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mask of Zorro"]}, {"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Murder on the Orient Express"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Mask of Zorro\" .  } UNION { ?e <pred:name> \"Murder on the Orient Express\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Mask of Zorro"}, {"question": "Is Brescia Calcio affiliated with the website www.cranstonri.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brescia Calcio"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.cranstonri.com"]}], "sparql": "ASK { ?e <pred:name> \"Brescia Calcio\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cranstonri.com\" .  }", "answer": "no"}, {"question": "What is the relationship between Mo Willems and Northampton, which has an area of 92.596395 square kilometres?", "choices": ["inspired by", "work location", "symptoms", "hair color", "use", "film distribute region", "student", "presenter", "series spin-off", "diplomatic relation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mo Willems"]}, {"function": "Find", "dependencies": [], "inputs": ["Northampton"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "92.596395 square kilometre", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mo Willems\" . ?e_2 <pred:name> \"Northampton\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"92.596395\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "work location"}, {"question": "Does Seton Hall University or Seattle University have less number of employees ?", "choices": ["King's College London", "University of Manchester", "McMaster University", "Seton Hall University", "Presidency University", "Seattle University", "Pennsylvania State University", "Imperial College London", "University of Tehran", "Panjab University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seton Hall University"]}, {"function": "Find", "dependencies": [], "inputs": ["Seattle University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seton Hall University\" .  } UNION { ?e <pred:name> \"Seattle University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seattle University"}, {"question": "Which region has the lower land area, Essex County (whose population is 784476) or Monmouth County?", "choices": ["Passaic County", "Morris County", "Bergen County", "Gloucester County", "Hudson County", "Cumberland County", "Cape May County", "Essex County", "Hunterdon County", "Monmouth County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "784476", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Monmouth County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Essex County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"784476\"^^xsd:double . } UNION { ?e <pred:name> \"Monmouth County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Essex County"}, {"question": "What is the official website of the rock band that is famous for drone music?", "choices": ["http://www.pattilabelle.com", "http://www.cityofbradenton.com", "https://www.uni-leipzig.de/", "http://www.vangelisworld.com/", "http://www.magd.ox.ac.uk/", "http://www.velvetundergroundmusic.com/", "http://www.chrysalis-records.co.uk/", "http://www.cafonline.com", "http://www.kdlang.com", "http://www.countyofbristol.net"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drone music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"drone music\" .  ?e <official_website> ?pv .  }", "answer": "http://www.velvetundergroundmusic.com/"}, {"question": "When was the population of the Texas county having the website of http://www.co.hidalgo.tx.us/ 842304?", "choices": ["1994-06-16", "2013-12-28", "1850-01-01", "2004-04-28", "2016-03-03", "2016-01-01", "1986-09-22", "2015-01-01", "1994-10-25", "1881"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.hidalgo.tx.us/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "842304", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.hidalgo.tx.us/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"842304\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "How many entities of popular music are within a hard rock genre and were not created in 1982?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1982", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["popular music"]}, {"function": "Find", "dependencies": [], "inputs": ["hard rock"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["popular music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1982 ) . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"hard rock\" .  }", "answer": "1"}, {"question": "What is the relationship between Murali (the one that is an ethnic group of Malayali) and India (the one that has a citizen Shriya Saran)?", "choices": ["programming paradigm", "manner of death", "next higher rank", "month of the year", "approved by", "country of citizenship", "language of work or name", "student of", "narrative location", "draft pick from school"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malayali"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Murali"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shriya Saran"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of citizenship", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Murali\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"Malayali\" . ?e_2 <pred:name> \"India\" . ?e_4 <country_of_citizenship> ?e_2 . ?e_4 <pred:name> \"Shriya Saran\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Does Newfoundland and Labrador or Manitoba have less land area?", "choices": ["Prince Edward Island", "Quebec", "Alberta", "Ontario", "Manitoba", "Nova Scotia", "Newfoundland and Labrador", "New Brunswick", "Saskatchewan", "British Columbia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newfoundland and Labrador"]}, {"function": "Find", "dependencies": [], "inputs": ["Manitoba"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Newfoundland and Labrador\" .  } UNION { ?e <pred:name> \"Manitoba\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Newfoundland and Labrador"}, {"question": "Which movie is shorter, Star Trek: First Contact or The Prestige?", "choices": ["Talk to Her", "Rebecca", "A Prairie Home Companion", "The Towering Inferno", "The Fifth Element", "The Hunchback of Notre Dame", "The Prestige", "Star Trek: First Contact", "Curse of the Golden Flower", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: First Contact"]}, {"function": "Find", "dependencies": [], "inputs": ["The Prestige"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Star Trek: First Contact\" .  } UNION { ?e <pred:name> \"The Prestige\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Star Trek: First Contact"}, {"question": "Is Chris Isaak's Instagram username chrisisaak?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Isaak"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["chrisisaak"]}], "sparql": "ASK { ?e <pred:name> \"Chris Isaak\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"chrisisaak\" .  }", "answer": "yes"}, {"question": "Which is shorter, Saw 3D or The Three Musketeers with Charlton Heston in the cast?", "choices": ["Rebecca", "The Towering Inferno", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "Talk to Her", "Curse of the Golden Flower", "Saw 3D"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saw 3D"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlton Heston"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saw 3D\" .  } UNION { ?e <pred:name> \"The Three Musketeers\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Charlton Heston\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Saw 3D"}, {"question": "Which of visual artworks reports a1200943x as the CANTIC-ID and t was nominated for Independent Spirit Award for Best Male Lead ?", "choices": ["The Savages", "The Fifth Element", "Talk to Her", "Pleasantville", "Rebecca", "Training Day", "Kinsey", "Platoon", "Affliction", "American Splendor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1200943x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Male Lead"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a1200943x\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Independent Spirit Award for Best Male Lead\" .  }", "answer": "Platoon"}, {"question": "Among visual artworks with the duration of below 60 minutes, which one is the shortest ?", "choices": ["The Sorcerer's Apprentice", "The Cure", "The Bodyguard", "Eve", "Sonic X", "Men in Black", "Puss in Boots", "Magic Knight Rayearth", "My-HiME", "Dragon Ball Z: Dead Zone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "60 minute", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"60\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Bodyguard"}, {"question": "What is the language associated with http://www.decca.com/, the official website for a record label which is the parent organization of Deram Records ?", "choices": ["Japanese", "English", "Armenian", "Dutch", "Korean", "Punjabi", "Luxembourgish", "Icelandic", "Canadian French", "Canadian English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Deram Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.decca.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <parent_organization> ?e . ?e_1 <pred:name> \"Deram Records\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.decca.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What are the number of metropolitan areas whose population is not equal to 4400000000 or whose WOEID is 23511738 ?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4400000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["WOEID", "23511738"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4400000000\"^^xsd:double ) .  } UNION { ?e <WOEID> ?pv . ?pv <pred:value> \"23511738\" .  } }", "answer": "8"}, {"question": "For Robert Klein (the one that is the citizen of France), what is the end time as a citizen of Romania (the one whose life expectancy is 70.5122 year)?", "choices": ["1948-01-01", "1948", "1945-08-14", "1863-09-17", "1995-11-23", "2011-07-09", "1943-01-01", "1951-04-29", "1865-05-10", "1941-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Klein"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Romania"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["life expectancy", "70.5122 year", "="]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["country of citizenship", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Klein\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"France\" . ?e_2 <pred:name> \"Romania\" . ?e_2 <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"70.5122\"^^xsd:double . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1948"}, {"question": "What is the role of Phil Collins, singer-songwriter, as the composer in Tarzan, distributed by Walt Disney Studios Motion Pictures ?", "choices": ["songwriter", "storyteller", "pen pal", "initialism", "singer", "overseas department of France", "mineral", "Three pillars of the European Union", "LAU 2", "minority language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["singer-songwriter"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Phil Collins"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["composer", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tarzan\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Walt Disney Studios Motion Pictures\" . ?e_2 <pred:name> \"Phil Collins\" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> \"singer-songwriter\" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "songwriter"}, {"question": "What is its duration of the film \u00a8Murder by Decree\u00a8?", "choices": ["1 academic term", "95 minute", "106 minute", "124 minute", "196 minute", "168 minute", "3751 second", "120.0 minute", "160 minute", "30 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Murder by Decree"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Murder by Decree\" . ?e <duration> ?pv .  }", "answer": "124 minute"}, {"question": "What is the title of the visual artwork about Christopher Columbus, namesake for Colombia?", "choices": ["Ithaca", "Colorado", "Rain Man", "50 First Dates", "The O.C.", "La Panth\u00e8re rose", "Damages", "Christopher Columbus: The Discovery", "Bel-Ami", "Gosford Park"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Columbus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"Christopher Columbus\" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> \"Colombia\" .  ?e <title> ?pv .  }", "answer": "Christopher Columbus: The Discovery"}, {"question": "At what point in time is 69943000000 United States dollars the total revenue of the agent having the CANTIC-ID a11919863?", "choices": ["2007-12-31", "1610", "1970-05-06", "1955-09-24", "1430", "2011", "1630", "1840-12-03", "1867", "1962-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11919863"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["total revenue", "69943000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11919863\" . ?e <total_revenue> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"69943000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "Is the official website of a school headquartered in New Work City (the street address of this statement is 630 West 168th Street) http://ps.columbia.edu/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["located at street address (DEPRECATED)", "630 West 168th Street"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["school"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://ps.columbia.edu/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New York City\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address_(DEPRECATED)> ?qpv . ?qpv <pred:value> \"630 West 168th Street\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://ps.columbia.edu/\" .  }", "answer": "yes"}, {"question": "When was Jesus College (the one whose ARCHON code is 2703) founded?", "choices": ["2009-01-01", "1496", "1379", "1967-03-16", "-5000", "1607", "1945-11-24", "1821-01-01", "1811-03-01", "1899-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jesus College"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "2703"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jesus College\" . ?e <ARCHON_code> ?pv_1 . ?pv_1 <pred:value> \"2703\" . ?e <inception> ?pv .  }", "answer": "1496"}, {"question": "Is the date of death of the human that died in Adelaide (whose local dialing code is 08707) not in 1971?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adelaide"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "08707"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1987", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Adelaide\" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"08707\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1987 ) .  }", "answer": "yes"}, {"question": "How many independent record labels there are whose headquarters lare in London (the one that is the twinned administrative body of Sofia) or whose official website is http://www.sugarhillrecords.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sofia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent record label"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["official website", "http://www.sugarhillrecords.com/"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["independent record label"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent record label\" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"London\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Sofia\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sugarhillrecords.com/\" .  } }", "answer": "4"}, {"question": "Does the land vehicle that is used for rail transport have an MIL-STD-2525 Symbol Identification Code equal to 10014000001604000000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rail transport"]}, {"function": "Relate", "dependencies": [0], "inputs": ["use", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["land vehicle"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["MIL-STD-2525 Symbol Identification Code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["10014000001604000000"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"land vehicle\" . ?e <use> ?e_1 . ?e_1 <pred:name> \"rail transport\" .  ?e <MIL-STD-2525_Symbol_Identification_Code> ?pv . ?pv <pred:value> \"10014000001604000000\" .  }", "answer": "no"}, {"question": "What is the address of the street where Birkbeck, University of London's headquarters location in London (the birthplace of Anthony Horowitz) is located at?", "choices": ["1032 W. Sheridan Rd", "5151 State University Dr", "3819 Beecher St NW", "Malet Street, Bloomsbury", "1570 Baltimore Pike, Lincoln University, PA, 19352-0999", "156 Thomas Boyd Hall, Baton Rouge, LA, 70803-2750", "101 Jessup Hall", "430 S Michigan Ave, Chicago, IL, 60605-1394", "5600 City Avenue, Philadelphia, PA, 19131-1395", "4000 Mayflower Hill Drive, Waterville, ME, 04901-8840"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Birkbeck, University of London"]}, {"function": "Find", "dependencies": [], "inputs": ["Anthony Horowitz"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Birkbeck, University of London\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Anthony Horowitz\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "Malet Street, Bloomsbury"}, {"question": "How is RWDM Brussels FC related to association football?", "choices": ["participant", "contributor(s) to the creative work", "had as last meal", "subsidiary", "superhuman feature or ability", "place of burial", "legislative body", "country of citizenship", "follows", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RWDM Brussels FC"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"RWDM Brussels FC\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How many video game publishers have the ISBN publisher prefix of 978-4-86233 and have a number of employees of less than 29900 active duty military personnel?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN publisher prefix", "978-4-86233"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game publisher"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["employees", "29900 active duty military personnel", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game publisher"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game publisher\" . ?e <ISBN_publisher_prefix> ?pv . ?pv <pred:value> \"978-4-86233\" . ?e <employees> ?pv_1 . ?pv_1 <pred:unit> \"active duty military personnel\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"29900\"^^xsd:double ) .  }", "answer": "0"}, {"question": "Who is the person that attended Fiorello H. LaGuardia High School and is a cast member of Zoolander?", "choices": ["David Duchovny", "Richard Benjamin", "Owen Wilson", "Wesley Snipes", "Cy Coleman", "Garry Shandling", "Jennifer Aniston", "Christian Slater", "Marlon Wayans", "Natalie Portman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fiorello H. LaGuardia High School"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Zoolander"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Fiorello H. LaGuardia High School\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"Zoolander\" .  }", "answer": "Christian Slater"}, {"question": "Is 0000 0000 7882 0827 the ISNI of the creator of Homeland?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Homeland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 7882 0827"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"Homeland\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7882 0827\" .  }", "answer": "no"}, {"question": "How many language families are the language used by Australia (that is the release territory of The City of Lost Children) and are the original language of Curse of the Golden Flower?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The City of Lost Children"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["language used", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language family"]}, {"function": "Find", "dependencies": [], "inputs": ["Curse of the Golden Flower"]}, {"function": "Relate", "dependencies": [6], "inputs": ["original language of film or TV show", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["language family"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language family\" . ?e_1 <language_used> ?e . ?e_1 <pred:name> \"Australia\" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> \"The City of Lost Children\" .  ?e_3 <original_language_of_film_or_TV_show> ?e . ?e_3 <pred:name> \"Curse of the Golden Flower\" .  }", "answer": "1"}, {"question": "What is the official website of the association football club whose Twitter username is S04?", "choices": ["https://www.kernel.org/", "http://www.surreycc.gov.uk/", "http://www.itscomplicatedmovie.com/", "http://www.silentbobspeaks.com/", "http://www.toninoguerra.org/", "http://www.jvcmusic.co.jp/maaya", "http://www.cityofboston.gov/", "https://schalke04.de/", "http://www.guypearce.net/", "http://www.geelong.vic.gov.au/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "S04"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"S04\" . ?e <official_website> ?pv .  }", "answer": "https://schalke04.de/"}, {"question": "How many subscribers are linked to berman_rick, the Twitter username of someone whose ISNI is 0000 0000 7823 7105 ?", "choices": ["32567", "540386", "8890", "1072401", "121300", "6537", "97687", "331161", "251180", "102433"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7823 7105"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "berman_rick", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7823 7105\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"berman_rick\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "32567"}, {"question": "How many Primetime Emmy Awards did Hume Cronyn (whose date of death is 2003-06-15) win or are conferred by the United States House of Representatives?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hume Cronyn"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2003-06-15", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Primetime Emmy Award"]}, {"function": "Find", "dependencies": [], "inputs": ["United States House of Representatives"]}, {"function": "Relate", "dependencies": [4], "inputs": ["conferred by", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["Primetime Emmy Award"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Hume Cronyn\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"2003-06-15\"^^xsd:date .  } UNION { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> \"United States House of Representatives\" .  } }", "answer": "2"}, {"question": "Regarding the person that has the name in native language Dean Cain, his or her Twitter username is RealDeanCain, what is the number of subscribers this user has?", "choices": ["840580", "48", "1248170", "447203", "45414", "400175", "476", "16493", "134823", "7886"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Dean Cain"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "RealDeanCain", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Dean Cain\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"RealDeanCain\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "840580"}, {"question": "How many colors have the Iconclass notation 22C4(BLUE) or are the opposite of brown?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "22C4(BLUE)"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["color"]}, {"function": "Find", "dependencies": [], "inputs": ["brown"]}, {"function": "Relate", "dependencies": [3], "inputs": ["opposite of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["color"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"color\" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"22C4(BLUE)\" .  } UNION { ?e <opposite_of> ?e_1 . ?e_1 <pred:name> \"brown\" .  } }", "answer": "1"}, {"question": "Is the run-time shorter for Back to the Future Part II or for the Back to the Future with director of photography Dean Cundey?", "choices": ["The Flintstones in Viva Rock Vegas", "The Muppets", "Alvin and the Chipmunks: Chipwrecked", "John Carter", "Holes", "Back to the Future", "National Treasure: Book of Secrets", "The Flintstones", "G-Force", "Back to the Future Part II"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part II"]}, {"function": "Find", "dependencies": [], "inputs": ["Dean Cundey"]}, {"function": "Relate", "dependencies": [1], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Back to the Future"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Back to the Future Part II\" .  } UNION { ?e <pred:name> \"Back to the Future\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Dean Cundey\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Back to the Future Part II"}, {"question": "Is the date of birth of the person having the ISNI 0000 0001 1450 2616 not in the year 1932?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1450 2616"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1932", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1450 2616\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1932 ) .  }", "answer": "yes"}, {"question": "Was the cost of an album soundtrack for Star Wars Episode V: The Empire Strikes Back (the one that origins from United Kingdom) more or less than 4400000 USD?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode V: The Empire Strikes Back"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["soundtrack album", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["cost"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["4400000 United States dollar", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <soundtrack_album> ?e_1 . ?e_1 <pred:name> \"Star Wars Episode V: The Empire Strikes Back\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .  ?e <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4400000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does Topsy-Turvy last 15 weeks?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Topsy-Turvy"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["15 week", "!="]}], "sparql": "ASK { ?e <pred:name> \"Topsy-Turvy\" . ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v != \"15\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many in pop music are a facet of the rock band whose Twitter username is originalasia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "originalasia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["pop music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pop music\" . ?e <facet_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"rock band\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"originalasia\" .   }", "answer": "0"}, {"question": "How many subscribers does George Strait have under the Twitter username GeorgeStrait?", "choices": ["1043", "329401", "133272", "7666319", "15092", "136532", "30866", "933", "344361", "223721"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Strait"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "GeorgeStrait", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"George Strait\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"GeorgeStrait\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "329401"}, {"question": "What monarch has the position of George III of Great Britain and is the noble title of Elizabeth II?", "choices": ["director general", "Master", "pope", "dean", "Holy Roman Emperor", "Vice President of the United States", "crown prince", "bishop", "duke", "chairperson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George III of Great Britain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["monarch"]}, {"function": "Find", "dependencies": [], "inputs": ["Elizabeth II"]}, {"function": "Relate", "dependencies": [3], "inputs": ["noble title", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["monarch"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"monarch\" . ?e_1 <position_held> ?e . ?e_1 <pred:name> \"George III of Great Britain\" .  ?e_2 <noble_title> ?e . ?e_2 <pred:name> \"Elizabeth II\" .  }", "answer": "duke"}, {"question": "What is the Linguasphere code of the natural language that is used by Michael Curtiz?", "choices": ["12-AAC", "53-AAA-hb", "79-AAA-b", "41-AAA-a", "46-EBA", "59-AAF-u", "12-AAB-a", "41-BAA-a", "53-AAA-ea", "45-AAA-a"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Curtiz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["natural language"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Linguasphere code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"natural language\" . ?e_1 <languages_spoken,_written_or_signed> ?e . ?e_1 <pred:name> \"Michael Curtiz\" .  ?e <Linguasphere_code> ?pv .  }", "answer": "41-BAA-a"}, {"question": "What is the FIPS 6-4 (US counties) of a county of Pennsylvania known by its official website http://www.co.wayne.pa.us?", "choices": ["06027", "42127", "34031", "37119", "25005", "36043", "36039", "21227", "36051", "25013"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.wayne.pa.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.wayne.pa.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "42127"}, {"question": "Which has higher elevation above sea level, San Juan (the one whose local dialing code is 02) or Lincoln (the one whose local dialing code is 01522)?", "choices": ["Lincoln", "Kilkenny", "San Juan", "Santo Domingo", "Abidjan", "Bergen", "Dundee", "Cork", "Chihuahua", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Juan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "02"]}, {"function": "Find", "dependencies": [], "inputs": ["Lincoln"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["local dialing code", "01522"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Juan\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"02\" . } UNION { ?e <pred:name> \"Lincoln\" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> \"01522\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lincoln"}, {"question": "What are the number of islands whose life expectancy is not equal to 35 year or whose width is greater than 120 millimetre ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "35 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["width", "120 millimetre", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["island"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" .  { ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v != \"35\"^^xsd:double ) .  } UNION { ?e <width> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"120\"^^xsd:double ) .  } }", "answer": "2"}, {"question": "Of first-level administrative country subdivisions founded later than 1823, which occupies the least area?", "choices": ["Melaka", "Oaxaca", "Podlaskie Voivodeship", "Australian Capital Territory", "Minas Gerais", "Victoria", "Eastern Cape", "Khyber Pakhtunkhwa", "Chihuahua", "Brandenburg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1823", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1823 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Melaka"}, {"question": "What association football club has the nickname \u0397 \u039a\u03bf\u03c5\u03ba\u03bf\u03c5\u03b2\u03ac\u03b3\u03b9\u03b1 and a member named Mauricio Pinilla (whose height is 187 centimeters)?", "choices": ["Club Universidad de Chile", "Cagliari Calcio", "A.C. ChievoVerona", "Stade Brestois 29", "Brisbane Roar FC", "Zamalek SC", "Middlesbrough F.C.", "U.S. Grosseto F.C.", "Hibernian F.C.", "A.S. Roma"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "\u0397 \u039a\u03bf\u03c5\u03ba\u03bf\u03c5\u03b2\u03ac\u03b3\u03b9\u03b1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Mauricio Pinilla"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["height", "187 centimetre", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv . ?pv <pred:value> \"\u0397 \u039a\u03bf\u03c5\u03ba\u03bf\u03c5\u03b2\u03ac\u03b3\u03b9\u03b1\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Mauricio Pinilla\" . ?e_1 <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"187\"^^xsd:double .  }", "answer": "Club Universidad de Chile"}, {"question": "Who is the person with Libris-URI fcrv01jz563fbjw and whose genre is alternative rock?", "choices": ["Chad Smith", "David Duchovny", "Max Fleischer", "Yoko Ono", "Richard Gere", "PJ Harvey", "David Byrne", "The Edge", "Kurt Cobain", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "fcrv01jz563fbjw"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"fcrv01jz563fbjw\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"alternative rock\" .  }", "answer": "Kurt Cobain"}, {"question": "What is the beginning date that Luxembourg (that has military conflicts with Canada) is a member of NATO?", "choices": ["2012-03-24", "2015-01-21", "1526", "1946-06-02", "1949-04-04", "1949-10-07", "1956-10-07", "1986-06-09", "1934-08-02", "1887"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Luxembourg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["NATO"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Luxembourg\" . ?e_1 <military_conflicts> ?e_3 . ?e_3 <pred:name> \"Canada\" . ?e_2 <pred:name> \"NATO\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1949-04-04"}, {"question": "What is the number of contemporary folk music that has famous people Enya or inception time of 1927.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enya"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["contemporary folk music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1927", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["contemporary folk music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"contemporary folk music\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Enya\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> 1927 .  } }", "answer": "2"}, {"question": "Which activity is titled The Incredible Hulk?", "choices": ["politics of the United States", "The Incredible Hulk", "philanthropy", "Battleship", "music video game", "Spider-Man", "TMNT", "Bolt", "theft", "Batman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Incredible Hulk"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <title> ?pv . ?pv <pred:value> \"The Incredible Hulk\" .  }", "answer": "The Incredible Hulk"}, {"question": "Which basketball team's Twitter username is cavs?", "choices": ["Boston Celtics", "Brooklyn Nets", "Villanova Wildcats men's basketball", "Houston Rockets", "Toronto Raptors", "Los Angeles Lakers", "New Orleans Pelicans", "Cleveland Cavaliers", "San Antonio Spurs", "Los Angeles Clippers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "cavs"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"cavs\" .  }", "answer": "Cleveland Cavaliers"}, {"question": "what is the name of the University that you can find in the state of the United States that has the pronunciation audio En-us-Nebraska.ogg", "choices": ["Georgia State University", "University of Alabama at Birmingham", "Wesleyan University", "Fairleigh Dickinson University", "Douglas County", "Lancaster County", "University of Adelaide", "University of Halle-Wittenberg", "Creighton University", "Cass County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "En-us-Nebraska.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["university"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"En-us-Nebraska.ogg\" .   }", "answer": "Creighton University"}, {"question": "What is the connection between Carl Gustav Jung to Nobel Prize in Physiology or Medicine?", "choices": ["sibling", "stated in", "exported to", "nominated for", "works in collection", "vehicle normally used", "dissertation submitted to", "original network", "medical condition", "coextensive with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carl Gustav Jung"]}, {"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Physiology or Medicine"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carl Gustav Jung\" . ?e_2 <pred:name> \"Nobel Prize in Physiology or Medicine\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "ISNI number 0000 0001 2018 2049 identifies the most recognized person in which genre of music?", "choices": ["hip hop music", "Punk blues", "urban contemporary gospel", "big beat", "alternative hip hop", "neo soul", "contemporary classical music", "classic rock", "intelligent dance music", "neofolk"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2018 2049"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["music genre"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2018 2049\" .   }", "answer": "neo soul"}, {"question": "Who died on 2008-10-12?", "choices": ["Ray Charles", "Richard Gere", "James E. Reilly", "William Henry Harrison", "Aaron Spelling", "Eddie Albert", "Michelangelo Antonioni", "Carl Friedrich Gauss", "Bill Nelson", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2008-10-12", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:date> \"2008-10-12\"^^xsd:date .  }", "answer": "James E. Reilly"}, {"question": "When did Eurythmics win MTV Video Music Award for Best New Artist ?", "choices": ["1984", "1930", "2006", "1795", "1917", "1775-01-01", "1975-05-01", "2012-06-01", "2014-05-08", "1735"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best New Artist"]}, {"function": "Find", "dependencies": [], "inputs": ["Eurythmics"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best New Artist\" . ?e_2 <pred:name> \"Eurythmics\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1984"}, {"question": "What is the inception time of Euro disco ?", "choices": ["1947-05-03", "1821-08-10", "1760-01-01", "1978-01-01", "1903-02-07", "1819-01-01", "1088", "1898-12-10", "1964-08-01", "1826-12-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Euro disco"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Euro disco\" . ?e <inception> ?pv .  }", "answer": "1978-01-01"}, {"question": "What is John Abraham's birth date (the one that died in Kozhikode)?", "choices": ["1962-05-09", "1819-05-31", "1967-06-15", "1947-07-20", "1944-01-23", "1961-08-19", "1937-08-11", "1922-03-21", "1931-01-17", "1968-12-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kozhikode"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Abraham"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Abraham\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Kozhikode\" .  ?e <date_of_birth> ?pv .  }", "answer": "1937-08-11"}, {"question": "What U.S. city has an inception time, not in 1991 and is Carole Lombard's birthplace?", "choices": ["Springfield", "Fort Wayne", "Steubenville", "Carmel-by-the-Sea", "Bay City", "Plano", "Waukegan", "Santa Rosa", "Franklin", "New Haven"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1991", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Carole Lombard"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Carole Lombard\" .  }", "answer": "Fort Wayne"}, {"question": "Was Babylon 5: The Gathering released not in 1996?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Babylon 5: The Gathering"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1996", "!="]}], "sparql": "ASK { ?e <pred:name> \"Babylon 5: The Gathering\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1996 ) .  }", "answer": "yes"}, {"question": "What is the criterion used for the calendar month that follows December, its name \u044f\u043d\u0432\u0430\u0440\u044f?", "choices": ["genitive case", "apogee", "Preferred", "nickname", "perigee", "architectural height", "Doctor Who", "term", "contrast", "number of episodes at the end of the current season or the last one aired"], "program": [{"function": "Find", "dependencies": [], "inputs": ["December"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["calendar month"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["name", "\u044f\u043d\u0432\u0430\u0440\u044f", "criterion used"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"December\" .  ?e <name> ?pv . ?pv <pred:value> \"\u044f\u043d\u0432\u0430\u0440\u044f\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv ] <criterion_used> ?qpv .  }", "answer": "genitive case"}, {"question": "Which university has fewer students, National and Kapodistrian University of Athens or University of Queensland?", "choices": ["Birkbeck, University of London", "San Diego State University", "National and Kapodistrian University of Athens", "University of Hamburg", "Panjab University", "University of Melbourne", "King's College London", "University of Tasmania", "University of Queensland", "University of Michigan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National and Kapodistrian University of Athens"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Queensland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"National and Kapodistrian University of Athens\" .  } UNION { ?e <pred:name> \"University of Queensland\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Queensland"}, {"question": "How many businesspersons are connected to the sport boxing or have the ROME Occupation Code (v3) D1201?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["boxing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["businessperson"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "D1201"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["businessperson"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"businessperson\" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> \"boxing\" .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"D1201\" .  } }", "answer": "2"}, {"question": "When was the sound with the subreddit dreampop invented?", "choices": ["1905-03-10", "1278", "1747", "1876-03-11", "1861-04-21", "1945", "1937-03-01", "1971-03-26", "1525", "1982-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "dreampop"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sound"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sound\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"dreampop\" . ?e <inception> ?pv .  }", "answer": "1982-01-01"}, {"question": "Is the title of Runaway Jury equal to The Men Who Stare at Goats?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Runaway Jury"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["The Men Who Stare at Goats"]}], "sparql": "ASK { ?e <pred:name> \"Runaway Jury\" . ?e <title> ?pv . ?pv <pred:value> \"The Men Who Stare at Goats\" .  }", "answer": "no"}, {"question": "What is the official website of the video game developer, Apogee Software (the start time of this statement is 1987)?", "choices": ["http://www.huttcity.govt.nz", "http://www.oslo.kommune.no/", "http://www.3drealms.com/", "https://www.nytimes3xbfgragh.onion/", "http://www.citykankakee-il.gov/", "https://www.comune.treviso.it/", "http://www.uu.nl/", "http://www.cbs.com/shows/the_twilight_zone/", "http://www.oregon.gov", "http://www.dixiechicks.com"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name", "Apogee Software"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1987", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <name> ?pv_1 . ?pv_1 <pred:value> \"Apogee Software\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:year> 1987 . ?e <official_website> ?pv .  }", "answer": "http://www.3drealms.com/"}, {"question": "Who is the spouse of the person whose CANTIC-ID is a10359229?", "choices": ["Aasif Mandvi", "Patricia Arquette", "Martin Scorsese", "Justin Timberlake", "Victoria Beckham", "Julie Andrews", "Rosanna Arquette", "Ava Gardner", "Samuel L. Jackson", "Kim Basinger"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10359229"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["spouse", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a10359229\" .   }", "answer": "Patricia Arquette"}, {"question": "To which part of the geographic region that is the continent where Colombia is located does the demonym \"Am\u00e9ricaine\" apply?", "choices": ["Sullivan County", "female", "Congress Poland", "computer science", "Kivalliq Region", "Union County", "family name", "land", "city hall", "2nd arrondissement of Lyon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "Am\u00e9ricaine", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <continent> ?e . ?e_1 <pred:name> \"Colombia\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Am\u00e9ricaine\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "female"}, {"question": "What number of animated movies have fewer than 830 episodes?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "830", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"830\"^^xsd:double ) .  }", "answer": "9"}, {"question": "What does pop music have to do with Jesse McCartney?", "choices": ["place of birth", "famous people", "hair color", "musical conductor", "place served by transport hub", "season starts", "fictional universe described in", "followed by", "office held by head of government", "voice type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pop music"]}, {"function": "Find", "dependencies": [], "inputs": ["Jesse McCartney"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"pop music\" . ?e_2 <pred:name> \"Jesse McCartney\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many mechanical waves are the genre of Judas Priest and are a part of art punk?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judas Priest"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "Find", "dependencies": [], "inputs": ["art punk"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mechanical wave"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Judas Priest\" .  ?e <part_of> ?e_2 . ?e_2 <pred:name> \"art punk\" .  }", "answer": "0"}, {"question": "What is the beginning date that James Brown (whose weight is 325 pounds) becomes a member of the New York Jets?", "choices": ["1992", "1953", "2003-05-24", "-4900", "1994-09-22", "1727", "1977-05-20", "1899-10-11", "1960-02-18", "2011-03-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "325 pound", "="]}, {"function": "Find", "dependencies": [], "inputs": ["New York Jets"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <mass> ?pv . ?pv <pred:unit> \"pound\" . ?pv <pred:value> \"325\"^^xsd:double . ?e_2 <pred:name> \"New York Jets\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1992"}, {"question": "Does Ice Age: Continental Drift or Rise of the Guardians have the longer running time?", "choices": ["The Rescuers", "Beauty and the Beast", "Peter Pan", "Shrek 2", "Lilo & Stitch", "Ice Age: Continental Drift", "Rise of the Guardians", "Aladdin", "WALL\u00b7E", "Winnie the Pooh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ice Age: Continental Drift"]}, {"function": "Find", "dependencies": [], "inputs": ["Rise of the Guardians"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ice Age: Continental Drift\" .  } UNION { ?e <pred:name> \"Rise of the Guardians\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rise of the Guardians"}, {"question": "How many National Football League Drafts preceded the 2005 NFL Draft?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2005 NFL Draft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"2005 NFL Draft\" .   }", "answer": "1"}, {"question": "Was the person with ISNI designation 0000 0000 7357 1825 born in the year 1912 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7357 1825"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1912", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7357 1825\" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1912 .  }", "answer": "no"}, {"question": "Who is the partner of Jude Law?", "choices": ["Sienna Miller", "Norman Jewison", "Richard Gere", "Jack Nicholson", "Sylvester Stallone", "William Henry Harrison", "Isabella Rossellini", "Neil Jordan", "Diana Wynne Jones", "James Stewart"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jude Law"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <partner> ?e . ?e_1 <pred:name> \"Jude Law\" .   }", "answer": "Sienna Miller"}, {"question": "The Phantom of the Opera, featuring Miranda Richardson as a cast member, is based on a play by which writer?", "choices": ["Richard Gere", "Sylvester Stallone", "John Wood", "Tim Rice", "Tennessee Williams", "Andrew Lloyd Webber", "Anna Gunn", "Michael Jackson", "Arthur Miller", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miranda Richardson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom of the Opera"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["play"]}, {"function": "Relate", "dependencies": [5], "inputs": ["author", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <author> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"play\" . ?e_2 <based_on> ?e_1 . ?e_2 <pred:name> \"The Phantom of the Opera\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"Miranda Richardson\" .   }", "answer": "Andrew Lloyd Webber"}, {"question": "How is Larry Charles related to Jewish people?", "choices": ["ethnic group", "theme music", "contributing factor of", "archives at", "professional or sports partner", "stated in", "honorific prefix", "interested in", "location of final assembly", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Larry Charles"]}, {"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Larry Charles\" . ?e_2 <pred:name> \"Jewish people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What is the title of the film that mainly depicts psychology?", "choices": ["Fear the Walking Dead", "Law & Order: Special Victims Unit", "Corpse Bride", "The Imaginarium of Doctor Parnassus", "Midnight in the Garden of Good and Evil", "Ulysses' Gaze", "The Social Network", "Unstoppable", "Ordinary People", "Brazil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["psychology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"psychology\" .  ?e <title> ?pv .  }", "answer": "Ordinary People"}, {"question": "What is the official website for the school with ISNI 0000 0001 2154 761X?", "choices": ["http://www.sega.com/gamesite/ironman/index.php", "http://www.seibulions.jp/", "http://mitsloan.mit.edu", "http://www.vcu.edu/", "http://www.lauryn-hill.com/", "http://www.itv.com/downtonabbey", "http://www.cbc.radio-canada.ca", "http://www.transformersmovie.com/", "http://www.uw.edu.pl/", "https://www.warnerbros.com/cloud-atlas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2154 761X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2154 761X\" . ?e <official_website> ?pv .  }", "answer": "http://mitsloan.mit.edu"}, {"question": "Is the suspension bridge with fewer than 1.1 spans under 95 mm tall ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of spans", "1.1", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["suspension bridge"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["95 millimetre", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"suspension bridge\" . ?e <number_of_spans> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"1.1\"^^xsd:double ) . ?e <height> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"95\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Is the publication date of the activity that is a derivative work of Toy Story (the one whose release region is South Korea), not in 2002 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Toy Story"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["2002", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Toy Story\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"South Korea\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2002 ) .  }", "answer": "yes"}, {"question": "How many Oregon counties are located in or next to the Pacific Ocean or contain Portland (which contains Reed College)?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "Find", "dependencies": [], "inputs": ["Reed College"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Oregon"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" .  { ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Pacific Ocean\" .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Portland\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Reed College\" .  } }", "answer": "4"}, {"question": "What is the official website of the Pennsylvania county whose population is 280715?", "choices": ["https://www.nintendo.co.uk/", "http://empire.shakira.com/", "http://www.vinniejones.co.uk/", "http://www.scotland.org/", "http://richardfeynman.com/", "http://www.landkreishildesheim.de", "http://www.goldenglobes.com", "http://www.spvggunterhaching.de/", "http://www.shropshire.gov.uk/", "http://www.eriecountygov.org"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "280715", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"280715\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.eriecountygov.org"}, {"question": "When did Burkina Faso have a population of 6398937?", "choices": ["1914", "2001-02-21", "1994-01-01", "1994-10-25", "1977", "2004-04-01", "1919-01-01", "2011-02-02", "2018-07-06", "2015-08-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burkina Faso"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "6398937", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Burkina Faso\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"6398937\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1977"}, {"question": "Which human died from the symptom whose ICD-9-CM is 786.09?", "choices": ["Sylvester Stallone", "Max Fleischer", "Kevin Corrigan", "Richard Gere", "William Shakespeare", "Chris Evans", "William Henry Harrison", "Static Major", "David Byrne", "Brian Keith"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-9-CM", "786.09"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["symptom"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cause of death", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"symptom\" . ?e_1 <ICD-9-CM> ?pv . ?pv <pred:value> \"786.09\" .   }", "answer": "Static Major"}, {"question": "How many subscribers are there for the Twitter username BryanCranston obe Bryan Cranston?", "choices": ["3032800", "40141", "62350", "2168099", "3592046", "1432018", "428255", "2674631", "577240", "6021669"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryan Cranston"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "BryanCranston", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bryan Cranston\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"BryanCranston\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "2168099"}, {"question": "How is Wyatt Earp whose Libris-URI is nl038mv62xc6jw1 related to sheriff?", "choices": ["license", "field of work", "notable people with this condition", "legislative body", "broadcast by", "place of publication", "stated in", "owner of", "based on", "languages spoken, written or signed"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wyatt Earp"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "nl038mv62xc6jw1"]}, {"function": "Find", "dependencies": [], "inputs": ["sheriff"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wyatt Earp\" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> \"nl038mv62xc6jw1\" . ?e_2 <pred:name> \"sheriff\" . ?e_1 ?p ?e_2 .  }", "answer": "field of work"}, {"question": "Which ISNI designates the Jack Abbott who was hung to death?", "choices": ["0000 0001 1450 5139", "0000 0001 2144 7715", "0000 0000 7826 9000", "0000 0003 6856 2870", "0000 0001 1008 893X", "0000 0001 2102 9679", "0000 0001 2026 3367", "0000 0000 7100 6267", "0000 0004 0404 3120", "0000 0001 0938 9014"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hanging"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Abbott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jack Abbott\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> \"hanging\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2026 3367"}, {"question": "How is El Dorado County related to Placer County?", "choices": ["tributary", "official residence", "narrative role", "film distribute region", "ancestral home", "commissioned by", "religion", "organisation directed from the office or person", "instrument", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["El Dorado County"]}, {"function": "Find", "dependencies": [], "inputs": ["Placer County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"El Dorado County\" . ?e_2 <pred:name> \"Placer County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is the archon code exactly 119 for Westminster Abbey?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Westminster Abbey"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ARCHON code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["119"]}], "sparql": "ASK { ?e <pred:name> \"Westminster Abbey\" . ?e <ARCHON_code> ?pv . ?pv <pred:value> \"119\" .  }", "answer": "yes"}, {"question": "What is the method used to determined that the total fertility rate of a sovereign state, the country that gave birth to  folk metal, with a diplomatic relation with Israel (the subject of this statement is Guatemala__srael relations), is 4.543 ?", "choices": ["Curse of the Golden Flower", "Pleasantville", "Rebecca", "Talk to Her", "The Fifth Element", "Knight and Day", "The Hunchback of Notre Dame", "Batman Begins", "Training Day", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Knight and Day"]}, {"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman Begins"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Knight and Day\" .  } UNION { ?e <pred:name> \"Batman Begins\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Austria\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Knight and Day"}, {"question": "Is http://www.warren.org/ the official website for Warren County (whose population is 108210)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "108210", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://www.warren.org/"]}], "sparql": "ASK { ?e <pred:name> \"Warren County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"108210\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.warren.org/\" .  }", "answer": "no"}, {"question": "What is the place of publication for the visual artwork published 2012-03-22 that is titled Take Shelter?", "choices": ["Grauman's Chinese Theatre", "Egypt", "Stockholm", "R\u00e4ttvik", "Germany", "British Hong Kong", "Chile", "Ireland", "Netherlands", "Russia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Take Shelter"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2012-03-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Take Shelter\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-03-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which movie is longer, Unknown (the one whose genre is drama film) or Little Fockers?", "choices": ["Pleasantville", "Little Fockers", "Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "Rebecca", "Unknown", "Training Day", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Unknown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Little Fockers"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Unknown\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"drama film\" .   } UNION { ?e <pred:name> \"Little Fockers\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Unknown"}, {"question": "Which US town is 17 meters above sea level?", "choices": ["Fairfield", "Syracuse", "Huntington", "Juneau", "Uxbridge", "Greenwich", "New London", "Concord", "Greenville", "Newton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "17 metre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"17\"^^xsd:double .  }", "answer": "Greenwich"}, {"question": "Deutsche Synchronkartei actor-ID 18 represents which person?", "choices": ["Eileen Brennan", "Richard Gere", "Faye Dunaway", "Dinah Shore", "William Henry Harrison", "Sylvester Stallone", "Anne Bancroft", "Kevin Smith", "Max Fleischer", "Harry Shum"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "18"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"18\" .  }", "answer": "Anne Bancroft"}, {"question": "Is J. R. Cash the birth name of the person who has the medical condition diabetes mellitus?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["diabetes mellitus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["medical condition", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["J. R. Cash"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <medical_condition> ?e_1 . ?e_1 <pred:name> \"diabetes mellitus\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"J. R. Cash\" .  }", "answer": "yes"}, {"question": "What is Crunk's inception time?", "choices": ["1978-07-22", "1811-05-01", "1934", "1931-05-01", "2005", "1680", "1797-07-27", "1997-01-01", "1945-08-19", "1745-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crunk"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Crunk\" . ?e <inception> ?pv .  }", "answer": "1997-01-01"}, {"question": "How many Massachusetts counties border the administrative territorial entity with ISNI 0000 0004 0460 1946?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0460 1946"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Massachusetts"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"administrative territorial entity\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0460 1946\" .   }", "answer": "2"}, {"question": "At what point in time is 12545849083.0183 United States dollars the nominal GDP of Nigeria?", "choices": ["2018-12-31", "2009-11-20", "2805", "2014-01-31", "1947-01-01", "2007-02-11", "1986-03-24", "2013-05-23", "1970-01-01", "1497-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nigeria"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["nominal GDP", "12545849083.0183 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nigeria\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"12545849083.0183\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1970-01-01"}, {"question": "What is Jacob Vargas's ISNI?", "choices": ["0000 0001 1576 5725", "0000 0003 6858 8165", "0000 0001 2150 6738", "0000 0001 1124 8579", "0000 0001 1768 9543", "0000 0001 1551 1100", "0000 0000 7841 1046", "0000 0001 1470 6205", "0000 0000 7840 3433", "0000 0001 0930 5677"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jacob Vargas"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jacob Vargas\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1768 9543"}, {"question": "How is the Japanese Digimon Adventure related to Japan?", "choices": ["edition or translation of", "continent", "country of origin", "next lower rank", "editor", "performer", "record label", "health specialty", "has effect", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Digimon Adventure"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Digimon Adventure\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"Japanese\" . ?e_2 <pred:name> \"Japan\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What position does Shaquille O'Neal play on the Miami Heat team?", "choices": ["forward", "point guard", "defensive tackle", "center", "shooting guard", "power forward", "swingman", "running back", "midfielder", "small forward"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shaquille O'Neal"]}, {"function": "Find", "dependencies": [], "inputs": ["Miami Heat"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "position played on team / speciality"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shaquille O'Neal\" . ?e_2 <pred:name> \"Miami Heat\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <position_played_on_team_/_speciality> ?qpv .  }", "answer": "center"}, {"question": "Is the cable channel whose official website is http://www.tlc.com/ begun before 1811?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tlc.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cable channel"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1811", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tlc.com/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1811 ) .  }", "answer": "no"}, {"question": "How is Rambo distributed by Lions Gate Entertainment related to Brian Tyler?", "choices": ["given name", "home port", "replaces", "military conflicts", "producer", "exported to", "registered with", "record label", "territory overlaps", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lions Gate Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rambo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brian Tyler"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rambo\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Lions Gate Entertainment\" . ?e_2 <pred:name> \"Brian Tyler\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Which natural language that is the original language of Iron Man (that received a Saturn Award for Best Director) has the most speakers?", "choices": ["American English", "Bhangra", "Gordon Brown", "Hungarian", "Thai", "Canadian English", "film director", "Life of Pi", "Australian English", "Persian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["original language of film or TV show", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["natural language"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["number of speakers", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"natural language\" . ?e_1 <original_language_of_film_or_TV_show> ?e . ?e_1 <pred:name> \"Iron Man\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Saturn Award for Best Director\" .  ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Persian"}, {"question": "Which film was written by William S. Burroughs?", "choices": ["Dr. Strangelove", "Naked Lunch", "Talk to Her", "A Prairie Home Companion", "A Time to Kill", "Rebecca", "Murder by Decree", "Moonraker", "Pleasantville", "Saw"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William S. Burroughs"]}, {"function": "Relate", "dependencies": [0], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"William S. Burroughs\" .   }", "answer": "Naked Lunch"}, {"question": "To what relation type does hypothyroidism map, with its UMLS CUI of C0020676?", "choices": ["32.15", "Historic Tibet Map.png", "Ka-rdze.ogg", "C07.550.781", "broad match", "\u0c95\u0ca8\u0ccd\u0ca8\u0ca1", "close match", "exact match", "narrow match", "2098460"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hypothyroidism"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["UMLS CUI", "C0020676", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"hypothyroidism\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0020676\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "When did Sarajevo (the one that is the twinned administrative body of Budapest) become the twinned administrative body of Tripoli (the one that is the twinned administrative body of Tashkent)?", "choices": ["2017-01-20", "1994-06-06", "1997-03-14", "1879", "2008-09-20", "1846-12-28", "2004-06-05", "1822", "1976", "1985-05-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Budapest"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sarajevo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tashkent"]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tripoli"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sarajevo\" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> \"Budapest\" . ?e_2 <pred:name> \"Tripoli\" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> \"Tashkent\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1976"}, {"question": "Is the area of the geographic region whose kana name is \u304d\u3093\u304d\u3061\u307b\u3046 (Kinki chih\u014d in the Revised Hepburn romanization) not equal to 1700000 square kilometres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in kana", "\u304d\u3093\u304d\u3061\u307b\u3046"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["Revised Hepburn romanization", "Kinki chih\u014d"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["geographic region"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["1700000 square kilometre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <name_in_kana> ?pv_1 . ?pv_1 <pred:value> \"\u304d\u3093\u304d\u3061\u307b\u3046\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name_in_kana> ; <pred:fact_t> ?pv_1 ] <Revised_Hepburn_romanization> ?qpv . ?qpv <pred:value> \"Kinki chih\u014d\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1700000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "When was the conclusion of The A-Team, with run-time 45 minutes, first broadcast on NBC?", "choices": ["2006-01-16", "1980-07-18", "1987", "2006-05-18", "1815-02-18", "1861", "1827-03-04", "1968-10-27", "2003-09-03", "1845"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The A-Team"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "45 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["original network", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The A-Team\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"45\"^^xsd:double . ?e_2 <pred:name> \"NBC\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1987"}, {"question": "Is 64 the edition number of the Academy Awards ceremony award that was received by Dorothy Malone?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dorothy Malone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["edition number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["64"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Dorothy Malone\" .  ?e <edition_number> ?pv . ?pv <pred:value> \"64\" .  }", "answer": "no"}, {"question": "Was the band with official website http://www.jameschristianmusic.com/ founded before 1680?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jameschristianmusic.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1680", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.jameschristianmusic.com/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1680 ) .  }", "answer": "no"}, {"question": "What visual artwork has the person born on 1985-06-02 as a cast member?", "choices": ["The Terminal", "The Goonies", "Star Trek: Insurrection", "The Great Gatsby", "Appleseed Ex Machina", "Heat", "My Fair Lady", "Algiers", "The Ides of March", "Shackleton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1985-06-02", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1985-06-02\"^^xsd:date .   }", "answer": "Appleseed Ex Machina"}, {"question": "How many business schools whose country is the United States or whose ARCHON code is 2648?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ARCHON code", "2648"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business school\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <ARCHON_code> ?pv . ?pv <pred:value> \"2648\" .  } }", "answer": "7"}, {"question": "Where was Old Dogs published on 2009-11-25?", "choices": ["Germany", "Spain", "United States of America", "Venice Film Festival", "Norway", "Northern America", "Switzerland", "2005 Cannes Film Festival", "Greece", "New York City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Old Dogs"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2009-11-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Old Dogs\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-11-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Since when is Ahmedabad located in Gujarat ?", "choices": ["1999-04-29", "1999-01-10", "1987-10-26", "1956-12-10", "1795-10-24", "1985-11-04", "1960-05-01", "1834", "1961-09-30", "1953-11-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ahmedabad"]}, {"function": "Find", "dependencies": [], "inputs": ["Ahmedabad"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gujarat"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ahmedabad\" . ?e_2 <pred:name> \"Gujarat\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Ahmedabad\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1960-05-01"}, {"question": "What language is used for http://www.cooper.edu, the official website of a higher education institution whose street address is 7 East 7th Street ?", "choices": ["Slovene", "Slavic languages", "Classical Latin", "English", "French", "Belarusian", "Armenian", "Thai", "Malagasy", "Tamil"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "7 East 7th Street"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cooper.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_at_street_address> ?pv_1 . ?pv_1 <pred:value> \"7 East 7th Street\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cooper.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which Academy Awards ceremony is the one where Jeremy Irons got an award ?", "choices": ["46th Academy Awards", "64th Golden Globe Awards", "57th Academy Awards", "64th Academy Awards", "13th Screen Actors Guild Awards", "63rd Academy Awards", "69th Academy Awards", "26th Academy Awards", "31st Academy Awards", "Academy Award for Best Actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Irons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Jeremy Irons\" .   }", "answer": "63rd Academy Awards"}, {"question": "Which unviersity has a higher admission rate, McGill University or McMaster University?", "choices": ["University of Tasmania", "McGill University", "San Diego State University", "University of Melbourne", "Panjab University", "University of Queensland", "University of Hamburg", "Birkbeck, University of London", "University of Michigan", "McMaster University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["McGill University"]}, {"function": "Find", "dependencies": [], "inputs": ["McMaster University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["admission rate", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"McGill University\" .  } UNION { ?e <pred:name> \"McMaster University\" .  } ?e <admission_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "McMaster University"}, {"question": "Did Beetlejuice, created by Tim Burton, premiere later than 1978 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tim Burton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beetlejuice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1978", ">"]}], "sparql": "ASK { ?e <pred:name> \"Beetlejuice\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Tim Burton\" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1978 ) .  }", "answer": "yes"}, {"question": "Is Walk Hard: The Dewey Cox Story or adventure film The Man with the Golden Gun shorter in duration?", "choices": ["The Towering Inferno", "Talk to Her", "Rebecca", "The Man with the Golden Gun", "Walk Hard: The Dewey Cox Story", "Curse of the Golden Flower", "The Fifth Element", "Training Day", "Pleasantville", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walk Hard: The Dewey Cox Story"]}, {"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man with the Golden Gun"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Walk Hard: The Dewey Cox Story\" .  } UNION { ?e <pred:name> \"The Man with the Golden Gun\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"adventure film\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Walk Hard: The Dewey Cox Story"}, {"question": "What television series has a narrative location of the Pacific Ocean?", "choices": ["Finding Nemo", "Street Fighter II V", "Battlestar Galactica", "The Stand", "Modern Family", "Futurama", "Madison", "The Ten Commandments", "Rosemary's Baby", "The Pacific"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Pacific Ocean\" .   }", "answer": "The Pacific"}, {"question": "How is David Copperfield (the one that has Hugh Dancy as a cast member) related to Charles Dickens ?", "choices": ["commander of", "use", "newspaper format", "affiliation", "partner", "after a work by", "exclave of", "nutrient", "instrumentation", "mascot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Dancy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Charles Dickens"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Hugh Dancy\" . ?e_2 <pred:name> \"Charles Dickens\" . ?e_1 ?p ?e_2 .  }", "answer": "after a work by"}, {"question": "What language is used for  http://www.emmys.com, the official website of an 'agent' located in North Hollywood ?", "choices": ["Eastern Armenian", "Traditional Chinese", "English", "Armenian", "Japanese", "Corsican", "Australian English", "National language of Republic of China", "Persian", "O'odham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Hollywood"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.emmys.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"North Hollywood\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.emmys.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When was the rock band that Gene Simmons was in created?", "choices": ["1977-08-10", "1993", "2005", "1978", "1994", "1944", "1925", "1973", "1984", "1991"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gene Simmons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e_1 <member_of> ?e . ?e_1 <pred:name> \"Gene Simmons\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1973"}, {"question": "How many metropolitan areas have over 9700 population?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "9700", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"9700\"^^xsd:double ) .  }", "answer": "8"}, {"question": "Does Abruzzo or Basilicata have more population?", "choices": ["Abruzzo", "Lazio", "Friuli\u2013Venezia Giulia", "Piedmont", "Veneto", "Sicily", "Sardinia", "Apulia", "Lombardy", "Tuscany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Abruzzo"]}, {"function": "Find", "dependencies": [], "inputs": ["Basilicata"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Abruzzo\" .  } UNION { ?e <pred:name> \"Basilicata\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Abruzzo"}, {"question": "Tell me the country that Lund University's headquarter is Lund belongs to", "choices": ["Switzerland", "international", "Prussia", "Venezuela", "Albania", "Hungary", "Sint Maarten", "Lebanon", "Sweden", "Denmark"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lund University"]}, {"function": "Find", "dependencies": [], "inputs": ["Lund"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lund University\" . ?e_2 <pred:name> \"Lund\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "Sweden"}, {"question": "Does the longer run-time belong to Showtime, with cast member Judah Friedlander, or Jane Eyre, published on 1944-01-01?", "choices": ["Pleasantville", "Talk to Her", "Showtime", "The Hunchback of Notre Dame", "A Prairie Home Companion", "The Fifth Element", "Jane Eyre", "Training Day", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judah Friedlander"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Showtime"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jane Eyre"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1944-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Showtime\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Judah Friedlander\" . } UNION { ?e <pred:name> \"Jane Eyre\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1944-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jane Eyre"}, {"question": "How many miniseries are titled Emma or have been published after 1979?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Emma"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1979", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" .  { ?e <title> ?pv . ?pv <pred:value> \"Emma\" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1979 ) .  } }", "answer": "34"}, {"question": "When did Munich, setting of Fullmetal Alchemist the Movie: Conqueror of Shamballa, become the twinned administrative body of Sapporo?", "choices": ["2006-08-09", "1984-01-27", "1972-08-28", "1969-05-19", "1244", "1804-05-18", "2010-05-10", "1999-01-10", "1972-05-25", "1958-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fullmetal Alchemist the Movie: Conqueror of Shamballa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sapporo"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Munich\" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> \"Fullmetal Alchemist the Movie: Conqueror of Shamballa\" . ?e_2 <pred:name> \"Sapporo\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1972-08-28"}, {"question": "What is the connection between Olympia (the one that is based on 1936 Summer Olympics) to propaganda film?", "choices": ["partner", "platform", "contains administrative territorial entity", "influenced by", "position held", "present in work", "genre", "public holiday", "country for sport", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1936 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["based on", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Olympia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["propaganda film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Olympia\" . ?e_1 <based_on> ?e_3 . ?e_3 <pred:name> \"1936 Summer Olympics\" . ?e_2 <pred:name> \"propaganda film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does the movie published on 1988-09-01 clock in at over 30 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1988-09-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["30 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1988-09-01\"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"30\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is 409 the local dialing code for the United States city that is the birthplace of Janis Joplin?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Janis Joplin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["409"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Janis Joplin\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"409\" .  }", "answer": "yes"}, {"question": "How long is the movie A Streetcar Named Desire (the one whose publication date is 1984-01-01)?", "choices": ["43 minute", "20 minute", "156 minute", "233 minute", "115 minute", "238 minute", "209 minute", "3875 second", "1 academic term", "63 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Streetcar Named Desire"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1984-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"A Streetcar Named Desire\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1984-01-01\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "115 minute"}, {"question": "Which nominee from Monster House, run-time 91 minutes, was a contender for the Academy Award for Best Animated Feature?", "choices": ["Jeff Cronenweth", "Gil Kenan", "Margaret M\u00e9n\u00e9goz", "John Foreman", "Michael J. Horton", "Clare Douglas", "Ingrid Bergman", "Jan Archibald", "Burt Dalton", "Lee J. Cobb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monster House"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "91 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Feature"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Monster House\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"91\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Animated Feature\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Gil Kenan"}, {"question": "Is the person identified by CANTIC-ID a10994646 more than 1.5 meters tall ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10994646"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1.5 metre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10994646\" . ?e <height> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1.5\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What settlement with a female population of less than 19000000 has the largest male population?", "choices": ["Princeton", "Subiaco", "Montclair", "Darjeeling", "Livingston", "Whanganui", "Ridgewood", "Perth Airport", "Belleville", "Red Bank"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["female population", "19000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["male population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <female_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"19000000\"^^xsd:double ) . ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Darjeeling"}, {"question": "How is the novel \"The Sum of All Fears\" related to terrorism?", "choices": ["allegiance", "main subject", "religious order", "award disciplines or subjects", "head of state", "discoverer or inventor", "health specialty", "follows", "subsidiary", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["novel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sum of All Fears"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["terrorism"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sum of All Fears\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"novel\" . ?e_2 <pred:name> \"terrorism\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "Martin Scorsese was an Independent Spirit Award winner for Best Director of which project?", "choices": ["Shatranj Ke Khilari", "Blood Simple", "The Subtle Knife", "The Boat of a Million Years", "Will You Be There", "The Age of Innocence", "Stranger in a Strange Land", "Triton", "After Hours", "The Umbrellas of Cherbourg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Director"]}, {"function": "Find", "dependencies": [], "inputs": ["Martin Scorsese"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Independent Spirit Award for Best Director\" . ?e_2 <pred:name> \"Martin Scorsese\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "After Hours"}, {"question": "Was someone with the native name Ed Lauter born in any year but 1969 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Ed Lauter"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1969", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Ed Lauter\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1969 ) .  }", "answer": "yes"}, {"question": "Which human, in 1982, stopped being a participant of the television series whose official website is http://www.theyoungandtherestless.com?", "choices": ["Sylvester Stallone", "David Hasselhoff", "James E. Reilly", "William Henry Harrison", "Max Fleischer", "Rahul Dev Burman", "Babyface", "Richard Gere", "Simon Cowell", "Paul Simon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theyoungandtherestless.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant of", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["end time", "1982", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <participant_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.theyoungandtherestless.com\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <participant_of> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1982 .  }", "answer": "David Hasselhoff"}, {"question": "How many subscribers are there for the Twitter username of JimCarrey, the human who won the MTV Movie Award for Best Villain (the award-winning work of this statement is The Cable Guy)?", "choices": ["717431", "90949", "171289", "24", "140414", "18415222", "3803", "3557481", "47318", "15947"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Villain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Cable Guy"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "JimCarrey", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"MTV Movie Award for Best Villain\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv_1 . ?qpv_1 <pred:value> \"The Cable Guy\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"JimCarrey\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "18415222"}, {"question": "What number of Chinese provinces are the twinned administrative body of Bavaria?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bavaria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Bavaria\" .   }", "answer": "2"}, {"question": "What is the connection between Carole King to English?", "choices": ["tributary", "successful candidate", "use", "found", "permanent resident of", "language used", "field of this occupation", "programming language", "languages spoken, written or signed", "source of income"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carole King"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carole King\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How long is the movie that mainly depicts finance?", "choices": ["181 minute", "166 minute", "122 minute", "201 minute", "23 minute", "102 minute", "67.0 minute", "190 minute", "104 minute", "55 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["finance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"finance\" .  ?e <duration> ?pv .  }", "answer": "122 minute"}, {"question": "Did the person who belonged to the national football team of Scotland until 1954 die later than 1650 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scotland national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "1954", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1650", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Scotland national football team\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1954 . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1650 ) .  }", "answer": "yes"}, {"question": "Who composed the film Coming Home?", "choices": ["Bernard Herrmann", "Giuseppe Verdi", "Bill Conti", "Eminem", "Robert Palmer", "Paul McCartney", "Craig Armstrong", "Sam Neill", "Mark Mancina", "Roy Webb"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Coming Home"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Coming Home\" .   }", "answer": "Paul McCartney"}, {"question": "The visual artwork titled Elizabeth was released in which location on 1998-10-29?", "choices": ["Thailand", "Finland", "Kazakhstan", "Germany", "Austin", "Ukraine", "Cannes Film Festival", "South Korea", "United Kingdom", "Kingdom of the Netherlands"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Elizabeth"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1998-10-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Elizabeth\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-10-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What country is Manchester (where Bernard Hill was born and The Chemical Brothers were formed)?", "choices": ["United Kingdom", "Mexico", "Monaco", "Czech Republic", "Albania", "German Democratic Republic", "Philippines", "Kingdom of Saxony", "Malaysia", "worldwide"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bernard Hill"]}, {"function": "Find", "dependencies": [], "inputs": ["The Chemical Brothers"]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manchester"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of birth", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bernard Hill\" . ?e_2 <pred:name> \"Manchester\" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> \"The Chemical Brothers\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Where was Wanted (the one whose title is Wanted) published on 2008-09-04 ?", "choices": ["58th Berlin International Film Festival", "Japan", "Norway", "Croatia", "Taiwan", "Tokyo", "Germany", "United States of America", "Davao City", "Europe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wanted"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Wanted"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["publication date", "2008-09-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Wanted\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Wanted\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-09-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Were there more seasons in Sonic the Hedgehog distributed by Walt Disney Studios Motion Pictures or Futurama that uses William Shatner as a voice actor?", "choices": ["American Dad!", "Aladdin", "The Cleveland Show", "The Venture Bros.", "Sonic the Hedgehog", "Tiny Toon Adventures", "Futurama", "South Park", "Robot Chicken", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["William Shatner"]}, {"function": "Relate", "dependencies": [4], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Futurama"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sonic the Hedgehog\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Walt Disney Studios Motion Pictures\" .   } UNION { ?e <pred:name> \"Futurama\" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> \"William Shatner\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Futurama"}, {"question": "Which movie is shorter, Gulliver's Travels (the one that has Billy Connolly as a cast member) or All About My Mother?", "choices": ["All About My Mother", "The Towering Inferno", "Curse of the Golden Flower", "Gulliver's Travels", "Pleasantville", "The Fifth Element", "A Prairie Home Companion", "Rebecca", "Training Day", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Connolly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gulliver's Travels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["All About My Mother"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gulliver's Travels\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Billy Connolly\" .   } UNION { ?e <pred:name> \"All About My Mother\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gulliver's Travels"}, {"question": "Was the person with ISNI 0000 0001 2146 7177 not born in 1988?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2146 7177"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1988", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2146 7177\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  }", "answer": "yes"}, {"question": "What corporation is the legal form of the airline with the PermID of 4295905139?", "choices": ["Michael York", "Ben Johnson", "Ahmedabad", "Redwood City", "limited company", "The Invention of Lying", "FC Illichivets Mariupol", "Walter M. Scott", "Cry Freedom", "EMI"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4295905139"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "Relate", "dependencies": [2], "inputs": ["legal form", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["corporation"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"corporation\" . ?e_1 <legal_form> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"airline\" . ?e_1 <PermID> ?pv . ?pv <pred:value> \"4295905139\" .   }", "answer": "limited company"}, {"question": "Is 1zcffcqk3xfntr9 the Libris-URI of the person with ISNI 0000 0001 2142 1275?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2142 1275"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1zcffcqk3xfntr9"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2142 1275\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"1zcffcqk3xfntr9\" .  }", "answer": "no"}, {"question": "Which music is the genre of Elvis Presley?", "choices": ["Latin jazz", "melodic death metal", "gangsta rap", "operatic pop", "rhythm and blues", "pop music", "comedy rock", "rockabilly", "jazz rap", "country rock"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elvis Presley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Elvis Presley\" .   }", "answer": "country rock"}, {"question": "What is the connection between Larry Miller (the one whose Twitter username is LarryMillerMP) to Ottawa?", "choices": ["registered with", "voice type", "product or material produced", "genre", "operating system", "has immediate cause", "costume designer", "successful candidate", "work location", "basin country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Larry Miller"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "LarryMillerMP"]}, {"function": "Find", "dependencies": [], "inputs": ["Ottawa"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Larry Miller\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"LarryMillerMP\" . ?e_2 <pred:name> \"Ottawa\" . ?e_1 ?p ?e_2 .  }", "answer": "work location"}, {"question": "What is the link between Club Brugge K.V. and blue (that is the official color of Chester City F.C.)?", "choices": ["operating area", "source of material", "sport", "participant of", "officially opened by", "symptom of", "official color", "place of burial", "had as last meal", "replaces"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Club Brugge K.V."]}, {"function": "Find", "dependencies": [], "inputs": ["Chester City F.C."]}, {"function": "Relate", "dependencies": [1], "inputs": ["official color", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["blue"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Club Brugge K.V.\" . ?e_2 <pred:name> \"blue\" . ?e_3 <official_color> ?e_2 . ?e_3 <pred:name> \"Chester City F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "official color"}, {"question": "How many literary work are there that uses the language the modern language and whose Wikimedia language code is fr?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Wikimedia language code", "fr"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["modern language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["literary work"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary work\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"modern language\" . ?e_1 <Wikimedia_language_code> ?pv . ?pv <pred:value> \"fr\" .   }", "answer": "4"}, {"question": "Is 08636 the local dialing code of Hastings (the one whose country is United Kingdom)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hastings"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["08636"]}], "sparql": "ASK { ?e <pred:name> \"Hastings\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"08636\" .  }", "answer": "no"}, {"question": "Which one, Topaz (the one whose director is Alfred Hitchcock) or Star Wars Episode IV: A New Hope (the one that was nominated for Academy Award for Best Supporting Actor), has greater cost?", "choices": ["The Hunchback of Notre Dame", "Curse of the Golden Flower", "Rebecca", "Topaz", "Talk to Her", "The Fifth Element", "Training Day", "The Towering Inferno", "Pleasantville", "Star Wars Episode IV: A New Hope"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alfred Hitchcock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Topaz"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode IV: A New Hope"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Topaz\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Alfred Hitchcock\" .   } UNION { ?e <pred:name> \"Star Wars Episode IV: A New Hope\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Wars Episode IV: A New Hope"}, {"question": "Is http://delhi.gov.in/ the official website of the town where Simon Fuller was born?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Simon Fuller"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://delhi.gov.in/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Simon Fuller\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://delhi.gov.in/\" .  }", "answer": "no"}, {"question": "Is the area greater for Lake County, whose population is 7829, or Tillamook County?", "choices": ["Lake County", "Linn County", "Columbia County", "Tillamook County", "Washington County", "Douglas County", "Clackamas County", "Yamhill County", "Lane County", "Marion County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7829", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Tillamook County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lake County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"7829\"^^xsd:double . } UNION { ?e <pred:name> \"Tillamook County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lake County"}, {"question": "The baseball team with the Snapchat handle rays took part in how many seasons of sport?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Snapchat username", "rays"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sports season"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <participant> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"baseball team\" . ?e_1 <Snapchat_username> ?pv . ?pv <pred:value> \"rays\" .   }", "answer": "13"}, {"question": "What is the work period start of the person who attended Scottish Church College?", "choices": ["1998", "1992", "1975", "1986", "2006", "1866", "1810", "1976", "1952", "1782"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scottish Church College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Scottish Church College\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1976"}, {"question": "What is the association of Mozambique to Africa (whose number of children not in school is 105000000)?", "choices": ["doctoral student", "continent", "business division", "update method", "author", "medical treatment", "stated in", "sibling", "takes place in fictional universe", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mozambique"]}, {"function": "Find", "dependencies": [], "inputs": ["Africa"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of out-of-school children", "105000000", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mozambique\" . ?e_2 <pred:name> \"Africa\" . ?e_2 <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"105000000\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "Is the Colin Powell (the one whose ISNI is 0000 0001 0858 8433)'s birth name Kumaresan Duraisamy ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colin Powell"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0858 8433"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["Kumaresan Duraisamy"]}], "sparql": "ASK { ?e <pred:name> \"Colin Powell\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0858 8433\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Kumaresan Duraisamy\" .  }", "answer": "no"}, {"question": "Which one covers a larger area, Kiev or Ankara ?", "choices": ["Tallinn", "Doha", "New Delhi", "Ankara", "Kiev", "Lausanne", "Mexico City", "Sarajevo", "Manila", "Riga"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiev"]}, {"function": "Find", "dependencies": [], "inputs": ["Ankara"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kiev\" .  } UNION { ?e <pred:name> \"Ankara\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ankara"}, {"question": "How are Louisville and La Plata related?", "choices": ["family", "sponsor", "territory claimed by", "different from", "located on astronomical location", "opposite of", "official symbol", "twinned administrative body", "editor", "film regional debut venue"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louisville"]}, {"function": "Find", "dependencies": [], "inputs": ["La Plata"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Louisville\" . ?e_2 <pred:name> \"La Plata\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Does the University of Windsor have more than 650 students?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Windsor"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["students count"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["650", ">"]}], "sparql": "ASK { ?e <pred:name> \"University of Windsor\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"650\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Are there more students at \u201cLa Sapienza\u201d University of Rome or National Autonomous University of Mexico?", "choices": ["University of Tehran", "University of Manchester", "McNeese State University", "Panjab University", "King's College London", "National Autonomous University of Mexico", "McMaster University", "Imperial College London", "\u201cLa Sapienza\u201d University of Rome", "Presidency University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u201cLa Sapienza\u201d University of Rome"]}, {"function": "Find", "dependencies": [], "inputs": ["National Autonomous University of Mexico"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"\u201cLa Sapienza\u201d University of Rome\" .  } UNION { ?e <pred:name> \"National Autonomous University of Mexico\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "National Autonomous University of Mexico"}, {"question": "What is  CANTIC-ID if a person known for a significant event interview  (the point in time of this statement is 1993)?", "choices": ["a11680738", "a11804580", "a11190589", "a10368140", "a11713586", "a11877248", "a11212123", "a11102354", "a11071138", "a10085269"], "program": [{"function": "Find", "dependencies": [], "inputs": ["interview"]}, {"function": "Relate", "dependencies": [0], "inputs": ["significant event", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1993", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <significant_event> ?e_1 . ?e_1 <pred:name> \"interview\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1993 . ?e <CANTIC-ID> ?pv .  }", "answer": "a11212123"}, {"question": "What is the relation that Jim Carrey has with the 1994 release of Dumb and Dumber?", "choices": ["office held by head of the organisation", "programming language", "business division", "member of sports team", "parent astronomical body", "notable people with this condition", "office contested", "cast member", "penalty", "symptoms"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dumb and Dumber"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1994", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Carrey"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dumb and Dumber\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1994 . ?e_2 <pred:name> \"Jim Carrey\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is the official website of the 3rd edition of the Summer Olympics www.cm-lisboa.pt ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "3"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.cm-lisboa.pt/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"3\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cm-lisboa.pt/\" .  }", "answer": "no"}, {"question": "What is the birthday for the writer with the Amazon author page B000AQ3ZFG?", "choices": ["1838-01-01", "1979-02-21", "1953-01-30", "1948-12-31", "1930-08-25", "1941-05-24", "1947-04-14", "1970-08-23", "1947-04-11", "1856-05-15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Amazon author page", "B000AQ3ZFG"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Amazon_author_page> ?pv_1 . ?pv_1 <pred:value> \"B000AQ3ZFG\" . ?e <date_of_birth> ?pv .  }", "answer": "1856-05-15"}, {"question": "How is the musical Peter Pan related to NBC?", "choices": ["founded by", "original network", "grants", "has part", "business division", "territory claimed by", "home port", "field of this occupation", "color", "has quality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musical"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Pan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Pan\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"musical\" . ?e_2 <pred:name> \"NBC\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "How many big cities use 0261 as their local dialing code ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0261"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"0261\" .  }", "answer": "1"}, {"question": "What is the language of http://www.emmys.com , the official website of an award won by Michael Richards (the one that has the occupation of comedian) ?", "choices": ["Canadian French", "Russian", "Tahitian", "English", "Standard Chinese", "Latvian", "Putonghua", "Basque", "Latin", "Brazilian Portuguese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["comedian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Richards"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.emmys.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Michael Richards\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"comedian\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.emmys.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is David Silverman, born in the year 2000, related to Paterson (ISNI 0000 0004 0419 528X)?", "choices": ["occupation", "broadcast by", "narrator", "airline alliance", "place of birth", "location of discovery", "professorship", "culture", "exported to", "separated from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Silverman"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "2000", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Paterson"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["ISNI", "0000 0004 0419 528X"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Silverman\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 2000 . ?e_2 <pred:name> \"Paterson\" . ?e_2 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0419 528X\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "For the former French region whose ISO 3166-2 code is FR-A, how many of France's departments are its administrative division?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "FR-A"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["departments of France"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"former French region\" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"FR-A\" .   }", "answer": "2"}, {"question": "How many guitar models played by John Cale and designated by Hornbostel-Sachs code 321.322-5?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cale"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["guitar"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Hornbostel-Sachs classification", "321.322-5"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["guitar"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"guitar\" . ?e_1 <instrument> ?e . ?e_1 <pred:name> \"John Cale\" .  ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.322-5\" .  }", "answer": "1"}, {"question": "Tell me the one with the smaller area, Turin or Dalian.", "choices": ["Chihuahua", "Dundee", "Turin", "Abidjan", "Kingston", "Cork", "Kilkenny", "Bergen", "Santo Domingo", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dalian"]}, {"function": "Find", "dependencies": [], "inputs": ["Turin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dalian\" .  } UNION { ?e <pred:name> \"Turin\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Turin"}, {"question": "Was the person whose ISNI is 0000 0004 0728 7139 not born in 1970?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0728 7139"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1970", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0728 7139\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1970 ) .  }", "answer": "yes"}, {"question": "Which is shorter,  Barney's Version or the US version of Machete?", "choices": ["Barney's Version", "The Fifth Element", "The Hunchback of Notre Dame", "Rebecca", "Training Day", "Pleasantville", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower", "Machete"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barney's Version"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Machete"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barney's Version\" .  } UNION { ?e <pred:name> \"Machete\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Machete"}, {"question": "Was Brian Eno born pre-1976 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian Eno"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1976", "<"]}], "sparql": "ASK { ?e <pred:name> \"Brian Eno\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1976 ) .  }", "answer": "yes"}, {"question": "Sussex is the work place of which person?", "choices": ["Max Fleischer", "Stephen Dillane", "James Mason", "Michael Winterbottom", "Sylvester Stallone", "Thomas Mann", "Richard Gere", "Alok Nath", "Dave Brubeck", "Franz Schubert"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sussex"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <work_location> ?e_1 . ?e_1 <pred:name> \"Sussex\" .   }", "answer": "Stephen Dillane"}, {"question": "What language is associated with the literary award nominated to C. S. Lewis at the website http://lfs.org/awards.shtml?", "choices": ["Chinese", "Classical Latin", "Toki Pona", "Canadian French", "Armenian", "English", "Basque", "Danish", "Bavarian", "Yue Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["C. S. Lewis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://lfs.org/awards.shtml", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"C. S. Lewis\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://lfs.org/awards.shtml\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is Debian stable package for Mesa (the one whose Stack Exchange tag is https://stackoverflow.com/tags/mesa) equal to libgl1-mesa-glx ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mesa"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://stackoverflow.com/tags/mesa"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Debian stable package"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["libgl1-mesa-glx"]}], "sparql": "ASK { ?e <pred:name> \"Mesa\" . ?e <Stack_Exchange_tag> ?pv_1 . ?pv_1 <pred:value> \"https://stackoverflow.com/tags/mesa\" . ?e <Debian_stable_package> ?pv . ?pv <pred:value> \"libgl1-mesa-glx\" .  }", "answer": "yes"}, {"question": "Which movie is shorter, A History of Violence or Edward Scissorhands?", "choices": ["Rebecca", "Training Day", "Pleasantville", "Talk to Her", "A History of Violence", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Edward Scissorhands", "Curse of the Golden Flower", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A History of Violence"]}, {"function": "Find", "dependencies": [], "inputs": ["Edward Scissorhands"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A History of Violence\" .  } UNION { ?e <pred:name> \"Edward Scissorhands\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "A History of Violence"}, {"question": "How is Michael Jackson of the Baltimore Ravens related to the Cleveland Browns?", "choices": ["member of", "languages spoken, written or signed", "godparent", "official residence", "platform", "medical treatment", "owned by", "time period", "member of sports team", "replaces"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore Ravens"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cleveland Browns"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Jackson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Baltimore Ravens\" . ?e_2 <pred:name> \"Cleveland Browns\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "How is Leonard Cohen: I'm Your Man related to the United States?", "choices": ["programming paradigm", "symptom of", "notable work", "main food source", "lyrics by", "vehicle normally used", "enclave within", "does not have part", "country of origin", "board member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leonard Cohen: I'm Your Man"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Leonard Cohen: I'm Your Man\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "tell me the one that has the longest duration among the film genre that has English as their original language.", "choices": ["film based on literature", "neo-noir", "Mary and Max", "Chicken Run", "Revisionist Western", "blaxploitation", "screwball comedy film", "Hindi Film Industry", "heist film", "kung fu film"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mary and Max"}, {"question": "Which one, Alachua County or Indian River County, has less area?", "choices": ["Putnam County", "Alachua County", "Collier County", "Orange County", "Citrus County", "Marion County", "Broward County", "Indian River County", "Hillsborough County", "Monroe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alachua County"]}, {"function": "Find", "dependencies": [], "inputs": ["Indian River County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alachua County\" .  } UNION { ?e <pred:name> \"Indian River County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Indian River County"}, {"question": "What is the GSS code (2011) for the town with local dialing code 01789?", "choices": ["K03000001", "S12000042", "E12000007", "E06000028", "E04012360", "W04000618", "E11000004", "E08000019", "S92000003", "E09000001"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "01789"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["GSS code (2011)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"01789\" . ?e <GSS_code_(2011)> ?pv .  }", "answer": "E04012360"}, {"question": "Which one has more running time between Crash (the one produced by Robert Lantos) and Oscar (the one produced by Walt Disney Studios Motion Pictures)?", "choices": ["A Prairie Home Companion", "Rebecca", "Pleasantville", "Curse of the Golden Flower", "Training Day", "Talk to Her", "Crash", "The Towering Inferno", "The Hunchback of Notre Dame", "Oscar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Lantos"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crash\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Robert Lantos\" .   } UNION { ?e <pred:name> \"Oscar\" . ?e <production_company> ?e_2 . ?e_2 <pred:name> \"Walt Disney Studios Motion Pictures\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oscar"}, {"question": "How many subscribers does the human (whose audio recording of the subject's spoken voice is Billy Bragg BBC Radio4 Mastertapes 30 Oct 2012 b01nl6hs.flac) whose Twitter username is billybragg have?", "choices": ["265016", "58399", "91119", "27995", "2899722", "978121", "1092800", "31585", "9", "4114032"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["audio recording of the subject's spoken voice", "Billy Bragg BBC Radio4 Mastertapes 30 Oct 2012 b01nl6hs.flac"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "billybragg", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <audio_recording_of_the_subject's_spoken_voice> ?pv_1 . ?pv_1 <pred:value> \"Billy Bragg BBC Radio4 Mastertapes 30 Oct 2012 b01nl6hs.flac\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"billybragg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "265016"}, {"question": "Where was released the film Dark Shadows in 2012-05-10?", "choices": ["Germany", "Hollywood Bowl", "Tribeca Film Festival", "Berlin", "Egypt", "Rio de Janeiro", "Portal:Belgium", "Estonia", "Chicago", "Toronto International Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Dark Shadows"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2012-05-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Dark Shadows\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-05-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is http://www.camden.gov.uk/ the official website of the administrative territorial entity whose British Museum person-institution is 168235?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "168235"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.camden.gov.uk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> \"168235\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.camden.gov.uk/\" .  }", "answer": "yes"}, {"question": "What is the subreddit of the organization whose frequency is not equal to 1.1 year ?", "choices": ["stephenking", "nfl", "postpunk", "google", "Burundi", "windsorontario", "Sudan", "mavericks", "chicago", "perl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["frequency of event", "1.1 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <frequency_of_event> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"1.1\"^^xsd:double ) . ?e <subreddit> ?pv .  }", "answer": "nfl"}, {"question": "Which has less population, Santa Rosa or Longview whose local dialing code is 903?", "choices": ["Compton", "Columbus", "Greenville", "Boulder", "Oakland", "Lansing", "Waukegan", "New Haven", "Franklin", "Longview"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Rosa"]}, {"function": "Find", "dependencies": [], "inputs": ["Longview"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "903"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Santa Rosa\" . } UNION { ?e <pred:name> \"Longview\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"903\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Longview"}, {"question": "Which one of Indian states, with the terrain feature of Jainism, has the largest female population ?", "choices": ["Gujarat", "Uttar Pradesh", "Rajasthan", "Haryana", "Himachal Pradesh", "Maharashtra", "Karnataka", "Kerala", "Jharkhand", "Tamil Nadu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jainism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located on terrain feature", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["female population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> \"Jainism\" .  ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Uttar Pradesh"}, {"question": "What is the official website o 38th Academy Awards, nominated to Stanley Kramer?", "choices": ["http://www.davidbrin.com/", "http://cpc.people.com.cn/", "https://www.freebsd.org", "http://www.st-hildas.ox.ac.uk/", "http://www.hattiesburgms.com/", "http://www.vicenzacalcio.com/", "http://www.startrek.com/page/star-trek-nemesis", "http://kickass-themovie.com/", "http://www.goddard.edu", "http://www.oscars.org/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stanley Kramer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "38th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Academy Awards"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Stanley Kramer\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"38th Academy Awards\" . ?e <official_website> ?pv .  }", "answer": "http://www.oscars.org/"}, {"question": "Which movie made less at the box office, The Brothers Bloom or Borat?", "choices": ["Training Day", "The Hunchback of Notre Dame", "The Fifth Element", "Borat", "Curse of the Golden Flower", "The Brothers Bloom", "Pleasantville", "The Towering Inferno", "Rebecca", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Brothers Bloom"]}, {"function": "Find", "dependencies": [], "inputs": ["Borat"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Brothers Bloom\" .  } UNION { ?e <pred:name> \"Borat\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Brothers Bloom"}, {"question": "Which person is a cast member of Pretty Little Liars (the one that has Annabeth Gish as a cast member) and uses the English language?", "choices": ["William Henry Harrison", "Gene Wilder", "Sylvester Stallone", "Holly Marie Combs", "Annabeth Gish", "Lauren Tom", "Dave Grohl", "Max Fleischer", "Sylvia Plath", "Garret Dillahunt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Annabeth Gish"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pretty Little Liars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [6], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Pretty Little Liars\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Annabeth Gish\" .  ?e <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" .  }", "answer": "Annabeth Gish"}, {"question": "When was Maya Angelou nominated for Tony Award for Best Featured Actress in a Play?", "choices": ["1866", "2013-06-01", "1576-01-01", "1833", "2012-08-01", "1912-05-15", "1973", "1999-10-13", "1697", "1915"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maya Angelou"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actress in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Maya Angelou\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actress in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1973"}, {"question": "Which first-level administrative country subdivision of Malaysia covers the least area?", "choices": ["England", "Lublin Voivodeship", "Sabah", "Minas Gerais", "Melaka", "Perak", "Upper Austria", "Johor", "Penang", "Podlaskie Voivodeship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malaysia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Malaysia\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Penang"}, {"question": "What is the connection between 3rd Rock from the Sun and Wayne Knight?", "choices": ["basic form of government", "official symbol", "headquarters location", "exported to", "movement", "this taxon is source of", "cast member", "instrument", "distribution", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3rd Rock from the Sun"]}, {"function": "Find", "dependencies": [], "inputs": ["Wayne Knight"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"3rd Rock from the Sun\" . ?e_2 <pred:name> \"Wayne Knight\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which county town is in West Dorset?", "choices": ["Ipswich", "Northampton", "Oxford", "Dorchester", "Guildford", "Bedford", "Maidstone", "Warwick", "Reading", "Aylesbury"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Dorset"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"West Dorset\" .   }", "answer": "Dorchester"}, {"question": "Where was The Exorcist published on 1974-09-20?", "choices": ["Canada", "El Capitan Theatre", "2008 Toronto International Film Festival", "Bulgaria", "Chicago", "Germany", "2005 Cannes Film Festival", "Finland", "worldwide", "Bolivia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Exorcist"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1974-09-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Exorcist\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1974-09-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Did the person who influenced Jennifer Hudson start working before 1994?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jennifer Hudson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1994", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Jennifer Hudson\" .  ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  }", "answer": "yes"}, {"question": "Who has fewer children, Matt Frewer or Marcia Cross?", "choices": ["James E. Reilly", "William Henry Harrison", "Max Fleischer", "Marcia Cross", "Simon Cowell", "David Byrne", "Paul Simon", "Matt Frewer", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Matt Frewer"]}, {"function": "Find", "dependencies": [], "inputs": ["Marcia Cross"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Matt Frewer\" .  } UNION { ?e <pred:name> \"Marcia Cross\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Matt Frewer"}, {"question": "Does the longer run-time belong to Unforgiven, released in Finland, or Labyrinth, originally in German?", "choices": ["The Hunchback of Notre Dame", "Labyrinth", "The Towering Inferno", "Unforgiven", "The Fifth Element", "A Prairie Home Companion", "Pleasantville", "Training Day", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Unforgiven"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Labyrinth"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Unforgiven\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Finland\" .   } UNION { ?e <pred:name> \"Labyrinth\" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"German\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Unforgiven"}, {"question": "Which national association football team belongs to People's Republic of China and reports the ranking higher than 40?", "choices": ["Greece national football team", "Panama national football team", "Angola national football team", "Sierra Leone national football team", "Kazakhstan national football team", "India national football team", "Canada men's national soccer team", "South Korea national football team", "China national football team", "Scotland national football team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["ranking", "40", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"People's Republic of China\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"40\"^^xsd:double ) .  }", "answer": "China national football team"}, {"question": "How is Fred Durst connected to the rapcore?", "choices": ["genre", "participant of", "contains administrative territorial entity", "this taxon is source of", "sponsor", "named after", "discoverer or inventor", "separated from", "has part", "has contributing factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fred Durst"]}, {"function": "Find", "dependencies": [], "inputs": ["rapcore"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fred Durst\" . ?e_2 <pred:name> \"rapcore\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How is Brooklyn, whose distributor is 20th Century Fox, related to Latin?", "choices": ["sponsor", "business division", "found", "lowest point", "source of income", "military conflicts", "has contributing factor", "original language of film or TV show", "replaces", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Latin"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brooklyn\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"20th Century Fox\" . ?e_2 <pred:name> \"Latin\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When was the 40th Academy Awards ceremony?", "choices": ["1999", "2008-04-09", "1998-12-01", "2012-02-20", "1968-04-10", "1866", "1755-12-01", "1967-12-01", "1925-06-16", "1999-07-21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "40"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"40\" . ?e <point_in_time> ?pv .  }", "answer": "1968-04-10"}, {"question": "What non-metropolitan district has the 2011 GSS code E07000147 and is located in Norfolk (that contains King's Lynn and West Norfolk)?", "choices": ["Great Yarmouth", "Kettering", "South Somerset", "Carlisle", "Chichester", "North Norfolk", "Norwich", "Craven", "Guildford", "West Dorset"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E07000147"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan district"]}, {"function": "Find", "dependencies": [], "inputs": ["King's Lynn and West Norfolk"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["non-metropolitan district"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" . ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E07000147\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Norfolk\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"King's Lynn and West Norfolk\" .  }", "answer": "North Norfolk"}, {"question": "Who has fewer children, Jessica Lange or Steve Blum?", "choices": ["Paul Simon", "William Henry Harrison", "Richard Gere", "Rahul Dev Burman", "Jessica Lange", "Simon Cowell", "James E. Reilly", "David Byrne", "Steve Blum", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jessica Lange"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Blum"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jessica Lange\" .  } UNION { ?e <pred:name> \"Steve Blum\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Steve Blum"}, {"question": "Which movie represented by the official website www.ghibli.jp/ponyo was directed by Hayao Miyazaki?", "choices": ["Sonic X", "Spirited Away", "Magical Girl Lyrical Nanoha", "Ponyo on the Cliff by the Sea", "Howl's Moving Castle", "Magic Knight Rayearth", "My Neighbor Totoro", "Code Geass", "Fullmetal Alchemist the Movie: Conqueror of Shamballa", "Chrono Crusade"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ghibli.jp/ponyo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Hayao Miyazaki"]}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ghibli.jp/ponyo\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Hayao Miyazaki\" .  }", "answer": "Ponyo on the Cliff by the Sea"}, {"question": "What film's exploitation visa number is 135382 and official website is http://www.sevenpsychopaths.com ?", "choices": ["The Hunchback of Notre Dame", "Rope", "Training Day", "Curse of the Golden Flower", "Talk to Her", "Seven Psychopaths", "The Fifth Element", "Rebecca", "Pleasantville", "The Towering Inferno"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "135382"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.sevenpsychopaths.com"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"135382\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sevenpsychopaths.com\" .  }", "answer": "Seven Psychopaths"}, {"question": "Which has fewer people, Patna or Madurai?", "choices": ["Dundee", "Santo Domingo", "Madurai", "Abidjan", "Trieste", "Patna", "Cork", "Kingston", "Kilkenny", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patna"]}, {"function": "Find", "dependencies": [], "inputs": ["Madurai"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Patna\" .  } UNION { ?e <pred:name> \"Madurai\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Madurai"}, {"question": "How many airlines have the Twitter username lufthansa or operates Boeing 747?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "lufthansa"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "Find", "dependencies": [], "inputs": ["Boeing 747"]}, {"function": "Relate", "dependencies": [3], "inputs": ["item operated", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["airline"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> \"lufthansa\" .  } UNION { ?e <item_operated> ?e_1 . ?e_1 <pred:name> \"Boeing 747\" .  } }", "answer": "2"}, {"question": "How many civil wars have ended since 1939?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1939", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["civil war"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"civil war\" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1939 ) .  }", "answer": "2"}, {"question": "Which has less of an elevation above sea level, Coimbatore or Tbilisi?", "choices": ["Cork", "Tbilisi", "Abidjan", "Bergen", "Dundee", "Santo Domingo", "Kingston", "Chihuahua", "Trieste", "Coimbatore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coimbatore"]}, {"function": "Find", "dependencies": [], "inputs": ["Tbilisi"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Coimbatore\" .  } UNION { ?e <pred:name> \"Tbilisi\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Coimbatore"}, {"question": "Is Borussia Dortmund's official website http://www.shenhuafc.com.cn/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Borussia Dortmund"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.shenhuafc.com.cn/"]}], "sparql": "ASK { ?e <pred:name> \"Borussia Dortmund\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.shenhuafc.com.cn/\" .  }", "answer": "no"}, {"question": "How many associations have an ISNI of 0000 0001 2248 733X and the native label Royal Academy of Arts?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2248 733X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "Royal Academy of Arts"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2248 733X\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Royal Academy of Arts\" .  }", "answer": "0"}, {"question": "How is I Am Legend titled?", "choices": ["The Hustler", "Alice au pays des merveilles", "Syriana", "30 Days of Night", "The Penguins of Madagascar", "Phineas and Ferb", "Kiss of the Spider Woman", "I Am Legend", "Crazy Heart", "Happy Together"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Am Legend"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"I Am Legend\" . ?e <title> ?pv .  }", "answer": "I Am Legend"}, {"question": "How many forms of alternative rock were created later than 1980 or in any year except 1988?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1988", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["alternative rock"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1980", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["alternative rock"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"alternative rock\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1980 ) .  } }", "answer": "10"}, {"question": "Which is the  County of Ohio and it's FIPS 6-4 (US Counties) 39159", "choices": ["Cuyahoga County", "Union County", "Ashtabula County", "Stark County", "Erie County", "Wayne County", "Clark County", "Greene County", "Delaware County", "Tuscarawas County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "39159"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"39159\" .  }", "answer": "Union County"}, {"question": "When did the Ohio county occupying 1317 square km have a population totaling 146401?", "choices": ["2010-07-01", "1860-12-10", "1978-04-03", "2000-01-01", "1970-04-07", "1938-12-01", "2014-09-01", "1960-04-01", "2003", "2000-04-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1317 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "146401", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1317\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"146401\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "What production company was the original broadcaster of Hiroshima (original language Japanese) and also Twin Peaks (shot in Washington) ?", "choices": ["Lucasfilm", "Constantin Film", "The Weinstein Company", "Fine Line Features", "Paramount Pictures", "Screen Gems", "Warner Bros.", "Hollywood Pictures", "Relativity Media", "Showtime"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hiroshima"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington"]}, {"function": "Relate", "dependencies": [6], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twin Peaks"]}, {"function": "And", "dependencies": [7, 8], "inputs": []}, {"function": "Relate", "dependencies": [9], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [10], "inputs": ["film production company"]}, {"function": "And", "dependencies": [5, 11], "inputs": []}, {"function": "What", "dependencies": [12], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Hiroshima\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"Japanese\" .  ?e_3 <original_network> ?e . ?e_3 <pred:name> \"Twin Peaks\" . ?e_3 <filming_location> ?e_4 . ?e_4 <pred:name> \"Washington\" .  }", "answer": "Showtime"}, {"question": "Tell me the inception time for Kings of Leon.", "choices": ["1841-03-31", "-753", "1673", "1999", "1571-01-01", "1843-03-09", "1226", "2003", "2003-01-01", "1682-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kings of Leon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kings of Leon\" . ?e <inception> ?pv .  }", "answer": "1999"}, {"question": "What film's screenwriter of The Nutty Professor (the one whose publication date is 1963-01-01) is the person who is the executive producer?", "choices": ["Talk to Her", "Pleasantville", "Nutty Professor II: The Klumps", "Rebecca", "A Prairie Home Companion", "Working Girl", "16 Blocks", "Fanny and Alexander", "The Taking of Pelham 123", "Lawrence of Arabia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1963-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_3 <screenwriter> ?e_1 . ?e_3 <pred:name> \"The Nutty Professor\" . ?e_3 <publication_date> ?pv . ?pv <pred:date> \"1963-01-01\"^^xsd:date .   }", "answer": "Nutty Professor II: The Klumps"}, {"question": "What number of museums own the painting that the Louvre Museum owns?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louvre Museum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["painting"]}, {"function": "Relate", "dependencies": [2], "inputs": ["owner of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["museum"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"museum\" . ?e <owner_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"painting\" . ?e_3 <owner_of> ?e_1 . ?e_3 <pred:name> \"Louvre Museum\" .   }", "answer": "1"}, {"question": "What's the relationship between Python (distributed by 20th Century Fox) and Robert Englund?", "choices": ["sponsor", "platform", "cast member", "religion", "designated as terrorist by", "father", "geographic distribution", "subject has role", "named after", "registered with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Python"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robert Englund"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Python\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"20th Century Fox\" . ?e_2 <pred:name> \"Robert Englund\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What number of Netherlands provinces have the Netherlands as their country?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Netherlands"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Netherlands\" .   }", "answer": "11"}, {"question": "Which movie's narrative location is in Portland (the one whose population is 583776)?", "choices": ["Pleasantville", "Talk to Her", "Rebecca", "Curse of the Golden Flower", "Drugstore Cowboy", "Training Day", "Planet of the Apes", "A Prairie Home Companion", "The Towering Inferno", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "583776", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Portland\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"583776\"^^xsd:double .   }", "answer": "Drugstore Cowboy"}, {"question": "What is the relationship between ska punk and ska?", "choices": ["military branch", "practiced by", "place served by transport hub", "source of material", "child astronomical body", "successful candidate", "voice actor", "military conflicts", "creator", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ska punk"]}, {"function": "Find", "dependencies": [], "inputs": ["ska"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"ska punk\" . ?e_2 <pred:name> \"ska\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "How are Glee and the Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series related?", "choices": ["creator", "participant", "diplomatic relation", "work location", "theme music", "nominated for", "contains administrative territorial entity", "filming location", "part of the series", "registered with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Glee"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Glee\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which person's official website is http://www.illeanadouglas.com/?", "choices": ["John Ruddy", "Carl Sagan", "Richard Gere", "Andrea Romano", "Illeana Douglas", "Giuseppe Verdi", "Max Fleischer", "Sylvester Stallone", "Gillian Anderson", "Kathy Bates"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.illeanadouglas.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.illeanadouglas.com/\" .  }", "answer": "Illeana Douglas"}, {"question": "What is the elevation (above sea level) for the US city whose official website is http://www.cityofcharleston.org?", "choices": ["296 metre", "20 foot", "214 metre", "93 metre", "324 metre", "9 metre", "1125 metre", "239 metre", "597 foot", "2.75 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityofcharleston.org"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityofcharleston.org\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "597 foot"}, {"question": "Is the postal code for Delft 2600\u20132629?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delft"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["2600\u20132629"]}], "sparql": "ASK { ?e <pred:name> \"Delft\" . ?e <postal_code> ?pv . ?pv <pred:value> \"2600\u20132629\" .  }", "answer": "yes"}, {"question": "Which movie is shorter, Adventureland or Radio Days?", "choices": ["Radio Days", "Talk to Her", "The Towering Inferno", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Training Day", "Pleasantville", "Rebecca", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adventureland"]}, {"function": "Find", "dependencies": [], "inputs": ["Radio Days"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adventureland\" .  } UNION { ?e <pred:name> \"Radio Days\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Radio Days"}, {"question": "How many national association football teams are related to the type of sport that has a teammate named Peter Jackson (who is a member of Huddersfield Town A.F.C)?", "choices": ["107", "108", "109", "110", "111", "112", "113", "114", "115", "116"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Huddersfield Town A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["type of sport"]}, {"function": "Relate", "dependencies": [5], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["national association football team"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"type of sport\" . ?e_2 <sport> ?e_1 . ?e_2 <pred:name> \"Peter Jackson\" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Huddersfield Town A.F.C.\" .   }", "answer": "107"}, {"question": "How many musical groups originate from the USA or were created before 1970 ?", "choices": ["105", "106", "107", "108", "109", "110", "111", "112", "113", "114"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1970", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1970 ) .  } }", "answer": "114"}, {"question": "Which movie is shorter, Striptease or Jodhaa Akbar?", "choices": ["Curse of the Golden Flower", "Jodhaa Akbar", "Striptease", "A Prairie Home Companion", "Talk to Her", "The Fifth Element", "Rebecca", "The Towering Inferno", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Striptease"]}, {"function": "Find", "dependencies": [], "inputs": ["Jodhaa Akbar"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Striptease\" .  } UNION { ?e <pred:name> \"Jodhaa Akbar\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Striptease"}, {"question": "Which actor has the ISNI of 0000 0004 0997 803X?", "choices": ["Suresh Oberoi", "Mae Whitman", "Ellen Page", "William Henry Harrison", "Max Fleischer", "Joseph Sargent", "John Schlesinger", "Lesley Sharp", "Sylvester Stallone", "Thomas Ian Nicholas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0004 0997 803X"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"actor\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0997 803X\" .  }", "answer": "Suresh Oberoi"}, {"question": "Was Brian Geraghty born before 1967?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian Geraghty"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1967", "<"]}], "sparql": "ASK { ?e <pred:name> \"Brian Geraghty\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  }", "answer": "no"}, {"question": "The visual artwork that earned the 2007 National Society of Film Critics Award for Best Supporting Actor was published in what location on 2007-10-25?", "choices": ["Grauman's Chinese Theatre", "58th Berlin International Film Festival", "West Germany", "Iceland", "Bulgaria", "Germany", "worldwide", "Sweden", "United States of America", "Portal:Belgium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2007", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2007-10-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Supporting Actor\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2007 . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-10-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does Perak or Tyrol cover less area?", "choices": ["Perak", "Upper Austria", "Minas Gerais", "Podlaskie Voivodeship", "Lublin Voivodeship", "Greater Poland Voivodeship", "New South Wales", "England", "Punjab", "Tyrol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Perak"]}, {"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tyrol"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Perak\" .  } UNION { ?e <pred:name> \"Tyrol\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Austria\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tyrol"}, {"question": "How many jazz entities fall within the genre of Bravo (genre of ska) and were established before 1943 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ska"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bravo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["jazz"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [6], "inputs": ["inception", "1943", "<"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["jazz"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Bravo\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"ska\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1943 ) .  }", "answer": "0"}, {"question": "Which Twitter handle belongs to the person with the official website www.arjunrampal.org?", "choices": ["rampalarjun", "FCNantes", "PrideOfGypsiesJ", "thejackhuston", "mtsunews", "stockportcounty", "richsommer", "priyadarshandir", "Parlophone", "ddlovato"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.arjunrampal.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.arjunrampal.org/\" . ?e <Twitter_username> ?pv .  }", "answer": "rampalarjun"}, {"question": "How is The Crying Game related to Forest Whitaker?", "choices": ["capital", "language used", "sidekick of", "producer", "candidacy in election", "culture", "participant", "maintained by", "cast member", "narrative role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Crying Game"]}, {"function": "Find", "dependencies": [], "inputs": ["Forest Whitaker"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Crying Game\" . ?e_2 <pred:name> \"Forest Whitaker\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What part of Turkey has the demonym of \u05d8\u05d5\u05e8\u05e7\u05d9?", "choices": ["Northeastern Ontario", "Plazas de soberan\u00eda", "Kivalliq Region", "masculine", "Bay County", "Billings County", "Jasper County", "Northern Borders Region", "Sint Maarten", "Bogor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turkey"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["demonym", "\u05d8\u05d5\u05e8\u05e7\u05d9", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Turkey\" . ?e <demonym> ?pv . ?pv <pred:value> \"\u05d8\u05d5\u05e8\u05e7\u05d9\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "What has Meet Dave in common with New York City?", "choices": ["languages spoken, written or signed", "country of citizenship", "properties for this type", "member of", "narrative location", "production designer", "lowest point", "librettist", "sidekick of", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meet Dave"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Meet Dave\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "How many diseases either have the ICD-10-CM of F43.1 or were the main subject of Salmon Fishing in the Yemen?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-10-CM", "F43.1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "Find", "dependencies": [], "inputs": ["Salmon Fishing in the Yemen"]}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["disease"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" .  { ?e <ICD-10-CM> ?pv . ?pv <pred:value> \"F43.1\" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Salmon Fishing in the Yemen\" .  } }", "answer": "2"}, {"question": "How many films are titled The Expendables or mainly portray aviation?", "choices": ["47", "48", "49", "50", "51", "52", "53", "54", "55", "56"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Expendables"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["aviation"]}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" .  { ?e <title> ?pv . ?pv <pred:value> \"The Expendables\" .  } UNION { ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"aviation\" .  } }", "answer": "53"}, {"question": "What is the relationship between Lyon and Aleppo?", "choices": ["present in work", "sponsor", "dialect of", "hair color", "worshipped by", "founded by", "composer", "highest judicial authority", "twinned administrative body", "conferred by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lyon"]}, {"function": "Find", "dependencies": [], "inputs": ["Aleppo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lyon\" . ?e_2 <pred:name> \"Aleppo\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which fictional profession was born in Montreal and the native language name Aurora?", "choices": ["Rogue", "Wonder Woman", "Frankenstein", "Havok", "Michelangelo", "Daredevil", "Aurora", "Darwin", "Hercules", "Batman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montreal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "Aurora"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional profession"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Montreal\" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Aurora\" .  }", "answer": "Aurora"}, {"question": "What's the connection between Samuel M. Comer and Topeka?", "choices": ["material used", "medical condition", "substitute/deputy/replacement of office/officeholder", "practiced by", "rector", "characters", "production company", "military conflicts", "model item", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel M. Comer"]}, {"function": "Find", "dependencies": [], "inputs": ["Topeka"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Samuel M. Comer\" . ?e_2 <pred:name> \"Topeka\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Regarding the historical counties which have a common border with the Russian Empire, which county has the greatest amount of area?", "choices": ["Swedish Empire", "Qing dynasty", "Confederate States of America", "Kingdom of Portugal", "Union of South Africa", "Empire of Japan", "German Empire", "Crown of Arag\u00f3n", "Spanish Empire", "Second French Empire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian Empire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Russian Empire\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Qing dynasty"}, {"question": "Which visual artwork is different from the human that has the birth name Edwin Henry Murrant?", "choices": ["Training Day", "Talk to Her", "Infernal Affairs II", "Rebecca", "The Fifth Element", "A Prairie Home Companion", "The Hunger Games", "Rise of the Planet of the Apes", "Pleasantville", "Breaker Morant"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Edwin Henry Murrant"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <different_from> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Edwin Henry Murrant\" .   }", "answer": "Breaker Morant"}, {"question": "How many countries contain a sport associated with a person that is the member of Livingston F.C. ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Livingston F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country for sport", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["country"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e_1 <country_for_sport> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Livingston F.C.\" .   }", "answer": "1"}, {"question": "What is the birth date of the individual born as Matthew Langford Perry?", "choices": ["1982-09-07", "1950-03-18", "1945-05-08", "1939-05-23", "1955-05-03", "1989-07-11", "1970-01-31", "1962-05-17", "1969-08-19", "1936-11-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Matthew Langford Perry"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Matthew Langford Perry\" . ?e <date_of_birth> ?pv .  }", "answer": "1969-08-19"}, {"question": "Is The Patriot published on 1928-08-17 or Fish Tank longer?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "A Prairie Home Companion", "Talk to Her", "Fish Tank", "The Patriot", "The Towering Inferno", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1928-08-17", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Fish Tank"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Patriot\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1928-08-17\"^^xsd:date . } UNION { ?e <pred:name> \"Fish Tank\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fish Tank"}, {"question": "What is the connection between The Count of Monte Cristo (the one whose publication date is 1954-01-01) to film based on literature?", "choices": ["legislative body", "professorship", "fabrication method", "has part", "capital", "approved by", "genre", "uses", "occupant", "health specialty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Count of Monte Cristo"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1954-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Count of Monte Cristo\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1954-01-01\"^^xsd:date . ?e_2 <pred:name> \"film based on literature\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which area is smaller, Sault Ste. Marie or Agra?", "choices": ["Abidjan", "Dundee", "Chihuahua", "Trieste", "Kilkenny", "Sault Ste. Marie", "Bergen", "Santo Domingo", "Agra", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sault Ste. Marie"]}, {"function": "Find", "dependencies": [], "inputs": ["Agra"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sault Ste. Marie\" .  } UNION { ?e <pred:name> \"Agra\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Agra"}, {"question": "Regarding the profession that is Lucien Ballard's occupation, tell me its ROME Occupation Code (v3)", "choices": ["C1503", "L1505", "K2401", "M1402", "L1204", "J1102", "L1508", "L1103", "E1201", "D1202"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lucien Ballard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ROME Occupation Code (v3)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Lucien Ballard\" .  ?e <ROME_Occupation_Code_(v3)> ?pv .  }", "answer": "L1505"}, {"question": "How many award ceremonies follow the 14th Screen Actors Guild Awards and receive the 54th Primetime Emmy Awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["14th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "Find", "dependencies": [], "inputs": ["54th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award ceremony"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"14th Screen Actors Guild Awards\" .  ?e <award_received> ?e_2 . ?e_2 <pred:name> \"54th Primetime Emmy Awards\" .  }", "answer": "0"}, {"question": "When did Ibaraki Prefecture have a population of 2975167?", "choices": ["2015-02-01", "2008-12-01", "1834-12-01", "1928", "1993", "1919-01-01", "2005-01-01", "2013-04-11", "2011-12-31", "1501"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ibaraki Prefecture"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "2975167", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ibaraki Prefecture\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2975167\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "Is the population of New Haven County under 3600, according to census?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Haven County"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "determination method", "census"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["3600", "<"]}], "sparql": "ASK { ?e <pred:name> \"New Haven County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"3600\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"census\" .  }", "answer": "no"}, {"question": "What is the connection between Swept Away to Fox Searchlight Pictures?", "choices": ["narrative location", "film editor", "place of burial", "mouth of the watercourse", "sexual orientation", "board member", "appears in the form of", "licensed to broadcast to", "production company", "after a work by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swept Away"]}, {"function": "Find", "dependencies": [], "inputs": ["Fox Searchlight Pictures"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Swept Away\" . ?e_2 <pred:name> \"Fox Searchlight Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "Tell me the town that is the administrative territorial entity capital that has a NUTS code of UKM26.", "choices": ["Greenwich", "Doncaster", "Hampstead", "Colchester", "Falkirk", "Royal Tunbridge Wells", "Grimsby", "South Shields", "Wigan", "Dumfries"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKM26"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["town"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"administrative territorial entity\" . ?e_1 <NUTS_code> ?pv . ?pv <pred:value> \"UKM26\" .   }", "answer": "Falkirk"}, {"question": "How many Netherlands municipalities are administrative divisions of Drenthe?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Drenthe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Drenthe\" .   }", "answer": "0"}, {"question": "What film is the origin of the name Happy Madison Productions?", "choices": ["They Might Be Giants", "A Prairie Home Companion", "Tangled", "Happy Gilmore", "Into the Storm", "Rebecca", "Pleasantville", "We Bought a Zoo", "Talk to Her", "It's a Wonderful Life"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Happy Madison Productions"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Happy Madison Productions\" .   }", "answer": "Happy Gilmore"}, {"question": "Did the legislative term that was followed by the 19th United States Congress end before 1944?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["19th United States Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1944", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"19th United States Congress\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1944 ) .  }", "answer": "yes"}, {"question": "When did Bill Berry (the one that is famous for alternative rock) stop iving in Duluth?", "choices": ["1933-03-04", "1666", "1961", "2006-10-15", "1991-11-10", "1801-02-08", "1957", "1945-05-07", "2020", "1939-05-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Berry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Duluth"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["residence", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bill Berry\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"alternative rock\" . ?e_2 <pred:name> \"Duluth\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1961"}, {"question": "Which island of those under 460 meters above sea level is lowest in elevation?", "choices": ["Nantucket", "Aruba", "Hawaii", "Trinidad", "Saint John", "Puerto Rico", "Tasmania", "Long Island", "Cyprus", "Newfoundland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "460 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"460\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nantucket"}, {"question": "What is the Revised Romanization of the association football club that has Jung Sung-ryong as a member (the number of games played of this statement is 131)?", "choices": ["Gim Yunjin", "Eseubieseu", "Gim Jun-ho", "Seongnam Simin Peulochuggudan", "Gaeri", "Dae-u Royaljeu", "Suwon Samseong Beulluwingjeu", "Goemul", "Joseon Minjujuui Inmin Gonghwaguk", "Wusan Hyeondae"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jung Sung-ryong"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of matches played/races/starts", "131", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Revised Romanization"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Jung Sung-ryong\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"131\"^^xsd:double . ?e <Revised_Romanization> ?pv .  }", "answer": "Suwon Samseong Beulluwingjeu"}, {"question": "For the television series that has 7316 episodes, how many seasons does it have?", "choices": ["2", "8", "35", "30", "3", "28", "29", "36", "14", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "7316", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"7316\"^^xsd:double . ?e <number_of_seasons> ?pv .  }", "answer": "29"}, {"question": "What city is where film director John Abraham died and is located in India, which has diplomatic ties to Seychelles?", "choices": ["Coimbatore", "Delhi", "Kingston", "Cork", "Trieste", "Kolkata", "Mumbai", "Kilkenny", "Kozhikode", "Chennai"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seychelles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [6], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Abraham"]}, {"function": "And", "dependencies": [7, 8], "inputs": []}, {"function": "Relate", "dependencies": [9], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [10], "inputs": ["city"]}, {"function": "And", "dependencies": [5, 11], "inputs": []}, {"function": "What", "dependencies": [12], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"India\" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> \"Seychelles\" .  ?e_3 <place_of_death> ?e . ?e_3 <pred:name> \"John Abraham\" . ?e_3 <occupation> ?e_4 . ?e_4 <pred:name> \"film director\" .  }", "answer": "Kozhikode"}, {"question": "What is the INSEE countries and foreign territories code of the sovereign state whose area is equal to 173809 square kilometres?", "choices": ["99442", "99205", "99303", "99245", "99116", "99142", "99242", "99435", "99337", "99249"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "173809 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["INSEE countries and foreign territories code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"173809\"^^xsd:double . ?e <INSEE_countries_and_foreign_territories_code> ?pv .  }", "answer": "99245"}, {"question": "Which has the largest population among the New York cities that are headed by a mayor?", "choices": ["Syracuse", "Buffalo", "Troy", "Utica", "White Plains", "Glen Cove", "Glens Falls", "Auburn", "Long Beach", "Elmira"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"mayor\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Buffalo"}, {"question": "What is the are of the city that had the NUTS code of UKJ31 in 1999?", "choices": ["1716 square kilometre", "3585 square kilometre", "18293.0 square kilometre", "150.312912 square kilometre", "9965 square kilometre", "30.522981 square kilometre", "40.25 square kilometre", "98.253918 square kilometre", "34022 square kilometre", "471.78 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKJ31"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKJ31\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:year> 1999 . ?e <area> ?pv .  }", "answer": "40.25 square kilometre"}, {"question": "Jon Favreau from the cast of Deep Impact is cast in which role on Daredevil, released in the USA?", "choices": ["Willie Lumpkin", "Che Guevara", "King Triton", "Herbert Sobel", "Optimus Prime", "Foggy Nelson", "Tony Mendez", "The Peddler", "Bill Yoast", "Skeeter Bronson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Daredevil"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Deep Impact"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jon Favreau"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Daredevil\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Jon Favreau\" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> \"Deep Impact\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Foggy Nelson"}, {"question": "What industry does the business with the ISNI of 0000 0004 0465 1775 belong to?", "choices": ["pharmaceutical industry", "Napoleonic Wars", "agriculture", "Western Desert Campaign", "Second Intifada", "Regina", "consumer electronics", "conglomerate", "Today", "Android"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0465 1775"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Relate", "dependencies": [2], "inputs": ["industry", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["industry"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <industry> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"business\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0465 1775\" .   }", "answer": "pharmaceutical industry"}, {"question": "Of the communes of Italy that do not have a population of 420000, which has the least area?", "choices": ["Zookeeper", "Lucca", "Bucharest", "Frankenstein", "Treviso", "Erin Brockovich", "Michel Legrand", "Pavia", "Mantua", "Cremona"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "420000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comune of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"420000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Treviso"}, {"question": "How is Lap steel guitar related to Jimmy Page?", "choices": ["honorific prefix", "influenced by", "symptom of", "cast member", "famous people", "public holiday", "this taxon is source of", "director/manager", "legal form", "operating system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lap steel guitar"]}, {"function": "Find", "dependencies": [], "inputs": ["Jimmy Page"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lap steel guitar\" . ?e_2 <pred:name> \"Jimmy Page\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the connection between Thunder Bay (the one that has Harry Morgan as a cast member) to Harry Morgan?", "choices": ["commissioned by", "quotes work", "approved by", "drug used for treatment", "stated in", "cast member", "art director", "month of the year", "illustrator", "platform"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Morgan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thunder Bay"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Harry Morgan"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thunder Bay\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Harry Morgan\" . ?e_2 <pred:name> \"Harry Morgan\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What does Monster's Ball have to do with Mos Def?", "choices": ["organizer", "general manager", "has effect", "filming location", "industry", "main subject", "copyright representative", "cast member", "writing system", "programming language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monster's Ball"]}, {"function": "Find", "dependencies": [], "inputs": ["Mos Def"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Monster's Ball\" . ?e_2 <pred:name> \"Mos Def\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is the Dewey Decimal Classification of a metropolitan borouth, with a population of 774100 on 1st July 2015, equal to 2--46942?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "774100", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2015-07-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["metropolitan borough"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["2--46942"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"774100\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2015-07-01\"^^xsd:date . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--46942\" .  }", "answer": "no"}, {"question": "How many California counties are an end point of the Golden Gate Bridge or that are located in Sierra Nevada?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Gate Bridge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["terminus", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "Find", "dependencies": [], "inputs": ["Sierra Nevada"]}, {"function": "Relate", "dependencies": [3], "inputs": ["mountain range", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of California"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" .  { ?e_1 <terminus> ?e . ?e_1 <pred:name> \"Golden Gate Bridge\" .  } UNION { ?e <mountain_range> ?e_1 . ?e_1 <pred:name> \"Sierra Nevada\" .  } }", "answer": "3"}, {"question": "What point of time is the Victor Hugo's Hunchback of Notre Dame with the narrative location of the Paris that is the filming location of Ocean's Twelve set in?", "choices": ["2018-12-31", "1818", "1863-01-01", "1482", "2009-11-20", "1957-03-27", "2010-08-01", "1952-03-20", "1998-11-18", "1974-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victor Hugo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hunchback of Notre Dame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ocean's Twelve"]}, {"function": "Relate", "dependencies": [4], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["narrative location", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Hunchback of Notre Dame\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Victor Hugo\" . ?e_2 <pred:name> \"Paris\" . ?e_4 <filming_location> ?e_2 . ?e_4 <pred:name> \"Ocean's Twelve\" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1482"}, {"question": "What person appears in the film whose exploitation visa number is 66874 (this statement's start date is 1990-03-16)?", "choices": ["Rahul Dev Burman", "Simon Cowell", "David Byrne", "Sylvester Stallone", "Guy Pearce", "Cyrano de Bergerac", "Richard Gere", "Max Fleischer", "William Henry Harrison", "Mark Johnson"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "66874"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1990-03-16", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["characters", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <characters> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"66874\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> \"1990-03-16\"^^xsd:date .   }", "answer": "Cyrano de Bergerac"}, {"question": "Tell me the relationship between Robert Louis Stevenson and Charles Dickens", "choices": ["founded by", "voice actor", "headquarters location", "located in time zone", "this taxon is source of", "dissertation submitted to", "located in or next to body of water", "influenced by", "official symbol", "cites"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Louis Stevenson"]}, {"function": "Find", "dependencies": [], "inputs": ["Charles Dickens"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Louis Stevenson\" . ?e_2 <pred:name> \"Charles Dickens\" . ?e_1 ?p ?e_2 .  }", "answer": "influenced by"}, {"question": "What official website belongs to the TV production company founded on 1949-01-01?", "choices": ["http://www.enriqueiglesias.com", "http://www.fu-berlin.de/", "http://www.eaguingamp.com", "https://20thtv.com/", "http://www.wheaton.edu", "http://www.nfl.com/draft/history/fulldraft?season=2008", "https://www.apple.com/", "http://www.co.cameron.tx.us", "http://www.dendarii.com/", "http://www.theguardian.com/books/guardianchildrensfictionprize"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1949-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["TV production company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"TV production company\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1949-01-01\"^^xsd:date . ?e <official_website> ?pv .  }", "answer": "https://20thtv.com/"}, {"question": "Among the film that is a derivative work of Mission: Impossible which has run for 48 minute, Which is expensive?", "choices": ["Pleasantville", "Mission: Impossible II", "Mission: Impossible III", "The Towering Inferno", "A Prairie Home Companion", "Curse of the Golden Flower", "Training Day", "Rebecca", "Talk to Her", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "48 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["cost", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Mission: Impossible\" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"48\"^^xsd:double . ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mission: Impossible III"}, {"question": "How many United States towns have a head of government who is Persian or are in the country of the United States of America?", "choices": ["19", "20", "21", "22", "23", "24", "25", "26", "27", "28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Persian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town of the United States"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" .  { ?e <head_of_government> ?e_1 . ?e_1 <pred:name> \"Persian\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "23"}, {"question": "How are Whatcom and Skagit Counties related?", "choices": ["voice actor", "commissioned by", "shares border with", "facet of", "instrumentation", "programming language", "characters", "fictional universe described in", "production company", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Whatcom County"]}, {"function": "Find", "dependencies": [], "inputs": ["Skagit County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Whatcom County\" . ?e_2 <pred:name> \"Skagit County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "\u05dc\u05d1\u05e0\u05d5\u05df is the title of which visual artwork?", "choices": ["Lebanon", "Hollywood", "Seraphim Falls", "A Prairie Home Companion", "The Opposite of Sex", "Talk to Her", "The Fifth Element", "Rebecca", "The Queen", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u05dc\u05d1\u05e0\u05d5\u05df"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"\u05dc\u05d1\u05e0\u05d5\u05df\" .  }", "answer": "Lebanon"}, {"question": "Post-punk is the genre of which studio album?", "choices": ["Led Zeppelin", "Friends", "Nick Cave and the Bad Seeds", "Peter Gabriel", "The Beatles", "New Order", "Neil Young", "Metallica", "Shakira", "Illinois"], "program": [{"function": "Find", "dependencies": [], "inputs": ["post-punk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["studio album"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"studio album\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"post-punk\" .   }", "answer": "Peter Gabriel"}, {"question": "What was the date of birth of Beetlejuice (the one that is an ethnic group of African Americans)?", "choices": ["1947-10-26", "1951-09-25", "1982-06-11", "1968-06-02", "1933-08-26", "1877-08-10", "1961-02-05", "1966", "1972-05-02", "1947-10-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["African Americans"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beetlejuice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Beetlejuice\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"African Americans\" .  ?e <date_of_birth> ?pv .  }", "answer": "1968-06-02"}, {"question": "How many administrative territorial entity of Canada whose local label is Nunavut or whose quick call is N.W.T.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Nunavut"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["short name", "N.W.T."]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" .  { ?e <native_label> ?pv . ?pv <pred:value> \"Nunavut\" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> \"N.W.T.\" .  } }", "answer": "2"}, {"question": "Does the person who founded King's College London, have ISNI 0000 0001 2147 991X?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King's College London"]}, {"function": "Relate", "dependencies": [0], "inputs": ["founded by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2147 991X"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <founded_by> ?e . ?e_1 <pred:name> \"King's College London\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2147 991X\" .  }", "answer": "no"}, {"question": "When were there 10473892 out-of-school children in the republic where the serial killer-themed Killers was filmed?", "choices": ["2011-07-27", "2012-12-19", "2017-01-12", "1984-04-09", "2004-03-17", "1969-12-01", "2007-07-01", "2004-01-01", "2017-09-14", "1956-03-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["serial killer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Killers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["republic"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["number of out-of-school children", "10473892", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Killers\" . ?e_1 <main_subject> ?e_2 . ?e_2 <pred:name> \"serial killer\" .  ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"10473892\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2004-01-01"}, {"question": "Which United States college or university has the significant event of mixed-sex education (beginning in 1869) and the PermID of 5056444574?", "choices": ["North Dakota State University", "University of Maine", "University of Minnesota", "Virginia Tech", "Iowa State University", "University of Arkansas", "Montana State University - Bozeman", "University of Idaho", "North Carolina Agricultural and Technical State University", "Kansas State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "Relate", "dependencies": [0], "inputs": ["significant event", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1869", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["colleges and universities in the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["PermID", "5056444574"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["colleges and universities in the United States"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <significant_event> ?e_1 . ?e_1 <pred:name> \"mixed-sex education\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1869 . ?e <PermID> ?pv . ?pv <pred:value> \"5056444574\" .  }", "answer": "Iowa State University"}, {"question": "Is the birth name of the human that received an MTV Movie Award for Best Breakthrough Performance in 1998 Heather Joan Graham?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Breakthrough Performance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1998", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Heather Joan Graham"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"MTV Movie Award for Best Breakthrough Performance\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1998 . ?e <birth_name> ?pv . ?pv <pred:value> \"Heather Joan Graham\" .  }", "answer": "yes"}, {"question": "What person uses Norwegian as a native language and has the occupation of playwright?", "choices": ["Ben Elton", "Henrik Ibsen", "Voltaire", "Max Fleischer", "Edward Albee", "Robert B. Sherman", "Charles Dickens", "William Henry Harrison", "Sylvester Stallone", "Albert Camus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norwegian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["native language", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["playwright"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <native_language> ?e_1 . ?e_1 <pred:name> \"Norwegian\" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> \"playwright\" .  }", "answer": "Henrik Ibsen"}, {"question": "Do the Russians or the Puerto Ricans have smaller population?", "choices": ["Puerto Ricans", "Austrians", "Swedes", "French American", "Italians", "American Jews", "Irish migration to Great Britain", "Armenians", "Russians", "Indian American"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russians"]}, {"function": "Find", "dependencies": [], "inputs": ["Puerto Ricans"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Russians\" .  } UNION { ?e <pred:name> \"Puerto Ricans\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Puerto Ricans"}, {"question": "Which has the largest atomic number among the chemical elements whose oxidation state is 5?", "choices": ["manganese", "Libya", "Association of American Universities", "magnesium", "zinc", "calcium", "sodium", "selenium", "Joanne Coyle", "phosphorus"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["oxidation state", "5", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["atomic number", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <oxidation_state> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"5\"^^xsd:double . ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "manganese"}, {"question": "What relation do Antichrist and Wuppertal have with one another?", "choices": ["place of burial", "distributor", "narrative location", "use", "item operated", "voice type", "this taxon is source of", "professorship", "location of discovery", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antichrist"]}, {"function": "Find", "dependencies": [], "inputs": ["Wuppertal"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Antichrist\" . ?e_2 <pred:name> \"Wuppertal\" . ?e_1 ?p ?e_2 .  }", "answer": "filming location"}, {"question": "Who is the composer of the TV series titled Eve?", "choices": ["Doc Watson", "John Ottman", "Sufjan Stevens", "John Davis", "Randy Edelman", "Missy Elliott", "Jeffrey Tambor", "Mark Isham", "Giorgio Moroder", "James Newton Howard"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Eve"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> \"Eve\" .   }", "answer": "Missy Elliott"}, {"question": "Is http://www.foxsearchlight.com/fastfoodnation/ the official website of the movie, Fast Food Nation?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Fast Food Nation"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.foxsearchlight.com/fastfoodnation/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Fast Food Nation\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.foxsearchlight.com/fastfoodnation/\" .  }", "answer": "yes"}, {"question": "Who is taller, Leon Trotsky or Rupert Everett?", "choices": ["Richard Gere", "James E. Reilly", "Rupert Everett", "Simon Cowell", "William Henry Harrison", "David Byrne", "Rahul Dev Burman", "Paul Simon", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leon Trotsky"]}, {"function": "Find", "dependencies": [], "inputs": ["Rupert Everett"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Leon Trotsky\" .  } UNION { ?e <pred:name> \"Rupert Everett\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rupert Everett"}, {"question": "Is Degrassi: The Next Generation or Stargate SG-1 the longer of the two?", "choices": ["Seinfeld", "Six Feet Under", "Degrassi: The Next Generation", "Game of Thrones", "Stargate SG-1", "Bleak House", "Robot Chicken", "Phineas and Ferb", "Saturday Night's Main Event", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Degrassi: The Next Generation"]}, {"function": "Find", "dependencies": [], "inputs": ["Stargate SG-1"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Degrassi: The Next Generation\" .  } UNION { ?e <pred:name> \"Stargate SG-1\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Stargate SG-1"}, {"question": "Is Beginners the title for the visual artwork that has Don Messick as a voice actor?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Messick"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Beginners"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Don Messick\" .  ?e <title> ?pv . ?pv <pred:value> \"Beginners\" .  }", "answer": "no"}, {"question": "Tell me the number of hardcore punk who has an inception time after 1992 or is in the genre of Gwen Wakeling", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1992", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hardcore punk"]}, {"function": "Find", "dependencies": [], "inputs": ["Gwen Wakeling"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hardcore punk"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hardcore punk\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1992 ) .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"Gwen Wakeling\" .  } }", "answer": "2"}, {"question": "Which movie is longer, The Three Musketeers (the one that has Don Ameche as a cast member) or Eyes Wide Shut?", "choices": ["The Fifth Element", "Training Day", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Towering Inferno", "Eyes Wide Shut", "Rebecca", "The Three Musketeers", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Ameche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Eyes Wide Shut"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Don Ameche\" .   } UNION { ?e <pred:name> \"Eyes Wide Shut\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eyes Wide Shut"}, {"question": "How tall is the person whose Twitter username is MClayton83NYG>", "choices": ["74 inch", "170 centimetre", "1.73 metre", "159 centimetre", "1.53 metre", "168 centimetre", "164 centimetre", "1.61 metre", "155 centimetre", "70 inch"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "MClayton83NYG"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"MClayton83NYG\" . ?e <height> ?pv .  }", "answer": "74 inch"}, {"question": "Regarding the person who works as a property developer, and who weighs 243 pounds, tell me the time point of it.", "choices": ["2010-12-31", "2019", "2014-06-30", "2011-03-09", "2013-12-31", "1843-12-01", "1853-01-01", "1973-12-01", "2005-11-21", "1764"], "program": [{"function": "Find", "dependencies": [], "inputs": ["property developer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["mass", "243 pound", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"property developer\" .  ?e <mass> ?pv . ?pv <pred:unit> \"pound\" . ?pv <pred:value> \"243\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <mass> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2019"}, {"question": "Who has more children, Warren G. Harding (the one whose birth name is Warren Gamaliel Harding) or Adam Smith (the one that is educated at Fordham University)?", "choices": ["Richard Gere", "James E. Reilly", "Paul Simon", "Sylvester Stallone", "Rahul Dev Burman", "Warren G. Harding", "Max Fleischer", "Adam Smith", "David Byrne", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren G. Harding"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Warren Gamaliel Harding"]}, {"function": "Find", "dependencies": [], "inputs": ["Fordham University"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Smith"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Warren G. Harding\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Warren Gamaliel Harding\" . } UNION { ?e <pred:name> \"Adam Smith\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Fordham University\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Adam Smith"}, {"question": "How is Billy Idol related to the United Kingdom?", "choices": ["sports season of league or competition", "writing system", "connects with", "country of citizenship", "production company", "position played on team / speciality", "original language of film or TV show", "history of topic", "model item", "native language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Idol"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billy Idol\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which area is smaller, Tuscola County or Clinton County (the one whose inception time is 1831)?", "choices": ["Clinton County", "Genesee County", "Marquette County", "Macomb County", "Washtenaw County", "Tuscola County", "Saginaw County", "Kent County", "Monroe County", "Berrien County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuscola County"]}, {"function": "Find", "dependencies": [], "inputs": ["Clinton County"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1831", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tuscola County\" . } UNION { ?e <pred:name> \"Clinton County\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1831 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Clinton County"}, {"question": "I want to know the relationship between Steven Zaillian and Sonoma State University", "choices": ["presenter", "located in the administrative territorial entity", "product or material produced", "parent organization", "educated at", "subsidiary", "occupant", "ethnic group", "spouse", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Zaillian"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonoma State University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steven Zaillian\" . ?e_2 <pred:name> \"Sonoma State University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "What is the official website of the art school with ISNI 0000 0001 2163 2320?", "choices": ["http://www.bbc.co.uk/hamlet/", "http://www.studiocanal.com/", "https://www.millaj.com/", "http://johnhurt.co.uk", "http://www.theartstudentsleague.org/", "http://www.matthewmcconaughey.com/", "http://www.frankfort.ky.gov/", "http://tc1.bpafc.com/", "http://www.angelalansbury.net", "http://www.boll-kg.de/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2163 2320"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art school"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art school\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2163 2320\" . ?e <official_website> ?pv .  }", "answer": "http://www.theartstudentsleague.org/"}, {"question": "Is the ISNI of the person that works in New York, where X2 takes place, 0000 0001 2130 3885 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["X2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["work location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0000 0001 2130 3885"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <work_location> ?e_1 . ?e_1 <pred:name> \"New York\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"X2\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2130 3885\" .  }", "answer": "yes"}, {"question": "How many public universities are a school where the National Football League Draft (whose official English language website is http://www.nfl.com/draft/history/fulldraft?season=2004) is picked from?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nfl.com/draft/history/fulldraft?season=2004"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["National Football League Draft"]}, {"function": "Relate", "dependencies": [3], "inputs": ["draft pick from school", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <draft_pick_from_school> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"National Football League Draft\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.nfl.com/draft/history/fulldraft?season=2004\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "5"}, {"question": "How is Gods and Monsters related to the BIFA Award for Best British Independent Film?", "choices": ["quotes work", "permanent resident of", "public holiday", "seed team", "manufacturer", "participant of", "head of government", "has effect", "family", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gods and Monsters"]}, {"function": "Find", "dependencies": [], "inputs": ["BIFA Award for Best British Independent Film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gods and Monsters\" . ?e_2 <pred:name> \"BIFA Award for Best British Independent Film\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the Instagram username of the person influenced by The Rolling Stones?", "choices": ["inter", "marilynmanson", "shakira", "gameloft", "gfc_official", "thedoors", "laclippers", "murkanpianist", "officialsabbath", "petshopboys"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Rolling Stones"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"The Rolling Stones\" .  ?e <Instagram_username> ?pv .  }", "answer": "shakira"}, {"question": "How long is Glory originally in Bulgarian?", "choices": ["229 minute", "106 minute", "61 minute", "150 minute", "190 minute", "97 minute", "7 minute", "62 minute", "11 minute", "66 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgarian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Glory"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Glory\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Bulgarian\" .  ?e <duration> ?pv .  }", "answer": "97 minute"}, {"question": "What is the birth date of a person other than Jim Brown (the one whose position is running back)?", "choices": ["1888-09-26", "1953-02-26", "1956-08-14", "1888-10-16", "1966-03-05", "1892-02-10", "1950-02-20", "1973-04-24", "1929-04-14", "1969-04-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["running back"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Jim Brown\" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> \"running back\" .  ?e <date_of_birth> ?pv .  }", "answer": "1956-08-14"}, {"question": "Which area is smaller, Hancock County (the one whose population is 54659) or Somerset County (the one whose population is 51824)?", "choices": ["Hancock County", "Penobscot County", "Kennebec County", "York County", "Aroostook County", "Cumberland County", "Franklin County", "Somerset County", "Washington County", "Oxford County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hancock County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "54659", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "51824", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hancock County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"54659\"^^xsd:double . } UNION { ?e <pred:name> \"Somerset County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"51824\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hancock County"}, {"question": "Is there more than 53000 females in the administrative territorial entity that has the capital of Coimbatore?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coimbatore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["female population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["53000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Coimbatore\" .  ?e <female_population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"53000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What city has local dialing code 41?", "choices": ["Kaohsiung", "Kilkenny", "Curitiba", "Kingston", "Berlin", "Cork", "Kitchener", "Trieste", "Truro", "Worcester"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "41"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"41\" .  }", "answer": "Curitiba"}, {"question": "How many followers have the Twitter username VoiceOfOBrien (who was born in Belleville, that is 11 meters above the sea level)?", "choices": ["166697", "109999", "415310", "215652", "29440", "1118", "168087", "120881", "30766", "1402789"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belleville"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "11 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "VoiceOfOBrien", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Belleville\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"11\"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> \"VoiceOfOBrien\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "166697"}, {"question": "Was Matthew Broderick not born in 1978?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Matthew Broderick"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1978", "!="]}], "sparql": "ASK { ?e <pred:name> \"Matthew Broderick\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) .  }", "answer": "yes"}, {"question": "Which movie is longer, The History Boys or The Three Musketeers (the one whose composer is Joseph Barbera)?", "choices": ["Training Day", "The Three Musketeers", "Rebecca", "The History Boys", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Talk to Her", "The Towering Inferno", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The History Boys"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Barbera"]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The History Boys\" .  } UNION { ?e <pred:name> \"The Three Musketeers\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Joseph Barbera\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The History Boys"}, {"question": "Who was nominated for a Academy Award for Best Actress for Walk the Line?", "choices": ["Ukraine-Australia relation", "Denmark\u2013Pakistan relations", "Bolivia\u2013Uruguay relations", "13th Academy Awards", "Bolivia\u2013Russia relations", "Greece\u2013Malaysia relations", "78th Academy Awards", "Republic of Macedonia\u2013Turkey relations", "Bermuda\u2013United States relations", "Ecuador\u2013Mexico relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walk the Line"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Walk the Line\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "78th Academy Awards"}, {"question": "What is the ending date that Vienna (that is the twinned administrative body of Tunis) is the capital of Lower Austria?", "choices": ["1837", "1506-01-01", "1748-10-18", "1986", "1928-08-12", "1923-08-02", "1994-09-11", "1328-01-01", "1991-05-28", "1979"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vienna"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lower Austria"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["capital of", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Vienna\" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Tunis\" . ?e_2 <pred:name> \"Lower Austria\" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1986"}, {"question": "Is the official website of a baseball team, whose Twitter username is Rockies (the subscription number of this statement is 531148), http://www.coloradorockies.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Rockies"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "531148", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["baseball team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.coloradorockies.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Rockies\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"531148\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.coloradorockies.com/\" .  }", "answer": "yes"}, {"question": "How many plays received a Pulitzer Prize for Drama or contain Jesus Christ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pulitzer Prize for Drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["play"]}, {"function": "Find", "dependencies": [], "inputs": ["Jesus Christ"]}, {"function": "Relate", "dependencies": [3], "inputs": ["present in work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["play"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Pulitzer Prize for Drama\" .  } UNION { ?e_1 <present_in_work> ?e . ?e_1 <pred:name> \"Jesus Christ\" .  } }", "answer": "3"}, {"question": "Which French region shares a border with Lower Normandy?", "choices": ["Upper Normandy", "Joe Walsh", "Nigeria", "Martinique", "Normandy", "The Little Mermaid", "Marg Helgenberger", "Brittany", "Boeing 737", "Corsica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lower Normandy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Lower Normandy\" .   }", "answer": "Brittany"}, {"question": "Does Twitter username trent_reznor belongs to the person who has membership with Nine Inch Nails?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nine Inch Nails"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["trent_reznor"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Nine Inch Nails\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"trent_reznor\" .  }", "answer": "yes"}, {"question": "What number of master's degrees are there with MSc as a shortened name?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "MSc"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["master's degree"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"master's degree\" . ?e <short_name> ?pv . ?pv <pred:value> \"MSc\" .  }", "answer": "1"}, {"question": "Which is shorter, Catch Me If You Can (the one that was nominated for BAFTA Award for Best Film Music) or Patch Adams (the one that has Philip Seymour Hoffman as a cast member)?", "choices": ["Patch Adams", "A Prairie Home Companion", "Pleasantville", "Rebecca", "The Hunchback of Notre Dame", "Catch Me If You Can", "Training Day", "The Fifth Element", "Talk to Her", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Film Music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catch Me If You Can"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Philip Seymour Hoffman"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Patch Adams"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Catch Me If You Can\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Film Music\" .   } UNION { ?e <pred:name> \"Patch Adams\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Philip Seymour Hoffman\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Patch Adams"}, {"question": "What is SV Ried's official website?", "choices": ["https://www.rostock.de/", "http://www.fxnetworks.com", "https://www.essen.de/", "http://www.oak-park.us/", "http://www.myspace.com/aliastheproducer", "http://www.svried.at/", "http://www.ci.eureka.ca.gov", "http://www.worc.ox.ac.uk/", "http://www.paramountvantage.com/", "http://www.thueringen.de/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SV Ried"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"SV Ried\" . ?e <official_website> ?pv .  }", "answer": "http://www.svried.at/"}, {"question": "Which river whose discharge is not 6100 cubic meters per second has the smallest watershed area?", "choices": ["Ohio River", "Hudson River", "Amazon", "Missouri River", "Rhine", "Columbia River", "Danube", "River Thames", "Mississippi River", "Dan Simmons"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["discharge", "6100 cubic metre per second", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <discharge> ?pv_1 . ?pv_1 <pred:unit> \"cubic metre per second\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6100\"^^xsd:double ) . ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "River Thames"}, {"question": "Which area has lower elevation above sea level, Guangzhou or Nassau?", "choices": ["Kingston", "Guangzhou", "Bergen", "Nassau", "Abidjan", "Chihuahua", "Trieste", "Santo Domingo", "Dundee", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guangzhou"]}, {"function": "Find", "dependencies": [], "inputs": ["Nassau"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Guangzhou\" .  } UNION { ?e <pred:name> \"Nassau\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Guangzhou"}, {"question": "Which one's population is less, New York metropolitan area or San Francisco Bay Area?", "choices": ["Greater Los Angeles Area", "Greater St. Louis", "San Francisco Bay Area", "Pittsburgh metropolitan area", "Washington metropolitan area", "Seattle metropolitan area", "Greater Houston", "Chicago metropolitan area", "New Orleans metropolitan area", "Portland metropolitan area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York metropolitan area"]}, {"function": "Find", "dependencies": [], "inputs": ["San Francisco Bay Area"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New York metropolitan area\" .  } UNION { ?e <pred:name> \"San Francisco Bay Area\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Francisco Bay Area"}, {"question": "How many SAG awards went to Octavia Spencer or are represented by the website www.sagawards.org?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sagawards.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Screen Actors Guild Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Octavia Spencer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Screen Actors Guild Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sagawards.org/\" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Octavia Spencer\" .  } }", "answer": "3"}, {"question": "Who has more children, Jon Favreau, who began his career in 1992, or Warren G. Harding, who died after a myocardial infarction?", "choices": ["Warren G. Harding", "David Byrne", "Paul Simon", "Rahul Dev Burman", "James E. Reilly", "Simon Cowell", "Sylvester Stallone", "Richard Gere", "William Henry Harrison", "Jon Favreau"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Favreau"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["work period (start)", "1992", "="]}, {"function": "Find", "dependencies": [], "inputs": ["myocardial infarction"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Warren G. Harding"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jon Favreau\" . ?e <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> 1992 . } UNION { ?e <pred:name> \"Warren G. Harding\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> \"myocardial infarction\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jon Favreau"}, {"question": "Regarding the visual artwork that has a script written by Bryan Forbes is the duration under 590 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryan Forbes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["590 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Bryan Forbes\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"590\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What person is educated at the Harvard Graduate School of Design and is born after 1940?", "choices": ["Jon Lord", "Max Fleischer", "Chris Noth", "John Slattery", "David Simon", "Sylvester Stallone", "Chris Lebenzon", "Philip Johnson", "I. M. Pei", "Dick Clark"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harvard Graduate School of Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1940", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Harvard Graduate School of Design\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1940 ) .  }", "answer": "Dick Clark"}, {"question": "Is the Name Assigning Authority Number of Duke University equal to 88117?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duke University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Name Assigning Authority Number"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["88117"]}], "sparql": "ASK { ?e <pred:name> \"Duke University\" . ?e <Name_Assigning_Authority_Number> ?pv . ?pv <pred:value> \"88117\" .  }", "answer": "no"}, {"question": "Does the woman who received the Academy Award for Best Supporting Actress in the 19th Academy Awards have the Munzinger IBA of 00000029444?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "19th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["00000029444"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"19th Academy Awards\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000029444\" .  }", "answer": "no"}, {"question": "How many anime television series' number of episodes is not 480?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "480", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"480\"^^xsd:double ) .  }", "answer": "9"}, {"question": "What kind of job performing research belongs to Richard Attenborough's sibling?", "choices": ["physicist", "film director", "screenwriter", "astronomer", "journalist", "computer scientist", "biochemist", "statistician", "make-up artist", "biologist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Attenborough"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sibling", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["researcher"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <sibling> ?e_2 . ?e_2 <pred:name> \"Richard Attenborough\" .   }", "answer": "biologist"}, {"question": "When did the TV series created by Ricky Gervais end?", "choices": ["1990-02-04", "1917-03-04", "1991-12-12", "1990", "1918-10-31", "1845-03-10", "1917-03-02", "2003-12-27", "1903-01-01", "1980-12-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ricky Gervais"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Ricky Gervais\" .  ?e <end_time> ?pv .  }", "answer": "2003-12-27"}, {"question": "What is the Twitter username of Charlie Adler?", "choices": ["JohnTheCho", "EsbjergfB", "HolyEtchmiadzin", "charlie_adler", "PSG_inside", "jordinsparks", "clubgodoycruz", "armenia", "batemanjason", "disneyanimation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Adler"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Charlie Adler\" . ?e <Twitter_username> ?pv .  }", "answer": "charlie_adler"}, {"question": "What is the connection between the Empire State Building to construction?", "choices": ["enclave within", "separated from", "significant event", "location of discovery", "organisation directed from the office or person", "legislative body", "basic form of government", "risk factor", "located on astronomical location", "place of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Empire State Building"]}, {"function": "Find", "dependencies": [], "inputs": ["construction"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Empire State Building\" . ?e_2 <pred:name> \"construction\" . ?e_1 ?p ?e_2 .  }", "answer": "significant event"}, {"question": "How many musics have an establishment not in 1977 and a David Bowie (the one whose genre is avant-garde jazz) movement?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1977", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "Find", "dependencies": [], "inputs": ["avant-garde jazz"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Bowie"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["movement", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["music"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) . ?e_1 <movement> ?e . ?e_1 <pred:name> \"David Bowie\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"avant-garde jazz\" .  }", "answer": "5"}, {"question": "When was the person with the official website http://eugene.pfull.com/ born?", "choices": ["1949-05-17", "1928-11-29", "1921-04-16", "1931-01-29", "1952-11-24", "1969-10-13", "1981-03-03", "1911-12-07", "1974-06-26", "1943-04-15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://eugene.pfull.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://eugene.pfull.com/\" . ?e <date_of_birth> ?pv .  }", "answer": "1981-03-03"}, {"question": "How many subscribers are there for the Twitter username KidRock that belongs to the person who is the spouse of Pamela Anderson starting on the date 2006-07-29?", "choices": ["1347", "44261", "59500", "7095", "555360", "508352", "540640", "2052696", "365", "966323"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pamela Anderson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2006-07-29", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "KidRock", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Pamela Anderson\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"2006-07-29\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"KidRock\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "555360"}, {"question": "Does postal code 40000-000 belong to the city that's the namesake of Jesus Christ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jesus Christ"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["40000-000"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Jesus Christ\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"40000-000\" .  }", "answer": "yes"}, {"question": "Whose Instagram username is _aamirkhan?", "choices": ["Mohanlal", "Richard Gere", "Tara Strong", "Sylvester Stallone", "Mani Ratnam", "Luci Christian", "John Leguizamo", "Aamir Khan", "Max Fleischer", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "_aamirkhan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"_aamirkhan\" .  }", "answer": "Aamir Khan"}, {"question": "Which person has the Libris-URI of dbqt1z5x1sngjng?", "choices": ["Kylie Minogue", "Edward Said", "Richard Gere", "Sylvester Stallone", "Tom Johnson", "Woody Allen", "William Henry Harrison", "Pier Paolo Pasolini", "Joyce Carol Oates", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "dbqt1z5x1sngjng"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"dbqt1z5x1sngjng\" .  }", "answer": "Kylie Minogue"}, {"question": "What is the native label for Crusade (the one whose number of seasons is 1)?", "choices": ["Deutsche Demokratische Republik", "Th\u00fcringen", "Manhattan", "Harare", "San Antonio", "Crusade", "\uacbd\uc778\ub3d9\ub780", "Princeton", "Louisville", "Republik Indonesia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crusade"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "1", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Crusade\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . ?e <native_label> ?pv .  }", "answer": "Crusade"}, {"question": "When did Italy become Modena's country?", "choices": ["2011-12-28", "1803-03-04", "1911-01-01", "1949-11-29", "1882", "1845-03-10", "2000-05-05", "1917-11-07", "1946-06-18", "2015-04-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Modena"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Modena\" . ?e_2 <pred:name> \"Italy\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1946-06-18"}, {"question": "Is FR61 the NUTS code for Stoke-on-Trent?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stoke-on-Trent"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["NUTS code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["FR61"]}], "sparql": "ASK { ?e <pred:name> \"Stoke-on-Trent\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"FR61\" .  }", "answer": "no"}, {"question": "Which has less elevation above sea level, Cheyenne whose area is 70.247084 square kilometers or Springfield whose elevation above sea level is 182 meters?", "choices": ["Royal Central School of Speech & Drama", "Springfield", "Cheyenne", "Goa", "Boston University", "Columbia", "promoter", "Orange County", "Maury Chaykin", "San Pedro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cheyenne"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "70.247084 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Springfield"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["elevation above sea level", "182 metre", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cheyenne\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"70.247084\"^^xsd:double . } UNION { ?e <pred:name> \"Springfield\" . ?e <elevation_above_sea_level> ?pv_2 . ?pv_2 <pred:unit> \"metre\" . ?pv_2 <pred:value> \"182\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Springfield"}, {"question": "When did Jack Vance win a Nebula Award for Best Novella?", "choices": ["1501-12-01", "1966", "1655-01-01", "1490", "2014-06-26", "1905-01-01", "2015-11-05", "2011-11-01", "1810-01-01", "1858-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nebula Award for Best Novella"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Vance"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Nebula Award for Best Novella\" . ?e_2 <pred:name> \"Jack Vance\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1966"}, {"question": "What character does George Clooney play in Ocean's Twelve?", "choices": ["Murray the Mummy", "Danny Ocean", "Rain Ocampo", "Eliot Ness", "Leonidas I", "Philippe", "Weatherby Swann", "Eddie", "Mike Wazowski", "Achilles"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocean's Twelve"]}, {"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ocean's Twelve\" . ?e_2 <pred:name> \"George Clooney\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Danny Ocean"}, {"question": "What is the connection between Chad Smith (the one whose date of birth is 1980-02-24) to Houston Dynamo?", "choices": ["works in collection", "child astronomical body", "author", "from fictional universe", "takes place in fictional universe", "said to be the same as", "languages spoken, written or signed", "location", "followed by", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chad Smith"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1980-02-24", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Houston Dynamo"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chad Smith\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1980-02-24\"^^xsd:date . ?e_2 <pred:name> \"Houston Dynamo\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the association of Jude Ciccolella with Temple University?", "choices": ["color", "substitute/deputy/replacement of office/officeholder", "movement", "film regional debut venue", "theme music", "office held by head of government", "next higher rank", "educated at", "month of the year", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jude Ciccolella"]}, {"function": "Find", "dependencies": [], "inputs": ["Temple University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jude Ciccolella\" . ?e_2 <pred:name> \"Temple University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Which is shorter, Cirque du Freak: The Vampire's Assistant or Hamlet, which was nominated for Academy Award for Best Original Score?", "choices": ["Cirque du Freak: The Vampire's Assistant", "Hamlet", "Rebecca", "The Fifth Element", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Talk to Her", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cirque du Freak: The Vampire's Assistant"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamlet"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cirque du Freak: The Vampire's Assistant\" .  } UNION { ?e <pred:name> \"Hamlet\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Original Score\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cirque du Freak: The Vampire's Assistant"}, {"question": "What language is associated with the official website http://www.baseballhall.org/ for the award whose Instagram username is baseballhall?", "choices": ["Portuguese", "Luxembourgish", "Punjab", "Russian", "Modern Greek", "Standard Chinese", "English", "Yaqui", "France", "Occitan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "baseballhall"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.baseballhall.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"baseballhall\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.baseballhall.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Regarding visual artwork that was composed by David Lynch and it was published on 2007-04-26, where did it get published?", "choices": ["Denmark", "Egypt", "German Democratic Republic", "Germany", "Toronto", "Greece", "Kuwait", "United States of America", "Indonesia", "Brazil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Lynch"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-04-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"David Lynch\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2007-04-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did Christopher Cross (the one whose ISNI is 0000 0001 2018 9267) win the Grammy Award for Best New Artist?", "choices": ["2014-01-01", "1981-01-01", "1995-09-19", "1954", "2009-06-03", "2013-09-15", "1995", "1852-12-03", "2006-06-28", "1994-03-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Cross"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2018 9267"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best New Artist"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Christopher Cross\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2018 9267\" . ?e_2 <pred:name> \"Grammy Award for Best New Artist\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981-01-01"}, {"question": "Was it cheaper to make Battleship, released in Panama, or Deep Impact?", "choices": ["Talk to Her", "A Prairie Home Companion", "The Towering Inferno", "Deep Impact", "Battleship", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "The Fifth Element", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Panama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battleship"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Deep Impact"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Battleship\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Panama\" .   } UNION { ?e <pred:name> \"Deep Impact\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Deep Impact"}, {"question": "Is the net profit less than 56000000000 United States dollar ? for the activity that sets up in Amsterdam (the one that is the twinned administrative body of Jakarta)", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jakarta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amsterdam"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["net profit"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["56000000000 United States dollar", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Amsterdam\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Jakarta\" .  ?e <net_profit> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"56000000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Milk, designated by ASIN code B001RU311W, has what connection to the Independent Spirit Award for Best First Screenplay?", "choices": ["item operated", "derivative work", "grants", "officeholder", "permanent resident of", "participant of", "opposite of", "nominated for", "place served by transport hub", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ASIN", "B001RU311W"]}, {"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best First Screenplay"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Milk\" . ?e_1 <ASIN> ?pv . ?pv <pred:value> \"B001RU311W\" . ?e_2 <pred:name> \"Independent Spirit Award for Best First Screenplay\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which one, Ben Sahar or Joe Jackson (the one that was born in Memphis), has greater height?", "choices": ["Richard Gere", "Ben Sahar", "Sylvester Stallone", "Max Fleischer", "Joe Jackson", "James E. Reilly", "Simon Cowell", "Paul Simon", "Rahul Dev Burman", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Sahar"]}, {"function": "Find", "dependencies": [], "inputs": ["Memphis"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Jackson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ben Sahar\" .  } UNION { ?e <pred:name> \"Joe Jackson\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Memphis\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Joe Jackson"}, {"question": "How many cities of the United States have native label as Lawrence ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Lawrence"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <native_label> ?pv . ?pv <pred:value> \"Lawrence\" .  }", "answer": "1"}, {"question": "What is the connection between Short Cuts to Tom Waits?", "choices": ["licensed to broadcast to", "highest judicial authority", "office held by head of state", "librettist", "has immediate cause", "illustrator", "cast member", "military rank", "time period", "director of photography"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Short Cuts"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Waits"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Short Cuts\" . ?e_2 <pred:name> \"Tom Waits\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many seaons does Peyton Place (the one that has Mia Farrow as a cast member) have?", "choices": ["53", "20", "31", "35", "21", "32", "41", "7", "4", "5"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mia Farrow"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peyton Place"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Peyton Place\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Mia Farrow\" .  ?e <number_of_seasons> ?pv .  }", "answer": "5"}, {"question": "How many New Jersey counties border the New Jersey county whose official website is http://www.co.morris.nj.us?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.morris.nj.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of New Jersey"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of New Jersey\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.co.morris.nj.us\" .   }", "answer": "7"}, {"question": "Does the administrative territorial entity bordering Navajo County occupy other than 560000 hectares ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Navajo County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["560000 hectare", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Navajo County\" .  ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> ?v . FILTER ( ?v != \"560000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many University of Oxford colleges began after 1879?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1879", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1879 ) .  }", "answer": "2"}, {"question": "How long is the movie whose exploitation visa number is 95782 (the start time of this statement is 2007-03-08)?", "choices": ["132 minute", "172 minute", "134 minute", "111 minute", "183 minute", "131 minute", "170 minute", "20 minute", "139.0 minute", "15 hour"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "95782"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2007-03-08", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"95782\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:date> \"2007-03-08\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "134 minute"}, {"question": "Which actor who played and E.T. has the ISNI 0000 0001 0815 3325?", "choices": ["Pleasantville", "The Fifth Element", "Talk to Her", "The Towering Inferno", "The Fast and the Furious", "Punch-Drunk Love", "Rebecca", "High School Musical", "Red Cliff", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0815 3325"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional extraterrestrial"]}, {"function": "Relate", "dependencies": [2], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <notable_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"fictional extraterrestrial\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0815 3325\" .   }", "answer": "Punch-Drunk Love"}, {"question": "Where was Die Another Day with Madonna published on 2002-11-22?", "choices": ["Westwood", "Poland", "Mexico", "London", "United States of America", "Portal:Belgium", "Venice Film Festival", "Tribeca Film Festival", "R\u00e4ttvik", "North America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madonna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Die Another Day"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2002-11-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Die Another Day\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Madonna\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2002-11-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "How many regions of Italy have Carthage as a part?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carthage"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <part_of> ?e . ?e_1 <pred:name> \"Carthage\" .   }", "answer": "0"}, {"question": "Who supports the statement that Russia's official religion is Russian Orthodox Church?", "choices": ["Sergey Kurginyan", "14266", "Al-Biruni", "Bah\u00e1'\u00ed Faith", "Islam", "Hennepin County", "IbsenH", "Albert Einstein", "Mouths of amazon geocover 1990.png", "Christianity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "Find", "dependencies": [], "inputs": ["Russian Orthodox Church"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["official religion", "statement supported by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Russia\" . ?e_2 <pred:name> \"Russian Orthodox Church\" . ?e_1 <official_religion> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_religion> ; <pred:fact_t> ?e_2 ] <statement_supported_by> ?qpv .  }", "answer": "Sergey Kurginyan"}, {"question": "Which movie is longer, In & Out or Starter for 10?", "choices": ["The Towering Inferno", "Training Day", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Pleasantville", "In & Out", "The Fifth Element", "A Prairie Home Companion", "Starter for 10", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In & Out"]}, {"function": "Find", "dependencies": [], "inputs": ["Starter for 10"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"In & Out\" .  } UNION { ?e <pred:name> \"Starter for 10\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Starter for 10"}, {"question": "The run-time of 115-minutes applies to which part of Lions Gate Entertainment's production of Crash?", "choices": ["Degrassi, season 14", "Unicoi County", "La L\u00ednea de la Concepci\u00f3n", "director's cut", "Degrassi, season 12", "Sumner County", "Maury County", "Hancock County", "antique", "Porter County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lions Gate Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["duration", "115 minute", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Crash\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Lions Gate Entertainment\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"115\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <duration> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "director's cut"}, {"question": "Does Houston Astros have a Twitter username exactly DB30th?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Houston Astros"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["DB30th"]}], "sparql": "ASK { ?e <pred:name> \"Houston Astros\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"DB30th\" .  }", "answer": "no"}, {"question": "In what way does Jamaica (which has a modest GDP of 3828310734.97795 USD) have a relation with reggae artist Red Dragon?", "choices": ["manufacturer", "connects with", "country of citizenship", "sibling", "model item", "replaces", "instrumentation", "material used", "conflict", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["reggae"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Red Dragon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jamaica"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["nominal GDP", "3828310734.97795 United States dollar", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Red Dragon\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"reggae\" . ?e_2 <pred:name> \"Jamaica\" . ?e_2 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"3828310734.97795\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the connection between Society of Jesus to Jesus Christ?", "choices": ["language of work or name", "home port", "archives at", "producer", "diaspora", "copyright holder", "honorific prefix", "named after", "head of government", "conferred by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Society of Jesus"]}, {"function": "Find", "dependencies": [], "inputs": ["Jesus Christ"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Society of Jesus\" . ?e_2 <pred:name> \"Jesus Christ\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "What town comprises the name origin of a city whose subreddit is Edmonton (with 37,256 subscribers) ?", "choices": ["Doncaster", "Ilford", "Macclesfield", "South Shields", "Brighton", "Wimbledon", "Royal Tunbridge Wells", "Edmonton", "Mansfield", "Colchester"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Edmonton"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "37256", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <named_after> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Edmonton\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"37256\"^^xsd:double .   }", "answer": "Edmonton"}, {"question": "Is 01522 the correct local dialing code for the city in New York headed by councillor?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["councillor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["01522"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"councillor\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"01522\" .  }", "answer": "no"}, {"question": "How many kinds of progressive rock began earlier than 1980?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1980", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["progressive rock"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"progressive rock\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) .  }", "answer": "0"}, {"question": "What is the Stack Exchange tag of the medicine that is the work field of John Hughes (who works in neuroscience)?", "choices": ["https://wordpress.stackexchange.com/tags/windows", "https://stackoverflow.com/tags/cisco", "https://engineering.stackexchange.com/tags/computer-engineering", "https://psychology.stackexchange.com/tags/neuroscience", "https://webapps.stackexchange.com/tags/windows", "https://travel.stackexchange.com/tags/uk", "https://stackoverflow.com/tags/voip", "https://serverfault.com/tags/windows", "https://stackoverflow.com/tags/oop", "https://stackoverflow.com/tags/advertising"], "program": [{"function": "Find", "dependencies": [], "inputs": ["neuroscience"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["medicine"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Stack Exchange tag"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medicine\" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"John Hughes\" . ?e_1 <field_of_work> ?e_2 . ?e_2 <pred:name> \"neuroscience\" .  ?e <Stack_Exchange_tag> ?pv .  }", "answer": "https://psychology.stackexchange.com/tags/neuroscience"}, {"question": "How is the downtempo genre connected to William Orbit?", "choices": ["licensed to broadcast to", "winner", "production company", "had as last meal", "creator", "noble title", "has parts of the class", "famous people", "location of final assembly", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["downtempo"]}, {"function": "Find", "dependencies": [], "inputs": ["William Orbit"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"downtempo\" . ?e_2 <pred:name> \"William Orbit\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How are High Wycombe and the Kingdom of Great Britain related?", "choices": ["partner", "part of", "captain", "drug used for treatment", "named after", "located in time zone", "mother", "talk show guest", "country", "permanent resident of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["High Wycombe"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"High Wycombe\" . ?e_2 <pred:name> \"Kingdom of Great Britain\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is SM the FIPS 10-4 (countries and regions) of the city that shares border with Hunan ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hunan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 10-4 (countries and regions)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["SM"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Hunan\" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"SM\" .  }", "answer": "no"}, {"question": "What number of heavy metal originate from the US?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["heavy metal"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"heavy metal\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "7"}, {"question": "What number of animated feature films were produced by the director of Toy Story 2?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toy Story 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["animated feature film"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <director> ?e_1 . ?e_2 <pred:name> \"Toy Story 2\" .   }", "answer": "2"}, {"question": "Which one, Alex Kingston or Adam Carolla, has a greater number of children?", "choices": ["Adam Carolla", "Max Fleischer", "William Henry Harrison", "Rahul Dev Burman", "Richard Gere", "Alex Kingston", "Simon Cowell", "Paul Simon", "James E. Reilly", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alex Kingston"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Carolla"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alex Kingston\" .  } UNION { ?e <pred:name> \"Adam Carolla\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Adam Carolla"}, {"question": "At what point in time was the population of Winchester, with a postal code of 22603, equal to 26,235?", "choices": ["1802", "2010-07-01", "2018-01-01", "1965", "1950-01-01", "2000-12-31", "1980-04-01", "2006-12-31", "2007-08-22", "1969"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winchester"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "22603"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "26235", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Winchester\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"22603\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"26235\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "How many television stations are from the sovereign state that is the member of Asian Development Bank (beginning in 2005)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asian Development Bank"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2005", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <member_of> ?e_2 . ?e_2 <pred:name> \"Asian Development Bank\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:year> 2005 .   }", "answer": "0"}, {"question": "Is Jeff Gordon or Amitabh Bachchan taller?", "choices": ["Amitabh Bachchan", "James E. Reilly", "Jeff Gordon", "Sylvester Stallone", "Simon Cowell", "Richard Gere", "Max Fleischer", "William Henry Harrison", "David Byrne", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Gordon"]}, {"function": "Find", "dependencies": [], "inputs": ["Amitabh Bachchan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jeff Gordon\" .  } UNION { ?e <pred:name> \"Amitabh Bachchan\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Amitabh Bachchan"}, {"question": "Which one is less expensive, Stupid, Love. or Night at the Museum?", "choices": ["Pleasantville", "A Prairie Home Companion", "Night at the Museum", "Talk to Her", "Crazy, Stupid, Love.", "The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crazy, Stupid, Love."]}, {"function": "Find", "dependencies": [], "inputs": ["Night at the Museum"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crazy, Stupid, Love.\" .  } UNION { ?e <pred:name> \"Night at the Museum\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Crazy, Stupid, Love."}, {"question": "Where was a visual artwork, whose exploitation visa number was 88766 from 17th November 1995, published on 28th December 1995 ?", "choices": ["Sydney", "France", "Quebec", "Chile", "Beverly Hills", "Rio de Janeiro", "2005 Cannes Film Festival", "Argentina", "Germany", "Grauman's Chinese Theatre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "88766"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1995-11-17", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1995-12-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"88766\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"1995-11-17\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> \"1995-12-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the number of products that have pronunciation audio El-\u03b6\u03ac\u03c7\u03b1\u03c1\u03b7.ogg?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "El-\u03b6\u03ac\u03c7\u03b1\u03c1\u03b7.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"El-\u03b6\u03ac\u03c7\u03b1\u03c1\u03b7.ogg\" .  }", "answer": "1"}, {"question": "What association does Virginia Tech have with the 2004 NFL Draft?", "choices": ["public holiday", "production designer", "continent", "military casualty classification", "legislative body", "draft pick from school", "editor", "narrative location", "original film format", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2004 NFL Draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia Tech"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2004 NFL Draft\" . ?e_2 <pred:name> \"Virginia Tech\" . ?e_1 ?p ?e_2 .  }", "answer": "draft pick from school"}, {"question": "When did Marc Joseph become a member of Coventry City F.C.?", "choices": ["2011-04-07", "1996-01-01", "2010-02-17", "1948-01-01", "1892-01-01", "1949-08-15", "2002-11-21", "2018-06-01", "1806-08-08", "2016-05-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marc Joseph"]}, {"function": "Find", "dependencies": [], "inputs": ["Coventry City F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Marc Joseph\" . ?e_2 <pred:name> \"Coventry City F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1996-01-01"}, {"question": "Which water area has a temperature that is not equal to 15 degrees Celsius?", "choices": ["Mediterranean Sea", "Aegean Sea", "Adriatic Sea", "North Sea", "English Channel", "Green Bay", "Caribbean Sea", "Pyrenees", "Bon Jovi", "rowing"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["temperature", "15 degree Celsius", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <temperature> ?pv . ?pv <pred:unit> \"degree Celsius\" . ?pv <pred:value> ?v . FILTER ( ?v != \"15\"^^xsd:double ) .  }", "answer": "Mediterranean Sea"}, {"question": "What is the Munzinger IBA of the person whose ISNI is 0000 0001 0857 1156?", "choices": ["00000012680", "00000022605", "00000011428", "00000014428", "00000020732", "00000021158", "00000024502", "00000022142", "00000020922", "00000020364"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0857 1156"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0857 1156\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000014428"}, {"question": "Is the elevation lower for Longview (official website is http://www.longviewtx.com/) or Davis (founded in 1868)?", "choices": ["Boulder", "Waukegan", "Oakland", "New Haven", "Compton", "Greenville", "Davis", "Lansing", "Longview", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Longview"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.longviewtx.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["Davis"]}, {"function": "FilterYear", "dependencies": [2], "inputs": ["inception", "1868", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Longview\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.longviewtx.com/\" . } UNION { ?e <pred:name> \"Davis\" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1868 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Davis"}, {"question": "When was a visual artwork, which is made based on Great Expectations (the one whose native label is Great Expectations), published on 13th December 2012 ?", "choices": ["European Union", "German Democratic Republic", "Beverly Hills", "Hollywood Bowl", "Italy", "Seattle International Film Festival", "Kingdom of the Netherlands", "Turkey", "Germany", "London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Expectations"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Great Expectations"]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2012-12-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Great Expectations\" . ?e_1 <native_label> ?pv_1 . ?pv_1 <pred:value> \"Great Expectations\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-12-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the person born after 1943 and who was born on 1951-08-20.", "choices": ["Greg Bear", "Richard Gere", "Andy Lau", "William Henry Harrison", "Noel Gallagher", "Sylvester Stallone", "Phyllis Smith", "Max Fleischer", "Robert Elswit", "Debbie Harry"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1943", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["date of birth", "1951-08-20", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1943 ) . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1951-08-20\"^^xsd:date .  }", "answer": "Greg Bear"}, {"question": "Of counties in the Texas led by a Secretary of State, which occupies the most area?", "choices": ["Bexar County", "Dallas County", "El Paso County", "Montgomery County", "Harris County", "McLennan County", "Hidalgo County", "Collin County", "Johnson County", "Cameron County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Secretary of State"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Texas\" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> \"Secretary of State\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Harris County"}, {"question": "The Antilles is comprised of how many bodies of water?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antilles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Antilles\" .   }", "answer": "0"}, {"question": "Which has more reserves, Guyana or Mexico?", "choices": ["Guyana", "Samoa", "Kiribati", "Socialist Federal Republic of Yugoslavia", "Russian Soviet Federative Socialist Republic", "Benin", "Cambodia", "Mexico", "Weimar Republic", "Switzerland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guyana"]}, {"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total reserves", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Guyana\" .  } UNION { ?e <pred:name> \"Mexico\" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mexico"}, {"question": "Joseph F. Biroc received an Academy Award for Best Cinematography for which work?", "choices": ["The Firm", "The Towering Inferno", "The Young Philadelphians", "Eye for Eye", "Rock Steady", "The Fisher King", "Glee", "An Alan Smithee Film: Burn Hollywood Burn", "Lena Horne at the Sands", "Coffee and Cigarettes: Somewhere in California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph F. Biroc"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joseph F. Biroc\" . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Towering Inferno"}, {"question": "Which one is longer, Fair Game (the one whose production company is Entertainment One) or Superman (the one whose duration is 11 minute)?", "choices": ["Talk to Her", "The Towering Inferno", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "Curse of the Golden Flower", "A Prairie Home Companion", "Fair Game", "Superman", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Entertainment One"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fair Game"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["duration", "11 minute", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fair Game\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Entertainment One\" . } UNION { ?e <pred:name> \"Superman\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"11\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fair Game"}, {"question": "What film titled Being John Malkovich was followed by Adaptation?", "choices": ["Curse of the Golden Flower", "Pleasantville", "Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "Being John Malkovich", "A Prairie Home Companion", "Training Day", "The Towering Inferno"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Being John Malkovich"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Adaptation"]}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Being John Malkovich\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Adaptation\" .  }", "answer": "Being John Malkovich"}, {"question": "Tell me the one with a smaller area, Espoo or Salisbury (which has native label Salisbury)", "choices": ["Salisbury", "Kilkenny", "Abidjan", "Dundee", "Chihuahua", "Santo Domingo", "Kingston", "Trieste", "Bergen", "Espoo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Espoo"]}, {"function": "Find", "dependencies": [], "inputs": ["Salisbury"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["native label", "Salisbury"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Espoo\" . } UNION { ?e <pred:name> \"Salisbury\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Salisbury\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salisbury"}, {"question": "Who is Claire Danes's (the marriage place of this statement is France) spouse?", "choices": ["James E. Reilly", "Paul Simon", "Rahul Dev Burman", "William Henry Harrison", "Richard Gere", "Simon Cowell", "Sylvester Stallone", "Hugh Dancy", "Max Fleischer", "Claire Danes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claire Danes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of marriage", "France"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Claire Danes\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <place_of_marriage> ?qpv . ?qpv <pred:value> \"France\" .  }", "answer": "Hugh Dancy"}, {"question": "What was the box office for Cleopatra (release region Finland)?", "choices": ["59800000 United States dollar", "195745823 United States dollar", "96165091 United States dollar", "193772504 United States dollar", "484409218 United States dollar", "624000000 United States dollar", "38000000 Hong Kong dollar", "244527583 United States dollar", "939885929 United States dollar", "29500000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cleopatra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Cleopatra\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Finland\" .  ?e <box_office> ?pv .  }", "answer": "38000000 Hong Kong dollar"}, {"question": "What drum's famous person is the individual whose Twitter username is joancbaez?", "choices": ["guitar", "xylophone", "Timbales", "didgeridoo", "djembe", "bongo drum", "snare drum", "contemporary folk music", "ukulele", "goblet drum"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "joancbaez"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["drum"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drum\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"joancbaez\" .   }", "answer": "djembe"}, {"question": "Was the person with the ISNI of 0000 0001 1623 5865 born before 1949?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1623 5865"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1949", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1623 5865\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1949 ) .  }", "answer": "yes"}, {"question": "Is Virgin Records called Virgin for short ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virgin Records"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["short name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Virgin"]}], "sparql": "ASK { ?e <pred:name> \"Virgin Records\" . ?e <short_name> ?pv . ?pv <pred:value> \"Virgin\" .  }", "answer": "yes"}, {"question": "How many notable animes has the person with the 0000 0001 2096 522X ISNI worked on?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2096 522X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["anime"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e_1 <notable_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2096 522X\" .   }", "answer": "1"}, {"question": "Which association football club has https://www.swindontownfc.co.uk/ as its official website?", "choices": ["MSV Duisburg", "Zamalek SC", "Sunderland A.F.C.", "Turun Palloseura", "Brisbane Roar FC", "Swindon Town F.C.", "Hertha BSC", "Fort Lauderdale Strikers", "Stade Brestois 29", "Valenciennes F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.swindontownfc.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.swindontownfc.co.uk/\" .  }", "answer": "Swindon Town F.C."}, {"question": "Was the person with ISNI number 0000 0001 1474 5378 born earlier than 1957 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1474 5378"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1957", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1474 5378\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1957 ) .  }", "answer": "yes"}, {"question": "How many pieces of popular music come from the USA or inspired contemporary worship music ?", "choices": ["84", "85", "86", "87", "88", "89", "90", "91", "92", "93"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["popular music"]}, {"function": "Find", "dependencies": [], "inputs": ["contemporary worship music"]}, {"function": "Relate", "dependencies": [3], "inputs": ["inspired by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["popular music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e_1 <inspired_by> ?e . ?e_1 <pred:name> \"contemporary worship music\" .  } }", "answer": "87"}, {"question": "Does Kentucky, abbreviated KY, or Nevada (demonym Nevadan) have a lower elevation relative to sea level?", "choices": ["Kentucky", "Colorado", "Florida", "New Mexico", "Massachusetts", "Nevada", "Illinois", "New Jersey", "Hawaii", "California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kentucky"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "KY"]}, {"function": "Find", "dependencies": [], "inputs": ["Nevada"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["demonym", "Nevadan"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kentucky\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"KY\" . } UNION { ?e <pred:name> \"Nevada\" . ?e <demonym> ?pv_2 . ?pv_2 <pred:value> \"Nevadan\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kentucky"}, {"question": "What is the release date of the film whose exploitation visa number is 61155 that became effective on 1986-06-09?", "choices": ["1996-04-10", "2013-10-17", "2012-11-21", "1951-12-26", "1997-12-05", "2006-09-25", "1986-01-01", "2010-01-29", "2009-12-03", "2004-07-26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "61155"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1986-06-09", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"61155\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1986-06-09\"^^xsd:date . ?e <publication_date> ?pv .  }", "answer": "1986-01-01"}, {"question": "What is the number of electronic musical instruments with Hornbostel-Sachs classification of 531.1 or that is based on drum kit", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "531.1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic musical instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["drum kit"]}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic musical instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic musical instrument\" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"531.1\" .  } UNION { ?e <based_on> ?e_1 . ?e_1 <pred:name> \"drum kit\" .  } }", "answer": "2"}, {"question": "let me know the animated feature film that has the person whose name in native language is Billy Bob Thornton as a voice actor.", "choices": ["Beauty and the Beast", "Toy Story 2", "Tarzan", "Snow White and the Seven Dwarfs", "Robin Hood", "Alice in Wonderland", "How to Train Your Dragon", "Puss in Boots", "Aladdin", "Brave"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Billy Bob Thornton"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["animated feature film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Billy Bob Thornton\" .   }", "answer": "Puss in Boots"}, {"question": "What is the Ireland county whose LAU is IE02203 and that borders County Wexford?", "choices": ["County Donegal", "County Kildare", "County Meath", "County Limerick", "County Sligo", "County Tipperary", "County Kilkenny", "County Wicklow", "County Dublin", "County Galway"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["LAU", "IE02203"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "Find", "dependencies": [], "inputs": ["County Wexford"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Ireland"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <LAU> ?pv . ?pv <pred:value> \"IE02203\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"County Wexford\" .  }", "answer": "County Wicklow"}, {"question": "Which one, Middlesex County (the one that shares border with Monmouth County) or Essex County (the one that shares border with Bergen County), has less area?", "choices": ["Bergen County", "Morris County", "Cumberland County", "Burlington County", "Essex County", "Passaic County", "Middlesex County", "Hudson County", "Gloucester County", "Hunterdon County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monmouth County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Middlesex County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bergen County"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Middlesex County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Monmouth County\" .   } UNION { ?e <pred:name> \"Essex County\" . ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Bergen County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Essex County"}, {"question": "What is the connection between Australia (the one that is an ethnic group of English people) to Australians?", "choices": ["substitute/deputy/replacement of office/officeholder", "connects with", "voice actor", "owner of", "languages spoken, written or signed", "child", "architectural style", "ethnic group", "main subject", "color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Australians"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Australia\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"English people\" . ?e_2 <pred:name> \"Australians\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What is the Dewey Decimal Classification for Mariposa County?", "choices": ["2--54552", "2--79446", "2--68227", "150.1952092", "2--44224", "2--715515", "2--45361", "2--67571", "2--74426", "2--441"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mariposa County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Mariposa County\" . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--79446"}, {"question": "Is 41D2 the Iconclass notation of the product whose IPTC Newscode is mediatopic/20000245?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20000245"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Iconclass notation"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["41D2"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e <IPTC_Newscode> ?pv_1 . ?pv_1 <pred:value> \"mediatopic/20000245\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"41D2\" .  }", "answer": "yes"}, {"question": "Does Deutsche Synchronkartei actor-ID 8951 belong to the person with ISNI number 0000 0001 1478 7340 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1478 7340"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["8951"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1478 7340\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"8951\" .  }", "answer": "yes"}, {"question": "Is the date of birth of the person who was born in Chatham not in 1946?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chatham"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1946", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Chatham\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1946 ) .  }", "answer": "yes"}, {"question": "Which area is smaller, Jerusalem (the one whose population is 718900) or Port of Spain?", "choices": ["Kilkenny", "Port of Spain", "Chihuahua", "Jerusalem", "Bergen", "Trieste", "Cork", "Kingston", "Abidjan", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerusalem"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "718900", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Port of Spain"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jerusalem\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"718900\"^^xsd:double . } UNION { ?e <pred:name> \"Port of Spain\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Port of Spain"}, {"question": "Does the administrative territorial entity which is pronounced as En-Gettysburg-local.ogg have an area less than 8300000 square kilometres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "En-Gettysburg-local.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["8300000 square kilometre", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"En-Gettysburg-local.ogg\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"8300000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the connection between Independent Spirit Award for Best Supporting Male to John Hawkes (the one that is a cast member of Deadwood)?", "choices": ["interested in", "parent astronomical body", "main food source", "territory overlaps", "winner", "maintained by", "partner", "director", "located in time zone", "collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Supporting Male"]}, {"function": "Find", "dependencies": [], "inputs": ["Deadwood"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hawkes"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Independent Spirit Award for Best Supporting Male\" . ?e_2 <pred:name> \"John Hawkes\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Deadwood\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "What language is associated with this creative work at http://www.hayward-ca.gov, the official website for the United States city that is the birthplace of Dwayne Johnson?", "choices": ["Latin script", "Esperanto", "Slovene", "Armenian", "British English", "Corsican", "Breton", "English", "Basque", "Eastern Armenian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dwayne Johnson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.hayward-ca.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Dwayne Johnson\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.hayward-ca.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "tell me the relationship between Northern Territory and South Australia.", "choices": ["professional or sports partner", "shares border with", "political alignment", "fabrication method", "model item", "soundtrack album", "appointed by", "work location", "position played on team / speciality", "domain of saint or deity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Australia"]}, {"function": "Find", "dependencies": [], "inputs": ["Northern Territory"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"South Australia\" . ?e_2 <pred:name> \"Northern Territory\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How many soccer clubs are chaired by VJ or occupy the Empire State Building?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["VJ"]}, {"function": "Relate", "dependencies": [0], "inputs": ["chairperson", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Empire State Building"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupant", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" .  { ?e <chairperson> ?e_1 . ?e_1 <pred:name> \"VJ\" .  } UNION { ?e_1 <occupant> ?e . ?e_1 <pred:name> \"Empire State Building\" .  } }", "answer": "0"}, {"question": "Which movie is longer, The Killers (the one whose original language is Russian) or Rush (the one whose composer is Eric Clapton)?", "choices": ["The Killers", "Rebecca", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Pleasantville", "The Towering Inferno", "The Fifth Element", "Curse of the Golden Flower", "Talk to Her", "Rush"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Killers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Eric Clapton"]}, {"function": "Relate", "dependencies": [4], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Killers\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Russian\" .   } UNION { ?e <pred:name> \"Rush\" . ?e <composer> ?e_2 . ?e_2 <pred:name> \"Eric Clapton\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rush"}, {"question": "Is Radcliffe College's ISNI 0000 0000 5550 969X?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Radcliffe College"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 5550 969X"]}], "sparql": "ASK { ?e <pred:name> \"Radcliffe College\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5550 969X\" .  }", "answer": "no"}, {"question": "How many basketball teams are located in the U.S. city that is the working location of Paul Newman who was born on 1954-02-08?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Newman"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1954-02-08", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["basketball team"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_3 <work_location> ?e_1 . ?e_3 <pred:name> \"Paul Newman\" . ?e_3 <date_of_birth> ?pv . ?pv <pred:date> \"1954-02-08\"^^xsd:date .   }", "answer": "1"}, {"question": "Which one is longer, Cars, released in Bulgaria, or The Transformers: The Movie ?", "choices": ["Shrek 2", "The Transformers: The Movie", "Cars", "Aladdin", "Peter Pan", "Winnie the Pooh", "Lilo & Stitch", "Renaissance", "The Rescuers", "Beauty and the Beast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Transformers: The Movie"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cars\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Bulgaria\" .   } UNION { ?e <pred:name> \"The Transformers: The Movie\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cars"}, {"question": "Does Belarus or Mozambique have a larger unemployment rate?", "choices": ["Mozambique", "Sierra Leone", "Tunisia", "Colombia", "Namibia", "France", "Belarus", "Italy", "Germany", "Bolivia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belarus"]}, {"function": "Find", "dependencies": [], "inputs": ["Mozambique"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["unemployment rate", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Belarus\" .  } UNION { ?e <pred:name> \"Mozambique\" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mozambique"}, {"question": "What association does Julieta Venegas have with Tijuana?", "choices": ["series spin-off", "lowest point", "developer", "residence", "talk show guest", "after a work by", "business division", "diaspora", "ancestral home", "killed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julieta Venegas"]}, {"function": "Find", "dependencies": [], "inputs": ["Tijuana"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Julieta Venegas\" . ?e_2 <pred:name> \"Tijuana\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "What is the connection between Robert Smith (whose profession is military officer) and Alton?", "choices": ["place of death", "film distribute region", "symptom of", "currency", "child astronomical body", "time period", "language of work or name", "distributor", "dedicated to", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["military officer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alton"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Smith\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"military officer\" . ?e_2 <pred:name> \"Alton\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "What's the language of the website iuc.edu, which is the official website of the public university that the Nancy Cartwright born on January 24th, 1944 was educated at?", "choices": ["Croatian", "English", "Austrian German", "Bokm\u00e5l", "Slovene", "Danish", "Standard Chinese", "Tahitian", "Valencian", "J\u00e8rriais"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nancy Cartwright"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1944-01-24", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["public university"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.uic.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Nancy Cartwright\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1944-01-24\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.uic.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Are there less employees at Tufts University or Marquette University?", "choices": ["King's College London", "University of Tehran", "Panjab University", "McMaster University", "Marquette University", "McNeese State University", "Pennsylvania State University", "Tufts University", "Imperial College London", "Presidency University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tufts University"]}, {"function": "Find", "dependencies": [], "inputs": ["Marquette University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tufts University\" .  } UNION { ?e <pred:name> \"Marquette University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Marquette University"}, {"question": "When did the person that is the partner of Julia Roberts start working?", "choices": ["1782", "1915", "1964", "1984", "1993", "2008", "1969", "1987", "1927", "2007"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julia Roberts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <partner> ?e . ?e_1 <pred:name> \"Julia Roberts\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1987"}, {"question": "How many string instruments have the Hornbostel-Sachs classification of 321.322-71 or Charles Mingus Jr. as a famous person?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "321.322-71"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["string instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Charles Mingus Jr."]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["string instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"string instrument\" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.322-71\" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Charles Mingus Jr.\" .  } }", "answer": "4"}, {"question": "How are Van Johnson and the piano connected?", "choices": ["designated as terrorist by", "located on astronomical location", "country for sport", "instrument", "published in", "programming language", "kit supplier", "fabrication method", "hair color", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Van Johnson"]}, {"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Van Johnson\" . ?e_2 <pred:name> \"piano\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Regarding the tv series Starsky & Hutch, tell me the number of seasons.", "choices": ["41", "45", "54", "3", "25", "1", "9", "4", "46", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Starsky & Hutch"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Starsky & Hutch\" . ?e <number_of_seasons> ?pv .  }", "answer": "4"}, {"question": "In terms of both Roen and Tours, which of the two have a more sizable area?", "choices": ["Dnipro", "Fort Smith", "Halle (Saale)", "Bordeaux", "Tours", "Wuppertal", "Lyon", "Utrecht", "Rouen", "Stuttgart"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rouen"]}, {"function": "Find", "dependencies": [], "inputs": ["Tours"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rouen\" .  } UNION { ?e <pred:name> \"Tours\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tours"}, {"question": "Which is has a lower elevation above sea level, Ferrara or Oshawa?", "choices": ["Santo Domingo", "Trieste", "Ferrara", "Dundee", "Cork", "Kilkenny", "Kingston", "Chihuahua", "Oshawa", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ferrara"]}, {"function": "Find", "dependencies": [], "inputs": ["Oshawa"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ferrara\" .  } UNION { ?e <pred:name> \"Oshawa\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ferrara"}, {"question": "Which one of industries with the number of episodes under 2,600 has the lowest number of episodes ?", "choices": ["Western Desert Campaign", "Today", "FreeBSD", "Orange", "Paddington", "manufacturing", "Nine Years' War", "The Colbert Report", "Napoleonic Wars", "Second Intifada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "2600", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"2600\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Paddington"}, {"question": "What is the official website of Wonder Woman (which has Nathan Fillion as a voice actor)?", "choices": ["http://www.nba.com/bucks/", "http://www.melbourneflorida.org", "http://spiderman.sonypictures.com/", "http://warnervideo.com/wonderwomanmovie/", "http://www.hankjr.com/home", "https://philipglass.com/", "http://www.co.larimer.co.us", "http://www.charliechaplin.com", "http://www.gouv.qc.ca/", "http://www.memphis.edu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nathan Fillion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Wonder Woman\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Nathan Fillion\" .  ?e <official_website> ?pv .  }", "answer": "http://warnervideo.com/wonderwomanmovie/"}, {"question": "What is the GSS code (2011) of Stirling (the one whose area is 2187 square kilometre)?", "choices": ["S12000030", "E07000123", "E06000028", "E10000023", "E10000014", "W04000618", "E04012360", "E09000011", "E92000001", "N92000002"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stirling"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2187 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["GSS code (2011)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Stirling\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2187\"^^xsd:double . ?e <GSS_code_(2011)> ?pv .  }", "answer": "S12000030"}, {"question": "What big city, a twinned administrated body of Minsk, has the demonym of Eindhovenaar?", "choices": ["Utrecht", "Fort Smith", "Wuppertal", "Aachen", "Saint Petersburg", "Eindhoven", "Stuttgart", "Dnipro", "Lyon", "Bordeaux"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minsk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["demonym", "Eindhovenaar"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["big city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Minsk\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Eindhovenaar\" .  }", "answer": "Eindhoven"}, {"question": "What number of cable channels have Twitter username tntdrama?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "tntdrama"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cable channel"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"tntdrama\" .  }", "answer": "1"}, {"question": "When did the 32nd Berlin International Film Festival take place?", "choices": ["1982", "2019-02-21", "1995-10-01", "2002-08-14", "1833", "1875", "2019-03-02", "1916-01-01", "2009-02-08", "1914"], "program": [{"function": "Find", "dependencies": [], "inputs": ["32nd Berlin International Film Festival"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"32nd Berlin International Film Festival\" . ?e <point_in_time> ?pv .  }", "answer": "1982"}, {"question": "Which Californian county shares a border with Tuolumne County and also with San Joaquin County?", "choices": ["Tulare County", "Merced County", "Sacramento County", "Contra Costa County", "Calaveras County", "Santa Clara County", "San Diego County", "Mariposa County", "Butte County", "Mono County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuolumne County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "Find", "dependencies": [], "inputs": ["San Joaquin County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of California"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Tuolumne County\" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> \"San Joaquin County\" .  }", "answer": "Calaveras County"}, {"question": "Which has the smallest area among the Texas counties that contain Dallas whose Dewey Decimal Classification is 2--7642812?", "choices": ["El Paso County", "McLennan County", "Jefferson County", "Collin County", "Montgomery County", "Dallas County", "Brazoria County", "Johnson County", "Denton County", "Hidalgo County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--7642812"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Dallas\" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--7642812\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Collin County"}, {"question": "Does Chungking Express or Star Wars Episode IV: A New Hope, with James Earl Jones as a voice actor, have a longer run-time?", "choices": ["Rebecca", "Chungking Express", "The Towering Inferno", "Talk to Her", "Pleasantville", "The Fifth Element", "Curse of the Golden Flower", "Star Wars Episode IV: A New Hope", "A Prairie Home Companion", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chungking Express"]}, {"function": "Find", "dependencies": [], "inputs": ["James Earl Jones"]}, {"function": "Relate", "dependencies": [1], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode IV: A New Hope"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chungking Express\" .  } UNION { ?e <pred:name> \"Star Wars Episode IV: A New Hope\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"James Earl Jones\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Wars Episode IV: A New Hope"}, {"question": "What is the number of port cities that are an administrative division of the sovereign state having the ISO 3166-1 alpha-3 code KOR?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-1 alpha-3 code", "KOR"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["port city"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <ISO_3166-1_alpha-3_code> ?pv . ?pv <pred:value> \"KOR\" .   }", "answer": "1"}, {"question": "What was Sarah Michelle Gellar's role in TMNT which was published on 2007-09-06?", "choices": ["Mock Turtle", "Elle Woods", "Ptolemy I Soter", "Mr. Fox", "Bilbo Baggins", "April O'Neil", "Marion Crane", "Philippe", "Clotho", "Andy Bernard"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TMNT"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-09-06", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sarah Michelle Gellar"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"TMNT\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2007-09-06\"^^xsd:date . ?e_2 <pred:name> \"Sarah Michelle Gellar\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "April O'Neil"}, {"question": "Fine Gael has what relationship with Ireland, whose nominal gross domestic product is 275020023436.356 USD?", "choices": ["league", "family", "registered with", "located on astronomical location", "official color", "distributor", "superhuman feature or ability", "main food source", "permanent resident of", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fine Gael"]}, {"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["nominal GDP", "275020023436.356 United States dollar", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fine Gael\" . ?e_2 <pred:name> \"Ireland\" . ?e_2 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"275020023436.356\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Does Johnson County (established 1854-01-01) or Galveston County occupy the smaller space?", "choices": ["Dallas County", "McLennan County", "Montgomery County", "Brazoria County", "Hidalgo County", "El Paso County", "Travis County", "Jefferson County", "Galveston County", "Johnson County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johnson County"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1854-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Galveston County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Johnson County\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1854-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Galveston County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Johnson County"}, {"question": "What is the connection between Alan Turing to Institute for Advanced Study?", "choices": ["Wikidata property", "educated at", "official language", "successful candidate", "vehicle normally used", "properties for this type", "member of political party", "designed to carry", "author", "dialect of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Turing"]}, {"function": "Find", "dependencies": [], "inputs": ["Institute for Advanced Study"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alan Turing\" . ?e_2 <pred:name> \"Institute for Advanced Study\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Who is taller, Taylor Lautner or Lyndon B. Johnson?", "choices": ["Max Fleischer", "Lyndon B. Johnson", "Simon Cowell", "Sylvester Stallone", "Rahul Dev Burman", "Taylor Lautner", "Paul Simon", "William Henry Harrison", "Richard Gere", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taylor Lautner"]}, {"function": "Find", "dependencies": [], "inputs": ["Lyndon B. Johnson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Taylor Lautner\" .  } UNION { ?e <pred:name> \"Lyndon B. Johnson\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lyndon B. Johnson"}, {"question": "Which is shorter in duration, Days of Heaven or The Ice Storm?", "choices": ["Training Day", "A Prairie Home Companion", "Talk to Her", "The Ice Storm", "The Towering Inferno", "Curse of the Golden Flower", "Days of Heaven", "The Fifth Element", "The Hunchback of Notre Dame", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ice Storm"]}, {"function": "Find", "dependencies": [], "inputs": ["Days of Heaven"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Ice Storm\" .  } UNION { ?e <pred:name> \"Days of Heaven\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Days of Heaven"}, {"question": "What is the connection between bagpipes to Phil Collins (the one that is a cast member of Hook)?", "choices": ["office held by head of the organisation", "location of formation", "risk factor", "famous people", "taxon rank", "nominated for", "after a work by", "designed by", "conferred by", "language of work or name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bagpipes"]}, {"function": "Find", "dependencies": [], "inputs": ["Hook"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Phil Collins"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"bagpipes\" . ?e_2 <pred:name> \"Phil Collins\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Hook\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Is the Queen produced by Anurag Kashyap associated with the official website www.queenthefilm.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anurag Kashyap"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Queen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.queenthefilm.com"]}], "sparql": "ASK { ?e <pred:name> \"Queen\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Anurag Kashyap\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.queenthefilm.com\" .  }", "answer": "yes"}, {"question": "Was the person with ISNI number 0000 0000 7840 9843 born in a year other than 1935 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7840 9843"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1935", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7840 9843\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1935 ) .  }", "answer": "yes"}, {"question": "What number of unitary states have an inflation rate higher than the 6800 percentage?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "6800 percentage", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v > \"6800\"^^xsd:double ) .  }", "answer": "1"}, {"question": "When did Joanne Woodward win the Cannes Film Festival Award for Best Actress?", "choices": ["1999-07-21", "2013-02-01", "2006-11-17", "1879", "1870-01-01", "2014-02-22", "2006-09-13", "1852-12-01", "1750-01-01", "1973"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival Award for Best Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Joanne Woodward"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cannes Film Festival Award for Best Actress\" . ?e_2 <pred:name> \"Joanne Woodward\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1973"}, {"question": "Which actress in Precious (which received Satellite Awards 2009) was nominated for an Academy Award for Best Supporting Actress?", "choices": ["82nd Academy Awards", "Netherlands\u2013Ukraine relations", "Canada\u2013Latvia relations", "Poland\u2013Slovakia border", "Morocco\u2013Tunisia relations", "death and funeral of Margaret Thatcher", "Arizona\u2013New Mexico border", "Argentina\u2013European Union relations", "Benin\u2013United States relations", "mononymous person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Awards 2009"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Precious"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Precious\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Satellite Awards 2009\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "82nd Academy Awards"}, {"question": "When did Ellen DeGeneres become a resident of New Orleans, which occupies 906.099114 square km?", "choices": ["1931-03-13", "1976-01-01", "2001-09-26", "2004-08-15", "1949-04-04", "2003-10-07", "1992-07-09", "2013-09-16", "1960-05-03", "2005-12-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ellen DeGeneres"]}, {"function": "Find", "dependencies": [], "inputs": ["New Orleans"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "906.099114 square kilometre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["residence", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ellen DeGeneres\" . ?e_2 <pred:name> \"New Orleans\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"906.099114\"^^xsd:double . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1976-01-01"}, {"question": "What is the elevation (above sea level) of Lawton?", "choices": ["2040 metre", "848 metre", "591 foot", "252 metre", "76 metre", "230 metre", "339 metre", "597 foot", "1415 metre", "293 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lawton\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "339 metre"}, {"question": "What is the role of Roger Bart in Hercules (the one whose publication date is 1997-06-27)?", "choices": ["minority language", "pen name", "three-phase electric power", "executive producer", "Three pillars of the European Union", "pen pal", "European Union", "singer", "winner", "guitarist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1997-06-27", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Roger Bart"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["voice actor", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hercules\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1997-06-27\"^^xsd:date . ?e_2 <pred:name> \"Roger Bart\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "singer"}, {"question": "Which Twitter handle is owned by indie rockers The Prodigy?", "choices": ["woodyharrelson", "fc_basel", "realchrisbauer", "mca_music", "caallboys", "THE_PRODIGY", "idriselba", "uniofleicester", "Festival_Cannes", "VancityReynolds"], "program": [{"function": "Find", "dependencies": [], "inputs": ["indie rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Prodigy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Prodigy\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"indie rock\" .  ?e <Twitter_username> ?pv .  }", "answer": "THE_PRODIGY"}, {"question": "How many forms of hip hop music originate in the sovereign state which is Cessna's country?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cessna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["hip hop music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Cessna\" .   }", "answer": "11"}, {"question": "Which movie is shorter, The Nutty Professor (the one that has Drake Bell as a cast member) or Tomorrow Never Dies (the one whose genre is action film)?", "choices": ["Training Day", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "A Prairie Home Companion", "The Nutty Professor", "Tomorrow Never Dies", "The Towering Inferno", "The Fifth Element", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Drake Bell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tomorrow Never Dies"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Nutty Professor\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Drake Bell\" .   } UNION { ?e <pred:name> \"Tomorrow Never Dies\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"action film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Nutty Professor"}, {"question": "Which video game console with at least 78000000 units sold has sold the largest amount of units.", "choices": ["PlayStation 3", "PlayStation 2", "Xbox 360", "Ethiopia", "The White Ribbon", "Jennifer Love Hewitt", "Wii", "Larry Klein", "El Salvador", "Nintendo Entertainment System"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["units sold", "78000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <units_sold> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"78000000\"^^xsd:double ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "PlayStation 2"}, {"question": "What is the relationship between Walt Disney Imagineering and Glendale (the one whose subreddit is glendale)?", "choices": ["interested in", "performer", "headquarters location", "office held by head of the organisation", "country for sport", "medical treatment", "field of this occupation", "professional or sports partner", "conferred by", "risk factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Imagineering"]}, {"function": "Find", "dependencies": [], "inputs": ["Glendale"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["subreddit", "glendale"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Walt Disney Imagineering\" . ?e_2 <pred:name> \"Glendale\" . ?e_2 <subreddit> ?pv . ?pv <pred:value> \"glendale\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which mountain range that is not 2300 meters above sea level is lowest in elevation?", "choices": ["Pyrenees", "Alps", "Appalachian Mountains", "Adirondack Mountains", "Ray Stark", "Cascade Range", "Blue Ridge Mountains", "Himalayas", "Pennine Alps", "Sierra Nevada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "2300 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"2300\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adirondack Mountains"}, {"question": "When was the 143 minute Henry V nominated for the Academy Award for Best Picture?", "choices": ["1946-01-01", "2006-07-01", "1995-12-19", "1781", "1975-10-01", "1958-03-26", "1998-12-01", "1916-01-01", "2015-12-26", "1998-09-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry V"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "143 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Henry V\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"143\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1946-01-01"}, {"question": "What is the postal code of Lehigh University's headquarter location in Bethlehem (official website is http://www.bethlehem-pa.gov/).", "choices": ["40422-1394", "18015", "18101", "13000", "93750", "93106", "9042", "94618", "10026", "6500\u20136546"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lehigh University"]}, {"function": "Find", "dependencies": [], "inputs": ["Bethlehem"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.bethlehem-pa.gov/"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lehigh University\" . ?e_2 <pred:name> \"Bethlehem\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://www.bethlehem-pa.gov/\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "18015"}, {"question": "Is the official website of Al-Hilal FC http://stevenseagal.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al-Hilal FC"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://stevenseagal.com/"]}], "sparql": "ASK { ?e <pred:name> \"Al-Hilal FC\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://stevenseagal.com/\" .  }", "answer": "no"}, {"question": "How is Dynasty, with Stacy Keach as a cast member, related to English?", "choices": ["art director", "sports season of league or competition", "writing system", "family", "architectural style", "home port", "said to be the same as", "original language of film or TV show", "set in period", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stacy Keach"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dynasty"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dynasty\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Stacy Keach\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When was the Pennsylvania county named after Lake Erie founded?", "choices": ["1947-08-15", "1864-01-01", "1971-03-26", "1871-12-31", "1612-01-01", "1800-03-12", "1827-03-15", "1101-01-17", "1789-04-21", "1827"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake Erie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Lake Erie\" .  ?e <inception> ?pv .  }", "answer": "1800-03-12"}, {"question": "How many groups of organisms, known by one particular common name, have the color whose sRGB color hex triplet is 000000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sRGB color hex triplet", "000000"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["color"]}, {"function": "Relate", "dependencies": [2], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["group of organisms known by one particular common name"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <color> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"color\" . ?e_1 <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> \"000000\" .   }", "answer": "2"}, {"question": "What is the connection between BBC News (the one whose Instagram username is bbcnews) to London (the one that is the narrative location of Austin Powers: The Spy Who Shagged Me)?", "choices": ["headquarters location", "doctoral student", "signatory", "foundational text", "industry", "from fictional universe", "original network", "located in time zone", "culture", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC News"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "bbcnews"]}, {"function": "Find", "dependencies": [], "inputs": ["Austin Powers: The Spy Who Shagged Me"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"BBC News\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"bbcnews\" . ?e_2 <pred:name> \"London\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"Austin Powers: The Spy Who Shagged Me\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "How was the population of the city of the United States that is the twinned administrative body of Duisburg determined as 165221 ?", "choices": ["national estimation", "administrative division valid at the time point of history to which the data relates", "administrative division valid at the moment of publication", "United Kingdom Census 1991", "estimation", "Address Based Population Registration System", "census", "Population registration in Sweden", "hearth tax", "rated voltage"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duisburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "165521", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Duisburg\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"165521\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "What is the date of birth of Neil Ross, the member of Tamworth F.C. ?", "choices": ["1961-01-13", "1982-03-20", "1974-08-14", "1945-08-31", "1982-08-10", "1974-08-22", "1986-01-24", "1589-09-17", "1966-12-05", "1924-07-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tamworth F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Neil Ross"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Neil Ross\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Tamworth F.C.\" .  ?e <date_of_birth> ?pv .  }", "answer": "1982-08-10"}, {"question": "Whose work on The Nightmare Before Christmas earned an Academy Award nomination for Best Visual Effects?", "choices": ["Brazil\u2013Cuba relations", "Indonesia\u2013Singapore border", "Bangladesh\u2013Denmark relations", "China\u2013Russia border", "Armenia\u2013Azerbaijan relations in the Eurovision Song Contest", "66th Academy Awards", "Republic of the Congo\u2013United States relations", "Czech Republic\u2013Malaysia relations", "Equatorial Guinea\u2013United States relations", "ministry of Jesus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Nightmare Before Christmas"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Nightmare Before Christmas\" . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "66th Academy Awards"}, {"question": "How is visual kei related to Japan?", "choices": ["place served by transport hub", "given name", "feast day", "located on terrain feature", "country of origin", "domain of saint or deity", "newspaper format", "commander of", "follows", "symptoms"], "program": [{"function": "Find", "dependencies": [], "inputs": ["visual kei"]}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"visual kei\" . ?e_2 <pred:name> \"Japan\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Who is a politician and is also a member of the Skull and Bones?", "choices": ["George H. W. Bush", "Thomas Jefferson", "Richard Gere", "Sylvester Stallone", "H. H. Asquith", "Max Fleischer", "Theodore Roosevelt", "William Henry Harrison", "James Monroe", "William Powell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skull and Bones"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Skull and Bones\" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> \"politician\" .  }", "answer": "George H. W. Bush"}, {"question": "What is the connection between Marcia Cross to brown?", "choices": ["place of burial", "drug used for treatment", "basin country", "has edition", "eye color", "home world", "position held", "operating system", "parent astronomical body", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marcia Cross"]}, {"function": "Find", "dependencies": [], "inputs": ["brown"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marcia Cross\" . ?e_2 <pred:name> \"brown\" . ?e_1 ?p ?e_2 .  }", "answer": "eye color"}, {"question": "Which area is smaller, South Island or Greenland (the one whose elevation (above sea level) is 3694 metre)?", "choices": ["Cyprus", "Maui", "Greenland", "Hawaii", "Newfoundland", "Tasmania", "Trinidad", "Long Island", "South Island", "Puerto Rico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Island"]}, {"function": "Find", "dependencies": [], "inputs": ["Greenland"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "3694 metre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Island\" . } UNION { ?e <pred:name> \"Greenland\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"3694\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "South Island"}, {"question": "When did adventure novel Harry Potter and the Prisoner of Azkaban receive a Locus Award for Best Fantasy Novel?", "choices": ["2019-02-21", "1944-01-01", "2015-02-22", "2000-08-09", "2000", "1972-04-10", "1997-09-17", "2015-02-12", "2009-03-11", "1933-01-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adventure novel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Prisoner of Azkaban"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Locus Award for Best Fantasy Novel"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harry Potter and the Prisoner of Azkaban\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"adventure novel\" . ?e_2 <pred:name> \"Locus Award for Best Fantasy Novel\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "What is Barry Manilow's pseudonym?", "choices": ["Jack Frost", "Guillaume", "Barry Manilow", "Bill Barclay", "Warwick Colvin, Jr.", "\u041f\u0435\u0440\u043e", "Ina", "Adele", "Voltaire", "Superman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barry Manilow"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["pseudonym"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Barry Manilow\" . ?e <pseudonym> ?pv .  }", "answer": "Barry Manilow"}, {"question": "Is the area of Gettysburg (postal code 17325) not the same as 1,800 square kilometres ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gettysburg"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "17325"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["1800 square kilometre", "!="]}], "sparql": "ASK { ?e <pred:name> \"Gettysburg\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"17325\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1800\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does the Twitter handle projectrunway belong to the Beetlejuice represented by the website www.jollydwarf.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beetlejuice"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jollydwarf.com/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["projectrunway"]}], "sparql": "ASK { ?e <pred:name> \"Beetlejuice\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.jollydwarf.com/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"projectrunway\" .  }", "answer": "no"}, {"question": "Until when was  Tony Scott (the one that is a member of AFC Bournemouth) a member of Exeter City F.C. ?", "choices": ["1871-01-25", "1956-10-20", "1812-12-14", "1922-03-22", "1974-01-01", "2014-10-30", "1886", "1932-01-01", "2015-06-02", "1914-08-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AFC Bournemouth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Exeter City F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tony Scott\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"AFC Bournemouth\" . ?e_2 <pred:name> \"Exeter City F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1974-01-01"}, {"question": "What organization's name is \u041b\u041e\u041b\u0413\u041a for short?", "choices": ["Calgary Stampeders", "Conservatoire de Paris", "Catholic Church", "Central Intelligence Agency", "Saint Petersburg Conservatory", "E. W. Scripps Company", "Eastman School of Music", "Curtis Institute of Music", "World Bank", "Moscow Conservatory"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u041b\u041e\u041b\u0413\u041a"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u041b\u041e\u041b\u0413\u041a\" .  }", "answer": "Saint Petersburg Conservatory"}, {"question": "When did Hans J. Salter die?", "choices": ["2006-03-25", "1994-07-23", "1991-09-24", "1986-11-02", "1969-07-05", "1986-12-24", "1992-12-18", "1954-10-02", "2000-06-18", "2008-02-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hans J. Salter"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hans J. Salter\" . ?e <date_of_death> ?pv .  }", "answer": "1994-07-23"}, {"question": "How many science fiction films are the genre of Stargate Atlantis and the genre of Stephen King (whose occupation is writer)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stargate Atlantis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["science fiction"]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen King"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["science fiction"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science fiction\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Stargate Atlantis\" .  ?e_2 <genre> ?e . ?e_2 <pred:name> \"Stephen King\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"writer\" .  }", "answer": "0"}, {"question": "Was the historical county, whose short name is Principatele Unite, founded in 1968?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "Principatele Unite"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1968", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"Principatele Unite\" . ?e <inception> ?pv . ?pv <pred:year> 1968 .  }", "answer": "no"}, {"question": "How many New York cities that border Bronxville are under 26000 square miles in size?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "26000 square mile", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "Find", "dependencies": [], "inputs": ["Bronxville"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of New York"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <area> ?pv . ?pv <pred:unit> \"square mile\" . ?pv <pred:value> ?v . FILTER ( ?v < \"26000\"^^xsd:double ) . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Bronxville\" .  }", "answer": "0"}, {"question": "Is http://www.fife.gov.uk/ the official website of the administrative territorial entity that contains Kirkcaldy?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kirkcaldy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.fife.gov.uk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Kirkcaldy\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fife.gov.uk/\" .  }", "answer": "yes"}, {"question": "Which television program whose genre is reality TV has the least number of seasons?", "choices": ["The Larry Sanders Show", "The Wire, season 1", "The Wire, season 5", "Monster House", "variety", "Lost, season 3", "The Wire, season 2", "The Wire, season 3", "Peter Pan", "The Challenge"], "program": [{"function": "Find", "dependencies": [], "inputs": ["reality television"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television program"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"reality television\" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monster House"}, {"question": "Does Platoon (the one that has Tony Todd as a cast member) or The Truman Show have the greater duration?", "choices": ["Curse of the Golden Flower", "Talk to Her", "A Prairie Home Companion", "Rebecca", "The Towering Inferno", "Training Day", "The Fifth Element", "The Truman Show", "Platoon", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Todd"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Platoon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Truman Show"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Platoon\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tony Todd\" .   } UNION { ?e <pred:name> \"The Truman Show\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Platoon"}, {"question": "When was Silver Linings Playbook nominated for a Broadcast Film Critics Association Award for Best Comedy Film?", "choices": ["2012", "2016-02-09", "2002-12-18", "1981-06-22", "1974-03-01", "2014-02-22", "2004-07-01", "1754-01-01", "1898", "2240"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Silver Linings Playbook"]}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Comedy Film"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Silver Linings Playbook\" . ?e_2 <pred:name> \"Broadcast Film Critics Association Award for Best Comedy Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "When was Diamonds Are Forever (the one that uses the language English) published?", "choices": ["1924-10-28", "2002-06-21", "1997-05-22", "1986-11-13", "1953-12-22", "1865-01-01", "1956-03-26", "2000-03-30", "2007-01-15", "1967-09-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Diamonds Are Forever"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Diamonds Are Forever\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <publication_date> ?pv .  }", "answer": "1956-03-26"}, {"question": "How many United States towns are an administrative division of the New Jersey county whose capital is Morristown?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morristown"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["town of the United States"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of New Jersey\" . ?e_2 <capital_of> ?e_1 . ?e_2 <pred:name> \"Morristown\" .   }", "answer": "1"}, {"question": "What is the number of industries that are produced by the business that has the Twitter username JNJCares (the subscription number for this statement is 91503).", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "JNJCares"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "91503", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["business"]}, {"function": "Relate", "dependencies": [3], "inputs": ["manufacturer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["industry"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <manufacturer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"business\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"JNJCares\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"91503\"^^xsd:double .   }", "answer": "0"}, {"question": "Which has higher elevation above sea level, Hanover (the one that contains Hannover 96) or Aleppo?", "choices": ["Chihuahua", "Bergen", "Dundee", "Hanover", "Santo Domingo", "Kingston", "Aleppo", "Trieste", "Abidjan", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hannover 96"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hanover"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Aleppo"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hanover\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Hannover 96\" .   } UNION { ?e <pred:name> \"Aleppo\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aleppo"}, {"question": "is the dissolution date of the Second Polish Republic before 1912?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second Polish Republic"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1912", "<"]}], "sparql": "ASK { ?e <pred:name> \"Second Polish Republic\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1912 ) .  }", "answer": "no"}, {"question": "Which movie of the official website www.theimpossible-movie.com was published prior to 2017?", "choices": ["The Quiet Man", "The Muppet Movie", "8 Mile", "A Prairie Home Companion", "Showgirls", "The Impossible", "Talk to Her", "Pleasantville", "Working Girl", "Loving"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theimpossible-movie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2017", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theimpossible-movie.com/\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2017 ) .  }", "answer": "The Impossible"}, {"question": "What is the relationship between Limerick and New Brunswick (the one whose inception time is 1730)?", "choices": ["located in the administrative territorial entity", "doctoral student", "twinned administrative body", "works in collection", "residence", "place of birth", "start point", "office held by head of government", "participant of", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Limerick"]}, {"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1730", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Limerick\" . ?e_2 <pred:name> \"New Brunswick\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1730 . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Is the username of Hugh Laurie TheRealBuddyGuy (the subscription number of this statement is 82747)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Laurie"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["Twitter username", "number of subscribers", "82747"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["TheRealBuddyGuy"]}], "sparql": "ASK { ?e <pred:name> \"Hugh Laurie\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"TheRealBuddyGuy\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"82747\"^^xsd:double .  }", "answer": "no"}, {"question": "Which member of Manchester Monarchs has the position of winger (the one that is related to sport ice hockey)?", "choices": ["Max Fleischer", "William Henry Harrison", "Jeff Daniels", "Sylvester Stallone", "Ryan Murphy", "Dany Heatley", "David Byrne", "Simon Cowell", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manchester Monarchs"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["ice hockey"]}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["winger"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["position played on team / speciality", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Manchester Monarchs\" .  ?e <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> \"winger\" . ?e_2 <sport> ?e_3 . ?e_3 <pred:name> \"ice hockey\" .  }", "answer": "Ryan Murphy"}, {"question": "How is New York University alumnus Peter Krause related to the job of actor?", "choices": ["has part", "occupation", "territory claimed by", "distribution", "main food source", "capital of", "destination point", "highest judicial authority", "place of publication", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Krause"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Krause\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"New York University\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When was Robert Patrick (the one that has the occupation of songwriter) born?", "choices": ["1906-04-04", "1981-03-03", "1954-12-11", "1803-05-25", "1968-04-19", "1976-04-04", "1962-06-10", "1936-01-28", "1881-09-29", "1937-09-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["songwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Patrick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Robert Patrick\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"songwriter\" .  ?e <date_of_birth> ?pv .  }", "answer": "1937-09-27"}, {"question": "Is The Robe the title of It's a Mad, Mad, Mad, Mad World ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["It's a Mad, Mad, Mad, Mad World"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["The Robe"]}], "sparql": "ASK { ?e <pred:name> \"It's a Mad, Mad, Mad, Mad World\" . ?e <title> ?pv . ?pv <pred:value> \"The Robe\" .  }", "answer": "no"}, {"question": "Is Leicester's TOID 4000000074560267?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leicester"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["TOID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["4000000074560267"]}], "sparql": "ASK { ?e <pred:name> \"Leicester\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074560267\" .  }", "answer": "yes"}, {"question": "What film has Keith Richards (whose genre is rhythm and blues) as a cast member and Hillary Clinton as a cast member?", "choices": ["Training Day", "Curse of the Golden Flower", "W.", "The Fifth Element", "The Towering Inferno", "Talk to Her", "Rebecca", "A Prairie Home Companion", "Shine a Light", "The Dictator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rhythm and blues"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Keith Richards"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Hillary Clinton"]}, {"function": "Relate", "dependencies": [6], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Keith Richards\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"rhythm and blues\" .  ?e <cast_member> ?e_3 . ?e_3 <pred:name> \"Hillary Clinton\" .  }", "answer": "Shine a Light"}, {"question": "What person has the Twitter username philcollinsfeed?", "choices": ["Richard Wagner", "Ryan Tedder", "Charles Bukowski", "Serena Williams", "William Henry Harrison", "Jack London", "Max Fleischer", "Richard Gere", "Rod Stewart", "Phil Collins"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "philcollinsfeed"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"philcollinsfeed\" .  }", "answer": "Phil Collins"}, {"question": "When did High Noon (that was nominated for an Academy Award for Best Director) receive the National Film Registry?", "choices": ["2004-02-18", "2011-06-01", "1895-12-01", "2002-08-14", "2013-12-01", "1989-01-01", "2016-05-01", "2009-12-01", "2014-12-20", "2015-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["High Noon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"High Noon\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Director\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1989-01-01"}, {"question": "How is Jack Reacher (the one that received Silver Star) related to soldier?", "choices": ["part of", "enclave within", "heritage designation", "filming location", "located in or next to body of water", "occupation", "software engine", "voice actor", "film editor", "continent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Silver Star"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Reacher"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["soldier"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Reacher\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Silver Star\" . ?e_2 <pred:name> \"soldier\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "At what point did Ray Winstone's work period begin?", "choices": ["1979", "1951", "1896", "1880", "1920", "1970", "1985", "2017", "1967", "1897"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Winstone"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ray Winstone\" . ?e <work_period_(start)> ?pv .  }", "answer": "1979"}, {"question": "How many video game console models follow Xbox 360?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Xbox 360"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"Xbox 360\" .   }", "answer": "0"}, {"question": "What is the Twitter username of the person with Munzinger IBA 00000028512?", "choices": ["inxs", "reba", "UConn", "jenmorrisonlive", "OM_Arab", "City_of_Irvine", "TheDailyShow", "Colts", "CIA", "Aiannucci"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000028512"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000028512\" . ?e <Twitter_username> ?pv .  }", "answer": "TheDailyShow"}, {"question": "When was the state school whose official website is http://bhhs.bhusd.org/ (the language of this statement is English) founded?", "choices": ["1908-03-09", "1898-03-16", "1850", "1950-03-01", "1921-07-16", "1927-01-01", "1913-08-31", "1902-07-21", "1789-01-23", "1803-03-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://bhhs.bhusd.org/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state school"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state school\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://bhhs.bhusd.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv .  }", "answer": "1927-01-01"}, {"question": "Is the population count higher in Kitchener or Kolkata?", "choices": ["Kolkata", "Kilkenny", "Trieste", "Cork", "Abidjan", "Bergen", "Santo Domingo", "Kingston", "Chihuahua", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kitchener"]}, {"function": "Find", "dependencies": [], "inputs": ["Kolkata"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kitchener\" .  } UNION { ?e <pred:name> \"Kolkata\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kolkata"}, {"question": "What is the street address of HAL Laboratory's headquarter location in Chiyoda-ku?", "choices": ["1 John Marshall Dr, Huntington, WV, 25755", "3801 West Temple Avenue, Pomona, CA, 91768", "Old Chapel, Middlebury, VT, 05753", "JKW Administration Building, Suite 100, College Station, TX, 77843-1248", "200 Bloomfield Ave, West Hartford, CT, 06117-1599", "One North Grand Blvd, Saint Louis, MO, 63103-2097", "\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a\u795e\u7530\u9808\u7530\u753a 1-22", "\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a\u4e5d\u6bb5\u53174\u4e01\u76ee1\u756a34\u53f7", "100 North Tryon Street, Charlotte, NC, 28255", "1570 Baltimore Pike, Lincoln University, PA, 19352-0999"], "program": [{"function": "Find", "dependencies": [], "inputs": ["HAL Laboratory"]}, {"function": "Find", "dependencies": [], "inputs": ["Chiyoda-ku"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "located at street address"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"HAL Laboratory\" . ?e_2 <pred:name> \"Chiyoda-ku\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }", "answer": "\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a\u795e\u7530\u9808\u7530\u753a 1-22"}, {"question": "Does Hudson County or Essex County with official website http://www.essex-countynj.org, have lesser area ?", "choices": ["Cape May County", "Essex County", "Gloucester County", "Hudson County", "Bergen County", "Hunterdon County", "Burlington County", "Monmouth County", "Passaic County", "Cumberland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hudson County"]}, {"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.essex-countynj.org"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hudson County\" . } UNION { ?e <pred:name> \"Essex County\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.essex-countynj.org\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hudson County"}, {"question": "Does The Wire, season 3 have more than 0 episodes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wire, season 3"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["0", ">"]}], "sparql": "ASK { ?e <pred:name> \"The Wire, season 3\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which Wisconsin county contains La Crosse?", "choices": ["La Crosse County", "Columbia County", "Jackson County", "Jefferson County", "Milwaukee County", "Washington County", "Wood County", "Outagamie County", "Polk County", "Pierce County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["La Crosse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"La Crosse\" .   }", "answer": "La Crosse County"}, {"question": "For Brave (which has the official blog https://brave.com/blog/), and having the Twitter username brave, what is the number of subscribers for this user?", "choices": ["5529", "3248607", "46195", "4685541", "30268", "359849", "59485", "97082", "33220975", "469"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brave"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official blog", "https://brave.com/blog/"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Twitter username", "brave", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Brave\" . ?e <official_blog> ?pv_1 . ?pv_1 <pred:value> \"https://brave.com/blog/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"brave\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "46195"}, {"question": "What language is associated with Real Salt Lake's official website https://www.rsl.com/?", "choices": ["Turkish", "Atikamekw", "Catalan", "Standard Chinese", "Slovene", "Dutch", "Greek", "Old English", "English", "Valencian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Real Salt Lake"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.rsl.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Real Salt Lake\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.rsl.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which movie is longer, Street Fighter II V or WCW Monday Nitro?", "choices": ["Dancing with the Stars", "Seinfeld", "American Horror Story", "Phineas and Ferb", "Bleak House", "Saturday Night's Main Event", "Street Fighter II V", "Game of Thrones", "Robot Chicken", "WCW Monday Nitro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Street Fighter II V"]}, {"function": "Find", "dependencies": [], "inputs": ["WCW Monday Nitro"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Street Fighter II V\" .  } UNION { ?e <pred:name> \"WCW Monday Nitro\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "WCW Monday Nitro"}, {"question": "What boarding school has an ISNI of 0000 0001 2248 6740 and was the education place of Hugh Dancy?", "choices": ["Marlborough College", "Eton College", "National Theatre School of Canada", "London Business School", "Royal Military Academy Sandhurst", "Harrow School", "Phillips Exeter Academy", "Winchester College", "Upper Canada College", "Wellington College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Dancy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["boarding school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2248 6740"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["boarding school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"boarding school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Hugh Dancy\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2248 6740\" .  }", "answer": "Winchester College"}, {"question": "Did the person born on 1938-03-08 die after 1986?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1938-03-08", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1986", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1938-03-08\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1986 ) .  }", "answer": "yes"}, {"question": "What is the Libris-URI of the person whose CANTIC-ID is a11175928?", "choices": ["wt79dc0f0vcfnk6", "pm14926743ggmjm", "42gjk8jn5b26x4v", "sq47frcb1rhllvf", "xv8bc29g3xf1bcl", "gdsvw1h017935tm", "97mqwwst5l0x29f", "64jlp4fq0cwbmjj", "zw9djjgh46zd1zs", "dbqtx4xx2v201dn"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11175928"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11175928\" . ?e <Libris-URI> ?pv .  }", "answer": "zw9djjgh46zd1zs"}, {"question": "What is the relationship between Benin to Niger?", "choices": ["league", "place of birth", "location of discovery", "shares border with", "foundational text", "subsidiary", "legislative body", "operator", "donated by", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benin"]}, {"function": "Find", "dependencies": [], "inputs": ["Niger"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Benin\" . ?e_2 <pred:name> \"Niger\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the title of the movie with http://www.theorphanagemovie.com/ as its website and Hungary as its region of release?", "choices": ["Young Adam", "Mrs Henderson Presents", "Rebecca", "Kiss of the Spider Woman", "Soul Surfer", "The Lord of the Rings: The Return of the King", "The Orphanage", "The Butterfly Effect", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.theorphanagemovie.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Hungary\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theorphanagemovie.com/\" .  }", "answer": "The Orphanage"}, {"question": "What period was the Grapes of Wrath (by John Steinbeck) set in?", "choices": ["2014", "2005-06-15", "2018-01-09", "2010-05-26", "2015", "2007-01-17", "1994-12-20", "1940", "2012-01-11", "2009-05-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Steinbeck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Grapes of Wrath"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pulitzer Prize for Fiction"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Grapes of Wrath\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"John Steinbeck\" . ?e_2 <pred:name> \"Pulitzer Prize for Fiction\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1940"}, {"question": "What's the relationship between the United Kingdom and John Oliver, the member of the British Columbia Liberal Party?", "choices": ["country of citizenship", "filmography", "significant person", "works in collection", "dialect of", "maintained by", "father", "film crew member", "located on astronomical location", "has edition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Columbia Liberal Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Oliver"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Oliver\" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> \"British Columbia Liberal Party\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which has fewer seasons, The Transformers or Hercules which has Frank Welker as a voice actor?", "choices": ["Tiny Toon Adventures", "The Transformers", "Robot Chicken", "Hercules", "Phineas and Ferb", "Aladdin", "American Dad!", "The Venture Bros.", "The Cleveland Show", "South Park"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Transformers"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Welker"]}, {"function": "Relate", "dependencies": [1], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Transformers\" .  } UNION { ?e <pred:name> \"Hercules\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Frank Welker\" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hercules"}, {"question": "Is the ROME Occupation Code (v3) of a writer that matches the occupation of Paul Auster, equal to C1503 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Auster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["writer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ROME Occupation Code (v3)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["C1503"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"writer\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Paul Auster\" .  ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"C1503\" .  }", "answer": "no"}, {"question": "Which inner planet is the setting of the feature film with cast member Thomas Haden Church?", "choices": ["Venus", "magic in Harry Potter", "Earth", "Central Michigan University", "The Merry Widow", "Arizona", "New York City", "John Wood", "John Hughes", "Mars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Haden Church"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["inner planet"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"inner planet\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"feature film\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Thomas Haden Church\" .   }", "answer": "Mars"}, {"question": "Which one among the news, with the number of episodes below or over 4,000, has the fewest of them?", "choices": ["Today", "Western Desert Campaign", "The Daily Show", "FreeBSD", "Napoleonic Wars", "manufacturing", "Orange", "Good Morning America", "The Colbert Report", "Second Intifada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "4000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"4000\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Colbert Report"}, {"question": "How many former French regions are named after Pas-de-Calais?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pas-de-Calais"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Pas-de-Calais\" .   }", "answer": "1"}, {"question": "How is James Cameron (the US citizen) related to the United States of America?", "choices": ["separated from", "academic degree", "had as last meal", "conferred by", "country of citizenship", "location of formation", "costume designer", "registered with", "performer", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Cameron"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Cameron\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How is Marc Joseph related to Bristol City F.C.?", "choices": ["start point", "member of sports team", "drafted by", "properties for this type", "designated as terrorist by", "chairperson", "original language of film or TV show", "source of income", "contains administrative territorial entity", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marc Joseph"]}, {"function": "Find", "dependencies": [], "inputs": ["Bristol City F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marc Joseph\" . ?e_2 <pred:name> \"Bristol City F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Does ISNI 0000 0001 2359 3951 identify Michelle Williams of Destiny's Child ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Destiny's Child"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michelle Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 2359 3951"]}], "sparql": "ASK { ?e <pred:name> \"Michelle Williams\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Destiny's Child\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2359 3951\" .  }", "answer": "no"}, {"question": "How is The Office with John Krasinski as a cast member related to the Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series?", "choices": ["used by", "practiced by", "public holiday", "work location", "sponsor", "located in the administrative territorial entity", "nominated for", "present in work", "head coach", "medical treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Krasinski"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Office"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Office\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"John Krasinski\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Frank Borzage passed away in Hollywood (the one which is where Bryce Dallas Howard lives), what country is it a part of?", "choices": ["Kingdom of Bavaria", "United States of America", "Estonia", "Guyana", "Austria-Hungary", "Taiwan", "Nepal", "Kuwait", "Malaysia", "Russian Soviet Federative Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Borzage"]}, {"function": "Find", "dependencies": [], "inputs": ["Bryce Dallas Howard"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of death", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Frank Borzage\" . ?e_2 <pred:name> \"Hollywood\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"Bryce Dallas Howard\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Does California (whose median income is 63636 United States dollars) or Louisiana (whose British Museum person-institution is 111527) have the lower elevation above sea level?", "choices": ["New Mexico", "Iowa", "Hawaii", "California", "Massachusetts", "Louisiana", "New Jersey", "Kansas", "Florida", "Illinois"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["median income", "63636 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Louisiana"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["British Museum person-institution", "111527"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"California\" . ?e <median_income> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"63636\"^^xsd:double . } UNION { ?e <pred:name> \"Louisiana\" . ?e <British_Museum_person-institution> ?pv_2 . ?pv_2 <pred:value> \"111527\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Louisiana"}, {"question": "Does Carole Bayer Sager go by the Twitter handle ianmcneice1950 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carole Bayer Sager"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["ianmcneice1950"]}], "sparql": "ASK { ?e <pred:name> \"Carole Bayer Sager\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ianmcneice1950\" .  }", "answer": "no"}, {"question": "What is the character role of Peter Sarsgaard as a cast member of Kinsey?", "choices": ["Joker (The Dark Knight)", "Clyde Martin", "Lord Voldemort", "Calibos", "Sultan", "Zeus", "Bill Yoast", "Wendy Torrance", "Delta Force team member", "Philoctetes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kinsey"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Sarsgaard"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kinsey\" . ?e_2 <pred:name> \"Peter Sarsgaard\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Clyde Martin"}, {"question": "What is the start date that 136.152.0.0/16 is the IPv4 routing prefix for the University of California, Berkeley?", "choices": ["1848-01-01", "1991-03-06", "1983-08-16", "1992-02-24", "1993-01-03", "2006-11-16", "1834-01-09", "1918-03-11", "1979-09-14", "1592"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Berkeley"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["IPv4 routing prefix", "136.152.0.0/16", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"University of California, Berkeley\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"136.152.0.0/16\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPv4_routing_prefix> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1991-03-06"}, {"question": "How many Primetime Emmy Awards were received by the person with ISNI 0000 0000 3190 0467?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3190 0467"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Primetime Emmy Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3190 0467\" .   }", "answer": "2"}, {"question": "What city that borders Los Angeles, in the United States, has the smallest area?", "choices": ["Burbank", "Culver City", "Santa Monica", "Torrance", "Beverly Hills", "Glendale", "West Hollywood", "Compton", "Long Beach", "Inglewood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "West Hollywood"}, {"question": "Is 150 the Dewey Decimal Classification of the House of Romanov?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Romanov"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["150"]}], "sparql": "ASK { ?e <pred:name> \"House of Romanov\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"150\" .  }", "answer": "no"}, {"question": "Does the disease whose UMLS CUI is C0038436, have an ICD-10-CM of C34.1 (the medical condition of this statement is acute disease)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UMLS CUI", "C0038436"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["ICD-10-CM", "medical condition", "acute disease"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["C34.1"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e <UMLS_CUI> ?pv_1 . ?pv_1 <pred:value> \"C0038436\" . ?e <ICD-10-CM> ?pv . ?pv <pred:value> \"C34.1\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ICD-10-CM> ; <pred:fact_t> ?pv ] <medical_condition> ?qpv . ?qpv <pred:value> \"acute disease\" .  }", "answer": "no"}, {"question": "What is the number of former French regions that are an administrative division of the republic whose citizens are the Romani people?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Romani"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["former French region"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"republic\" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> \"Romani\" .   }", "answer": "0"}, {"question": "The House of Commons has 646 seats, an ISNI of 0000 0001 2106 3447, and what as its start time?", "choices": ["1977-09-20", "1122", "1991-10-03", "1942-01-01", "1945-03-19", "2006-01-24", "2005", "1953-08-25", "1978", "1700"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Commons"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2106 3447"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["number of seats", "646", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"House of Commons\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2106 3447\" . ?e <number_of_seats> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"646\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_seats> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2005"}, {"question": "what is the number of forms of government that have human development index less than 0.3 or that get imported from the United Arab Emirates", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Human Development Index", "0.3", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "Find", "dependencies": [], "inputs": ["United Arab Emirates"]}, {"function": "Relate", "dependencies": [3], "inputs": ["exported to", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["form of government"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" .  { ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"0.3\"^^xsd:double ) .  } UNION { ?e_1 <exported_to> ?e . ?e_1 <pred:name> \"United Arab Emirates\" .  } }", "answer": "8"}, {"question": "Is the run-time longer on The Maltese Falcon, representing the Pre-Code Hollywood movement, or on Bleach: Memories of Nobody?", "choices": ["The Maltese Falcon", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "Training Day", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her", "Rebecca", "Bleach: Memories of Nobody"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pre-Code Hollywood"]}, {"function": "Relate", "dependencies": [0], "inputs": ["movement", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Maltese Falcon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bleach: Memories of Nobody"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Maltese Falcon\" . ?e <movement> ?e_1 . ?e_1 <pred:name> \"Pre-Code Hollywood\" .   } UNION { ?e <pred:name> \"Bleach: Memories of Nobody\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bleach: Memories of Nobody"}, {"question": "What is the official website of the Texas county that contains Waco (whose local area code is 254)?", "choices": ["http://carolelombard.org/", "http://www.miramax.com/movie/the-aviator", "http://www.ala.org/alsc/awardsgrants/bookmedia/caldecottmedal/caldecottmedal", "http://www.jameshong.com", "http://www.johnnyenglishreborn.com/", "https://www.torontofc.ca/", "http://www.oshawa.ca/", "http://www.co.mclennan.tx.us", "http://www.gundam00.net", "http://www.kathrynjoosten.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waco"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "254"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Waco\" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"254\" . ?e <official_website> ?pv .  }", "answer": "http://www.co.mclennan.tx.us"}, {"question": "How is Salvador (nominated for National Society of Film Critics Award for Best Director) related to English?", "choices": ["based on", "contributing factor of", "health specialty", "exclave of", "designed by", "grants", "affiliation", "original language of film or TV show", "office held by head of the organisation", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Salvador"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Salvador\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"National Society of Film Critics Award for Best Director\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Where was a visual artwork containing the character called Caravaggio (the one whose works are collected in Museo del Prado) published on 22nd January 1987?", "choices": ["London", "Seattle International Film Festival", "People's Republic of China", "Serbia", "BFI London Film Festival", "New Amsterdam Theatre", "France", "New Zealand", "Indonesia", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Museo del Prado"]}, {"function": "Relate", "dependencies": [0], "inputs": ["works in collection", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Caravaggio"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["characters", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "1987-01-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <characters> ?e_1 . ?e_1 <pred:name> \"Caravaggio\" . ?e_1 <works_in_collection> ?e_2 . ?e_2 <pred:name> \"Museo del Prado\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1987-01-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the British Museum person-institution of a person who is the citizen of Kingdom of Romania?", "choices": ["23446", "18078", "135039", "178608", "86622", "43886", "75601", "22698", "29258", "47854"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Romania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"Kingdom of Romania\" .  ?e <British_Museum_person-institution> ?pv .  }", "answer": "43886"}, {"question": "What is the relationship between Deep Impact and Morgan Freeman?", "choices": ["notable work", "native language", "sports season of league or competition", "cast member", "permanent resident of", "business division", "head of state", "lyrics by", "professional or sports partner", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Deep Impact"]}, {"function": "Find", "dependencies": [], "inputs": ["Morgan Freeman"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Deep Impact\" . ?e_2 <pred:name> \"Morgan Freeman\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many masculine first names belong to a partner of Rose Byrne?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rose Byrne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["male given name"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <partner> ?e_1 . ?e_2 <pred:name> \"Rose Byrne\" .   }", "answer": "1"}, {"question": "For what was Gandhi nominated for an Academy Award for Best Makeup and Hairstyling?", "choices": ["55th Academy Awards", "Croatia\u2013Mongolia relations", "Norway\u2013Serbia relations", "Lebanon\u2013European Union relations", "Son of man in Christianity", "Lesotho\u2013Taiwan relations", "Grenada\u2013Soviet Union relations", "Israel\u2013Paraguay relations", "Norway\u2013Pakistan relations", "18th Tony Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gandhi"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Gandhi\" . ?e_2 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "55th Academy Awards"}, {"question": "Did the Academy Award winning Best Director for Skippy die later than 1959 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Skippy"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1959", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Director\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Skippy\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1959 ) .  }", "answer": "yes"}, {"question": "I'd like to know this statement's subject. Syria has a diplomatic relation with Bangladesh (the one with a diplomatic relation with Sierra Leone).", "choices": ["European Union\u2013Slovenia border", "Djibouti\u2013Somalia relations", "China\u2013Portugal relations", "North Korea\u2013Philippines relations", "Cuba\u2013Malaysia relations", "66th Tony Awards", "Bangladesh\u2013Syria relations", "26th Tony Awards", "Czech Republic\u2013Pakistan relations", "Mauritania\u2013Senegal relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "Find", "dependencies": [], "inputs": ["Sierra Leone"]}, {"function": "Relate", "dependencies": [1], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Syria\" . ?e_2 <pred:name> \"Bangladesh\" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> \"Sierra Leone\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Bangladesh\u2013Syria relations"}, {"question": "What television series has an official website found at http://www.cartoonnetwork.com/ben-10/?", "choices": ["Ben 10", "Batman: The Animated Series", "Hollyoaks", "Fantastic Four", "Bleak House", "Brothers & Sisters", "The Wire", "The Waltons", "Robot Chicken", "American Horror Story"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cartoonnetwork.com/ben-10/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cartoonnetwork.com/ben-10/\" .  }", "answer": "Ben 10"}, {"question": "For the town that is John Wells' (the one that was born in Ashford) birthplace, what is its local-dialing code?", "choices": ["01789", "01233", "07346", "843", "07387", "872", "01483", "1895", "0240", "+598"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ashford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Wells"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"John Wells\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Ashford\" .  ?e <local_dialing_code> ?pv .  }", "answer": "01233"}, {"question": "What is the number of port cities with populations equaling something other than 1.5?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1.5", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["port city"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.5\"^^xsd:double ) .  }", "answer": "8"}, {"question": "What subject applies to the statement that Chicago, which was nominated for a Best Director Oscar, was also nominated for Best Adapted Screenplay by the Satellite Awards?", "choices": ["37th Academy Awards", "Belize\u2013Mexico border", "France\u2013Germany border", "75th Academy Awards", "Israel\u2013Japan relations", "Chad\u2013Taiwan relations", "Dominican Republic\u2013Haiti border", "45th Academy Awards", "European Union\u2013Niger relations", "Indonesia\u2013Poland relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Adapted Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chicago\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Satellite Award for Best Adapted Screenplay\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "75th Academy Awards"}, {"question": "The official website www.hbo.com/big-love represents which 5-season TV series?", "choices": ["X-Men", "Upstairs, Downstairs", "American Horror Story", "Brothers & Sisters", "Eureka", "Game of Thrones", "Saturday Night's Main Event", "Robot Chicken", "Big Love", "Bleak House"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "5", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.hbo.com/big-love"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"5\"^^xsd:double . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hbo.com/big-love\" .  }", "answer": "Big Love"}, {"question": "When did the Waterloo led by a councillor record a population of 104,986?", "choices": ["2016", "1978-04-03", "2018-07-06", "2005-10-01", "1970-04-01", "1984", "1990-02-14", "1950-10-01", "2012-05-01", "1823"], "program": [{"function": "Find", "dependencies": [], "inputs": ["councillor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Waterloo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "104986", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Waterloo\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"councillor\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"104986\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "What is the determination method of 1.754, the total fertility rate of Aruba?", "choices": ["gross floor area", "Canada 2016 Census", "administrative division valid at the time point of history to which the data relates", "average", "Population registration in Sweden", "United Kingdom Census 2011", "United Kingdom Census 2001", "estimation process", "administrative division valid at the moment of publication", "demographic balance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aruba"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["total fertility rate", "1.754", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Aruba\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.754\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Of The Quiet American, a BAFTA nominee for Best Actor in a Leading Role, and Natural Born Killers, which is shorter?", "choices": ["Rebecca", "Natural Born Killers", "The Quiet American", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "The Fifth Element", "The Towering Inferno", "A Prairie Home Companion", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Leading Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Quiet American"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Natural Born Killers"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Quiet American\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Leading Role\" .   } UNION { ?e <pred:name> \"Natural Born Killers\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Quiet American"}, {"question": "How many former French regions are a d\u00e9partement of France or have the official website of http://www.region.alsace/?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.region.alsace/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["former French region"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" .  { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"France\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.region.alsace/\" .  } }", "answer": "11"}, {"question": "Tell me the relation between Los Angeles and Alicia Silverstone", "choices": ["replaced by", "residence", "grants", "newspaper format", "lowest point", "architect", "religion", "kit supplier", "winner", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alicia Silverstone"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alicia Silverstone\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "Is the weight of the person having the ISNI 0000 0001 1507 0579 less than 1 solar mass?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1507 0579"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["mass"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1 solar mass", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1507 0579\" . ?e <mass> ?pv . ?pv <pred:unit> \"solar mass\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "When did the sovereign state with a population numbering 116292 have a nominal GDP value of 748346605.925926 USD?", "choices": ["1962-12-01", "1960-11-01", "2009-05-06", "2003-09-24", "2002-01-01", "1995-05-16", "2008-03-12", "2017-04-01", "1820-01-01", "1997-05-14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "116292", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "748346605.925926 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"116292\"^^xsd:double . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"748346605.925926\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2002-01-01"}, {"question": "Among the rivers that are the tributary of Mississippi River,which one has the largest watershed area ?", "choices": ["Danube", "Beowulf", "Ohio River", "Rhine", "Amazon", "River Thames", "Hudson River", "Mississippi River", "Columbia River", "Missouri River"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mississippi River"]}, {"function": "Relate", "dependencies": [0], "inputs": ["tributary", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e_1 <tributary> ?e . ?e_1 <pred:name> \"Mississippi River\" .  ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Missouri River"}, {"question": "What is the exploitation visa number for Green Lantern?", "choices": ["54126", "116940", "135124", "118835", "129509", "117117", "131693", "146422", "130375", "128710"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Lantern"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Green Lantern\" . ?e <exploitation_visa_number> ?pv .  }", "answer": "130375"}, {"question": "Does Topeka or New Rochelle have the greater population?", "choices": ["Compton", "Boulder", "Lansing", "Oakland", "Columbus", "New Haven", "Waukegan", "Topeka", "Greenville", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Topeka"]}, {"function": "Find", "dependencies": [], "inputs": ["New Rochelle"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Topeka\" .  } UNION { ?e <pred:name> \"New Rochelle\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Topeka"}, {"question": "How many subscribers does Chad Smith (who is famous for oboe) have under the Twitter username RHCPchad?", "choices": ["4872552", "765962", "14071", "2728", "937", "1960", "81876", "254735", "3697", "579078"], "program": [{"function": "Find", "dependencies": [], "inputs": ["oboe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chad Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "RHCPchad", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Chad Smith\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"oboe\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"RHCPchad\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "579078"}, {"question": "Greg Kinnear was the winner on what date of the Award for Outstanding Performance by a Cast in a Motion Picture from the Screen Actors Guild?", "choices": ["1501-12-01", "2005-01-19", "1955-09-24", "2007", "1912-05-15", "1963-05-15", "2013-10-28", "1937", "1997-01-01", "1991-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Greg Kinnear"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Greg Kinnear\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "How is Jude Law connected to Lewisham?", "choices": ["cast member", "practiced by", "educated at", "manufacturer", "product or material produced", "sports season of league or competition", "place of birth", "parent astronomical body", "religious order", "candidacy in election"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jude Law"]}, {"function": "Find", "dependencies": [], "inputs": ["Lewisham"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jude Law\" . ?e_2 <pred:name> \"Lewisham\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How many TV production companies belong to the industry activity that belongs to the BBC News industry (the one whose inception time is 1997-11-09)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC News"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1997-11-09", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["industry", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["activity"]}, {"function": "Relate", "dependencies": [3], "inputs": ["industry", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["TV production company"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"TV production company\" . ?e <industry> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"activity\" . ?e_2 <industry> ?e_1 . ?e_2 <pred:name> \"BBC News\" . ?e_2 <inception> ?pv . ?pv <pred:date> \"1997-11-09\"^^xsd:date .   }", "answer": "1"}, {"question": "What is the connection between Aaron Staton to Huntington (the one that is the birthplace of Aaron Staton)?", "choices": ["grants", "family name", "conflict", "business division", "place of birth", "language used", "award disciplines or subjects", "eye color", "heritage designation", "coextensive with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aaron Staton"]}, {"function": "Find", "dependencies": [], "inputs": ["Aaron Staton"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Huntington"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Aaron Staton\" . ?e_2 <pred:name> \"Huntington\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Aaron Staton\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How large of an area does Andover occupy?", "choices": ["294 square kilometre", "600000 square kilometre", "815800000 square metre", "7433 square kilometre", "13297 square kilometre", "32.1 square mile", "1295 square kilometre", "410977 square kilometre", "128.309986 square kilometre", "2378 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andover"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Andover\" . ?e <area> ?pv .  }", "answer": "32.1 square mile"}, {"question": "Does The Graduate or Vicky Cristina Barcelona have the longer running time?", "choices": ["The Graduate", "The Fifth Element", "A Prairie Home Companion", "Training Day", "Pleasantville", "The Hunchback of Notre Dame", "Talk to Her", "The Towering Inferno", "Vicky Cristina Barcelona", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Graduate"]}, {"function": "Find", "dependencies": [], "inputs": ["Vicky Cristina Barcelona"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Graduate\" .  } UNION { ?e <pred:name> \"Vicky Cristina Barcelona\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Graduate"}, {"question": "There's Something About Mary is related in what way to the New York Film Critics Circle Award for Best Actress?", "choices": ["nutrient", "office held by head of the organisation", "movement", "nominated for", "sidekick of", "manufacturer", "production designer", "public holiday", "use", "original network"], "program": [{"function": "Find", "dependencies": [], "inputs": ["There's Something About Mary"]}, {"function": "Find", "dependencies": [], "inputs": ["New York Film Critics Circle Award for Best Actress"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"There's Something About Mary\" . ?e_2 <pred:name> \"New York Film Critics Circle Award for Best Actress\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the official website for Fort Wayne?", "choices": ["http://nettwerk.com/", "http://www.maryjblige.com/", "http://www.ghibli.jp/ponyo", "http://www.criticschoice.com/", "http://catsanddogsmovie.warnerbros.com/cmp/main.html", "http://www.co.merced.ca.us", "https://www.eltonjohn.com/", "http://www.miramax.com/movie/doubt", "http://www.cityoffortwayne.org", "http://www.priorityrecords.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Wayne"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Fort Wayne\" . ?e <official_website> ?pv .  }", "answer": "http://www.cityoffortwayne.org"}, {"question": "Is Blondie (the one whose color is black-and-white) titled Coronado ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Blondie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Coronado"]}], "sparql": "ASK { ?e <pred:name> \"Blondie\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .  ?e <title> ?pv . ?pv <pred:value> \"Coronado\" .  }", "answer": "no"}, {"question": "Who performs the synth-pop theme song A View to a Kill for the spy film A View to a Kill?", "choices": ["Antonio Banderas", "Mike Myers", "Tina Turner", "Nick Nolte", "Adele", "Duran Duran", "David Boreanaz", "Madonna", "Prince", "Tobey Maguire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["spy film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A View to a Kill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["synth-pop"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A View to a Kill"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["theme music", "performer"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"A View to a Kill\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"spy film\" . ?e_2 <pred:name> \"A View to a Kill\" . ?e_2 <genre> ?e_4 . ?e_4 <pred:name> \"synth-pop\" . ?e_1 <theme_music> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <theme_music> ; <pred:fact_t> ?e_2 ] <performer> ?qpv .  }", "answer": "Duran Duran"}, {"question": "Which ones is shorter, Hope Spring, released in Spain, or Blade II, originating from Germany?", "choices": ["Curse of the Golden Flower", "Blade II", "Pleasantville", "The Fifth Element", "The Towering Inferno", "Hope Springs", "Talk to Her", "A Prairie Home Companion", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Blade II"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hope Springs"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Blade II\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Germany\" .   } UNION { ?e <pred:name> \"Hope Springs\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"Spain\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hope Springs"}, {"question": "Does Toledo (whose official website is http://www.toledo.oh.gov/) or Oxnard have smaller population?", "choices": ["Compton", "Franklin", "Boulder", "Waukegan", "Lansing", "New Haven", "Columbus", "Oakland", "Toledo", "Oxnard"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toledo"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.toledo.oh.gov/"]}, {"function": "Find", "dependencies": [], "inputs": ["Oxnard"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Toledo\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.toledo.oh.gov/\" . } UNION { ?e <pred:name> \"Oxnard\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Oxnard"}, {"question": "Who has fewer children, Nick Cannon or Fergie?", "choices": ["Rahul Dev Burman", "Max Fleischer", "Richard Gere", "Fergie", "Paul Simon", "Nick Cannon", "William Henry Harrison", "Sylvester Stallone", "Simon Cowell", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nick Cannon"]}, {"function": "Find", "dependencies": [], "inputs": ["Fergie"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nick Cannon\" .  } UNION { ?e <pred:name> \"Fergie\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fergie"}, {"question": "Is Nana Patekar or Ed Lauter shorter in height?", "choices": ["Richard Gere", "David Byrne", "Nana Patekar", "Rahul Dev Burman", "Ed Lauter", "James E. Reilly", "Paul Simon", "Sylvester Stallone", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nana Patekar"]}, {"function": "Find", "dependencies": [], "inputs": ["Ed Lauter"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nana Patekar\" .  } UNION { ?e <pred:name> \"Ed Lauter\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nana Patekar"}, {"question": "ISNI 0000 0001 1576 7384 identifies which individual?", "choices": ["William Henry Harrison", "Richard Gere", "Sylvester Stallone", "Kevin James", "Philippe Rousselot", "Chris Killen", "Louis XIV of France", "Eric Roberts", "Michael O'Neill", "John Williams"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1576 7384"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1576 7384\" .  }", "answer": "Eric Roberts"}, {"question": "Which movie is shorter, We Were Soldiers or V for Vendetta (the one whose release region is Slovenia)?", "choices": ["Pleasantville", "Training Day", "We Were Soldiers", "V for Vendetta", "The Fifth Element", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["We Were Soldiers"]}, {"function": "Find", "dependencies": [], "inputs": ["Slovenia"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["V for Vendetta"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"We Were Soldiers\" .  } UNION { ?e <pred:name> \"V for Vendetta\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Slovenia\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "We Were Soldiers"}, {"question": "Who was nominated for Academy Award for Best Documentary Feature for Spellbound (the one whose distributor is THINKFilm) ?", "choices": ["Angola\u2013South Africa relations", "Kenya\u2013Somalia relations", "Denmark\u2013India relations", "Barbados\u2013Suriname relations", "Italy\u2013Tunisia relations", "Guatemala\u2013Taiwan relations", "Kuwait\u2013Saudi Arabia relations", "Bangladesh\u2013Nigeria relations", "Cameroon\u2013Gabon border", "75th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["THINKFilm"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spellbound"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Documentary Feature"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Spellbound\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"THINKFilm\" . ?e_2 <pred:name> \"Academy Award for Best Documentary Feature\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "75th Academy Awards"}, {"question": "Which vocal academic discipline is associated with Damon Albarn?", "choices": ["biochemistry", "baritone", "Yellow Submarine", "international relations", "psychiatry", "political science", "choir", "English Studies", "soprano", "mezzo-soprano"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Damon Albarn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice type", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e_1 <voice_type> ?e . ?e_1 <pred:name> \"Damon Albarn\" .   }", "answer": "baritone"}, {"question": "The movie that earned Hugh Jackman a Saturn Award for Best Actor was released in what location on 2000-08-31?", "choices": ["Indonesia", "Washington, D.C.", "Moscow", "Portugal", "Estonia", "BFI London Film Festival", "Europe", "Germany", "India", "Switzerland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Hugh Jackman"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2000-08-31", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Saturn Award for Best Actor\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Hugh Jackman\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-08-31\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is Life as We Know It linked to Australia, release region of The Song of Bernadette?", "choices": ["has immediate cause", "continent", "worshipped by", "derivative work", "is a list of", "contains settlement", "terminus", "dialect of", "penalty", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Life as We Know It"]}, {"function": "Find", "dependencies": [], "inputs": ["The Song of Bernadette"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Life as We Know It\" . ?e_2 <pred:name> \"Australia\" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> \"The Song of Bernadette\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Does the language that is the Akshay Kumar's native language, have the Wikimedia language code, en-ca?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akshay Kumar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["native language", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Wikimedia language code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["en-ca"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e_1 <native_language> ?e . ?e_1 <pred:name> \"Akshay Kumar\" .  ?e <Wikimedia_language_code> ?pv . ?pv <pred:value> \"en-ca\" .  }", "answer": "no"}, {"question": "I want to know the person with the ISNI of 0000 0000 7841 0473 and who was born other than 1934.", "choices": ["William Henry Harrison", "Edward Shearmur", "Richard Gere", "Max Fleischer", "Sylvester Stallone", "Carmine Infantino", "Halle Berry", "Matt Servitto", "Cicely Tyson", "Marvin Hatley"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7841 0473"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1934", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7841 0473\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1934 ) .  }", "answer": "Marvin Hatley"}, {"question": "Which area is smaller, Joseon or Israel (the one that is the release region of Memento)?", "choices": ["Cambodia", "Israel", "Samoa", "Weimar Republic", "Kiribati", "Benin", "Russian Soviet Federative Socialist Republic", "Switzerland", "Joseon", "Socialist Federal Republic of Yugoslavia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseon"]}, {"function": "Find", "dependencies": [], "inputs": ["Memento"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Joseon\" .  } UNION { ?e <pred:name> \"Israel\" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> \"Memento\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Israel"}, {"question": "When did Beastie Boys (the one that is famous for punk rock) receive the Grammy Award for Best Rap Performance by a Duo or Group?", "choices": ["2018-11-24", "1930-12-31", "1867-12-01", "2003-02-23", "1806", "2012-07-01", "1999-01-01", "1910-12-31", "1997-08-20", "1886"], "program": [{"function": "Find", "dependencies": [], "inputs": ["punk rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beastie Boys"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Rap Performance by a Duo or Group"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Beastie Boys\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"punk rock\" . ?e_2 <pred:name> \"Grammy Award for Best Rap Performance by a Duo or Group\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Which movie is shorter, The Crying Game or David Copperfield (the one whose producer is David O. Selznick)?", "choices": ["Training Day", "The Hunchback of Notre Dame", "Talk to Her", "The Towering Inferno", "Curse of the Golden Flower", "David Copperfield", "The Fifth Element", "The Crying Game", "Pleasantville", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Crying Game"]}, {"function": "Find", "dependencies": [], "inputs": ["David O. Selznick"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Crying Game\" .  } UNION { ?e <pred:name> \"David Copperfield\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"David O. Selznick\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Crying Game"}, {"question": "How many soundtracks were not published in 1994 or after 1996?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1994", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1996", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soundtrack album"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1994 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1996 ) .  } }", "answer": "11"}, {"question": "Is the duration of Bones (the one that has Joel David Moore as a cast member) more than 1 academic term ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joel David Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["1 academic term", "!="]}], "sparql": "ASK { ?e <pred:name> \"Bones\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Joel David Moore\" .  ?e <duration> ?pv . ?pv <pred:unit> \"academic term\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the connection between Sidney Lumet to Los Angeles Film Critics Association Award for Best Director?", "choices": ["hair color", "officially opened by", "contributor(s) to the creative work", "official religion", "fictional universe described in", "position played on team / speciality", "writing system", "named after", "risk factor", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sidney Lumet"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles Film Critics Association Award for Best Director"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sidney Lumet\" . ?e_2 <pred:name> \"Los Angeles Film Critics Association Award for Best Director\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Of independent German cities with a population different from 88,000, which is higher relative to sea level?", "choices": ["Jimmy Fallon", "MTV Video Music Award for Best Video from a Film", "Boston University School of Law", "Weimar", "Duke University", "Nine Inch Nails", "Bayreuth", "Frankfurt (Oder)", "Coburg", "Baden-Baden"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "88000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"88000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "Is http://www.fairfield.ca.gov the official website of the award whose inception time is in 1943 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1943", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.fairfield.ca.gov"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1943 . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fairfield.ca.gov\" .  }", "answer": "no"}, {"question": "How are Charlie Chaplin and the Romani people related?", "choices": ["programming paradigm", "replaced by", "member of sports team", "executive producer", "place served by transport hub", "place of death", "ethnic group", "model item", "make-up artist", "enclave within"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Chaplin"]}, {"function": "Find", "dependencies": [], "inputs": ["Romani people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charlie Chaplin\" . ?e_2 <pred:name> \"Romani people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "For the higher-education institution, whose street address is 8000 York Rd, Towson, MD, 21252-0001, what is the language associated with this creative work for its official website of http://www.towson.edu?", "choices": ["Finnish", "Esperanto", "Wolof", "Portuguese", "Belarusian", "Valencian", "Hungarian", "Old English", "English", "Croatian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "8000 York Rd, Towson, MD, 21252-0001"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.towson.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_at_street_address> ?pv_1 . ?pv_1 <pred:value> \"8000 York Rd, Towson, MD, 21252-0001\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.towson.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did David Brown (a member of Kilmarnock F.C.) close the membership with Crewe Alexandra F.C.?", "choices": ["1891-06-01", "1822-12-31", "2019-06-30", "1981", "1939-03-14", "1902-05-31", "1865-04-02", "1977-03-09", "1931-04-11", "1927-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kilmarnock F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Crewe Alexandra F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Brown\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Kilmarnock F.C.\" . ?e_2 <pred:name> \"Crewe Alexandra F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1927-01-01"}, {"question": "How many New Jersey counties have the captital Bedford whose area is 39.42 square miles and whose FIPS 6-4 (US counties) is 34023?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bedford"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "39.42 square mile", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New Jersey"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["FIPS 6-4 (US counties)", "34023"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of New Jersey"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Bedford\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square mile\" . ?pv <pred:value> \"39.42\"^^xsd:double .  ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"34023\" .  }", "answer": "0"}, {"question": "Paul Sylbert works for which higher education institution?", "choices": ["Imperial College London", "University of San Diego", "University of Cambridge", "Texas Tech University", "University of Basel", "Colorado College", "McNeese State University", "Temple University", "University of Manchester", "University of Cincinnati"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Sylbert"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Paul Sylbert\" .   }", "answer": "Temple University"}, {"question": "What trunk prefix applies to the unitary state with Dewey Decimal Classification 2--4793?", "choices": ["8", "2.602", "first language", "0", "06", "1", "10928", "Ostrov", "00", "\u30d1\u30f3\u30c6\u30ec\u30a4\u30e2\u30f3\u7530\u5ddd\u6d0b\u884c"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--4793"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["trunk prefix"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--4793\" . ?e <trunk_prefix> ?pv .  }", "answer": "8"}, {"question": "When did 3:10 to Yuma (distributed by Columbia Pictures) receive the National Film Registry?", "choices": ["1911-05-28", "1756", "1846-12-01", "2014-02-01", "1991", "1980-12-31", "2002-12-30", "2012-01-01", "2003-12-15", "2017-08-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["3:10 to Yuma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"3:10 to Yuma\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Columbia Pictures\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "How  many operating system were developed by Ryanair ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryanair"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["operating system"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"operating system\" . ?e <developer> ?e_1 . ?e_1 <pred:name> \"Ryanair\" .   }", "answer": "0"}, {"question": "Justin Timberlake received an MTV Video Music Award for Best Pop Video for which project?", "choices": ["Anastasia", "The Wanderer", "Cry Me a River", "Innerspace", "Jagged Edge", "12 Monkeys", "A Time of Changes", "Women in Love", "Tracey Ullman Takes On New York", "White Chicks"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Pop Video"]}, {"function": "Find", "dependencies": [], "inputs": ["Justin Timberlake"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best Pop Video\" . ?e_2 <pred:name> \"Justin Timberlake\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Cry Me a River"}, {"question": "How is the Broadcast Film Critics Association Award for Best Supporting Actress related to Melissa Leo?", "choices": ["winner", "source of material", "practiced by", "edition or translation of", "works in collection", "history of topic", "award received", "has dialect (DEPRECATED)", "destination point", "follows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Supporting Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Melissa Leo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Supporting Actress\" . ?e_2 <pred:name> \"Melissa Leo\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Which has fewer people, Stockton or East St. Louis?", "choices": ["Lansing", "Oakland", "Greenville", "Stockton", "Compton", "Columbus", "New Haven", "Boulder", "East St. Louis", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stockton"]}, {"function": "Find", "dependencies": [], "inputs": ["East St. Louis"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stockton\" .  } UNION { ?e <pred:name> \"East St. Louis\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "East St. Louis"}, {"question": "Which body of water is County Tyrone, with a border with COunty Antrim,   located in or next to?", "choices": ["http://truegritmovie.com", "19", "22", "Lough Neagh", "423", "mediatopic/20001085", "7003656", "cambridge_uni", "Olympic bronze medal", "18 year"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Tyrone"]}, {"function": "Find", "dependencies": [], "inputs": ["County Antrim"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "located in or next to body of water"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"County Tyrone\" . ?e_2 <pred:name> \"County Antrim\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <located_in_or_next_to_body_of_water> ?qpv .  }", "answer": "Lough Neagh"}, {"question": "When Amistad was up for an Academy Award for Best Costume Design, who was the individual nominated?", "choices": ["Ruth E. Carter", "Ivan Sharrock", "Peter Bogdanovich", "Evan A. Lottman", "Reg Allen", "George Miller", "Amy Irving", "Jim Clark", "Alvin Sargent", "Robert Short"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amistad"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Amistad\" . ?e_2 <pred:name> \"Academy Award for Best Costume Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Ruth E. Carter"}, {"question": "How many hip hop musics are originated from United States of America or not started in 1988?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hip hop music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1988", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hip hop music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  } }", "answer": "12"}, {"question": "What is the connection between Rambo III and Rambo: First Blood?", "choices": ["has quality", "film distribute region", "official language", "director of photography", "follows", "eye color", "destination point", "model item", "does not have part", "operating system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rambo III"]}, {"function": "Find", "dependencies": [], "inputs": ["Rambo: First Blood Part II"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rambo III\" . ?e_2 <pred:name> \"Rambo: First Blood Part II\" . ?e_1 ?p ?e_2 .  }", "answer": "follows"}, {"question": "What is the relationship between 3:10 to Yuma (the one whose publication date is 2007-12-13) and Gretchen Mol?", "choices": ["inspired by", "geography of topic", "position played on team / speciality", "operating area", "located in time zone", "material used", "film distribute region", "cast member", "location of formation", "programming language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3:10 to Yuma"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-12-13", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Gretchen Mol"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"3:10 to Yuma\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2007-12-13\"^^xsd:date . ?e_2 <pred:name> \"Gretchen Mol\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the relationship between Nine Lives (the one that has Aidan Quinn as a cast member) and Kathy Baker?", "choices": ["industry", "substitute/deputy/replacement of office/officeholder", "sponsor", "seed team", "public holiday", "cast member", "copyright holder", "model item", "source of material", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aidan Quinn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nine Lives"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kathy Baker"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nine Lives\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Aidan Quinn\" . ?e_2 <pred:name> \"Kathy Baker\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many armies' country is the sovereign state having the ISNI 0000 0001 1119 5235?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1119 5235"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["army"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"army\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1119 5235\" .   }", "answer": "1"}, {"question": "Which college of the University of Cambridge was Michael Redgrave educated at?", "choices": ["Queens' College", "Jesus College", "Magdalene College", "Trinity College", "University of Cambridge", "Fitzwilliam College", "Emmanuel College", "Christ's College", "King's College", "St John's College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Redgrave"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Cambridge"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Michael Redgrave\" .   }", "answer": "Magdalene College"}, {"question": "What is the Twitter username of Bill Clinton?", "choices": ["IamLaceyChabert", "leytonorientfc", "Saints", "CamClarkeVoices", "waltz1956", "crawleytown", "CondoleezzaRice", "Billy", "Huuhkajat", "BillClinton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Clinton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bill Clinton\" . ?e <Twitter_username> ?pv .  }", "answer": "BillClinton"}, {"question": "Which rock band sets up in Guildford (the one whose OS grid reference is SU9949) ?", "choices": ["Queen", "Santana", "New Order", "The Smashing Pumpkins", "Camel", "Nick Cave and the Bad Seeds", "Marilyn Manson", "Journey", "Deep Purple", "Kings of Leon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guildford"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OS grid reference", "SU9949"]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["rock band"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Guildford\" . ?e_1 <OS_grid_reference> ?pv . ?pv <pred:value> \"SU9949\" .   }", "answer": "Camel"}, {"question": "Who are the people behind the rock band that owns the Twitter username journeyofficial?", "choices": ["Randy Jackson", "Axl Rose", "Glenn Danzig", "Jim Morrison", "Warren Ellis", "Arthur Wong", "Sacha Baron Cohen", "George Harrison", "Eddie Vedder", "James Hetfield"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "journeyofficial"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"rock band\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"journeyofficial\" .   }", "answer": "Randy Jackson"}, {"question": "What is the relation between A Better Tomorrow shot in Thailand and A Better Tomorrow where Chow Yun-fat is cast ?", "choices": ["military conflicts", "based on", "ancestral home", "eye color", "afflicts", "currency", "had as last meal", "talk show guest", "has dialect (DEPRECATED)", "subject has role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thailand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Better Tomorrow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chow Yun-fat"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Better Tomorrow"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A Better Tomorrow\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"Thailand\" . ?e_2 <pred:name> \"A Better Tomorrow\" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> \"Chow Yun-fat\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "Is 2--796 the Dewey Decimal Classification for the city whose dialing code is 080?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "080"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["2--796"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"080\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--796\" .  }", "answer": "no"}, {"question": "How many feature films are originally in English?", "choices": ["57", "58", "59", "60", "61", "62", "63", "64", "65", "66"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .   }", "answer": "59"}, {"question": "How many types of governments has the captital Turin?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Turin\" .   }", "answer": "1"}, {"question": "Was the person whose native language name is Albert Brooks born after 1987?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Albert Brooks"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1987", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Albert Brooks\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) .  }", "answer": "no"}, {"question": "What is the connection between The Adventures of Tintin (the one whose director is Steven Spielberg) to Steven Moffat?", "choices": ["next higher rank", "performer", "director/manager", "shares border with", "copyright representative", "official color", "seed team", "mascot", "owned by", "screenwriter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Spielberg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Adventures of Tintin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Steven Moffat"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Adventures of Tintin\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Steven Spielberg\" . ?e_2 <pred:name> \"Steven Moffat\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "In London (where The Police formed), what is the street address of the University of Westminster's headquarters?", "choices": ["020 Chubb Hall, Athens, OH, 45701-2979", "417 5th Avenue", "3201 Burton Street SE, Grand Rapids, MI, 49546", "1 Lmu Drive", "309 Regent Street", "36 South Wabash Avenue", "101 Main Building", "30 Panepistimiou Street", "Nilkhet Rd", "Woodstock Road"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Westminster"]}, {"function": "Find", "dependencies": [], "inputs": ["The Police"]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Westminster\" . ?e_2 <pred:name> \"London\" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> \"The Police\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "309 Regent Street"}, {"question": "What is the ISNI of the human that was born in Norwalk (which is headed by a mayor)?", "choices": ["0000 0001 1698 3396", "0000 0004 1936 7814", "0000 0000 7365 4129", "0000 0000 5550 969X", "0000 0001 2025 4436", "0000 0000 5938 3027", "0000 0003 6765 2161", "0000 0001 2358 6401", "0000 0001 0857 7670", "0000 0001 2126 1662"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norwalk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Norwalk\" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> \"mayor\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 5550 969X"}, {"question": "Chris Elliott is related to the role of comedian in which way?", "choices": ["Wikidata property", "followed by", "game mode", "conflict", "registered with", "published in", "occupation", "manner of death", "material used", "member of political party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Elliott"]}, {"function": "Find", "dependencies": [], "inputs": ["comedian"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Elliott\" . ?e_2 <pred:name> \"comedian\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Does the visual artwork, whose title is Arthur Conan Doyle, have a publication date after 1915?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Arthur Conan Doyle"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1915", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Arthur Conan Doyle\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1915 ) .  }", "answer": "yes"}, {"question": "What is the connection between Alice (the one whose duration is 86 minute) to United Kingdom?", "choices": ["update method", "has part", "country of origin", "languages spoken, written or signed", "distributor", "software engine", "penalty", "occupation", "diplomatic relation", "film regional debut venue"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "86 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"86\"^^xsd:double . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "When did Caen have a population of 54128?", "choices": ["1812", "2004-04-14", "1913", "1965-04-05", "1913-11-13", "1756", "2015-09-30", "1822-12-01", "2006-10-18", "1926"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caen"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "54128", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Caen\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"54128\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1926"}, {"question": "Regarding the visual artwork published on 2014-02-07 tell me its duration", "choices": ["181 minute", "139.0 minute", "201 minute", "188 minute", "83 minute", "50 minute", "103 minute", "55.5 minute", "117 minute", "186 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2014-02-07", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2014-02-07\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "117 minute"}, {"question": "I'm looking to find out if the duration is not equal to 1.2 years for a movie called The Spy Who Came in from the Cold.", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Spy Who Came in from the Cold"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1.2 year", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Spy Who Came in from the Cold\" . ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Is 50 Cent or Dan Stevens a parent to fewer kids?", "choices": ["50 Cent", "Dan Stevens", "Paul Simon", "Max Fleischer", "Sylvester Stallone", "William Henry Harrison", "Simon Cowell", "James E. Reilly", "Richard Gere", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["50 Cent"]}, {"function": "Find", "dependencies": [], "inputs": ["Dan Stevens"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"50 Cent\" .  } UNION { ?e <pred:name> \"Dan Stevens\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "50 Cent"}, {"question": "When was The Sopranos nominated for Primetime Emmy Award for Outstanding Guest Actress in a Drama Series?", "choices": ["2004-02-18", "1812", "2012-03-07", "1680", "1997-10-17", "1936-01-01", "2005-10-17", "1990-03-26", "2001", "1514"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Sopranos"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actress in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Sopranos\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actress in a Drama Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "What is the start time for John Davis (the one that holds the position of Governor of Massachusetts) to hold the position of Governor of Massachusetts?", "choices": ["2012-06-14", "1945-01-01", "2006-09-30", "1982-01-01", "1594", "1870-01-18", "1834-01-09", "1918-11-12", "1939", "1975-09-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Governor of Massachusetts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Governor of Massachusetts"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["position held", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Davis\" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> \"Governor of Massachusetts\" . ?e_2 <pred:name> \"Governor of Massachusetts\" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1834-01-09"}, {"question": "When did Dean Martin who died from natural causes receive a Grammy Lifetime Achievement Award?", "choices": ["1991-12-12", "1624", "2002-03-24", "2003", "2009-01-01", "2018-08-16", "1562", "2000-08-01", "1957-03-27", "1786-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dean Martin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Lifetime Achievement Award"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dean Martin\" . ?e_1 <manner_of_death> ?e_3 . ?e_3 <pred:name> \"natural causes\" . ?e_2 <pred:name> \"Grammy Lifetime Achievement Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009-01-01"}, {"question": "Is Kris Meat Loaf's pseudonym?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meat Loaf"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["pseudonym"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Kris"]}], "sparql": "ASK { ?e <pred:name> \"Meat Loaf\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"Kris\" .  }", "answer": "no"}, {"question": "What is the relationship between The Wizard of Oz (the one whose production company is Warner Bros.) to Warner Bros.?", "choices": ["owner of", "basic form of government", "production company", "lowest point", "located in time zone", "commander of", "office held by head of the organisation", "operating system", "talk show guest", "religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Wizard of Oz"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Wizard of Oz\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Warner Bros.\" . ?e_2 <pred:name> \"Warner Bros.\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "How many officials are in charge of the United States Department of the Treasury?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Department of the Treasury"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of the organisation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["official"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"official\" . ?e_1 <office_held_by_head_of_the_organisation> ?e . ?e_1 <pred:name> \"United States Department of the Treasury\" .   }", "answer": "1"}, {"question": "How many theatre awards are there whose official website is http://www.tonyawards.com/en_US/index.html and beginning date is after 1947?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tonyawards.com/en_US/index.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatre award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1947", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["theatre award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tonyawards.com/en_US/index.html\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1947 ) .  }", "answer": "6"}, {"question": "Is Shane Smeltz or John Byrne whose date of birth is 1961-02-01 taller in height?", "choices": ["Richard Gere", "Max Fleischer", "Simon Cowell", "James E. Reilly", "David Byrne", "Sylvester Stallone", "Rahul Dev Burman", "Shane Smeltz", "John Byrne", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shane Smeltz"]}, {"function": "Find", "dependencies": [], "inputs": ["John Byrne"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of birth", "1961-02-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shane Smeltz\" . } UNION { ?e <pred:name> \"John Byrne\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1961-02-01\"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shane Smeltz"}, {"question": "Which visual artwork produced by Robert Greenhut has the longest run-time?", "choices": ["Everyone Says I Love You", "A League of Their Own", "September", "New York Stories", "Bullets Over Broadway", "Alice", "Hannah and Her Sisters", "Big", "Husbands and Wives", "Crimes and Misdemeanors"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Greenhut"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Robert Greenhut\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "New York Stories"}, {"question": "Is http://www.carmineinfantino.com/ the official website of the person who died on 2013-04-04?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2013-04-04", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.carmineinfantino.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"2013-04-04\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.carmineinfantino.com/\" .  }", "answer": "yes"}, {"question": "What is the native label of an Italian commune which is the twinned administrative body of Perth (dialing code 08610) ?", "choices": ["\uc721\uc774\uc624 \uc0ac\ubcc0", "Lucca", "Montpelhi\u00e8r", "\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0441\u043a\u0430\u044f \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043a\u043e\u043d\u0441\u0435\u0440\u0432\u0430\u0442\u043e\u0440\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u041d. \u0410. \u0420\u0438\u043c\u0441\u043a\u043e\u0433\u043e-\u041a\u043e\u0440\u0441\u0430\u043a\u043e\u0432\u0430", "United States Declaration of Independence", "Mainz", "\u0628\u063a\u062f\u0627\u062f", "Des Moines", "Tartu \u00dclikool", "Freistaat Th\u00fcringen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Perth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "08610"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["comune of Italy"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Perth\" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"08610\" . ?e <native_label> ?pv .  }", "answer": "Lucca"}, {"question": "Which has less elevation above sea level, Portsmouth (the one whose local dialing code is 740) or St. Cloud?", "choices": ["Greenville", "New Haven", "St. Cloud", "Portsmouth", "Oakland", "Columbus", "Compton", "Boulder", "Lansing", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portsmouth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "740"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Cloud"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Portsmouth\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"740\" . } UNION { ?e <pred:name> \"St. Cloud\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Portsmouth"}, {"question": "The band whose ISNI is 0000 0001 2369 4269 influenced how many music forms?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2369 4269"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"band\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2369 4269\" .   }", "answer": "1"}, {"question": "When did Richard Brooks (the one that is related to sport association football) become a member of Reading F.C.?", "choices": ["2009-09-17", "2017-03-02", "1898-07-16", "1937-01-30", "2010-03-01", "1870-01-18", "1989-07-05", "2002-06-02", "2013-07-29", "1911-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Brooks"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Reading F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Brooks\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"Reading F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1911-01-01"}, {"question": "How many Arizona counties have the official website of http://www.maricopa.gov or share a border with Navajo County?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.maricopa.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "Find", "dependencies": [], "inputs": ["Navajo County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Arizona"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.maricopa.gov\" .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Navajo County\" .  } }", "answer": "4"}, {"question": "At which street address did the death of Anne McCaffrey take place in County Wicklow?", "choices": ["Old Chapel, Middlebury, VT, 05753", "3000 Sand Hill Road, 4-250", "5151 State University Dr, Los Angeles, CA, 90032", "Kelburn Parade", "13 Oak Dr, Hamilton, NY, 13346-1398", "855 N Vermont Ave, Los Angeles, CA, 90029", "120 Madison Ave, New York, NY, 10016", "Norham Gardens", "Castle Point On Hudson, Hoboken, NJ, 07030-5991", "Dragonhold-Underhill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne McCaffrey"]}, {"function": "Find", "dependencies": [], "inputs": ["County Wicklow"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of death", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Anne McCaffrey\" . ?e_2 <pred:name> \"County Wicklow\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "Dragonhold-Underhill"}, {"question": "Which short film was scripted by Arthur Conan Doyle, who died on 1930-07-07?", "choices": ["David Copperfield", "The Fugitive", "The Animatrix", "Digimon Adventure", "The Cure", "Frankenstein", "Sherlock Holmes", "Eve", "Neighbours", "Sherlock Holmes: A Game of Shadows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arthur Conan Doyle"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1930-07-07", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["short film"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Arthur Conan Doyle\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1930-07-07\"^^xsd:date .   }", "answer": "Sherlock Holmes"}, {"question": "What is the native label of the big city with the postal code 8051?", "choices": ["Ostpreu\u00dfen", "\uc870\uc120\ub9d0", "Conservative Party of Canada", "\u062f\u0648\u0644\u0629 \u0644\u064a\u0628\u064a\u0627", "Toledo", "Cleveland", "Triju Zvaig\u017e\u0146u ordenis", "Graz", "The Communist Party of the United States of America", "suku Jawa"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "8051"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"8051\" . ?e <native_label> ?pv .  }", "answer": "Graz"}, {"question": "What is the relation of The Ghost Writer to London (the filming location of Basic Instinct 2)?", "choices": ["military branch", "main subject", "connects with", "sidekick of", "geography of topic", "afflicts", "original language of film or TV show", "signatory", "narrative location", "mother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ghost Writer"]}, {"function": "Find", "dependencies": [], "inputs": ["Basic Instinct 2"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Ghost Writer\" . ?e_2 <pred:name> \"London\" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> \"Basic Instinct 2\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Which award did Ang Lee receive (the award-winning work of this statement is Lust, Caution)?", "choices": ["Golden Lion", "Grammy Award for Best Metal Performance", "Genie Award for Best Achievement in Editing", "Royal Victorian Chain", "Golden Globe Award for Best Director", "Latin Grammy Award for Best Male Pop Vocal Album", "Independent Spirit Award for Best Documentary Feature", "Golden Globe Award for Best Animated Feature Film", "Academy Award for Best Director", "Independent Spirit Award for Best Female Lead"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ang Lee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Lust, Caution"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Ang Lee\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Lust, Caution\" .  }", "answer": "Golden Lion"}, {"question": "Is Jackass Number Two the name of the TV movie with Charlotte Rampling as a cast member ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte Rampling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Jackass Number Two"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Charlotte Rampling\" .  ?e <title> ?pv . ?pv <pred:value> \"Jackass Number Two\" .  }", "answer": "no"}, {"question": "Does the Twitter username Jon_Favreau belong to the soccer club whose official website is www.svried.at ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.svried.at/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Jon_Favreau"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.svried.at/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Jon_Favreau\" .  }", "answer": "no"}, {"question": "What is the association of Adelaide (whose local dialing code is 08734) with Christchurch?", "choices": ["composer", "cause of death", "has contributing factor", "office held by head of state", "broadcast by", "fictional universe described in", "has parts of the class", "present in work", "military casualty classification", "twinned administrative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adelaide"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "08734"]}, {"function": "Find", "dependencies": [], "inputs": ["Christchurch"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adelaide\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"08734\" . ?e_2 <pred:name> \"Christchurch\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Is the population count smaller in Waterbury or in Jackson, designated by ISNI code 0000 0004 0629 8565?", "choices": ["Waterbury", "Franklin", "Jackson", "Waukegan", "Compton", "Greenville", "Lansing", "Boulder", "Oakland", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waterbury"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackson"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0004 0629 8565"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Waterbury\" . } UNION { ?e <pred:name> \"Jackson\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0629 8565\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Waterbury"}, {"question": "Which has fewer students, University of Vermont or Purdue University?", "choices": ["Kansas State University", "University of Vermont", "University of Idaho", "Purdue University", "Virginia Tech", "University of Arkansas", "Montana State University - Bozeman", "North Carolina Agricultural and Technical State University", "Iowa State University", "University of Maine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Vermont"]}, {"function": "Find", "dependencies": [], "inputs": ["Purdue University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Vermont\" .  } UNION { ?e <pred:name> \"Purdue University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Vermont"}, {"question": "What is the longest movie of all the animated films that were published in 1995?", "choices": ["The Lion King", "The Polar Express", "Anastasia", "Ponyo on the Cliff by the Sea", "Magic Knight Rayearth", "Wonder Woman", "Alice in Wonderland", "Superman", "Code Geass", "My-HiME"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1995", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1995 . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lion King"}, {"question": "Is the rural population larger in Gujarat, which is 196024 square kilometres in size, or Jammu and Kashmir?", "choices": ["Maharashtra", "Jharkhand", "Punjab", "Gujarat", "Jammu and Kashmir", "Andhra Pradesh", "Karnataka", "Himachal Pradesh", "Haryana", "Kerala"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gujarat"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "196024 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jammu and Kashmir"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["rural population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gujarat\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"196024\"^^xsd:double . } UNION { ?e <pred:name> \"Jammu and Kashmir\" . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gujarat"}, {"question": "Does North Yorkshire (that shares a border with East Riding of Yorkshire) or Greater London have less area?", "choices": ["Norfolk", "North Yorkshire", "Northumberland", "West Midlands", "Cumbria", "Derbyshire", "Greater London", "Staffordshire", "Essex", "Somerset"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Riding of Yorkshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["North Yorkshire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Greater London"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North Yorkshire\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"East Riding of Yorkshire\" .   } UNION { ?e <pred:name> \"Greater London\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Greater London"}, {"question": "The pronunciation audio for bread, De-Brot.ogg, is in which language?", "choices": ["Hungarian", "Turkish", "Esperanto", "Canadian French", "Greek", "English", "National language of Republic of China", "Indonesian", "Put\u00e8r", "German"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bread"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["pronunciation audio", "De-Brot.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"bread\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"De-Brot.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "German"}, {"question": "When did the state that has Jeff Daniels, who was drafted by the Pittsburgh Penguins, as a citizen have a population of 29671900?", "choices": ["1994-10-25", "1997-12-01", "1964-10-01", "1996", "2001-01-01", "2017-02-28", "1965-10-01", "2009-11-01", "1952-01-01", "2006-03-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Penguins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeff Daniels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "29671900", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> \"Jeff Daniels\" . ?e_1 <drafted_by> ?e_2 . ?e_2 <pred:name> \"Pittsburgh Penguins\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"29671900\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1996"}, {"question": "Which French region contains the administrative division Manche?", "choices": ["Normandy", "Cobra", "computer hardware", "University of Sydney", "tuberculosis", "Brittany", "Lower Normandy", "Charlestown", "Martinique", "Corsica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Manche\" .   }", "answer": "Normandy"}, {"question": "When did Ken Russell become Shirley Ann Russell's spouse?", "choices": ["1993-08-28", "-366", "1865-06-13", "1843-07-31", "1849", "2011-04-21", "2018-10-14", "1917-10-27", "1938-03-13", "1956-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ken Russell"]}, {"function": "Find", "dependencies": [], "inputs": ["Shirley Ann Russell"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ken Russell\" . ?e_2 <pred:name> \"Shirley Ann Russell\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1956-01-01"}, {"question": "What is the DOI of Oldham (which has a WOEID of 31017), where Brian Cox (whose official website is http://www.apolloschildren.com/) was born?", "choices": ["10.1093/ww/9780199540884.013.261949", "2", "United States Census Bureau", "9800", "10.6084/M9.FIGSHARE.4539889", "WMFOffice", "Nick Nolte", "569", "FrostBite", "423 volt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian Cox"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.apolloschildren.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["Oldham"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["WOEID", "31017"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["place of birth", "DOI"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brian Cox\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.apolloschildren.com/\" . ?e_2 <pred:name> \"Oldham\" . ?e_2 <WOEID> ?pv_1 . ?pv_1 <pred:value> \"31017\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <DOI> ?qpv .  }", "answer": "10.1093/ww/9780199540884.013.261949"}, {"question": "What language is used on the website for the metro area of Portland (which is the birthplace of Chris Botti) and can be found at oregonmetro.gov?", "choices": ["Belarusian", "Bavarian", "Corsican", "English", "Bokm\u00e5l", "Irish", "French", "Maltese", "Arabic", "Finnish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Botti"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.oregonmetro.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Portland\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Chris Botti\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oregonmetro.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the local dialing code of the ocunty town that is the formation location of Marillion?", "choices": ["715", "0532", "03726", "920", "325", "01296", "952", "0274", "0345", "2234"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marillion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"Marillion\" .  ?e <local_dialing_code> ?pv .  }", "answer": "01296"}, {"question": "What is the Ivory Coast's diplomatic relationship with the People's Republic of China?", "choices": ["Arkansas\u2013Mississippi border", "33rd Academy Awards", "Canada\u2013Switzerland relations", "Brazil\u2013Spain relations", "Germany\u2013Japan relations", "Grenada\u2013Venezuela border", "China\u2013Ivory Coast relations", "Cambodian\u2013Thai border dispute", "Turkmenistan\u2013Uzbekistan border", "Republic of Macedonia\u2013Montenegro relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ivory Coast"]}, {"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ivory Coast\" . ?e_2 <pred:name> \"People's Republic of China\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "China\u2013Ivory Coast relations"}, {"question": "How many counties of Maryland are located in Maryland (the one that is the narrative location of The Bourne Legacy)?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Bourne Legacy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Maryland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Maryland"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Maryland\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"The Bourne Legacy\" .   }", "answer": "13"}, {"question": "What profession matches the occupation of Akira Toriyama and that belongs to Japan ?", "choices": ["financier", "seiy\u016b", "mangaka", "art director", "cinematographer", "astronaut", "bandleader", "make-up artist", "speaker of the United States House of Representatives", "graphic designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akira Toriyama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Akira Toriyama\" .  ?e <country> ?e_2 . ?e_2 <pred:name> \"Japan\" .  }", "answer": "mangaka"}, {"question": "Is Kulbhushan Kharbanda's ISNI 0000 0001 2030 0535?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kulbhushan Kharbanda"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 2030 0535"]}], "sparql": "ASK { ?e <pred:name> \"Kulbhushan Kharbanda\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2030 0535\" .  }", "answer": "no"}, {"question": "What is the character role of Billy West, known as a guitar player, as a voice actor in  Looney Tunes: Back in Action (the one whose genre is action film) ?", "choices": ["Elmer Fudd", "Syndrome", "Denethor II", "Alicia Florrick", "Mary", "Simon Adebisi", "Ford Prefect", "Guards", "Ted's daughter", "Marie Antoinette"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Looney Tunes: Back in Action"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Billy West"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Looney Tunes: Back in Action\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"action film\" . ?e_2 <pred:name> \"Billy West\" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> \"guitarist\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Elmer Fudd"}, {"question": "What is the release region of the visual artwork whose title is Corpse Bride and publication date is 2005-11-03?", "choices": ["Berlin", "German Democratic Republic", "Ireland", "1949 Cannes Film Festival", "Singapore", "Argentina", "Israel", "Germany", "Russia", "Estonia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Corpse Bride"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2005-11-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Corpse Bride\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-11-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the duration greater for Dick Tracy (the one whose production company is RKO Pictures) or Scream 4?", "choices": ["The Fifth Element", "Dick Tracy", "Training Day", "Scream 4", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "The Towering Inferno", "Pleasantville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RKO Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dick Tracy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Scream 4"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dick Tracy\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"RKO Pictures\" .   } UNION { ?e <pred:name> \"Scream 4\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Scream 4"}, {"question": "What is cast member Meryl Streep's character role in Silkwood?", "choices": ["Karen Silkwood", "Charles Keating", "Althea Flynt", "Green Goblin", "Jethro", "Raymond Langston", "Dr. John Watson", "Cletus Spuckler", "Lennie Briscoe", "Paige Matthews"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Silkwood"]}, {"function": "Find", "dependencies": [], "inputs": ["Meryl Streep"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Silkwood\" . ?e_2 <pred:name> \"Meryl Streep\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Karen Silkwood"}, {"question": "Which activity dervies from the movie with the official website http://www.warnerbros.com/batman-forever?", "choices": ["Iron Man 2", "The Fifth Element", "Rango", "Harry Potter and the Half-Blood Prince", "Catwoman", "TMNT", "Batman", "Batman Forever", "Terminator Salvation", "Spider-Man 3"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.warnerbros.com/batman-forever"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["activity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.warnerbros.com/batman-forever\" .   }", "answer": "Batman Forever"}, {"question": "Which has a lesser duration, All That Jazz or The Thin Red Line (which was nominated for a Satellite Award for Best Adapted Screenplay)?", "choices": ["The Fifth Element", "Pleasantville", "A Prairie Home Companion", "Training Day", "All That Jazz", "Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "Rebecca", "The Thin Red Line"], "program": [{"function": "Find", "dependencies": [], "inputs": ["All That Jazz"]}, {"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Adapted Screenplay"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Thin Red Line"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"All That Jazz\" .  } UNION { ?e <pred:name> \"The Thin Red Line\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Satellite Award for Best Adapted Screenplay\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "All That Jazz"}, {"question": "Of animated films distributed by T\u014dh\u014d, which has the longest running time?", "choices": ["Spirited Away", "A Christmas Carol", "Ponyo on the Cliff by the Sea", "Wonder Woman", "Anastasia", "Code Geass", "Magic Knight Rayearth", "Naruto Shippuden the Movie: Bonds", "Superman", "The Polar Express"], "program": [{"function": "Find", "dependencies": [], "inputs": ["T\u014dh\u014d"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"T\u014dh\u014d\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Spirited Away"}, {"question": "What is the relationship between PFC Lokomotiv Plovdiv and Bulgaria?", "choices": ["use", "head of government", "signatory", "country", "uses", "legislative body", "owned by", "is a list of", "parent club", "facet of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PFC Lokomotiv Plovdiv"]}, {"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"PFC Lokomotiv Plovdiv\" . ?e_2 <pred:name> \"Bulgaria\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How is David Attenborough related to the Royal Victorian Order?", "choices": ["award received", "political ideology", "officially opened by", "software engine", "award disciplines or subjects", "substitute/deputy/replacement of office/officeholder", "head coach", "present in work", "has parts of the class", "producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Attenborough"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Victorian Order"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Attenborough\" . ?e_2 <pred:name> \"Royal Victorian Order\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the entity relative to the time index for February (the one that is followed by March), which is 2 months ?", "choices": ["FIU Blue", "beginning of the year", "15300 square kilometre", "3035469", "1 day", "Sun", "1737.1 kilometre", "2915.70.20", "iOS 5", "London Stansted Airport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["March"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["February"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["time index", "2 month", "relative to"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"February\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"March\" .  ?e <time_index> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> \"2\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <time_index> ; <pred:fact_t> ?pv ] <relative_to> ?qpv .  }", "answer": "beginning of the year"}, {"question": "Which one, National League (the one that contains Woking F.C. as a member) or EFL Championship, has less sports-league level?", "choices": ["Battleship", "Harry Potter and the Half-Blood Prince", "EFL Championship", "rape", "music video game", "kidnapping", "Batman", "journalism", "2008 Tour de France", "Dark Horse Comics"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Woking F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["league", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["National League"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["EFL Championship"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["sports league level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"National League\" . ?e_1 <league> ?e . ?e_1 <pred:name> \"Woking F.C.\" .   } UNION { ?e <pred:name> \"EFL Championship\" .  } ?e <sports_league_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "EFL Championship"}, {"question": "Which has the largest elevation (above sea level), among the independent Germany cities, with a population not equal to 460000000?", "choices": ["Coburg", "Michael Murphy", "Frankfurt (Oder)", "Weimar", "Clinton County", "Bayreuth", "The Count of Monte Cristo", "Los Angeles", "Baden-Baden", "Daylight"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "460000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"460000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "Which area is smaller, Illinois (the one that contains Columbia College Chicago) or Tennessee (the one that is a part of contiguous United States)?", "choices": ["Hawaii", "Massachusetts", "Florida", "Iowa", "New Jersey", "Kansas", "Colorado", "Illinois", "New Mexico", "Tennessee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia College Chicago"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["contiguous United States"]}, {"function": "Relate", "dependencies": [4], "inputs": ["part of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tennessee"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Illinois\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Columbia College Chicago\" .   } UNION { ?e <pred:name> \"Tennessee\" . ?e <part_of> ?e_2 . ?e_2 <pred:name> \"contiguous United States\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tennessee"}, {"question": "Edward Norton produced which visual artwork?", "choices": ["Easy Rider", "Talk to Her", "The Painted Veil", "Wreck-It Ralph", "Pleasantville", "Mansfield Park", "A Prairie Home Companion", "All the King's Men", "My Week with Marilyn", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward Norton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Edward Norton\" .   }", "answer": "The Painted Veil"}, {"question": "Did the television series that derives Dark Shadows starring Jonny Lee Miller end after 1912?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonny Lee Miller"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dark Shadows"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1912", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Dark Shadows\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Jonny Lee Miller\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1912 ) .  }", "answer": "yes"}, {"question": "What language is associated with the official site for Bob Jones University at the official website of http://www.bju.edu?", "choices": ["Austrian German", "Czech", "Wolof", "Latin script", "Cook Islands M\u0101ori", "O'odham", "English", "Armenian", "Indian English", "J\u00e8rriais"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Jones University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.bju.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bob Jones University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bju.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between Tulsa (the one that is designed by Nathan H. Juran) to Frank Skinner (the one whose date of death is 1968-10-09)?", "choices": ["founded by", "derivative work", "sport", "separated from", "academic degree", "cause of death", "voice actor", "from fictional universe", "time period", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nathan H. Juran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tulsa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Frank Skinner"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["date of death", "1968-10-09", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tulsa\" . ?e_1 <production_designer> ?e_3 . ?e_3 <pred:name> \"Nathan H. Juran\" . ?e_2 <pred:name> \"Frank Skinner\" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> \"1968-10-09\"^^xsd:date . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "The person with ISNI number 0000 0000 4728 5083 was born in which city?", "choices": ["Barrie", "Kuwait City", "Suva", "Cork", "Inverness", "Trieste", "Ballarat", "Townsville", "Lahore", "Kingston"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4728 5083"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 4728 5083\" .   }", "answer": "Lahore"}, {"question": "When did the California county bordering Marin County have 483878 residents?", "choices": ["1933-01-30", "1511", "2240", "2011-07-27", "2010-04-01", "1993-10-08", "2011-10-24", "2012-12-31", "1909", "1835-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marin County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "483878", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Marin County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"483878\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "How is High School Musical produced by Buena Vista Home Entertainment related to Albuquerque established in 1706?", "choices": ["parent club", "political ideology", "owned by", "member of political party", "sexual orientation", "movement", "copyright holder", "narrative location", "interests", "architectural style"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buena Vista Home Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["High School Musical"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Albuquerque"]}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1706", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"High School Musical\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Buena Vista Home Entertainment\" . ?e_2 <pred:name> \"Albuquerque\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1706 . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "What day was the person that has http://www.billwyman.com/ as their official website born?", "choices": ["1930-06-29", "1936-10-24", "1950-03-13", "1949-03-14", "1968-06-07", "1925-09-11", "1962-06-16", "1970-02-24", "1903-05-03", "1940-06-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.billwyman.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.billwyman.com/\" . ?e <date_of_birth> ?pv .  }", "answer": "1936-10-24"}, {"question": "Among the Ohio counties with populations greater than 600000, which one has the smallest area?", "choices": ["Summit County", "Cuyahoga County", "Tuscarawas County", "Erie County", "Stark County", "Mahoning County", "Delaware County", "Franklin County", "Hamilton County", "Wayne County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "600000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"600000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hamilton County"}, {"question": "Is http://www.petertork.com  the official website of Kent County (the one whose population is 169416)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kent County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "169416", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://www.petertork.com"]}], "sparql": "ASK { ?e <pred:name> \"Kent County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"169416\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.petertork.com\" .  }", "answer": "no"}, {"question": "How many activities were published later than 2005 or were 16th SAG Awards recipients?", "choices": ["78", "79", "80", "81", "82", "83", "84", "85", "86", "87"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2005", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Find", "dependencies": [], "inputs": ["16th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"16th Screen Actors Guild Awards\" .  } }", "answer": "79"}, {"question": "What is the connection between Robert Young (the one that is an ethnic group of scottish people are annoying) to scottish people are annoying?", "choices": ["mountain range", "practiced by", "item operated", "sibling", "heritage designation", "ethnic group", "official symbol", "cause of death", "draft pick from school", "coextensive with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["scottish people are annoying"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Young"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["scottish people are annoying"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Young\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"scottish people are annoying\" . ?e_2 <pred:name> \"scottish people are annoying\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What is the IAB code for the American Samoa?", "choices": ["1407", "533", "543", "352", "652", "1088", "510", "529", "484", "1233"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Samoa"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IAB code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"American Samoa\" . ?e <IAB_code> ?pv .  }", "answer": "1233"}, {"question": "How many towns in the United States share a border with the census-designated territory having the subreddit bethesda?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "bethesda"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["town of the United States"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"census-designated place\" . ?e_1 <subreddit> ?pv . ?pv <pred:value> \"bethesda\" .   }", "answer": "1"}, {"question": "Did the Academy Award nominated Best Supporting Actress for The Diary of Anne Frank begin working post-1915 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Diary of Anne Frank"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1915", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Diary of Anne Frank\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1915 ) .  }", "answer": "yes"}, {"question": "What university did the person whose ISNI is 0000 0001 1443 9346 study at?", "choices": ["Laval University", "University of Central Florida", "Bucknell University", "Yale University", "Wichita State University", "Manchester Metropolitan University", "Birkbeck, University of London", "University of Durham", "Bowling Green State University", "London Academy of Music and Dramatic Art"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1443 9346"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["university"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1443 9346\" .   }", "answer": "Bucknell University"}, {"question": "What language is associated with the official website http://www.eriecounty.oh.gov for Erie County whose land area is 1622 square kilometers?", "choices": ["Montenegrin", "Esperanto", "Luxembourgish", "Occitan", "Xhosa", "Latin", "Valencian", "Galician", "English", "Traditional Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Erie County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1622 square kilometre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "http://www.eriecounty.oh.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Erie County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1622\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.eriecounty.oh.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did the Ukrainian Soviet Socialist Republic, its short name is \u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0421\u0420\u0420 end?", "choices": ["1937-01-30", "1988", "1990-10-17", "1697", "1798-01-01", "1643", "1952-07-25", "2002-12-13", "1865-05-04", "1991-09-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukrainian Soviet Socialist Republic"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["short name", "\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0421\u0420\u0420", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ukrainian Soviet Socialist Republic\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u0421\u0420\u0420\" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1937-01-30"}, {"question": "Who is the person whose name in native language is \u0c06\u0c32\u0c40?", "choices": ["Sylvester Stallone", "Jamie Lee Curtis", "K. Balachander", "Doris Lessing", "Fred Willard", "James Mason", "Donna Summer", "William Henry Harrison", "Ali", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "\u0c06\u0c32\u0c40"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u0c06\u0c32\u0c40\" .  }", "answer": "Ali"}, {"question": "Unix is the subreddit of how many industries?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "unix"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <subreddit> ?pv . ?pv <pred:value> \"unix\" .  }", "answer": "1"}, {"question": "When was 78347 the population of the city in New Jersey that is the capital of Passaic County ?", "choices": ["2018-02-03", "1775-01-01", "2004-05-01", "1985", "1889-12-31", "1840-01-01", "2003-11-01", "2008-10-08", "2005-07-01", "1890"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Passaic County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "78347", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Passaic County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"78347\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1890"}, {"question": "Which anime TV series first broadcast on Fuji Television contains the most episodes?", "choices": ["The Three Musketeers", "RahXephon", "Yu-Gi-Oh! GX", "Mobile Suit Gundam SEED", "Digimon Adventure", "Mobile Suit Gundam 00", "Speed Racer", "Digimon Adventure 02", "Dragon Ball", "Yu-Gi-Oh! Duel Monsters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fuji Television"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"Fuji Television\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dragon Ball"}, {"question": "What is the ISO 3166-2 code of the city with NUTS code UKE11 (the start time of this statement is 1999-01-01)?", "choices": ["FR-33", "CS-VO", "US-KS", "GB-GLG", "GB-FIF", "IN-PB", "ES-CT", "GB-KHL", "IT-75", "US-MD"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKE11"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1999-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISO 3166-2 code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKE11\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1999-01-01\"^^xsd:date . ?e <ISO_3166-2_code> ?pv .  }", "answer": "GB-KHL"}, {"question": "Who has an occupation of screenwriter and an ISNI of 0000 0000 7823 879X?", "choices": ["Peter Berg", "Dolph Lundgren", "Akira Toriyama", "William Henry Harrison", "Bob Hoskins", "Max Fleischer", "John C. McGinley", "Don DeLillo", "Ron Howard", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 7823 879X"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"screenwriter\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7823 879X\" .  }", "answer": "John C. McGinley"}, {"question": "Which has more people, Bedford (the one whose area is 20.2 square kilometre) or Guildford (the one whose official website is http://www.guildford.gov.uk/)?", "choices": ["Aylesbury", "Guildford", "Warwick", "Maidstone", "Bedford", "Northampton", "Ipswich", "Reading", "Taunton", "Dorchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bedford"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "20.2 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Guildford"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "http://www.guildford.gov.uk/"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bedford\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"20.2\"^^xsd:double . } UNION { ?e <pred:name> \"Guildford\" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> \"http://www.guildford.gov.uk/\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bedford"}, {"question": "What is the number of episodes of Around the World in 80 Days, which is shot in Macau?", "choices": ["321", "124", "24", "29", "12", "3", "656", "249", "202", "4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macau"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Around the World in 80 Days\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Macau\" .  ?e <number_of_episodes> ?pv .  }", "answer": "3"}, {"question": "Avatar, scripted by Howard Gordon, is which episode number in the series The X-Files, with David Greenwalt as an executive producer?", "choices": ["31", "34", "5", "70", "27", "2", "6", "129", "20", "3"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Howard Gordon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Greenwalt"]}, {"function": "Relate", "dependencies": [4], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The X-Files"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["part of the series", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Avatar\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Howard Gordon\" . ?e_2 <pred:name> \"The X-Files\" . ?e_2 <executive_producer> ?e_4 . ?e_4 <pred:name> \"David Greenwalt\" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "70"}, {"question": "Is the official website of the public university that has the ISNI of 0000 0001 0942 6946 http://www.essex.ac.uk?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0942 6946"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.essex.ac.uk"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0942 6946\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.essex.ac.uk\" .  }", "answer": "yes"}, {"question": "What is the academic degree of Jerry Lewis, who works in the location of  Washington, D.C., and was educated at the University of California, Los Angeles?", "choices": ["Bachelor of General Studies", "Master of Laws", "Master of Education", "Bachelor of Laws", "Bachelor of Arts", "master's degree", "Master of Science", "Master of Fine Arts", "Bachelor of Science", "Master of Arts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Lewis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of California, Los Angeles"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "academic degree"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jerry Lewis\" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> \"Washington, D.C.\" . ?e_2 <pred:name> \"University of California, Los Angeles\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_degree> ?qpv .  }", "answer": "Bachelor of Arts"}, {"question": "What was the 2006 NCAA Men's Division I Basketball Tournament, a sports season of the NCAA Men's Division I Basketball Championship, followed by?", "choices": ["Evanescence", "America", "Sheena Easton", "El Bola", "American Pie 2", "2007 NCAA Men's Division I Basketball Tournament", "Paula Cole", "Third Crusade", "The Fast and the Furious: Tokyo Drift", "Lost, season 4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2006 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["NCAA Men's Division I Basketball Championship"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["sports season of league or competition", "followed by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"2006 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"NCAA Men's Division I Basketball Championship\" . ?e_1 <sports_season_of_league_or_competition> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <sports_season_of_league_or_competition> ; <pred:fact_t> ?e_2 ] <followed_by> ?qpv .  }", "answer": "2007 NCAA Men's Division I Basketball Tournament"}, {"question": "How was the population of the county of New York that shares border with Tompkins County determined as 79767 ?", "choices": ["2010 United States Census", "estimation process", "estimation", "United Kingdom Census 2001", "Yemen General Census of Population, Housing and Establishments 2004", "average", "rated voltage", "administrative division valid at the time point of history to which the data relates", "Population registration in Sweden", "United Kingdom Census 1971"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tompkins County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "79767", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Tompkins County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"79767\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What language is associated with this creative work at http://www.jaguars.com/, the official website for the American football team whose headquarter location is in Jacksonville?", "choices": ["Finnish", "English", "Cornish", "Bashkir", "Standard Chinese", "Welsh", "Put\u00e8r", "Old English", "Estonian", "Romanian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jacksonville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.jaguars.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Jacksonville\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.jaguars.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Where was the visual artwork that has an official website http://www.stardustmovie.com/ in English language published on 2007-10-18?", "choices": ["Europe", "Chile", "Australia", "Pakistan", "Mexico", "Hungary", "Taiwan", "Germany", "Hollywood Bowl", "Estonia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.stardustmovie.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2007-10-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.stardustmovie.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-10-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the publication territory of the feature film titled Robin Hood: Prince of Thieves whose release date is 1991-06-28?", "choices": ["Venezuela", "Cannes", "2003 Cannes Film Festival", "Sweden", "Netherlands", "Chile", "Tribeca Film Festival", "Slovenia", "Davao City", "Israel"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Robin Hood: Prince of Thieves"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1991-06-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Robin Hood: Prince of Thieves\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1991-06-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "When did Claire Bloom marry Philip Roth (the one who died in 2018-05-22)?", "choices": ["1937-07-07", "1999-03-28", "1652", "1999-05-17", "1959-01-03", "1966-10-17", "1936-03-25", "1955-04-04", "1990-01-01", "2009-12-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claire Bloom"]}, {"function": "Find", "dependencies": [], "inputs": ["Philip Roth"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of death", "2018-05-22", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Claire Bloom\" . ?e_2 <pred:name> \"Philip Roth\" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> \"2018-05-22\"^^xsd:date . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1990-01-01"}, {"question": "What is the association of The Wolfman to London (the birthplace of Peter Lamont)?", "choices": ["use", "publisher", "student of", "narrative location", "distribution", "author", "contributing factor of", "place of birth", "candidate", "convicted of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wolfman"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Lamont"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Wolfman\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Peter Lamont\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Which movie is shorter, The Mummy (the one whose release region is United Kingdom) or Julius Caesar (the one that has Robert Vaughn as a cast member)?", "choices": ["Talk to Her", "Training Day", "Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca", "The Towering Inferno", "The Mummy", "The Fifth Element", "Julius Caesar", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Mummy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robert Vaughn"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Julius Caesar"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Mummy\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .   } UNION { ?e <pred:name> \"Julius Caesar\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Robert Vaughn\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Julius Caesar"}, {"question": "Of which class is 1477-01-01, the inception of the higher education institution whose Instagram username is uppsalauniversity, a special example?", "choices": ["ISO 3166-2:DE", "official minority languages of Sweden", "statement with Gregorian date earlier than 1584", "municipal corporation", "fixed exchange rate", "Feminine ending", "country code", "New Hampshire Democratic Party", "archipelago", "Committee on the Judiciary"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "uppsalauniversity"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inception", "1477-01-01", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"uppsalauniversity\" . ?e <inception> ?pv . ?pv <pred:date> \"1477-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "Kobe Bryant was drafted by which basketball team?", "choices": ["Toronto Raptors", "Seattle Storm", "Los Angeles Lakers", "Houston Rockets", "Charlotte Hornets", "Miami Heat", "Cleveland Cavaliers", "Brooklyn Nets", "Villanova Wildcats men's basketball", "New Orleans Pelicans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kobe Bryant"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> \"Kobe Bryant\" .   }", "answer": "Charlotte Hornets"}, {"question": "Is Victoria that was shot in Berlin or The Insider shorter?", "choices": ["Pleasantville", "Curse of the Golden Flower", "The Insider", "A Prairie Home Companion", "Training Day", "The Towering Inferno", "Talk to Her", "The Fifth Element", "Rebecca", "Victoria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berlin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Victoria"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Insider"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Victoria\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Berlin\" .   } UNION { ?e <pred:name> \"The Insider\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Victoria"}, {"question": "Tell me the connection between Jaleco and Japan", "choices": ["studied by", "performer", "edition or translation of", "work location", "programming language", "cites", "sexual orientation", "religion", "practiced by", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jaleco"]}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jaleco\" . ?e_2 <pred:name> \"Japan\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When was Adam Horowitz (born 1966-10-31) a member of the rapcore group Beastie Boys?", "choices": ["1964-01-01", "1795-01-18", "1815-06-08", "1955", "2016-10-28", "2012-01-01", "-347", "1982-06-02", "1929-01-06", "1997-01-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rapcore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beastie Boys"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Adam Horowitz"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["date of birth", "1966-10-31", "="]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["has part", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Beastie Boys\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"rapcore\" . ?e_2 <pred:name> \"Adam Horowitz\" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> \"1966-10-31\"^^xsd:date . ?e_1 <has_part> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "When was the movie titled Cuba published?", "choices": ["1993-09-16", "1959-07-17", "1927-01-10", "1985-08-23", "1993-02-05", "1979-01-01", "2001-09-27", "1970-05-27", "2015-01-17", "2011-04-11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Cuba"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Cuba\" . ?e <publication_date> ?pv .  }", "answer": "1979-01-01"}, {"question": "How is Max Martin related to Sweden?", "choices": ["source of income", "convicted of", "public holiday", "has immediate cause", "movement", "operating area", "had as last meal", "country of citizenship", "head of government", "organizer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Max Martin"]}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Max Martin\" . ?e_2 <pred:name> \"Sweden\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the character role of Simon Pegg in  The Chronicles of Narnia: The Voyage of the Dawn Treader (the one whose production company is Metro-Goldwyn-Mayer)?", "choices": ["Ed", "Homer Van Meter", "Alice", "Vernita Yvonne Green", "Margaret White", "Jack Skellington", "The Dude", "Reepicheep", "Principal Skinner", "Joe Gould"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Chronicles of Narnia: The Voyage of the Dawn Treader"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Simon Pegg"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Chronicles of Narnia: The Voyage of the Dawn Treader\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Metro-Goldwyn-Mayer\" . ?e_2 <pred:name> \"Simon Pegg\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Reepicheep"}, {"question": "How many episodes does the show Dallas with Jim Beaver have?", "choices": ["7", "122", "271", "656", "221", "15762", "31", "357", "11136", "7876"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Beaver"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dallas\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jim Beaver\" .  ?e <number_of_episodes> ?pv .  }", "answer": "357"}, {"question": "How many United States cities are not Wheeling or share a border with Sunnyvale?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wheeling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Sunnyvale"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Wheeling\" .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Sunnyvale\" .  } }", "answer": "3"}, {"question": "When did the administrative territorial entity with the capital of Montpelier have a population of 59537?", "choices": ["2005-01-01", "1250-01-01", "2018-05-17", "2002-09-18", "2002-11-20", "1710-01-01", "1937-12-01", "2011-07-01", "1996-05-22", "1780"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montpelier"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "59537", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Montpelier\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"59537\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "What is the relationship between Hudson Hawk to Joel Silver?", "choices": ["producer", "part of the series", "nutrient", "programming paradigm", "copyright holder", "set in period", "drafted by", "separated from", "seed team", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hudson Hawk"]}, {"function": "Find", "dependencies": [], "inputs": ["Joel Silver"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hudson Hawk\" . ?e_2 <pred:name> \"Joel Silver\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Does the British Virgin Islands or Rotorua have the larger area?", "choices": ["Washoe County", "British Virgin Islands", "Kent County", "San Juan County", "Greene County", "Cass County", "Orange County", "African Union", "Rotorua", "Delaware County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Virgin Islands"]}, {"function": "Find", "dependencies": [], "inputs": ["Rotorua"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"British Virgin Islands\" .  } UNION { ?e <pred:name> \"Rotorua\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rotorua"}, {"question": "What is the smallest population in New York not founded in 1908?", "choices": ["Elmira", "Utica", "Long Beach", "Ithaca", "Troy", "Glen Cove", "Binghamton", "Yonkers", "Auburn", "White Plains"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1908", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1908 ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Glen Cove"}, {"question": "What US city is the birthplace of Vince Vaughn and have the official website of http://www.minneapolismn.gov/ as of 2017-05-18?", "choices": ["Franklin", "Compton", "Columbus", "Oakland", "Boulder", "Lansing", "Minneapolis", "Waukegan", "Greenville", "New Britain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vince Vaughn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.minneapolismn.gov/"]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["retrieved", "2017-05-18", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Vince Vaughn\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.minneapolismn.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv . ?qpv <pred:date> \"2017-05-18\"^^xsd:date .  }", "answer": "Minneapolis"}, {"question": "What does groove metal have to do with Rob Zombie?", "choices": ["work location", "published in", "collection", "participant of", "famous people", "season starts", "creator", "place of burial", "place of publication", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["groove metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Rob Zombie"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"groove metal\" . ?e_2 <pred:name> \"Rob Zombie\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the relationship between the 1999 NCAA Men's Division I Basketball Tournament and the United States of America?", "choices": ["tributary", "lyrics by", "designed by", "diaspora", "time period", "hair color", "country", "film editor", "field of this occupation", "next lower rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1999 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1999 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which city of the United States contains Middle Tennessee State University ?", "choices": ["Salem", "Murfreesboro", "Oxnard", "Franklin", "Indianapolis", "Scottsdale", "Birmingham", "Columbus", "New Haven", "Fort Collins"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Middle Tennessee State University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Middle Tennessee State University\" .   }", "answer": "Murfreesboro"}, {"question": "Of theatrical works with under 70 seasons, which has the fewest?", "choices": ["comedy of manners", "George III of Great Britain", "The Golden Girls", "Liam O'Brien", "stand-up comedy", "Southwest Airlines", "farce", "Henry King", "Mr. Smith Goes to Washington", "The Monkees"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "70", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"70\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "How many metropolitan boroughs in the ceremonial county of England have the official website http://www.wyjs.org.uk/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.wyjs.org.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["metropolitan borough"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"ceremonial county of England\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.wyjs.org.uk/\" .   }", "answer": "3"}, {"question": "How is Traffic whose genre is progressive rock related to Steve Winwood?", "choices": ["game mode", "architect", "military conflicts", "place of origin (Switzerland)", "has part", "material used", "religion", "director/manager", "doctoral advisor", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["progressive rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Traffic"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Steve Winwood"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Traffic\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"progressive rock\" . ?e_2 <pred:name> \"Steve Winwood\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "How is Mark Robson of Charlton Athletic F.C. related to West Ham United Football Club?", "choices": ["territory overlaps", "place of origin (Switzerland)", "designed by", "narrator", "member of sports team", "commander of", "territory claimed by", "member of political party", "parent club", "terminus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlton Athletic F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Robson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["West Ham United F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mark Robson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Charlton Athletic F.C.\" . ?e_2 <pred:name> \"West Ham United F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "How is industrial rock related to Gary Numan?", "choices": ["risk factor", "influenced by", "worshipped by", "spouse", "statistical leader", "rector", "film distribute region", "present in work", "famous people", "member of political party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["industrial rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary Numan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"industrial rock\" . ?e_2 <pred:name> \"Gary Numan\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Tell me the number of county of Pennsylvania that shares a border with the county of Pennsylvania and has the official website of http://www.co.butler.pa.us", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.butler.pa.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Pennsylvania"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Pennsylvania\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.butler.pa.us\" .   }", "answer": "5"}, {"question": "How is Porto (area 41.42 square kilometres) classified by the Dewey Decimal system?", "choices": ["320.54", "516", "2--492382", "2--434313", "2--46915", "2--436", "2--4322", "364", "2--4798", "2--77321"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Porto"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "41.42 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Porto\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"41.42\"^^xsd:double . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--46915"}, {"question": "How many conservatories count the number of students different from 530, or, reports the ISNI 0000 0001 2325 014X ?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "530", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["conservatory"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2325 014X"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["conservatory"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"conservatory\" .  { ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"530\"^^xsd:double ) .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2325 014X\" .  } }", "answer": "6"}, {"question": "When was the 2009 Sundance Film Festival held?", "choices": ["2012-05-01", "1773", "1955-03-30", "2017-02-09", "1780-01-01", "2018-09-30", "2009", "1996-01-16", "2015-08-12", "1926"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2009 Sundance Film Festival"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"2009 Sundance Film Festival\" . ?e <point_in_time> ?pv .  }", "answer": "2009"}, {"question": "Tell me the one that has a smaller area, Guelph or Quito", "choices": ["Chihuahua", "Kingston", "Guelph", "Kilkenny", "Cork", "Dundee", "Santo Domingo", "Abidjan", "Quito", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quito"]}, {"function": "Find", "dependencies": [], "inputs": ["Guelph"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quito\" .  } UNION { ?e <pred:name> \"Guelph\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Guelph"}, {"question": "Does Marci Klein or Bridget Fonda have more children?", "choices": ["Richard Gere", "Simon Cowell", "Paul Simon", "Marci Klein", "David Byrne", "William Henry Harrison", "James E. Reilly", "Max Fleischer", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marci Klein"]}, {"function": "Find", "dependencies": [], "inputs": ["Bridget Fonda"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marci Klein\" .  } UNION { ?e <pred:name> \"Bridget Fonda\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marci Klein"}, {"question": "Is the release date for Killers (whose official website is http://www.killersthemovie.com/), before 2012?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Killers"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.killersthemovie.com/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2012", "<"]}], "sparql": "ASK { ?e <pred:name> \"Killers\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.killersthemovie.com/\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }", "answer": "no"}, {"question": "Does Kansas (the one whose genre is drama film) or The Others have greater duration?", "choices": ["Pleasantville", "A Prairie Home Companion", "Training Day", "The Towering Inferno", "Rebecca", "The Fifth Element", "Curse of the Golden Flower", "Kansas", "The Hunchback of Notre Dame", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kansas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Others"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kansas\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"drama film\" .   } UNION { ?e <pred:name> \"The Others\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kansas"}, {"question": "Alan Bennett of Wycombe Wanderers F.C. has what link to Cork?", "choices": ["destination point", "highest judicial authority", "creator", "characters", "risk factor", "located on astronomical location", "chairperson", "parent astronomical body", "next higher rank", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wycombe Wanderers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Bennett"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cork"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alan Bennett\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Wycombe Wanderers F.C.\" . ?e_2 <pred:name> \"Cork\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What industry is located in Belgium?", "choices": ["R.S.C. Anderlecht", "Battle of Passchendaele", "Gallipoli Campaign", "Battle of the Sommee", "Belgium", "Battle of Britain", "Mac OS", "arms industry", "Antwerp", "Royal Antwerp F.C"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Belgium\" .   }", "answer": "Battle of Passchendaele"}, {"question": "What is the population of the US city that's the birthplace of musician Jeff Daniels ?", "choices": ["34324", "4870000", "8144", "115452", "4237518", "780612", "169572", "2616556", "231704", "830000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeff Daniels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jeff Daniels\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"musician\" .  ?e <population> ?pv .  }", "answer": "115452"}, {"question": "Did Seven Psychopaths or The Piano perform worse at the box office?", "choices": ["Talk to Her", "The Towering Inferno", "The Hunchback of Notre Dame", "Seven Psychopaths", "Curse of the Golden Flower", "Training Day", "Rebecca", "The Piano", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seven Psychopaths"]}, {"function": "Find", "dependencies": [], "inputs": ["The Piano"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seven Psychopaths\" .  } UNION { ?e <pred:name> \"The Piano\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seven Psychopaths"}, {"question": "Does Exeter whose area is 27.3 square kilometers or Allahabad have the larger population?", "choices": ["Kingston", "Dundee", "Bergen", "Kilkenny", "Trieste", "Abidjan", "Exeter", "Allahabad", "Santo Domingo", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Exeter"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "27.3 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Allahabad"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Exeter\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"27.3\"^^xsd:double . } UNION { ?e <pred:name> \"Allahabad\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allahabad"}, {"question": "How was it determined that 1,897,753 is the population of Texan county that contains San Antonio (the one that is the capital of Bexar County) ?", "choices": ["United Kingdom Census 1971", "extrapolation", "Yemen General Census of Population, Housing and Establishments 2004", "de jure", "demographic balance", "Address Based Population Registration System", "hearth tax", "average", "United Kingdom Census 2001", "de facto"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bexar County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["San Antonio"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "1897753", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"San Antonio\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"Bexar County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1897753\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "In 2002, was the population of North Macedonia not 380,000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Macedonia"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2002"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["380000", "!="]}], "sparql": "ASK { ?e <pred:name> \"North Macedonia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"380000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2002 .  }", "answer": "yes"}, {"question": "For the film whose official website is http://www.wildbunch-distribution.com/site/kaboom/, where is it published on its 2011-06-16 publication date?", "choices": ["Park City", "Ireland", "58th Berlin International Film Festival", "Austria", "New Amsterdam Theatre", "London", "Peru", "2004 Cannes Film Festival", "Bolivia", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.wildbunch-distribution.com/site/kaboom/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-06-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.wildbunch-distribution.com/site/kaboom/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-06-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is Nurse Jackie's start date before the year 2012?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nurse Jackie"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2012", "<"]}], "sparql": "ASK { ?e <pred:name> \"Nurse Jackie\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }", "answer": "yes"}, {"question": "What is the official website of the animated film titled \u5343\u3068\u5343\u5c0b\u306e\u795e\u96a0\u3057 (the transliteration of this statement is Sen to Chihiro no kamikakushi)?", "choices": ["http://www.frankwelker.net/", "https://www.mtfc.co.uk/", "http://www.thewrestlermovie.com", "http://www.shakira.com/", "http://www.fcmetalurg.com/", "http://web.archive.org/web/20021205220352id_/http://bventertainment.go.com/movies/spiritedaway/index2.html", "http://www.moonrisekingdom.com", "http://www.uc.edu/", "http://www.springfieldma.gov/", "http://www.jesus.ox.ac.uk/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u5343\u3068\u5343\u5c0b\u306e\u795e\u96a0\u3057"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["transliteration", "Sen to Chihiro no kamikakushi"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["animated film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u5343\u3068\u5343\u5c0b\u306e\u795e\u96a0\u3057\" . [ <pred:fact_h> ?e ; <pred:fact_r> <title> ; <pred:fact_t> ?pv_1 ] <transliteration> ?qpv . ?qpv <pred:value> \"Sen to Chihiro no kamikakushi\" . ?e <official_website> ?pv .  }", "answer": "http://web.archive.org/web/20021205220352id_/http://bventertainment.go.com/movies/spiritedaway/index2.html"}, {"question": "What role does Tom Hanks play in the Da Vinci Code (also featuring cast member Ian McKellan)?", "choices": ["Will Tippin", "Lando Calrissian", "Mr. Sykes", "Robert Langdon", "Gilderoy Lockhart", "Skinner", "Edward I of England", "Alice", "Uncle Ben", "William Riker"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian McKellen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Da Vinci Code"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Da Vinci Code\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Ian McKellen\" . ?e_2 <pred:name> \"Tom Hanks\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Robert Langdon"}, {"question": "When did Billie Whitelaw win a BAFTA Award for Best Actress in a Supporting Role?", "choices": ["1730", "2003-12-06", "1969", "2016-08-01", "2013-10-01", "2010-04-01", "2014-04-30", "2018-01-12", "1810-01-01", "1982-03-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actress in a Supporting Role"]}, {"function": "Find", "dependencies": [], "inputs": ["Billie Whitelaw"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Actress in a Supporting Role\" . ?e_2 <pred:name> \"Billie Whitelaw\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1969"}, {"question": "What is Jermaine Easter's connection to Hartlepool United F.C.?", "choices": ["doctoral advisor", "operator", "military conflicts", "award disciplines or subjects", "country of origin", "feast day", "opposite of", "practiced by", "member of sports team", "business division"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jermaine Easter"]}, {"function": "Find", "dependencies": [], "inputs": ["Hartlepool United F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jermaine Easter\" . ?e_2 <pred:name> \"Hartlepool United F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the connection between Steve Guttenberg to Brooklyn (the one that is the birthplace of Angelo Badalamenti)?", "choices": ["located on astronomical location", "model item", "subject has role", "ethnic group", "located in the administrative territorial entity", "doctoral student", "place of birth", "appears in the form of", "properties for this type", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Guttenberg"]}, {"function": "Find", "dependencies": [], "inputs": ["Angelo Badalamenti"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve Guttenberg\" . ?e_2 <pred:name> \"Brooklyn\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Angelo Badalamenti\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How is Brad Bird connected to the 77th Academy Awards?", "choices": ["award disciplines or subjects", "based on", "political alignment", "eye color", "geography of topic", "hair color", "designed by", "award received", "is a list of", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brad Bird"]}, {"function": "Find", "dependencies": [], "inputs": ["77th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brad Bird\" . ?e_2 <pred:name> \"77th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Does OS grid reference SW475306 match to the town with WOEID number 31889 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "31889"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["OS grid reference"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["SW475306"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"31889\" . ?e <OS_grid_reference> ?pv . ?pv <pred:value> \"SW475306\" .  }", "answer": "yes"}, {"question": "What is the connection between Jack Benny to Peabody Award?", "choices": ["nutrient", "award received", "director of photography", "geographic distribution", "famous people", "located in time zone", "heritage designation", "newspaper format", "presenter", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Benny"]}, {"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Benny\" . ?e_2 <pred:name> \"Peabody Award\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the relationship between Norwich City F.C. and Norwich (the one that is the birthplace of Stuart Craig)?", "choices": ["mountain range", "dissertation submitted to", "sibling", "instrument", "contributor(s) to the creative work", "operating system", "headquarters location", "editor", "said to be the same as", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norwich City F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Stuart Craig"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norwich"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Norwich City F.C.\" . ?e_2 <pred:name> \"Norwich\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Stuart Craig\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "How much area is occupied by the US city with US zip code 82604?", "choices": ["9694 square kilometre", "230.182739 square kilometre", "40 square kilometre", "8525989 square kilometre", "69.418361 square kilometre", "3000 square kilometre", "4.92 square kilometre", "2448 square kilometre", "20.500126 square kilometre", "169.010024 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "82604"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["country", "United States of America"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"82604\" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv_1 ] <country> ?qpv . ?qpv <pred:value> \"United States of America\" . ?e <area> ?pv .  }", "answer": "69.418361 square kilometre"}, {"question": "Which has the most area among the Washington counties whose population is less than 83000000?", "choices": ["Pierce County", "Grant County", "Whatcom County", "Jefferson County", "Skagit County", "Spokane County", "King County", "Clark County", "San Juan County", "Okanogan County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "83000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"83000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Okanogan County"}, {"question": "What are the maritime identification numbers of  the sovereign state abbreviated PW?", "choices": ["634", "339", "219", "263", "310", "362", "676", "511", "245", "735"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "PW"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["maritime identification digits"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"PW\" . ?e <maritime_identification_digits> ?pv .  }", "answer": "511"}, {"question": "Which Graham King work earned an Academy Award for Best Picture?", "choices": ["Guatemala\u2013Russia relations", "Hungary\u2013Sri Lanka relations", "Greece\u2013Lebanon relations", "Malaysia\u2013Vietnam relations", "China\u2013Mozambique relations", "79th Academy Awards", "Indonesia\u2013Malaysia relations", "Federated States of Micronesia and the United Nations", "Bangladesh\u2013Trinidad and Tobago relations", "Saudi Arabia\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Graham King"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Graham King\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "79th Academy Awards"}, {"question": "What is the connection between Cabaret (the one whose producer is Adolph Zukor) to Adolph Zukor?", "choices": ["characters", "start point", "producer", "child", "part of", "original film format", "part of the series", "maintained by", "seed team", "culture"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adolph Zukor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cabaret"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Adolph Zukor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cabaret\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"Adolph Zukor\" . ?e_2 <pred:name> \"Adolph Zukor\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Was the single with ISWC code T-910.191.187-9 released prior to 2017 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISWC", "T-910.191.187-9"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2017", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <ISWC> ?pv_1 . ?pv_1 <pred:value> \"T-910.191.187-9\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2017 ) .  }", "answer": "yes"}, {"question": "what is the number of belief systems that were founded by Dawn French and that have the IPTC Newscode of mediatopic/20000667", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dawn French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPTC Newscode", "mediatopic/20000667"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["belief system"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <founded_by> ?e_1 . ?e_1 <pred:name> \"Dawn French\" .  ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000667\" .  }", "answer": "0"}, {"question": "How is Ontario that borders Ohio related to Toronto?", "choices": ["medical treatment", "location of final assembly", "this taxon is source of", "military conflicts", "located on terrain feature", "operating area", "affiliation", "has effect", "capital", "ancestral home"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ontario"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ontario\" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"Ohio\" . ?e_2 <pred:name> \"Toronto\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "Which has more pages, Starship Troopers that uses English or The Help whose genre is novel?", "choices": ["The Help", "Along Came a Spider", "A Single Man", "Contact", "Starship Troopers", "listed building in the United Kingdom", "The Painted Veil", "Interview with the Vampire", "The Hours", "The Maltese Falcon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Starship Troopers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["novel"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Help"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of pages", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Starship Troopers\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .   } UNION { ?e <pred:name> \"The Help\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"novel\" .  } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Starship Troopers"}, {"question": "Which language is associated with http://www.bayonnenj.org/, the official website of the New Jersey city visual artwork that is the birthplace of George R. R. Martin (in the country of the United States of America)?", "choices": ["Korean", "Toki Pona", "Norwegian", "American English", "Standard Chinese", "Ukrainian", "Belarusian", "Icelandic", "Irish", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George R. R. Martin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["country", "United States of America"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city in New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.bayonnenj.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"George R. R. Martin\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e ] <country> ?qpv_1 . ?qpv_1 <pred:value> \"United States of America\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bayonnenj.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Regarding a sovereign state which is the country Paris (with the population of 2,125,246 on 2nd December 1804), when was it dissolved ?", "choices": ["2017-11-06", "2010", "1946-02-01", "1945", "2004-10-01", "2010-01-01", "2000-03-25", "1804-01-01", "-167", "2014-06-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2125246", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "forward"]}, {"function": "QFilterDate", "dependencies": [2], "inputs": ["end time", "1804-12-02", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sovereign state"]}, {"function": "QueryAttr", "dependencies": [4], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Paris\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2125246\"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> \"1804-12-02\"^^xsd:date . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1804-01-01"}, {"question": "What is the relationship between John Bailey (the one that hold the position chairperson) and Santa Clara University?", "choices": ["educated at", "kit supplier", "territory overlaps", "seed team", "license", "architectural style", "vehicle normally used", "use", "creator", "airline hub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["chairperson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Bailey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Santa Clara University"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Bailey\" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> \"chairperson\" . ?e_2 <pred:name> \"Santa Clara University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Is 318 the local dialing code of the capital whose official name is Lausanne?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Lausanne"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["318"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Lausanne\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"318\" .  }", "answer": "no"}, {"question": "At what point did the Los Angeles Dodgers shed their official name of Brooklyn Grooms?", "choices": ["1895", "1936-04-19", "1948-05-13", "1918-10-31", "1945-04-18", "2011-11-27", "1999-05-26", "1942", "1973-02-08", "1999-05-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Dodgers"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official name", "Brooklyn Grooms", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Los Angeles Dodgers\" . ?e <official_name> ?pv . ?pv <pred:value> \"Brooklyn Grooms\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1895"}, {"question": "Where was Curse of the Golden Flower, its publication date is 2007-04-26, published?", "choices": ["Israel", "Hungary", "Thailand", "Bulgaria", "Los Angeles", "Australia", "Pakistan", "Tokyo", "Germany", "Sundance Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Curse of the Golden Flower"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2007-04-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Curse of the Golden Flower\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-04-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which town's native label is Doncaster and is the birthplace of Jack White (the one that died in Royal Tunbridge Wells) ?", "choices": ["Edmonton", "Colchester", "Macclesfield", "Wigan", "Royal Tunbridge Wells", "Basingstoke", "Doncaster", "Wimbledon", "Blackburn", "South Shields"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Doncaster"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Tunbridge Wells"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack White"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["town"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <native_label> ?pv . ?pv <pred:value> \"Doncaster\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jack White\" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> \"Royal Tunbridge Wells\" .  }", "answer": "Doncaster"}, {"question": "What language is associated with the official website http://www.cashmoney-records.com of the record label whose ISNI is 0000 0001 2157 3586?", "choices": ["Dutch", "Slavic languages", "French", "Lithuanian", "Nynorsk", "Czech", "Canadian English", "Yaqui", "Belgian French", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2157 3586"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cashmoney-records.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2157 3586\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cashmoney-records.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What number of not-for-profit private colleges are associated with Dartmouth College or have 120 Madison Ave, New York, NY, 10016 as a street address?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "120 Madison Ave, New York, NY, 10016"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private not-for-profit educational institution"]}, {"function": "Find", "dependencies": [], "inputs": ["Dartmouth College"]}, {"function": "Relate", "dependencies": [3], "inputs": ["affiliation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private not-for-profit educational institution"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private not-for-profit educational institution\" .  { ?e <located_at_street_address> ?pv . ?pv <pred:value> \"120 Madison Ave, New York, NY, 10016\" .  } UNION { ?e <affiliation> ?e_1 . ?e_1 <pred:name> \"Dartmouth College\" .  } }", "answer": "1"}, {"question": "Among the first-level administrative country subdivision located in time zone Central European Time, which one has the smallest area ?", "choices": ["Federation of Bosnia and Herzegovina", "Upper Austria", "Salzburg", "Lublin Voivodeship", "Greater Poland Voivodeship", "England", "Punjab", "Podlaskie Voivodeship", "New South Wales", "Minas Gerais"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Central European Time"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Central European Time\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salzburg"}, {"question": "Tell me the city that is the headquarter location of official name Eintracht Frankfurt Fu_ball AG which is an association football club.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crown of Arag\u00f3n"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> \"Crown of Arag\u00f3n\" .   }", "answer": "1"}, {"question": "Caravaggio (KulturNav-id 7e65015e-e76e-49e1-bd22-7d298020f8cd) is related in what way to the Catholic Church?", "choices": ["educated at", "natural product of taxon", "religion", "lowest point", "territory claimed by", "superhuman feature or ability", "employer", "does not have part", "depicted by", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caravaggio"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["KulturNav-id", "7e65015e-e76e-49e1-bd22-7d298020f8cd"]}, {"function": "Find", "dependencies": [], "inputs": ["Catholic Church"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Caravaggio\" . ?e_1 <KulturNav-id> ?pv . ?pv <pred:value> \"7e65015e-e76e-49e1-bd22-7d298020f8cd\" . ?e_2 <pred:name> \"Catholic Church\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "Is the person with the native language name Lalo Schifrin associated with the official website http://www.royalacademy.org.uk ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Lalo Schifrin"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.royalacademy.org.uk"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Lalo Schifrin\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.royalacademy.org.uk\" .  }", "answer": "no"}, {"question": "Was the producer of Just Go With It not born in 1933?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Just Go with It"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1933", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Just Go with It\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1933 ) .  }", "answer": "yes"}, {"question": "Regarding the movie with the official website http://www.foxsearchlight.com/theclearing/, is the duration over 720 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.foxsearchlight.com/theclearing/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["720 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.foxsearchlight.com/theclearing/\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"720\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Is Panama City or Cannes higher relative to sea level?", "choices": ["Kingston", "Trieste", "Dundee", "Chihuahua", "Cork", "Santo Domingo", "Kilkenny", "Panama City", "Cannes", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Panama City"]}, {"function": "Find", "dependencies": [], "inputs": ["Cannes"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Panama City\" .  } UNION { ?e <pred:name> \"Cannes\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Panama City"}, {"question": "What is the connection between St Andrews to Fife?", "choices": ["operating system", "sponsor", "parent organization", "archives at", "general manager", "professorship", "significant person", "architect", "located in the administrative territorial entity", "contains administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Andrews"]}, {"function": "Find", "dependencies": [], "inputs": ["Fife"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St Andrews\" . ?e_2 <pred:name> \"Fife\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What person is a member of the Northampton Town F.C. until the ending date 1993-01-01?", "choices": ["William Henry Harrison", "Michael Jackson", "Richard Gere", "Max Fleischer", "Adam Smith", "John Byrne", "Kevin Smith", "Sylvester Stallone", "Michael Bell", "Matthew Fox"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northampton Town F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1993-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Northampton Town F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"1993-01-01\"^^xsd:date .  }", "answer": "Matthew Fox"}, {"question": "Which movie is longer, La Dolce Vita or Shortbus?", "choices": ["Shortbus", "Talk to Her", "Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "A Prairie Home Companion", "Training Day", "Pleasantville", "Curse of the Golden Flower", "La Dolce Vita"], "program": [{"function": "Find", "dependencies": [], "inputs": ["La Dolce Vita"]}, {"function": "Find", "dependencies": [], "inputs": ["Shortbus"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"La Dolce Vita\" .  } UNION { ?e <pred:name> \"Shortbus\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "La Dolce Vita"}, {"question": "Which animated feature film, among those published after 2007, has the shortest length?", "choices": ["Winnie the Pooh", "Puss in Boots", "Tangled", "Madagascar 3: Europe's Most Wanted", "Astro Boy", "The Illusionist", "Ice Age: Continental Drift", "The Princess and the Frog", "Waltz with Bashir", "Kung Fu Panda 2"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2007", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2007 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Winnie the Pooh"}, {"question": "I want to know the edition number for the award ceremony that follows 15th Screen Actors Guild Awards", "choices": ["5", "3", "71", "9", "16", "75", "11", "25", "69", "78"], "program": [{"function": "Find", "dependencies": [], "inputs": ["15th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["edition number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"15th Screen Actors Guild Awards\" .  ?e <edition_number> ?pv .  }", "answer": "16"}, {"question": "What is the ARCHON code for the university located in Southampton?", "choices": ["1327", "1617", "1300", "461", "738", "1968", "1254", "1294", "310", "730"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Southampton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ARCHON code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Southampton\" .  ?e <ARCHON_code> ?pv .  }", "answer": "738"}, {"question": "Which Jane Campion work earned an Academy Award Best Director nomination?", "choices": ["Leningrad", "Argentina\u2013Pakistan relations", "Germany\u2013Andorra relations", "Georgia\u2013Saudi Arabia relations", "Myanmar\u2013Taiwan relations", "66th Academy Awards", "Austria\u2013Italy relations", "Belize\u2013Guatemala border", "Nevada\u2013Oregon border", "Germany-Mozambic relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jane Campion"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jane Campion\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "66th Academy Awards"}, {"question": "What is the ISIN of the video game developer who published TMNT (the one whose publisher is Ubisoft)?", "choices": ["US5801351017", "FR0000079600", "US1912161007", "US8825081040", "US2786421030", "AU000000QAN2", "KR7005930003", "FR0000127771", "FR0000054470", "JP3300200007"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ubisoft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["TMNT"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["publisher", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISIN"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e_1 <publisher> ?e . ?e_1 <pred:name> \"TMNT\" . ?e_1 <publisher> ?e_2 . ?e_2 <pred:name> \"Ubisoft\" .  ?e <ISIN> ?pv .  }", "answer": "FR0000054470"}, {"question": "What is the character role of Alec Baldwin as a cast member in The Cat in the Hat (that was nominated for a Golden Raspberry Award for Worst Picture)?", "choices": ["Carl Grissom", "C. J. Cregg", "Tweedledee", "Meyer Wolfshiem", "Agent J", "Grover", "John Chambers", "Larry Quinn", "Jor-El", "Tuya"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cat in the Hat"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alec Baldwin"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Cat in the Hat\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Picture\" . ?e_2 <pred:name> \"Alec Baldwin\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Larry Quinn"}, {"question": "Which visual artwork includes in its cast Eugene Levy and was an Independent Spirit Award for Best Director nominee?", "choices": ["A Prairie Home Companion", "127 Hours", "For Your Consideration", "American Pie", "Transamerica", "Drugstore Cowboy", "I'm Not There", "Heavy Metal", "American Pie 2", "Best in Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eugene Levy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Director"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Eugene Levy\" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Independent Spirit Award for Best Director\" .  }", "answer": "Best in Show"}, {"question": "When did the neighborhood whose native label is Encino have a population of 41905?", "choices": ["2007-09-01", "1998-05-20", "2006-04-01", "2002-09-18", "2016-02-13", "1832-12-01", "1920", "2015-06-04", "1960-12-31", "2000"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Encino"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "41905", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Encino\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"41905\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "Which person has the ISNI of 0000 0000 8163 4937?", "choices": ["Chris Lebenzon", "Rahul Dev Burman", "David Byrne", "William Henry Harrison", "Max Fleischer", "Ted Kennedy", "Richard Gere", "Mark Robson", "Michael Schur", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8163 4937"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8163 4937\" .  }", "answer": "Mark Robson"}, {"question": "What is the ISNI of the person whose genre is Chicago blues?", "choices": ["0000 0000 7249 3562", "0000 0000 9046 8598", "0000 0000 5222 1834", "0000 0003 6860 8189", "0000 0003 8429 8379", "0000 0001 2280 979X", "0000 0001 1030 3492", "0000 0001 2133 9888", "0000 0000 9028 9485", "0000 0001 1667 4737"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago blues"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"Chicago blues\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 7249 3562"}, {"question": "Regarding Jimmy Van heusen who has a pseudonym Jimmy Van Heusen, tell me this statement's subject", "choices": ["Goods and Services Tax", "India\u2013Indonesia border", "27th Academy Awards", "Italy\u2013Spain relations", "13th Academy Awards", "China\u2013Cuba relations", "Argentina\u2013United States relations", "stage name", "Malta\u2013Spain relations", "77th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jimmy Van Heusen"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["pseudonym", "Jimmy Van Heusen", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jimmy Van Heusen\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"Jimmy Van Heusen\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv ] <statement_is_subject_of> ?qpv .  }", "answer": "stage name"}, {"question": "Was Frank Marshall (the one whose ISNI is 0000 0000 3012 489X) not born in 1922?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Marshall"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3012 489X"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1922", "!="]}], "sparql": "ASK { ?e <pred:name> \"Frank Marshall\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 3012 489X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1922 ) .  }", "answer": "yes"}, {"question": "Which has fewer employees, HTC Corporation or AOL?", "choices": ["Entertainment One", "Sega", "HTC Corporation", "AOL", "Silver Pictures", "Adobe Inc.", "McDonald's", "Skidmore Owings Merrill", "KLM", "Pfizer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["HTC Corporation"]}, {"function": "Find", "dependencies": [], "inputs": ["AOL"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"HTC Corporation\" .  } UNION { ?e <pred:name> \"AOL\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "AOL"}, {"question": "Is the title of Crimes and Misdemeanors the same as Styx?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crimes and Misdemeanors"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Styx"]}], "sparql": "ASK { ?e <pred:name> \"Crimes and Misdemeanors\" . ?e <title> ?pv . ?pv <pred:value> \"Styx\" .  }", "answer": "no"}, {"question": "Is the dissolution date of the association football club that has Cesar Romero (who was born in San Diego) as a member (beginning in is 2012) after 1976?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Diego"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cesar Romero"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["start time", "2012", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [7], "inputs": ["1976", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Cesar Romero\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"San Diego\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 2012 . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1976 ) .  }", "answer": "yes"}, {"question": "Which movie is longer, Julius Caesar (the one that has Robert Vaughn as a cast member) or Africa (the one whose genre is drama film)?", "choices": ["Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Towering Inferno", "Africa", "Pleasantville", "Julius Caesar", "A Prairie Home Companion", "The Fifth Element", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Vaughn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Julius Caesar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Africa"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Julius Caesar\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Robert Vaughn\" .   } UNION { ?e <pred:name> \"Africa\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"drama film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Julius Caesar"}, {"question": "How is Cinema Paradiso related to the BAFTA Award for Best Actor in a Leading Role?", "choices": ["tributary", "location of final assembly", "patron saint", "nominated for", "filmography", "instrument", "place of death", "language of work or name", "industry", "original language of film or TV show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cinema Paradiso"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Leading Role"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cinema Paradiso\" . ?e_2 <pred:name> \"BAFTA Award for Best Actor in a Leading Role\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When did Johannesburg become the twinned administrative body of New York City?", "choices": ["1974-07-30", "1947-01-01", "2017-05-24", "2005-07-12", "1938-03-12", "1999-09-14", "1987-07-02", "2003-01-01", "1981-11-26", "2007-09-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johannesburg"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Johannesburg\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2003-01-01"}, {"question": "Does the individual who is the chairperson of the Liberal Party of Canada (the start time of this statement is 1968-04-06), have a birth name equal to Joseph Philippe Pierre Yves Elliott Trudeau?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liberal Party of Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["chairperson", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1968-04-06", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Joseph Philippe Pierre Yves Elliott Trudeau"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <chairperson> ?e . ?e_1 <pred:name> \"Liberal Party of Canada\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <chairperson> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> \"1968-04-06\"^^xsd:date . ?e <birth_name> ?pv . ?pv <pred:value> \"Joseph Philippe Pierre Yves Elliott Trudeau\" .  }", "answer": "yes"}, {"question": "Regarding Chester\u2014which is the HQ site of Philadelphia Union\u2014what's the language pertaining to its http://www.chestercity.com website?", "choices": ["Occitan", "Tahitian", "English", "Putonghua", "Chinese", "Belarusian", "Malagasy", "Yaqui", "Standard Chinese", "Punjab"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Union"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.chestercity.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Chester\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Philadelphia Union\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.chestercity.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many American-football positions have the short name QB or are related to the sport of American football?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "QB"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football position"]}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [3], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["American football position"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football position\" .  { ?e <short_name> ?pv . ?pv <pred:value> \"QB\" .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> \"American football\" .  } }", "answer": "15"}, {"question": "Does Georgetown or Belfast has lesser elevation (above sea level) ?", "choices": ["Trieste", "Chihuahua", "Kilkenny", "Bergen", "Santo Domingo", "Cork", "Belfast", "Kingston", "Georgetown", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgetown"]}, {"function": "Find", "dependencies": [], "inputs": ["Belfast"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Georgetown\" .  } UNION { ?e <pred:name> \"Belfast\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Georgetown"}, {"question": "Saint Petersburg where Leonhard Euler died is in which country?", "choices": ["Nepal", "Albania", "Lithuania", "Weimar Republic", "Russian Empire", "Chile", "Kingdom of Saxony", "Germany", "United States of America", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leonhard Euler"]}, {"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of death", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Leonhard Euler\" . ?e_2 <pred:name> \"Saint Petersburg\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "Russian Empire"}, {"question": "How many sports seasons came after 1908 ?", "choices": ["52", "53", "54", "55", "56", "57", "58", "59", "60", "61"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "1908", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1908 ) .  }", "answer": "58"}, {"question": "What is the street address of the University of Richmond's HQ in Richmond (population 220289)?", "choices": ["College Ave, Lancaster, PA, 17604-3003", "Cowley Place", "124 Raymond Ave, Poughkeepsie, NY, 12604", "Strand", "28 Westhampton Way", "121 Blake Road, Annapolis, MD, 21402-5000", "Ramat Aviv", "Markt", "4400 Vestal Parkway East", "Walton Street"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Richmond"]}, {"function": "Find", "dependencies": [], "inputs": ["Richmond"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "220289", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Richmond\" . ?e_2 <pred:name> \"Richmond\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"220289\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "28 Westhampton Way"}, {"question": "When did the Michigan county which has the captital Port Huron have a population of 161508?", "choices": ["2016-12-31", "1887-01-01", "1139", "1571", "2003-10-01", "1985-03-05", "1363", "2016-10-01", "1959", "2011-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Port Huron"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "161508", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Port Huron\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"161508\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Regarding the river that has a length of exactly 492 kilometres does it have a watershed area of over 34000 square kilometres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["length", "492 kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["watershed area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["34000 square kilometre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <length> ?pv_1 . ?pv_1 <pred:unit> \"kilometre\" . ?pv_1 <pred:value> \"492\"^^xsd:double . ?e <watershed_area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"34000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Tell me the language associated with the creative work Carolina Hurricanes, which has an official website http://hurricanes.nhl.com/", "choices": ["Serbian", "Croatian", "Thai", "Wolof", "English", "Irish", "Armenian", "Romanian", "J\u00e8rriais", "Punjabi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carolina Hurricanes"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://hurricanes.nhl.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Carolina Hurricanes\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://hurricanes.nhl.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does the person whose ISNI is 0000 0001 1547 3722 have a Twitter account named janemarielynch?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1547 3722"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["janemarielynch"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1547 3722\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"janemarielynch\" .  }", "answer": "yes"}, {"question": "Is Gran Torino or Bleach: Memories of Nobody longer?", "choices": ["Gran Torino", "The Hunchback of Notre Dame", "Rebecca", "Training Day", "Curse of the Golden Flower", "Pleasantville", "Bleach: Memories of Nobody", "A Prairie Home Companion", "The Fifth Element", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gran Torino"]}, {"function": "Find", "dependencies": [], "inputs": ["Bleach: Memories of Nobody"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gran Torino\" .  } UNION { ?e <pred:name> \"Bleach: Memories of Nobody\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gran Torino"}, {"question": "Between Never Let Me Go, released on 2011-04-14, or She Hate Me, which is shorter?", "choices": ["Pleasantville", "Training Day", "A Prairie Home Companion", "Never Let Me Go", "Curse of the Golden Flower", "The Fifth Element", "Rebecca", "Talk to Her", "The Hunchback of Notre Dame", "She Hate Me"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Never Let Me Go"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2011-04-14", "="]}, {"function": "Find", "dependencies": [], "inputs": ["She Hate Me"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Never Let Me Go\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2011-04-14\"^^xsd:date . } UNION { ?e <pred:name> \"She Hate Me\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Never Let Me Go"}, {"question": "How many arts festivals are the regional debut venue?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Short Cuts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film regional debut venue", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["arts festival"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"arts festival\" . ?e_1 <film_regional_debut_venue> ?e . ?e_1 <pred:name> \"Short Cuts\" .   }", "answer": "1"}, {"question": "How is Lloyd Alexander linked to the Newbery Medal?", "choices": ["original film format", "territory claimed by", "award received", "designed by", "movement", "collection", "board member", "has dialect (DEPRECATED)", "cause of death", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lloyd Alexander"]}, {"function": "Find", "dependencies": [], "inputs": ["Newbery Medal"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lloyd Alexander\" . ?e_2 <pred:name> \"Newbery Medal\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "When was the film production company with ISNI 0000 0004 1047 9350 founded?", "choices": ["1790", "1836", "2005", "1994-07-18", "1861-02-28", "1979-05-30", "1877-03-22", "1974-04-01", "1819-01-01", "1994-10-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 1047 9350"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 1047 9350\" . ?e <inception> ?pv .  }", "answer": "1994-10-12"}, {"question": "When did Out of Africa (which received an Academy Award for Best Picture) receive an Academy Award for Best Picture?", "choices": ["1911", "1986-01-23", "2015-06-04", "2002-08-14", "1919-01-01", "1959-01-01", "2009-10-14", "2017-05-04", "1200", "1986-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Out of Africa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Out of Africa\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Picture\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1986-01-01"}, {"question": "Which area is smaller, Rapid City or Pontiac?", "choices": ["Boulder", "Lansing", "Compton", "Columbus", "Waukegan", "Pontiac", "Oakland", "Franklin", "New Haven", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rapid City"]}, {"function": "Find", "dependencies": [], "inputs": ["Pontiac"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rapid City\" .  } UNION { ?e <pred:name> \"Pontiac\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pontiac"}, {"question": "What language is associated with the official website http://www.tnstate.edu for the colleges and universities in the United States that are located in Nashville (that is the work location of Dolly Parton)?", "choices": ["Occitan", "J\u00e8rriais", "Atikamekw", "National language of Republic of China", "Navajo", "Romanian", "Brazilian Portuguese", "English", "Bavarian", "Icelandic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dolly Parton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nashville"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["colleges and universities in the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.tnstate.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Nashville\" . ?e_2 <work_location> ?e_1 . ?e_2 <pred:name> \"Dolly Parton\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tnstate.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is the hammered dulcimer related to Steven Wilson?", "choices": ["currency", "distribution", "had as last meal", "manner of death", "famous people", "found", "designed to carry", "noble title", "drafted by", "has part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hammered dulcimer"]}, {"function": "Find", "dependencies": [], "inputs": ["Steven Wilson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"hammered dulcimer\" . ?e_2 <pred:name> \"Steven Wilson\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the connection between Leonard Cohen to pianist?", "choices": ["business division", "occupation", "connects with", "writing system", "replaced by", "nutrient", "given name", "mouth of the watercourse", "family name", "lowest point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leonard Cohen"]}, {"function": "Find", "dependencies": [], "inputs": ["pianist"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Leonard Cohen\" . ?e_2 <pred:name> \"pianist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which movie made more at the box office, Batman Forever (the one that has Pat Hingle as a cast member) or Tootsie?", "choices": ["Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "Batman Forever", "Pleasantville", "Rebecca", "Training Day", "Tootsie", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pat Hingle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman Forever"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tootsie"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Batman Forever\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Pat Hingle\" .   } UNION { ?e <pred:name> \"Tootsie\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Batman Forever"}, {"question": "What is the start date that John Abraham (who lives in the United States of America) is a resident of the United States of America?", "choices": ["1972", "1997-09-16", "1790-07-16", "1987-11-01", "1995-11-29", "1971-09-21", "1929-06-03", "2007-03-02", "1989-05-01", "1982-09-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Abraham"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["residence", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Abraham\" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1972"}, {"question": "When did Terminator 2: Judgment Day published on 1991-07-03 receive an Academy Award for Best Visual Effects?", "choices": ["2007-02-11", "2016-06-02", "2006-08-16", "2018-05-17", "1917", "1992-03-30", "950", "2011-09-18", "1946-12-01", "2015-08-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terminator 2: Judgment Day"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1991-07-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Terminator 2: Judgment Day\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1991-07-03\"^^xsd:date . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1992-03-30"}, {"question": "Does Adelaide (whose local area code is 08720) or Bulawayo have the higher elevation above sea level?", "choices": ["Kilkenny", "Abidjan", "Santo Domingo", "Bulawayo", "Dundee", "Trieste", "Bergen", "Chihuahua", "Kingston", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adelaide"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "08720"]}, {"function": "Find", "dependencies": [], "inputs": ["Bulawayo"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adelaide\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"08720\" . } UNION { ?e <pred:name> \"Bulawayo\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bulawayo"}, {"question": "What record label is Kid Cudi under ?", "choices": ["Hollywood Records", "Universal Motown Records", "Entertainment One Music", "Epitaph Records", "Sire Records", "Sub Pop", "The Island Def Jam Music Group", "Southern Lord Records", "K Records", "Warner Bros. Records"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kid Cudi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Kid Cudi\" .   }", "answer": "Universal Motown Records"}, {"question": "Which show has fewer seasons, Freakazoid! or NYPD Blue?", "choices": ["Phineas and Ferb", "South Park", "Batman Beyond", "Freakazoid!", "Tiny Toon Adventures", "The Cleveland Show", "The Venture Bros.", "American Dad!", "NYPD Blue", "Aladdin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freakazoid!"]}, {"function": "Find", "dependencies": [], "inputs": ["NYPD Blue"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Freakazoid!\" .  } UNION { ?e <pred:name> \"NYPD Blue\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Freakazoid!"}, {"question": "Until when was England (the one that is the narrative location of St Trinian's) ?", "choices": ["1809-03-04", "2009-04-06", "1942-01-01", "1776", "1808", "1963-07-07", "1994", "1980-08-03", "1962-08-31", "1968-06-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Staffordshire"]}, {"function": "Find", "dependencies": [], "inputs": ["St Trinian's"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["located in the administrative territorial entity", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Staffordshire\" . ?e_2 <pred:name> \"England\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"St Trinian's\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1994"}, {"question": "Who is the person whose ISNI is 0000 0001 1937 2419?", "choices": ["Richard Gere", "Sylvester Stallone", "William Henry Harrison", "Max Fleischer", "Arthur Wong", "Seth Green", "Randy Jackson", "Paul Bettany", "James Hetfield", "Douglas Shearer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1937 2419"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1937 2419\" .  }", "answer": "Arthur Wong"}, {"question": "When was Fairbanks population 31535?", "choices": ["1781-01-01", "2003-11-01", "1927", "1913-11-13", "2010", "2015-09-01", "2014-09-01", "1710-01-01", "1849-12-01", "2016-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fairbanks"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "31535", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Fairbanks\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"31535\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Is Evangeline Lilly's date of birth not in 1983?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evangeline Lilly"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1983", "!="]}], "sparql": "ASK { ?e <pred:name> \"Evangeline Lilly\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1983 ) .  }", "answer": "yes"}, {"question": "What department in France was not founded in 1793?", "choices": ["Aude", "Bas-Rhin", "Yvelines", "Somme", "Nord", "Aisne", "Pas-de-Calais", "Gironde", "Dordogne", "Haut-Rhin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1793", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1793 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Yvelines"}, {"question": "How many episodes are there of the t.v. series that began airing on ABC in 2006?", "choices": ["208", "4263", "21", "161", "53", "284", "733", "23", "108", "15762"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2006", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television program"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"American Broadcasting Company\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2006 . ?e <number_of_episodes> ?pv .  }", "answer": "23"}, {"question": "Was Forest Whitaker not born in 1948?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Forest Whitaker"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1948", "!="]}], "sparql": "ASK { ?e <pred:name> \"Forest Whitaker\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1948 ) .  }", "answer": "yes"}, {"question": "What is the connection between Cumberland County (the one whose population is 281674) to Oxford County?", "choices": ["shares border with", "connects with", "official symbol", "make-up artist", "studies", "developer", "quotes work", "has edition", "studied by", "parent astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cumberland County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "281674", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Oxford County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cumberland County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"281674\"^^xsd:double . ?e_2 <pred:name> \"Oxford County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the Twitter username of a person whose official website is  http://www.jcvd-online.com ?", "choices": ["RollingStones", "arrahman", "joebiden", "cher", "UCSanDiego", "jcvd", "TV5manila", "realronjeremy", "meganfox", "neildiamond"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jcvd-online.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.jcvd-online.com\" . ?e <Twitter_username> ?pv .  }", "answer": "jcvd"}, {"question": "Who is the person with CANTIC-ID a11877170?", "choices": ["Common", "Katie Holmes", "Richard Gere", "Kim Basinger", "Catherine Deneuve", "Cliff Richard", "Sylvester Stallone", "Max Fleischer", "Edward Shearmur", "Bruce Sterling"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11877170"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11877170\" .  }", "answer": "Katie Holmes"}, {"question": "What's the relationship between the Netherlands and Delft University of Technology?", "choices": ["lyrics by", "next higher rank", "properties for this type", "movement", "part of the series", "country", "tributary", "destination point", "participant", "original language of film or TV show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delft University of Technology"]}, {"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Delft University of Technology\" . ?e_2 <pred:name> \"Netherlands\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Does the film Quadrophenia whose release region is Sweden or Garden State have the shorter runtime?", "choices": ["The Fifth Element", "Garden State", "Training Day", "Talk to Her", "The Towering Inferno", "Pleasantville", "Rebecca", "A Prairie Home Companion", "Curse of the Golden Flower", "Quadrophenia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Quadrophenia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Garden State"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quadrophenia\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Sweden\" .   } UNION { ?e <pred:name> \"Garden State\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Garden State"}, {"question": "For Seth Green does he or she have a Twitter username of exactly BarackObama ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seth Green"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["BarackObama"]}], "sparql": "ASK { ?e <pred:name> \"Seth Green\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"BarackObama\" .  }", "answer": "no"}, {"question": "Which is the border in common with Wisconsin and Illinois, location of the administrative division Will County?", "choices": ["Brazil\u2013Iran relations", "Saudi Arabia\u2013Yemen relations", "Denmark\u2013Ghana relations", "Kosovo\u2013United Kingdom relations", "Illinois\u2013Indiana border", "Argentina\u2013United Kingdom relations", "Illinois\u2013Wisconsin border", "Poland\u2013Romania relations", "Indonesia\u2013Morocco relations", "Gibraltarian people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wisconsin"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Illinois\" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Will County\" . ?e_2 <pred:name> \"Wisconsin\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Illinois\u2013Wisconsin border"}, {"question": "Which university has more students, Case Western Reserve University or The Catholic University of America?", "choices": ["University of Tehran", "Pennsylvania State University", "Case Western Reserve University", "Presidency University", "Panjab University", "McNeese State University", "The Catholic University of America", "Imperial College London", "McMaster University", "University of Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Case Western Reserve University"]}, {"function": "Find", "dependencies": [], "inputs": ["The Catholic University of America"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Case Western Reserve University\" .  } UNION { ?e <pred:name> \"The Catholic University of America\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Case Western Reserve University"}, {"question": "Which has less population, Utica or Auburn that is an administrative division of Cayuga County?", "choices": ["Glens Falls", "Auburn", "Elmira", "Ithaca", "Utica", "Yonkers", "White Plains", "Glen Cove", "Syracuse", "Long Beach"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Utica"]}, {"function": "Find", "dependencies": [], "inputs": ["Cayuga County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Auburn"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Utica\" .  } UNION { ?e <pred:name> \"Auburn\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Cayuga County\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Auburn"}, {"question": "What language is associated with the official website http://www.sdsu.edu for the higher learning institution that is the educational establishment of J. Michael Straczynski?", "choices": ["Afrikaans", "English", "Belgian French", "Swedish", "Japanese", "Albanian", "O'odham", "Luxembourgish", "Polish", "Standard Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. Michael Straczynski"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.sdsu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"J. Michael Straczynski\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sdsu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Lynwood or Summit have more population?", "choices": ["Greenville", "Oakland", "Franklin", "Boulder", "Lynwood", "Compton", "Summit", "Columbus", "Lansing", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lynwood"]}, {"function": "Find", "dependencies": [], "inputs": ["Summit"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lynwood\" .  } UNION { ?e <pred:name> \"Summit\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lynwood"}, {"question": "For the Texas county whose official website is http://www.co.fort-bend.tx.us/, what is the determination method of this value for its population of 625853?", "choices": ["United Kingdom Census 1971", "United Kingdom Census 1991", "estimation process", "United Kingdom Census 2011", "census", "average", "Family record booklet", "administrative division valid at the time point of history to which the data relates", "Taqdir", "middle"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.fort-bend.tx.us/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "625853", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.fort-bend.tx.us/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"625853\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How is Boston United F.C. related to the United Kingdom?", "choices": ["said to be the same as", "time period", "copyright holder", "position played on team / speciality", "depicted by", "parent astronomical body", "sexual orientation", "doctoral student", "maintained by", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston United F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Boston United F.C.\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "For the Golden Raspberry Award for Worst Picture, which work was awarded when Nickelodeon (the one whose Giphy username is nickelodeon) won?", "choices": ["The Pursuit of Happyness", "The Nutty Professor", "The Graduate", "Titus", "Audrey Hepburn's Enchanted Tales", "The Last Airbender", "Californication", "The Early Stories: 1953\u20131975", "Being Julia", "When Billie Beat Bobby"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Nickelodeon"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Giphy username", "nickelodeon"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Golden Raspberry Award for Worst Picture\" . ?e_2 <pred:name> \"Nickelodeon\" . ?e_2 <Giphy_username> ?pv . ?pv <pred:value> \"nickelodeon\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Last Airbender"}, {"question": "What is the relationship between The Siege (the one whose script is written by Edward Zwick) and Annette Bening?", "choices": ["published in", "cast member", "applies to jurisdiction", "head of state", "family name", "part of the series", "languages spoken, written or signed", "director/manager", "killed by", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward Zwick"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Siege"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Annette Bening"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Siege\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Edward Zwick\" . ?e_2 <pred:name> \"Annette Bening\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What does Wilmer Valderrama have to do with Miami (the twinned administrative body of Amman)?", "choices": ["next lower rank", "draft pick from school", "place of birth", "native language", "connects with", "family", "political alignment", "archives at", "practiced by", "located in the administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wilmer Valderrama"]}, {"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Miami"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wilmer Valderrama\" . ?e_2 <pred:name> \"Miami\" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> \"Amman\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which higher education institution is the parent organization of the law school that is Savannah Guthrie's education place?", "choices": ["Georgetown University", "Yale University", "Peking University", "Carnegie Institute of Technology", "University of Michigan", "Texas Christian University", "Macquarie University", "Ateneo de Manila University", "York University", "Memorial University of Newfoundland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Savannah Guthrie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "Relate", "dependencies": [2], "inputs": ["parent organization", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <parent_organization> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"law school\" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> \"Savannah Guthrie\" .   }", "answer": "Georgetown University"}, {"question": "How many communication media employ Aphex Twin, or, are followed by time in China ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aphex Twin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["communication medium"]}, {"function": "Find", "dependencies": [], "inputs": ["time in China"]}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["communication medium"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"communication medium\" .  { ?e_1 <employer> ?e . ?e_1 <pred:name> \"Aphex Twin\" .  } UNION { ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"time in China\" .  } }", "answer": "0"}, {"question": "Is the date of death not in 2017 for the person who was born on 1862-07-31?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1862-07-31", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2017", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1862-07-31\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2017 ) .  }", "answer": "yes"}, {"question": "Did the NFL Draft of 2004 take place subsequent to 1918 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2004 NFL Draft"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1918", ">"]}], "sparql": "ASK { ?e <pred:name> \"2004 NFL Draft\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1918 ) .  }", "answer": "yes"}, {"question": "When is the birth date of the person who died on 1969-10-01?", "choices": ["1969-09-19", "1922-10-27", "1961-04-23", "1892-07-22", "1874-01-25", "1962-03-23", "1971-11-27", "1957-10-15", "1958-05-25", "1957-01-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1969-10-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1969-10-01\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1892-07-22"}, {"question": "Die Hard, with Alan Rickman as a cast member, was released on 1988-09-30 in which region?", "choices": ["Iceland", "2008 Toronto International Film Festival", "Italy", "North America", "El Capitan Theatre", "Sweden", "Israel", "1949 Cannes Film Festival", "Central Park", "Colombia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Rickman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Die Hard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1988-09-30", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Die Hard\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Alan Rickman\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1988-09-30\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "What is the elevation above sea level of the city of the United States whose subreddit is Portland (the language of this statement is English)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Portland"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["240 metre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Portland\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"240\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Where did the release of Natural Born Killers take place on its publication date, 1994-08-26?", "choices": ["United States of America", "Tribeca Film Festival", "El Capitan Theatre", "Israel", "1949 Cannes Film Festival", "Iceland", "Sweden", "Singapore", "Serbia", "Greece"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natural Born Killers"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1994-08-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Natural Born Killers\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-08-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "How is Harry Potter and the Order of the Phoenix, whose official website is http://www.ea.com/harry-potter, related to English?", "choices": ["sidekick of", "noble title", "color", "language of work or name", "capital", "employer", "feast day", "parent astronomical body", "designed by", "production designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Order of the Phoenix"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ea.com/harry-potter"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Potter and the Order of the Phoenix\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.ea.com/harry-potter\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "language of work or name"}, {"question": "How is Poltergeist, shot in Toronto, related to Sam Raimi?", "choices": ["newspaper format", "soundtrack album", "mountain range", "league", "public holiday", "location", "next higher rank", "producer", "time period", "programming paradigm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Poltergeist"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sam Raimi"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Poltergeist\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"Toronto\" . ?e_2 <pred:name> \"Sam Raimi\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Which has the most area among the Alabama counties whose population is more than 48000?", "choices": ["Jefferson County", "Baldwin County", "Mobile County", "Madison County", "Monroe County", "Washington County", "Dallas County", "Shelby County", "Jackson County", "Montgomery County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "48000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"48000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Baldwin County"}, {"question": "Which Armand Assante project earned a Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie?", "choices": ["The Candidate", "Gotti", "Breakdown", "Wag the Dog", "The Prisoner of Second Avenue", "High Art", "After Hours", "Our Friends in the North", "The Old Man and the Sea", "Heartbeeps"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["Armand Assante"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie\" . ?e_2 <pred:name> \"Armand Assante\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Gotti"}, {"question": "What is the native language name of the person who died on 1979-09-15?", "choices": ["John Irving", "Jayne Mansfield", "Mia Farrow", "George Clinton", "William McKinley", "Charlotte Gainsbourg", "Pran", "Richard Wagner", "Ray Douglas Bradbury", "Bam Margera"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1979-09-15", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1979-09-15\"^^xsd:date . ?e <name_in_native_language> ?pv .  }", "answer": "Richard Wagner"}, {"question": "Of miniseries with fewer than 5 seasons, which boasts the most seasons?", "choices": ["The Shining", "The Diary of Anne Frank", "Oliver Twist", "Sherlock", "The Pacific", "Band of Brothers", "The Stand", "Edge of Darkness", "Sherlock Holmes", "The Singing Detective"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "5", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"5\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sherlock"}, {"question": "What type of reggae is associated with Juanes and is the genre of No Doubt?", "choices": ["experimental rock", "pop music", "rock music", "roots reggae", "ragga", "dancehall", "reggae fusion", "post-punk revival", "symphony", "reggaeton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juanes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["reggae"]}, {"function": "Find", "dependencies": [], "inputs": ["No Doubt"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["reggae"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"reggae\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Juanes\" .  ?e_2 <genre> ?e . ?e_2 <pred:name> \"No Doubt\" .  }", "answer": "reggae fusion"}, {"question": "Which war precedes the Third Crusade?", "choices": ["Second Crusade", "Russian Civil War", "French invasion of Russia", "Bosnian War", "Second Sino-Japanese War", "World War I", "Coalition Wars", "Crusade", "Yom Kippur War", "First Crusade"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Third Crusade"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"Third Crusade\" .   }", "answer": "Second Crusade"}, {"question": "Which Munzinger IBA corresponds to Anjelica Huston's father?", "choices": ["00000024083", "00000006334", "00000014515", "00000015472", "00000023047", "00000004064", "00000020729", "00000007856", "00000017918", "00000011340"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anjelica Huston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["father", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <father> ?e . ?e_1 <pred:name> \"Anjelica Huston\" .  ?e <Munzinger_IBA> ?pv .  }", "answer": "00000006334"}, {"question": "TV Tokyo was the first network to broadcast how many animated movies?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TV Tokyo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"TV Tokyo\" .   }", "answer": "2"}, {"question": "When was Robin Williams a Critics' Choice Movie Award for Best Actor nominee?", "choices": ["1710-01-01", "1852", "2014-04-30", "2011-01-01", "1970-01-01", "1950-09-13", "2003-09-01", "1919", "2002", "1919-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robin Williams"]}, {"function": "Find", "dependencies": [], "inputs": ["Critics' Choice Movie Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robin Williams\" . ?e_2 <pred:name> \"Critics' Choice Movie Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2002"}, {"question": "What is the connection between Terence Blanchard to 2005 Grammy Awards?", "choices": ["has parts of the class", "statistical leader", "different from", "lowest point", "capital", "geography of topic", "patron saint", "nutrient", "conflict", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terence Blanchard"]}, {"function": "Find", "dependencies": [], "inputs": ["2005 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Terence Blanchard\" . ?e_2 <pred:name> \"2005 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Franz Schubert who died in Koblenz was a member of which agency with the subsidiary Waffen-SS?", "choices": ["United States Department of the Air Force", "Hamburger SV", "Pfizer", "Lockheed Martin", "Academy of Television Arts & Sciences", "BBC", "McDonald's", "E. W. Scripps Company", "Vigor Shipyards", "Schutzstaffel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waffen-SS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["subsidiary", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "Find", "dependencies": [], "inputs": ["Koblenz"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Franz Schubert"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["agent"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <subsidiary> ?e_1 . ?e_1 <pred:name> \"Waffen-SS\" .  ?e_2 <member_of> ?e . ?e_2 <pred:name> \"Franz Schubert\" . ?e_2 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Koblenz\" .  }", "answer": "Schutzstaffel"}, {"question": "Tell me the location in London that the place where person Anthony Minghella died.", "choices": ["Paddington", "Westminster", "Wandsworth", "Camberwell", "Hammersmith", "Croydon", "Kensington", "Islington", "Lambeth", "Ealing"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Anthony Minghella"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["area of London"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Anthony Minghella\" .   }", "answer": "Hammersmith"}, {"question": "How are Germany and Franz Waxman related?", "choices": ["film editor", "exported to", "godparent", "location", "country of citizenship", "country", "league", "board member", "movement", "after a work by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Franz Waxman"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Franz Waxman\" . ?e_2 <pred:name> \"Germany\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Is http://www.tv-asahi.co.jp/ the official website of the university that Jerry Lewis who was born in 1956 attended?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Lewis"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1956", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.tv-asahi.co.jp/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Jerry Lewis\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 1956 . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tv-asahi.co.jp/\" .  }", "answer": "no"}, {"question": "What is the relationship between Hong Kong national football team and Hong Kong (the one whose life expectancy is 81.82927 year)?", "choices": ["replaced by", "kit supplier", "fabrication method", "production company", "takes place in fictional universe", "captain", "organisation directed from the office or person", "successful candidate", "military rank", "country for sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hong Kong national football team"]}, {"function": "Find", "dependencies": [], "inputs": ["Hong Kong"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["life expectancy", "81.82927 year", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hong Kong national football team\" . ?e_2 <pred:name> \"Hong Kong\" . ?e_2 <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"81.82927\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "country for sport"}, {"question": "Where is the film titled Mary and Max published on 2010-09-30?", "choices": ["Taormina Film Fest", "New York", "Kazakhstan", "Hungary", "Vietnam", "Israel", "2003 Cannes Film Festival", "Mexico", "Greece", "Seattle International Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Mary and Max"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-09-30", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Mary and Max\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-09-30\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "Germany, named after Prussia, is associated with what language?", "choices": ["Portuguese", "Northern Sotho", "Turkish", "Canadian French", "Slovene", "Canadian English", "Esperanto", "Tahitian", "Persian", "Australian English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Prussia"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["named after", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Germany\" . ?e_2 <pred:name> \"Prussia\" . ?e_1 <named_after> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_2 ] <language_of_work_or_name> ?qpv .  }", "answer": "Tahitian"}, {"question": "Who is the person whose IPI name number is 00141754583 (the name by which it is recorded of this statement is GREEN AL) ?", "choices": ["James E. Reilly", "Rahul Dev Burman", "Al Green", "Paul Simon", "Richard Gere", "Babyface", "Sylvester Stallone", "William Henry Harrison", "Max Fleischer", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPI name number", "00141754583"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["named as", "GREEN AL"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00141754583\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv . ?qpv <pred:value> \"GREEN AL\" .  }", "answer": "Al Green"}, {"question": "By what method was a population of 332,588 arrived at for the Florida county bordering Citrus County?", "choices": ["Taqdir", "lead-lead dating", "Yemen General Census of Population, Housing and Establishments 2004", "demographic balance", "1860 United States Census", "estimation process", "population projection", "average", "administrative division valid at the time point of history to which the data relates", "administrative division valid at the moment of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Citrus County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "332588", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Citrus County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"332588\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many subscribers are there for the Twitter username Alhilal_FC belonging to the association football club whose official name is \u0646\u0627\u062f\u064a \u0627\u0644\u0647\u0644\u0627\u0644 \u0627\u0644\u0633\u0639\u0648\u062f\u064a \u0644\u0643\u0631\u0629 \u0627\u0644\u0642\u062f\u0645?", "choices": ["9132307", "208753", "176794", "3697", "953934", "36179", "116848", "608015", "21175", "76869"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u0646\u0627\u062f\u064a \u0627\u0644\u0647\u0644\u0627\u0644 \u0627\u0644\u0633\u0639\u0648\u062f\u064a \u0644\u0643\u0631\u0629 \u0627\u0644\u0642\u062f\u0645"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "Alhilal_FC", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u0646\u0627\u062f\u064a \u0627\u0644\u0647\u0644\u0627\u0644 \u0627\u0644\u0633\u0639\u0648\u062f\u064a \u0644\u0643\u0631\u0629 \u0627\u0644\u0642\u062f\u0645\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Alhilal_FC\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "9132307"}, {"question": "What is the connection between Dorothy Fields and natural causes?", "choices": ["legislative body", "opposite of", "source of material", "manner of death", "located in the administrative territorial entity", "office held by head of the organisation", "award received", "film regional debut venue", "permanent resident of", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dorothy Fields"]}, {"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dorothy Fields\" . ?e_2 <pred:name> \"natural causes\" . ?e_1 ?p ?e_2 .  }", "answer": "manner of death"}, {"question": "Tell me the person that is the United States of America citizen and who was born on 1964-10-18", "choices": ["John Swasey", "Sylvester Stallone", "Chazz Palminteri", "Max Fleischer", "Joe Pantoliano", "Emma Stone", "Dan Hedaya", "William Henry Harrison", "Charles Stross", "Joey Fatone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["date of birth", "1964-10-18", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <date_of_birth> ?pv . ?pv <pred:date> \"1964-10-18\"^^xsd:date .  }", "answer": "John Swasey"}, {"question": "What is the connection between Game of Thrones (the one whose review score is 80/100) to 18th Screen Actors Guild Awards?", "choices": ["award received", "chief executive officer", "part of", "registered with", "medical treatment", "student", "original language of film or TV show", "cast member", "board member", "film distribute region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Game of Thrones"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["review score", "80/100"]}, {"function": "Find", "dependencies": [], "inputs": ["18th Screen Actors Guild Awards"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Game of Thrones\" . ?e_1 <review_score> ?pv . ?pv <pred:value> \"80/100\" . ?e_2 <pred:name> \"18th Screen Actors Guild Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What story is set in Melbourne, where the 1956 Summer Olympics took place?", "choices": ["Neighbours", "Scary Movie", "The Gift", "Shackleton", "Titanic", "A Streetcar Named Desire", "The Proposition", "The Goodbye Girl", "A Christmas Carol", "The Music Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1956 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Melbourne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Melbourne\" . ?e_2 <location> ?e_1 . ?e_2 <pred:name> \"1956 Summer Olympics\" .   }", "answer": "The Gift"}, {"question": "What is the connection between Richard Wagner (the one whose date of birth is 1861-10-03) to Berlin?", "choices": ["successful candidate", "work location", "allegiance", "after a work by", "capital", "time period", "member of sports team", "vehicle normally used", "director/manager", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Wagner"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1861-10-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Berlin"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Wagner\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1861-10-03\"^^xsd:date . ?e_2 <pred:name> \"Berlin\" . ?e_1 ?p ?e_2 .  }", "answer": "work location"}, {"question": "Which has the most episodes among the television series that has Steven Spielberg as an executive producer?", "choices": ["Batman Beyond", "South Park", "Animaniacs", "Tiny Toon Adventures", "American Dad!", "Robot Chicken", "Freakazoid!", "The Cleveland Show", "The Pacific", "Band of Brothers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Spielberg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Steven Spielberg\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Animaniacs"}, {"question": "What is the start time for David Cross (the one that is a member of Rochdale A.F.C.) as a member of Bolton Wanderers F.C.?", "choices": ["1967-09-10", "1976-09-21", "1911-01-01", "1985-01-01", "2001-02-25", "1986-04-30", "2007-12-19", "1992-02-08", "2004-10-19", "2007-09-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rochdale A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Cross"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bolton Wanderers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Cross\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Rochdale A.F.C.\" . ?e_2 <pred:name> \"Bolton Wanderers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1985-01-01"}, {"question": "How was the population size 43,554 determined for the California county whose ISNI is 0000 0004 0381 6873?", "choices": ["demographic balance", "United Kingdom Census 1981", "Taqdir", "hearth tax", "Census", "Pensky\u2013Martens closed-cup test", "Canada 2016 Census", "national estimation", "extrapolation", "UIS estimation"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0381 6873"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "43554", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0381 6873\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"43554\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "Does Pittsburgh (zip code 15215) or Chester (population 33972) have the lower elevation relative to sea level?", "choices": ["Johnstown", "Chester", "Erie", "Pittsburgh", "York", "Bethlehem", "Easton", "Harrisburg", "Greensburg", "Philadelphia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pittsburgh"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "15215"]}, {"function": "Find", "dependencies": [], "inputs": ["Chester"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "33972", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pittsburgh\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"15215\" . } UNION { ?e <pred:name> \"Chester\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"33972\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chester"}, {"question": "What software license has the official website of https://www.apache.org/licenses/ (the language of this statement is English)?", "choices": ["Earlham College", "Matt Dillon", "Apache License", "Jim Brown", "Avi Arad", "Mighty Joe Young", "London Academy of Music and Dramatic Art", "Franz Schubert", "Daytime Emmy Award for Outstanding Lead Actor in a Drama Series", "civil engineering"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.apache.org/licenses/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["software license"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software license\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.apache.org/licenses/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Apache License"}, {"question": "Who has more children, Bill Hader or June Allyson?", "choices": ["Paul Simon", "David Byrne", "June Allyson", "Sylvester Stallone", "Bill Hader", "James E. Reilly", "Richard Gere", "Rahul Dev Burman", "William Henry Harrison", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Hader"]}, {"function": "Find", "dependencies": [], "inputs": ["June Allyson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bill Hader\" .  } UNION { ?e <pred:name> \"June Allyson\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bill Hader"}, {"question": "Is the date of birth of the person having the ISNI 0000 0001 1458 0075 before 1878?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1458 0075"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1878", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1458 0075\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1878 ) .  }", "answer": "no"}, {"question": "Was AC Arles dissolved before 1979?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AC Arles"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1979", "<"]}], "sparql": "ASK { ?e <pred:name> \"AC Arles\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1979 ) .  }", "answer": "no"}, {"question": "Who is Peter Bogdanovich's partner?", "choices": ["Sylvester Stallone", "Robert Rodriguez", "Max Fleischer", "Richard Gere", "Will Smith", "Lena Headey", "Gwyneth Paltrow", "William Henry Harrison", "Cybill Shepherd", "Tate Donovan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Bogdanovich"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <partner> ?e . ?e_1 <pred:name> \"Peter Bogdanovich\" .   }", "answer": "Cybill Shepherd"}, {"question": "What number of Arizona counties have an area larger than 80 acres or share borders with Gila County?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "80 acre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "Find", "dependencies": [], "inputs": ["Gila County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Arizona"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" .  { ?e <area> ?pv . ?pv <pred:unit> \"acre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"80\"^^xsd:double ) .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Gila County\" .  } }", "answer": "5"}, {"question": "How is Crewe related to the United Kingdom?", "choices": ["business division", "voice type", "item operated", "film crew member", "country", "winner", "official color", "head of government", "designed by", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crewe"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Crewe\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between The Cars to pop rock?", "choices": ["mascot", "genre", "exclave of", "influenced by", "contains administrative territorial entity", "airline hub", "rector", "next lower rank", "this taxon is source of", "language used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Cars"]}, {"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Cars\" . ?e_2 <pred:name> \"pop rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many electronic musics began after 1992?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1992", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1992 ) .  }", "answer": "8"}, {"question": "Which has the largest elevation above sea level among the independent cities of Germany whose population is less than 310000000?", "choices": ["Baden-Baden", "Bayreuth", "Coburg", "Nettwerk", "Tony Award for Best Choreography", "Algeria", "Liguria", "Weimar", "Frankfurt (Oder)", "Superman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "310000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"310000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "Which area is smaller, Upland or Jefferson City?", "choices": ["Waukegan", "Greenville", "Oakland", "Upland", "Boulder", "Columbus", "Lansing", "Jefferson City", "Compton", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upland"]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Upland\" .  } UNION { ?e <pred:name> \"Jefferson City\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Upland"}, {"question": "What is the local dialing code of the city whose postal code is 53100?", "choices": ["01253", "07221", "02405", "504", "0194", "01256", "0577", "941", "0118", "575"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "53100"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"53100\" . ?e <local_dialing_code> ?pv .  }", "answer": "0577"}, {"question": "Is the ISO 3166-2 code of Newcastle upon Tyne (the one whose population is 292900) FR-24?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newcastle upon Tyne"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "292900", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["FR-24"]}], "sparql": "ASK { ?e <pred:name> \"Newcastle upon Tyne\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"292900\"^^xsd:double . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"FR-24\" .  }", "answer": "no"}, {"question": "Who did Woodrow Wilson replace in the office of Governor of New Jersey?", "choices": ["Grover Cleveland", "John Franklin Fort", "George II of Great Britain", "Australian pound", "Henry Campbell-Bannerman", "Provisional Government of the Republic of Korea", "James Madison", "John Bell", "Benjamin Harrison", "Alben W. Barkley"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Woodrow Wilson"]}, {"function": "Find", "dependencies": [], "inputs": ["Governor of New Jersey"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["position held", "replaces"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Woodrow Wilson\" . ?e_2 <pred:name> \"Governor of New Jersey\" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <replaces> ?qpv .  }", "answer": "John Franklin Fort"}, {"question": "Where was Atlantic City (which was nominated for an Academy Award for Best Actress) published on 1980-11-21?", "choices": ["R\u00e4ttvik", "Germany", "Hong Kong", "Cannes Film Festival", "Italy", "Singapore", "Finland", "Slovenia", "London", "1949 Cannes Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlantic City"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1980-11-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Atlantic City\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1980-11-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What film was published in Chile that is titled Aurora?", "choices": ["The Motorcycle Diaries", "The Fifth Element", "Aurora", "Missing", "Pleasantville", "Rebecca", "A Prairie Home Companion", "Talk to Her", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Aurora"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Chile"]}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Aurora\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Chile\" .  }", "answer": "Aurora"}, {"question": "Is ljx011d434bxx98 the Libris-URI of Lars von Trier?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lars von Trier"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["ljx011d434bxx98"]}], "sparql": "ASK { ?e <pred:name> \"Lars von Trier\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"ljx011d434bxx98\" .  }", "answer": "yes"}, {"question": "How many performing arts share SNL's genre or Channing Tatum's profession?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Channing Tatum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["performing arts"]}, {"function": "Find", "dependencies": [], "inputs": ["Saturday Night Live"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["performing arts"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"performing arts\" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Channing Tatum\" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"Saturday Night Live\" .  } }", "answer": "2"}, {"question": "What is the connection between Kent County (the one that shares border with Baltimore County) to Cecil County?", "choices": ["lyrics by", "appointed by", "chief executive officer", "father", "shares border with", "office contested", "named after", "located in or next to body of water", "official color", "material used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kent County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cecil County"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kent County\" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"Baltimore County\" . ?e_2 <pred:name> \"Cecil County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Per this 2016 statement, does a figure below 3900000 equal the population of Cuban Americans?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cuban American"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2016"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["3900000", "<"]}], "sparql": "ASK { ?e <pred:name> \"Cuban American\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"3900000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 .  }", "answer": "yes"}, {"question": "Does Costa Rica or Ecuador have a greater unemployment rate?", "choices": ["Russian Soviet Federative Socialist Republic", "Costa Rica", "Kiribati", "Weimar Republic", "Cambodia", "Samoa", "Ecuador", "Benin", "Switzerland", "South Sudan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Costa Rica"]}, {"function": "Find", "dependencies": [], "inputs": ["Ecuador"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["unemployment rate", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Costa Rica\" .  } UNION { ?e <pred:name> \"Ecuador\" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Costa Rica"}, {"question": "Tell me the title for Heroes (which feature Sally Field in the cast)", "choices": ["Star Wars: The Clone Wars", "Confessions of a Dangerous Mind", "Bedknobs and Broomsticks", "America's Next Top Model", "Moonrise Kingdom", "West Side Story", "The Robe", "13 Going on 30", "Heroes", "Skyfall"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sally Field"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heroes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Heroes\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sally Field\" .  ?e <title> ?pv .  }", "answer": "Heroes"}, {"question": "Of countries where the total rate of fertility is other than 5.6, which occupies the biggest area?", "choices": ["Scotland", "Greenland", "Chris Cooper", "June Allyson", "Scarborough", "Faroe Islands", "Netherlands", "The Smurfs", "Wales", "Cook Islands"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "5.6", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e <total_fertility_rate> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5.6\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greenland"}, {"question": "Is the publication date of the visual artwork that derives Sunset Boulevard (whose lyrics are written by Christopher Hampton) before 1968?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher Hampton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lyrics by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sunset Boulevard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1968", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Sunset Boulevard\" . ?e_1 <lyrics_by> ?e_2 . ?e_2 <pred:name> \"Christopher Hampton\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1968 ) .  }", "answer": "yes"}, {"question": "What is the relation between Bulgaria and Slovakia about?", "choices": ["Austria\u2013Italy border", "Belgium\u2013Malaysia relations", "Seychelles\u2013United States relations", "Argentina\u2013Morocco relations", "Switzerland\u2013Uruguay relations", "Sudan\u2013Taiwan relations", "Algeria\u2013Mexico relations", "Indonesia\u2013Poland relations", "Chile\u2013Croatia relations", "Bulgaria\u2013Slovakia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "Find", "dependencies": [], "inputs": ["Slovakia"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bulgaria\" . ?e_2 <pred:name> \"Slovakia\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Bulgaria\u2013Slovakia relations"}, {"question": "Does IAB code 1221 correspond to the language with the shortened name \u0442\u0443\u0440\u0435\u0446\u044c\u043a\u0430 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u0442\u0443\u0440\u0435\u0446\u044c\u043a\u0430"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IAB code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1221"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"\u0442\u0443\u0440\u0435\u0446\u044c\u043a\u0430\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"1221\" .  }", "answer": "no"}, {"question": "Did Valkyrie or The Lord of the Rings: The Two Towers released in Colombia earn more at the box office?", "choices": ["Valkyrie", "The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "Training Day", "The Lord of the Rings: The Two Towers", "Curse of the Golden Flower", "Pleasantville", "The Towering Inferno", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Valkyrie"]}, {"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Two Towers"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Valkyrie\" .  } UNION { ?e <pred:name> \"The Lord of the Rings: The Two Towers\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Colombia\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings: The Two Towers"}, {"question": "Is the number of employees less for Washington State University or University of Maine?", "choices": ["Montana State University - Bozeman", "Virginia Tech", "University of Arkansas", "University of Idaho", "North Dakota State University", "University of Maine", "Kansas State University", "Iowa State University", "South Carolina State University", "Washington State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington State University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Maine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington State University\" .  } UNION { ?e <pred:name> \"University of Maine\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Maine"}, {"question": "When did the province of Italy (whose local dialing code is 0828) start having NUTS code ITF35?", "choices": ["2003-07-01", "1982-09-30", "1945-11-27", "1992-09-03", "1989-11-09", "2015-10-10", "1956-06-29", "1974-01-15", "1815-06-21", "1992-02-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0828"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["NUTS code", "ITF35", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"0828\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"ITF35\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2003-07-01"}, {"question": "The Democratic Republic of the Congo was the filming locale of which visual artwork?", "choices": ["Taken 2", "Rebecca", "Talk to Her", "Moonstruck", "The Contender", "Pleasantville", "The Haunting", "A Star Is Born", "A Prairie Home Companion", "The African Queen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Democratic Republic of the Congo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Democratic Republic of the Congo\" .   }", "answer": "The African Queen"}, {"question": "Is http://tolstoy.ru/ the official website of Desperate Housewives ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Desperate Housewives"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://tolstoy.ru/"]}], "sparql": "ASK { ?e <pred:name> \"Desperate Housewives\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://tolstoy.ru/\" .  }", "answer": "no"}, {"question": "IS the running time of  Total Recall (the one whose production company is StudioCanal) less than 270 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["StudioCanal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Total Recall"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["270 minute", "<"]}], "sparql": "ASK { ?e <pred:name> \"Total Recall\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"StudioCanal\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"270\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which non-metropolitan district that, is an administrative division of Surrey, (the one that shares border with West Sussex) has the largest area?", "choices": ["King's Lynn and West Norfolk", "Guildford", "West Dorset", "North Norfolk", "Carlisle", "South Somerset", "Woking", "Great Yarmouth", "Kettering", "Chichester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Sussex"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Surrey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan district"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Surrey\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"West Sussex\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Guildford"}, {"question": "How many land-grant universities are in East Lansing or denoted by PermID 5000861728?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Lansing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["land-grant university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PermID", "5000861728"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["land-grant university"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" .  { ?e <location> ?e_1 . ?e_1 <pred:name> \"East Lansing\" .  } UNION { ?e <PermID> ?pv . ?pv <pred:value> \"5000861728\" .  } }", "answer": "2"}, {"question": "What is the connection between Oklahoma City University to Oklahoma City?", "choices": ["located in the administrative territorial entity", "writing system", "rector", "does not have part", "screenwriter", "author", "official language", "place of birth", "child astronomical body", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oklahoma City University"]}, {"function": "Find", "dependencies": [], "inputs": ["Oklahoma City"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oklahoma City University\" . ?e_2 <pred:name> \"Oklahoma City\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "When was http://www.bs.ch retrieved as the official website of a college town with WOEID of 12682721?", "choices": ["2017-04-23", "2016-03-02", "2017-07-11", "2017-12-02", "2017-05-18", "2017-06-30", "2016-01-23", "2018-07-30", "2017-07-25", "2017-07-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "12682721"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.bs.ch/", "retrieved"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"12682721\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bs.ch/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv .  }", "answer": "2017-05-18"}, {"question": "How was the official color of USC, cardinal, originally stated?", "choices": ["Director of photography", "Costume and design consultant", "USC Cardinal", "Newark Branch of Rutgers", "Burnt Man", "Bert; Mr. Dawes, Sr.", "Additional Story Material", "Walt Disney presents", "forum apud Munichen", "Prerelease engagements"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Southern California"]}, {"function": "Find", "dependencies": [], "inputs": ["cardinal"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["official color", "stated as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Southern California\" . ?e_2 <pred:name> \"cardinal\" . ?e_1 <official_color> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_color> ; <pred:fact_t> ?e_2 ] <stated_as> ?qpv .  }", "answer": "USC Cardinal"}, {"question": "What does Patricia Arquette have to do with Thomas Jane?", "choices": ["time period", "derivative work", "spouse", "vehicle normally used", "costume designer", "professorship", "heritage designation", "series spin-off", "conflict", "from fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patricia Arquette"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Jane"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Patricia Arquette\" . ?e_2 <pred:name> \"Thomas Jane\" . ?e_1 ?p ?e_2 .  }", "answer": "spouse"}, {"question": "Does the film Almost Famous have a website of http://www.cameroncrowe.com/eyes_ears/films/almostfamous/almostfamous_overview.html?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cameroncrowe.com/eyes_ears/films/almostfamous/almostfamous_overview.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Almost Famous"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cameroncrowe.com/eyes_ears/films/almostfamous/almostfamous_overview.html\" . ?e <title> ?pv . ?pv <pred:value> \"Almost Famous\" .  }", "answer": "yes"}, {"question": "The Dewey Decimal Classification of 2--78961 applies to which administrative territorial body with a population under 47000000 (a statement which was determined by using the estimation method)?", "choices": ["Ramsey County", "African Union", "Bernalillo County", "Cass County", "Pulaski County", "Orange County", "London Borough of Enfield", "Davidson County", "Washoe County", "Jersey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--78961"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "47000000", "<"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["determination method", "estimation process"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["administrative territorial entity"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--78961\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"47000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <determination_method> ?qpv . ?qpv <pred:value> \"estimation process\" .  }", "answer": "Bernalillo County"}, {"question": "How is The Matrix Reloaded connected to Sydney?", "choices": ["has cause", "talk show guest", "headquarters location", "filming location", "based on", "diplomatic relation", "located in time zone", "hair color", "continent", "patron saint"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Matrix Reloaded"]}, {"function": "Find", "dependencies": [], "inputs": ["Sydney"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Matrix Reloaded\" . ?e_2 <pred:name> \"Sydney\" . ?e_1 ?p ?e_2 .  }", "answer": "filming location"}, {"question": "Who produced Gone with the Wind (the one that has Olivia de Havilland as a cast member)?", "choices": ["William Henry Harrison", "Ed Asner", "Sylvester Stallone", "David O. Selznick", "Jack Warner", "Donny Osmond", "William Wyler", "Raymond Burr", "Richard Gere", "Hal B. Wallis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Olivia de Havilland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gone with the Wind"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Gone with the Wind\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Olivia de Havilland\" .   }", "answer": "David O. Selznick"}, {"question": "The Academy Award  winning Best Picture movie on 1970-01-01 was released in what location on 1969-07-18?", "choices": ["Croatia", "Venezuela", "Italy", "Germany", "Russia", "North America", "Norway", "Telluride Film Festival", "BFI London Film Festival", "United Kingdom"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1970-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1969-07-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:date> \"1970-01-01\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> \"1969-07-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many first-level administrative country subdivisions are a part of Australia (whose life expectancy is 81.29268 years)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "81.29268 year", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["first-level administrative country subdivision"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Australia\" . ?e_1 <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"81.29268\"^^xsd:double .   }", "answer": "2"}, {"question": "How is the adventure film Harry Potter and the Philosopher's Stone related to the Japan Academy Prize for Outstanding Foreign Language Film?", "choices": ["nominated for", "talk show guest", "next lower rank", "writing system", "distribution", "military rank", "tributary", "architect", "has cause", "use"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Philosopher's Stone"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Japan Academy Prize for Outstanding Foreign Language Film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Potter and the Philosopher's Stone\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"adventure film\" . ?e_2 <pred:name> \"Japan Academy Prize for Outstanding Foreign Language Film\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "The population of how many port cities surpasses 4600000?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4600000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["port city"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"4600000\"^^xsd:double ) .  }", "answer": "2"}, {"question": "What platform features Catwoman, the game with the Nintendo GameID of GCZP69 and the review score of 3/10?", "choices": ["Microsoft Windows", "Nintendo Entertainment System", "PlayStation 3", "verified badge", "Xbox 360", "Stromstad Treaty of 1751", "PlayStation 2", "Donald Trump", "pakistan", "IRQ"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catwoman"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GCZP69"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["review score", "3/10", "platform"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Catwoman\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"GCZP69\" . ?e <review_score> ?pv . ?pv <pred:value> \"3/10\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <platform> ?qpv .  }", "answer": "Microsoft Windows"}, {"question": "Is the duration of the television film whose title is Murder on the Orient Express greater than 10.0 hours?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Murder on the Orient Express"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["10.0 hour", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Murder on the Orient Express\" . ?e <duration> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> ?v . FILTER ( ?v > \"10.0\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Was F.C. Porto established after 1890?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["F.C. Porto"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1890", ">"]}], "sparql": "ASK { ?e <pred:name> \"F.C. Porto\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1890 ) .  }", "answer": "yes"}, {"question": "I need to know the art that is studied by the academic discipline that studies English.", "choices": ["photography", "English literature", "portrait", "English", "sword and sorcery", "conceptual art", "ballet", "romantic fantasy", "Dark Horse Comics", "acting"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["studies", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "Relate", "dependencies": [2], "inputs": ["studies", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["art"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art\" . ?e_1 <studies> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"academic discipline\" . ?e_1 <studies> ?e_2 . ?e_2 <pred:name> \"English\" .   }", "answer": "English literature"}, {"question": "About the person with the ISNI of 0000 0000 5516 5305, does he or she have a Twitter username equal to thedangelo ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5516 5305"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["thedangelo"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 5516 5305\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"thedangelo\" .  }", "answer": "yes"}, {"question": "Does the city where Cochin Haneefa have a population of less than 0.2?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cochin Haneefa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0.2", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Cochin Haneefa\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"0.2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the number of popular music that comes from UK ande that was incepted after 1943?", "choices": ["31", "32", "33", "34", "35", "36", "37", "38", "39", "40"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["popular music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1943", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["popular music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1943 ) .  }", "answer": "34"}, {"question": "When did Black Sabbath get into the Rock and Roll Hall of Fame?", "choices": ["1905", "2006-05-17", "2006", "1930-12-31", "1569", "2006-10-01", "2004-12-01", "2002-03-24", "1989-01-01", "2011-03-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rock and Roll Hall of Fame"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Black Sabbath"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rock and Roll Hall of Fame"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Black Sabbath\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Rock and Roll Hall of Fame\" . ?e_2 <pred:name> \"Rock and Roll Hall of Fame\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "For the big city that is Rot-Weiss Essen's headquarter location, what is the start time for its licence-plate code E?", "choices": ["1978-09-12", "1997-06-24", "1956-07-01", "1946-06-25", "1925", "1983-09-13", "1728-01-01", "1066", "1995-11-30", "1861-05-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rot-Weiss Essen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["licence plate code", "E", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Rot-Weiss Essen\" .  ?e <licence_plate_code> ?pv . ?pv <pred:value> \"E\" . [ <pred:fact_h> ?e ; <pred:fact_r> <licence_plate_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1956-07-01"}, {"question": "Which association football club's official website is http://www.vicenzacalcio.com/?", "choices": ["Udinese Calcio", "Middlesbrough F.C.", "Vicenza Calcio", "Zamalek SC", "Enosis Neon Paralimni FC", "AC Omonia", "Stade Brestois 29", "US Boulogne", "Levadiakos F.C.", "Brisbane Roar FC"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.vicenzacalcio.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.vicenzacalcio.com/\" .  }", "answer": "Vicenza Calcio"}, {"question": "Which has more seasons, All My Children or It which originally aired on the American Broadcasting Company?", "choices": ["Dancing with the Stars", "Seinfeld", "Saturday Night's Main Event", "All My Children", "Phineas and Ferb", "It", "Six Feet Under", "Bleak House", "American Horror Story", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["All My Children"]}, {"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["It"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"All My Children\" .  } UNION { ?e <pred:name> \"It\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"American Broadcasting Company\" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "All My Children"}, {"question": "How is blue-eyed soul related to Fergie?", "choices": ["political alignment", "child", "participant", "designated as terrorist by", "domain of saint or deity", "conflict", "famous people", "indigenous to", "interests", "editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["blue-eyed soul"]}, {"function": "Find", "dependencies": [], "inputs": ["Fergie"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"blue-eyed soul\" . ?e_2 <pred:name> \"Fergie\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Independence Day, featuring Mae Whitman as a cast member, got a Saturn Award for which Best Director winner?", "choices": ["Al Pacino", "Juliette Binoche", "Donna Gigliotti", "Roland Emmerich", "Raymond S. Persi", "Bill Westenhofer", "Cedric Gibbons", "N\u00e9stor Almendros", "Dolly Parton", "Danny Boyle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mae Whitman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Independence Day"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Independence Day\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Mae Whitman\" . ?e_2 <pred:name> \"Saturn Award for Best Director\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Roland Emmerich"}, {"question": "Which is shorter: Transformers, with Megan Fox as a cast member, or Airport, the Academy Award nominee for Best Supporting Actress?", "choices": ["The Fifth Element", "Pleasantville", "Training Day", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Rebecca", "Airport", "The Towering Inferno", "Talk to Her", "Transformers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Megan Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Airport"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Transformers\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Megan Fox\" .   } UNION { ?e <pred:name> \"Airport\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Airport"}, {"question": "What is the birth name of the director of Bernie?", "choices": ["Sofia Scicolone", "Christopher Eric Hitchens", "Kasper Peter Schmeichel", "Sean Patrick Hayes", "Javier \u00c1ngel Encinas Bardem", "Norman Kingsley Mailer", "\u0aae\u0acb\u0ab9\u0aa8\u0aa6\u0abe\u0ab8 \u0a97\u0abe\u0a82\u0aa7\u0ac0", "Richard Stuart Linklater", "Ashanti Shequoiya Douglas", "Nasir Bin Olu Dara Jones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bernie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Bernie\" .  ?e <birth_name> ?pv .  }", "answer": "Richard Stuart Linklater"}, {"question": "Which UK town is designated by WOEID 24024 ?", "choices": ["Grimsby", "Wigan", "Colchester", "Edmonton", "Royal Tunbridge Wells", "Slough", "Doncaster", "South Shields", "Hove", "Blackpool"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "24024"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <WOEID> ?pv . ?pv <pred:value> \"24024\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  }", "answer": "Hove"}, {"question": "What is the Munzinger IBA of George Segal (the one whose date of birth is 1924-11-26)?", "choices": ["00000018375", "00000018416", "00000001391", "00000023272", "00000021107", "00000025581", "00000013265", "00000021609", "00000022505", "00000003068"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Segal"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1924-11-26", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"George Segal\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1924-11-26\"^^xsd:date . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000013265"}, {"question": "Does Alaska (that has Vincent Kartheiser as a cast member) or Doctor Zhivago (that received an Academy Award for Best Writing, Adapted Screenplay) have the shorter running time?", "choices": ["Curse of the Golden Flower", "The Fifth Element", "Training Day", "Rebecca", "Doctor Zhivago", "A Prairie Home Companion", "Alaska", "The Towering Inferno", "Talk to Her", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vincent Kartheiser"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alaska"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Zhivago"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alaska\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Vincent Kartheiser\" .   } UNION { ?e <pred:name> \"Doctor Zhivago\" . ?e <award_received> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alaska"}, {"question": "What start time applies to Dr. Dre's Priority Records label?", "choices": ["1985-02-14", "1988", "2006-02-24", "1936-07-18", "2008-01-01", "1992-02-18", "1849-03-04", "2009-04-15", "1960-10-15", "1986-02-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dr. Dre"]}, {"function": "Find", "dependencies": [], "inputs": ["Priority Records"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["record label", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dr. Dre\" . ?e_2 <pred:name> \"Priority Records\" . ?e_1 <record_label> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <record_label> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1988"}, {"question": "What is the publication date for the film titled \"The Treasure of the Sierra Madre\"?", "choices": ["2003-04-17", "2003-10-20", "1968-01-01", "1984", "1948-01-24", "1985-02-20", "2003-02-14", "2009-06-18", "1958-01-01", "2018-12-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Treasure of the Sierra Madre"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Treasure of the Sierra Madre\" . ?e <publication_date> ?pv .  }", "answer": "1948-01-24"}, {"question": "Which area is smaller, Leicestershire or Surrey (the one whose area is 1163 square kilometre)?", "choices": ["Norfolk", "Surrey", "Warwickshire", "Northumberland", "West Midlands", "Derbyshire", "Cumbria", "Somerset", "Leicestershire", "Essex"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leicestershire"]}, {"function": "Find", "dependencies": [], "inputs": ["Surrey"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "1163 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Leicestershire\" . } UNION { ?e <pred:name> \"Surrey\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1163\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Surrey"}, {"question": "Which area has higher elevation above sea level, Baltimore or Boulder?", "choices": ["Waukegan", "Greenville", "New Haven", "New Britain", "Boulder", "Columbus", "Oakland", "Baltimore", "Lansing", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore"]}, {"function": "Find", "dependencies": [], "inputs": ["Boulder"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Baltimore\" .  } UNION { ?e <pred:name> \"Boulder\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Boulder"}, {"question": "How is X2 related to the MTV Movie Award for Best Kiss?", "choices": ["penalty", "child astronomical body", "participant of", "country", "nominated for", "culture", "season starts", "replaces", "has effect", "studied by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["X2"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Kiss"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"X2\" . ?e_2 <pred:name> \"MTV Movie Award for Best Kiss\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When was the creation of a historical country that is the country of Riga (which, itself, was established on 25th September 1621)?", "choices": ["1611-01-01", "1925-01-01", "1789", "1844", "1923-07-06", "1791-02-16", "1946-01-01", "1923-10-16", "1861", "1995-06-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Riga"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1621-09-25", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["historical country"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Riga\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> \"1621-09-25\"^^xsd:date . ?e <inception> ?pv .  }", "answer": "1611-01-01"}, {"question": "Tell me the one with the biggest area within the Italian region that shares a border with Lombardy.", "choices": ["Veneto", "Piedmont", "Sicily", "Emilia-Romagna", "Abruzzo", "Lazio", "Lombardy", "Sardinia", "Tuscany", "Basilicata"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lombardy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Lombardy\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Piedmont"}, {"question": "When was Alice, with a 170-minute run-time, a Primetime Emmy nominee for Outstanding Supporting Actress in a Miniseries or a Movie?", "choices": ["1964-10-01", "2016-03-03", "1688", "1925", "2012-12-01", "1929-01-01", "2010", "1807-01-01", "1966-08-19", "2002-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "170 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alice\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"170\"^^xsd:double . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "What is the official website for Angel whose date of birth is 1987-10-31?", "choices": ["http://www.sandiegocounty.gov", "http://thisisangel.com/", "http://www.dendarii.com/", "https://web.archive.org/web/20090202050724/http://alexander-thegame.com/us/", "http://www.miramax.com/movie/scary-movie-3", "http://www.pontefractus.co.uk/", "http://www.gmanetwork.com/entertainment/shows/eatbulaga", "http://www.armandassante.net", "http://wild.nhl.com/", "http://www.navajocountyaz.gov"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1987-10-31", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Angel\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1987-10-31\"^^xsd:date . ?e <official_website> ?pv .  }", "answer": "http://thisisangel.com/"}, {"question": "Which has fewer people, Auburn (the one that is the capital of Placer County) or Lafayette (the one whose postal code is 47901, 47904, 47905, 47909)?", "choices": ["Auburn", "Waukegan", "New Haven", "Oakland", "Lafayette", "Greenville", "Boulder", "Columbus", "Lansing", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Placer County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Auburn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lafayette"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["postal code", "47901, 47904, 47905, 47909"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Auburn\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Placer County\" . } UNION { ?e <pred:name> \"Lafayette\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"47901, 47904, 47905, 47909\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Auburn"}, {"question": "How many areas of water do we know whose vertical depth is less or more than 5,700 metres or whose water residence time is over 200 years ?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "5700 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["residence time of water", "200 year", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["water area"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" .  { ?e <vertical_depth> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5700\"^^xsd:double ) .  } UNION { ?e <residence_time_of_water> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"200\"^^xsd:double ) .  } }", "answer": "6"}, {"question": "What does Sparks have to do with pop rock?", "choices": ["military conflicts", "programming language", "official residence", "genre", "official color", "platform", "head coach", "country", "manufacturer", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sparks"]}, {"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sparks\" . ?e_2 <pred:name> \"pop rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "For the big city that is Thomas Aquinas' burial place, its demonym of Toulousain applies to which part?", "choices": ["masculine", "3rd arrondissement of Lyon", "Singaporeans", "The Straits", "Spencer County", "Degrassi, season 11", "Philippines", "public transport", "eastern Germany", "Calhoun County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Aquinas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "Toulousain", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> \"Thomas Aquinas\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Toulousain\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "For the film whose exploitation visa number is 146745 (the start time of this statement is 2017-05-24), where is it published on its publication date of 2017-06-01?", "choices": ["Iceland", "Johannesburg", "Slovenia", "Greek Theatre, Los Angeles", "Spain", "2003 Cannes Film Festival", "Quebec", "Montreal World Film Festival", "European Union", "Denmark"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "146745"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2017-05-24", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2017-06-01", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"146745\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"2017-05-24\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> \"2017-06-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Denmark"}, {"question": "tell me the one with the biggest amount of students within the secondary school that has under 23000 students", "choices": ["National Theatre School of Canada", "The Bronx High School of Science", "Fiorello H. LaGuardia High School", "Royal Military Academy", "Lee Strasberg Theatre and Film Institute", "Royal Academy of Dramatic Art", "Royal Military Academy Sandhurst", "National School of Drama", "London Academy of Music and Dramatic Art", "Stuyvesant High School"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "23000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"23000\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Bronx High School of Science"}, {"question": "For the Oregon county whose official website is http://www.co.douglas.or.us (the language of this statement is English), what is the time point for its population of 107667?", "choices": ["1939-01-01", "2000-07-05", "1620", "2001-02-21", "1998", "2005-04-01", "1936-12-01", "1940-10-01", "2010-04-01", "1919"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.douglas.or.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Oregon"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "107667", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.douglas.or.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"107667\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Does the native name \u9ed2\u6fa4\u660e  correspond to someone with Libris-URI code nl024z463cgt1l5?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "nl024z463cgt1l5"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["\u9ed2\u6fa4\u660e"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"nl024z463cgt1l5\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u9ed2\u6fa4\u660e\" .  }", "answer": "yes"}, {"question": "What is the number of economic branch that has the IAB code 669 or that is the product or material that JP Morgan Chase made.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "669"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["economic branch"]}, {"function": "Find", "dependencies": [], "inputs": ["JPMorgan Chase"]}, {"function": "Relate", "dependencies": [3], "inputs": ["product or material produced", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["economic branch"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"economic branch\" .  { ?e <IAB_code> ?pv . ?pv <pred:value> \"669\" .  } UNION { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> \"JPMorgan Chase\" .  } }", "answer": "2"}, {"question": "By which name is Bob Marley's IPI name number 00581446340 recorded in a database or mentioned as a work contributor ?", "choices": ["GAYE MARVIN P", "LERNER ALAN JAY", "MARLEY BOB", "HANDEL", "BOWIE DAVID", "GIBB BARRY ALAN", "LEITCH DONOVAN PHILLIPS", "Walt Disney Studios Motion Pictures", "GIBB MAURICE ERNEST", "BERRY CHUCK"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Marley"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["IPI name number", "00581446340", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bob Marley\" . ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00581446340\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "MARLEY BOB"}, {"question": "Is the ISNI of the band whose official English language website is http://www.theblackkeys.com 0000 0001 0796 4919?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theblackkeys.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 0796 4919"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.theblackkeys.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0796 4919\" .  }", "answer": "no"}, {"question": "Does Charles University or the University of Zurich have fewer students?", "choices": ["University of Zurich", "Imperial College London", "McMaster University", "University of Tehran", "University of Manchester", "Pennsylvania State University", "Charles University", "King's College London", "Presidency University", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Zurich"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charles University\" .  } UNION { ?e <pred:name> \"University of Zurich\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Zurich"}, {"question": "Was a person, whose ISNI is 0000 0001 1451 4588, born not in 1941 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1451 4588"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1941", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1451 4588\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1941 ) .  }", "answer": "yes"}, {"question": "Charlie Adler was the voice of which character on Aladdin, an Academy Award nominee for Best Sound Editing?", "choices": ["Eben Olemaun", "Sheriff of Nottingham", "Zorro", "Carrie Bradshaw", "Gazeem", "Andy Warhol", "Donna Sheridan-Carmichael", "Chester Phillips", "Hermes Conrad", "Larry Flynt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aladdin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Adler"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Aladdin\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Sound Editing\" . ?e_2 <pred:name> \"Charlie Adler\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Gazeem"}, {"question": "Which city has a smaller area, Austin or Rapid City?", "choices": ["Boulder", "Austin", "New Haven", "Franklin", "Lansing", "Columbus", "Greenville", "Oakland", "Compton", "Rapid City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austin"]}, {"function": "Find", "dependencies": [], "inputs": ["Rapid City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Austin\" .  } UNION { ?e <pred:name> \"Rapid City\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rapid City"}, {"question": "What is the number of college town whose population is equal to 390000 and that is the headquarter location of Columbia University Graduate School of Journalism ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "390000", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia University Graduate School of Journalism"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college town"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"390000\"^^xsd:double . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Columbia University Graduate School of Journalism\" .  }", "answer": "0"}, {"question": "What is the relationship between Lake Michigan and Green Bay, which is part of Lake Michigan?", "choices": ["noble title", "famous people", "collection", "hair color", "designed by", "place served by transport hub", "Wikidata property", "has part", "derivative work", "director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Lake Michigan"]}, {"function": "Relate", "dependencies": [1], "inputs": ["has part", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Green Bay"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lake Michigan\" . ?e_2 <pred:name> \"Green Bay\" . ?e_3 <has_part> ?e_2 . ?e_3 <pred:name> \"Lake Michigan\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "Did the person identified by ISNI 0000 0003 6111 0767 die sometime other than 1966 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6111 0767"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1966", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6111 0767\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1966 ) .  }", "answer": "yes"}, {"question": "When was the John Mills buried in Ohio born?", "choices": ["1754-12-22", "1924-02-19", "1949-07-27", "1969-03-11", "1930-09-07", "1901-09-19", "1947-01-08", "1969-11-10", "1880-01-17", "1913-02-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Mills"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Mills\" . ?e <place_of_burial> ?e_1 . ?e_1 <pred:name> \"Ohio\" .  ?e <date_of_birth> ?pv .  }", "answer": "1754-12-22"}, {"question": "What is the postal code of North Carolina Central University's headquarter location in Durham (the one whose postal code is 27715)?", "choices": ["22041\u201322769", "641001", "76534", "CH-4003", "27707", "23185", "NW1 5HT", "1010-A", "65201", "60120\u201360125"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Carolina Central University"]}, {"function": "Find", "dependencies": [], "inputs": ["Durham"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "27715"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"North Carolina Central University\" . ?e_2 <pred:name> \"Durham\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"27715\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "27707"}, {"question": "Is 2-44584 the correct Dewey Decimal Classification for the U.S. city with an ISNI of 0000 0004 0638 8552 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0638 8552"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["2--44584"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0638 8552\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--44584\" .  }", "answer": "no"}, {"question": "What is the date of first performance of the television series whose director is Mike Judge ?", "choices": ["1989", "1939-10-19", "1996-04-08", "1999-03-26", "1962-10-13", "2005-02-20", "1991-05-13", "1997-01-12", "2004-10-18", "1976"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Judge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of first performance"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Mike Judge\" .  ?e <date_of_first_performance> ?pv .  }", "answer": "1997-01-12"}, {"question": "Which human has the Munzinger IBA of 00000025568?", "choices": ["Djimon Hounsou", "Susan Hayward", "Sylvester Stallone", "Lindsay Lohan", "Richard Gere", "Arthur Freed", "Otto Preminger", "Joseph Gordon-Levitt", "Brian Wilson", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000025568"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000025568\" .  }", "answer": "Lindsay Lohan"}, {"question": "How is North Vietnam related to a republic ?", "choices": ["officeholder", "professorship", "basic form of government", "programming paradigm", "quotes work", "residence", "culture", "terminus", "owner of", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Vietnam"]}, {"function": "Find", "dependencies": [], "inputs": ["republic"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"North Vietnam\" . ?e_2 <pred:name> \"republic\" . ?e_1 ?p ?e_2 .  }", "answer": "basic form of government"}, {"question": "What is the relationship between Arcadia (whose elevation is 147 meters above sea level) and Los Angeles County?", "choices": ["located in the administrative territorial entity", "musical conductor", "quotes work", "place of birth", "contributing factor of", "nominated for", "takes place in fictional universe", "allegiance", "original film format", "movement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arcadia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "147 metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Arcadia\" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"147\"^^xsd:double . ?e_2 <pred:name> \"Los Angeles County\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What language is associated with the official website http://www.harfordcountymd.gov for the Maryland county whose PermID is 4296763139?", "choices": ["Belarusian", "Lithuanian", "Hungarian", "J\u00e8rriais", "Malagasy", "Ewe", "American English", "Montenegrin", "Old English", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4296763139"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maryland"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.harfordcountymd.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"4296763139\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.harfordcountymd.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many Virginia counties have a population of less than 77000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "77000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Virginia"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"77000\"^^xsd:double ) .  }", "answer": "8"}, {"question": "Which Twitter handle belongs to the Baltimore Orioles?", "choices": ["EsbjergfB", "VP", "villedelyon", "DeborahAnnWoll", "iHrithik", "SpursOfficial", "BeloHorizonte", "Orioles", "pontifex", "benjaminmadden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore Orioles"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Baltimore Orioles\" . ?e <Twitter_username> ?pv .  }", "answer": "Orioles"}, {"question": "Which has more episodes, Terry Pratchett's The Colour of Magic or Sonic X?", "choices": ["The Super Dimension Fortress Macross", "Magical Girl Lyrical Nanoha", "Code Geass", "Chrono Crusade", "Ponyo on the Cliff by the Sea", "Sonic X", "Vampire Knight", "Terry Pratchett's The Colour of Magic", "Magic Knight Rayearth", "Fullmetal Alchemist the Movie: Conqueror of Shamballa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terry Pratchett's The Colour of Magic"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonic X"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Terry Pratchett's The Colour of Magic\" .  } UNION { ?e <pred:name> \"Sonic X\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sonic X"}, {"question": "What human has the native language name of Bruno Mars/ Peter Hernandezz and has the Instagram username is brunomars?", "choices": ["Babyface", "Bruno Mars", "Simon Cowell", "William Henry Harrison", "James E. Reilly", "Paul Simon", "Sylvester Stallone", "Rahul Dev Burman", "Max Fleischer", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Bruno Mars/ Peter Hernandezz"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Instagram username", "brunomars"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Bruno Mars/ Peter Hernandezz\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"brunomars\" .  }", "answer": "Bruno Mars"}, {"question": "What is the native label of the Dutch Republic?", "choices": ["\u4e2d\u83ef\u6c11\u570b", "\ud55c\uad6d \uc804\uc7c1", "Salisbury", "R\u012bga", "\ud0dc\uad8c\ub3c4", "Brescia", "Cubanoamericanos", "England", "San Antonio", "Republiek der Zeven Verenigde Nederlanden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dutch Republic"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dutch Republic\" . ?e <native_label> ?pv .  }", "answer": "Republiek der Zeven Verenigde Nederlanden"}, {"question": "Which CANTIC-ID designates the film released in Brazil on 1967-07-02?", "choices": ["a11945564", "a10073140", "a11843755", "a11821802", "a11857626", "a11100709", "a12008783", "a10945015", "a1144938x", "a11794021"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1967-07-02", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "Brazil"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1967-07-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Brazil\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a12008783"}, {"question": "Among the rivers whose watershed area is less than 820000 square kilometre,which one has the smallest watershed area ?", "choices": ["Mississippi River", "Chicago", "Ohio River", "Amazon", "Danube", "Missouri River", "Rhine", "Columbia River", "Hudson River", "River Thames"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["watershed area", "820000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <watershed_area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"820000\"^^xsd:double ) . ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "River Thames"}, {"question": "At what point in time did the political twinned administrative body of Amman (the start time of this statement is 2002-01-01) have a population of 741651?", "choices": ["2017-08-31", "1491", "1758", "1996-09-25", "1858", "2009-09-01", "1837-01-01", "1684", "2006-04-19", "2011"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2002-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "741651", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Amman\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"2002-01-01\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"741651\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "What is the visual artwork in Berlin based off of Casino Royale whose publication date is 1953-04-13?", "choices": ["Mission: Impossible III", "Training Day", "Rebecca", "Casino Royale", "Talk to Her", "The Towering Inferno", "A Prairie Home Companion", "Pleasantville", "Curse of the Golden Flower", "The Lives of Others"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berlin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Casino Royale"]}, {"function": "FilterDate", "dependencies": [3], "inputs": ["publication date", "1953-04-13", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Berlin\" .  ?e <based_on> ?e_2 . ?e_2 <pred:name> \"Casino Royale\" . ?e_2 <publication_date> ?pv . ?pv <pred:date> \"1953-04-13\"^^xsd:date .  }", "answer": "Casino Royale"}, {"question": "What is the connection between Richard Price (the one that is an ethnic group of Jewish people) to Academy Award for Best Writing, Adapted Screenplay?", "choices": ["filmography", "honorific suffix", "continent", "industry", "nominated for", "student of", "interests", "draft pick from school", "source of income", "partially contains"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Price"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Price\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"Jewish people\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "For the working-location city of David Zucker (the one whose date of birth is 1948-09-11), is its pronunciation audio equal to De-Eugen Berthold Friedrich Brecht.oga (the language of this statement is Hebrew)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Zucker"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1948-09-11", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["pronunciation audio", "language of work or name", "Hebrew"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["De-Eugen Berthold Friedrich Brecht.oga"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <work_location> ?e . ?e_1 <pred:name> \"David Zucker\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1948-09-11\"^^xsd:date . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"De-Eugen Berthold Friedrich Brecht.oga\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Hebrew\" .  }", "answer": "no"}, {"question": "Which has less area, Polk County whose FIPS 6-4 (US counties) is 19153 or Lee County whose area is 1174 square kilometres?", "choices": ["African Union", "Polk County", "Lee County", "United States Virgin Islands", "Greene County", "Kent County", "Delaware County", "Orange County", "Washoe County", "San Juan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Polk County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "19153"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["area", "1174 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Polk County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"19153\" . } UNION { ?e <pred:name> \"Lee County\" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> \"square kilometre\" . ?pv_2 <pred:value> \"1174\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lee County"}, {"question": "On what date did Stephen Ellis Garrett pass away?", "choices": ["1984-04-10", "1988-07-18", "1827-03-26", "2009-11-16", "2008-02-25", "1986-03-13", "1996-07-30", "2015-07-21", "1972-11-29", "1976-11-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Stephen Ellis Garrett"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Stephen Ellis Garrett\" . ?e <date_of_death> ?pv .  }", "answer": "2008-02-25"}, {"question": "In which department of france was the annual number of weddings, valid on 1st January 2015, 4973?", "choices": ["Haute-Savoie", "Somme", "Calvados", "Bas-Rhin", "Seine-et-Marne", "Alpes-Maritimes", "Dordogne", "Yvelines", "Vaucluse", "Manche"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["annual number of weddings", "4973", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2015-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["departments of France"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4973\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <annual_number_of_weddings> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2015-01-01\"^^xsd:date .  }", "answer": "Seine-et-Marne"}, {"question": "How is Danville (the one whose population is 42884) related to United States of America ?", "choices": ["country", "military branch", "fictional universe described in", "medical condition", "make-up artist", "family", "does not have part", "culture", "screenwriter", "costume designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danville"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "42884", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Danville\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"42884\"^^xsd:double . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Hiw is Nixon related to Jimmy Carter (the one that use English as the native language)   ?", "choices": ["owned by", "vehicle normally used", "developer", "dialect of", "art director", "legal form", "material used", "cast member", "honorific prefix", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nixon"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [1], "inputs": ["native language", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jimmy Carter"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nixon\" . ?e_2 <pred:name> \"Jimmy Carter\" . ?e_2 <native_language> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When did South Korea join the Organisation for Economic Co-operation and Development?", "choices": ["1985-07-01", "1996-12-12", "1853-10-01", "1938-10-15", "2001-09-09", "1712", "2002-04-29", "2012-07-24", "1992-07-17", "2007-06-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "Find", "dependencies": [], "inputs": ["Organisation for Economic Co-operation and Development"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"South Korea\" . ?e_2 <pred:name> \"Organisation for Economic Co-operation and Development\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1996-12-12"}, {"question": "Which movie cost more to make, My Fair Lady or Kill Bill Volume 1?", "choices": ["The Towering Inferno", "Training Day", "A Prairie Home Companion", "The Fifth Element", "Kill Bill Volume 1", "Rebecca", "Pleasantville", "Talk to Her", "The Hunchback of Notre Dame", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Fair Lady"]}, {"function": "Find", "dependencies": [], "inputs": ["Kill Bill Volume 1"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"My Fair Lady\" .  } UNION { ?e <pred:name> \"Kill Bill Volume 1\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kill Bill Volume 1"}, {"question": "In what New Jersey city does Natalie Morales who was born on 1972-06-06 live?", "choices": ["Passaic", "Elizabeth", "East Orange", "Jersey City", "Paterson", "Hoboken", "Bayonne", "Atlantic City", "Perth Amboy", "Trenton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natalie Morales"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1972-06-06", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city in New Jersey"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Natalie Morales\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1972-06-06\"^^xsd:date .   }", "answer": "Hoboken"}, {"question": "When was the birth of the Filmfare Award Best Actress winner for her work on Beta?", "choices": ["1967-05-15", "1978-12-30", "1959-09-05", "1890-08-20", "1972-04-20", "1902-06-17", "1924-09-28", "1977-09-23", "1920-03-06", "1937-08-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Beta"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Filmfare Award for Best Actress\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Beta\" . ?e <date_of_birth> ?pv .  }", "answer": "1967-05-15"}, {"question": "Is a10136605 Robert A. Heinlein's CANTIC-ID?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert A. Heinlein"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["a10136605"]}], "sparql": "ASK { ?e <pred:name> \"Robert A. Heinlein\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10136605\" .  }", "answer": "no"}, {"question": "Is StevenWilsonHQ the Twitter username of Steven Wilson?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Wilson"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["StevenWilsonHQ"]}], "sparql": "ASK { ?e <pred:name> \"Steven Wilson\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"StevenWilsonHQ\" .  }", "answer": "yes"}, {"question": "What is the association of Maryland (whose title is Maryland) with David Buttolph?", "choices": ["original film format", "composer", "parent organization", "film editor", "programming paradigm", "follows", "killed by", "product or material produced", "director/manager", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maryland"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Maryland"]}, {"function": "Find", "dependencies": [], "inputs": ["David Buttolph"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Maryland\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Maryland\" . ?e_2 <pred:name> \"David Buttolph\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Does Juhi Chawla or Salma Hayek have fewer children?", "choices": ["Max Fleischer", "Richard Gere", "Simon Cowell", "James E. Reilly", "William Henry Harrison", "David Byrne", "Sylvester Stallone", "Salma Hayek", "Paul Simon", "Juhi Chawla"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juhi Chawla"]}, {"function": "Find", "dependencies": [], "inputs": ["Salma Hayek"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Juhi Chawla\" .  } UNION { ?e <pred:name> \"Salma Hayek\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salma Hayek"}, {"question": "Eastern Kentucky University goes by which name on Giphy ?", "choices": ["eku", "ge", "tulsahurricane", "itsawonderfullife", "patrickstewart", "lakings", "cbs", "ebay", "whitneycummingshbo", "eltonjohn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Kentucky University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Eastern Kentucky University\" . ?e <Giphy_username> ?pv .  }", "answer": "eku"}, {"question": "Is  http://mpophotohost.com/~mposystems/filehost/oedework/index.html the official website for the rock band whose ISNI is 0000 0001 0675 264X ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0675 264X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://mpophotohost.com/~mposystems/filehost/oedework/index.html"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0675 264X\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://mpophotohost.com/~mposystems/filehost/oedework/index.html\" .  }", "answer": "no"}, {"question": "What is the connection between Tim Conway to screenwriter?", "choices": ["different from", "signatory", "grants", "organizer", "official color", "noble title", "copyright holder", "natural product of taxon", "geography of topic", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tim Conway"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tim Conway\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Does the Australian National University or the University of Zurich have more students?", "choices": ["Imperial College London", "McNeese State University", "University of Zurich", "Australian National University", "King's College London", "Presidency University", "University of Manchester", "McMaster University", "Panjab University", "University of Tehran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australian National University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Zurich"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Australian National University\" .  } UNION { ?e <pred:name> \"University of Zurich\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Zurich"}, {"question": "Tell me the relationship between buddy film and Boogie Nights.", "choices": ["manner of death", "followed by", "art director", "license", "feast day", "has part", "official language", "has parts of the class", "basin country", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boogie Nights"]}, {"function": "Find", "dependencies": [], "inputs": ["buddy film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Boogie Nights\" . ?e_2 <pred:name> \"buddy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which written was nominated  for the Prometheus Award in 2003?", "choices": ["Live and Let Die", "The Painted Veil", "Interview with the Vampire", "listed building in the United Kingdom", "A Single Man", "The Maltese Falcon", "The Hours", "The Lord of the Rings", "Contact", "Starship Troopers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prometheus Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["written work"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Prometheus Award\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2003 .  }", "answer": "The Lord of the Rings"}, {"question": "Did 2010: The Year We Make Contact or The Lord of the Rings: The Two Towers (released in Lithuania), achieve the higher box office amount?", "choices": ["The Fifth Element", "Talk to Her", "The Lord of the Rings: The Two Towers", "2010: The Year We Make Contact", "Rebecca", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion", "The Towering Inferno", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2010: The Year We Make Contact"]}, {"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Two Towers"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"2010: The Year We Make Contact\" .  } UNION { ?e <pred:name> \"The Lord of the Rings: The Two Towers\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Lithuania\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings: The Two Towers"}, {"question": "Tell me the direction of KwaZulu-Natal shares a border with Eastern Cape.", "choices": ["north-northeast", "west", "northeast", "north", "loan", "Embassy of Ukraine, Yerevan", "east", "143242", "QT0525000", "southwest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["KwaZulu-Natal"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Cape"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "direction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"KwaZulu-Natal\" . ?e_2 <pred:name> \"Eastern Cape\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction> ?qpv .  }", "answer": "southwest"}, {"question": "How many TV production companies located in the United States of America have the Instagram username of fxnetworks?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["TV production company"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Instagram username", "fxnetworks"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["TV production company"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"TV production company\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"fxnetworks\" .  }", "answer": "1"}, {"question": "What is the relationship between Art Nouveau to Art Deco?", "choices": ["has dialect (DEPRECATED)", "geographic distribution", "appointed by", "residence", "film editor", "father", "operating area", "capital", "followed by", "location of discovery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Art Nouveau"]}, {"function": "Find", "dependencies": [], "inputs": ["Art Deco"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Art Nouveau\" . ?e_2 <pred:name> \"Art Deco\" . ?e_1 ?p ?e_2 .  }", "answer": "followed by"}, {"question": "What is the connection between the University of California, Hastings College of the Law to California (the one that contains the administrative division Santa Clara County)?", "choices": ["currency", "located in the administrative territorial entity", "appears in the form of", "subsidiary", "copyright representative", "natural product of taxon", "applies to jurisdiction", "after a work by", "patron saint", "position played on team / speciality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Hastings College of the Law"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Clara County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of California, Hastings College of the Law\" . ?e_2 <pred:name> \"California\" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Santa Clara County\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How does Marilyn Bergman related to 56th Academy Awards ?", "choices": ["distribution", "military casualty classification", "theme music", "work location", "parent astronomical body", "award received", "official symbol", "replaced by", "game mode", "software engine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marilyn Bergman"]}, {"function": "Find", "dependencies": [], "inputs": ["56th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marilyn Bergman\" . ?e_2 <pred:name> \"56th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which one has a lower melting point,  folic acid or L-phenylalanine ?", "choices": ["cis-oleic acid", "stearic acid", "palmitic acid", "L-phenylalanine", "thiamine ion", "folic acid", "sucrose", "L-Arginine", "L-Leucine", "capric acid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["folic acid"]}, {"function": "Find", "dependencies": [], "inputs": ["L-phenylalanine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["melting point", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"folic acid\" .  } UNION { ?e <pred:name> \"L-phenylalanine\" .  } ?e <melting_point> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "folic acid"}, {"question": "What is the number of departments of France whose capital is Nice or Avignon?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nice"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "Find", "dependencies": [], "inputs": ["Avignon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["departments of France"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Nice\" .  } UNION { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Avignon\" .  } }", "answer": "2"}, {"question": "Who has more children, Jeremy Clarkson or George H. W. Bush?", "choices": ["Paul Simon", "William Henry Harrison", "Simon Cowell", "George H. W. Bush", "Rahul Dev Burman", "David Byrne", "Richard Gere", "Sylvester Stallone", "Max Fleischer", "Jeremy Clarkson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Clarkson"]}, {"function": "Find", "dependencies": [], "inputs": ["George H. W. Bush"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jeremy Clarkson\" .  } UNION { ?e <pred:name> \"George H. W. Bush\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "George H. W. Bush"}, {"question": "Did the person with ISNI number 0000 0001 1463 1725 die in a year other than 1985 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1463 1725"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1985", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1463 1725\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1985 ) .  }", "answer": "yes"}, {"question": "Who is taller, Adam Smith (the one that is a member of Tottenham Hotspur F.C.) or Chris Carter (the one whose height is 185 centimetre)?", "choices": ["Adam Smith", "Richard Gere", "James E. Reilly", "Simon Cowell", "Paul Simon", "Chris Carter", "Rahul Dev Burman", "William Henry Harrison", "Max Fleischer", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tottenham Hotspur F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chris Carter"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["height", "185 centimetre", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adam Smith\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Tottenham Hotspur F.C.\" . } UNION { ?e <pred:name> \"Chris Carter\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"185\"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chris Carter"}, {"question": "Where was Valkyrie published on 2009-01-22?", "choices": ["Los Angeles", "Bahrain", "Hollywood", "Singapore", "R\u00e4ttvik", "Norway", "Germany", "Russia", "Lebanon", "India"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Valkyrie"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2009-01-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Valkyrie\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-01-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between John Kerry to diplomat?", "choices": ["country for sport", "occupation", "sports season of league or competition", "located on terrain feature", "after a work by", "had as last meal", "presenter", "coextensive with", "significant event", "risk factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Kerry"]}, {"function": "Find", "dependencies": [], "inputs": ["diplomat"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Kerry\" . ?e_2 <pred:name> \"diplomat\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Who is shorter, Hensley Meulens or Chris Cooper (the one that is a member of San Francisco 49ers)?", "choices": ["Rahul Dev Burman", "Hensley Meulens", "David Byrne", "William Henry Harrison", "Simon Cowell", "Chris Cooper", "Richard Gere", "Max Fleischer", "Sylvester Stallone", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hensley Meulens"]}, {"function": "Find", "dependencies": [], "inputs": ["San Francisco 49ers"]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Cooper"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hensley Meulens\" .  } UNION { ?e <pred:name> \"Chris Cooper\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"San Francisco 49ers\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hensley Meulens"}, {"question": "Which person penned The Hitchhiker's Guide to the Galaxy, which concluded on 1981-02-09?", "choices": ["Marc Joseph", "David Byrne", "Max Fleischer", "Sylvester Stallone", "Keith Jarrett", "Douglas Adams", "William Henry Harrison", "Richard Gere", "Simon Cowell", "Amadeus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Hitchhiker's Guide to the Galaxy"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1981-02-09", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["after a work by", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <after_a_work_by> ?e . ?e_1 <pred:name> \"The Hitchhiker's Guide to the Galaxy\" . ?e_1 <end_time> ?pv . ?pv <pred:date> \"1981-02-09\"^^xsd:date .   }", "answer": "Douglas Adams"}, {"question": "Since when does University of Arizona have the significant event of mixed-sex education within the schedule?", "choices": ["2009-04-01", "1891", "927", "1938", "1095", "2003-04-30", "2004-05-14", "1946-08-22", "1992-07-17", "2015-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Arizona"]}, {"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["significant event", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Arizona\" . ?e_2 <pred:name> \"mixed-sex education\" . ?e_1 <significant_event> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1891"}, {"question": "Which has the larger area, Marietta or Bradenton?", "choices": ["Columbus", "New Haven", "Compton", "Lansing", "Oakland", "Greenville", "Boulder", "Franklin", "Marietta", "Bradenton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marietta"]}, {"function": "Find", "dependencies": [], "inputs": ["Bradenton"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marietta\" .  } UNION { ?e <pred:name> \"Bradenton\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marietta"}, {"question": "Tell me the college that is a part of Georgetown University.", "choices": ["Denison University", "Edmund A. Walsh School of Foreign Service", "Trinity College", "Ohio Wesleyan University", "Morehouse College", "Harvard College", "Lafayette College", "University College London", "Kenyon College", "University College Dublin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgetown University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Georgetown University\" .   }", "answer": "Edmund A. Walsh School of Foreign Service"}, {"question": "How is post-metal related to the United States of America?", "choices": ["dissertation submitted to", "operator", "child", "programming paradigm", "legislative body", "creator", "mouth of the watercourse", "territory claimed by", "country of origin", "performer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["post-metal"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"post-metal\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the official website of Club Universitario de Deportes?", "choices": ["http://www.tupeloms.gov/", "http://www.clarkefoundation.org/", "https://www.noord-holland.nl/", "http://www.epicstoriesofthebible.com", "http://universitario.pe/", "http://www.rockymountnc.gov", "http://www.ppp.org.pk/", "http://www.sussex.nj.us/", "http://www.ku.dk", "http://www.kathieleegifford.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Club Universitario de Deportes"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Club Universitario de Deportes\" . ?e <official_website> ?pv .  }", "answer": "http://universitario.pe/"}, {"question": "Is the ISNI of Dustin Hoffman 0000 0001 2138 5710 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dustin Hoffman"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 2138 5710"]}], "sparql": "ASK { ?e <pred:name> \"Dustin Hoffman\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2138 5710\" .  }", "answer": "no"}, {"question": "What language is used on the website of the University of Texas at El Paso, www.utep.edu?", "choices": ["Latin script", "Malagasy", "Put\u00e8r", "Azerbaijani", "Canadian English", "Cornish", "Esperanto", "Classical Latin", "Tahitian", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Texas at El Paso"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.utep.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"University of Texas at El Paso\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.utep.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which jazz style that famously includes Jeff Beck was created more recently than 1905?", "choices": ["vocal jazz", "free jazz", "post-bop", "instrumental rock", "Latin jazz", "jazz fusion", "hard rock", "Jazz piano", "electronica", "nu jazz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Beck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["jazz"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1905", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["jazz"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Jeff Beck\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1905 ) .  }", "answer": "jazz fusion"}, {"question": "The person with ISNI # 0000 0001 1470 0866 earned how many Golden Raspberry Awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1470 0866"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Golden Raspberry Awards"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Raspberry Awards\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1470 0866\" .   }", "answer": "1"}, {"question": "Is Green Zone or The Brothers Grimm shorter?", "choices": ["The Brothers Grimm", "Rebecca", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Towering Inferno", "Green Zone", "A Prairie Home Companion", "Pleasantville", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Zone"]}, {"function": "Find", "dependencies": [], "inputs": ["The Brothers Grimm"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Green Zone\" .  } UNION { ?e <pred:name> \"The Brothers Grimm\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Green Zone"}, {"question": "Is the official website of the administrative territorial entity that contains Exeter (in the country of United States of America) http://www.northernirelandyears.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Exeter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["http://www.northernirelandyears.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Exeter\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.northernirelandyears.com\" .  }", "answer": "no"}, {"question": "When was Jim Brown (the one that is an employee of University of Toronto) born>", "choices": ["1896-12-23", "1824-08-24", "1943-07-23", "1987-07-27", "1944-01-10", "1972-12-25", "1958-12-20", "1969-01-01", "1947-09-14", "1951-04-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Toronto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jim Brown\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"University of Toronto\" .  ?e <date_of_birth> ?pv .  }", "answer": "1943-07-23"}, {"question": "Does the person with a Munzinger IBA of 00000016263 have an ISNI equal to 0000 0001 0802 9148?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000016263"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0802 9148"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000016263\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0802 9148\" .  }", "answer": "no"}, {"question": "Between Shrewsbury or Dorchester, which has less elevation above sea level as long as the area is 4.92 square kilometre?", "choices": ["Taunton", "Ipswich", "Warwick", "Aylesbury", "Shrewsbury", "Bedford", "Dorchester", "Reading", "Maidstone", "Guildford"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shrewsbury"]}, {"function": "Find", "dependencies": [], "inputs": ["Dorchester"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "4.92 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shrewsbury\" . } UNION { ?e <pred:name> \"Dorchester\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"4.92\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dorchester"}, {"question": "How is Rabat related to Istanbul, population 3904588?", "choices": ["director of photography", "original film format", "feast day", "work location", "start point", "has contributing factor", "appointed by", "place of publication", "twinned administrative body", "participant of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rabat"]}, {"function": "Find", "dependencies": [], "inputs": ["Istanbul"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "3904588", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rabat\" . ?e_2 <pred:name> \"Istanbul\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3904588\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Was John Wood born before or after 1929?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Wood"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "John Wood the elder"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1929", ">"]}], "sparql": "ASK { ?e <pred:name> \"John Wood\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"John Wood the elder\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1929 ) .  }", "answer": "no"}, {"question": "What is the connection between Mary and Max to comedy-drama?", "choices": ["significant person", "characters", "languages spoken, written or signed", "partner", "religious order", "librettist", "has cause", "genre", "airline alliance", "editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary and Max"]}, {"function": "Find", "dependencies": [], "inputs": ["comedy-drama"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mary and Max\" . ?e_2 <pred:name> \"comedy-drama\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does Abilene or Richmond whose official website is http://www.ci.richmond.ca.us have more area?", "choices": ["Abilene", "Greenville", "Lansing", "Columbus", "Compton", "Waukegan", "Franklin", "Boulder", "Oakland", "Richmond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Abilene"]}, {"function": "Find", "dependencies": [], "inputs": ["Richmond"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.ci.richmond.ca.us"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Abilene\" . } UNION { ?e <pred:name> \"Richmond\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.richmond.ca.us\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Abilene"}, {"question": "How is South Carolina related to the Appalachian Mountains?", "choices": ["had as last meal", "academic degree", "foundational text", "practiced by", "contributing factor of", "inspired by", "home venue", "filming location", "partially contains", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Carolina"]}, {"function": "Find", "dependencies": [], "inputs": ["Appalachian Mountains"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"South Carolina\" . ?e_2 <pred:name> \"Appalachian Mountains\" . ?e_1 ?p ?e_2 .  }", "answer": "partially contains"}, {"question": "What is Verizon's IRS Employer Identification Number?", "choices": ["91-1646860", "13-0871985", "20-8686806", "77-0493581", "94-2404110", "22-1024240", "13-1275970", "23-2259884", "14-\u00ad0689340", "20-0049703"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Verizon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IRS Employer Identification Number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Verizon\" . ?e <IRS_Employer_Identification_Number> ?pv .  }", "answer": "23-2259884"}, {"question": "How many literary awards were nominated to Margaret Atwood and whose discipline is fiction?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Margaret Atwood"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "Find", "dependencies": [], "inputs": ["fiction"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award disciplines or subjects", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Margaret Atwood\" .  ?e <award_disciplines_or_subjects> ?e_2 . ?e_2 <pred:name> \"fiction\" .  }", "answer": "5"}, {"question": "Is Aylesbury 2200000 square feet in size?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aylesbury"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["2200000 square foot", "="]}], "sparql": "ASK { ?e <pred:name> \"Aylesbury\" . ?e <area> ?pv . ?pv <pred:unit> \"square foot\" . ?pv <pred:value> \"2200000\"^^xsd:double .  }", "answer": "no"}, {"question": "What is the connection between This Means War?", "choices": ["http://hereafter.warnerbros.com", "http://www.diddy.com", "http://www.sekitomokazu.com", "http://www.thismeanswarmovie.com/", "https://teammelli.ir/", "http://www.take2games.com", "http://www.johnwilliams.org", "http://www.killersthemovie.com/", "http://www.usanetwork.com/series/monk", "http://www.miramax.com/movie/scary-movie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["This Means War"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"This Means War\" . ?e <official_website> ?pv .  }", "answer": "http://www.thismeanswarmovie.com/"}, {"question": "What number of unitary states have an inflation rate of less than 6800 percentage?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "6800 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6800\"^^xsd:double ) .  }", "answer": "14"}, {"question": "What is the connection between Metropolis (the one whose duration is 153 minute) to Sweden?", "choices": ["residence", "filmography", "capital", "territory overlaps", "does not have part", "partner", "significant person", "named after", "film release region", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metropolis"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "153 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Metropolis\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"153\"^^xsd:double . ?e_2 <pred:name> \"Sweden\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Among news programs with more than 0 seasons, which has the shortest duration?", "choices": ["Western Desert Campaign", "Android", "The Colbert Report", "Napoleonic Wars", "manufacturing", "FreeBSD", "Second Intifada", "Today", "The Daily Show", "Orange"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "0", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"0\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Daily Show"}, {"question": "Of news broadcasts which were Primetime Emmy nominees for Outstanding Writing for a Variety, Music or Comedy Program, which has the lowest total episodes?", "choices": ["Good Morning America", "Napoleonic Wars", "Second Intifada", "Western Desert Campaign", "Today", "FreeBSD", "Orange", "The Daily Show", "The Colbert Report", "Android"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Colbert Report"}, {"question": "Does James Marsters have as his official website http://www.nh.gov ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Marsters"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.nh.gov"]}], "sparql": "ASK { ?e <pred:name> \"James Marsters\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nh.gov\" .  }", "answer": "no"}, {"question": "When was http://cbmuse.com/, the official website of Chris Brown (whose ISNI is 0000 0001 1598 8582), retrieved?", "choices": ["2017-06-24", "2017-07-19", "2015-10-24", "2015-04-12", "2018-06-24", "2017-07-02", "2017-07-01", "2017-06-02", "2017-07-11", "2015-01-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Brown"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1598 8582"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "http://cbmuse.com/", "retrieved"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Chris Brown\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1598 8582\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://cbmuse.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv .  }", "answer": "2015-10-24"}, {"question": "IS NGA the FIFA country code for the national association football team whose ranking is 130th on the date 1994-09-13)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "130", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1994-09-13", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIFA country code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["NGA"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"130\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1994-09-13\"^^xsd:date . ?e <FIFA_country_code> ?pv . ?pv <pred:value> \"NGA\" .  }", "answer": "no"}, {"question": "Does Islington or Chiswick take up a smaller area?", "choices": ["Westminster", "Lewisham", "Paddington", "Chiswick", "Croydon", "Lambeth", "Islington", "Hammersmith", "Wandsworth", "Bromley"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Islington"]}, {"function": "Find", "dependencies": [], "inputs": ["Chiswick"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Islington\" .  } UNION { ?e <pred:name> \"Chiswick\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chiswick"}, {"question": "What is the character role of Ian McShane (the one whose CANTIC-ID is a11590919) in Kung Fu Panda (the one whose release region is Ukraine)?", "choices": ["Gerald Westerby", "Derek Smalls", "Cosmo Kramer", "Kato", "Kent Brockman", "Paul III", "Henry Thomas", "Father Liam", "Tai Lung", "Alex Munday"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kung Fu Panda"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ian McShane"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["CANTIC-ID", "a11590919"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kung Fu Panda\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Ukraine\" . ?e_2 <pred:name> \"Ian McShane\" . ?e_2 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11590919\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Tai Lung"}, {"question": "Who has fewer children, Barbara Walters or James Caan (the one that is educated at Harvard University)?", "choices": ["Rahul Dev Burman", "James E. Reilly", "Barbara Walters", "James Caan", "Richard Gere", "David Byrne", "Paul Simon", "Sylvester Stallone", "Max Fleischer", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barbara Walters"]}, {"function": "Find", "dependencies": [], "inputs": ["Harvard University"]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Caan"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barbara Walters\" .  } UNION { ?e <pred:name> \"James Caan\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Harvard University\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Barbara Walters"}, {"question": "What U.S. city is the capital of Warren County whose FIPS 6-4 (US counties) is 21227?", "choices": ["New Haven", "Chillicothe", "Boulder", "Waukegan", "Franklin", "Bowling Green", "Oakland", "Columbus", "Compton", "Whittier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "21227"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Warren County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"21227\" .   }", "answer": "Bowling Green"}, {"question": "What is the connection between Damian Marley to 2002 Grammy Awards?", "choices": ["director", "political ideology", "update method", "has cause", "has dialect (DEPRECATED)", "after a work by", "award received", "head of state", "sports season of league or competition", "contains settlement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Damian Marley"]}, {"function": "Find", "dependencies": [], "inputs": ["2002 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Damian Marley\" . ?e_2 <pred:name> \"2002 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "When did Anne Bancroft conclude her studies at her alma mater, American Academy of Dramatic Arts?", "choices": ["1972-03-25", "2009-07-01", "1829-03-04", "1994-09-20", "1971-10-25", "1998-05-31", "1962-01-01", "1972-12-21", "1328-01-01", "1950-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne Bancroft"]}, {"function": "Find", "dependencies": [], "inputs": ["American Academy of Dramatic Arts"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Anne Bancroft\" . ?e_2 <pred:name> \"American Academy of Dramatic Arts\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1950-01-01"}, {"question": "What is the official website of the school district whose headquarters is located in Los Angeles at the street address 333 S. Beaudry Ave.?", "choices": ["http://laurentom.com/", "http://www.clubcultura.com/clubcine/clubcineastas/almodovar/volverlapelicula/index.html", "http://www.ohio.gov", "http://lausd.net/", "http://web.archive.org/web/20070926212852/http://www.capcom-europe.com/residentevil/remake/", "https://www.cityofvancouver.us/", "http://www.sesamestreet.org/", "http://www.devilwearsprada-book.com", "http://www.limerickcoco.ie", "http://www.the-holiday-movie.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["located at street address", "333 S. Beaudry Ave."]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["school district"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school district\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address> ?qpv . ?qpv <pred:value> \"333 S. Beaudry Ave.\" . ?e <official_website> ?pv .  }", "answer": "http://lausd.net/"}, {"question": "What does Moonstruck have to do with Golden Globe Award for Best Screenplay?", "choices": ["narrative location", "capital of", "educated at", "feast day", "office held by head of government", "nominated for", "commissioned by", "place of death", "contains administrative territorial entity", "newspaper format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moonstruck"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Screenplay"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Moonstruck\" . ?e_2 <pred:name> \"Golden Globe Award for Best Screenplay\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the connection between banjo and Joe Satriani?", "choices": ["named after", "public holiday", "famous people", "industry", "capital", "place of burial", "manner of death", "legal form", "composer", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["banjo"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Satriani"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"banjo\" . ?e_2 <pred:name> \"Joe Satriani\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What language is associated with the official website http://www.lionsgate.com for the film production company that is the distributor of The Perks of Being a Wallflower (whose release region is Finland)?", "choices": ["Catalan", "Luxembourgish", "Indian English", "Slovak", "Indonesian", "Esperanto", "English", "British English", "Cornish", "Cook Islands M\u0101ori"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Perks of Being a Wallflower"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.lionsgate.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <distributor> ?e . ?e_1 <pred:name> \"The Perks of Being a Wallflower\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Finland\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lionsgate.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which has fewer employees, Boston College or Queen Mary University of London?", "choices": ["University of Manchester", "Boston College", "McMaster University", "King's College London", "Imperial College London", "Panjab University", "Pennsylvania State University", "Queen Mary University of London", "University of Tehran", "Presidency University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston College"]}, {"function": "Find", "dependencies": [], "inputs": ["Queen Mary University of London"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Boston College\" .  } UNION { ?e <pred:name> \"Queen Mary University of London\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Queen Mary University of London"}, {"question": "How was it determined that the county of New Jersey that contains Pleasantville (the one that is located in time zone Eastern Time Zone) have a population of 275862?", "choices": ["United Kingdom Census 1981", "Address Based Population Registration System", "Taqdir", "Sixth National Population Census of the People's Republic of China", "average", "FIFA World Rankings", "Canada 2011 Census", "United Kingdom Census 2011", "United States Census", "estimation process"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pleasantville"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "275862", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Pleasantville\" . ?e_1 <located_in_time_zone> ?e_2 . ?e_2 <pred:name> \"Eastern Time Zone\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"275862\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the connection between Step Up Revolution to Lithuania?", "choices": ["drafted by", "capital of", "culture", "seed team", "manner of death", "partner", "designed to carry", "is a list of", "film release region", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Step Up Revolution"]}, {"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Step Up Revolution\" . ?e_2 <pred:name> \"Lithuania\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What is the connection between Alice in Wonderland (the one that has Gene Wilder as a cast member) to Jason Flemyng?", "choices": ["located in the administrative territorial entity", "director/manager", "source of material", "cast member", "month of the year", "political ideology", "material used", "chief executive officer", "airline alliance", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gene Wilder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jason Flemyng"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice in Wonderland\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Gene Wilder\" . ?e_2 <pred:name> \"Jason Flemyng\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When did rapcore artists Beastie Boys win a Grammy Award for Best Rap Performance by a Duo or Group?", "choices": ["2010-03-07", "1925-06-16", "1999-01-01", "1991-03-01", "1979-01-01", "2003-08-27", "1864-11-21", "2005-02-13", "2018-04-14", "2013-02-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rapcore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beastie Boys"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Rap Performance by a Duo or Group"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Beastie Boys\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"rapcore\" . ?e_2 <pred:name> \"Grammy Award for Best Rap Performance by a Duo or Group\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Is Up the title of the TV series with the official website news.directv.com/category/damages?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://news.directv.com/category/damages/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Up"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://news.directv.com/category/damages/\" . ?e <title> ?pv . ?pv <pred:value> \"Up\" .  }", "answer": "no"}, {"question": "Which movie cost more to make, Mary Poppins or National Treasure (the one that has Diane Kruger as a cast member)?", "choices": ["Mary Poppins", "John Carter", "National Treasure: Book of Secrets", "Holes", "Alvin and the Chipmunks: Chipwrecked", "National Treasure", "The Muppets", "Old Dogs", "The Flintstones", "G-Force"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Poppins"]}, {"function": "Find", "dependencies": [], "inputs": ["Diane Kruger"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["National Treasure"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mary Poppins\" .  } UNION { ?e <pred:name> \"National Treasure\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Diane Kruger\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "National Treasure"}, {"question": "Is John William DiMaggio the birth name of John Dimaggio?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John DiMaggio"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["John William DiMaggio"]}], "sparql": "ASK { ?e <pred:name> \"John DiMaggio\" . ?e <birth_name> ?pv . ?pv <pred:value> \"John William DiMaggio\" .  }", "answer": "yes"}, {"question": "Does Crimes and Misdemeanors or Thirteen Days have the shorter runtime?", "choices": ["The Hunchback of Notre Dame", "Rebecca", "Crimes and Misdemeanors", "Pleasantville", "Curse of the Golden Flower", "Training Day", "Thirteen Days", "The Towering Inferno", "Talk to Her", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crimes and Misdemeanors"]}, {"function": "Find", "dependencies": [], "inputs": ["Thirteen Days"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crimes and Misdemeanors\" .  } UNION { ?e <pred:name> \"Thirteen Days\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Crimes and Misdemeanors"}, {"question": "Is the publication date of the activity that is developed by Bethesda Softworks prior to the year 2013?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bethesda Softworks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2013", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <developer> ?e_1 . ?e_1 <pred:name> \"Bethesda Softworks\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2013 ) .  }", "answer": "yes"}, {"question": "When did Grenada national football team reached 170th place in the ranking ?", "choices": ["2001-07-18", "2007-11-23", "1377", "1997-01-01", "2014-02-22", "2010-05-01", "1976-12-01", "1593", "2016-02-01", "2000-01-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grenada national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "170", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Grenada national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"170\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2007-11-23"}, {"question": "Is Richard Nixon's birth name equal to Jonathan Ronald James Forte?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Nixon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Jonathan Ronald James Forte"]}], "sparql": "ASK { ?e <pred:name> \"Richard Nixon\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Jonathan Ronald James Forte\" .  }", "answer": "no"}, {"question": "What is the connection between Michael Collins (the one whose date of death is 1922-08-22) to Glasnevin Cemetery?", "choices": ["commissioned by", "screenwriter", "film distribute region", "owner of", "material used", "uses", "works in collection", "distributor", "capital of", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Collins"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1922-08-22", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Glasnevin Cemetery"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Collins\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1922-08-22\"^^xsd:date . ?e_2 <pred:name> \"Glasnevin Cemetery\" . ?e_1 ?p ?e_2 .  }", "answer": "place of burial"}, {"question": "What is the Instagram username of Twitter user carsondaly ?", "choices": ["bocajrsoficial", "dcunited", "alydenisof", "rosenborgballklub", "larsulrich", "katieholmes212", "badgalriri", "carsondaly", "girlshbo", "tomscottgo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "carsondaly"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"carsondaly\" . ?e <Instagram_username> ?pv .  }", "answer": "carsondaly"}, {"question": "How many states of the United Statesare located in or next to Lake Erie and are named after Ohio River?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake Erie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Ohio River"]}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Lake Erie\" .  ?e <named_after> ?e_2 . ?e_2 <pred:name> \"Ohio River\" .  }", "answer": "1"}, {"question": "How is Robert Shaw who died in New Haven related to English?", "choices": ["languages spoken, written or signed", "commissioned by", "producer", "contains administrative territorial entity", "instrument", "movement", "sibling", "coextensive with", "head of government", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Haven"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Shaw"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Shaw\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"New Haven\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "What taxon name applies to the dinosaur?", "choices": ["Poaceae", "Brassica oleracea var. italica", "Micropterus salmoides", "Pyrus", "Liliaceae", "Persea americana", "Dinosauria", "Aves", "Virus", "Capsicum"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dinosaur"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["taxon name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"dinosaur\" . ?e <taxon_name> ?pv .  }", "answer": "Dinosauria"}, {"question": "When did the United Kingdom have a number of out-of-school children of 277490?", "choices": ["1934-12-01", "2016-04-24", "2000-01-01", "2009-02-01", "250", "2002-09-18", "1846-12-01", "2014-01-12", "1996-05-22", "1675"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["number of out-of-school children", "277490", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"United Kingdom\" . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"277490\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000-01-01"}, {"question": "Tell me the person that has ISNI 0000 0000 5218 7373 and that was born in a year other than 1940.", "choices": ["Jon Stone", "John Davis", "Richard Gere", "William Henry Harrison", "Sylvester Stallone", "Walt Whitman", "Shawn Pyfrom", "Max Fleischer", "Carly Simon", "Michelle Williams"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5218 7373"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1940", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5218 7373\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1940 ) .  }", "answer": "John Davis"}, {"question": "What is the character role of Antonio Banderas in The Mask of Zorro?", "choices": ["Alice", "Robert Goren", "Charlie Kaufman", "John Casey", "Jorah Mormont", "Catwoman", "Karen McCluskey", "Jim Halpert", "Djali", "Alejandro de la Vega"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mask of Zorro"]}, {"function": "Find", "dependencies": [], "inputs": ["Antonio Banderas"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Mask of Zorro\" . ?e_2 <pred:name> \"Antonio Banderas\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Alejandro de la Vega"}, {"question": "What is the award that is worse than the gold medal?", "choices": ["Bronze Star Medal", "Grammy Award for Best Metal Performance", "Independent Spirit Award for Best Screenplay", "Independent Spirit Award for Best Female Lead", "Grammy Award for Best Reggae Album", "Genie Award for Best Achievement in Editing", "Royal Victorian Chain", "Golden Globe Award for Best Animated Feature Film", "silver medal", "Saturn Award for Best Costume"], "program": [{"function": "Find", "dependencies": [], "inputs": ["gold medal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["next lower rank", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <next_lower_rank> ?e . ?e_1 <pred:name> \"gold medal\" .   }", "answer": "silver medal"}, {"question": "What is the determination method for this value of its population is 60394, for the United States city with the official website http://www.ci.redlands.ca.us?", "choices": ["extrapolation", "Taqdir", "Address Based Population Registration System", "United Kingdom Census 1981", "gross floor area", "United States Census", "Sixth National Population Census of the People's Republic of China", "middle", "census", "register office"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ci.redlands.ca.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "60394", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.redlands.ca.us\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"60394\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "What city has the native name Winchester and is the headquarters location of Winchester College whose postal code is SO23 9NA?", "choices": ["Abidjan", "Kingston", "Cork", "Dundee", "Chihuahua", "Winchester", "Kilkenny", "Trieste", "Santo Domingo", "Bergen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Winchester"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["Winchester College"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["postal code", "SO23 9NA"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <native_label> ?pv . ?pv <pred:value> \"Winchester\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Winchester College\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e ] <postal_code> ?qpv . ?qpv <pred:value> \"SO23 9NA\" .  }", "answer": "Winchester"}, {"question": "Is the person that was educated at Tennessee State University have the Instagram username of prideofgypsies?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tennessee State University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["prideofgypsies"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Tennessee State University\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"prideofgypsies\" .  }", "answer": "no"}, {"question": "What is the connection between City of Angels (the one whose distributor is Warner Bros.) to Andre Braugher?", "choices": ["collection", "cast member", "licensed to broadcast to", "candidate", "soundtrack album", "works in collection", "native language", "follows", "commissioned by", "time period"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["City of Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Andre Braugher"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"City of Angels\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Warner Bros.\" . ?e_2 <pred:name> \"Andre Braugher\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What band is famous for the music whose famous person is Steven Van Zandt?", "choices": ["U2", "Porcupine Tree", "Jamiroquai", "Cinderella", "No Doubt", "Steven Van Zandt", "The Killers", "Dixie Chicks", "Panic! at the Disco", "Rush"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Van Zandt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["band"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e_1 <famous_people> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"music\" . ?e_1 <famous_people> ?e_2 . ?e_2 <pred:name> \"Steven Van Zandt\" .   }", "answer": "The Killers"}, {"question": "What is the connection between The Super Dimension Fortress Macross to Japanese?", "choices": ["time period", "taxon rank", "programming language", "derivative work", "language of work or name", "student", "talk show guest", "replaces", "coextensive with", "signatory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Super Dimension Fortress Macross"]}, {"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Super Dimension Fortress Macross\" . ?e_2 <pred:name> \"Japanese\" . ?e_1 ?p ?e_2 .  }", "answer": "language of work or name"}, {"question": "Did the George Miller born on 1922-10-24 die in a year other than 1914 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Miller"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1922-10-24", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1914", "!="]}], "sparql": "ASK { ?e <pred:name> \"George Miller\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1922-10-24\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1914 ) .  }", "answer": "yes"}, {"question": "Did the person whose British Museum person-institution is 29660 not die in 1778?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "29660"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1778", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> \"29660\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1778 ) .  }", "answer": "yes"}, {"question": "What calendar month is followed by November whose name is listopada?", "choices": ["October", "November", "August", "December", "September", "January", "April", "June", "May", "July"], "program": [{"function": "Find", "dependencies": [], "inputs": ["November"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name", "listopada"]}, {"function": "Relate", "dependencies": [1], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["calendar month"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"November\" . ?e_1 <name> ?pv . ?pv <pred:value> \"listopada\" .   }", "answer": "October"}, {"question": "What association football club has a member named Didier Six and the Twitter username cercleofficial?", "choices": ["RC Strasbourg", "Aston Villa F.C.", "Olympique de Marseille", "Middlesbrough F.C.", "Stade Brestois 29", "Hibernian F.C.", "Brisbane Roar FC", "Cercle Brugge K.S.V.", "Roda JC Kerkrade", "Zamalek SC"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Didier Six"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "cercleofficial"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Didier Six\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"cercleofficial\" .  }", "answer": "Cercle Brugge K.S.V."}, {"question": "How many legislative terms have the participant named John McCain?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John McCain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"John McCain\" .   }", "answer": "10"}, {"question": "What number of colleges have fewer than 600 employees?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["employees", "600", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"600\"^^xsd:double ) .  }", "answer": "4"}, {"question": "How many military branches are a child organization of al-Qaeda?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["al-Qaeda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["military branch"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"military branch\" . ?e <parent_organization> ?e_1 . ?e_1 <pred:name> \"al-Qaeda\" .   }", "answer": "0"}, {"question": "Tell me the region in Italy that has a city with a postal code of 34136.", "choices": ["Tuscany", "Sardinia", "Piedmont", "Campania", "Basilicata", "Lombardy", "Sicily", "Friuli\u2013Venezia Giulia", "Liguria", "Apulia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "34136"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["region of Italy"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"34136\" .   }", "answer": "Friuli\u2013Venezia Giulia"}, {"question": "Which has the most episodes among the television films whose episode count is not 7200?", "choices": ["Julius Caesar", "Nuremberg", "Labyrinth", "Pinocchio", "From Here to Eternity", "David Copperfield", "Restless", "The Three Musketeers", "Shackleton", "Alice"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "7200", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"7200\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Three Musketeers"}, {"question": "Is the screenwriter of Taking Woodstock correctly matched to ISNI 0000 0001 1678 0361 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taking Woodstock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1678 0361"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Taking Woodstock\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1678 0361\" .  }", "answer": "no"}, {"question": "Does Palm Beach or Huntington, founded in 1653, have the higher elevation?", "choices": ["West Hartford", "Bedford", "Kensington", "Chapel Hill", "Brookline", "Amherst", "Huntington", "Greenwich", "Palm Beach", "Uxbridge"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Palm Beach"]}, {"function": "Find", "dependencies": [], "inputs": ["Huntington"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1653", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Palm Beach\" . } UNION { ?e <pred:name> \"Huntington\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1653 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Huntington"}, {"question": "What is the connection between Taken (the one whose start time is 2002-12-02) to Matt Frewer?:", "choices": ["contributor(s) to the creative work", "given name", "cast member", "designed by", "film regional debut venue", "public holiday", "spouse", "had as last meal", "heritage designation", "season starts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taken"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "2002-12-02", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Matt Frewer"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Taken\" . ?e_1 <start_time> ?pv . ?pv <pred:date> \"2002-12-02\"^^xsd:date . ?e_2 <pred:name> \"Matt Frewer\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the DOI prefix for University of California, Irvine?", "choices": ["10.22617", "10.2104", "10.21980", "10.24968", "10.5204", "10.18275", "10.14439", "10.15365", "10.15353", "10.18695"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Irvine"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["DOI prefix"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of California, Irvine\" . ?e <DOI_prefix> ?pv .  }", "answer": "10.21980"}, {"question": "When did Canterbury's country become a Kingdom of Great Britain?", "choices": ["2011-06-17", "1095", "2010-10-26", "1973-01-07", "1890", "1707-05-01", "2005-01-16", "2015-08-03", "1991-09-05", "2000-11-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canterbury"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Canterbury\" . ?e_2 <pred:name> \"Kingdom of Great Britain\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1707-05-01"}, {"question": "How is Al Green (the one whose Instagram username is repalgreen) related to Texas Southern University?", "choices": ["religion", "conferred by", "military rank", "derivative work", "movement", "geography of topic", "participant of", "educated at", "award disciplines or subjects", "industry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Green"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "repalgreen"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas Southern University"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Al Green\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"repalgreen\" . ?e_2 <pred:name> \"Texas Southern University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "The website http://www.princetonnj.gov/ represents how many human settlements?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.princetonnj.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.princetonnj.gov/\" .  }", "answer": "1"}, {"question": "What is the ISNI of the university located in Bath", "choices": ["0000 0000 6637 8998", "0000 0001 2148 4241", "0000 0001 1627 6739", "0000 0000 7839 8566", "0000 0001 0501 3829", "0000 0001 2133 9888", "0000 0001 1919 0877", "0000 0000 5062 7363", "0000 0001 2162 1699", "0000 0000 9046 8598"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bath"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Bath\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2162 1699"}, {"question": "What is Gerard Butler's height?", "choices": ["1.63 metre", "1.96 metre", "77 inch", "1.75 metre", "84 centimetre", "1.8 metre", "1.98 metre", "74 inch", "191 centimetre", "66 inch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gerard Butler"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Gerard Butler\" . ?e <height> ?pv .  }", "answer": "74 inch"}, {"question": "Which New York city whose elevation above sea level is not 770 meters has the lowest elevation above sea level?", "choices": ["White Plains", "Syracuse", "Auburn", "Glens Falls", "Buffalo", "Yonkers", "Utica", "Glen Cove", "Long Beach", "Troy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "770 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"770\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Long Beach"}, {"question": "How many subscriber belong to Twitter username incheonutd, associiated with a football club whose McCune-Reischauer romanization is Inch'\u014fn Yunaithitu?", "choices": ["887", "12330", "1432018", "20837", "1244647", "466764", "196644", "28249049", "70457", "81238"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["McCune-Reischauer romanization", "Inch'\u014fn Yunaithitu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "incheonutd", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <McCune-Reischauer_romanization> ?pv_1 . ?pv_1 <pred:value> \"Inch'\u014fn Yunaithitu\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"incheonutd\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "20837"}, {"question": "How is The Scarlet Letter (which was created in the United Kingdom), related to the drama film category?", "choices": ["after a work by", "has cause", "sexual orientation", "voice type", "vehicle normally used", "sport", "replaces", "movement", "genre", "public holiday"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scarlet Letter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Scarlet Letter\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many video game consoles had a model that sold more than 78,000,000 units?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["units sold", "78000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <units_sold> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"78000000\"^^xsd:double ) .  }", "answer": "4"}, {"question": "How many political ideologies have the Dewey Decimal Classification of 335.4 or a PhilPapers topic of anarchism?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "335.4"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PhilPapers topic", "anarchism"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["political ideology"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"335.4\" .  } UNION { ?e <PhilPapers_topic> ?pv . ?pv <pred:value> \"anarchism\" .  } }", "answer": "2"}, {"question": "How many New Jersey cities have a population below 910,000 or above 43,000,000?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "910000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "43000000", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city in New Jersey"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"910000\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"43000000\"^^xsd:double ) .  } }", "answer": "15"}, {"question": "Which movie titled \u0416\u0430\u0440\u0430 is set in Moscow, twinned administrative body of Sofia?", "choices": ["Rocky V", "Cast Away", "Rocky IV", "Resident Evil: Retribution", "Heat", "Talk to Her", "Air Force One", "The Fifth Element", "Pleasantville", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sofia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Moscow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["title", "\u0416\u0430\u0440\u0430"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Moscow\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Sofia\" .  ?e <title> ?pv . ?pv <pred:value> \"\u0416\u0430\u0440\u0430\" .  }", "answer": "Heat"}, {"question": "What type of film is Days of Thunder that was nominated for Academy Award for Best Sound Mixing?", "choices": ["Days of Thunder", "Talk to Her", "Rebecca", "Moneyball", "A Prairie Home Companion", "The Grapes of Wrath", "The Girl with the Dragon Tattoo", "Apollo 13", "Walk the Line", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Days of Thunder"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Days of Thunder\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Sound Mixing\" .  }", "answer": "Days of Thunder"}, {"question": "How was a population count of 150,701 determined for the administrative territorial entity where St. Cloud is located?", "choices": ["demographic balance", "estimation process", "United Kingdom Census 1981", "Yemen General Census of Population, Housing and Establishments 2004", "gross floor area", "extrapolation", "census", "United Kingdom Census 1971", "United Kingdom Census 2011", "administrative division valid at the moment of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Cloud"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "150701", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"St. Cloud\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"150701\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the connection between New York, I Love You to Blake Lively?", "choices": ["spouse", "replaces", "had as last meal", "cast member", "significant person", "heritage designation", "interests", "set in period", "tributary", "distributor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York, I Love You"]}, {"function": "Find", "dependencies": [], "inputs": ["Blake Lively"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"New York, I Love You\" . ?e_2 <pred:name> \"Blake Lively\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who produced the movie whose official website is http://www.snowwhiteandthehuntsman.com?", "choices": ["Julian Fellowes", "Denis Leary", "Robert Chartoff", "Larry Charles", "Joe Roth", "Martin Lawrence", "Carmine Infantino", "Kevin Williamson", "Betty Comden", "Laurence Mark"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.snowwhiteandthehuntsman.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.snowwhiteandthehuntsman.com\" .   }", "answer": "Joe Roth"}, {"question": "How is the animator William Joyce connected to children's literature?", "choices": ["make-up artist", "genre", "affiliation", "collection", "military branch", "country of citizenship", "father", "main food source", "military conflicts", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["animator"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Joyce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["children's literature"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William Joyce\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"animator\" . ?e_2 <pred:name> \"children's literature\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "For the association-football club that has Rory Fallon as a member (the end time of this statement is 2013), what language is associated with this creative work for its official website of https://www.afc.co.uk/?", "choices": ["Slovene", "Classical Latin", "France", "Indonesian", "English", "Toki Pona", "French", "Spanish", "Ewe", "Yaqui"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rory Fallon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2013", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "https://www.afc.co.uk/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Rory Fallon\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv_1 . ?qpv_1 <pred:year> 2013 . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.afc.co.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many visual artworks with the character Caravaggio (native name Michelangelo Merisi da Caravaggio) are titled The Dictator?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caravaggio"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Michelangelo Merisi da Caravaggio"]}, {"function": "Relate", "dependencies": [1], "inputs": ["characters", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "The Dictator"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <characters> ?e_1 . ?e_1 <pred:name> \"Caravaggio\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Michelangelo Merisi da Caravaggio\" .  ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Dictator\" .  }", "answer": "0"}, {"question": "What is the connection between War and Peace (the one whose release region is Netherlands) to United States of America?", "choices": ["candidacy in election", "subsidiary", "voice actor", "distribution", "programming language", "platform", "film release region", "language of work or name", "founded by", "professorship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"War and Peace\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Netherlands\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What is cast member Jena Malone's character role in the work Pride & Prejudice?", "choices": ["David Levinson", "American Photojournalist", "Lydia Bennet", "Pam Halpert", "Ezra Kramer", "Winston Churchill", "Milo Minderbinder", "Ozai", "Onus", "Pearl Krabs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pride & Prejudice"]}, {"function": "Find", "dependencies": [], "inputs": ["Jena Malone"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Pride & Prejudice\" . ?e_2 <pred:name> \"Jena Malone\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Lydia Bennet"}, {"question": "How many geographic regions are a common property of horse or have citizens who are called Africain people?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["horse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["demonym", "Africain"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" .  { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"horse\" .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> \"Africain\" .  } }", "answer": "2"}, {"question": "Which one-time University of Cambridge college student has an ARCON code that equals 1930?", "choices": ["Hugh Bonneville", "Fred Frith", "Ralph Vaughan Williams", "John Spencer", "Candice Bergen", "Donald McAlpine", "John Locke", "Nino Rota", "John Noble", "Isaac Newton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "1930"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Cambridge"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"college of the University of Cambridge\" . ?e_1 <ARCHON_code> ?pv . ?pv <pred:value> \"1930\" .   }", "answer": "John Noble"}, {"question": "Which one of the films that are part of X-Men (the one whose director is Brett Ratner) has the smallest running time?", "choices": ["X-Men", "Talk to Her", "Pleasantville", "X-Men: First Class", "X2", "X-Men: The Last Stand", "A Prairie Home Companion", "Rebecca", "The Fifth Element", "X-Men Origins: Wolverine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brett Ratner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["X-Men"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of the series", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> \"X-Men\" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> \"Brett Ratner\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "X-Men"}, {"question": "Which one ofthe movies, known as spin-offs of Charlie's Angels (the one that has the series spin-off Charlie's Angels: Full Throttle) is the shortest?", "choices": ["Training Day", "Pleasantville", "Charlie's Angels: Full Throttle", "The Hunchback of Notre Dame", "Charlie's Angels", "A Prairie Home Companion", "The Towering Inferno", "Talk to Her", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels: Full Throttle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["series spin-off", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["series spin-off", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> \"Charlie's Angels\" . ?e_1 <series_spin-off> ?e_2 . ?e_2 <pred:name> \"Charlie's Angels: Full Throttle\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Charlie's Angels"}, {"question": "Does Shiraz, population 1,227,331, or Thrissur have the higher elevation?", "choices": ["Kingston", "Dundee", "Santo Domingo", "Cork", "Thrissur", "Abidjan", "Chihuahua", "Bergen", "Shiraz", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shiraz"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1227331", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Thrissur"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shiraz\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1227331\"^^xsd:double . } UNION { ?e <pred:name> \"Thrissur\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shiraz"}, {"question": "How many types of science study Earth (the one whose schematic is Jordens inre.jpg) or sepsis ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["schematic", "Jordens inre.jpg"]}, {"function": "Relate", "dependencies": [1], "inputs": ["studied by", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["science"]}, {"function": "Find", "dependencies": [], "inputs": ["sepsis"]}, {"function": "Relate", "dependencies": [4], "inputs": ["studied by", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["science"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science\" .  { ?e_1 <studied_by> ?e . ?e_1 <pred:name> \"Earth\" . ?e_1 <schematic> ?pv . ?pv <pred:value> \"Jordens inre.jpg\" .  } UNION { ?e_1 <studied_by> ?e . ?e_1 <pred:name> \"sepsis\" .  } }", "answer": "1"}, {"question": "What does Nintendo Entertainment Analysis & Development have to do with the video game industry?", "choices": ["has part", "language used", "chairperson", "official color", "subsidiary", "indigenous to", "has dialect (DEPRECATED)", "industry", "donated by", "academic degree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment Analysis & Development"]}, {"function": "Find", "dependencies": [], "inputs": ["video game industry"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nintendo Entertainment Analysis & Development\" . ?e_2 <pred:name> \"video game industry\" . ?e_1 ?p ?e_2 .  }", "answer": "industry"}, {"question": "How many islands have a total fertility rate greater than 3.1 or have a population greater than 21,000,000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "3.1", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "21000000", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["island"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" .  { ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3.1\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"21000000\"^^xsd:double ) .  } }", "answer": "3"}, {"question": "Which movie titled Maid in Manhattan clocks in at 101 minutes?", "choices": ["Maid in Manhattan", "The Maltese Falcon", "Talk to Her", "Charlie's Angels: Full Throttle", "Rebecca", "The Fifth Element", "Groundhog Day", "The Orphanage", "Pleasantville", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Maid in Manhattan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["duration", "101 minute", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Maid in Manhattan\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"101\"^^xsd:double .  }", "answer": "Maid in Manhattan"}, {"question": "What is the ISNI for the person whose name is kana (\u3084\u307e\u3050\u3061 \u304b\u3063\u307a\u3044)?", "choices": ["0000 0001 1760 7931", "0000 0003 9016 684X", "0000 0001 0943 0267", "0000 0003 5622 7493", "0000 0000 5428 4150", "0000 0004 0448 1219", "0000 0001 2123 6985", "0000 0001 2144 1970", "0000 0001 2120 0982", "0000 0001 2131 2917"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in kana", "\u3084\u307e\u3050\u3061 \u304b\u3063\u307a\u3044"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_kana> ?pv_1 . ?pv_1 <pred:value> \"\u3084\u307e\u3050\u3061 \u304b\u3063\u307a\u3044\" . ?e <ISNI> ?pv .  }", "answer": "0000 0003 9016 684X"}, {"question": "Who is shorter, Ted Danson or William Powell whose mass is 207 pounds?", "choices": ["William Henry Harrison", "James E. Reilly", "Max Fleischer", "Rahul Dev Burman", "David Byrne", "Paul Simon", "Richard Gere", "Simon Cowell", "William Powell", "Ted Danson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ted Danson"]}, {"function": "Find", "dependencies": [], "inputs": ["William Powell"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["mass", "207 pound", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ted Danson\" . } UNION { ?e <pred:name> \"William Powell\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"pound\" . ?pv_1 <pred:value> \"207\"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "William Powell"}, {"question": "How much were box office sales of the movie originating in Iceland (nominal GDP 340061650.119898 USD)?", "choices": ["2734044 United States dollar", "373554033 United States dollar", "413106170 United States dollar", "396592829 United States dollar", "45584036 United States dollar", "25836616 United States dollar", "177200000 United States dollar", "76270454 United States dollar", "300854823 United States dollar", "219000000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iceland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "340061650.119898 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Iceland\" . ?e_1 <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"340061650.119898\"^^xsd:double . ?e <box_office> ?pv .  }", "answer": "45584036 United States dollar"}, {"question": "What number of ethnic locales are geographically distributed in the U.S. or are Swedish subgroups?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["geographic distribution", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic community"]}, {"function": "Find", "dependencies": [], "inputs": ["Swedes"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic community"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic community\" .  { ?e <geographic_distribution> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Swedes\" .  } }", "answer": "4"}, {"question": "How many forms of alternative rock were created prior to 1995?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1995", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["alternative rock"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"alternative rock\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  }", "answer": "8"}, {"question": "What is the number of award categories that was started after 1693?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1693", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1693 ) .  }", "answer": "7"}, {"question": "What is the connection between Bournemouth (the one whose GSS code (2011) is E06000028) to Dorset (the one whose official website is https://www.dorsetforyou.gov.uk/)?", "choices": ["office held by head of government", "convicted of", "located in the administrative territorial entity", "operator", "next higher rank", "occupation", "location", "geographic distribution", "place of birth", "ancestral home"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bournemouth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E06000028"]}, {"function": "Find", "dependencies": [], "inputs": ["Dorset"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "https://www.dorsetforyou.gov.uk/"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bournemouth\" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E06000028\" . ?e_2 <pred:name> \"Dorset\" . ?e_2 <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.dorsetforyou.gov.uk/\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How many Primetime Emmys that were won by The Practice were also nominated to Breaking Bad?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Practice"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Breaking Bad"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Primetime Emmy Award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"The Practice\" .  ?e_2 <nominated_for> ?e . ?e_2 <pred:name> \"Breaking Bad\" .  }", "answer": "5"}, {"question": "What is the connection between Goldfinger (the one whose ISNI is 0000 0001 0674 2281) to Universal Music Group?", "choices": ["location of discovery", "kit supplier", "father", "programming language", "exclave of", "appointed by", "place served by transport hub", "record label", "original language of film or TV show", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Goldfinger"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0674 2281"]}, {"function": "Find", "dependencies": [], "inputs": ["Universal Music Group"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Goldfinger\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0674 2281\" . ?e_2 <pred:name> \"Universal Music Group\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Which person's official website is http://www.susan-sarandon.com?", "choices": ["William Henry Harrison", "Mindy Kaling", "Octavia Spencer", "Master P", "Eric Clapton", "Sylvester Stallone", "Richard Gere", "Robert Altman", "Lenny Bruce", "Susan Sarandon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.susan-sarandon.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.susan-sarandon.com\" .  }", "answer": "Susan Sarandon"}, {"question": "For the animated-feature film that has Chris Evans (the one that was born in Boston) as a voice actor (the character role of this statement is Casey Jones), where is it published on its 2008-02-08 publication date?", "choices": ["Ireland", "Berlin International Film Festival", "Brazil", "Mexico", "Peru", "Japan", "Denmark", "Toronto", "Poland", "Slovenia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["voice actor", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Casey Jones"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["animated feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["publication date", "2008-02-08", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Chris Evans\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Boston\" . [ <pred:fact_h> ?e ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv_1 . ?qpv_1 <pred:value> \"Casey Jones\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-02-08\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Japan"}, {"question": "Which cast member of The Pink Panther, composed by Christophe Beck, was a recipient at the 61st Primetime Emmy Awards?", "choices": ["Tina Fey", "Vernon Chatman", "Steve Martin", "Kevin Kline", "Kristin Chenoweth", "Joss Whedon", "Matt Hubbard", "Robert Carlock", "Emily Mortimer", "Clive Owen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christophe Beck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Pink Panther"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["61st Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [6], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Pink Panther\" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> \"Christophe Beck\" .  ?e <award_received> ?e_3 . ?e_3 <pred:name> \"61st Primetime Emmy Awards\" .  }", "answer": "Kristin Chenoweth"}, {"question": "Haiti is related in what way to Brazil, population 105693434?", "choices": ["diplomatic relation", "notable work", "employer", "Wikidata property", "place of origin (Switzerland)", "geography of topic", "relative", "sponsor", "military conflicts", "screenwriter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haiti"]}, {"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "105693434", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Haiti\" . ?e_2 <pred:name> \"Brazil\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"105693434\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "What is the ISNI for John Broome (that is the origin of the name Broome County)?", "choices": ["0000 0001 1498 6059", "0000 0000 2418 823X", "0000 0001 2275 9729", "0000 0001 2337 4070", "0000 0001 1476 3621", "0000 0000 7849 6895", "0000 0001 1561 0184", "0000 0000 4338 8966", "0000 0003 6855 7238", "0000 0003 6185 482X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broome County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Broome"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Broome\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Broome County\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 2418 823X"}, {"question": "What political party has an official website found at http://www.nationals.org.au/?", "choices": ["Australian Greens", "United National Party", "National Party of Australia", "Ontario Liberal Party", "Indian National Congress", "New Zealand National Party", "Labour Party", "Christian Democratic Union", "Conservative Party of Canada", "African National Congress"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nationals.org.au/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nationals.org.au/\" .  }", "answer": "National Party of Australia"}, {"question": "What is the relation between Lima (the one that is the headquarter location of Club Universitario de Deportes) and Buenos Aires?", "choices": ["set in period", "original film format", "twinned administrative body", "legislative body", "month of the year", "has part", "collection", "has dialect (DEPRECATED)", "film distribute region", "inspired by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Club Universitario de Deportes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lima"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Buenos Aires"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lima\" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> \"Club Universitario de Deportes\" . ?e_2 <pred:name> \"Buenos Aires\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which sovereign state has the smallest, real gross domestic product, growth rate among those which have heavy metal?", "choices": ["Socialist Federal Republic of Yugoslavia", "Weimar Republic", "Russian Soviet Federative Socialist Republic", "Benin", "Kiribati", "Cambodia", "United States of America", "Switzerland", "South Sudan", "Samoa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["heavy metal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["indigenous to", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["real gross domestic product growth rate", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <indigenous_to> ?e . ?e_1 <pred:name> \"heavy metal\" .  ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "United States of America"}, {"question": "Is the cost of the animated feature film titled Madagascar 3: Europe's Most Wanted less than 150000000 United States dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Madagascar 3: Europe's Most Wanted"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["150000000 United States dollar", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Madagascar 3: Europe's Most Wanted\" . ?e <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"150000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Who portrays the superhero Spider-Man appearing in Spider-Man 3, distributed by Columbia Pictures?", "choices": ["Andrew Garfield", "Tina Turner", "Tobey Maguire", "David Boreanaz", "Antonio Banderas", "Duran Duran", "Prince", "Madonna", "Mike Myers", "Nick Nolte"], "program": [{"function": "Find", "dependencies": [], "inputs": ["superhero"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man 3"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["present in work", "performer"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Spider-Man\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"superhero\" . ?e_2 <pred:name> \"Spider-Man 3\" . ?e_2 <distributor> ?e_4 . ?e_4 <pred:name> \"Columbia Pictures\" . ?e_1 <present_in_work> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <present_in_work> ; <pred:fact_t> ?e_2 ] <performer> ?qpv .  }", "answer": "Tobey Maguire"}, {"question": "What language is West Hartford that has the website http://www.west-hartford.com actually in?", "choices": ["France", "English", "J\u00e8rriais", "Belgian French", "French", "Klingon", "Standard Chinese", "Montenegrin", "Latvian", "Traditional Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Hartford"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.west-hartford.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"West Hartford\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.west-hartford.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Where was Jackass: The Movie published on 2003-02-27?", "choices": ["Berlin", "Berlin International Film Festival", "Croatia", "Davao City", "Portugal", "Venice Film Festival", "Germany", "United Kingdom", "Latvia", "Peru"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackass: The Movie"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2003-02-27", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jackass: The Movie\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2003-02-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "For Jewel (the one whose official website is http://www.jeweljk.com), what is the start time for her record label Atlantic Records?", "choices": ["1994", "2015-01-05", "1985-09-03", "1823-03-04", "2007", "2000-10-26", "1797-05-12", "1949-05-23", "2023-07-01", "1893-02-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jewel"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jeweljk.com"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlantic Records"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["record label", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jewel\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.jeweljk.com\" . ?e_2 <pred:name> \"Atlantic Records\" . ?e_1 <record_label> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <record_label> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1994"}, {"question": "What was the nominee of A. I. Artificial Intelligence when it was nominated for the Academy Award for Best Original Score?", "choices": ["Bill Corso", "Christopher Boyes", "Bill Walsh", "Stacey Sher", "Greer Garson", "George Amy", "Robert Leighton", "Samuel Goldwyn Jr.", "Stephen Daldry", "John Williams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A.I. Artificial Intelligence"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"A.I. Artificial Intelligence\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "John Williams"}, {"question": "Is Sarah Brightman's Twitter username sarahbrightman?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sarah Brightman"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["sarahbrightman"]}], "sparql": "ASK { ?e <pred:name> \"Sarah Brightman\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"sarahbrightman\" .  }", "answer": "yes"}, {"question": "The visual artwork titled Rocco e i suoi fratelli is based on how many anime TV series?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rocco e i suoi fratelli"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["anime television series"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e_1 <based_on> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Rocco e i suoi fratelli\" .   }", "answer": "0"}, {"question": "How is the BBC employee Chris Evans related to the businessperson profession?", "choices": ["material used", "has immediate cause", "official color", "architect", "basic form of government", "signatory", "costume designer", "narrative role", "located on terrain feature", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["businessperson"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Evans\" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> \"BBC\" . ?e_2 <pred:name> \"businessperson\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many entertainments have origins from the United States of America?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "19"}, {"question": "When was Radio Days published?", "choices": ["1996-07-11", "1987-01-01", "2004-10-22", "1989-11-22", "2008-07-09", "2010-12-22", "1997-09-12", "2011-07-07", "2012-02-09", "1971-11-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Radio Days"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Radio Days\" . ?e <publication_date> ?pv .  }", "answer": "1987-01-01"}, {"question": "Which movie is longer: the Brothers Bloom or G.I. Joe: The Rise of Cobra?", "choices": ["Training Day", "Curse of the Golden Flower", "A Prairie Home Companion", "Talk to Her", "G.I. Joe: The Rise of Cobra", "The Hunchback of Notre Dame", "The Towering Inferno", "The Brothers Bloom", "The Fifth Element", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Brothers Bloom"]}, {"function": "Find", "dependencies": [], "inputs": ["G.I. Joe: The Rise of Cobra"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.gijoemovie.com"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Brothers Bloom\" . } UNION { ?e <pred:name> \"G.I. Joe: The Rise of Cobra\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.gijoemovie.com\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "G.I. Joe: The Rise of Cobra"}, {"question": "Where was the feature film Back to the Future published on 1985-12-18?", "choices": ["Cannes", "British Hong Kong", "Chile", "North America", "Czech Republic", "Sweden", "Austria", "London", "Taiwan", "Russia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Back to the Future"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1985-12-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Back to the Future\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1985-12-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "What is the link between Vanuatu and Taiwan?", "choices": ["separated from", "use", "medical condition", "drug used for treatment", "diplomatic relation", "territory claimed by", "editor", "model item", "military conflicts", "maintained by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vanuatu"]}, {"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Vanuatu\" . ?e_2 <pred:name> \"Taiwan\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which cost more, World Trade Center or An Ideal Husband?", "choices": ["A Prairie Home Companion", "The Hunchback of Notre Dame", "World Trade Center", "Training Day", "Rebecca", "An Ideal Husband", "The Towering Inferno", "Curse of the Golden Flower", "The Fifth Element", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World Trade Center"]}, {"function": "Find", "dependencies": [], "inputs": ["An Ideal Husband"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"World Trade Center\" .  } UNION { ?e <pred:name> \"An Ideal Husband\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "World Trade Center"}, {"question": "Does Malcolm in the Middle or Sense and Sensibility (that originally aired on BBC One) have more episodes?", "choices": ["Saturday Night's Main Event", "Dancing with the Stars", "Six Feet Under", "American Horror Story", "Malcolm in the Middle", "Bleak House", "Phineas and Ferb", "Game of Thrones", "Seinfeld", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malcolm in the Middle"]}, {"function": "Find", "dependencies": [], "inputs": ["BBC One"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sense and Sensibility"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Malcolm in the Middle\" .  } UNION { ?e <pred:name> \"Sense and Sensibility\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"BBC One\" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Malcolm in the Middle"}, {"question": "Is \u30d5\u30a1\u30a4\u30ca\u30eb\u30d5\u30a1\u30f3\u30bf\u30b8\u30fcVII \u30a2\u30c9\u30d9\u30f3\u30c8\u30c1\u30eb\u30c9\u30ec\u30f3 the title given to Final Fantasy VII: Advent Children ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Final Fantasy VII: Advent Children"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u30d5\u30a1\u30a4\u30ca\u30eb\u30d5\u30a1\u30f3\u30bf\u30b8\u30fcVII \u30a2\u30c9\u30d9\u30f3\u30c8\u30c1\u30eb\u30c9\u30ec\u30f3"]}], "sparql": "ASK { ?e <pred:name> \"Final Fantasy VII: Advent Children\" . ?e <title> ?pv . ?pv <pred:value> \"\u30d5\u30a1\u30a4\u30ca\u30eb\u30d5\u30a1\u30f3\u30bf\u30b8\u30fcVII \u30a2\u30c9\u30d9\u30f3\u30c8\u30c1\u30eb\u30c9\u30ec\u30f3\" .  }", "answer": "yes"}, {"question": "How many video game developers either replaced Enix or were set up in Warwichshire?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enix"]}, {"function": "Relate", "dependencies": [0], "inputs": ["replaced by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "Find", "dependencies": [], "inputs": ["Warwickshire"]}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game developer"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" .  { ?e_1 <replaced_by> ?e . ?e_1 <pred:name> \"Enix\" .  } UNION { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Warwickshire\" .  } }", "answer": "2"}, {"question": "I need to know the ceremonial county of England that is separate from the non metropolitan county that has a GSS Code (2011) is E10000023", "choices": ["Essex", "Kent", "Northumberland", "Cambridgeshire", "Warwickshire", "North Yorkshire", "Somerset", "Derbyshire", "Devon", "Lancashire"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E10000023"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan county"]}, {"function": "Relate", "dependencies": [2], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ceremonial county of England"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"non-metropolitan county\" . ?e_1 <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> \"E10000023\" .   }", "answer": "North Yorkshire"}, {"question": "When was the film series with the official website http://www.iceagemovies.com/ published?", "choices": ["1993-04-29", "2018-07-06", "2002", "1968-11-12", "2011-06-16", "2008-07-09", "2006-11-21", "2001-07-26", "1990-10-11", "1986-10-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.iceagemovies.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.iceagemovies.com/\" . ?e <publication_date> ?pv .  }", "answer": "2002"}, {"question": "When did the big city whose postal code is 5020 have a population of 146631?", "choices": ["1960-02-15", "1933-01-01", "2014-01-01", "2013-03-01", "1982-04-17", "2010-12-15", "1988-01-01", "1994-03-21", "1948-05-14", "2015-08-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "5020"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "146631", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"5020\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"146631\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "Does Drive (the one whose number of seasons is 1) or Back to the Future (the one whose duration is 25 minute) have less number of seasons ?", "choices": ["American Horror Story", "Drive", "Seinfeld", "Saturday Night's Main Event", "Bleak House", "Game of Thrones", "Robot Chicken", "Back to the Future", "Dancing with the Stars", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Drive"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "1", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Back to the Future"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["duration", "25 minute", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Drive\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } UNION { ?e <pred:name> \"Back to the Future\" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> \"minute\" . ?pv_2 <pred:value> \"25\"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Drive"}, {"question": "Which series ran for fewer seasons, The Mickey Mouse Club or Superman (originally released in 1940)?", "choices": ["American Dad!", "Robot Chicken", "Batman Beyond", "Phineas and Ferb", "Aladdin", "The Venture Bros.", "The Cleveland Show", "The Mickey Mouse Club", "Tiny Toon Adventures", "Superman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mickey Mouse Club"]}, {"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["point in time", "1940", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Mickey Mouse Club\" . } UNION { ?e <pred:name> \"Superman\" . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> 1940 . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Superman"}, {"question": "Is Sunderland the native label applied to the city of postal code SR5?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "SR5"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Sunderland"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"SR5\" . ?e <native_label> ?pv . ?pv <pred:value> \"Sunderland\" .  }", "answer": "yes"}, {"question": "Is Girl with a Pearl Earring or Please Give the longer work?", "choices": ["Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "Please Give", "Training Day", "The Towering Inferno", "Pleasantville", "A Prairie Home Companion", "Girl with a Pearl Earring", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Girl with a Pearl Earring"]}, {"function": "Find", "dependencies": [], "inputs": ["Please Give"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Girl with a Pearl Earring\" .  } UNION { ?e <pred:name> \"Please Give\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Girl with a Pearl Earring"}, {"question": "Did BBC One's Great Expectations come out in Germany in 2013?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC One"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Great Expectations"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2013", "="]}], "sparql": "ASK { ?e <pred:name> \"Great Expectations\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"BBC One\" .  ?e <publication_date> ?pv . ?pv <pred:year> 2013 . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "Which one costed less, E.T. the Extra-Terrestrial or Four Rooms?", "choices": ["The Towering Inferno", "E.T. the Extra-Terrestrial", "Training Day", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "The Fifth Element", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Four Rooms"], "program": [{"function": "Find", "dependencies": [], "inputs": ["E.T. the Extra-Terrestrial"]}, {"function": "Find", "dependencies": [], "inputs": ["Four Rooms"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"E.T. the Extra-Terrestrial\" .  } UNION { ?e <pred:name> \"Four Rooms\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Four Rooms"}, {"question": "What is the connection between Percy Jackson & the Olympians: The Lightning Thief to Vancouver (the one that is the filming location of Percy Jackson & the Olympians: The Lightning Thief)?", "choices": ["filming location", "has immediate cause", "continent", "approved by", "licensed to broadcast to", "highest judicial authority", "candidate", "sidekick of", "designed to carry", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Percy Jackson & the Olympians: The Lightning Thief"]}, {"function": "Find", "dependencies": [], "inputs": ["Percy Jackson & the Olympians: The Lightning Thief"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vancouver"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Percy Jackson & the Olympians: The Lightning Thief\" . ?e_2 <pred:name> \"Vancouver\" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> \"Percy Jackson & the Olympians: The Lightning Thief\" . ?e_1 ?p ?e_2 .  }", "answer": "filming location"}, {"question": "Does Craig Robinson (whose height is 205 centimeters) or Lee Grant (who is a member of Sheffield Wednesday F.C.) weigh less?", "choices": ["William Henry Harrison", "Max Fleischer", "Lee Grant", "Richard Gere", "Sylvester Stallone", "Simon Cowell", "David Byrne", "James E. Reilly", "Paul Simon", "Craig Robinson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Craig Robinson"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "205 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sheffield Wednesday F.C."]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee Grant"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Craig Robinson\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"205\"^^xsd:double . } UNION { ?e <pred:name> \"Lee Grant\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Sheffield Wednesday F.C.\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lee Grant"}, {"question": "What is the date of birth of the film character whose military rank is major?", "choices": ["1767-03-15", "1975-10-29", "1960-10-29", "1911-10-21", "1902-12-02", "1958-12-20", "1986-07-25", "1799-09-10", "1989-07-10", "1988-12-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["major"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military rank", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film character"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film character\" . ?e <military_rank> ?e_1 . ?e_1 <pred:name> \"major\" .  ?e <date_of_birth> ?pv .  }", "answer": "1960-10-29"}, {"question": "Is the sRGB color hex triplet of the political party of Peter Weir that was educated at Queen's University in Belfast equal to B30033?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Queen's University Belfast"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Weir"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of political party", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["political party"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["sRGB color hex triplet"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["B30033"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> \"Peter Weir\" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> \"Queen's University Belfast\" .  ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> \"B30033\" .  }", "answer": "no"}, {"question": "Pianist Frank Vincent has what connection to the piano?", "choices": ["location of discovery", "original film format", "series spin-off", "located in the administrative territorial entity", "instrument", "material used", "has quality", "sports season of league or competition", "studied by", "hair color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Vincent"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Vincent\" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> \"piano\" . ?e_2 <pred:name> \"piano\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Which model of video game console whose number of sold units is not 44000000 has the most sold units?", "choices": ["The Incredibles", "Wii", "PlayStation 3", "John Hughes", "PlayStation 2", "Xbox 360", "John Barry", "Nintendo Entertainment System", "Toronto Argonauts", "Leonard Nimoy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["units sold", "44000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <units_sold> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"44000000\"^^xsd:double ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "PlayStation 2"}, {"question": "Is E1A-E1G the postal code of the city whose official website is http://www.moncton.org?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.moncton.org"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["E1A-E1G"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.moncton.org\" . ?e <postal_code> ?pv . ?pv <pred:value> \"E1A-E1G\" .  }", "answer": "yes"}, {"question": "How many Washington counties border another Washington county bordered by Yakima County?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yakima County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Washington"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Washington\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Yakima County\" .   }", "answer": "3"}, {"question": "Does Satyen Kappu speaks Hindi?", "choices": ["main subject", "had as last meal", "languages spoken, written or signed", "participant", "instrumentation", "present in work", "depicts", "geography of topic", "original network", "organisation directed from the office or person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satyen Kappu"]}, {"function": "Find", "dependencies": [], "inputs": ["Hindi"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Satyen Kappu\" . ?e_2 <pred:name> \"Hindi\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How many educational institutions are founded by the executive producer of Bridesmaids in United States?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bridesmaids"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["public educational institution of the United States"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public educational institution of the United States\" . ?e_1 <found> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <executive_producer> ?e_1 . ?e_2 <pred:name> \"Bridesmaids\" .   }", "answer": "0"}, {"question": "What is the university in Pomona?", "choices": ["Imperial College London", "Northwestern University", "California State University, Long Beach", "Pratt Institute", "McNeese State University", "Cardiff University", "University of East Anglia", "University of Manchester", "California State Polytechnic University, Pomona", "Swarthmore College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pomona"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Pomona\" .   }", "answer": "California State Polytechnic University, Pomona"}, {"question": "Is the duration of the visual artwork whose title is Can't Stop the Music greater than 40 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Can't Stop the Music"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["40 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Can't Stop the Music\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"40\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which has the greatest area, Seoul or Caracas?", "choices": ["Kingston", "Caracas", "Bergen", "Chihuahua", "Santo Domingo", "Kilkenny", "Seoul", "Dundee", "Abidjan", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seoul"]}, {"function": "Find", "dependencies": [], "inputs": ["Caracas"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seoul\" .  } UNION { ?e <pred:name> \"Caracas\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Caracas"}, {"question": "How many movie series were released pre-1989?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1989", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1989 ) .  }", "answer": "8"}, {"question": "Since when was Alex Manninger the member of Torino Football Club ?", "choices": ["1904-07-01", "2009-04-09", "1995-03-26", "2003-01-01", "1996-01-01", "2012-07-18", "-168", "1996-05-07", "1949-05-24", "2014-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alex Manninger"]}, {"function": "Find", "dependencies": [], "inputs": ["Torino Football Club"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alex Manninger\" . ?e_2 <pred:name> \"Torino Football Club\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2003-01-01"}, {"question": "Does Stockton or Waterloo (the one whose subreddit is WaterlooIowa) have the greater area?", "choices": ["Stockton", "Boulder", "Columbus", "Waterloo", "Waukegan", "Oakland", "Greenville", "Lansing", "New Haven", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stockton"]}, {"function": "Find", "dependencies": [], "inputs": ["Waterloo"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["subreddit", "WaterlooIowa"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stockton\" . } UNION { ?e <pred:name> \"Waterloo\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"WaterlooIowa\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Stockton"}, {"question": "Which movie is shorter, The Aristocrats or Mrs. Parker and the Vicious Circle?", "choices": ["Pleasantville", "The Towering Inferno", "The Hunchback of Notre Dame", "Mrs. Parker and the Vicious Circle", "A Prairie Home Companion", "Training Day", "The Fifth Element", "Talk to Her", "Curse of the Golden Flower", "The Aristocrats"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Aristocrats"]}, {"function": "Find", "dependencies": [], "inputs": ["Mrs. Parker and the Vicious Circle"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Aristocrats\" .  } UNION { ?e <pred:name> \"Mrs. Parker and the Vicious Circle\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Aristocrats"}, {"question": "What is the connection between maraca to Elvis Costello?", "choices": ["software engine", "famous people", "original language of film or TV show", "professorship", "derivative work", "contributing factor of", "editor", "patron saint", "applies to jurisdiction", "winner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["maraca"]}, {"function": "Find", "dependencies": [], "inputs": ["Elvis Costello"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"maraca\" . ?e_2 <pred:name> \"Elvis Costello\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Was Exeter City F.C. first officially named Exeter City Football Club on 1904-05-31?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Exeter City F.C."]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["official name", "start time", "1904-05-31"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Exeter City Football Club"]}], "sparql": "ASK { ?e <pred:name> \"Exeter City F.C.\" . ?e <official_name> ?pv . ?pv <pred:value> \"Exeter City Football Club\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> \"1904-05-31\"^^xsd:date .  }", "answer": "yes"}, {"question": "Someone with the native name  \u6d5c\u5d0e\u3042\u3086\u307f presented at how many annual Primetime Emmy Awards events?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "\u6d5c\u5d0e\u3042\u3086\u307f"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["presenter", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award annual ceremony\" . ?e <presenter> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"\u6d5c\u5d0e\u3042\u3086\u307f\" .   }", "answer": "0"}, {"question": "Who is the person that who was educated at Guildhall School of Music and Drama and that was nominated for Academy Award for Best Picture (the award-winning work of this statement is Elizabeth) ?", "choices": ["William Henry Harrison", "Paul Simon", "Eric Fellner", "Rahul Dev Burman", "Tim Bevan", "Sylvester Stallone", "Richard Gere", "James E. Reilly", "Simon Cowell", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guildhall School of Music and Drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["for work", "Elizabeth"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Guildhall School of Music and Drama\" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Picture\" . [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv . ?qpv <pred:value> \"Elizabeth\" .  }", "answer": "Eric Fellner"}, {"question": "Which calendar month has 4 as its series ordinal and the name of kwietnia?", "choices": ["April", "May", "November", "December", "October", "July", "June", "January", "August", "September"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["series ordinal", "4"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["calendar month"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name", "kwietnia"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["calendar month"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <series_ordinal> ?pv . ?pv <pred:value> \"4\" . ?e <name> ?pv_1 . ?pv_1 <pred:value> \"kwietnia\" .  }", "answer": "April"}, {"question": "For the product that is a nutrient of sucrose, what language is associated with this creative work for its pronunciation audio of En-uk-sugar.ogg?", "choices": ["Tahitian", "Chinese", "Welsh", "Valencian", "Slovene", "Ewe", "Luxembourgish", "British English", "Toki Pona", "Azerbaijani"], "program": [{"function": "Find", "dependencies": [], "inputs": ["sucrose"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pronunciation audio", "En-uk-sugar.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> \"sucrose\" .  ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"En-uk-sugar.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "British English"}, {"question": "Who is the person that won a National Society of Film Critics Award for Best Supporting Actor for Boogie Nights?", "choices": ["Gene Hackman", "Burt Reynolds", "Max Fleischer", "Sylvester Stallone", "Jason Robards", "J. K. Simmons", "Mark Wahlberg", "Morgan Freeman", "Julianne Moore", "Eddie Marsan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Boogie Nights"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Boogie Nights\" .  }", "answer": "Burt Reynolds"}, {"question": "Which one has less population, Eureka (birthplace of Mike Patton) or Livonia?", "choices": ["Greenville", "Eureka", "Franklin", "Livonia", "New Haven", "Waukegan", "Oakland", "Lansing", "Columbus", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Patton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Eureka"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Livonia"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eureka\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Mike Patton\" .   } UNION { ?e <pred:name> \"Livonia\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Eureka"}, {"question": "Was the band whose Instagram username is duranduran founded before 1999?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "duranduran"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1999", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"duranduran\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1999 ) .  }", "answer": "yes"}, {"question": "When did the city with pronunciation audio Bremen.ogg have a population of 542707?", "choices": ["2013-03-14", "1533-01-01", "2004-04-01", "2011-05-09", "2013-09-12", "1727-12-01", "1999-12-01", "2009-05-01", "2017-07-18", "2004"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Bremen.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "542707", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"Bremen.ogg\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"542707\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-05-09"}, {"question": "Which one among first-level administrative country subdivisions, whose elevation (above sea level) is different from 200 metres, cover the smallest area ?", "choices": ["Salzburg", "Canton of Valais", "Aargau", "Western Cape", "Sabah", "Oaxaca", "Victoria", "Australian Capital Territory", "Kabul", "Federation of Bosnia and Herzegovina"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "200 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"200\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Aargau"}, {"question": "Nassar was cast in the movie with which title?", "choices": ["The Diary of Anne Frank", "\uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc", "This Is Spinal Tap", "Fair Game", "Grey's Anatomy", "Fort Worth", "Skyfall", "Demolition Man", "Ashanti", "\u0baa\u0bcd\u0bb0\u0ba3\u0bcd\u0b9f\u0bcd\u0bb8\u0bcd"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nassar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Nassar\" .  ?e <title> ?pv .  }", "answer": "Fair Game"}, {"question": "Which newscast with other than 30 seasons has the most of them?", "choices": ["Second Intifada", "FreeBSD", "Orange", "manufacturing", "Today", "The Daily Show", "Western Desert Campaign", "Good Morning America", "Napoleonic Wars", "Android"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "30", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"30\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Today"}, {"question": "Is Marion Cotillard's Instagram username caallboysoficial?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marion Cotillard"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["caallboysoficial"]}], "sparql": "ASK { ?e <pred:name> \"Marion Cotillard\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"caallboysoficial\" .  }", "answer": "no"}, {"question": "Does Coming Home, represented online at www.sonyclassics.com/cominghome, have a run-time other than 2.9 years ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coming Home"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonyclassics.com/cominghome/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["2.9 year", "!="]}], "sparql": "ASK { ?e <pred:name> \"Coming Home\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sonyclassics.com/cominghome/\" . ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What special example of class pertains to the person that died in County down in the year 461?", "choices": ["official minority languages of Sweden", "statement with Gregorian date earlier than 1584", "ISO standard", "Luz de Am\u00e9rica", "dynasty", "Minority religion", "ISO 3166-2:DE", "Spanish Constitution of 1812", "singular", "verified account"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Down"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["date of death", "461", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"County Down\" .  ?e <date_of_death> ?pv . ?pv <pred:year> 461 . [ <pred:fact_h> ?e ; <pred:fact_r> <date_of_death> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "What is the relationship between Warren County (the one whose area is 217 square mile) and Fauquier County?", "choices": ["different from", "shares border with", "registered with", "public holiday", "airline alliance", "interests", "production designer", "penalty", "color", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "217 square mile", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Fauquier County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Warren County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square mile\" . ?pv <pred:value> \"217\"^^xsd:double . ?e_2 <pred:name> \"Fauquier County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the inception time for the activity with the official website of http://www.vertigocomics.com?", "choices": ["1640", "1993", "1818", "1954-02-01", "482", "-4570000000", "1812-09-14", "-753", "1929", "1970-07-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.vertigocomics.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.vertigocomics.com\" . ?e <inception> ?pv .  }", "answer": "1993"}, {"question": "Out of the provinces of Italy that are an administrative division of Piedmont (the one that contains Province of Cuneo), which is the largest in area?", "choices": ["Province of Turin", "Province of Cagliari", "Province of Rome", "Province of Salerno", "Province of Brescia", "Province of Potenza", "Province of Naples", "province of Milan", "Province of Como", "Province of Cuneo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Cuneo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Piedmont"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Piedmont\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Province of Cuneo\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Province of Cuneo"}, {"question": "Which movie is shorter, The Unbearable Lightness of Being or Wild Wild West?", "choices": ["Wild Wild West", "The Hunchback of Notre Dame", "The Towering Inferno", "Talk to Her", "A Prairie Home Companion", "The Fifth Element", "Training Day", "Curse of the Golden Flower", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Unbearable Lightness of Being"]}, {"function": "Find", "dependencies": [], "inputs": ["Wild Wild West"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Unbearable Lightness of Being\" .  } UNION { ?e <pred:name> \"Wild Wild West\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wild Wild West"}, {"question": "Is Sheffield Wednesday Football Club the official name of the city that's home to Peking University ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peking University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Sheffield Wednesday Football Club"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Peking University\" .  ?e <official_name> ?pv . ?pv <pred:value> \"Sheffield Wednesday Football Club\" .  }", "answer": "no"}, {"question": "What language pertains to the project for which Giorgio Moroder was honored at the Grammys, which is the organization that has an official site of http://www.grammy.com?", "choices": ["Punjabi", "Portuguese", "Modern Greek", "Bokm\u00e5l", "Romanian", "Malagasy", "German", "Latvian", "English", "Indonesian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giorgio Moroder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Grammy Award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.grammy.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Grammy Award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Giorgio Moroder\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.grammy.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Anchorage or Alexandria (that shares a border with Baton Rouge) have the higher elevation above sea level?", "choices": ["Waukegan", "New Haven", "Columbus", "Greenville", "Alexandria", "Lansing", "Franklin", "Compton", "Oakland", "Anchorage"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anchorage"]}, {"function": "Find", "dependencies": [], "inputs": ["Baton Rouge"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anchorage\" .  } UNION { ?e <pred:name> \"Alexandria\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Baton Rouge\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anchorage"}, {"question": "Where was Schindler's List (the one that mainly depicts World War II) published on 1993-12-15 ?", "choices": ["R\u00e4ttvik", "Quebec", "Charlotte Motor Speedway", "Kazakhstan", "United States of America", "Northern America", "Chicago", "Hong Kong", "Lebanon", "Portugal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World War II"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Schindler's List"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1993-12-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Schindler's List\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"World War II\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1993-12-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Is the fictional duck portrayed by Seth Green taller than 35 centimeters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seth Green"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional duck"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["35 centimetre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional duck\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Seth Green\" .  ?e <height> ?pv . ?pv <pred:unit> \"centimetre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"35\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How much did the Godzilla released on 1998-09-16 make at the box office?", "choices": ["87400000 United States dollar", "46000000 United States dollar", "15533000", "3920000000 Indian rupee", "240000000 United States dollar", "130000000 United States dollar", "96000000 United States dollar", "60600000 United States dollar", "303025485 United States dollar", "379014294 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Godzilla"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1998-09-16", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Godzilla\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1998-09-16\"^^xsd:date . ?e <box_office> ?pv .  }", "answer": "379014294 United States dollar"}, {"question": "What is the native name of the family name of Fabolous?", "choices": ["Encino", "Valencia", "Jackson", "Yeshiva University", "\u0421\u043e\u0432\u0435\u0442 \u0421\u043e\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0438\u043a \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u043b\u0430\u0440\u044b \u0421\u043e\u044e\u0437\u044b", "Tallinn", "Commonwealth of Pennsylvania", "\u00c5bo", "Perth", "Wuliwya Suyu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fabolous"]}, {"function": "Relate", "dependencies": [0], "inputs": ["family name", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["family name"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"family name\" . ?e_1 <family_name> ?e . ?e_1 <pred:name> \"Fabolous\" .  ?e <native_label> ?pv .  }", "answer": "Jackson"}, {"question": "Which has a smaller population, Union of South Africa or Empire of Japan?", "choices": ["Crown of Arag\u00f3n", "Empire of Japan", "Confederate States of America", "Union of South Africa", "Abyssinia", "Swedish Empire", "Mongol Empire", "Kingdom of Portugal", "Qing dynasty", "Spanish Empire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Union of South Africa"]}, {"function": "Find", "dependencies": [], "inputs": ["Empire of Japan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Union of South Africa\" .  } UNION { ?e <pred:name> \"Empire of Japan\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Union of South Africa"}, {"question": "Does Kenneth Mars have less than 1.9 daughters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kenneth Mars"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["1.9 daughter", "<"]}], "sparql": "ASK { ?e <pred:name> \"Kenneth Mars\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"daughter\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the name of the association football club from Greece with an official website http://www.aokavalas.gr/ ?", "choices": ["Stade Brestois 29", "Atromitos F.C.", "OFI Crete", "Ethnikos Piraeus F.C.", "Panserraikos F.C.", "Roda JC Kerkrade", "Middlesbrough F.C.", "Kavala F.C.", "Zamalek SC", "Brisbane Roar FC"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.aokavalas.gr/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.aokavalas.gr/\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Greece\" .  }", "answer": "Kavala F.C."}, {"question": "Was the higher education institution in Turin established sometime other than 1887 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1887", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Turin\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1887 ) .  }", "answer": "yes"}, {"question": "Between Honolulu (native label Honolulu) or Boulogne-Billancourt, which is higher in elevation?", "choices": ["Halle (Saale)", "Bordeaux", "Aachen", "Lyon", "Utrecht", "Boulogne-Billancourt", "Fort Smith", "Honolulu", "Stuttgart", "Dnipro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Honolulu"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Honolulu"]}, {"function": "Find", "dependencies": [], "inputs": ["Boulogne-Billancourt"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Honolulu\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Honolulu\" . } UNION { ?e <pred:name> \"Boulogne-Billancourt\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Boulogne-Billancourt"}, {"question": "What is John Rawls's ISNI?", "choices": ["0000 0001 2133 4729", "0000 0000 7840 3118", "0000 0001 1468 4050", "0000 0001 1470 3186", "0000 0003 6862 8358", "0000 0000 3556 8799", "0000 0003 6851 668X", "0000 0000 7824 2430", "0000 0004 0509 4229", "0000 0004 0632 5084"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Rawls"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Rawls\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2133 4729"}, {"question": "Was the written work titled The Postman not published in 2001?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Postman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2001", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Postman\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2001 ) .  }", "answer": "yes"}, {"question": "What mass does the person have who is a player on the Manchester Monarchs?", "choices": ["54.9 atomic mass unit", "185 pound", "228.209 atomic mass unit", "82 kilogram", "190 pound", "304.24 atomic mass unit", "265.112 atomic mass unit", "76 kilogram", "120 kilogram", "214 pound"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manchester Monarchs"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["mass"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Manchester Monarchs\" .  ?e <mass> ?pv .  }", "answer": "185 pound"}, {"question": "How is Bret Michaels related to musician?", "choices": ["capital", "professorship", "place of death", "takes place in fictional universe", "occupation", "uses", "permanent resident of", "lowest point", "student of", "language used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bret Michaels"]}, {"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bret Michaels\" . ?e_2 <pred:name> \"musician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which 1997 Broadcast Film Critics Association recipient for Best Supporting Actor was born as Philip Anthony Hopkins?", "choices": ["Babyface", "Simon Cowell", "Rahul Dev Burman", "Richard Gere", "James E. Reilly", "William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "David Byrne", "Anthony Hopkins"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1997", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["birth name", "Philip Anthony Hopkins"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1997 . ?e <birth_name> ?pv . ?pv <pred:value> \"Philip Anthony Hopkins\" .  }", "answer": "Anthony Hopkins"}, {"question": "Of German states other than 6000 square KMs in size, which is highest in elevation?", "choices": ["Bavaria", "Saxony-Anhalt", "Saxony", "Hesse", "Schleswig-Holstein", "Thuringia", "Lower Saxony", "Bremen", "North Rhine-Westphalia", "Mecklenburg-Vorpommern"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "6000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bavaria"}, {"question": "What is the FIPS 6-4 (US counties) for Delaware County (the one whose population is 193013)?", "choices": ["37071", "39081", "39049", "04021", "06107", "21073", "25015", "39041", "42077", "36031"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delaware County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "193013", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Delaware County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"193013\"^^xsd:double . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "39041"}, {"question": "Which animated film has the longest runtime?", "choices": ["Recess: School's Out", "Shrek 2", "The Lord of the Rings", "Naruto the Movie: Legend of the Stone of Gelel", "Ice Age: Dawn of the Dinosaurs", "The Lorax", "Beauty and the Beast", "Legend of the Guardians: The Owls of Ga'Hoole", "Lilo & Stitch", "Puss in Boots"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterConcept", "dependencies": [0], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [1], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings"}, {"question": "Was Fullmetal Alchemist the Movie: Conqueror of Shamballa released prior to 2006?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fullmetal Alchemist the Movie: Conqueror of Shamballa"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2006", "<"]}], "sparql": "ASK { ?e <pred:name> \"Fullmetal Alchemist the Movie: Conqueror of Shamballa\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }", "answer": "yes"}, {"question": "How many popular musics were not get started in 1977 or started prior 1967?", "choices": ["107", "108", "109", "110", "111", "112", "113", "114", "115", "116"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1977", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["popular music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1967", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["popular music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  } }", "answer": "113"}, {"question": "What is the relationship between the Yom Kippur War and Israel Defense Forces?", "choices": ["conflict", "heritage designation", "member of political party", "main food source", "season starts", "contributing factor of", "kit supplier", "military conflicts", "software engine", "broadcast by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Israel Defense Forces"]}, {"function": "Find", "dependencies": [], "inputs": ["Yom Kippur War"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Israel Defense Forces\" . ?e_2 <pred:name> \"Yom Kippur War\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "Which has lower elevation above sea level, Porter County or Lake County (the one whose population is 496052)?", "choices": ["Johnson County", "Monroe County", "Allen County", "Marion County", "Hancock County", "Franklin County", "Delaware County", "Madison County", "Lake County", "Porter County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Porter County"]}, {"function": "Find", "dependencies": [], "inputs": ["Lake County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "496052", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Porter County\" . } UNION { ?e <pred:name> \"Lake County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"496052\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lake County"}, {"question": "Which has a larger population, Cupertino or Longview (the one that is the birthplace of Forest Whitaker)?", "choices": ["Boulder", "Franklin", "New Haven", "Waukegan", "Lansing", "Cupertino", "Columbus", "Compton", "Longview", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cupertino"]}, {"function": "Find", "dependencies": [], "inputs": ["Forest Whitaker"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Longview"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cupertino\" .  } UNION { ?e <pred:name> \"Longview\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Forest Whitaker\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Longview"}, {"question": "Which reviewer gave a score of 0.8 to the Benjamin Franklin Medal, whose recipients include Thomas Alva Edison?", "choices": ["Rotten Tomatoes", "Metacritic", "AlloCin\u00e9", "James Berardinelli", "Roger Ebert", "FIFA", "Innovation, Science and Economic Development Canada", "AllMovie", "Charity Navigator", "Peter Travers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Alva Edison"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin Medal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["review score", "0.8", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Benjamin Franklin Medal\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Thomas Alva Edison\" .  ?e <review_score> ?pv . ?pv <pred:value> \"0.8\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "Innovation, Science and Economic Development Canada"}, {"question": "What country is associated with the person that has the ISNI of 0000 0001 0893 2011 and the official website of https://www.themichaelpalin.com/?", "choices": ["Spain", "Czechoslovak Socialist Republic", "Aruba", "United Kingdom", "Kenya Colony", "Kingdom of Saxony", "Suriname", "Ukraine", "Switzerland", "Turkey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0893 2011"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.themichaelpalin.com/", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0893 2011\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.themichaelpalin.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What is the connection between John Williams (the one that lives in Cardiff) to United Kingdom?", "choices": ["movement", "licensed to broadcast to", "located in the administrative territorial entity", "country of citizenship", "next higher rank", "presenter", "film editor", "taxon rank", "officeholder", "cause of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cardiff"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> \"Cardiff\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "When did Invincible, which was published in 2006-08-25, nominated for the MTV Movie Award for Best Kiss?", "choices": ["2002-10-01", "2010-12-15", "1991-03-15", "2002-12-18", "2018-02-03", "2018-10-01", "2001-08-22", "2007", "1906", "1858-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Invincible"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2006-08-25", "="]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Kiss"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Invincible\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2006-08-25\"^^xsd:date . ?e_2 <pred:name> \"MTV Movie Award for Best Kiss\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "When did Museo del Prado have a collection of 4 books?", "choices": ["1279", "2016-01-29", "2005-11-01", "2006-12-01", "1780-01-01", "1935-12-31", "1963-01-01", "2012", "1870", "1707"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Museo del Prado"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["collection or exhibition size", "4 book", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Museo del Prado\" . ?e <collection_or_exhibition_size> ?pv . ?pv <pred:unit> \"book\" . ?pv <pred:value> \"4\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <collection_or_exhibition_size> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "What television series has Debra Winger as a cast member?", "choices": ["Wonder Woman", "Shadowlands", "Indian Idol", "Sesame Street", "Searching for Debra Winger", "The Surreal Life", "The Kingdom", "Radio", "Terms of Endearment", "Merlin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Debra Winger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Debra Winger\" .   }", "answer": "Wonder Woman"}, {"question": "What is the Golden Globe Award ceremony  received by the visual artwork with exploitation visa number 116230?", "choices": ["65th Golden Globe Awards", "60th Golden Globe Awards", "69th Golden Globe Awards", "37th Golden Globe Awards", "64th Golden Globe Awards", "66th Golden Globe Awards", "55th Golden Globe Awards", "57th Golden Globe Awards", "59th Golden Globe Awards", "Satellite Awards 2007"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "116230"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Golden Globe Award ceremony"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Globe Award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"116230\" .   }", "answer": "64th Golden Globe Awards"}, {"question": "Where was the feature film whose title is Last Action Hero published on 1993-10-07?", "choices": ["Kuwait", "Germany", "Jordan", "Thailand", "Portugal", "United Arab Emirates", "Uruguay", "Montreal World Film Festival", "Netherlands", "Hungary"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Last Action Hero"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1993-10-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Last Action Hero\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1993-10-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which area is larger in size, Poole or Valletta?", "choices": ["Poole", "Macclesfield", "Doncaster", "Valletta", "South Shields", "Blackburn", "Wimbledon", "Wigan", "Colchester", "Edmonton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Poole"]}, {"function": "Find", "dependencies": [], "inputs": ["Valletta"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Poole\" .  } UNION { ?e <pred:name> \"Valletta\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Poole"}, {"question": "What is the title of the television series composed by John Ottman?", "choices": ["The Rules of Attraction", "Sergeant York", "The Terminal", "Fantastic Four", "Prince of Persia: The Sands of Time", "Tomorrow Never Dies", "Yentl", "Twin Peaks", "Red State", "Battle Creek"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Ottman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"John Ottman\" .  ?e <title> ?pv .  }", "answer": "Battle Creek"}, {"question": "Madhuri Dixit is related in what way to Indian people?", "choices": ["licensed to broadcast to", "basic form of government", "interested in", "musical conductor", "risk factor", "designated as terrorist by", "ethnic group", "spouse", "developer", "item operated"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madhuri Dixit"]}, {"function": "Find", "dependencies": [], "inputs": ["Indian people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Madhuri Dixit\" . ?e_2 <pred:name> \"Indian people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What is the population of Bangor in the US ?", "choices": ["585389", "699922", "1034070", "33039", "60619", "564895", "7200", "1096833", "154001", "14150223"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bangor\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <population> ?pv .  }", "answer": "33039"}, {"question": "What is the character role of Jennifer Hale (the one whose Deutsche Synchronkartei actor-ID is 16640) in Wreck-It Ralph?", "choices": ["Elizabeth \"Liz\" Harris", "Geordi La Forge", "Bill Yoast", "additional voices", "Dr. Facilier", "Captain Gantu", "Jack Shephard", "Damian Falco", "War Doctor", "Lore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wreck-It Ralph"]}, {"function": "Find", "dependencies": [], "inputs": ["Jennifer Hale"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Deutsche Synchronkartei actor-ID", "16640"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Wreck-It Ralph\" . ?e_2 <pred:name> \"Jennifer Hale\" . ?e_2 <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"16640\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "additional voices"}, {"question": "What person played Donna Hayward in Twin Peaks, with Tim Roth as a cast member, and attended the School of the Art Institute of Chicago?", "choices": ["Max Fleischer", "Sylvester Stallone", "David Byrne", "Richard Gere", "William Henry Harrison", "Lara Flynn Boyle", "Babyface", "Simon Cowell", "Paul Simon", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tim Roth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twin Peaks"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Donna Hayward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["School of the Art Institute of Chicago"]}, {"function": "Relate", "dependencies": [7], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["human"]}, {"function": "And", "dependencies": [6, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Twin Peaks\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Tim Roth\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Donna Hayward\" . ?e <educated_at> ?e_3 . ?e_3 <pred:name> \"School of the Art Institute of Chicago\" .  }", "answer": "Lara Flynn Boyle"}, {"question": "What is the connection between guitar to Alicia Keys?", "choices": ["edition or translation of", "employer", "permanent resident of", "distribution", "eye color", "business division", "famous people", "original film format", "different from", "does not have part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "Find", "dependencies": [], "inputs": ["Alicia Keys"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"guitar\" . ?e_2 <pred:name> \"Alicia Keys\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the ISNI of the human that was nominated for an Academy Award for Best Actor for Sounder?", "choices": ["0000 0001 0907 8435", "0000 0001 2278 3593", "0000 0001 0930 464X", "0000 0001 1598 8582", "0000 0001 1030 9368", "0000 0001 2100 0710", "0000 0004 0490 5456", "0000 0001 1312 9856", "0000 0000 8442 3203", "0000 0000 6302 5468"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Sounder"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Sounder\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 6302 5468"}, {"question": "Who is taller, Stevie Nicks or Tim Robbins?", "choices": ["Max Fleischer", "Tim Robbins", "James E. Reilly", "Rahul Dev Burman", "Paul Simon", "William Henry Harrison", "Sylvester Stallone", "Richard Gere", "David Byrne", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stevie Nicks"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Robbins"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stevie Nicks\" .  } UNION { ?e <pred:name> \"Tim Robbins\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tim Robbins"}, {"question": "Which person is the spouse of the person educated at University of Western Australia?", "choices": ["Ellen Page", "Akira Ishida", "Alexander Payne", "Julian Glover", "Gary Oldman", "Vincent D'Onofrio", "Richard Brooks", "Penelope Ann Miller", "Norman Foster", "Heather O'Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Western Australia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> \"University of Western Australia\" .   }", "answer": "Vincent D'Onofrio"}, {"question": "Which has smaller area, Thuringia established on 1945-07-09 or Queensland?", "choices": ["Podlaskie Voivodeship", "Upper Austria", "Thuringia", "Greater Poland Voivodeship", "Queensland", "Minas Gerais", "England", "Punjab", "Lublin Voivodeship", "Chiapas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thuringia"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1945-07-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Queensland"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thuringia\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1945-07-09\"^^xsd:date . } UNION { ?e <pred:name> \"Queensland\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Thuringia"}, {"question": "Does Bury My Heart at Wounded Knee have a title equal to Election?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bury My Heart at Wounded Knee"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Election"]}], "sparql": "ASK { ?e <pred:name> \"Bury My Heart at Wounded Knee\" . ?e <title> ?pv . ?pv <pred:value> \"Election\" .  }", "answer": "no"}, {"question": "What is the title of the visual artwork produced by Bryan Burk?", "choices": ["Super 8", "High School Musical", "Cave of Forgotten Dreams", "Star Wars: Episode II \u2013 Attack of the Clones", "\u0421\u043b\u0430\u0432\u0430", "Twilight", "Louisiana", "Glory", "Amour", "8 femmes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryan Burk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Bryan Burk\" .  ?e <title> ?pv .  }", "answer": "Super 8"}, {"question": "Regarding the groups of organisms known by a particular common name, whose life expectancy is not the same as 45 years, which one of them have the shortest life expectancy ?", "choices": ["Labrador Retriever", "German Shepherd dog", "goat", "Yorkshire Terrier", "Golden Retriever", "sheep", "bulldog", "cattle", "chicken", "India"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "45 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["life expectancy", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"45\"^^xsd:double ) . ?e <life_expectancy> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Shepherd dog"}, {"question": "What is Bill Maher's name in Kana?", "choices": ["\u30c8\u30cb\u30fc\u30fb\u30ec\u30aa\u30f3", "\u307f\u304d \u3057\u3093\u3044\u3061\u308d\u3046", "\u306f\u3084\u3057\u3070\u3089 \u3081\u3050\u307f", "\u30b1\u30a4\u30b7\u30fc\u30fb\u30b1\u30a4\u30b5\u30e0", "\u3072\u3055\u3044\u3057 \u3058\u3087\u3046", "\u30d3\u30eb\u30fb\u30de\u30fc", "\u306e\u3056\u308f \u307e\u3055\u3053", "\u305f\u304b\u3084\u307e \u307f\u306a\u307f", "\u30cf\u30a4\u30e0\u30fb\u30b5\u30d0\u30f3", "\u30b8\u30a7\u30ea\u30fc\u30fb\u30cd\u30eb\u30bd\u30f3"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Maher"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in kana"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bill Maher\" . ?e <name_in_kana> ?pv .  }", "answer": "\u30d3\u30eb\u30fb\u30de\u30fc"}, {"question": "How many national soccer teams rank 10 or took part in the Games of the 1948 Summer Olympics?", "choices": ["26", "27", "28", "29", "30", "31", "32", "33", "34", "35"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "10", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "Find", "dependencies": [], "inputs": ["1948 Summer Olympics"]}, {"function": "Relate", "dependencies": [3], "inputs": ["participant of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" .  { ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"10\"^^xsd:double .  } UNION { ?e <participant_of> ?e_1 . ?e_1 <pred:name> \"1948 Summer Olympics\" .  } }", "answer": "34"}, {"question": "When did the film that has Lauren Ambrose as a voice actor get an exploitation visa number of 124754?", "choices": ["2000-10-06", "1973-03-26", "1857-05-10", "1975-05-15", "2012-04-15", "2009-12-04", "2004-10-03", "1967-01-09", "2014-01-18", "1730"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lauren Ambrose"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["exploitation visa number", "124754", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Lauren Ambrose\" .  ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"124754\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2009-12-04"}, {"question": "Which person's official website is http://www.samrockwell.net?", "choices": ["Sam Rockwell", "Sayaji Shinde", "Adam Baldwin", "William Henry Harrison", "Sylvester Stallone", "James Arness", "Rod Taylor", "Joyce Carol Oates", "Max Fleischer", "Kevin James"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.samrockwell.net"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.samrockwell.net\" .  }", "answer": "Sam Rockwell"}, {"question": "What is the title of Looney Tunes?", "choices": ["The Truman Show", "Flashdance", "The Dresser", "La Vie en Rose", "Dune", "Looney Tunes", "It Happened One Night", "Foreign Correspondent", "Homicide: Life on the Street", "The Sessions"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Looney Tunes"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Looney Tunes\" . ?e <title> ?pv .  }", "answer": "Looney Tunes"}, {"question": "Which has more people, Jeddah or Medina (the one that is the twinned administrative body of Mecca)?", "choices": ["Bergen", "Kilkenny", "Dundee", "Cork", "Santo Domingo", "Chihuahua", "Medina", "Kingston", "Trieste", "Jeddah"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeddah"]}, {"function": "Find", "dependencies": [], "inputs": ["Mecca"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Medina"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jeddah\" .  } UNION { ?e <pred:name> \"Medina\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Mecca\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jeddah"}, {"question": "What is the start date that 90459 is the exploitation visa number of Crash that was nominated for a Golden Reel Award?", "choices": ["2009-01-03", "1996-07-17", "1987-11-18", "2012-02-17", "2012-02-24", "1991-12-13", "1989-06-08", "1981-01-05", "2000-05-22", "2006-02-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Reel Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["exploitation visa number", "90459", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Crash\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Reel Award\" .  ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"90459\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1996-07-17"}, {"question": "What is the character role of Timothy Spall as a cast member in Lemony Snicket's A Series of Unfortunate Events (that has Meryl Streep as a cast member)?", "choices": ["Naomi", "Arthur Poe", "Marv", "Carnage", "Howard Stark", "Sheriff Woody", "Shinzon", "Bird Brain Mary", "Clay Bertrand", "Zeus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meryl Streep"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lemony Snicket's A Series of Unfortunate Events"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Timothy Spall"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lemony Snicket's A Series of Unfortunate Events\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Meryl Streep\" . ?e_2 <pred:name> \"Timothy Spall\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Arthur Poe"}, {"question": "How many New York cities have the local area code 914 and share a border with Mount Vernon whose postal code is 10550?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "914"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "Find", "dependencies": [], "inputs": ["Mount Vernon"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "10550"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city of New York"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"914\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Mount Vernon\" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> \"10550\" .  }", "answer": "1"}, {"question": "How is Saving Private Ryan related to war film?", "choices": ["executive producer", "presenter", "rector", "language used", "winner", "business division", "genre", "officeholder", "narrator", "given name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saving Private Ryan"]}, {"function": "Find", "dependencies": [], "inputs": ["war film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saving Private Ryan\" . ?e_2 <pred:name> \"war film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the position of David Kaye (the one that is educated at University of California, Berkeley) who is an employee of UCLA School of Law?", "choices": ["university teacher", "astronaut", "queen regnant", "United States Secretary of State", "president of the French Republic", "President of the People's Republic of China", "Artists and repertoire", "research fellow", "reader", "professor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Berkeley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Kaye"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["UCLA School of Law"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["employer", "position held"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Kaye\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"University of California, Berkeley\" . ?e_2 <pred:name> \"UCLA School of Law\" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <position_held> ?qpv .  }", "answer": "professor"}, {"question": "What is the relationship between Marshall, Texas and Taipei?", "choices": ["child", "start point", "model item", "opposite of", "languages spoken, written or signed", "public holiday", "Wikidata property", "twinned administrative body", "location of discovery", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marshall, Texas"]}, {"function": "Find", "dependencies": [], "inputs": ["Taipei"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marshall, Texas\" . ?e_2 <pred:name> \"Taipei\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Is the native language name of the human who played the character role of Mina Harker as a cast member of Bram Stoker's Dracula (which was nominated for a BAFTA Award for Best Special Visual Effects) equal to Winona Ryder?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Special Visual Effects"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bram Stoker's Dracula"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Mina Harker"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["Winona Ryder"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Bram Stoker's Dracula\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"BAFTA Award for Best Special Visual Effects\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Mina Harker\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Winona Ryder\" .  }", "answer": "yes"}, {"question": "Which person has Regensburg Classification identifier CF 5000 - CF 5017?", "choices": ["William Henry Harrison", "Max Fleischer", "Chad Hugo", "Steve McQueen", "Victor Hugo", "Amy Winehouse", "Immanuel Kant", "Vladimir Lenin", "Joyce Carol Oates", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Regensburg Classification", "CF 5000 - CF 5017"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Regensburg_Classification> ?pv . ?pv <pred:value> \"CF 5000 - CF 5017\" .  }", "answer": "Immanuel Kant"}, {"question": "What is the relation between The Count of Monte Cristo (the one whose publication date is 1943-01-01) and France?", "choices": ["source of material", "cause of death", "enclave within", "superhuman feature or ability", "partner", "country of origin", "currency", "sponsor", "is a list of", "source of income"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Count of Monte Cristo"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1943-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Count of Monte Cristo\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1943-01-01\"^^xsd:date . ?e_2 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the connection between Angels & Demons (the one whose ISBN-13 is 978-2-7096-2579-1) to detective fiction?", "choices": ["afflicts", "place of publication", "captain", "genre", "significant event", "political ideology", "vehicle normally used", "from fictional universe", "filming location", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angels & Demons"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN-13", "978-2-7096-2579-1"]}, {"function": "Find", "dependencies": [], "inputs": ["detective fiction"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Angels & Demons\" . ?e_1 <ISBN-13> ?pv . ?pv <pred:value> \"978-2-7096-2579-1\" . ?e_2 <pred:name> \"detective fiction\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does the film, with Walter Wanger as director, have its video equal to Channel2 - Tel Aviv.webm?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter Wanger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["video"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Channel2 - Tel Aviv.webm"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Walter Wanger\" .  ?e <video> ?pv . ?pv <pred:value> \"Channel2 - Tel Aviv.webm\" .  }", "answer": "no"}, {"question": "Does the California State Assembly have more than 360 seats?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California State Assembly"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of seats"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["360", ">"]}], "sparql": "ASK { ?e <pred:name> \"California State Assembly\" . ?e <number_of_seats> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"360\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which person has the Libris-URI of hftx56913298kws?", "choices": ["Alberto Iglesias", "Cy Coleman", "Aasif Mandvi", "Dave Wittenberg", "William Henry Harrison", "Max Fleischer", "Crispin Glover", "Quincy Jones", "Richard Gere", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "hftx56913298kws"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"hftx56913298kws\" .  }", "answer": "Cy Coleman"}, {"question": "Who has less children, Colm Meaney or Telly Savalas?", "choices": ["Richard Gere", "Colm Meaney", "Sylvester Stallone", "David Byrne", "Simon Cowell", "Paul Simon", "Rahul Dev Burman", "Max Fleischer", "James E. Reilly", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colm Meaney"]}, {"function": "Find", "dependencies": [], "inputs": ["Telly Savalas"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Colm Meaney\" .  } UNION { ?e <pred:name> \"Telly Savalas\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Colm Meaney"}, {"question": "What is the connection between Lori Alan to actor?", "choices": ["significant person", "subject has role", "mother", "occupation", "properties for this type", "material used", "platform", "place of death", "this taxon is source of", "eye color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lori Alan"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lori Alan\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Was a city in the US, whose official website is http://www.cityoftyler.org, foundede on 26th September 1789 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityoftyler.org"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["1789-09-26", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityoftyler.org\" . ?e <inception> ?pv . ?pv <pred:date> \"1789-09-26\"^^xsd:date .  }", "answer": "no"}, {"question": "Where did Coach Carter, which has a publication date of 2005-04-07, get published?", "choices": ["Moscow", "Philippines", "2005 Cannes Film Festival", "Toronto International Film Festival", "Stockholm", "New York", "Turkey", "Westwood", "Hong Kong", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coach Carter"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2005-04-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Coach Carter\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-04-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the relation of Hannibal (the one that features Julianne Moore) to the MTV movie award for best movie.", "choices": ["fabrication method", "month of the year", "architectural style", "officeholder", "currency", "symptom of", "professional or sports partner", "ancestral home", "depicts", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julianne Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hannibal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Movie"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hannibal\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Julianne Moore\" . ?e_2 <pred:name> \"MTV Movie Award for Best Movie\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What country does Omaha, where Fred Astaire was born, belong to?", "choices": ["United States of America", "Serbia", "India", "Italy", "West Germany", "Uruguay", "Guyana", "Bhutan", "Cura\u00e7ao", "Czechoslovak Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fred Astaire"]}, {"function": "Find", "dependencies": [], "inputs": ["Omaha"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of birth", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Fred Astaire\" . ?e_2 <pred:name> \"Omaha\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "At what point in time is 2757520 the population of the region of France whose INSEE region code is 28, starting on the date 2016-01-01?", "choices": ["2013-06-01", "1959-04-06", "1988-04-11", "1968", "2014-09-01", "1864", "2017-01-12", "2004-08-01", "2016-01-15", "2010-11-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["INSEE region code", "28"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2016-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["region of France"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "2757520", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <INSEE_region_code> ?pv_1 . ?pv_1 <pred:value> \"28\" . [ <pred:fact_h> ?e ; <pred:fact_r> <INSEE_region_code> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"2016-01-01\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2757520\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1968"}, {"question": "Does the TV series represented by the website abc.go.com/shows/one-life-to-live have a season count exceeding 25 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://abc.go.com/shows/one-life-to-live/index"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["25", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://abc.go.com/shows/one-life-to-live/index\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"25\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the relation between Steve McQueen (the one that wins Independent Spirit Award for Best Director) and Goldsmiths, University of London?", "choices": ["educated at", "narrator", "programming language", "child astronomical body", "series spin-off", "captain", "candidacy in election", "architect", "symptom of", "depicted by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve McQueen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Goldsmiths, University of London"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve McQueen\" . ?e_3 <winner> ?e_1 . ?e_3 <pred:name> \"Independent Spirit Award for Best Director\" . ?e_2 <pred:name> \"Goldsmiths, University of London\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Of all New York counties with a population exceeding 5.4, which occupies the greatest area?", "choices": ["Monroe County", "Onondaga County", "Madison County", "Suffolk County", "Saratoga County", "Cayuga County", "Jefferson County", "Rensselaer County", "St. Lawrence County", "Otsego County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5.4", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"5.4\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "Which TV series distributed by Viacom, CBS' parent organization, has the most episodes?", "choices": ["Bleak House", "Saturday Night's Main Event", "The Andy Griffith Show", "The Cosby Show", "All in the Family", "Seinfeld", "Dancing with the Stars", "Six Feet Under", "Robot Chicken", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Viacom"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Viacom\" . ?e_2 <parent_organization> ?e_1 . ?e_2 <pred:name> \"CBS\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Andy Griffith Show"}, {"question": "What language is associated with the official website http://www.theahl.com/ for the organization containing the Springfield Falcons as a member?", "choices": ["Atikamekw", "English", "Australian English", "Greek", "Corsican", "Putonghua", "Indian English", "British English", "Lithuanian", "Toki Pona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Springfield Falcons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["league", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.theahl.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <league> ?e . ?e_1 <pred:name> \"Springfield Falcons\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theahl.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is the MTV Video Music Award for Best Art Direction associated with the official website http://www.mtv.com/ontv/vma/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Art Direction"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.mtv.com/ontv/vma/"]}], "sparql": "ASK { ?e <pred:name> \"MTV Video Music Award for Best Art Direction\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mtv.com/ontv/vma/\" .  }", "answer": "yes"}, {"question": "What is the relationship between A Single Man (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role) and Julianne Moore?", "choices": ["cast member", "architectural style", "appointed by", "published in", "ethnic group", "contains settlement", "penalty", "legislative body", "participant of", "successful candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Single Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Julianne Moore"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A Single Man\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role\" . ?e_2 <pred:name> \"Julianne Moore\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Tell me the time point of Hudson county has a population of 634266.", "choices": ["1991-12-12", "1730", "2010-11-17", "1963-01-01", "1875-12-01", "2010-04-01", "1918-01-01", "1994-04-19", "2014-01-01", "1472"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hudson County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "634266", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hudson County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"634266\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What is the connection between Star Trek _: The Wrath of Khan to Finland?", "choices": ["222 minute", "81 minute", "192 minute", "7 minute", "50 minute", "165 minute", "233 minute", "66 minute", "83 minute", "264 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob Schneider"]}, {"function": "Relate", "dependencies": [0], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"Rob Schneider\" .  ?e <duration> ?pv .  }", "answer": "83 minute"}, {"question": "When was Honolulu, headquarters of the Punahou School, originally in Honolulu County?", "choices": ["1991-07-15", "1907-04-30", "1950-07-01", "1896-01-04", "1189", "1708-07-05", "1845-03-10", "1964-10-10", "2009-09-22", "1961-12-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Punahou School"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Honolulu"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Honolulu County"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Honolulu\" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> \"Punahou School\" . ?e_2 <pred:name> \"Honolulu County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1907-04-30"}, {"question": "How many subscribers does N. Santhanam have under the Twitter username of iamsanthanam?", "choices": ["1872795", "12253331", "183675", "220596", "808", "1149829", "617", "112660", "25141", "9506860"], "program": [{"function": "Find", "dependencies": [], "inputs": ["N. Santhanam"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "iamsanthanam", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"N. Santhanam\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"iamsanthanam\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1872795"}, {"question": "Who has more children, Aamir Khan or Dick Cheney?", "choices": ["Sylvester Stallone", "Richard Gere", "Simon Cowell", "Dick Cheney", "Rahul Dev Burman", "William Henry Harrison", "James E. Reilly", "Paul Simon", "David Byrne", "Aamir Khan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aamir Khan"]}, {"function": "Find", "dependencies": [], "inputs": ["Dick Cheney"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Aamir Khan\" .  } UNION { ?e <pred:name> \"Dick Cheney\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dick Cheney"}, {"question": "Was Ian Fleming of Kilmarnock F.C. born in 1871?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kilmarnock F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ian Fleming"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1871", "="]}], "sparql": "ASK { ?e <pred:name> \"Ian Fleming\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Kilmarnock F.C.\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> 1871 .  }", "answer": "no"}, {"question": "How many municipalities of the Netherlands are located in Gelderland or have a number of households not equal to 460000?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gelderland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of households", "460000", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["municipality of the Netherlands"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Gelderland\" .  } UNION { ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"460000\"^^xsd:double ) .  } }", "answer": "11"}, {"question": "What is the connection between The Happening (the one whose publication date is 2008-01-01) to Conrad Buff IV?", "choices": ["set in period", "film crew member", "grants", "home world", "follows", "field of this occupation", "film editor", "medical treatment", "record label", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Happening"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2008-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Conrad Buff IV"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Happening\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2008-01-01\"^^xsd:date . ?e_2 <pred:name> \"Conrad Buff IV\" . ?e_1 ?p ?e_2 .  }", "answer": "film editor"}, {"question": "Which person was born in Trondheim?", "choices": ["Annie", "John Swasey", "William Henry Harrison", "Heather Graham", "George Takei", "Max Fleischer", "John Adams", "America Ferrera", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trondheim"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Trondheim\" .   }", "answer": "Annie"}, {"question": "Which Netherlands' province has a Twitter username of provutrecht?", "choices": ["North Brabant", "Groningen", "Utrecht", "Friesland", "Overijssel", "Limburg", "Gelderland", "Zeeland", "Drenthe", "North Holland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "provutrecht"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Netherlands"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"provutrecht\" .  }", "answer": "Utrecht"}, {"question": "Does the person with an ISNI of 0000 0000 8100 1136 have a date of birth in 1915?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8100 1136"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1915", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8100 1136\" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1915 .  }", "answer": "yes"}, {"question": "Which one has less area, Washington County whose area is 2476 square kilometres or Falkirk where Falkirk F.C. is headquartered?", "choices": ["Lee County", "Orange County", "African Union", "Greene County", "Washington County", "San Juan County", "Falkirk", "Delaware County", "Cass County", "Washoe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2476 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Falkirk F.C."]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Falkirk"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2476\"^^xsd:double . } UNION { ?e <pred:name> \"Falkirk\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Falkirk F.C.\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falkirk"}, {"question": "Since when has Hawaii (the one that contains the administrative division Honolulu County) been the twinned administrative body of Okinawa Prefecture?", "choices": ["1981-04-10", "1985-06-14", "1935", "2011-01-14", "1847-03-04", "1639", "2013-04-17", "2002-10-29", "2008-04-30", "2014-08-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Honolulu County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hawaii"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Okinawa Prefecture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hawaii\" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Honolulu County\" . ?e_2 <pred:name> \"Okinawa Prefecture\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1985-06-14"}, {"question": "What is the number of Screen Actors Guild Awards that were received by the person having the birth name Catherine Zeta Jones?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Catherine Zeta Jones"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Screen Actors Guild Award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Catherine Zeta Jones\" .   }", "answer": "2"}, {"question": "What is the connection between country music to Linda Ronstadt?", "choices": ["used by", "notable people with this condition", "afflicts", "subsidiary", "godparent", "sex or gender", "location of formation", "sponsor", "film editor", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["country music"]}, {"function": "Find", "dependencies": [], "inputs": ["Linda Ronstadt"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"country music\" . ?e_2 <pred:name> \"Linda Ronstadt\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Does Tangled, which was created on 2010, have a title of Red Tails?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tangled"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "2010", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["Red Tails"]}], "sparql": "ASK { ?e <pred:name> \"Tangled\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 2010 . ?e <title> ?pv . ?pv <pred:value> \"Red Tails\" .  }", "answer": "no"}, {"question": "Who is shorter, Jim Brown (the one that is a member of Cleveland Browns) or Jackie Robinson (the one that was born in Los Angeles)?", "choices": ["William Henry Harrison", "Paul Simon", "David Byrne", "Sylvester Stallone", "Jackie Robinson", "Max Fleischer", "Jim Brown", "Simon Cowell", "Richard Gere", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cleveland Browns"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [4], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Robinson"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jim Brown\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Cleveland Browns\" .   } UNION { ?e <pred:name> \"Jackie Robinson\" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Los Angeles\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jim Brown"}, {"question": "Which has higher elevation above sea level, Rockhampton or Tijuana?", "choices": ["Rockhampton", "Chihuahua", "Santo Domingo", "Cork", "Tijuana", "Kilkenny", "Abidjan", "Trieste", "Kingston", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rockhampton"]}, {"function": "Find", "dependencies": [], "inputs": ["Tijuana"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rockhampton\" .  } UNION { ?e <pred:name> \"Tijuana\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tijuana"}, {"question": "Which area is smaller, Berkshire County or Essex County (the one whose population is 762550)?", "choices": ["Norfolk County", "Berkshire County", "Worcester County", "Plymouth County", "Hampshire County", "Barnstable County", "Bristol County", "Suffolk County", "Essex County", "Middlesex County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berkshire County"]}, {"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "762550", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Berkshire County\" . } UNION { ?e <pred:name> \"Essex County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"762550\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Essex County"}, {"question": "Which movie made less at the box office, Inland Empire or Charlie and the Chocolate Factory (the one whose script is wrote by Roald Dahl)?", "choices": ["Inland Empire", "A Prairie Home Companion", "Curse of the Golden Flower", "Talk to Her", "Charlie and the Chocolate Factory", "Pleasantville", "Training Day", "The Fifth Element", "Rebecca", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Inland Empire"]}, {"function": "Find", "dependencies": [], "inputs": ["Roald Dahl"]}, {"function": "Relate", "dependencies": [1], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie and the Chocolate Factory"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Inland Empire\" .  } UNION { ?e <pred:name> \"Charlie and the Chocolate Factory\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Roald Dahl\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Inland Empire"}, {"question": "Which Twitter handle corresponds to the soccer club whose official website is www.servettefc.ch?", "choices": ["vanillaice", "ServetteFC", "populous", "trent_reznor", "EuropaCorp", "gordenmikefield", "CNBC", "londonsymphony", "GeelongCats", "amygrant"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.servettefc.ch/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.servettefc.ch/\" . ?e <Twitter_username> ?pv .  }", "answer": "ServetteFC"}, {"question": "Which area is larger, Martinique or Corsica (the one that is located in or next to Mediterranean Sea)?", "choices": ["Brittany", "Normandy", "Southwest Airlines", "Martinique", "San Francisco", "Joseph Conrad", "FC Aarau", "Corsica", "Chris Carter", "Chris Evans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martinique"]}, {"function": "Find", "dependencies": [], "inputs": ["Mediterranean Sea"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in or next to body of water", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Corsica"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Martinique\" .  } UNION { ?e <pred:name> \"Corsica\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Mediterranean Sea\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Corsica"}, {"question": "Who is the winner of the Academy Award for Best Supporting Actor that was received by the film Spartacus (that received an Academy Award for Best Costume Design)?", "choices": ["John Barry", "Dino Stamatopoulos", "Audu Paden", "Felicity Huffman", "John Ford", "Peter Ustinov", "Stephen B. Grimes", "Kevin Mambo", "Tony Gaudio", "Jascha Heifetz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spartacus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Spartacus\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Costume Design\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Peter Ustinov"}, {"question": "What is the Twitter username of the person whose ISNI is 0000 0001 1030 3492?", "choices": ["shrimpsofficial", "FASelangorMy", "NPS_monterey", "OM_Arab", "joebiden", "universityofga", "UCLA", "Canucks", "DowntonAbbey", "driverminnie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1030 3492"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1030 3492\" . ?e <Twitter_username> ?pv .  }", "answer": "driverminnie"}, {"question": "What is Theodore Roosevelt's military rank in the military branch of the United States Army?", "choices": ["DELTA", "10399146", "lieutenant", "art", "9639", "captain", "second lieutenant", "Hospital Corpsman", "General of the Army", "colonel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Theodore Roosevelt"]}, {"function": "Find", "dependencies": [], "inputs": ["United States Army"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["military branch", "military rank"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Theodore Roosevelt\" . ?e_2 <pred:name> \"United States Army\" . ?e_1 <military_branch> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <military_branch> ; <pred:fact_t> ?e_2 ] <military_rank> ?qpv .  }", "answer": "colonel"}, {"question": "When did the working career start for the person related to Johann Sebastian Bach (ISNI  0000 0000 6682 5970)?", "choices": ["1920", "1908", "2000", "2012", "1952", "1932", "1710", "1980", "1878", "1827"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johann Sebastian Bach"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6682 5970"]}, {"function": "Relate", "dependencies": [1], "inputs": ["relative", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <relative> ?e_1 . ?e_1 <pred:name> \"Johann Sebastian Bach\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 6682 5970\" . ?e <work_period_(start)> ?pv .  }", "answer": "1710"}, {"question": "When did the business with the Twitter handle samsungtomorrow earn 19060000000000 South Korean won in net profit?", "choices": ["1908", "1940-12-01", "1995", "1753-01-01", "2016-11-12", "1924-01-01", "1990-02-14", "1952-03-20", "2015", "2003-12-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "samsungtomorrow"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["net profit", "19060000000000 South Korean won", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"samsungtomorrow\" . ?e <net_profit> ?pv . ?pv <pred:unit> \"South Korean won\" . ?pv <pred:value> \"19060000000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_profit> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "What diplomatic relationship does Turkey have with Germany?", "choices": ["Austria\u2013Slovenia border", "Canada\u2013European Union relations", "Moldova\u2013Taiwan relations", "Iraq\u2013United Kingdom relations", "Angola\u2013Ukraine relations", "move of the capital of Russia from Moscow to Saint Petersburg in the 1730s", "Egypt\u2013Ethiopia relations", "Germany\u2013Turkey relations", "Hong Kong\u2013North Korea relations", "Korean Demilitarized Zone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turkey"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Turkey\" . ?e_2 <pred:name> \"Germany\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Germany\u2013Turkey relations"}, {"question": "When was The Bronx High School of Science founded?", "choices": ["1330-01-01", "1834-01-25", "1931-12-09", "1814", "1635-04-23", "1897-11-01", "1938", "1919-10-10", "1451", "1972-11-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Bronx High School of Science"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Bronx High School of Science\" . ?e <inception> ?pv .  }", "answer": "1938"}, {"question": "At what point is time is 69.5 percent the inflation rate of the state whose citizens are the \u0431\u044a\u0300\u043b\u0433\u0430\u0440\u0438  people (this statement's involved part is plural)?", "choices": ["2015-08-06", "1899-12-31", "2012-09-23", "1769", "1945-01-01", "1997", "1873", "2014-02-01", "1682-01-01", "1989-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0431\u044a\u0300\u043b\u0433\u0430\u0440\u0438"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "plural"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inflation rate", "69.6 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u0431\u044a\u0300\u043b\u0433\u0430\u0440\u0438\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"plural\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"69.6\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1989-01-01"}, {"question": "Did the person whose ISNI is 0000 0000 8099 1836 not die in 1979?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8099 1836"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1979", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8099 1836\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1979 ) .  }", "answer": "yes"}, {"question": "How many different bowed string instruments does the oud include?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["oud"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has parts of the class", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["bowed string instrument"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"bowed string instrument\" . ?e_1 <has_parts_of_the_class> ?e . ?e_1 <pred:name> \"oud\" .   }", "answer": "0"}, {"question": "What is the connection between Stephen Colbert (the one that presents in work The Colbert Report) to pundit?", "choices": ["occupation", "located in the administrative territorial entity", "copyright holder", "sports season of league or competition", "film release region", "founded by", "set in period", "narrative role", "eye color", "foundational text"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Colbert Report"]}, {"function": "Relate", "dependencies": [0], "inputs": ["present in work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Colbert"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["pundit"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stephen Colbert\" . ?e_1 <present_in_work> ?e_3 . ?e_3 <pred:name> \"The Colbert Report\" . ?e_2 <pred:name> \"pundit\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "For the award class that has the official website http://www.japan-academy-prize.jp/ is the inception time other than 2016?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.japan-academy-prize.jp/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2016", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.japan-academy-prize.jp/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2016 ) .  }", "answer": "yes"}, {"question": "What is the ISO 3166-2 code for the county in Ireland with the FIPS 10-4 (countries and regions) code of EI12?", "choices": ["CN-12", "JP-27", "GB-POR", "IE-KE", "PL-PD", "FR-62", "GB-NIR", "CN-53", "AT-6", "NL-GE"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "EI12"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISO 3166-2 code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"EI12\" . ?e <ISO_3166-2_code> ?pv .  }", "answer": "IE-KE"}, {"question": "What is the connection between Paul Simon (the one that plays the instrument drum kit) to Halifax (the one whose country is United Kingdom)?", "choices": ["filming location", "ethnic group", "voice actor", "doctoral student", "place of birth", "based on", "field of this occupation", "performer", "properties for this type", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drum kit"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Simon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Halifax"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Simon\" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> \"drum kit\" . ?e_2 <pred:name> \"Halifax\" . ?e_2 <country> ?e_4 . ?e_4 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What role does Denise Richards play in The World Is Not Enough?", "choices": ["Happy Hogan", "Ethan Kanin", "Cheshire Cat", "Nucky Thompson", "Matthew Lillard", "Captain B. McCrea", "Frankie (Shark Tale)", "Cleopatra", "Dr. Christmas Jones", "Jessica Rabbit"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denise Richards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The World Is Not Enough"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Denise Richards"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The World Is Not Enough\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Denise Richards\" . ?e_2 <pred:name> \"Denise Richards\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Dr. Christmas Jones"}, {"question": "Who was nominated for the Academy Award for Best Writing, Original Screenplay for The Damned (the one that origins from Italy)?", "choices": ["Brazil\u2013Venezuela border", "Sweden\u2013Ukraine relations", "Louisiana\u2013Texas border", "42nd Academy Awards", "Argentina\u2013Indonesia relations", "Bahrain\u2013United Kingdom relations", "Pennsylvania\u2013West Virginia border", "Bahrain\u2013Germany relations", "Algeria\u2013China relations", "Libya\u2013Malta relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Damned"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Damned\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"Italy\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "42nd Academy Awards"}, {"question": "When was the person with CANTIC-ID a1151159x born?", "choices": ["1973-06-15", "1945-08-22", "1896-05-19", "1946-07-23", "1958-02-16", "1979-01-08", "1834-01-01", "1821-12-12", "1954-10-18", "1863"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1151159x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1151159x\" . ?e <date_of_birth> ?pv .  }", "answer": "1979-01-08"}, {"question": "When was Steven Zaillian born?", "choices": ["1990-05-27", "1939-05-19", "1953-01-30", "1938-11-03", "1943-01-01", "1981-08-06", "1943-02-25", "1972-10-31", "1993-03-31", "1951-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Zaillian"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Steven Zaillian\" . ?e <date_of_birth> ?pv .  }", "answer": "1953-01-30"}, {"question": "Is the ISBN-10 2-87929-591-2 and the ISBN-13 978-91-1-937201-7  for the same written work?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN-10", "2-87929-591-2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISBN-13"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["978-91-1-937201-7"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <ISBN-10> ?pv_1 . ?pv_1 <pred:value> \"2-87929-591-2\" . ?e <ISBN-13> ?pv . ?pv <pred:value> \"978-91-1-937201-7\" .  }", "answer": "no"}, {"question": "Who is the winner for Erin Brockovich (which is in the biographical film genre) got Academy Award for Best Actress?", "choices": ["Tom Schiller", "G\u00e1bor Csup\u00f3", "Portia de Rossi", "Julia Roberts", "Larry Stensvold", "Theodor Pi\u0161t\u011bk", "Chiaki Kuriyama", "Leslie I. Carey", "Busboy Productions", "Dolly Parton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["biographical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Erin Brockovich"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Erin Brockovich\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"biographical film\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Julia Roberts"}, {"question": "Does Clive Owen or Anna Faris have fewer kids?", "choices": ["James E. Reilly", "Simon Cowell", "William Henry Harrison", "Clive Owen", "Rahul Dev Burman", "Richard Gere", "Paul Simon", "Max Fleischer", "Sylvester Stallone", "Anna Faris"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clive Owen"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Faris"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Clive Owen\" .  } UNION { ?e <pred:name> \"Anna Faris\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Anna Faris"}, {"question": "At what point in time is 193989 the population of Kassel?", "choices": ["2016-02-29", "1860-12-10", "1994-10-25", "2007-07-18", "1467-01-01", "1875-12-01", "2003-05-21", "2017-05-04", "1790", "2014-03-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kassel"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "193989", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Kassel\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"193989\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-03-31"}, {"question": "What is the relationship between the songwriter Mark Harmon and record producer?", "choices": ["soundtrack album", "from fictional universe", "heritage designation", "occupation", "sex or gender", "is a list of", "newspaper format", "parent club", "exported to", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["songwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Harmon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mark Harmon\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"songwriter\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the number of land-grant universities that have the law school with the official website http://www.osgoode.yorku.ca/ as part of it.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.osgoode.yorku.ca/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["land-grant university"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"law school\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.osgoode.yorku.ca/\" .   }", "answer": "0"}, {"question": "Was the architectural style of Burlington, designated by Amtrak station code brl, invented post-1807 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burlington"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Amtrak station code", "brl"]}, {"function": "Relate", "dependencies": [1], "inputs": ["architectural style", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["architectural style"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["time of discovery or invention"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1807", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"architectural style\" . ?e_1 <architectural_style> ?e . ?e_1 <pred:name> \"Burlington\" . ?e_1 <Amtrak_station_code> ?pv_1 . ?pv_1 <pred:value> \"brl\" . ?e <time_of_discovery_or_invention> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1807 ) .  }", "answer": "yes"}, {"question": "What is the connection between Greene County (the one whose area is 407 square kilometre) to United States of America?", "choices": ["original language of film or TV show", "home world", "architectural style", "use", "facet of", "film distribute region", "country", "influenced by", "successful candidate", "home port"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "407 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greene County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"407\"^^xsd:double . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the relation between Andover and United States of America?", "choices": ["country", "collection", "conflict", "make-up artist", "fabrication method", "copyright representative", "located on astronomical location", "parent astronomical body", "domain of saint or deity", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andover"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Andover\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which movie is longer, Paris (the one whose distributor is Metro-Goldwyn-Mayer) or RoboCop (the one whose box office is 53424681 United States dollar)?", "choices": ["The Towering Inferno", "The Hunchback of Notre Dame", "RoboCop", "Pleasantville", "Paris", "Talk to Her", "Rebecca", "Curse of the Golden Flower", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["RoboCop"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["box office", "53424681 United States dollar", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Paris\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Metro-Goldwyn-Mayer\" . } UNION { ?e <pred:name> \"RoboCop\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"53424681\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "RoboCop"}, {"question": "How many silent films were produced by Metro-Goldwyn-Mayer?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Metro-Goldwyn-Mayer\" .   }", "answer": "2"}, {"question": "Who has the larger number of females, Punjab whose 2001 census area code is 03, or Assam whose female population is 15266133?", "choices": ["Jharkhand", "Karnataka", "Haryana", "Maharashtra", "West Bengal", "Assam", "Himachal Pradesh", "Andhra Pradesh", "Kerala", "Punjab"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Punjab"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Indian census area code (2001)", "03"]}, {"function": "Find", "dependencies": [], "inputs": ["Assam"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["female population", "15266133", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["female population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Punjab\" . ?e <Indian_census_area_code_(2001)> ?pv_1 . ?pv_1 <pred:value> \"03\" . } UNION { ?e <pred:name> \"Assam\" . ?e <female_population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"15266133\"^^xsd:double . } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Assam"}, {"question": "How many matches did Peter Boyle, the member of the Leyton Orient F.C., play as a member of Sunderland A.F.C.?", "choices": ["88", "129", "29", "112", "130", "75", "0", "5", "91", "99"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leyton Orient F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Boyle"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sunderland A.F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Boyle\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Leyton Orient F.C.\" . ?e_2 <pred:name> \"Sunderland A.F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "29"}, {"question": "What is the running time of Blue Velvet?", "choices": ["78 minute", "153 minute", "89 minute", "264 second", "10 hour", "139 minute", "229 minute", "121 minute", "260 minute", "151 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Blue Velvet"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Blue Velvet\" . ?e <duration> ?pv .  }", "answer": "121 minute"}, {"question": "How is Gotha, which borders Erfurt, related to Thuringia, which borders Hesse?", "choices": ["hair color", "from fictional universe", "geographic distribution", "official language", "parent club", "director/manager", "next higher rank", "place of origin (Switzerland)", "located in the administrative territorial entity", "mouth of the watercourse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Erfurt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gotha"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Hesse"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thuringia"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gotha\" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> \"Erfurt\" . ?e_2 <pred:name> \"Thuringia\" . ?e_4 <shares_border_with> ?e_2 . ?e_4 <pred:name> \"Hesse\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What is the relationship between Rob Paulsen and Animaniacs (the one whose start time is 1993-01-08)?", "choices": ["film regional debut venue", "afflicts", "author", "place of birth", "stated in", "official language", "office contested", "has part", "notable work", "publisher"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob Paulsen"]}, {"function": "Find", "dependencies": [], "inputs": ["Animaniacs"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["start time", "1993-01-08", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rob Paulsen\" . ?e_2 <pred:name> \"Animaniacs\" . ?e_2 <start_time> ?pv . ?pv <pred:date> \"1993-01-08\"^^xsd:date . ?e_1 ?p ?e_2 .  }", "answer": "notable work"}, {"question": "Which association football club established prior to 1974 has the official website http://www.bresciacalcio.it ?", "choices": ["Torquay United F.C.", "Middlesbrough F.C.", "S.L. Benfica", "Brescia Calcio", "FC Metalist Kharkiv", "Stade Brestois 29", "Brisbane Roar FC", "Shelbourne F.C.", "S.S. Lazio", "FC St. Pauli"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bresciacalcio.it"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1974", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bresciacalcio.it\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1974 ) .  }", "answer": "Brescia Calcio"}, {"question": "How many fictional humans are from Marvel Universe and have the native language name Lois Lane?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marvel Universe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["from fictional universe", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "Lois Lane"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> \"Marvel Universe\" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Lois Lane\" .  }", "answer": "0"}, {"question": "Of independent German cities with a population other than 71000000, which is lowest in elevation?", "choices": ["Patricia Neal", "Bryan Singer", "Baden-Baden", "Bayreuth", "Frankfurt (Oder)", "Fortune Global 500", "Anton Yelchin", "Medford", "Weimar", "Coburg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "71000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"71000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "How is the English version of Egypt related to BBC?", "choices": ["facet of", "takes place in fictional universe", "native language", "presenter", "discoverer or inventor", "heritage designation", "child", "executive producer", "distributor", "producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Egypt"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Egypt\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"BBC\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "The book  You Only Live Twice was published after 1933?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "You Only Live Twice"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1933", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"You Only Live Twice\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1933 ) .  }", "answer": "yes"}, {"question": "Is 0000 0001 1526 4752 the ISNI of the rock band founded in 1984?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1984", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1526 4752"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1984 . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1526 4752\" .  }", "answer": "yes"}, {"question": "Tell me the person who is Katy Perry's spouse", "choices": ["Bruce Cohen", "Colleen Dewhurst", "Max Fleischer", "Marilyn Monroe", "Sylvester Stallone", "Richard Gere", "William Henry Harrison", "Rebecca Romijn", "Arthur Rankin Jr.", "Russell Brand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katy Perry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Katy Perry\" .   }", "answer": "Russell Brand"}, {"question": "What is the number of classes of instrument with the Hornbostel-Sachs classification 321.322-71?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "321.322-71"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of instruments"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.322-71\" .  }", "answer": "4"}, {"question": "Who is the director of photography of the visual artwork titled The Lost Weekend?", "choices": ["Philippe Rousselot", "Victor Young", "Brian K. Vaughan", "Steven Soderbergh", "Garry Chalk", "Barry Sonnenfeld", "John F. Seitz", "Alan Hume", "Lorraine Bracco", "Michael Ballhaus"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Lost Weekend"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"The Lost Weekend\" .   }", "answer": "John F. Seitz"}, {"question": "How was a rank of 26 determined for the national football team representing Peru?", "choices": ["Taqdir", "gross floor area", "Sixth National Population Census of the People's Republic of China", "United Kingdom Census 1991", "middle", "Address Based Population Registration System", "2000 United States Census", "national estimation", "administrative division valid at the time point of history to which the data relates", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peru national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "26", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Peru national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"26\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the Giphy username of Selena Gomez?", "choices": ["tpain", "epicrecords", "soundersfc", "selenagomez", "boondocks", "mcdonaldscorp", "rangersfc", "nhlcanes", "raiders", "cuboulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Selena Gomez"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Selena Gomez\" . ?e <Giphy_username> ?pv .  }", "answer": "selenagomez"}, {"question": "What is the official website for Albany Law School?", "choices": ["http://www.nelsonriddlemusic.com/", "http://www.theproducersmovie.com/", "http://www.steviewonder.net", "http://statehouse.gm/", "http://www.albanylaw.edu", "http://www.deborahharry.com/", "https://www.nixonlibrary.gov/", "http://wwws.warnerbros.co.jp/yurusarezaru/", "http://www.priorityrecords.com/", "http://www.suffolk.gov.uk/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albany Law School"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Albany Law School\" . ?e <official_website> ?pv .  }", "answer": "http://www.albanylaw.edu"}, {"question": "When did George A. Romero die?", "choices": ["1994-11-09", "1967-05-30", "1957-03-05", "1859-11-01", "2017-07-16", "2007-11-10", "1968-10-09", "1997-07-01", "1832-09-21", "1870-06-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George A. Romero"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"George A. Romero\" . ?e <date_of_death> ?pv .  }", "answer": "2017-07-16"}, {"question": "When was Mona Lisa (that uses the English language) nominated for an Academy Award for Best Original Song?", "choices": ["1633-12-01", "2008-01-01", "1952-01-01", "1813-12-01", "2005-09-12", "1950", "350", "2009-05-31", "2008-03-12", "2017-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mona Lisa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Song"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mona Lisa\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Academy Award for Best Original Song\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1950"}, {"question": "Is the business in the industry of marketing known as Google?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["marketing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["industry", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Google"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <industry> ?e_1 . ?e_1 <pred:name> \"marketing\" .  ?e <official_name> ?pv . ?pv <pred:value> \"Google\" .  }", "answer": "yes"}, {"question": "What is the exploitation visa number of the movie that is a derivative work of the English langauge \"You Only Live Twice?\"", "choices": ["142775", "47753", "99602", "117437", "54231", "115673", "66874", "91313", "33590", "114028"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["You Only Live Twice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"You Only Live Twice\" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e <exploitation_visa_number> ?pv .  }", "answer": "33590"}, {"question": "Was the university that has the archives of Bob Dylan founded before 1909?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Dylan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["archives at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1909", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <archives_at> ?e . ?e_1 <pred:name> \"Bob Dylan\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1909 ) .  }", "answer": "yes"}, {"question": "Who was nominated for an Academy Award for Best Costume Design for Australia that origins from the USA?", "choices": ["Anna Hill Johnstone", "Gordon Willis", "Kim Sinclair", "Catherine Martin", "Fernando C\u00e1mara", "Kevin Costner", "Jim Wilson", "Ron Nyswaner", "Ridley Scott", "Judd Hirsch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Australia\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Academy Award for Best Costume Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Catherine Martin"}, {"question": "Which language is associated with the college that has the significant event mixed-sex education (beginning in 1860) and the subreddit Wheaton?", "choices": ["Brazilian Portuguese", "Dutch", "Armenian", "English", "Tamil", "Tahitian", "Slovak", "Chinese", "Russian", "Put\u00e8r"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "Relate", "dependencies": [0], "inputs": ["significant event", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1860", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["college"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["subreddit", "Wheaton", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <significant_event> ?e_1 . ?e_1 <pred:name> \"mixed-sex education\" . [ <pred:fact_h> ?e ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1860 . ?e <subreddit> ?pv . ?pv <pred:value> \"Wheaton\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Cate Blanchett or Margot Kidder have fewer kids?", "choices": ["Cate Blanchett", "Simon Cowell", "David Byrne", "Max Fleischer", "Richard Gere", "William Henry Harrison", "Margot Kidder", "Rahul Dev Burman", "Paul Simon", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cate Blanchett"]}, {"function": "Find", "dependencies": [], "inputs": ["Margot Kidder"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cate Blanchett\" .  } UNION { ?e <pred:name> \"Margot Kidder\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Margot Kidder"}, {"question": "Tell me the official name of Lake District's heritage designation is UNESCO World Heritage Site", "choices": ["Kiel", "Koblenz", "\u6e56\u5357\u7701", "N\u00f6\u00f6rjen g\u00e5nkarijhke", "Wollongong", "Real Sociedad de F\u00fatbol Sociedad An\u00f3nima Deportiva", "1. Fu\u00dfballclub Magdeburg e. V.", "\u0428\u0430\u0445\u0430\u043d\u0448\u0430\u0445\u0441\u043a\u043e\u0435 \u0413\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u043e \u0418\u0440\u0430\u043d", "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ae \u0394\u03b7\u03bc\u03bf\u03ba\u03c1\u03b1\u03c4\u03af\u03b1", "The English Lake District"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake District"]}, {"function": "Find", "dependencies": [], "inputs": ["UNESCO World Heritage Site"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["heritage designation", "official name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lake District\" . ?e_2 <pred:name> \"UNESCO World Heritage Site\" . ?e_1 <heritage_designation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <heritage_designation> ; <pred:fact_t> ?e_2 ] <official_name> ?qpv .  }", "answer": "The English Lake District"}, {"question": "What is the connection between William Blake to Royal Academy of Arts?", "choices": ["basic form of government", "game mode", "home port", "educated at", "contains administrative territorial entity", "copyright representative", "has dialect (DEPRECATED)", "lifestyle", "substitute/deputy/replacement of office/officeholder", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Blake"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Academy of Arts"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William Blake\" . ?e_2 <pred:name> \"Royal Academy of Arts\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Which decimal currency applies to the sovereign state jurisdiction whose feminine demonym is \u05d8\u05d5\u05d1\u05d0\u05dc\u05d5\u05d0\u05e0\u05d9\u05ea?", "choices": ["Jim Clark", "Roger Moore", "Australian dollar", "French Revolution", "Michael Jackson", "Breaking Away", "neo soul", "Pontiac", "Federico Fellini", "Harry Belafonte"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u05d8\u05d5\u05d1\u05d0\u05dc\u05d5\u05d0\u05e0\u05d9\u05ea"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "feminine"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["applies to jurisdiction", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["decimal currency"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"decimal currency\" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u05d8\u05d5\u05d1\u05d0\u05dc\u05d5\u05d0\u05e0\u05d9\u05ea\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv . ?qpv <pred:value> \"feminine\" .   }", "answer": "Australian dollar"}, {"question": "Tell me the number of states that are located on terrain that have the geographic region that has the demonym West Indian.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "West Indian"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located on terrain feature", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <located_on_terrain_feature> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"geographic region\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"West Indian\" .   }", "answer": "2"}, {"question": "What is the Academy Awards ceremony that came before the one received by Stirling Silliphanta?", "choices": ["39th Academy Awards", "35th Academy Awards", "77th Academy Awards", "50th Academy Awards", "44th Academy Awards", "80th Academy Awards", "68th Academy Awards", "36th Academy Awards", "47th Academy Awards", "74th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stirling Silliphanta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "Relate", "dependencies": [2], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Academy Awards ceremony\" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> \"Stirling Silliphanta\" .   }", "answer": "39th Academy Awards"}, {"question": "Does the ceremonial English county with FIPS 10-4 (countries and regions) code UKJ6 occupy over 6900 square miles ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKJ6"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["6900 square mile", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"UKJ6\" . ?e <area> ?pv . ?pv <pred:unit> \"square mile\" . ?pv <pred:value> ?v . FILTER ( ?v > \"6900\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the NOC Occupation Code for the profession with SOC Code (2010) 25-4021?", "choices": ["1162 metre per second", "plural", "5232", "0505", "179132", "35.9", "0.0933941", "536", "1888000000000 United States dollar", "5111"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["SOC Code (2010)", "25-4021"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["NOC Occupation Code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e <SOC_Code_(2010)> ?pv_1 . ?pv_1 <pred:value> \"25-4021\" . ?e <NOC_Occupation_Code> ?pv .  }", "answer": "5111"}, {"question": "When did the town whose local dialing code is 01302 have a population of 109805?", "choices": ["2011", "2014-12-01", "1905-01-01", "1978-01-01", "1933", "1919-12-01", "2006-06-28", "2000-01-19", "2011-06-05", "1996-07-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "01302"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "109805", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"01302\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"109805\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "How many crimes whose IPTC Newscode is mediatopic/20000103 or whose Wikitribune category is espionage?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20000103"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["crime"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Wikitribune category", "espionage"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["crime"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"crime\" .  { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000103\" .  } UNION { ?e <Wikitribune_category> ?pv . ?pv <pred:value> \"espionage\" .  } }", "answer": "2"}, {"question": "Is The Pretenders' ISNI designation 0000 0001 1568 4335 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Pretenders"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1568 4335"]}], "sparql": "ASK { ?e <pred:name> \"The Pretenders\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1568 4335\" .  }", "answer": "no"}, {"question": "How is Campbell Scott related to film producer?", "choices": ["operator", "located on terrain feature", "allegiance", "occupation", "child", "candidacy in election", "rector", "record label", "industry", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Campbell Scott"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Campbell Scott\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "For the liberal arts college in the United States whose street address is 1520 St Olaf Ave, Northfield, MN, 55057-1098, is that its street address?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)", "1520 St Olaf Ave, Northfield, MN, 55057-1098"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address (DEPRECATED)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1520 St Olaf Ave, Northfield, MN, 55057-1098"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <located_at_street_address_(DEPRECATED)> ?pv_1 . ?pv_1 <pred:value> \"1520 St Olaf Ave, Northfield, MN, 55057-1098\" . ?e <located_at_street_address_(DEPRECATED)> ?pv . ?pv <pred:value> \"1520 St Olaf Ave, Northfield, MN, 55057-1098\" .  }", "answer": "yes"}, {"question": "Which one is bigger by area,  Wichita Falls or Fremont?", "choices": ["Waukegan", "Lansing", "Greenville", "Franklin", "Fremont", "New Haven", "Compton", "Oakland", "Wichita Falls", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wichita Falls"]}, {"function": "Find", "dependencies": [], "inputs": ["Fremont"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wichita Falls\" .  } UNION { ?e <pred:name> \"Fremont\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fremont"}, {"question": "The US city at zip codes 75023\u201375094 is represented in which language on its official website, www.plano.gov?", "choices": ["Classical Latin", "O'odham", "Punjabi", "Indian English", "Slovene", "Belgian French", "Atikamekw", "Yue Chinese", "Turkish", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "75023\u201375094"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.plano.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"75023\u201375094\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.plano.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many social science have the Dewey Decimal Classification 910 or have the IPTC Newscode \"mediatopic/20000754\"?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "910"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["social science"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPTC Newscode", "mediatopic/20000754"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["social science"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"social science\" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"910\" .  } UNION { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000754\" .  } }", "answer": "2"}, {"question": "How many types of Christianty are known whose OSM tag or key is Tag:denomination=lutheran or whose inception time did not happen in 1448 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:denomination=lutheran"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Christianity"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1448", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Christianity"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Christianity\" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:denomination=lutheran\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1448 ) .  } }", "answer": "4"}, {"question": "Someone with ISNI 0000 0000 7981 2079 earned which MTV Video Music Award in 2008?", "choices": ["MTV Video Music Award for Best Pop Video", "MTV Video Music Award for Best Cinematography", "MTV Video Music Award for Video of the Year", "MTV Video Music Award for Best Direction", "MTV Video Music Award for Best Male Video", "MTV Video Music Award for Best Editing", "MTV Video Music Award for Best Art Direction", "MTV Video Music Award for Best New Artist", "MTV Video Music Award for Best Choreography", "MTV Video Music Award for Best Video from a Film"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7981 2079"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "2008", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Video Music Award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7981 2079\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2008 .  }", "answer": "MTV Video Music Award for Best Direction"}, {"question": "Which anime television series starting before 2000 had the greates number of episodes?", "choices": ["The Three Musketeers", "RahXephon", "Mobile Suit Gundam 00", "Dragon Ball", "Digimon Adventure 02", "Digimon Adventure", "Speed Racer", "Mobile Suit Gundam SEED", "Yu-Gi-Oh! GX", "Yu-Gi-Oh! Duel Monsters"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2000 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dragon Ball"}, {"question": "Which has greater area, Westport or Bedford  whose postal code is 10506?", "choices": ["Morristown", "Brookline", "Westport", "West Hartford", "Bedford", "Chapel Hill", "Litchfield", "Amherst", "Uxbridge", "Kensington"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Westport"]}, {"function": "Find", "dependencies": [], "inputs": ["Bedford"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "10506"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Westport\" . } UNION { ?e <pred:name> \"Bedford\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"10506\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bedford"}, {"question": "How many airline corporations are the legal form of United Airlines?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Airlines"]}, {"function": "Relate", "dependencies": [0], "inputs": ["legal form", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["corporation"]}, {"function": "Relate", "dependencies": [2], "inputs": ["legal form", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["airline"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" . ?e <legal_form> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"corporation\" . ?e_2 <legal_form> ?e_1 . ?e_2 <pred:name> \"United Airlines\" .   }", "answer": "2"}, {"question": "What number of states area exported to Kiribati?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiribati"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <exported_to> ?e_1 . ?e_1 <pred:name> \"Kiribati\" .   }", "answer": "1"}, {"question": "Is Anthony \"Tony\" Edward Carbonell Stark not 95 millimetres tall?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Anthony \"Tony\" Edward Carbonell Stark"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["95 millimetre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Anthony \\\"Tony\\\" Edward Carbonell Stark\" . ?e <height> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"95\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the acquisition transaction of Arminia Bielefeld, of which Ben Sahar is a member of?", "choices": ["Michael Jackson", "Mount Fuji", "\u00a5", "loan", "1963", "youth association football", "03241001", "Yugio Tongnan", "Parliament of Catalonia", "Ortsschild Wien.jpg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Sahar"]}, {"function": "Find", "dependencies": [], "inputs": ["Arminia Bielefeld"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "acquisition transaction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ben Sahar\" . ?e_2 <pred:name> \"Arminia Bielefeld\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <acquisition_transaction> ?qpv .  }", "answer": "loan"}, {"question": "Of the New York cities founded later than 1623, which has the lowest population?", "choices": ["Yonkers", "Buffalo", "Glens Falls", "Binghamton", "Troy", "White Plains", "Utica", "Syracuse", "Elmira", "Auburn"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1623", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1623 ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Glens Falls"}, {"question": "for a Christmas carol (which was published on 2009-11-03), what is its title", "choices": ["Glory", "Ghost", "Wall Street", "A Christmas Carol", "Star Trek V: The Final Frontier", "Holby City", "2046", "Hannah and Her Sisters", "A Civil Action", "Blues Brothers 2000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Christmas Carol"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-11-03", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"A Christmas Carol\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-11-03\"^^xsd:date . ?e <title> ?pv .  }", "answer": "A Christmas Carol"}, {"question": "When did El Paso become a twinned administrative body of Chihuahua (the one that is the twinned administrative body of El Paso)?", "choices": ["2012-04-23", "2006-04-03", "2014-01-18", "1837-01-01", "1986-09-24", "1756-08-29", "1986-04-30", "1992-04-23", "2002-04-15", "1970-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["El Paso"]}, {"function": "Find", "dependencies": [], "inputs": ["El Paso"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chihuahua"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"El Paso\" . ?e_2 <pred:name> \"Chihuahua\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"El Paso\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1970-01-01"}, {"question": "Where was a movie, derived from Veronica Mars (the one that has Steve Guttenberg as a cast member), published on 13th March 2014 ?", "choices": ["Taiwan", "Portugal", "Hungary", "Jordan", "West Germany", "Germany", "Cannes Film Festival", "Egypt", "Hollywood", "Ukraine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Guttenberg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Veronica Mars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "2014-03-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Veronica Mars\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Steve Guttenberg\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2014-03-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is the Ontario Liberal Party related to Toronto?", "choices": ["headquarters location", "uses", "narrator", "source of material", "manufacturer", "quotes work", "edition or translation of", "subsidiary", "highest judicial authority", "operating area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ontario Liberal Party"]}, {"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ontario Liberal Party\" . ?e_2 <pred:name> \"Toronto\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which person has a Munzinger IBA of 00000023352?", "choices": ["Max Fleischer", "Saddam Hussein", "Anne Bancroft", "Richard Gere", "Kristin Scott Thomas", "Sylvester Stallone", "Liev Schreiber", "Richard Wagner", "Shohreh Aghdashloo", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000023352"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000023352\" .  }", "answer": "Kristin Scott Thomas"}, {"question": "Elmore Leonard's native New Orleans, occupying 906.099114 square km, is in which administrative territorial entity?", "choices": ["Rhine Province", "Maryland", "Rome", "Latvian Soviet Socialist Republic", "Grand Duchy of Finland", "Louisiana", "Electorate of Saxony", "Syria", "Maharashtra", "Transcaucasian Socialist Federative Soviet Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elmore Leonard"]}, {"function": "Find", "dependencies": [], "inputs": ["New Orleans"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "906.099114 square kilometre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Elmore Leonard\" . ?e_2 <pred:name> \"New Orleans\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"906.099114\"^^xsd:double . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Louisiana"}, {"question": "Where was the release of On the Waterfront on 1954-11-05?", "choices": ["Chile", "London", "Germany", "Cannes Film Festival", "Telluride Film Festival", "1949 Cannes Film Festival", "Latvia", "Bahrain", "Lebanon", "Portal:Belgium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["On the Waterfront"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1954-11-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"On the Waterfront\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1954-11-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which comune of Italy whose population is not 300000 has the lowest elevation above sea level?", "choices": ["Johannesburg", "Hollywood", "Treviso", "Yale University", "Mantua", "Cremona", "Goya Award for Best Spanish Language Foreign Film", "Pavia", "Shelby County", "Lucca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "300000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comune of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"300000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Treviso"}, {"question": "Does Comoros not 5400000 (the point in time of this statement is 1964)?have a population of", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Comoros"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "1964"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["5400000", "!="]}], "sparql": "ASK { ?e <pred:name> \"Comoros\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5400000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1964 .  }", "answer": "yes"}, {"question": "How many towns are the formation location of Dave Matthews?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dave Matthews"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"Dave Matthews\" .   }", "answer": "0"}, {"question": "What is the connection between Funkadelic to George Clinton (the one that has the record label Capitol Records)?", "choices": ["director of photography", "production company", "partially contains", "office held by head of government", "librettist", "narrative role", "appointed by", "has part", "coextensive with", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Funkadelic"]}, {"function": "Find", "dependencies": [], "inputs": ["Capitol Records"]}, {"function": "Relate", "dependencies": [1], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Clinton"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Funkadelic\" . ?e_2 <pred:name> \"George Clinton\" . ?e_2 <record_label> ?e_3 . ?e_3 <pred:name> \"Capitol Records\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "For which of his works was Paul S. Fox nominated for Academy Award for Best Production Design?", "choices": ["Movie 43", "You Were Never Lovelier", "My Cousin Rachel", "The Magic Flame", "Fiesta", "Cast Away", "No Way Out", "The Contest", "A Certain Smile", "Gaily, Gaily"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul S. Fox"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Paul S. Fox\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "A Certain Smile"}, {"question": "Which region of France whose annual number of weddings is not 3600 has the smallest area?", "choices": ["Corsica", "Argentina national football team", "Mako", "Normandy", "esophageal cancer", "Martinique", "Joshua Malina", "heartland rock", "Brittany", "Croatian American"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["annual number of weddings", "3600", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <annual_number_of_weddings> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"3600\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Martinique"}, {"question": "How many mechanical waves have among their famous people the rock band that received the 2007 Grammy Awards?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2007 Grammy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["mechanical wave"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"rock band\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"2007 Grammy Awards\" .   }", "answer": "5"}, {"question": "How many subscribers does the association football club whose nickname is The O's have under the Twitter username leytonorientfc?", "choices": ["159778", "256367", "51982", "374835", "50288", "9908", "423695", "10226907", "130007", "2720863"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "The O's"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "leytonorientfc", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"The O's\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"leytonorientfc\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "51982"}, {"question": "Is the duration of a visual artwork, that mainly depicts a ghost, under 10.3 hours ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ghost"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["10.3 hour", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"ghost\" .  ?e <duration> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> ?v . FILTER ( ?v < \"10.3\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How long is the movie Love Story (the one whose distributor is Paramount Pictures)?", "choices": ["108 minute", "96 minute", "125 minute", "162 minute", "83 minute", "123 minute", "98 minute", "135 minute", "101 minute", "24 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Love Story"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Love Story\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Paramount Pictures\" .  ?e <duration> ?pv .  }", "answer": "96 minute"}, {"question": "Which is shorter: Cheaper by the Dozen (composed by Cyril J. Mockridge) or Tomorrow Never Dies (original language English)?", "choices": ["Curse of the Golden Flower", "Rebecca", "Cheaper by the Dozen", "Talk to Her", "A Prairie Home Companion", "Tomorrow Never Dies", "The Towering Inferno", "Training Day", "The Fifth Element", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cyril J. Mockridge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cheaper by the Dozen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tomorrow Never Dies"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cheaper by the Dozen\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Cyril J. Mockridge\" .   } UNION { ?e <pred:name> \"Tomorrow Never Dies\" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"English\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cheaper by the Dozen"}, {"question": "How is John Gielgud related to Claude Rains?", "choices": ["allegiance", "student of", "location of formation", "child", "doctoral advisor", "military conflicts", "source of material", "drug used for treatment", "family name", "industry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Gielgud"]}, {"function": "Find", "dependencies": [], "inputs": ["Claude Rains"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Gielgud\" . ?e_2 <pred:name> \"Claude Rains\" . ?e_1 ?p ?e_2 .  }", "answer": "student of"}, {"question": "Which one is larger, Saratoga County or Ontario COunty?", "choices": ["Jefferson County", "Ontario County", "Rensselaer County", "Saratoga County", "Warren County", "Orange County", "Cayuga County", "Greene County", "Albany County", "Clinton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saratoga County"]}, {"function": "Find", "dependencies": [], "inputs": ["Ontario County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saratoga County\" .  } UNION { ?e <pred:name> \"Ontario County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Saratoga County"}, {"question": "What is the ISNI for the university that employed Edward Albee?", "choices": ["0000 0004 1569 9707", "0000 0003 6858 7082", "0000 0001 2184 9220", "0000 0001 2142 2817", "0000 0001 1031 7536", "0000 0001 2037 1026", "0000 0001 1494 4836", "0000 0000 5930 3875", "0000 0003 7439 0550", "0000 0001 2029 2037"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward Albee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Edward Albee\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0004 1569 9707"}, {"question": "The superhero with the native name Michelangelo is the namesake of which person?", "choices": ["Roman Polanski", "William Henry Harrison", "Sylvester Stallone", "Augustus", "Rahul Dev Burman", "Simon Cowell", "Max Fleischer", "Michelangelo", "Richard Gere", "Satyen Kappu"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Michelangelo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["superhero"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <named_after> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"superhero\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Michelangelo\" .   }", "answer": "Michelangelo"}, {"question": "How many National Football League Drafts have a point in time outside of 2003 and after 2004?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2003", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2004", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["National Football League Draft"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2003 ) . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2004 ) .  }", "answer": "4"}, {"question": "How many softwares come with https://www.apple.com/ca/ios/ as their official website, or are the platform for Robots (Nintendo GameID of GZQJ7D)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.apple.com/ca/ios/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "Find", "dependencies": [], "inputs": ["Robots"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Nintendo GameID", "GZQJ7D"]}, {"function": "Relate", "dependencies": [4], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["software"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.apple.com/ca/ios/\" .  } UNION { ?e_1 <platform> ?e . ?e_1 <pred:name> \"Robots\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"GZQJ7D\" .  } }", "answer": "2"}, {"question": "What is the Instagram username of the person with Libris-URI fcrv3dsz16vdchr?", "choices": ["the_native_tiger", "corinthians", "rebeccahall", "thebeatles", "fkaustriawien", "pumasmxoficial", "pj_harvey", "aaajoficial", "olympiquedemarseille", "common"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "fcrv3dsz16vdchr"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"fcrv3dsz16vdchr\" . ?e <Instagram_username> ?pv .  }", "answer": "pj_harvey"}, {"question": "Who has more children James Marsden or Angela Kinsey?", "choices": ["Max Fleischer", "Simon Cowell", "Angela Kinsey", "David Byrne", "Paul Simon", "Richard Gere", "James Marsden", "James E. Reilly", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Marsden"]}, {"function": "Find", "dependencies": [], "inputs": ["Angela Kinsey"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James Marsden\" .  } UNION { ?e <pred:name> \"Angela Kinsey\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "James Marsden"}, {"question": "What is the connection between Psycho (the one whose duration is 99 minute) to Flea?", "choices": ["executive producer", "voice actor", "language used", "languages spoken, written or signed", "cast member", "programming paradigm", "narrator", "discoverer or inventor", "mascot", "main food source"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Psycho"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "99 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Flea"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Psycho\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"99\"^^xsd:double . ?e_2 <pred:name> \"Flea\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the number of Italian comunes that have the country the form of government that is the War Horse's narrative location", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War Horse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["comune of Italy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"form of government\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"War Horse\" .   }", "answer": "1"}, {"question": "How many subscribers are there for the Twitter username TheOliverStone belonging to the person who directs Nixon?", "choices": ["27829", "394444", "485629", "645133", "152982", "4722524", "845463", "1346", "1378", "3371"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nixon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "TheOliverStone", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Nixon\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"TheOliverStone\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "152982"}, {"question": "Does Rebecca Hall or Mark Gordon (who has 4 children) have fewer children?", "choices": ["William Henry Harrison", "Sylvester Stallone", "James E. Reilly", "Mark Gordon", "Rahul Dev Burman", "Paul Simon", "Simon Cowell", "Rebecca Hall", "David Byrne", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rebecca Hall"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Gordon"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of children", "4", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rebecca Hall\" . } UNION { ?e <pred:name> \"Mark Gordon\" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4\"^^xsd:double . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rebecca Hall"}, {"question": "Is ddlovato the Twitter username of the partner of Wilmer Valderrama?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wilmer Valderrama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["ddlovato"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <partner> ?e . ?e_1 <pred:name> \"Wilmer Valderrama\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"ddlovato\" .  }", "answer": "yes"}, {"question": "Which person composed the movie whose official website is http://www.walkthelinedvd.com/?", "choices": ["Waddy Wachtel", "Michael Kamen", "Chris Wood", "Steve Tisch", "T-Bone Burnett", "Franz Waxman", "Mariah Carey", "Gabriel Yared", "Bill Conti", "Ross Turnbull"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.walkthelinedvd.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.walkthelinedvd.com/\" .   }", "answer": "T-Bone Burnett"}, {"question": "What is the relationship between Raymond Burr and New Westminster?", "choices": ["from fictional universe", "religion", "draft pick from school", "conferred by", "separated from", "place of death", "follows", "properties for this type", "place of birth", "official language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raymond Burr"]}, {"function": "Find", "dependencies": [], "inputs": ["New Westminster"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Raymond Burr\" . ?e_2 <pred:name> \"New Westminster\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How is baseball's Larry Miller related to baseball?", "choices": ["sex or gender", "located on astronomical location", "sport", "platform", "film distribute region", "contributor(s) to the creative work", "art director", "influenced by", "follows", "public holiday"], "program": [{"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Larry Miller"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Larry Miller\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"baseball\" . ?e_2 <pred:name> \"baseball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Is 603 the local code to dial a number for the U.S. city that has a population amount of 21233?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "21233", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["603"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"21233\"^^xsd:double . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"603\" .  }", "answer": "yes"}, {"question": "Is the date of birth of the director of photography of It's a Wonderful Life (the one that has Sheldon Leonard as a cast member) not in 1889 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheldon Leonard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["It's a Wonderful Life"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1889", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> \"It's a Wonderful Life\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Sheldon Leonard\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1889 ) .  }", "answer": "yes"}, {"question": "ISO 3166-1 numeric code 304 designates which country?", "choices": ["Greenland", "Scotland", "Glenn Danzig", "Wales", "Netherlands", "Faroe Islands", "SV Ried", "Hammond organ", "Alan Ball", "Cook Islands"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-1 numeric code", "304"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e <ISO_3166-1_numeric_code> ?pv . ?pv <pred:value> \"304\" .  }", "answer": "Greenland"}, {"question": "What is the association between Adam West (whose pseudonym is Adam West) and natural causes?", "choices": ["indigenous to", "manner of death", "permanent resident of", "presenter", "spouse", "record label", "next lower rank", "occupant", "sex or gender", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam West"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Adam West"]}, {"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adam West\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"Adam West\" . ?e_2 <pred:name> \"natural causes\" . ?e_1 ?p ?e_2 .  }", "answer": "manner of death"}, {"question": "How many news programs either received a 60th Primetime Emmy Award or have a duration longer than 3.9 years?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["60th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["duration", "3.9 year", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["news"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"60th Primetime Emmy Awards\" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3.9\"^^xsd:double ) .  } }", "answer": "2"}, {"question": "Is Dave Mustaine's Instagram handle psg?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dave Mustaine"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["psg"]}], "sparql": "ASK { ?e <pred:name> \"Dave Mustaine\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"psg\" .  }", "answer": "no"}, {"question": "What method determines that 97764 is the population count for the independent city that is the filming location of Borat?", "choices": ["Taqdir", "estimation process", "Census", "extrapolation", "1860 United States Census", "administrative division valid at the time point of history to which the data relates", "rated voltage", "United Kingdom Census 1971", "Canada 2011 Census", "Canada 2016 Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Borat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "97764", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Borat\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"97764\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many belief systems are influenced by Hinduism or whose official website is http://www.ucc.org/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hinduism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.ucc.org/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["belief system"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" .  { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Hinduism\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ucc.org/\" .  } }", "answer": "2"}, {"question": "Which English-language comedy has the most seasons?", "choices": ["Mr. Smith Goes to Washington", "stand-up comedy", "farce", "Queen's University Belfast", "comedy of manners", "Billy Crystal", "The Monkees", "Crunk", "Oswego County", "The Golden Girls"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "Which movie cost less to make, Shrek Forever After (the one whose composer is Harry Gregson-Williams) or Robin Hood (the one that has John Fiedler as a voice actor)?", "choices": ["WALL\u00b7E", "Peter Pan", "Shrek Forever After", "Beauty and the Beast", "The Rescuers", "Renaissance", "Winnie the Pooh", "Shrek 2", "Robin Hood", "Lilo & Stitch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Gregson-Williams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shrek Forever After"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["John Fiedler"]}, {"function": "Relate", "dependencies": [4], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robin Hood"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shrek Forever After\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Harry Gregson-Williams\" .   } UNION { ?e <pred:name> \"Robin Hood\" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> \"John Fiedler\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Robin Hood"}, {"question": "Of Japanese prefectures with a population count exceeding 2000000, which is biggest in terms of area?", "choices": ["Chiba Prefecture", "Aichi Prefecture", "Hiroshima Prefecture", "Niigata Prefecture", "Nagano Prefecture", "Ibaraki Prefecture", "Fukuoka Prefecture", "\u014csaka Prefecture", "Shizuoka Prefecture", "Saitama Prefecture"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"2000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Nagano Prefecture"}, {"question": "What is the connection between WarGames to Seattle?", "choices": ["narrative location", "conferred by", "continent", "professional or sports partner", "director/manager", "source of material", "movement", "partner", "place of publication", "notable work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WarGames"]}, {"function": "Find", "dependencies": [], "inputs": ["Seattle"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"WarGames\" . ?e_2 <pred:name> \"Seattle\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "How many string instruments does a harpsichordist play?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["harpsichordist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["used by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["string instrument"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"string instrument\" . ?e <used_by> ?e_1 . ?e_1 <pred:name> \"harpsichordist\" .   }", "answer": "1"}, {"question": "What person has a CANTIC-ID of a11246303?", "choices": ["Sylvester Stallone", "Richard Gere", "William Henry Harrison", "Max Fleischer", "Mako", "James Brown", "Edward VII", "Fritz Lang", "Jeremy Renner", "Aurora"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11246303"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11246303\" .  }", "answer": "Edward VII"}, {"question": "What football club association has the Twitter username BarrowAFC?", "choices": ["Stevenage F.C.", "Partick Thistle F.C.", "Colorado Rapids", "Stoke City F.C.", "Middlesbrough F.C.", "Zamalek SC", "FC Metalist Kharkiv", "Barrow A.F.C.", "Stade Brestois 29", "Brisbane Roar FC"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "BarrowAFC"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"BarrowAFC\" .  }", "answer": "Barrow A.F.C."}, {"question": "Tell me the city that has an area not exactly 36000000 square kilometres and that is where Rajesh khanna was born.", "choices": ["Bergamo", "Erfurt", "Cork", "Trieste", "New York City", "Newcastle", "Amritsar", "Kilkenny", "Buenos Aires", "Birmingham"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "36000000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["Rajesh Khanna"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"36000000\"^^xsd:double ) . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Rajesh Khanna\" .  }", "answer": "Amritsar"}, {"question": "What is the connection between Adaptation to Jim Beaver?", "choices": ["production company", "organizer", "sport", "airline hub", "head of state", "capital", "noble title", "presenter", "cast member", "student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adaptation"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Beaver"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adaptation\" . ?e_2 <pred:name> \"Jim Beaver\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which animated movie is titled Tarzan?", "choices": ["Tarzan", "Cars", "Waltz with Bashir", "Robots", "Madagascar: Escape 2 Africa", "Aladdin", "WALL\u00b7E", "Shark Tale", "Shrek the Third", "The Rescuers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Tarzan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <title> ?pv . ?pv <pred:value> \"Tarzan\" .  }", "answer": "Tarzan"}, {"question": "Is The Ghost Writer or Click the shorter of the two?", "choices": ["The Towering Inferno", "Pleasantville", "Training Day", "Talk to Her", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Click", "The Ghost Writer", "Rebecca", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ghost Writer"]}, {"function": "Find", "dependencies": [], "inputs": ["Click"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Ghost Writer\" .  } UNION { ?e <pred:name> \"Click\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Click"}, {"question": "How many taxonomic ranks match a taxon rank of the taxon whose taxon name is Aves (the taxon author of this statement is Carl Linnaeus) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["taxon name", "Aves"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["taxon author", "Carl Linnaeus"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["taxon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["taxon rank", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["taxonomic rank"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"taxonomic rank\" . ?e_1 <taxon_rank> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"taxon\" . ?e_1 <taxon_name> ?pv . ?pv <pred:value> \"Aves\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <taxon_name> ; <pred:fact_t> ?pv ] <taxon_author> ?qpv . ?qpv <pred:value> \"Carl Linnaeus\" .   }", "answer": "1"}, {"question": "What criterion is used to determin the name of wrze\u015bnia to be the calendar month following August (the one that is the starting time of Serie A)?", "choices": ["number of episodes at the end of the current season or the last one aired", "genitive case", "with court consent", "fiscal year", "independence recognized by country from which it separated", "term", "domicile", "nickname", "perigee", "Criminal Code of Indonesia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serie A"]}, {"function": "Relate", "dependencies": [0], "inputs": ["season starts", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["August"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["calendar month"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["name", "wrze\u015bnia", "criterion used"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"August\" . ?e_2 <season_starts> ?e_1 . ?e_2 <pred:name> \"Serie A\" .  ?e <name> ?pv . ?pv <pred:value> \"wrze\u015bnia\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv ] <criterion_used> ?qpv .  }", "answer": "genitive case"}, {"question": "Is http://www.cityofpinebluff.com/ the official website of Sammy Davis Jr.?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sammy Davis Jr."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.cityofpinebluff.com/"]}], "sparql": "ASK { ?e <pred:name> \"Sammy Davis Jr.\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cityofpinebluff.com/\" .  }", "answer": "no"}, {"question": "What is the birth name of Anne McCaffrey?", "choices": ["John Winston Lennon", "Douglas Elton Thomas Ullman", "Oscar Fingal O'Flahertie Wills Wilde", "James Thomas Fallon", "Anne Inez McCaffrey", "John Joseph Nicholson", "Jean-Paul Charles Aymard Sartre", "Thomas Jacob Black", "Johann Wolfgang von Goethe", "Amanda Michelle Seyfried"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2284 1319"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2284 1319\" . ?e <birth_name> ?pv .  }", "answer": "Anne Inez McCaffrey"}, {"question": "What is the association of KwaZulu-Natal to the Eastern Cape?", "choices": ["part of the series", "occupant", "licensed to broadcast to", "country of citizenship", "diplomatic relation", "airline hub", "has immediate cause", "shares border with", "designated as terrorist by", "penalty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["KwaZulu-Natal"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Cape"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"KwaZulu-Natal\" . ?e_2 <pred:name> \"Eastern Cape\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is the population of Newton (the one whose inception time is 1864-04-11) not 4600?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newton"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1864-04-11", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["4600", "!="]}], "sparql": "ASK { ?e <pred:name> \"Newton\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1864-04-11\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4600\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "For the counties of Oregon that share a border with Douglas County which has a population of 107651, which one has the smallest area?", "choices": ["Klamath County", "Lane County", "Washington County", "Linn County", "Yamhill County", "Tillamook County", "Douglas County", "Lake County", "Jackson County", "Marion County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "107651", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Douglas County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"107651\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jackson County"}, {"question": "Among the counties of Washington that shares border with King County,which one has the largest area ?", "choices": ["San Juan County", "Yakima County", "King County", "Spokane County", "Pierce County", "Snohomish County", "Kitsap County", "Okanogan County", "Douglas County", "Whatcom County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"King County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Snohomish County"}, {"question": "Of the Indiana counties that do not have a population of 8600000, which covers the least area?", "choices": ["Marion County", "Delaware County", "Monroe County", "Howard County", "Wayne County", "Porter County", "Hancock County", "Shelby County", "Johnson County", "Allen County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8600000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"8600000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Howard County"}, {"question": "Which first-level administrative country subdivision had an annual number of weddings that was not equal to 430000 in 2017?", "choices": ["Upper Austria", "Norway", "Chiapas", "Canton of Vaud", "England", "Minas Gerais", "Monaco", "Podlaskie Voivodeship", "Lublin Voivodeship", "Greater Poland Voivodeship"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["annual number of weddings", "430000", "!="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2017", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["first-level administrative country subdivision"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"430000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <annual_number_of_weddings> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2017 .  }", "answer": "Canton of Vaud"}, {"question": "What is the relationship between the film Where the Wild Things Are, which was based on literature, to Gary Goetzman?", "choices": ["movement", "item operated", "part of", "given name", "talk show guest", "official language", "producer", "donated by", "license", "published in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Where the Wild Things Are"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gary Goetzman"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Where the Wild Things Are\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"film based on literature\" . ?e_2 <pred:name> \"Gary Goetzman\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Is The Princess and the Frog or Mobile Suit Gundam: Char's Counterattack longer?", "choices": ["Peter Pan", "Aladdin", "The Rescuers", "Mobile Suit Gundam: Char's Counterattack", "Winnie the Pooh", "Shrek 2", "Lilo & Stitch", "Renaissance", "The Princess and the Frog", "WALL\u00b7E"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Princess and the Frog"]}, {"function": "Find", "dependencies": [], "inputs": ["Mobile Suit Gundam: Char's Counterattack"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Princess and the Frog\" .  } UNION { ?e <pred:name> \"Mobile Suit Gundam: Char's Counterattack\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mobile Suit Gundam: Char's Counterattack"}, {"question": "Who won the Academy Award for Best Writing, Original Screenplay for Ghost?", "choices": ["Djibouti\u2013Somalia relations", "European Union\u2013Montenegro border", "Lebanon\u2013United States relations", "Christ", "Egypt\u2013Morocco relations", "China\u2013Maldives relations", "Bolivia\u2013Russia relations", "63rd Academy Awards", "Libya\u2013United Kingdom relations", "Grenada\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghost"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ghost\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "63rd Academy Awards"}, {"question": "What association football club has the nickname \u03a4\u03c1\u03c9\u03ba\u03c4\u03b9\u03ba\u03ac and a member named Robert Taylor (who is a teammate of AIK Fotboll)?", "choices": ["AIK Fotboll", "Hibernian F.C.", "Rochester Rhinos", "S.C. Braga", "Middlesbrough F.C.", "Stade Brestois 29", "Roda JC Kerkrade", "C.F. Os Belenenses", "Brisbane Roar FC", "Preston North End F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "\u03a4\u03c1\u03c9\u03ba\u03c4\u03b9\u03ba\u03ac"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["AIK Fotboll"]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Taylor"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv . ?pv <pred:value> \"\u03a4\u03c1\u03c9\u03ba\u03c4\u03b9\u03ba\u03ac\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Robert Taylor\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"AIK Fotboll\" .  }", "answer": "AIK Fotboll"}, {"question": "Which TV series episode is a part of TV series whose Twitter username is Official HIMYM (the series ordinal of this statement is 175) ?", "choices": ["Savages", "Precious", "The Offspring", "Milk", "Angel", "A Christmas Carol", "The Host", "Genesis", "Evolution", "P.S. I Love You"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "OfficialHIMYM"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of the series", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["series ordinal", "175"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series episode"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"OfficialHIMYM\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> \"175\" .  }", "answer": "P.S. I Love You"}, {"question": "Which ethnic group with under 520000000 members has the lowest population size?", "choices": ["Puerto Ricans", "Italians", "Ashkenazi Jews", "Punjabi people", "German Americans", "Austrians", "Hungarians", "Iroquois", "French people", "Cherokee"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "520000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"520000000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Americans"}, {"question": "What is the IAB code for track and field?", "choices": ["1295", "539", "1186", "1275", "255", "1308", "1038", "1331", "540", "1070"], "program": [{"function": "Find", "dependencies": [], "inputs": ["track and field"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IAB code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"track and field\" . ?e <IAB_code> ?pv .  }", "answer": "540"}, {"question": "Which has larger area, Putnam County whose Dewey Decimal Classification is 2--74732 or Franklin County whose official website is http://www.franklincony.org?", "choices": ["Clinton County", "Rensselaer County", "Franklin County", "Jefferson County", "Niagara County", "Albany County", "Orange County", "Warren County", "Putnam County", "Cayuga County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Putnam County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--74732"]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "http://www.franklincony.org"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Putnam County\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--74732\" . } UNION { ?e <pred:name> \"Franklin County\" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> \"http://www.franklincony.org\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Franklin County"}, {"question": "Puerto Rico, with a 1.5965 total rate of fertility, has what connection to Anguilla?", "choices": ["political alignment", "work location", "lifestyle", "board member", "exported to", "sidekick of", "different from", "has effect", "sport", "vehicle normally used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Puerto Rico"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "1.5965", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Anguilla"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Puerto Rico\" . ?e_1 <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.5965\"^^xsd:double . ?e_2 <pred:name> \"Anguilla\" . ?e_1 ?p ?e_2 .  }", "answer": "exported to"}, {"question": "When did the agent whose official English language website is http://www.racingmuseum.org/hall-of-fame/ have a total revenue of 1520815 United States dollars?", "choices": ["2009-04-13", "2006-11-22", "2008-01-01", "1865", "1810-01-01", "1996-12-18", "2008-04-23", "1975-12-01", "2016-01-01", "1905-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.racingmuseum.org/hall-of-fame/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["total revenue", "1520815 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.racingmuseum.org/hall-of-fame/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <total_revenue> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"1520815\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "How many Summer Olympic Games have a start time not in 1920?", "choices": ["23", "24", "25", "26", "27", "28", "29", "30", "31", "32"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1920", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1920 ) .  }", "answer": "26"}, {"question": "When did Kansas State University start having significant event mixed-sex education?", "choices": ["1945-04-12", "1972-10-04", "1863", "1664-01-01", "1985-09-27", "1906-01-01", "1976-12-01", "2000-10-06", "2011-07-13", "1909"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kansas State University"]}, {"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["significant event", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kansas State University\" . ?e_2 <pred:name> \"mixed-sex education\" . ?e_1 <significant_event> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1863"}, {"question": "Where was the work that inspired the spy film Never Say Never Again that was published on 1965-12-17 published?", "choices": ["Germany", "Hollywood", "Singapore", "Taormina Film Fest", "Tribeca Film Festival", "worldwide", "Mexico", "North America", "United Arab Emirates", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["spy film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Never Say Never Again"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["inspired by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "1965-12-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <inspired_by> ?e . ?e_1 <pred:name> \"Never Say Never Again\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"spy film\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1965-12-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What class of award is won by David Fincher involving the award-winning work The Social Network?", "choices": ["BAFTA Award for Best Editing", "National Society of Film Critics Award for Best Director", "Goya Award for Best Supporting Actress", "Le Monde's 100 Books of the Century", "Legion of Merit", "BAFTA Award for Best Makeup and Hair", "BAFTA Award for Best Direction", "Order of the Three Stars", "Los Angeles Film Critics Association Award for Best Director", "London Film Critics Circle Award for Director of the Year"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Fincher"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Social Network"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["class of award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"David Fincher\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Social Network\" .  }", "answer": "BAFTA Award for Best Direction"}, {"question": "Which award did Emily Mortimer (the point in time of this statement is 2002) win?", "choices": ["Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series", "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie", "Royal Victorian Chain", "Independent Spirit Award for Best Supporting Female", "Independent Spirit Award for Best Female Lead", "Academy Award for Best Costume Design", "Golden Globe Award for Best Animated Feature Film", "Genie Award for Best Achievement in Editing", "Grammy Award for Best Metal Performance", "Grammy Award for Best Reggae Album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emily Mortimer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2002", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Emily Mortimer\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2002 .  }", "answer": "Independent Spirit Award for Best Supporting Female"}, {"question": "What is the elevation above sea level of the US city whose ISNI is 0000 0004 0638 5343?", "choices": ["992 metre", "6961 metre", "139 metre", "201 metre", "322 metre", "259 foot", "83 metre", "4634 metre", "131 foot", "104 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0638 5343"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0638 5343\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "259 foot"}, {"question": "What number of foods are said to be the same as palmitoleic acid?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["palmitoleic acid"]}, {"function": "Relate", "dependencies": [0], "inputs": ["said to be the same as", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food\" . ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> \"palmitoleic acid\" .   }", "answer": "0"}, {"question": "When did the city with the postal code of 20146 have a population of 538478?", "choices": ["2006-03-01", "1999-07-21", "1551", "1976-01-01", "1901", "1885", "250", "1911", "2004-08-01", "1864-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "20146"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "538478", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"20146\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"538478\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1901"}, {"question": "Does Sons of Anarchy or Deadwood have more episodes?", "choices": ["Seinfeld", "Phineas and Ferb", "Sons of Anarchy", "Six Feet Under", "Game of Thrones", "American Horror Story", "Robot Chicken", "Saturday Night's Main Event", "Bleak House", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sons of Anarchy"]}, {"function": "Find", "dependencies": [], "inputs": ["Deadwood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sons of Anarchy\" .  } UNION { ?e <pred:name> \"Deadwood\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sons of Anarchy"}, {"question": "When did Bill Berry (the one that was born in Sunderland) become a member of Manchester United F.C.?", "choices": ["1997-04-27", "1957-09-17", "1945-05-08", "1859-07-12", "1906-01-01", "2002-04-24", "2010-10-26", "2004-07-14", "1837-03-04", "2013-01-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sunderland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Berry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Manchester United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bill Berry\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"Sunderland\" . ?e_2 <pred:name> \"Manchester United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1906-01-01"}, {"question": "Does Antigua and Barbuda or Denmark have greater PPP GDP per capita?", "choices": ["Trinidad and Tobago", "Saint Vincent and the Grenadines", "Antigua and Barbuda", "Ukrainian Soviet Socialist Republic", "Lithuania", "Finland", "Jamaica", "Tajikistan", "Kazakhstan", "Denmark"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antigua and Barbuda"]}, {"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["PPP GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Antigua and Barbuda\" .  } UNION { ?e <pred:name> \"Denmark\" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Denmark"}, {"question": "How is Brad Pitt related to the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture?", "choices": ["has effect", "founded by", "genre", "art director", "narrative role", "interests", "significant event", "patron saint", "film crew member", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brad Pitt"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brad Pitt\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "How many metropolitan areas overlap Pennsylvania or are located in California (which contains San Francisco State University)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["territory overlaps", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "Find", "dependencies": [], "inputs": ["San Francisco State University"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["metropolitan area"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" .  { ?e <territory_overlaps> ?e_1 . ?e_1 <pred:name> \"Pennsylvania\" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"California\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"San Francisco State University\" .  } }", "answer": "3"}, {"question": "How many counties of Texas are named after the person with the Libris-URI of b8nrv7nv2t2vlnx?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "b8nrv7nv2t2vlnx"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Texas"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> \"b8nrv7nv2t2vlnx\" .   }", "answer": "0"}, {"question": "Of the areas of water with a vertical depth greater than 4300 meters, which has the largest area?", "choices": ["North Sea", "Dundee", "Food Network", "Green Bay", "Aegean Sea", "Caribbean Sea", "Mediterranean Sea", "English Channel", "Adriatic Sea", "AIA Gold Medal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "4300 metre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <vertical_depth> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"4300\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Caribbean Sea"}, {"question": "Which property has a shorter running time, The Amazing Spider-Man (a notable work of Emma Stone) or Flashdance?", "choices": ["The Towering Inferno", "The Amazing Spider-Man", "Talk to Her", "The Fifth Element", "Training Day", "Flashdance", "Curse of the Golden Flower", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flashdance"]}, {"function": "Find", "dependencies": [], "inputs": ["Emma Stone"]}, {"function": "Relate", "dependencies": [1], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Amazing Spider-Man"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flashdance\" .  } UNION { ?e <pred:name> \"The Amazing Spider-Man\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Emma Stone\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Flashdance"}, {"question": "When did the industry that is the product or material produced by Google (whose CANTIC-ID is a10914717) have an Alexa rank of1?", "choices": ["2018-10-05", "2016-11-01", "1852", "2005-03-23", "2006-02-15", "2017-04-20", "1940-10-01", "1876", "2017-08-31", "2017-11-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Google"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10914717"]}, {"function": "Relate", "dependencies": [1], "inputs": ["product or material produced", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["industry"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Alexa rank", "1", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> \"Google\" . ?e_1 <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10914717\" . ?e <Alexa_rank> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Alexa_rank> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-11-20"}, {"question": "How many subscribers does a person, whose Libris-URI is 86lpxwms4q7f37, have on his or her Twitter username neymarjr ?", "choices": ["24320", "29669", "2343", "789", "12170", "866894", "274", "127465", "39517381", "2666774"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "86lpxwms4q7f377"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "neymarjr", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"86lpxwms4q7f377\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"neymarjr\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "39517381"}, {"question": "When did the executive producer of Abraham Lincoln (the one that is designed by William Cameron Menzies) die?", "choices": ["1938-02-09", "1991-03-30", "2016-07-04", "1997-01-11", "2012-09-01", "1990-10-15", "2002-02-15", "1997-03-09", "1961-10-22", "1997-07-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Cameron Menzies"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Abraham Lincoln"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:name> \"Abraham Lincoln\" . ?e_1 <production_designer> ?e_2 . ?e_2 <pred:name> \"William Cameron Menzies\" .  ?e <date_of_death> ?pv .  }", "answer": "1961-10-22"}, {"question": "How many artists do we know with  ROME Occupation Code (v3) L1204 or the fact they were received by Henry Blanke ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry Blanke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["artist"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "L1204"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["artist"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"artist\" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Henry Blanke\" .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"L1204\" .  } }", "answer": "1"}, {"question": "What is the connection between Margaret Thatcher to Order of the Garter?", "choices": ["named after", "patron saint", "league", "next lower rank", "exclave of", "lowest point", "award received", "industry", "religious order", "given name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Margaret Thatcher"]}, {"function": "Find", "dependencies": [], "inputs": ["Order of the Garter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Margaret Thatcher\" . ?e_2 <pred:name> \"Order of the Garter\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Since when has Max Weber lived in the United States of America?", "choices": ["1991-09-19", "1988-05-08", "2015-11-12", "1873", "2003-10-03", "1884-01-01", "2005-03-31", "1891", "1945-09-19", "1815-08-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Max Weber"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["residence", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Max Weber\" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1891"}, {"question": "Beverly Hills, where Wallace Beery died, is in which country?", "choices": ["Belgium", "Bangladesh", "United States of America", "India", "Armenia", "Kingdom of Saxony", "France", "Kingdom of Great Britain", "Kingdom of Italy", "People's Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wallace Beery"]}, {"function": "Find", "dependencies": [], "inputs": ["Beverly Hills"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of death", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Wallace Beery\" . ?e_2 <pred:name> \"Beverly Hills\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Which show has more episodes, Roots: The Next Generations or Sesame Street?", "choices": ["Robot Chicken", "American Horror Story", "Sesame Street", "Six Feet Under", "Phineas and Ferb", "Saturday Night's Main Event", "Roots: The Next Generations", "Game of Thrones", "Seinfeld", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roots: The Next Generations"]}, {"function": "Find", "dependencies": [], "inputs": ["Sesame Street"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Roots: The Next Generations\" .  } UNION { ?e <pred:name> \"Sesame Street\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sesame Street"}, {"question": "Did Gore Vidal die prior to 1962 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gore Vidal"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1962", "<"]}], "sparql": "ASK { ?e <pred:name> \"Gore Vidal\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }", "answer": "no"}, {"question": "Which one has less area among the counties of New York whose population is different to 990000000?", "choices": ["Ontario County", "Chautauqua County", "Delaware County", "Cayuga County", "Otsego County", "Erie County", "Genesee County", "Rockland County", "Steuben County", "Dutchess County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "990000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"990000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "How is Bon Jovi (the one that has the record label Island Records) related to soft rock?", "choices": ["airline hub", "studies", "genre", "head of government", "award received", "uses", "officially opened by", "political alignment", "costume designer", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Island Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bon Jovi"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["soft rock"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bon Jovi\" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> \"Island Records\" . ?e_2 <pred:name> \"soft rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Among the studio albums that has the record label Mercury Records,which one has the largest duration ?", "choices": ["Friends", "Illinois", "Shakira", "Bedtime Stories", "Neil Young", "Metallica", "Peter Gabriel", "David Bowie", "The Beatles", "Led Zeppelin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mercury Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["studio album"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"studio album\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Mercury Records\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Peter Gabriel"}, {"question": "How many heavy metal renditions have the famous person whose ISNI is 0000 0000 5578 4042?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5578 4042"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["heavy metal"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"heavy metal\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5578 4042\" .   }", "answer": "5"}, {"question": "What is the connection between Passaic County to Sussex County (the one that is an administrative division of New Jersey)?", "choices": ["place of publication", "next lower rank", "original language of film or TV show", "founded by", "twinned administrative body", "parent organization", "start point", "occupation", "based on", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Passaic County"]}, {"function": "Find", "dependencies": [], "inputs": ["New Jersey"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sussex County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Passaic County\" . ?e_2 <pred:name> \"Sussex County\" . ?e_3 <contains_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"New Jersey\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the ISNI of the director of Skyfall (the one whose release region is Jordan)?", "choices": ["0000 0001 1605 1927", "0000 0003 6863 5961", "0000 0001 2103 4865", "0000 0001 2174 1906", "0000 0001 1567 3935", "0000 0000 8199 1491", "0000 0000 8398 4826", "0000 0001 1453 2823", "0000 0001 1809 7590", "0000 0001 0720 8566"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jordan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Skyfall"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Skyfall\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Jordan\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1809 7590"}, {"question": "Which area is smaller, Inverness or Saginaw?", "choices": ["Saginaw", "Kilkenny", "Dundee", "Santo Domingo", "Inverness", "Abidjan", "Kingston", "Trieste", "Bergen", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Inverness"]}, {"function": "Find", "dependencies": [], "inputs": ["Saginaw"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Inverness\" .  } UNION { ?e <pred:name> \"Saginaw\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Inverness"}, {"question": "The military conflict launched on 1982-04-02 concluded at which time?", "choices": ["1991-04-08", "1918-11-08", "1967-01-01", "1982-06-14", "2007-04-17", "1703", "1974-12-08", "2003-12-27", "1940-06-13", "1961"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1982-04-02", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1982-04-02\"^^xsd:date . ?e <end_time> ?pv .  }", "answer": "1982-06-14"}, {"question": "Who is the person whose ISNI is 0000 0001 1453 0713?", "choices": ["David Fury", "Amitabh Bachchan", "Richard Gere", "Dan Grimaldi", "Max Fleischer", "William Henry Harrison", "Miguel Ferrer", "Sufjan Stevens", "Rod Steiger", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1453 0713"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1453 0713\" .  }", "answer": "Rod Steiger"}, {"question": "What is the relationship between The Lord of the Rings: The Fellowship of the Ring (the one that is released for Microsoft Windows) and Microsoft Windows?", "choices": ["film release region", "director/manager", "office held by head of government", "history of topic", "edition or translation of", "replaces", "platform", "author", "shares border with", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Microsoft Windows"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Fellowship of the Ring"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Microsoft Windows"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Lord of the Rings: The Fellowship of the Ring\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"Microsoft Windows\" . ?e_2 <pred:name> \"Microsoft Windows\" . ?e_1 ?p ?e_2 .  }", "answer": "platform"}, {"question": "Tell me the ethnic group that is a Pakistan ethnic group (this statement's proportion is 0.154).", "choices": ["Punjabi people", "Swedes", "American Jews", "Koreans", "Italians", "Pashtun people", "Irish migration to Great Britain", "Austrians", "Indian American", "Armenians"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pakistan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["proportion", "0.154", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ethnic group"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"Pakistan\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ethnic_group> ; <pred:fact_t> ?e ] <proportion> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"0.154\"^^xsd:double .  }", "answer": "Pashtun people"}, {"question": "What street is Charles University headquartered on in Prague, which has a population of 950484?", "choices": ["Milady Hor\u00e1kov\u00e9", "avenue Gambetta", "Universitetskaya Embankment", "South Capitol Street", "Ovocn\u00fd trh", "Catte Street", "Broadway", "Spui", "Broadwick Street", "Paseo del Prado"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles University"]}, {"function": "Find", "dependencies": [], "inputs": ["Prague"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "950484", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located on street"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Charles University\" . ?e_2 <pred:name> \"Prague\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"950484\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_on_street> ?qpv .  }", "answer": "Ovocn\u00fd trh"}, {"question": "What is the character role of Brad Bird in The Incredibles (the one that has John Ratzenberger as a voice actor)?", "choices": ["Martin Riggs", "Edna Mode", "Security Guard", "Chief Wiggum", "Phyllis Lindstrom", "John Carter", "Georgiana Cavendish, Duchess of Devonshire", "Terence McDonagh", "Paul III", "Gregory House"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Ratzenberger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Incredibles"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brad Bird"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Incredibles\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"John Ratzenberger\" . ?e_2 <pred:name> \"Brad Bird\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Edna Mode"}, {"question": "The movie with CANTIC-ID a12020217 was released in which region on 2000-05-19?", "choices": ["North America", "Colombia", "Rio de Janeiro", "Hollywood Bowl", "Sundance Film Festival", "Japan", "Sweden", "Netherlands", "Los Angeles", "Poland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12020217"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2000-05-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a12020217\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-05-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "How many philosophy have Library of Congress Classification JC573 and whose PhilPapers topic is ethics?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Library of Congress Classification", "JC573"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["philosophy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PhilPapers topic", "ethics"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["philosophy"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"philosophy\" . ?e <Library_of_Congress_Classification> ?pv . ?pv <pred:value> \"JC573\" . ?e <PhilPapers_topic> ?pv_1 . ?pv_1 <pred:value> \"ethics\" .  }", "answer": "0"}, {"question": "How many colleges are either a child organization of the University of Oxford or have the official website of http://www.univ.ox.ac.uk/?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Oxford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.univ.ox.ac.uk/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Oxford"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" .  { ?e <parent_organization> ?e_1 . ?e_1 <pred:name> \"University of Oxford\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.univ.ox.ac.uk/\" .  } }", "answer": "8"}, {"question": "What number of unitary states have military skirmishes with the USA or have a putative GDP of 9600000 USD?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "9600000 United States dollar", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["military conflicts", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["unitary state"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"9600000\"^^xsd:double ) .  } UNION { ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "17"}, {"question": "Does the liberal arts college in the United States located in Gettysburg (the one that contains Gettysburg College), have its ARCHON code equal to 2041?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gettysburg College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gettysburg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["liberal arts college in the United States"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ARCHON code"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["2041"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Gettysburg\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Gettysburg College\" .  ?e <ARCHON_code> ?pv . ?pv <pred:value> \"2041\" .  }", "answer": "no"}, {"question": "What is the Stack Exchange tag for video?", "choices": ["https://travel.stackexchange.com/tags/india", "https://reverseengineering.stackexchange.com/tags/windows", "https://serverfault.com/tags/windows", "https://stackoverflow.com/tags/video", "https://ja.stackoverflow.com/tags/perl", "https://gamedev.stackexchange.com/tags/c%2b%2b", "https://opendata.stackexchange.com/tags/asia", "https://stackoverflow.com/tags/c%2B%2B", "https://stackoverflow.com/tags/php-5.5", "https://tex.stackexchange.com/tags/windows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["video"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Stack Exchange tag"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"video\" . ?e <Stack_Exchange_tag> ?pv .  }", "answer": "https://stackoverflow.com/tags/video"}, {"question": "When did the ethnic community whose native label is Cubanoamericanos have a population of 2212566?", "choices": ["1967", "2003-02-01", "1940-04-01", "2006-01-18", "2016-06-01", "2016", "1937", "2016-11-24", "1998-07-15", "1551"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Cubanoamericanos"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic community"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "2212566", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic community\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Cubanoamericanos\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2212566\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "How is Rio de Janeiro, twinned administrative body of Buenos Aires, related to Seoul?", "choices": ["source of income", "cause of death", "writing system", "noble title", "religious order", "twinned administrative body", "license", "film crew member", "Wikidata property", "chairperson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buenos Aires"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rio de Janeiro"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Seoul"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rio de Janeiro\" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Buenos Aires\" . ?e_2 <pred:name> \"Seoul\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Is the release date of the film titled Philadelphia not in 2006, having Germany as the release territory?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Philadelphia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2006", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Philadelphia\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2006 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "Which is lower relative to sea level: Hanover, founded in 1761, or Florence, with an elevation of 454 meters?", "choices": ["Hanover", "Westport", "Chapel Hill", "Florence", "West Hartford", "Kensington", "Bedford", "Brookline", "Uxbridge", "Greenwich"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hanover"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1761", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Florence"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["elevation above sea level", "454 metre", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hanover\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1761 . } UNION { ?e <pred:name> \"Florence\" . ?e <elevation_above_sea_level> ?pv_2 . ?pv_2 <pred:unit> \"metre\" . ?pv_2 <pred:value> \"454\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hanover"}, {"question": "How many towns in the US do we know whose area does not match 5,100,000 square km or that were named after Greenwich (with Dewey Decimal Classification 2--42162) ?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "5100000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Greenwich"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "2--42162"]}, {"function": "Relate", "dependencies": [4], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["town of the United States"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" .  { ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5100000\"^^xsd:double ) .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Greenwich\" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--42162\" .  } }", "answer": "10"}, {"question": "Which country does belong to the higher education institution, education place of Simon Pegg, its official website is http://www.bristol.ac.uk/?", "choices": ["New Zealand", "Armenia", "England", "British Empire", "Mexico", "Nazi Germany", "United Kingdom", "Ecuador", "Russia", "Albania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Simon Pegg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.bristol.ac.uk/", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Simon Pegg\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bristol.ac.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What number of public universities were not founded in 1914?", "choices": ["80", "81", "82", "83", "84", "85", "86", "87", "88", "89"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1914", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1914 ) .  }", "answer": "83"}, {"question": "For the record label that is Steven Curtis Chapman's record label, what is the language associated with this creative work for its official website of http://www.sparrowrecords.com?", "choices": ["Modern Greek", "British English", "multiple languages", "Traditional Chinese", "Irish", "Latin", "Breton", "English", "Lower Sorbian", "American English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Curtis Chapman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.sparrowrecords.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Steven Curtis Chapman\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sparrowrecords.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What city has the official website http://www.amana-md.gov.sa/ and claims the country of Saudi Arabia?", "choices": ["Mecca", "Kingston", "Chihuahua", "Cork", "Santo Domingo", "Medina", "Kilkenny", "Trieste", "Abidjan", "Bergen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.amana-md.gov.sa/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["Saudi Arabia"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.amana-md.gov.sa/\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Saudi Arabia\" .  }", "answer": "Medina"}, {"question": "Which person's ISNI is 0000 0001 1444 0064?", "choices": ["Tony Randall", "Geoffrey Lewis", "William Henry Harrison", "Manoj Kumar", "Chris Bauer", "Simon Cowell", "Alice Cooper", "Max Fleischer", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1444 0064"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1444 0064\" .  }", "answer": "Chris Bauer"}, {"question": "What television series has the person whose Munzinger IBA is 00000022500 as a member of the cast?", "choices": ["Sonic the Hedgehog", "Rogue", "Charlie's Angels", "Sesame Street", "Beauty and the Beast", "Boardwalk Empire", "Santa Barbara", "Alice", "Torchwood", "Knight and Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000022500"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000022500\" .   }", "answer": "Sesame Street"}, {"question": "How is School of Visual Arts related to Manhattan (the one that contains Pace University) ?", "choices": ["located in the administrative territorial entity", "voice type", "successful candidate", "had as last meal", "country", "child astronomical body", "military branch", "movement", "based on", "sex or gender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["School of Visual Arts"]}, {"function": "Find", "dependencies": [], "inputs": ["Pace University"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"School of Visual Arts\" . ?e_2 <pred:name> \"Manhattan\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Pace University\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Which city in the US contains the university in which George S. Clinton studied ?", "choices": ["Portland", "Hattiesburg", "Green Bay", "Malibu", "Joplin", "Independence", "Columbia", "Murfreesboro", "Muncie", "San Diego"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George S. Clinton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"university\" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> \"George S. Clinton\" .   }", "answer": "Murfreesboro"}, {"question": "Which soccer club is associated with the official website www.paepanserraikos.gr?", "choices": ["Club Libertad", "Stade Brestois 29", "F.C. Dallas", "Panserraikos F.C.", "Middlesbrough F.C.", "Brisbane Roar FC", "U.D. Leiria", "Zamalek SC", "Real Murcia", "Panathinaikos F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.paepanserraikos.gr/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.paepanserraikos.gr/\" .  }", "answer": "Panserraikos F.C."}, {"question": "How many video game developers have started after 1978?", "choices": ["33", "34", "35", "36", "37", "38", "39", "40", "41", "42"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1978", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1978 ) .  }", "answer": "40"}, {"question": "Which Alan Alda work earned an Academy Award nomination for Best Supporting Actor?", "choices": ["France\u2013United States relations", "India\u2013Mali relations", "77th Academy Awards", "Bhutan\u2013Taiwan relations", "Indonesia\u2013Malaysia relations", "50th Tony Awards", "Chile\u2013Israel relations", "Indonesia\u2013Palau border", "Brazil\u2013Paraguay relations", "California\u2013Oregon border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Alda"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alan Alda\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "77th Academy Awards"}, {"question": "Who has the lower Erd\u0151s number, David Hilbert or William Goldman (whose ISNI is 0000 0001 1698 3396)?", "choices": ["Simon Cowell", "David Byrne", "Sylvester Stallone", "James E. Reilly", "William Henry Harrison", "Rahul Dev Burman", "William Goldman", "Richard Gere", "Paul Simon", "David Hilbert"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Hilbert"]}, {"function": "Find", "dependencies": [], "inputs": ["William Goldman"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0001 1698 3396"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["Erd\u0151s number", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Hilbert\" . } UNION { ?e <pred:name> \"William Goldman\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1698 3396\" . } ?e <Erd\u0151s_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "William Goldman"}, {"question": "What is the inception time for the association football club that has Kevin James (the one that is a member of Heart of Midlothian F.C.) as a member (the number of games played of this statement is 61)?", "choices": ["1777-07-30", "1924-08-07", "1884", "2008-07-10", "1945-09-19", "1844-01-01", "1947-05-03", "1967-03-16", "988", "1819-02-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heart of Midlothian F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin James"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of matches played/races/starts", "61", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Kevin James\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Heart of Midlothian F.C.\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"61\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1884"}, {"question": "Is johnmellencamp the Giphy username of John Mellencamp?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Mellencamp"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Giphy username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["johnmellencamp"]}], "sparql": "ASK { ?e <pred:name> \"John Mellencamp\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"johnmellencamp\" .  }", "answer": "yes"}, {"question": "Which movie is longer, Chungking Express or About a Boy (the one that has Rachel Weisz as a cast member)?", "choices": ["Rebecca", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower", "Pleasantville", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "The Towering Inferno", "About a Boy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chungking Express"]}, {"function": "Find", "dependencies": [], "inputs": ["Rachel Weisz"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["About a Boy"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chungking Express\" .  } UNION { ?e <pred:name> \"About a Boy\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Rachel Weisz\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "About a Boy"}, {"question": "Did the administrative-territorial entity where Little Rock is its capital have a population less than 6.1 in 2011-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Little Rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2011-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["6.1", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Little Rock\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6.1\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2011-07-01\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the connection between Tony Richardson (the one that is the citizen of United States of America) to Auburn University?", "choices": ["head coach", "different from", "discoverer or inventor", "talk show guest", "heritage designation", "owner of", "highest judicial authority", "educated at", "make-up artist", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Richardson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Auburn University"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tony Richardson\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Auburn University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Is the run-time 80 minutes for the visual artwork scripted by Hume Cronyn, an alumnus of the American Academy of Dramatic Arts?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Academy of Dramatic Arts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hume Cronyn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["80 minute", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Hume Cronyn\" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> \"American Academy of Dramatic Arts\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"80\"^^xsd:double .  }", "answer": "yes"}, {"question": "When did the business that had the CANTIC-ID of a1191502x have  a total revenue of 152356000000 United States dollars?", "choices": ["1925-10-01", "2017-04-06", "2009-10-14", "1864-12-01", "2015", "1855-12-01", "2017-01-31", "2014-11-30", "2012-05-01", "1995-05-16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1191502x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["total revenue", "152356000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1191502x\" . ?e <total_revenue> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"152356000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Which of the geographic regions having military conflicts with France has the smallest land area?", "choices": ["Atlantic Canada", "Africa", "Lake District", "Bohemia", "South America", "Transylvania", "Southern California", "Pacific Ocean", "Caribbean", "Piedmont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> \"France\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bohemia"}, {"question": "What are the number of master's degrees that either have a short name of MSc or that is a facet of law?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["law"]}, {"function": "Relate", "dependencies": [0], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["master's degree"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["short name", "MSc"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["master's degree"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"master's degree\" .  { ?e <facet_of> ?e_1 . ?e_1 <pred:name> \"law\" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> \"MSc\" .  } }", "answer": "2"}, {"question": "When was Claudette Colbert nominated for a Tony Award for Best Actress in a Play?", "choices": ["1903-01-01", "2005-08-17", "1515-01-01", "1959", "1993-11-19", "1936-01-01", "2013-04-08", "1730", "1964-12-01", "1856"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claudette Colbert"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actress in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Claudette Colbert\" . ?e_2 <pred:name> \"Tony Award for Best Actress in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1959"}, {"question": "Is the run-time shorter on Cars, with the voice of Tony Shalhoub, or The Little Mermaid, produced by Howard Ashman?", "choices": ["Peter Pan", "Lilo & Stitch", "The Little Mermaid", "The Rescuers", "Cars", "WALL\u00b7E", "Beauty and the Beast", "Renaissance", "Aladdin", "Winnie the Pooh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Shalhoub"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Howard Ashman"]}, {"function": "Relate", "dependencies": [4], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Little Mermaid"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cars\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Tony Shalhoub\" .   } UNION { ?e <pred:name> \"The Little Mermaid\" . ?e <producer> ?e_2 . ?e_2 <pred:name> \"Howard Ashman\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Little Mermaid"}, {"question": "At what ethnic group belongs Phil Collinson and Catherine Tate?", "choices": ["Sioux", "Koreans", "Indian American", "Armenians", "Irish migration to Great Britain", "White British", "Austrians", "French American", "Italians", "Swedes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phil Collinson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "Find", "dependencies": [], "inputs": ["Catherine Tate"]}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic group"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"Phil Collinson\" .  ?e_2 <ethnic_group> ?e . ?e_2 <pred:name> \"Catherine Tate\" .  }", "answer": "White British"}, {"question": "Is the population of a first-level administrative country subdivision, whose official website is http://www.ecprov.gov.za, equal to 280,000 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ecprov.gov.za"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["280000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ecprov.gov.za\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"280000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the date of birth of the person who is a member of Swindon Town F.C. until the ending date 2015-01-01?", "choices": ["1943-09-28", "1942-07-07", "1902-06-30", "1935-09-21", "1965-01-08", "1928-12-16", "1947-04-08", "1961-07-15", "1986-08-14", "1951-04-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swindon Town F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2015-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Swindon Town F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"2015-01-01\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1986-08-14"}, {"question": "What is the connection between Hulk (the one whose sport number is 10) to 2012 Summer Olympics?", "choices": ["vehicle normally used", "parent club", "named after", "studied by", "participant of", "publisher", "after a work by", "sponsor", "sex or gender", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hulk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sport number", "10"]}, {"function": "Find", "dependencies": [], "inputs": ["2012 Summer Olympics"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hulk\" . ?e_1 <sport_number> ?pv . ?pv <pred:value> \"10\" . ?e_2 <pred:name> \"2012 Summer Olympics\" . ?e_1 ?p ?e_2 .  }", "answer": "participant of"}, {"question": "Who was nominated for an Academy Award for Best Picture for Lawrence of Arabia?", "choices": ["Larry Stensvold", "Alex North", "Sam Spiegel", "Diana Ross", "Lamar Trotti", "Aaron Sorkin", "Richard A. Harris", "Julian Fellowes", "Fernando C\u00e1mara", "Michael Herbick"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lawrence of Arabia"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lawrence of Arabia\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Sam Spiegel"}, {"question": "What is the connection between British Columbia Liberal Party to conservatism?", "choices": ["substitute/deputy/replacement of office/officeholder", "soundtrack album", "copyright holder", "contains settlement", "takes place in fictional universe", "official residence", "political ideology", "designed to carry", "has quality", "game mode"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Columbia Liberal Party"]}, {"function": "Find", "dependencies": [], "inputs": ["conservatism"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"British Columbia Liberal Party\" . ?e_2 <pred:name> \"conservatism\" . ?e_1 ?p ?e_2 .  }", "answer": "political ideology"}, {"question": "Did the establishment of the Grammy Award for Best Female Country Vocal Performance come after 1946?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Female Country Vocal Performance"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1946", ">"]}], "sparql": "ASK { ?e <pred:name> \"Grammy Award for Best Female Country Vocal Performance\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1946 ) .  }", "answer": "yes"}, {"question": "How is Chicago (produced by Cecil B. DeMille) connected to Cecil B. DeMille?", "choices": ["manner of death", "kit supplier", "mountain range", "is a list of", "located in or next to body of water", "newspaper format", "editor", "producer", "member of sports team", "appointed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cecil B. DeMille"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cecil B. DeMille"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chicago\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"Cecil B. DeMille\" . ?e_2 <pred:name> \"Cecil B. DeMille\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Who weighs less, Jermaine Jackson (the one that is a member of Atlanta Hawks) or Richard Wright (the one that is a member of Ipswich Town F.C.)?", "choices": ["Rahul Dev Burman", "William Henry Harrison", "David Byrne", "Jermaine Jackson", "Richard Wright", "Richard Gere", "Paul Simon", "Simon Cowell", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlanta Hawks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jermaine Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ipswich Town F.C."]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Wright"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jermaine Jackson\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Atlanta Hawks\" .   } UNION { ?e <pred:name> \"Richard Wright\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Ipswich Town F.C.\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Richard Wright"}, {"question": "How is Tom Hanks related to the profession of actor?", "choices": ["inspired by", "office held by head of state", "home world", "board member", "discoverer or inventor", "killed by", "eye color", "season starts", "occupation", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tom Hanks\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Does Aroostook County or Cumberland County, population 281674, cover a smaller area?", "choices": ["Oxford County", "Penobscot County", "Aroostook County", "Washington County", "Cumberland County", "Hancock County", "York County", "Franklin County", "Kennebec County", "Somerset County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aroostook County"]}, {"function": "Find", "dependencies": [], "inputs": ["Cumberland County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "281674", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Aroostook County\" . } UNION { ?e <pred:name> \"Cumberland County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"281674\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cumberland County"}, {"question": "What visual artwork, within a superpower genre, is the main subject of Star Trek, produced by Spyglass Entertainment production company ?", "choices": ["Six Degrees of Separation", "Rebecca", "Back to the Future Part II", "Pleasantville", "Training Day", "Talk to Her", "Timeline", "The Fifth Element", "Niagara Falls", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spyglass Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["superpower"]}, {"function": "Relate", "dependencies": [5], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"superpower\" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> \"Star Trek\" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> \"Spyglass Entertainment\" .   }", "answer": "Timeline"}, {"question": "Which one has less market capitalization between Citigroup and Bank of America?", "choices": ["Pfizer", "Silver Pictures", "Citigroup", "Sega", "Adobe Inc.", "Vodafone", "Skidmore Owings Merrill", "Bank of America", "Entertainment One", "KLM"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Citigroup"]}, {"function": "Find", "dependencies": [], "inputs": ["Bank of America"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["market capitalization", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Citigroup\" .  } UNION { ?e <pred:name> \"Bank of America\" .  } ?e <market_capitalization> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Citigroup"}, {"question": "What is the ISNI number of the person that has a Munzinger IBA number of 00000020361?", "choices": ["0000 0001 2284 1810", "0000 0001 2164 6511", "0000 0001 2358 1926", "0000 0001 2158 6491", "0000 0004 0627 3050", "0000 0000 8137 0732", "0000 0001 1884 5608", "0000 0000 8121 0456", "0000 0000 0137 7329", "0000 0001 2160 7918"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020361"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000020361\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2284 1810"}, {"question": "Does The Assassination of Jesse James by the Coward Robert Ford or Earth (whose title is \u0417\u0435\u043c\u043b\u044f) have the shorter running time?", "choices": ["Rebecca", "Hamlet", "A Prairie Home Companion", "Pleasantville", "Earth", "Paris", "The Hunchback of Notre Dame", "The Assassination of Jesse James by the Coward Robert Ford", "The Last of the Mohicans", "The Scarlet Letter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Assassination of Jesse James by the Coward Robert Ford"]}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["title", "\u0417\u0435\u043c\u043b\u044f"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Assassination of Jesse James by the Coward Robert Ford\" . } UNION { ?e <pred:name> \"Earth\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u0417\u0435\u043c\u043b\u044f\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Earth"}, {"question": "How is Robert Patrick, The Faculty cast member, related to a voice actor?", "choices": ["owned by", "occupation", "doctoral student", "narrative role", "depicts", "vehicle normally used", "is a list of", "quotes work", "officially opened by", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Faculty"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Patrick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["voice actor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Patrick\" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> \"The Faculty\" . ?e_2 <pred:name> \"voice actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which country has fewer speakers, Norwegian or Japanese?", "choices": ["Welsh", "German", "Japanese", "Norwegian", "Croatian", "Gujarati", "Scots", "Romanian", "Tamil", "Indonesian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norwegian"]}, {"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of speakers", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Norwegian\" .  } UNION { ?e <pred:name> \"Japanese\" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Norwegian"}, {"question": "Between Taking Woodstock or Academy Award nominated Best Picture San Francisco, which is longer?", "choices": ["The Hunchback of Notre Dame", "Curse of the Golden Flower", "Talk to Her", "The Fifth Element", "Pleasantville", "Taking Woodstock", "Training Day", "The Towering Inferno", "Rebecca", "San Francisco"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taking Woodstock"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["San Francisco"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Taking Woodstock\" .  } UNION { ?e <pred:name> \"San Francisco\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Francisco"}, {"question": "At what point in time is 590194 the population of the big city that holds Rot-Weiss Essen?", "choices": ["1839-01-01", "1973-12-01", "1987-04-24", "2005-02-16", "2017-12-31", "2016-05-10", "1993-12-23", "1792-01-01", "1952-03-20", "1520"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rot-Weiss Essen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "590194", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Rot-Weiss Essen\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"590194\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-12-31"}, {"question": "What is the connection between David Copperfield (the one that is shot in New York City) to English?", "choices": ["affiliation", "languages spoken, written or signed", "head of government", "game mode", "inspired by", "original language of film or TV show", "main subject", "original network", "musical conductor", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"New York City\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Which first-level administrative country subdivision whose establishment date is after 1947 has the largest area?", "choices": ["Lublin Voivodeship", "Podlaskie Voivodeship", "Punjab", "Federation of Bosnia and Herzegovina", "Xinjiang", "Melaka", "Eastern Cape", "Western Cape", "Catalonia", "KwaZulu-Natal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1947", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1947 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Xinjiang"}, {"question": "Which county of Alabama, whose population is not equal to 2000, has the smallest area?", "choices": ["Madison County", "Shelby County", "Mobile County", "Jackson County", "Dallas County", "Jefferson County", "Washington County", "Baldwin County", "Montgomery County", "Monroe County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"2000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "What is the television series that has an episode titled The Offspring?", "choices": ["Precious", "Brothers", "P.S. I Love You", "The Offspring", "Angel", "Genesis", "A Christmas Carol", "The Host", "Take Shelter", "Evolution"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Offspring"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series episode"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <title> ?pv . ?pv <pred:value> \"The Offspring\" .  }", "answer": "The Offspring"}, {"question": "Is the longer work Hamlet, at 131 minutes, or The Cardinal, released in Portugal?", "choices": ["The Towering Inferno", "The Fifth Element", "The Hunchback of Notre Dame", "Hamlet", "Talk to Her", "The Cardinal", "A Prairie Home Companion", "Training Day", "Pleasantville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hamlet"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "131 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Portugal"]}, {"function": "Relate", "dependencies": [2], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cardinal"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hamlet\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"131\"^^xsd:double . } UNION { ?e <pred:name> \"The Cardinal\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Portugal\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Cardinal"}, {"question": "The Island, with Steve Buscemi as a cast member, has what connection to Steve Buscemi?", "choices": ["characters", "languages spoken, written or signed", "mascot", "cast member", "opposite of", "commissioned by", "affiliation", "model item", "honorific prefix", "natural product of taxon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Buscemi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Island"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Steve Buscemi"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Island\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Steve Buscemi\" . ?e_2 <pred:name> \"Steve Buscemi\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the dissolution date of the sovereign state that had the capital Turin (beginning in 1814)?", "choices": ["1918-10-29", "2010", "1861-01-01", "1917", "1980-09-25", "1942-12-10", "2015-12-31", "2001-01-01", "2008-10-01", "1992-12-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1814", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Turin\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1814 . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1861-01-01"}, {"question": "Which one, A Prairie Home Companion or Some Like It Hot (the one that was nominated for Academy Award for Best Costume Design), has less duration?", "choices": ["Training Day", "Curse of the Golden Flower", "Some Like It Hot", "The Hunchback of Notre Dame", "The Towering Inferno", "Talk to Her", "Rope", "Rebecca", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Prairie Home Companion"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Some Like It Hot"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Prairie Home Companion\" .  } UNION { ?e <pred:name> \"Some Like It Hot\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "A Prairie Home Companion"}, {"question": "Tell me the higher education institution that has ISNI is 0000 0001 2159 2859", "choices": ["University of Central Florida", "ETH Zurich", "McNeese State University", "University of Nevada, Las Vegas", "University of Zurich", "Pennsylvania State University", "Imperial College London", "Delft University of Technology", "The Catholic University of America", "Saint Mary's College of California"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2159 2859"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2159 2859\" .  }", "answer": "University of Central Florida"}, {"question": "How much did Madagascar 3: Europe's Most Wanted cost to produce?", "choices": ["13000000 euro", "2777000 United States dollar", "1200000 United States dollar", "1480000 United States dollar", "400000 United States dollar", "6600000000 euro", "95000000 United States dollar", "49000000 United States dollar", "145000000 United States dollar", "1800000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madagascar 3: Europe's Most Wanted"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Madagascar 3: Europe's Most Wanted\" . ?e <cost> ?pv .  }", "answer": "145000000 United States dollar"}, {"question": "When was the death of the 1964 National Book Award nominee for Fiction?", "choices": ["1971-09-09", "1922-11-18", "2019-01-19", "1986-03-31", "2005-06-24", "2009-01-27", "1791-12-05", "1865-04-15", "1990-05-01", "1889-06-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Book Award for Fiction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1964", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Book Award for Fiction\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1964 . ?e <date_of_death> ?pv .  }", "answer": "2009-01-27"}, {"question": "Which show has more episodes, Anger Management (the one whose official website is http://www.fxnetworks.com/shows/originals/angermanagement/) or Star Trek: The Next Generation (the one that has the series spin-off Star Trek: Deep Space Nine)?", "choices": ["Anger Management", "American Horror Story", "Bleak House", "Phineas and Ferb", "Saturday Night's Main Event", "Star Trek: The Next Generation", "Six Feet Under", "Game of Thrones", "Seinfeld", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anger Management"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fxnetworks.com/shows/originals/angermanagement/"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek: Deep Space Nine"]}, {"function": "Relate", "dependencies": [2], "inputs": ["series spin-off", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Next Generation"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anger Management\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fxnetworks.com/shows/originals/angermanagement/\" . } UNION { ?e <pred:name> \"Star Trek: The Next Generation\" . ?e <series_spin-off> ?e_1 . ?e_1 <pred:name> \"Star Trek: Deep Space Nine\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Trek: The Next Generation"}, {"question": "What is the role of the person who influenced Rainer Werner Fassbinder, pseudonym of Bertolt Brecht?", "choices": ["leading actor", "LAU 1", "drummer", "initialism", "state school", "X-Men: The Last Stand", "pen name", "overseas department of France", "organizational founder", "official name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rainer Werner Fassbinder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pseudonym", "Bertolt Brecht", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Rainer Werner Fassbinder\" .  ?e <pseudonym> ?pv . ?pv <pred:value> \"Bertolt Brecht\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv ] <object_has_role> ?qpv .  }", "answer": "pen name"}, {"question": "What person's birth date is 1934-02-14?", "choices": ["Larenz Tate", "Hugh Grant", "Sylvester Stallone", "Max Fleischer", "Robert Palmer", "Danny DeVito", "Richard Gere", "Colin Wilson", "James Cayne", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1934-02-14", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1934-02-14\"^^xsd:date .  }", "answer": "James Cayne"}, {"question": "What relationship does Hugo who was born on 1988-09-06 have to association football?", "choices": ["part of", "director of photography", "sport", "studied by", "diplomatic relation", "has edition", "studies", "narrator", "movement", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugo"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1988-09-06", "="]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hugo\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1988-09-06\"^^xsd:date . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the release date of the activity that is a derivative work of Tomorrow Never Dies (that was nominated for a Golden Globe Award for Best Original Song)?", "choices": ["1999-11-16", "2007-08-08", "1999-05-13", "1953-06-04", "1995-11-25", "1989-03-24", "2001", "2008-10-02", "1990-12-25", "2004-04-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Original Song"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tomorrow Never Dies"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"Tomorrow Never Dies\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Golden Globe Award for Best Original Song\" .  ?e <publication_date> ?pv .  }", "answer": "1999-11-16"}, {"question": "Does Crusade, clocking in at 44 minutes, or George Washington, first shown on CBS, have the lower episode count?", "choices": ["The Diary of Anne Frank", "The Ten Commandments", "Roots", "The Civil War", "Battlestar Galactica", "Crusade", "Emma", "George Washington", "Edge of Darkness", "The Stand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crusade"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "44 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crusade\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"44\"^^xsd:double . } UNION { ?e <pred:name> \"George Washington\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"CBS\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "George Washington"}, {"question": "Who is the particular physician who matches the academic degree of someone whose LinkedIn personal profile URL is https://www.linkedin.com/in/donald-l-trump-md-facp-bb295642 ?", "choices": ["speaker of the United States House of Representatives", "Doctor of Medicine", "psychiatrist", "cinematographer", "illustrator", "astronaut", "bandleader", "graphic designer", "make-up artist", "financier"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["LinkedIn personal profile URL", "https://www.linkedin.com/in/donald-l-trump-md-facp-bb295642/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["academic degree", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["physician"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"physician\" . ?e_1 <academic_degree> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <LinkedIn_personal_profile_URL> ?pv . ?pv <pred:value> \"https://www.linkedin.com/in/donald-l-trump-md-facp-bb295642/\" .   }", "answer": "Doctor of Medicine"}, {"question": "Does Ghost Rider: Spirit of Vengeance or The Vow (the one whose color is black-and-white) have less duration ?", "choices": ["Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Towering Inferno", "A Prairie Home Companion", "The Fifth Element", "The Vow", "Ghost Rider: Spirit of Vengeance", "Training Day", "Rebecca", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghost Rider: Spirit of Vengeance"]}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [1], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Vow"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ghost Rider: Spirit of Vengeance\" .  } UNION { ?e <pred:name> \"The Vow\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ghost Rider: Spirit of Vengeance"}, {"question": "Who is heavier:  University of California, Berkeley alumnus Ryan Murphy, or actor Mark Harmon?", "choices": ["William Henry Harrison", "Paul Simon", "Richard Gere", "James E. Reilly", "David Byrne", "Mark Harmon", "Ryan Murphy", "Simon Cowell", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Berkeley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ryan Murphy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Harmon"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ryan Murphy\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"University of California, Berkeley\" .   } UNION { ?e <pred:name> \"Mark Harmon\" . ?e <occupation> ?e_2 . ?e_2 <pred:name> \"actor\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ryan Murphy"}, {"question": "When did Dev Anand stop being a citizen of British Raj?", "choices": ["1991-06-26", "1813", "1919-01-01", "1949-12-30", "1924-01-25", "1863-06-20", "1918-11-15", "1944", "1947", "1991-09-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dev Anand"]}, {"function": "Find", "dependencies": [], "inputs": ["British Raj"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country of citizenship", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dev Anand\" . ?e_2 <pred:name> \"British Raj\" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1947"}, {"question": "Who is Diane Ladd's spouse (the end time of this statement is 1969)?", "choices": ["David Byrne", "Richard Gere", "Rod Steiger", "Bruce Dern", "Rahul Dev Burman", "Max Fleischer", "William Henry Harrison", "Lauren Bacall", "Jason Robards", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Diane Ladd"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "1969", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Diane Ladd\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1969 .  }", "answer": "Bruce Dern"}, {"question": "What film has the title Dead Poets Society and was nominated for a Golden Globe Award for Best Screenplay?", "choices": ["Platoon", "Pleasantville", "Shine", "In America", "A Prairie Home Companion", "Fargo", "Glory", "Rebecca", "Talk to Her", "Dead Poets Society"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Dead Poets Society"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Screenplay"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Dead Poets Society\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Globe Award for Best Screenplay\" .  }", "answer": "Dead Poets Society"}, {"question": "Does the native name \u0930\u0947\u0916\u093e belong to the person with Deutsche Synchronkartei actor-ID number 37017?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "37017"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["\u0930\u0947\u0916\u093e"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"37017\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u0930\u0947\u0916\u093e\" .  }", "answer": "yes"}, {"question": "What is the connection between 2006 NFL Draft to Detroit Lions?", "choices": ["published in", "software engine", "risk factor", "candidate", "native language", "founded by", "series spin-off", "set in period", "present in work", "participant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2006 NFL Draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Detroit Lions"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2006 NFL Draft\" . ?e_2 <pred:name> \"Detroit Lions\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "What is the determination method of 79, the ranking of the national association football team that has member Ben Sahar?", "choices": ["FIFA World Rankings", "average", "gross floor area", "tradition", "administrative division valid at the moment of publication", "Family record booklet", "national estimation", "hearth tax", "Population registration in Sweden", "population projection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Sahar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "79", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Ben Sahar\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"79\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the character role of Toshiyuki Morikawa in Final Fantasy VII: Advent Children?", "choices": ["Gregory House", "Johnny Behan", "Richard Winters", "Carlisle Cullen", "Veronica Cale", "Kunta Kinte", "Yossarian", "Uhura", "Sephiroth", "David Banner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Final Fantasy VII: Advent Children"]}, {"function": "Find", "dependencies": [], "inputs": ["Toshiyuki Morikawa"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Final Fantasy VII: Advent Children\" . ?e_2 <pred:name> \"Toshiyuki Morikawa\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Sephiroth"}, {"question": "What visual artwork has official website http://www.sonypictures.com/movies/memoirsofageisha/ and was not published in 2008?", "choices": ["Talk to Her", "The Believer", "Rebecca", "A Prairie Home Companion", "Memoirs of a Geisha", "Priest", "The Prestige", "Austin Powers: International Man of Mystery", "Monsoon Wedding", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonypictures.com/movies/memoirsofageisha/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2008", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonypictures.com/movies/memoirsofageisha/\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 2008 ) .  }", "answer": "Memoirs of a Geisha"}, {"question": "Does Christina Aguilera or Al Gore have more offspring?", "choices": ["Al Gore", "David Byrne", "Paul Simon", "Max Fleischer", "Simon Cowell", "Christina Aguilera", "Sylvester Stallone", "Richard Gere", "Rahul Dev Burman", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christina Aguilera"]}, {"function": "Find", "dependencies": [], "inputs": ["Al Gore"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Christina Aguilera\" .  } UNION { ?e <pred:name> \"Al Gore\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Al Gore"}, {"question": "Is the e-mail address of the Protestant cemetery mailto:posta@praha.eu ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Protestantism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["e-mail address"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["mailto:posta@praha.eu"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" . ?e <religion> ?e_1 . ?e_1 <pred:name> \"Protestantism\" .  ?e <e-mail_address> ?pv . ?pv <pred:value> \"mailto:posta@praha.eu\" .  }", "answer": "no"}, {"question": "When did the republic whose IOC country code is BOL have a population of 8322408?", "choices": ["1991-12-25", "2012-10-01", "2007-08-01", "1800-01-01", "1999", "1991-12-12", "2009-06-01", "2016-01-04", "1557-01-01", "2002-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IOC country code", "BOL"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "8322408", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <IOC_country_code> ?pv_1 . ?pv_1 <pred:value> \"BOL\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"8322408\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1999"}, {"question": "Was Lamar Odom born before 1980?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lamar Odom"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1980", "<"]}], "sparql": "ASK { ?e <pred:name> \"Lamar Odom\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) .  }", "answer": "yes"}, {"question": "For Portsmouth (the one whose population is 96564), which shares a border with Hampton, to which location is it relative?", "choices": ["south-southwest", "south", "northeast", "southeast", "north-northwest", "southwest", "northwest", "west", "east", "north"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portsmouth"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "96564", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Hampton"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["shares border with", "direction relative to location"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Portsmouth\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"96564\"^^xsd:double . ?e_2 <pred:name> \"Hampton\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }", "answer": "north"}, {"question": "Which Canadian college is headquartered in Toronto?", "choices": ["Trinity College", "Ontario New Democratic Party", "Ontario Liberal Party", "Fashion Institute of Technology", "University College Dublin", "Harvard College", "Colorado College", "Denison University", "University of Toronto", "Toronto FC"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Toronto\" .  ?e <country> ?e_2 . ?e_2 <pred:name> \"Canada\" .  }", "answer": "Trinity College"}, {"question": "In what way is Cicely Tyson connected to New York City?", "choices": ["award received", "father", "separated from", "narrative role", "head coach", "properties for this type", "employer", "cites", "place of birth", "programming paradigm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cicely Tyson"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cicely Tyson\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What record label in the United States of America has the official website of http://www.relapse.com?", "choices": ["Relapse Records", "Astralwerks", "Maverick Records", "King Records", "Priority Records", "Southern Lord Records", "Epic Records", "Death Row Records", "Epitaph Records", "Hollywood Records"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.relapse.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.relapse.com\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  }", "answer": "Relapse Records"}, {"question": "How many public education institutions do we know in the US whose motto is Duty \u2022 Honor \u2022 Country  and whose native label is The United States ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Duty \u2022 Honor \u2022 Country"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public educational institution of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "The United States Naval Academy"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public educational institution of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public educational institution of the United States\" . ?e <motto_text> ?pv . ?pv <pred:value> \"Duty \u2022 Honor \u2022 Country\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"The United States Naval Academy\" .  }", "answer": "0"}, {"question": "Is the abbreviated name of Geffen Records \u042e\u0433\u043e\u0441\u043b\u0430\u0432\u0438\u044f?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geffen Records"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["short name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u042e\u0433\u043e\u0441\u043b\u0430\u0432\u0438\u044f"]}], "sparql": "ASK { ?e <pred:name> \"Geffen Records\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u042e\u0433\u043e\u0441\u043b\u0430\u0432\u0438\u044f\" .  }", "answer": "no"}, {"question": "Which person has notable work Beloved (the one whose publication date is 1998-10-08)?", "choices": ["William Henry Harrison", "Brian Jones", "Nine", "Tom Hanks", "David Byrne", "Fred Ward", "Sylvester Stallone", "Richard Gere", "Oprah Winfrey", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beloved"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1998-10-08", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> \"Beloved\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1998-10-08\"^^xsd:date .   }", "answer": "Oprah Winfrey"}, {"question": "Is 00000000884 the Munzinger IBA for the person who was nominated for an Academy Award for Best Actor involving the award-winning work It's a Wonderful Life?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "It's a Wonderful Life"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["00000000884"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"It's a Wonderful Life\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000000884\" .  }", "answer": "no"}, {"question": "where is the visual artwork with the official website http://grownups-movie.com/ and with the publication date 2010-07-29, published", "choices": ["Hungary", "Peru", "Austria", "Northern America", "Washington, D.C.", "Japan", "Taormina Film Fest", "Switzerland", "India", "Sweden"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.grownups-movie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-07-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.grownups-movie.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-07-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "What is the connection between Van Helsing (the one whose Twitter username is VanHelsing_In) to Van Helsing (the one whose genre is third-person shooter)?", "choices": ["derivative work", "educated at", "donated by", "place of death", "home port", "work location", "military conflicts", "head coach", "main subject", "instrument"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Van Helsing"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "VanHelsing_In"]}, {"function": "Find", "dependencies": [], "inputs": ["third-person shooter"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Van Helsing"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Van Helsing\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"VanHelsing_In\" . ?e_2 <pred:name> \"Van Helsing\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"third-person shooter\" . ?e_1 ?p ?e_2 .  }", "answer": "derivative work"}, {"question": "When was the person who died on 1995-08-08 born?", "choices": ["1965-04-15", "1968-07-30", "1938-05-22", "1958-05-25", "1951-09-02", "1924-10-16", "1983-01-19", "1968-05-28", "1899-07-21", "1937-11-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1995-08-08", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1995-08-08\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1937-11-28"}, {"question": "What is the relationship between Bruce Dern and screenwriter?", "choices": ["studied by", "costume designer", "musical conductor", "domain of saint or deity", "occupation", "takes place in fictional universe", "game mode", "twinned administrative body", "work location", "main food source"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruce Dern"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bruce Dern\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the connection between Anna Karenina (the one whose publication date is 1948-01-01) to United Kingdom?", "choices": ["notable work", "country of origin", "product or material produced", "executive producer", "member of", "subject has role", "movement", "platform", "geography of topic", "screenwriter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1948-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anna Karenina\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1948-01-01\"^^xsd:date . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the Instagram username of Dan Schneider (the one that is educated at Harvard University)?", "choices": ["braves", "murkanpianist", "rogerfederer", "robloweofficial", "petshopboys", "fueledby", "hamillhimself", "pittsburghpirates", "danwarp", "ashleytisdale"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harvard University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dan Schneider"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dan Schneider\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Harvard University\" .  ?e <Instagram_username> ?pv .  }", "answer": "danwarp"}, {"question": "What is the subject of the statement that Brian Grazer was nominated for an Academy Award for Best Writing, Original Screenplay?", "choices": ["Bangladesh\u2013Uganda relations", "Eritrea\u2013Ethiopia border", "Indonesia\u2013Papua New Guinea relations", "Cyprus\u2013Ireland relations", "57th Academy Awards", "Argentina\u2013Paraguay relations", "Kuwait\u2013Malaysia relations", "Bulgaria\u2013Portugal relations", "Republic of the Congo\u2013South Africa relations", "Burkina Faso\u2013Ghana border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian Grazer"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brian Grazer\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "57th Academy Awards"}, {"question": "What is the series ordinal of Precious, which has S. Epatha Merkerson as a cast member and is a part of Law & Order (whose genre is legal drama)?", "choices": ["42", "35", "26", "2", "25", "95", "29", "1", "23", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S. Epatha Merkerson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Precious"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["legal drama"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["part of the series", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Precious\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"S. Epatha Merkerson\" . ?e_2 <pred:name> \"Law & Order\" . ?e_2 <genre> ?e_4 . ?e_4 <pred:name> \"legal drama\" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "95"}, {"question": "Did teh TV series titled The Mickey Mouse Club end after 1912?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Mickey Mouse Club"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1912", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Mickey Mouse Club\" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1912 ) .  }", "answer": "yes"}, {"question": "Regarding the person who is Serge Gainsbourg's child, and having a Twitter username of cgainsbourg, what is the number of subscribers this user has.", "choices": ["134", "615417", "178285", "2963735", "45290", "477488", "2073782", "296238", "89583", "136916"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serge Gainsbourg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["child", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "cgainsbourg", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <child> ?e . ?e_1 <pred:name> \"Serge Gainsbourg\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"cgainsbourg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "89583"}, {"question": "Who weighs more, Keith Allen (the one that is the general manager of Philadelphia Flyers) or Bruce Campbell (the one that is a member of Oakland Raiders)?", "choices": ["Bruce Campbell", "Rahul Dev Burman", "David Byrne", "Max Fleischer", "Richard Gere", "Sylvester Stallone", "William Henry Harrison", "Keith Allen", "James E. Reilly", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Flyers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["general manager", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Keith Allen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Oakland Raiders"]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bruce Campbell"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Keith Allen\" . ?e_1 <general_manager> ?e . ?e_1 <pred:name> \"Philadelphia Flyers\" .   } UNION { ?e <pred:name> \"Bruce Campbell\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Oakland Raiders\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bruce Campbell"}, {"question": "What is the number of plays that had their first performance before 1996?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of first performance", "1996", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["play"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) .  }", "answer": "11"}, {"question": "Which Indiana county that is not 70 ft above sea level covers the least area?", "choices": ["Johnson County", "Hancock County", "Wayne County", "Lake County", "Allen County", "Madison County", "Porter County", "Delaware County", "Marion County", "Franklin County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "70 foot", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"70\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Porter County"}, {"question": "What is the association of the 25th United States Congress with James Buchanan (who is involved in the War of 1812)?", "choices": ["chief executive officer", "has contributing factor", "follows", "contains administrative territorial entity", "symptom of", "professional or sports partner", "honorific suffix", "participant", "place of publication", "producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["25th United States Congress"]}, {"function": "Find", "dependencies": [], "inputs": ["War of 1812"]}, {"function": "Relate", "dependencies": [1], "inputs": ["conflict", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Buchanan"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"25th United States Congress\" . ?e_2 <pred:name> \"James Buchanan\" . ?e_2 <conflict> ?e_3 . ?e_3 <pred:name> \"War of 1812\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "What is the area of Katowice?", "choices": ["4768 square kilometre", "5136.51 square kilometre", "2650 square kilometre", "168.595389 square kilometre", "2282 square kilometre", "22.552823 square kilometre", "82.67 square kilometre", "158.600973 square kilometre", "164670000 square metre", "100.05 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katowice"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Katowice\" . ?e <area> ?pv .  }", "answer": "164670000 square metre"}, {"question": "What is the relationship between Alice in Wonderland, fabricated through stop-motion, and the United Kingdom?", "choices": ["country of origin", "lowest point", "location of final assembly", "parent club", "member of political party", "different from", "military conflicts", "operator", "movement", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["stop-motion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["fabrication method", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice in Wonderland\" . ?e_1 <fabrication_method> ?e_3 . ?e_3 <pred:name> \"stop-motion\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Is http://www.watchimage.com the official website of Image Entertainment?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Image Entertainment"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.watchimage.com"]}], "sparql": "ASK { ?e <pred:name> \"Image Entertainment\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.watchimage.com\" .  }", "answer": "yes"}, {"question": "What is the nighttime view for the city whose nickname is La sultana del \u00c1vila?", "choices": ["Tower of england.jpg", "Nantes de nuit - Benjamin (7846770574).jpg", "Dresden from Albertbr\u00fccke.jpg", "Istanbul (15896336182).jpg", "Oslo panorama I.jpg", "View over Ankara at Night.jpg", "Panoramic view of Caracas night.jpg", "Izmir kordondaki modern y\u00fcz by ismail soytekino\u011flu - panoramio.jpg", "Panorama of City of London during The Shard\u2019s opening laser show.jpg", "Moonrise over kuala lumpur.jpg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "La Sultana del \u00c1vila"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["nighttime view"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"La Sultana del \u00c1vila\" . ?e <nighttime_view> ?pv .  }", "answer": "Panoramic view of Caracas night.jpg"}, {"question": "Which has the smallest area among the France regions whose population is less than 6400000?", "choices": ["Batman", "Geraldine Somerville", "2012 Sundance Film Festival", "Brittany", "Normandy", "University of Bath", "Coal Miner's Daughter", "Agatha Christie", "Corsica", "Martinique"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6400000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6400000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Martinique"}, {"question": "What is the official website of the organization nicknamed Cats?", "choices": ["http://www.geelongcats.com.au/", "http://www.london.edu/", "http://www.jorjafox.org/", "http://www.dominicchianese.net/", "http://yolandaadamslive.com/", "https://www.houstondynamo.com", "http://www.bbk.ac.uk/", "http://www.spokanecity.org/", "https://access.wa.gov/", "https://www.ramones.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "Cats"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"Cats\" . ?e <official_website> ?pv .  }", "answer": "http://www.geelongcats.com.au/"}, {"question": "Does Cars (the one whose release region is Mexico) or Shark Tale (the one whose publication date is 2004-10-14) have less duration?", "choices": ["Lilo & Stitch", "The Rescuers", "Shark Tale", "WALL\u00b7E", "Cars", "Renaissance", "Aladdin", "Beauty and the Beast", "Winnie the Pooh", "Shrek 2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shark Tale"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "2004-10-14", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cars\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Mexico\" . } UNION { ?e <pred:name> \"Shark Tale\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2004-10-14\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Shark Tale"}, {"question": "Which FIPS 6-4 (US counties) code applies to the Columbia County that occupies 1783 square kilometres?", "choices": ["08013", "01089", "04021", "18035", "39091", "38017", "44009", "41009", "55055", "39045"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1783 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Columbia County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1783\"^^xsd:double . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "41009"}, {"question": "Which area is bigger, Aquitaine or Poitou-Charentes?", "choices": ["Champagne-Ardenne", "Aquitaine", "Lorraine", "Nord-Pas-de-Calais", "Lower Normandy", "Upper Normandy", "Poitou-Charentes", "Languedoc-Roussillon", "Picardy", "Alsace"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aquitaine"]}, {"function": "Find", "dependencies": [], "inputs": ["Poitou-Charentes"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Aquitaine\" .  } UNION { ?e <pred:name> \"Poitou-Charentes\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aquitaine"}, {"question": "Tell me that work that was awarded for Sean Bean got nominated for broadcast film critics Association Award for Best Cast.", "choices": ["Goliath II", "The Lord of the Rings: The Return of the King", "Tehanu", "Bridge of Spies", "Roxanne", "9/11", "MTV Unplugged", "Margaret", "Tora! Tora! Tora!", "Salvador"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sean Bean"]}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sean Bean\" . ?e_2 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Lord of the Rings: The Return of the King"}, {"question": "Brandenburg, occupying 27612 square kilometers, contained Frankfurt (Oder) until which date?", "choices": ["2019-05-19", "1924-01-25", "1814-10-12", "1718-07-20", "1835-03-04", "1804-12-02", "1952", "1697", "1987-01-01", "1291"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankfurt (Oder)"]}, {"function": "Find", "dependencies": [], "inputs": ["Brandenburg"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "27612 square kilometre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["located in the administrative territorial entity", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Frankfurt (Oder)\" . ?e_2 <pred:name> \"Brandenburg\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"27612\"^^xsd:double . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1952"}, {"question": "What is the connection between Guy Pearce to Geelong?", "choices": ["residence", "composer", "grants", "platform", "patron saint", "contains administrative territorial entity", "noble title", "famous people", "highest judicial authority", "official religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guy Pearce"]}, {"function": "Find", "dependencies": [], "inputs": ["Geelong"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Guy Pearce\" . ?e_2 <pred:name> \"Geelong\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "How many silent movies are in black-and-white or were released in any year but 1923?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1923", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["silent film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" .  { ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1923 ) .  } }", "answer": "7"}, {"question": "How is Marie Antoinette, CANTIC-ID a11545690, related to France ?", "choices": ["update method", "sexual orientation", "place of publication", "relative", "fictional universe described in", "time period", "family name", "country of citizenship", "notable people with this condition", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marie Antoinette"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11545690"]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marie Antoinette\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11545690\" . ?e_2 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "When was the population size 44000000 for the historical country where Giuseppe Verdi, who succumbed to stroke, has citizenship?", "choices": ["2017-11-24", "1812", "1977-12-01", "2000-12-31", "1925-06-16", "2014-06-26", "2012-05-09", "2015-03-15", "2004-05-01", "1200"], "program": [{"function": "Find", "dependencies": [], "inputs": ["stroke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Giuseppe Verdi"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["historical country"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "44000000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> \"Giuseppe Verdi\" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> \"stroke\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"44000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1812"}, {"question": "How is The Monkees (the one that is originally aired on NBC) related to a television?", "choices": ["given name", "different from", "product or material produced", "instrumentation", "quotes work", "country of citizenship", "genre", "cause of death", "doctoral student", "hair color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Monkees"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["television"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Monkees\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"NBC\" . ?e_2 <pred:name> \"television\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What point in time did Haryana (the one that shares border with Delhi) have a population of 25351462?", "choices": ["2003-12-15", "1895", "1985-03-25", "1981-12-31", "1907-01-01", "2011-01-01", "2006-02-15", "1920-12-01", "1964", "1934-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delhi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Haryana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "25351462", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Haryana\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Delhi\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"25351462\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "How is James Joyce (uses English as the native language) related to writer?", "choices": ["capital", "occupation", "native language", "continent", "has parts of the class", "month of the year", "has immediate cause", "sex or gender", "office held by head of the organisation", "had as last meal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["native language", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Joyce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Joyce\" . ?e_1 <native_language> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many television series episodes were not published in 1995?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1995", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series episode"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1995 ) .  }", "answer": "26"}, {"question": "Which person's ISNI is 0000 0001 1483 4880?", "choices": ["Richard Jenkins", "Richard Gere", "Kyra Sedgwick", "Karisma Kapoor", "Peter Hyams", "Stephanie Morgenstern", "Sylvester Stallone", "Max Fleischer", "Michael Winterbottom", "Tom Jones"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1483 4880"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1483 4880\" .  }", "answer": "Stephanie Morgenstern"}, {"question": "What is the relationship between Penobscot County and the United States of America?", "choices": ["country", "substitute/deputy/replacement of office/officeholder", "geographic distribution", "has parts of the class", "location of formation", "cause of death", "permanent resident of", "fabrication method", "signatory", "programming paradigm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Penobscot County"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Penobscot County\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which visual artwork by director of photography Haskell Wexler is longest?", "choices": ["In the Heat of the Night", "Who's Afraid of Virginia Woolf?", "The Fifth Element", "Pleasantville", "The Conversation", "America America", "Coming Home", "Talk to Her", "One Flew Over the Cuckoo's Nest", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haskell Wexler"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Haskell Wexler\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "America America"}, {"question": "What is the connection between Entourage (the one that was nominated for Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series) to 65th Golden Globe Awards?", "choices": ["film distribute region", "illustrator", "mouth of the watercourse", "stated in", "maintained by", "continent", "programming paradigm", "award received", "location of formation", "software engine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Entourage"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["65th Golden Globe Awards"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Entourage\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series\" . ?e_2 <pred:name> \"65th Golden Globe Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which movie is shorter, A Prophet or U-571?", "choices": ["The Fifth Element", "A Prophet", "Training Day", "The Hunchback of Notre Dame", "The Towering Inferno", "Rebecca", "Pleasantville", "U-571", "A Prairie Home Companion", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Prophet"]}, {"function": "Find", "dependencies": [], "inputs": ["U-571"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Prophet\" .  } UNION { ?e <pred:name> \"U-571\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "U-571"}, {"question": "Who was a cast member of Dune (the one whose genre is film based on literature) and has virginiamadsen Instagram username?", "choices": ["Sting", "Kyle MacLachlan", "William Henry Harrison", "David Byrne", "Richard Gere", "Rahul Dev Burman", "Sylvester Stallone", "Virginia Madsen", "Max von Sydow", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dune"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["Instagram username", "virginiamadsen"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Dune\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"film based on literature\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"virginiamadsen\" .  }", "answer": "Virginia Madsen"}, {"question": "Which has lesser population between Kathmandu & Colombo?", "choices": ["Abidjan", "Chihuahua", "Colombo", "Kingston", "Kathmandu", "Dundee", "Trieste", "Cork", "Bergen", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathmandu"]}, {"function": "Find", "dependencies": [], "inputs": ["Colombo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kathmandu\" .  } UNION { ?e <pred:name> \"Colombo\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Colombo"}, {"question": "Which has higher elevation above sea level, Terre Haute or Hartford?", "choices": ["Lansing", "New Haven", "Oakland", "Franklin", "Compton", "Boulder", "Columbus", "Greenville", "Waukegan", "Terre Haute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terre Haute"]}, {"function": "Find", "dependencies": [], "inputs": ["Hartford"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Terre Haute\" .  } UNION { ?e <pred:name> \"Hartford\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Terre Haute"}, {"question": "What is the number of operating systems that are the Transformers: Dark of the Moon (the one that is meant for Wii) platform.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wii"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers: Dark of the Moon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["operating system"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"operating system\" . ?e_1 <platform> ?e . ?e_1 <pred:name> \"Transformers: Dark of the Moon\" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> \"Wii\" .   }", "answer": "1"}, {"question": "How many points did Spanish-speaking Israel achieve playing matches for Xerez C.D. ?", "choices": ["54", "1", "3", "61", "66", "60", "72", "27", "25", "21541"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spanish"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Xerez C.D."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Israel\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"Spanish\" . ?e_2 <pred:name> \"Xerez C.D.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "3"}, {"question": "Which has the fewest seasons among the animated series that received a Primetime Emmy Award for Outstanding Animated Program?", "choices": ["The Cleveland Show", "The Simpsons", "King of the Hill", "Futurama", "American Dad!", "Robot Chicken", "Tiny Toon Adventures", "Aladdin", "South Park", "Batman Beyond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Animated Program"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Animated Program\" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Futurama"}, {"question": "Which has a smaller percentage of area that is water, New Hampshire or Delaware?", "choices": ["Colorado", "Florida", "New Jersey", "Massachusetts", "California", "Iowa", "New Hampshire", "New Mexico", "Delaware", "Hawaii"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Hampshire"]}, {"function": "Find", "dependencies": [], "inputs": ["Delaware"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["water as percent of area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New Hampshire\" .  } UNION { ?e <pred:name> \"Delaware\" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New Hampshire"}, {"question": "What is the FIPS 6-4 (US counties) of the Michigan county with the offical website of http://www.co.marquette.mi.us?", "choices": ["26103", "49053", "39003", "36091", "10003", "12011", "17135", "39113", "39049", "48245"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.marquette.mi.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.marquette.mi.us\" . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "26103"}, {"question": "Which has the smallest percent of water area among the U.S. states that are located in the Central Time Zone?", "choices": ["Tennessee", "Louisiana", "South Dakota", "Indiana", "Mississippi", "Kansas", "Wisconsin", "Illinois", "Michigan", "Iowa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Central Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["water as percent of area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Central Time Zone\" .  ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kansas"}, {"question": "ol is the Giphy username of which association football club?", "choices": ["Rio Ave F.C.", "Karlsruher SC", "Middlesbrough F.C.", "Olympique Lyonnais", "Philadelphia Union", "West Ham United F.C.", "Zamalek SC", "Stade Brestois 29", "Brisbane Roar FC", "F.K. Partizan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "ol"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"ol\" .  }", "answer": "Olympique Lyonnais"}, {"question": "How many anime TV series were released pre-2004?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2004", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2004 ) .  }", "answer": "7"}, {"question": "Where was the film that included Tsui Hark in its cast published on 1996-12-27?", "choices": ["Portugal", "Sorrento", "Romania", "New York City", "Los Angeles", "2008 Toronto International Film Festival", "United States of America", "Hungary", "Davao City", "France"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tsui Hark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1996-12-27", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tsui Hark\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1996-12-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Portugal"}, {"question": "What is the scope of a statement that Maya Rudolph performed in Wonder Woman (the one that works as a diplomat) ?", "choices": ["Jonah Hex", "Elektra", "The Incredible Hulk", "Shrek the Third", "The Dark Knight Rises", "Catwoman", "Iron Man 3", "Spider-Man", "Saturday Night Live", "Giuseppe Verdi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["diplomat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Maya Rudolph"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["performer", "of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Wonder Woman\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"diplomat\" . ?e_2 <pred:name> \"Maya Rudolph\" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <of> ?qpv .  }", "answer": "Saturday Night Live"}, {"question": "Does Wynton Marsalis' brother or sister go by the Twitter handle bmarsalis ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wynton Marsalis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sibling", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["bmarsalis"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <sibling> ?e . ?e_1 <pred:name> \"Wynton Marsalis\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"bmarsalis\" .  }", "answer": "yes"}, {"question": "How many Primetime Emmy Award annual ceremonies either started after 2007 or had the edition number of 61?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2007", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "61"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award annual ceremony\" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2007 ) .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> \"61\" .  } }", "answer": "2"}, {"question": "Jonathan Rhys Meyers was cast in what role on Alexander, clocking in at 175 minutes?", "choices": ["Buck Barrow", "Raoul Duke", "Saavik", "Pascal", "Professor X", "Cassander", "Anton Chigurh", "John Jonah Jameson", "Justin Hammer", "Jimmy McNulty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexander"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "175 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jonathan Rhys Meyers"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alexander\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"175\"^^xsd:double . ?e_2 <pred:name> \"Jonathan Rhys Meyers\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Cassander"}, {"question": "How many Golden Globe Awards precede the 69th Golden Globes or take place post-2002?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["69th Golden Globe Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Globe Award ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2002", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Golden Globe Award ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Globe Award ceremony\" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"69th Golden Globe Awards\" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2002 ) .  } }", "answer": "7"}, {"question": "Does the film titled Kiss of the Spider Woman, have its publication date in 1985?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Kiss of the Spider Woman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1985", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Kiss of the Spider Woman\" . ?e <publication_date> ?pv . ?pv <pred:year> 1985 .  }", "answer": "yes"}, {"question": "Does Centre County or Dauphin County take up a smaller area?", "choices": ["Lehigh County", "Bucks County", "Centre County", "Cumberland County", "Allegheny County", "Dauphin County", "Fayette County", "York County", "Franklin County", "Westmoreland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Centre County"]}, {"function": "Find", "dependencies": [], "inputs": ["Dauphin County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Centre County\" .  } UNION { ?e <pred:name> \"Dauphin County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dauphin County"}, {"question": "Which area is larger, Flathead County or Limburg (the one whose ISO 3166-2 code is BE-VLI)?", "choices": ["Lee County", "Orange County", "Kent County", "Washoe County", "Flathead County", "San Juan County", "Delaware County", "Greene County", "Cass County", "Limburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flathead County"]}, {"function": "Find", "dependencies": [], "inputs": ["Limburg"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISO 3166-2 code", "BE-VLI"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flathead County\" . } UNION { ?e <pred:name> \"Limburg\" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> \"BE-VLI\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Flathead County"}, {"question": "Who is the person, citizen of the USA, whose Instagram username is mrblake ?", "choices": ["Draco Rosa", "Richard Gere", "Dan Curtis", "Max Fleischer", "Sylvester Stallone", "Julieta Venegas", "Tom Brady", "William Henry Harrison", "Gene Simmons", "Shaquille O'Neal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "mrblake"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"mrblake\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  }", "answer": "Draco Rosa"}, {"question": "Does Iowa City or Oklahoma City have the higher elevation relative to sea level?", "choices": ["Waukegan", "Iowa City", "Lansing", "Boulder", "Columbus", "Compton", "Franklin", "Oklahoma City", "Oakland", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iowa City"]}, {"function": "Find", "dependencies": [], "inputs": ["Oklahoma City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iowa City\" .  } UNION { ?e <pred:name> \"Oklahoma City\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oklahoma City"}, {"question": "Is the page count lower for The Spy Who Loved Me, set in the Adirondack Mountains, or the novel The Help?", "choices": ["Contact", "The Help", "Starship Troopers", "The Spy Who Loved Me", "listed building in the United Kingdom", "The Painted Veil", "Interview with the Vampire", "A Single Man", "The Hours", "The Maltese Falcon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adirondack Mountains"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Spy Who Loved Me"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["novel"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Help"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of pages", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Spy Who Loved Me\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Adirondack Mountains\" .   } UNION { ?e <pred:name> \"The Help\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"novel\" .  } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Spy Who Loved Me"}, {"question": "What is the connection between The Three Musketeers (the one that has Chris O'Donnell as a cast member) to Austria?", "choices": ["godparent", "licensed to broadcast to", "location of discovery", "software engine", "fabrication method", "place of publication", "country of origin", "has quality", "has effect", "instrumentation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris O'Donnell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Three Musketeers\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Chris O'Donnell\" . ?e_2 <pred:name> \"Austria\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "When did the administrative territorial entity with FIPS 6-4 (US counties) code 44007 have a population size of 633473?", "choices": ["1870-12-01", "1833-01-01", "2017-11-20", "1974-02-28", "2240", "1820", "2015-06-04", "2015-01-01", "1828", "1870"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "44007"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "633473", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"44007\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"633473\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Amitabh Bachchan studied at the university affiliated with which college?", "choices": ["Harvard College", "St. Stephen's College", "Denison University", "Morehouse College", "Trinity College", "University College Dublin", "Barnard College", "Royal Holloway, University of London", "Colorado College", "Santa Monica College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amitabh Bachchan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "Relate", "dependencies": [2], "inputs": ["affiliation", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["college"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <affiliation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"university\" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> \"Amitabh Bachchan\" .   }", "answer": "St. Stephen's College"}, {"question": "Is the publication date before 1974 for the entertainment whose review score is 37.50%?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["review score", "37.50%"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1974", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <review_score> ?pv_1 . ?pv_1 <pred:value> \"37.50%\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1974 ) .  }", "answer": "no"}, {"question": "What is the country calling code of the United States city that is the death place of the United States of America's Robert Taylor and has a local dialing code of 713?", "choices": ["+226", "+850", "+220", "+61", "+218", "+998", "+266", "+1", "+378", "+1671"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["local dialing code", "713", "country calling code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Robert Taylor\" . ?e_1 <country_for_sport> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"713\" . [ <pred:fact_h> ?e ; <pred:fact_r> <local_dialing_code> ; <pred:fact_t> ?pv ] <country_calling_code> ?qpv .  }", "answer": "+1"}, {"question": "What does Robert Palmer (whose CANTIC-ID is a11036199) have to do with musician?", "choices": ["costume designer", "interests", "native language", "religious order", "business division", "model item", "occupation", "connects with", "draft pick from school", "heritage designation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Palmer"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11036199"]}, {"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Palmer\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11036199\" . ?e_2 <pred:name> \"musician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is the dissolution date not in the year 2010 for the association football club that has Cesar Romero (who is a member of FC Pyunik) as a member until the ending date in 2014", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Pyunik"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cesar Romero"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["end time", "2014", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [7], "inputs": ["2010", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Cesar Romero\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"FC Pyunik\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2014 . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2010 ) .  }", "answer": "yes"}, {"question": "Which visual artwork is based on the written work whose native label is Live and Let Die?", "choices": ["Sherlock Holmes", "Please Give", "Carrie", "A Prairie Home Companion", "The Man with the Golden Gun", "Rebecca", "Water", "Scarlett", "Midnight's Children", "Live and Let Die"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Live and Let Die"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "Relate", "dependencies": [2], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"written work\" . ?e_1 <native_label> ?pv_1 . ?pv_1 <pred:value> \"Live and Let Die\" .   }", "answer": "Live and Let Die"}, {"question": "Was the army with the native label Deutsches Heer hello begun in a year excluding 1990 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Deutsches Heer hello"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["army"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1990", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"army\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Deutsches Heer hello\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1990 ) .  }", "answer": "yes"}, {"question": "Which has fewer episodes, General Hospital or Thirtysomething?", "choices": ["Saturday Night's Main Event", "Thirtysomething", "Six Feet Under", "Robot Chicken", "General Hospital", "Game of Thrones", "Bleak House", "Seinfeld", "American Horror Story", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Hospital"]}, {"function": "Find", "dependencies": [], "inputs": ["Thirtysomething"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"General Hospital\" .  } UNION { ?e <pred:name> \"Thirtysomething\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Thirtysomething"}, {"question": "When did the headquarters city of Calcio Catania have a population of 315,576?", "choices": ["1996-07-03", "-1000", "2015-10-31", "2016-07-09", "2008-10-08", "2013", "1963", "1924", "1943", "1786-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calcio Catania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "315576", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Calcio Catania\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"315576\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "How many hip hop music originated from the United States of America or created after 1980?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hip hop music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1980", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hip hop music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1980 ) .  } }", "answer": "12"}, {"question": "What is the connection between Epic Movie to Carmen Electra?", "choices": ["librettist", "cast member", "appears in the form of", "season starts", "located on terrain feature", "edition or translation of", "has edition", "main subject", "separated from", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Epic Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["Carmen Electra"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Epic Movie\" . ?e_2 <pred:name> \"Carmen Electra\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the PermID of a TV production company, whose official website, in English language, is  http://www.tribunemedia.com/ ?", "choices": ["4295904946", "4295904482", "4295903136", "5000318556", "4295905573", "4295899948", "5035902193", "4295905129", "5000392817", "5000352785"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tribunemedia.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["TV production company"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["PermID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"TV production company\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tribunemedia.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <PermID> ?pv .  }", "answer": "4295905129"}, {"question": "What is the time period that 9.4 percent is the inflation rate of the sovereign state whose life expectancy is 70.976 years?", "choices": ["2017-01-05", "2008-02-24", "1800", "2015-11-30", "1870", "2016-01-15", "2001-01-01", "2014-12-03", "2008-01-01", "1912-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "70.976 year", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inflation rate", "9.4 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> \"70.976\"^^xsd:double . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"9.4\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2008-01-01"}, {"question": "What is the language associated with this creative work at the official website of http://www.eriecounty.oh.gov,  for the Ohio county that has Sandusky as the capital?", "choices": ["Azerbaijani", "Putonghua", "Valencian", "Japanese", "Spanish", "Australian English", "Latin", "Polish", "Finnish", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sandusky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.eriecounty.oh.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Sandusky\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.eriecounty.oh.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which is shorter, the biographical film The Sound of Music, or Brazil, which was nominated for an Academy Award for Best Writing, Original Screenplay?", "choices": ["Training Day", "Talk to Her", "Brazil", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Sound of Music", "The Towering Inferno", "The Fifth Element", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["biographical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sound of Music"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Sound of Music\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"biographical film\" .   } UNION { ?e <pred:name> \"Brazil\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brazil"}, {"question": "Which person produced the movie Yuma?", "choices": ["Drew Barrymore", "Sylvester Stallone", "Jimmy Van Heusen", "Max Fleischer", "Adam Smith", "Aaron Spelling", "Mike Nichols", "Mel Gibson", "Ridley Scott", "David Arnold"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Yuma"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Yuma\" .   }", "answer": "Aaron Spelling"}, {"question": "Is Quadrophenia or The Alamo (nominated for Academy Award for Best Original Score) longer in duration?", "choices": ["Talk to Her", "Pleasantville", "Training Day", "Curse of the Golden Flower", "A Prairie Home Companion", "The Towering Inferno", "The Hunchback of Notre Dame", "Quadrophenia", "The Alamo", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quadrophenia"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Quadrophenia"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Alamo"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quadrophenia\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Quadrophenia\" . } UNION { ?e <pred:name> \"The Alamo\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Original Score\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Alamo"}, {"question": "Among the miniseries with official website http://alt.tnt.tv/itw/ which one has largest duration ?", "choices": ["The Diary of Anne Frank", "The Stand", "Battlestar Galactica", "George Washington", "The Civil War", "Into the West", "Edge of Darkness", "Roots", "The Pacific", "The Ten Commandments"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://alt.tnt.tv/itw/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://alt.tnt.tv/itw/\" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Into the West"}, {"question": "When did the person die that has ISNI 0000 0000 2016 7351?", "choices": ["2013-04-08", "1962-04-10", "1879-04-12", "1968-04-04", "1949-09-22", "1321-09-14", "1688-03-26", "1964-04-05", "1993-10-31", "0430-08-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 2016 7351"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 2016 7351\" . ?e <date_of_death> ?pv .  }", "answer": "1879-04-12"}, {"question": "When did the first Summer Olympic Games end?", "choices": ["1945-05-04", "1944", "1814-04-10", "1983-03-23", "1815-11-20", "1896-04-15", "2014-08-24", "1908-01-01", "1989-02-17", "1992-03-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"1\" . ?e <end_time> ?pv .  }", "answer": "1896-04-15"}, {"question": "Are the zip codes of Texarkana 91040\u201391043 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Texarkana"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["91040\u201391043"]}], "sparql": "ASK { ?e <pred:name> \"Texarkana\" . ?e <postal_code> ?pv . ?pv <pred:value> \"91040\u201391043\" .  }", "answer": "no"}, {"question": "Does the person with a date of birth of 1979-01-07 have an Instagram name of boman_irani?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1979-01-07", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["boman_irani"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1979-01-07\"^^xsd:date . ?e <Instagram_username> ?pv . ?pv <pred:value> \"boman_irani\" .  }", "answer": "no"}, {"question": "What is the number of Summer Olympic Games that were officially opened by Elizabeth II or have a date of occurrence prior to 1900?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth II"]}, {"function": "Relate", "dependencies": [0], "inputs": ["officially opened by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "1900", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Summer Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" .  { ?e <officially_opened_by> ?e_1 . ?e_1 <pred:name> \"Elizabeth II\" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1900 ) .  } }", "answer": "3"}, {"question": "Which newscast whose number of seasons is less than 25 has the lowest episode count?", "choices": ["Android", "Western Desert Campaign", "Today", "The Daily Show", "FreeBSD", "Second Intifada", "The Colbert Report", "manufacturing", "Napoleonic Wars", "Orange"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "25", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"25\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Colbert Report"}, {"question": "Is Paul Thomas Mann the birth name of the father of Miley Cyrus?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miley Cyrus"]}, {"function": "Relate", "dependencies": [0], "inputs": ["father", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Paul Thomas Mann"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <father> ?e . ?e_1 <pred:name> \"Miley Cyrus\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Paul Thomas Mann\" .  }", "answer": "no"}, {"question": "Does the Organisation for Economic Co-operation and Development or the Council of Europe have a higher membership number?", "choices": ["E. W. Scripps Company", "Academy of Television Arts & Sciences", "BBC", "Organisation for Economic Co-operation and Development", "United States Department of the Air Force", "Vigor Shipyards", "McDonald's", "Council of Europe", "Hamburger SV", "NBCUniversal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Organisation for Economic Co-operation and Development"]}, {"function": "Find", "dependencies": [], "inputs": ["Council of Europe"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["member count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Organisation for Economic Co-operation and Development\" .  } UNION { ?e <pred:name> \"Council of Europe\" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Council of Europe"}, {"question": "Which cast member of The Day After Tomorrow is denoted by Munzinger IBA 00000020780?", "choices": ["Simon Cowell", "Dennis Quaid", "Sylvester Stallone", "David Byrne", "William Henry Harrison", "Richard Gere", "Ian Holm", "Rahul Dev Burman", "James E. Reilly", "Jake Gyllenhaal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Day After Tomorrow"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Munzinger IBA", "00000020780"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Day After Tomorrow\" .  ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020780\" .  }", "answer": "Dennis Quaid"}, {"question": "Which person is assigned ISNI 0000 0000 6581 8680?", "choices": ["William Henry Harrison", "Sylvester Stallone", "Michel Legrand", "Max Fleischer", "Sean Hayes", "Manoj Kumar", "Ron Carter", "Richard Gere", "LeAnn Rimes", "Michael Lerner"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6581 8680"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6581 8680\" .  }", "answer": "Manoj Kumar"}, {"question": "How many musical compositions do we know whose ISWC is T-010.163.293-2 or whose title is Wuthering Heights  ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISWC", "T-010.163.293-2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical composition"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Wuthering Heights"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical composition"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical composition\" .  { ?e <ISWC> ?pv . ?pv <pred:value> \"T-010.163.293-2\" .  } UNION { ?e <title> ?pv . ?pv <pred:value> \"Wuthering Heights\" .  } }", "answer": "2"}, {"question": "When did Hugo (the one that is a member of Esporte Clube Bahia) become a member of Esporte Clube Bahia?", "choices": ["2002-08-01", "1987-11-21", "697", "1991-12-16", "2014-01-01", "2002-01-10", "2004-01-01", "1992-09-21", "1950-06-25", "2011-08-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Esporte Clube Bahia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hugo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Esporte Clube Bahia"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hugo\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Esporte Clube Bahia\" . ?e_2 <pred:name> \"Esporte Clube Bahia\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What character did Milla Jovovich play in The Thress Musketeers, which was released in the Czech Republic?", "choices": ["L\u00e1szl\u00f3 Alm\u00e1sy", "David Lightman", "Milady de Winter", "Mr. Potter", "Louis C. Fraina", "Margaret Thatcher", "Dario", "Gretchen Wieners", "Benji Dunn", "Roxanne Simpson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Czech Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Milla Jovovich"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Three Musketeers\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Czech Republic\" . ?e_2 <pred:name> \"Milla Jovovich\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Milady de Winter"}, {"question": "Is the official website, for the person who is the composer for Even Cowgirls Get the Blues, https://www.spd.de/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Even Cowgirls Get the Blues"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["https://www.spd.de/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Even Cowgirls Get the Blues\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.spd.de/\" .  }", "answer": "no"}, {"question": "What is the connection between Satish Kaushik to University of Delhi?", "choices": ["occupation", "based on", "educated at", "fabrication method", "designated as terrorist by", "original film format", "film crew member", "tributary", "replaced by", "has cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satish Kaushik"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Delhi"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Satish Kaushik\" . ?e_2 <pred:name> \"University of Delhi\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "John Krasinski died in how many London areas?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Krasinski"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["area of London"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"John Krasinski\" .   }", "answer": "0"}, {"question": "How is Stephen Rea related to Belfast?", "choices": ["notable people with this condition", "influenced by", "has contributing factor", "official religion", "place of birth", "applies to jurisdiction", "native language", "nutrient", "doctoral student", "depicted by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Rea"]}, {"function": "Find", "dependencies": [], "inputs": ["Belfast"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stephen Rea\" . ?e_2 <pred:name> \"Belfast\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What Academy Awards was followed by the 44th Academy Awards and has the edition number of 43?", "choices": ["43rd Academy Awards", "29th Academy Awards", "72nd Academy Awards", "81st Academy Awards", "35th Academy Awards", "60th Academy Awards", "38th Academy Awards", "25th Academy Awards", "64th Academy Awards", "51st Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["44th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "43"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"44th Academy Awards\" .  ?e <edition_number> ?pv . ?pv <pred:value> \"43\" .  }", "answer": "43rd Academy Awards"}, {"question": "How is S. Epatha Merkerson connected to United States of America?", "choices": ["color", "country of citizenship", "item operated", "set in period", "followed by", "candidate", "characters", "has edition", "occupation", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S. Epatha Merkerson"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"S. Epatha Merkerson\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the link between Satish Shah and Indian people?", "choices": ["professional or sports partner", "director", "killed by", "permanent resident of", "drug used for treatment", "discoverer or inventor", "sex or gender", "ethnic group", "manufacturer", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satish Shah"]}, {"function": "Find", "dependencies": [], "inputs": ["Indian people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Satish Shah\" . ?e_2 <pred:name> \"Indian people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which administrative territorial entity shares a border with Rockingham County (which shares a border with Merrimack County) and contains the administrative division Concord (whose above sea level elevation is 88 metres)?", "choices": ["Kent County", "Washoe County", "Hillsborough County", "African Union", "Delaware County", "Lee County", "Merrimack County", "Greene County", "San Juan County", "Cass County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merrimack County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rockingham County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "Find", "dependencies": [], "inputs": ["Concord"]}, {"function": "FilterNum", "dependencies": [6], "inputs": ["elevation above sea level", "88 metre", "="]}, {"function": "Relate", "dependencies": [7], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["administrative territorial entity"]}, {"function": "And", "dependencies": [5, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Rockingham County\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Merrimack County\" .  ?e <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Concord\" . ?e_3 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"88\"^^xsd:double .  }", "answer": "Merrimack County"}, {"question": "When was David Byrne (the one that is a member of G.D. Estoril Praia) born?", "choices": ["1946-10-19", "1969-11-25", "1953-10-15", "1970-04-29", "1969-05-14", "1907-09-27", "1972-07-29", "1940-05-05", "1880", "1960-01-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["G.D. Estoril Praia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"David Byrne\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"G.D. Estoril Praia\" .  ?e <date_of_birth> ?pv .  }", "answer": "1960-01-11"}, {"question": "What is the subject of The Aviator (whose cost is 110000000 United States dollars) receiving an Academy Award for Best Film Editing?", "choices": ["77th Academy Awards", "Bangladesh\u2013Thailand relations", "Bangladesh\u2013Russia relations", "Kenya\u2013South Sudan border", "Germany\u2013Andorra relations", "Belarus\u2013Slovakia relations", "Iran\u2013Turkey border", "Massachusetts\u2013New Hampshire border", "Argentina\u2013Canada relations", "62nd Tony Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Aviator"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "110000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Aviator\" . ?e_1 <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"110000000\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Film Editing\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "77th Academy Awards"}, {"question": "Which agent owns General Dynamics Electric Boat?", "choices": ["Marvel Entertainment", "Sega", "Hearst", "New Zealand national cricket team", "McDonald's", "Goldman Sachs", "Pfizer", "General Dynamics", "Silver Pictures", "Viacom"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Dynamics Electric Boat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owned by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <owned_by> ?e . ?e_1 <pred:name> \"General Dynamics Electric Boat\" .   }", "answer": "General Dynamics"}, {"question": "What is the title of Rogue (whose duration is 89 minutes)?", "choices": ["He's Just Not That into You", "The Proposition", "\u6ee1\u57ce\u5c3d\u5e26\u9ec4\u91d1\u7532", "Lady in the Water", "Rogue", "1947: Earth", "Battleship", "Scream 4", "Fiddler on the Roof", "Die Another Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rogue"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "89 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rogue\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"89\"^^xsd:double . ?e <title> ?pv .  }", "answer": "Rogue"}, {"question": "At what point did the Finnish municipality with a numbering of 837 have a population count of 211507?", "choices": ["1908", "2013-02-01", "2004", "1945-01-01", "1942-01-01", "2009-12-31", "300", "1993-12-01", "2017-02-28", "2015-01-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Finnish municipality number", "837"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "211507", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <Finnish_municipality_number> ?pv_1 . ?pv_1 <pred:value> \"837\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"211507\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2009-12-31"}, {"question": "Gibraltar, demonym gibilterrine, is the capital of how many port cities?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gibraltar"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "gibilterrine"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["port city"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Gibraltar\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"gibilterrine\" .   }", "answer": "1"}, {"question": "What association football club's headquarters is located in the big city whose area is 210.34 square kilometers?", "choices": ["Stade Malherbe Caen", "San Jose Earthquakes", "Stade de Reims", "Racing de Santander", "SV Ried", "H.N.K. Hajduk Split", "Cercle Brugge K.S.V.", "Rot-Weiss Essen", "Stade Brestois 29", "Middlesbrough F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "210.34 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["association football club"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"big city\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"210.34\"^^xsd:double .   }", "answer": "Rot-Weiss Essen"}, {"question": "When did the big city whose licence plate code is HI have a population of 99979?", "choices": ["1874", "1717-01-01", "2000", "1776-07-04", "1944-01-01", "1996-02-18", "2011-08-01", "2009-03-01", "2014-12-31", "2013-08-08"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "HI"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "99979", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"HI\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"99979\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-12-31"}, {"question": "Which visual artwork corresponds to the English-language website www.sonyclassics.com/carnage?", "choices": ["Training Day", "Carnage", "Talk to Her", "Spider-Man 3", "A Prairie Home Companion", "The Towering Inferno", "The Fifth Element", "The Dark Knight Rises", "Pleasantville", "Pinocchio"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonyclassics.com/carnage"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonyclassics.com/carnage\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Carnage"}, {"question": "Contact, released in Croatia, was published in what location on 1997-07-11?", "choices": ["Australia", "Philippines", "Cannes", "Norway", "New Amsterdam Theatre", "Egypt", "Stockholm", "United States of America", "Hollywood", "Greece"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Contact"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1997-07-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Contact\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Croatia\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1997-07-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the connection between West Midlands (the one whose population is 5602000) to United Kingdom?", "choices": ["occupant", "source of income", "is a list of", "fabrication method", "has quality", "political ideology", "subject has role", "feast day", "located on astronomical location", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Midlands"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5602000", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"West Midlands\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"5602000\"^^xsd:double . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What i the area of the city of New York that is located in Warren County (the one that shares border with Saratoga County)?", "choices": ["151.4 square kilometre", "61.249403 square kilometre", "7400.43 square kilometre", "70.247084 square kilometre", "38394.0 square kilometre", "127.220892 square kilometre", "101.309132 square kilometre", "28.835907 square kilometre", "73.6 square kilometre", "10.331523 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saratoga County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of New York"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Warren County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Saratoga County\" .  ?e <area> ?pv .  }", "answer": "10.331523 square kilometre"}, {"question": "Of first-level administrative country subdivisions where the pound sterling is currency, which occupies the greatest area?", "choices": ["England", "Chiapas", "Minas Gerais", "Tasmania", "Upper Austria", "Lublin Voivodeship", "Greater Poland Voivodeship", "Northern Ireland", "Podlaskie Voivodeship", "New South Wales"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pound sterling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["currency", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <currency> ?e_1 . ?e_1 <pred:name> \"pound sterling\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "England"}, {"question": "For the university whose ISNI is 0000 0001 0462 7212, to what country does its official website of http://www.ncl.ac.uk/ belong?", "choices": ["New Zealand", "Slovakia", "Portugal", "Georgia", "People's Republic of China", "Italy", "Kingdom of Great Britain", "United Kingdom", "Russian Empire", "Finland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0462 7212"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.ncl.ac.uk/", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0462 7212\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ncl.ac.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Which video game has the official website http://moh.ea.com/?", "choices": ["Medal of Honor", "Harry Potter and the Goblet of Fire", "music video game", "G.I. Joe: The Rise of Cobra", "Guitar Hero II", "Harry Potter and the Half-Blood Prince", "Battleship", "Shrek Forever After", "The Fast and the Furious", "Batman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://moh.ea.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://moh.ea.com/\" .  }", "answer": "Medal of Honor"}, {"question": "When did Jefferson County (the one whose inception time is 1837) have a population of 252358?>", "choices": ["1875", "2015-04-01", "1861-12-03", "2013-07-01", "1984-04-09", "1999-04-01", "1981", "1910", "2005-08-17", "2018-07-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1837", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "252358", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jefferson County\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1837 . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"252358\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "Tell me the determination method of this value, Sri Lanka has the capital Colombo.", "choices": ["United Kingdom Census 2011", "Population registration in Sweden", "register office", "questionnaire", "tradition", "census", "Canada 2016 Census", "de jure", "administrative division valid at the time point of history to which the data relates", "de facto"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sri Lanka"]}, {"function": "Find", "dependencies": [], "inputs": ["Colombo"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["capital", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sri Lanka\" . ?e_2 <pred:name> \"Colombo\" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <determination_method> ?qpv .  }", "answer": "de facto"}, {"question": "How is Friedrich Hollaender related to German?", "choices": ["substitute/deputy/replacement of office/officeholder", "producer", "place of publication", "notable people with this condition", "languages spoken, written or signed", "official residence", "designated as terrorist by", "applies to jurisdiction", "found", "territory overlaps"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Friedrich Hollaender"]}, {"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Friedrich Hollaender\" . ?e_2 <pred:name> \"German\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How many rivers are in the country which is the state represented online at www.moldova.md?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.moldova.md/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["river"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.moldova.md/\" .   }", "answer": "1"}, {"question": "How many novels' publication date is after 1955 or last line is He was soon borne away by the waves, and lost in darkness and distance?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1955", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["novel"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["last line", "He was soon borne away by the waves, and lost in darkness and distance."]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["novel"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"novel\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1955 ) .  } UNION { ?e <last_line> ?pv . ?pv <pred:value> \"He was soon borne away by the waves, and lost in darkness and distance.\" .  } }", "answer": "3"}, {"question": "Tell me the one with the bigger area, Chapel Hill or Newton (which has an official website http://newtontownhall.com/)", "choices": ["Bedford", "Litchfield", "Westport", "Chapel Hill", "Uxbridge", "Newton", "Kensington", "Amherst", "Greenwich", "Brookline"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chapel Hill"]}, {"function": "Find", "dependencies": [], "inputs": ["Newton"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://newtontownhall.com/"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chapel Hill\" . } UNION { ?e <pred:name> \"Newton\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://newtontownhall.com/\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chapel Hill"}, {"question": "What geographic region with the M.49 code of 151 has Slovakia as a part?", "choices": ["Caribbean", "Antarctica", "Pacific Ocean", "Southern California", "Eastern Europe", "Lake District", "Transylvania", "Africa", "South America", "Atlantic Canada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["M.49 code", "151"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Find", "dependencies": [], "inputs": ["Slovakia"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <M.49_code> ?pv . ?pv <pred:value> \"151\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"Slovakia\" .  }", "answer": "Eastern Europe"}, {"question": "What television program is a component of the television series having the official website http://www.hbo.com/the-wire, with The Wire, season 2 as its predecessor?", "choices": ["The Wire, season 1", "The Larry Sanders Show", "Monster House", "The Wire, season 5", "Peter Pan", "Lost, season 3", "The Wire, season 3", "The Wire, season 4", "variety", "Cold War"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hbo.com/the-wire"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of the series", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["follows", "The Wire, season 2"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television program"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.hbo.com/the-wire\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <follows> ?qpv . ?qpv <pred:value> \"The Wire, season 2\" .  }", "answer": "The Wire, season 3"}, {"question": "What visual artwork is titled A Mighty Wind ?", "choices": ["Gone Baby Gone", "A Mighty Wind", "The Merry Widow", "Veronica Mars", "The Time Machine", "Android", "Away We Go", "A Prairie Home Companion", "Pleasantville", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "A Mighty Wind"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"A Mighty Wind\" .  }", "answer": "A Mighty Wind"}, {"question": "What language is associated with the official website http://www.mtsu.edu for the university whose Twitter username is mtsunews?", "choices": ["Belgian French", "Welsh", "English", "O'odham", "Xhosa", "Irish", "Eastern Armenian", "Lower Sorbian", "Lithuanian", "Bulgarian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "mtsunews"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.mtsu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"mtsunews\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mtsu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which movie has the exploitation visa number 109167?", "choices": ["Taxi", "Talk to Her", "Love Actually", "A Prairie Home Companion", "Pleasantville", "Rebecca", "A Great Day in Harlem", "The Last Airbender", "Miracle at St. Anna", "Hoffa"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "109167"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"109167\" .  }", "answer": "Love Actually"}, {"question": "Is the Giphy username of FX the same as fx?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FX"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Giphy username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["fx"]}], "sparql": "ASK { ?e <pred:name> \"FX\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"fx\" .  }", "answer": "yes"}, {"question": "Is the length of the film whose official website is http://www.theexpendables2film.com/ under 690 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theexpendables2film.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["690 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.theexpendables2film.com/\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"690\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which one, Stranger than Fiction or Missing (the one whose production company is PolyGram Filmed Entertainment), has greater duration?", "choices": ["The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno", "Pleasantville", "The Fifth Element", "A Prairie Home Companion", "Talk to Her", "Stranger than Fiction", "Rebecca", "Missing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stranger than Fiction"]}, {"function": "Find", "dependencies": [], "inputs": ["PolyGram Filmed Entertainment"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Missing"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stranger than Fiction\" .  } UNION { ?e <pred:name> \"Missing\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"PolyGram Filmed Entertainment\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Missing"}, {"question": "Which movie is longer, Barcelona (the one whose duration is 2396 second) or Bon Jovi (the one that uses the language English)?", "choices": ["Bon Jovi", "The B-52's", "Hollywood", "Flight of the Conchords", "Toni Braxton", "Barcelona", "American Beauty", "Luis Miguel", "Roots", "Kraftwerk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barcelona"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "2396 second", "="]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [2], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bon Jovi"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barcelona\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"second\" . ?pv_1 <pred:value> \"2396\"^^xsd:double . } UNION { ?e <pred:name> \"Bon Jovi\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Barcelona"}, {"question": "How does glam rock relate to Bon Jovi, famous for country rock ?", "choices": ["grants", "practiced by", "art director", "permanent resident of", "tributary", "designated as terrorist by", "continent", "located in the administrative territorial entity", "famous people", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["glam rock"]}, {"function": "Find", "dependencies": [], "inputs": ["country rock"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bon Jovi"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"glam rock\" . ?e_2 <pred:name> \"Bon Jovi\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"country rock\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "At what point in time is 2035210 the population of the California county that comprises Upland?", "choices": ["1190", "2003-09-01", "2010-04-01", "1858-01-01", "7", "1917-12-01", "2003-10-01", "1927", "1987-01-01", "1904-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "2035210", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Upland\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2035210\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "The television series that is shot in Wilmington (the one whose elevation above sea level is 9 meters) started before 2005?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wilmington"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "9 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2005", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Wilmington\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"9\"^^xsd:double . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }", "answer": "yes"}, {"question": "Was the inception time prior to 1981 for the Grammy Award that was nominated to Mick Jagger?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mick Jagger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Grammy Award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1981", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Grammy Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Mick Jagger\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  }", "answer": "yes"}, {"question": "Who is taller, Stan Lee (the one whose Twitter username is TheRealStanLee) or James Madison (the one whose ISNI is 0000 0001 0905 3051)?", "choices": ["Stan Lee", "Simon Cowell", "Paul Simon", "Sylvester Stallone", "William Henry Harrison", "James E. Reilly", "David Byrne", "Rahul Dev Burman", "Max Fleischer", "James Madison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stan Lee"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "TheRealStanLee"]}, {"function": "Find", "dependencies": [], "inputs": ["James Madison"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["ISNI", "0000 0001 0905 3051"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stan Lee\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"TheRealStanLee\" . } UNION { ?e <pred:name> \"James Madison\" . ?e <ISNI> ?pv_2 . ?pv_2 <pred:value> \"0000 0001 0905 3051\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Stan Lee"}, {"question": "Which movie is longer, The Hangover Part II or Alien: Resurrection?", "choices": ["Training Day", "The Fifth Element", "Rebecca", "Talk to Her", "The Hangover Part II", "The Hunchback of Notre Dame", "Alien: Resurrection", "Pleasantville", "Curse of the Golden Flower", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Hangover Part II"]}, {"function": "Find", "dependencies": [], "inputs": ["Alien: Resurrection"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Hangover Part II\" .  } UNION { ?e <pred:name> \"Alien: Resurrection\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Alien: Resurrection"}, {"question": "Who directed the movie titled Kiss?", "choices": ["Fred Williamson", "Ang Lee", "Wes Anderson", "Max Fleischer", "Craig Robinson", "Kevin O'Connell", "Richard Fleischer", "Richard Attenborough", "Andy Warhol", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Kiss"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> \"Kiss\" .   }", "answer": "Andy Warhol"}, {"question": "What is the connection between Nicole Richie to funk?", "choices": ["mother", "statistical leader", "public holiday", "allegiance", "collection", "political ideology", "genre", "exported to", "diplomatic relation", "found"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicole Richie"]}, {"function": "Find", "dependencies": [], "inputs": ["funk"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nicole Richie\" . ?e_2 <pred:name> \"funk\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What award's Alexa rank is higher than 35 as of the year 2018?", "choices": ["The New York Times Company", "NBCUniversal", "Primetime Emmy Award for Outstanding Animated Program", "Primetime Emmy Award for Outstanding Comedy Series", "Harland and Wolff", "Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie", "Primetime Emmy Award for Outstanding Writing for a Drama Series", "Primetime Emmy Award for Outstanding Writing for a Comedy Series", "The New York Times", "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Alexa rank", "35", ">"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2018", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <Alexa_rank> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"35\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <Alexa_rank> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2018 .  }", "answer": "Primetime Emmy Award for Outstanding Animated Program"}, {"question": "Is the movie titled Striptease less than 500 minutes long?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Striptease"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["500 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Striptease\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"500\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "When was South Korea's life expectancy 79.11951 years?", "choices": ["1833-09-19", "2007", "1994-10-25", "1937-05-23", "1909-01-01", "2010-07-01", "2016-12-22", "1870", "1964-04-13", "2011-06-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["life expectancy", "79.11951 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"South Korea\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"79.11951\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "Was Julie Gardner born after 1957?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julie Gardner"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1957", ">"]}], "sparql": "ASK { ?e <pred:name> \"Julie Gardner\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1957 ) .  }", "answer": "yes"}, {"question": "Which has more students, Eastern Michigan University or Knox College?", "choices": ["King's College London", "Presidency University", "McMaster University", "Knox College", "Eastern Michigan University", "McNeese State University", "Panjab University", "Pennsylvania State University", "University of Tehran", "University of Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Michigan University"]}, {"function": "Find", "dependencies": [], "inputs": ["Knox College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eastern Michigan University\" .  } UNION { ?e <pred:name> \"Knox College\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eastern Michigan University"}, {"question": "What city is officially named Panam\u00e1?", "choices": ["Kilkenny", "Trieste", "Dhaka", "Erfurt", "Madrid", "Kingston", "Plovdiv", "Panama City", "Liverpool", "Sherbrooke"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Panam\u00e1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_name> ?pv . ?pv <pred:value> \"Panam\u00e1\" .  }", "answer": "Panama City"}, {"question": "Which has a greater duration, Cape Fear (whose genre is film based on literature) or Speed (whose composer is Pritam Chakraborty)?", "choices": ["Rebecca", "Training Day", "Curse of the Golden Flower", "Cape Fear", "Pleasantville", "The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "A Prairie Home Companion", "Speed"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cape Fear"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pritam Chakraborty"]}, {"function": "Relate", "dependencies": [4], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Speed"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cape Fear\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"film based on literature\" .   } UNION { ?e <pred:name> \"Speed\" . ?e <composer> ?e_2 . ?e_2 <pred:name> \"Pritam Chakraborty\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Speed"}, {"question": "When was T-Pain born?", "choices": ["1967-04-18", "1849-08-07", "1931-10-04", "1986-11-05", "1960-01-01", "1985-09-30", "1957-02-01", "1961-04-26", "1953-11-12", "1958-03-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["T-Pain"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"T-Pain\" . ?e <date_of_birth> ?pv .  }", "answer": "1985-09-30"}, {"question": "How many subscribers are there for the Twitter username SrBachchan belonging to the person whose ISNI is 0000 0001 0991 9716?", "choices": ["18415127", "10118", "441861", "60901", "29669", "251180", "34351491", "71517", "38507", "921525"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0991 9716"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "SrBachchan", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0991 9716\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SrBachchan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "34351491"}, {"question": "What is the connection between Solomon Islands to Oceania?", "choices": ["properties for this type", "highest judicial authority", "original network", "continent", "set in period", "instrument", "replaces", "league", "operating system", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Solomon Islands"]}, {"function": "Find", "dependencies": [], "inputs": ["Oceania"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Solomon Islands\" . ?e_2 <pred:name> \"Oceania\" . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "What is the date of birth for the human whose ISNI is 0000 0000 7978 5832?", "choices": ["1927-05-13", "1939-05-25", "1974-01-30", "1939-07-02", "1961-06-25", "1964-06-15", "1973-05-17", "1874-09-13", "1948-07-08", "1797-08-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7978 5832"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7978 5832\" . ?e <date_of_birth> ?pv .  }", "answer": "1961-06-25"}, {"question": "Regarding the organization that has airline callsign is CLIPPER, when is the work period (end)", "choices": ["1991", "1950", "2001", "1977", "2009", "2006", "1962", "2019", "2016", "2013"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["callsign of airline", "CLIPPER"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (end)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <callsign_of_airline> ?pv_1 . ?pv_1 <pred:value> \"CLIPPER\" . ?e <work_period_(end)> ?pv .  }", "answer": "1991"}, {"question": "What is the series ordinal for Tarzan (the one that has Glenn Close as a voice actor) which has Jason Marsden as a voice actor?", "choices": ["13", "27", "1", "32", "33", "43", "42", "114", "53", "29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Glenn Close"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jason Marsden"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tarzan\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Glenn Close\" . ?e_2 <pred:name> \"Jason Marsden\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "53"}, {"question": "Which has more episodes, Minority Report that has 1 season or Project Runway?", "choices": ["Game of Thrones", "American Horror Story", "Minority Report", "Project Runway", "Dancing with the Stars", "Saturday Night's Main Event", "Bleak House", "Six Feet Under", "Robot Chicken", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minority Report"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "1", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Project Runway"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Minority Report\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } UNION { ?e <pred:name> \"Project Runway\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Project Runway"}, {"question": "When did Michael Jackson (who has the occupation of film director) become the copyright representative of The Beatles (who were influenced by Chuck Berry)?", "choices": ["1917-12-06", "1929-06-03", "1956-03-23", "2009-05-15", "1985", "1984-11-26", "1955-04-04", "1849", "1974-04-01", "1873"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chuck Berry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Beatles"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["copyright representative", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Beatles\" . ?e_1 <influenced_by> ?e_3 . ?e_3 <pred:name> \"Chuck Berry\" . ?e_2 <pred:name> \"Michael Jackson\" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> \"film director\" . ?e_1 <copyright_representative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <copyright_representative> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1985"}, {"question": "Who is the person with ISNI 0000 0001 2121 0750?", "choices": ["Max Fleischer", "Etta James", "William Hurt", "Van Heflin", "William Henry Harrison", "Tom Werner", "Richard Gere", "Nancy", "Paul Haggis", "Jenna Bush Hager"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2121 0750"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2121 0750\" .  }", "answer": "Van Heflin"}, {"question": "How is the Colorado originating in the USA titled?", "choices": ["Anastasia", "Mrs. Parker and the Vicious Circle", "The Time Machine", "Jimi Hendrix", "Colorado", "The Adventures of Priscilla, Queen of the Desert", "Cobra", "Raging Bull", "Hearts and Minds", "30 Days of Night"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Colorado"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Colorado\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <title> ?pv .  }", "answer": "Colorado"}, {"question": "What sovereign state has Tuvalu as the country, with the nominal GDP of 38,711,827.7537311 USD ?", "choices": ["Socialist Federal Republic of Yugoslavia", "Ivory Coast", "Kiribati", "Cambodia", "Comoros", "Switzerland", "Weimar Republic", "Russian Soviet Federative Socialist Republic", "Tuvalu", "Tuvalu national football team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuvalu"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "38711827.7537311 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Tuvalu\" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"38711827.7537311\"^^xsd:double .   }", "answer": "Tuvalu"}, {"question": "Was the movie Seven Brides for Seven Brothers not published in 1993?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Seven Brides for Seven Brothers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1993", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Seven Brides for Seven Brothers\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1993 ) .  }", "answer": "yes"}, {"question": "How many prefectures of Japan are the twinned administrative body of the death place city of David Carradine?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Carradine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["prefecture of Japan"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"David Carradine\" .   }", "answer": "2"}, {"question": "Which university's official website is http://www.jmu.edu/?", "choices": ["Peking University", "Imperial College London", "University of Manchester", "James Madison University", "University of Bonn", "Pennsylvania State University", "Missouri State University", "Moscow State University", "San Diego State University", "Eastern Kentucky University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jmu.edu/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.jmu.edu/\" .  }", "answer": "James Madison University"}, {"question": "Who died in the city of United States that is located in Madison County  whose population is 269282?", "choices": ["William Henry Harrison", "Tony Leung", "Samuel Vincent", "Max Fleischer", "Charles Boyer", "Joan of Arc", "Richard Gere", "John Stephenson", "Sylvester Stallone", "Robert Smith"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "269282", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Madison County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"269282\"^^xsd:double .   }", "answer": "Robert Smith"}, {"question": "What song's genre is vocal jazz?", "choices": ["Savages", "Lena Horne", "Adelaide", "Billie Holiday", "Skyfall", "Albuquerque", "Alien", "Alabama", "Pocahontas", "Chicago"], "program": [{"function": "Find", "dependencies": [], "inputs": ["vocal jazz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["song"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"song\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"vocal jazz\" .   }", "answer": "Chicago"}, {"question": "What is the character role of David Bowie (the one whose Twitter username is DavidBowieReal) in The Prestige?", "choices": ["Kim Fowley", "Robert Clayton Dean", "Khal Drogo", "Aragorn", "Aslan", "Griffin", "Nikola Tesla", "Russell Billiu Long", "Irina Spalko", "Sephiroth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Prestige"]}, {"function": "Find", "dependencies": [], "inputs": ["David Bowie"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Twitter username", "DavidBowieReal"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Prestige\" . ?e_2 <pred:name> \"David Bowie\" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> \"DavidBowieReal\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Nikola Tesla"}, {"question": "Is the title of the 96 minute Ronaldo equal to A Bug's Life?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ronaldo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "96 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["A Bug's Life"]}], "sparql": "ASK { ?e <pred:name> \"Ronaldo\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"96\"^^xsd:double . ?e <title> ?pv . ?pv <pred:value> \"A Bug's Life\" .  }", "answer": "no"}, {"question": "Which has higher elevation above sea level, Gotha (the one whose area is 936.08 square kilometre) or West Chester?", "choices": ["West Chester", "Gotha", "Kent County", "Lee County", "San Juan County", "Washoe County", "African Union", "Delaware County", "Greene County", "Cass County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gotha"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "936.08 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["West Chester"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gotha\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"936.08\"^^xsd:double . } UNION { ?e <pred:name> \"West Chester\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gotha"}, {"question": "Which visual artwork was first broadcast on the TV network with the official website au.tv.yahoo.com?", "choices": ["The Goodbye Girl", "Gaslight", "The Poseidon Adventure", "Neighbours", "Jackie Robinson", "The Three Musketeers", "Shackleton", "Gangs of New York", "Dressed to Kill", "Walt Disney"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://au.tv.yahoo.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television network"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <original_network> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television network\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://au.tv.yahoo.com/\" .   }", "answer": "The Poseidon Adventure"}, {"question": "How many German states are under 1900 meters in elevation?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "1900 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1900\"^^xsd:double ) .  }", "answer": "12"}, {"question": "How is Brave released for macOS related to Disney Interactive Studios?", "choices": ["spouse", "director of photography", "geographic distribution", "symptoms", "appears in the form of", "chairperson", "location of final assembly", "located on terrain feature", "this taxon is source of", "publisher"], "program": [{"function": "Find", "dependencies": [], "inputs": ["macOS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brave"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Disney Interactive Studios"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brave\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"macOS\" . ?e_2 <pred:name> \"Disney Interactive Studios\" . ?e_1 ?p ?e_2 .  }", "answer": "publisher"}, {"question": "What agent has David Simon as the chief executive officer ?", "choices": ["Sega", "McDonald's", "Yahoo", "NATO", "KLM", "AOL", "United States Senate", "Pfizer", "Simon Property Group", "National Aeronautics and Space Administration"], "program": [{"function": "Find", "dependencies": [], "inputs": ["chief executive officer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Simon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["chief executive officer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["agent"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <chief_executive_officer> ?e_1 . ?e_1 <pred:name> \"David Simon\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"chief executive officer\" .   }", "answer": "Simon Property Group"}, {"question": "Was the person who works as cancer born after 1894?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cancer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1894", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"cancer\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1894 ) .  }", "answer": "yes"}, {"question": "How are Maroon 5 and the 2005 Grammy Awards linked?", "choices": ["Wikidata property", "cast member", "has edition", "chief executive officer", "member of sports team", "uses", "award received", "voice actor", "significant person", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maroon 5"]}, {"function": "Find", "dependencies": [], "inputs": ["2005 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Maroon 5\" . ?e_2 <pred:name> \"2005 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What does Antwone Fisher (which has Malcolm David Kelley as a cast member) have to do with Philippe Rousselot?", "choices": ["worshipped by", "eye color", "language used", "official color", "characters", "home venue", "captain", "director of photography", "head coach", "political alignment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malcolm David Kelley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Antwone Fisher"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Philippe Rousselot"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Antwone Fisher\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Malcolm David Kelley\" . ?e_2 <pred:name> \"Philippe Rousselot\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "What person is a cast member in the character role of Alessandro Cagliostro in the visual artwork whose official website is http://www.threemusketeers-movie.com?", "choices": ["Richard Gere", "Christoph Waltz", "Simon Cowell", "James E. Reilly", "William Henry Harrison", "Rahul Dev Burman", "Milla Jovovich", "Max Fleischer", "Til Schweiger", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.threemusketeers-movie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["character role", "Alessandro Cagliostro"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.threemusketeers-movie.com\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Alessandro Cagliostro\" .  }", "answer": "Til Schweiger"}, {"question": "Which person's ISNI is 0000 0001 1476 3859?", "choices": ["Max Fleischer", "Rufus Wainwright", "Roberto Orci", "Don Black", "Michael Stuhlbarg", "Sylvester Stallone", "Billy Joel", "William Henry Harrison", "John Slattery", "Harrison Ford"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1476 3859"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1476 3859\" .  }", "answer": "Don Black"}, {"question": "Did the person whose ISNI is 0000 0000 3714 3559 not die before 2015?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3714 3559"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2015", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 3714 3559\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2015 ) .  }", "answer": "yes"}, {"question": "Where was Monsters, Inc. (whose release region is Czech Republic) published on 2001-11-02?", "choices": ["Westwood", "Berlin", "Stockholm", "Hong Kong", "United States of America", "New Amsterdam Theatre", "Latvia", "Cannes", "Vietnam", "Malaysia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Czech Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Monsters, Inc."]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2001-11-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Monsters, Inc.\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Czech Republic\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2001-11-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "When did Georgian architecture begin?", "choices": ["1966-07-27", "1720", "1936-01-11", "1846-07-09", "2018-10-14", "2019-01-11", "1847-11-27", "1959-06-24", "1992-02-11", "1972-01-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgian architecture"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Georgian architecture\" . ?e <start_time> ?pv .  }", "answer": "1720"}, {"question": "When was Taxi (the one whose director of photography is Vittorio Storaro) published?", "choices": ["1996-01-11", "2009-02-05", "1987-10-29", "2005-03-31", "1993", "2017-08-02", "2000-04-13", "2002-11-22", "1996-01-01", "2008-01-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vittorio Storaro"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taxi"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Taxi\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Vittorio Storaro\" .  ?e <publication_date> ?pv .  }", "answer": "1996-01-01"}, {"question": "What is the connection between Star Wars Episode IV: A New Hope (the one that origins from United Kingdom) to London Symphony Orchestra?", "choices": ["is a list of", "different from", "military casualty classification", "stated in", "publisher", "performer", "family", "ethnic group", "record label", "voice type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode IV: A New Hope"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["London Symphony Orchestra"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Wars Episode IV: A New Hope\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"London Symphony Orchestra\" . ?e_1 ?p ?e_2 .  }", "answer": "performer"}, {"question": "What is the IPTC Newscode of the monarch whose official website is http://www.vatican.va/holy_father?", "choices": ["mediatopic/20000847", "mediatopic/20000704", "mediatopic/20000036", "mediatopic/20000468", "mediatopic/20000824", "mediatopic/20000022", "mediatopic/20001071", "mediatopic/20000542", "mediatopic/20000415", "mediatopic/20000934"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.vatican.va/holy_father"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["monarch"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPTC Newscode"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"monarch\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.vatican.va/holy_father\" . ?e <IPTC_Newscode> ?pv .  }", "answer": "mediatopic/20000704"}, {"question": "What is the time point of when Elizabeth Taylor (the one that has the religion Judaism) was nominated for a Tony Award for Best Actress in a Play?", "choices": ["2011-05-18", "2002-11-01", "1981", "1985-12-01", "1766", "2012-07-26", "2010-06-01", "1839-01-01", "2014-01-31", "1898"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judaism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Elizabeth Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actress in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Elizabeth Taylor\" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> \"Judaism\" . ?e_2 <pred:name> \"Tony Award for Best Actress in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981"}, {"question": "How is Saw IV to related to the Saw represented online at the site lionsgateathome.com/saw?", "choices": ["convicted of", "part of the series", "symptom of", "voice actor", "history of topic", "religious order", "filming location", "start point", "approved by", "manner of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saw IV"]}, {"function": "Find", "dependencies": [], "inputs": ["Saw"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://lionsgateathome.com/saw"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saw IV\" . ?e_2 <pred:name> \"Saw\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://lionsgateathome.com/saw\" . ?e_1 ?p ?e_2 .  }", "answer": "part of the series"}, {"question": "Which ISNI designates the movie production company founded in 1933?", "choices": ["0000 0000 6740 4668", "0000 0001 0726 9596", "0000 0000 6302 2144", "0000 0001 0602 8934", "0000 0003 6863 6040", "0000 0004 0435 7330", "0000 0001 1872 1111", "0000 0001 1576 7157", "0000 0001 1680 8432", "0000 0000 5521 092X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1933", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1933 . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0726 9596"}, {"question": "about the disease that has a notable person Steve Jobs who was born on 1955-02-24), it's you UMLS CUI being C0030297, what relationship type does it maps to?", "choices": ["4 kilometre", "broad match", "exact match", "narrow match", "102", "close match", "KAZ", "0.684790796411696 euro", "12742 kilometre", "0.005"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Jobs"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1955-02-24", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["notable people with this condition", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["disease"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["UMLS CUI", "C0030297", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e <notable_people_with_this_condition> ?e_1 . ?e_1 <pred:name> \"Steve Jobs\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1955-02-24\"^^xsd:date . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0030297\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "When did the Red Hot Chili Peppers receive the Grammy Award for Best Hard Rock Performance?", "choices": ["1919-11-09", "2018-10-25", "2007-07-01", "1992", "2010-02-20", "1900-01-05", "2016-11-12", "1987-07-07", "2006-05-01", "1500"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Hot Chili Peppers"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Hard Rock Performance"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Red Hot Chili Peppers\" . ?e_2 <pred:name> \"Grammy Award for Best Hard Rock Performance\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1992"}, {"question": "When did the land-grant university which has a subscription number of 159778 under the Twitter username UofA begin?", "choices": ["1912-04-14", "1885", "1392-08-05", "1950-10-01", "1721-10-22", "1887-06-02", "1970-02-26", "1000", "1577", "1679"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "UofA"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "159778", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["land-grant university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"UofA\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"159778\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1885"}, {"question": "Alexandria (the one that is the twinned administrative body of Saint Petersburg)  or Tianjin, Which city has greater elevation(above sea level)?", "choices": ["Alexandria", "Gibraltar", "Tianjin", "Busan", "\u0130zmir", "Barcelona", "Fremantle", "Stand by Me", "Odessa", "Basra"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tianjin"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alexandria\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Saint Petersburg\" .   } UNION { ?e <pred:name> \"Tianjin\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tianjin"}, {"question": "How many subscribers does Andrea Romano (whose native language name is Andrea Romano) have under the Twitter username AndreaRomano9?", "choices": ["321351", "411", "1929223", "116844", "3681", "333782", "24163", "42984", "114544", "435"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andrea Romano"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Andrea Romano"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Twitter username", "AndreaRomano9", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Andrea Romano\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Andrea Romano\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AndreaRomano9\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "24163"}, {"question": "Which one, Little Fockers or Amistad, has less cost?", "choices": ["The Fifth Element", "Rebecca", "Training Day", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Talk to Her", "A Prairie Home Companion", "Amistad", "The Towering Inferno", "Little Fockers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Little Fockers"]}, {"function": "Find", "dependencies": [], "inputs": ["Amistad"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Little Fockers\" .  } UNION { ?e <pred:name> \"Amistad\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Amistad"}, {"question": "For Watchmen (the one whose duration is 216 minute), what is Carla Gugino's character role, as a cast member, in the work?", "choices": ["Martin Luther King Jr.", "Silk Spectre", "Ming the Merciless", "John Clark", "Betty Ross", "Tweedledum", "Jackie Burkhart", "Elmer Fudd", "Chiron", "Rita Skeeter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watchmen"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "216 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Carla Gugino"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Watchmen\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"216\"^^xsd:double . ?e_2 <pred:name> \"Carla Gugino\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Silk Spectre"}, {"question": "Which movie is longer, Hairspray (the one that has Debbie Harry as a cast member) or Anatomy of a Murder?", "choices": ["The Fifth Element", "A Prairie Home Companion", "The Towering Inferno", "Rebecca", "Anatomy of a Murder", "Pleasantville", "The Hunchback of Notre Dame", "Training Day", "Hairspray", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Debbie Harry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hairspray"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Anatomy of a Murder"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hairspray\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Debbie Harry\" .   } UNION { ?e <pred:name> \"Anatomy of a Murder\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anatomy of a Murder"}, {"question": "Which one of the administrative territorial entity from North America is the smallest ?", "choices": ["Orange County", "Jefferson County", "British Virgin Islands", "Cayman Islands", "Anguilla", "Turks and Caicos Islands", "United States Virgin Islands", "Washoe County", "African Union", "European Union"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <continent> ?e_1 . ?e_1 <pred:name> \"North America\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Anguilla"}, {"question": "How many art movements were established earlier than 1857?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1857", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1857 ) .  }", "answer": "3"}, {"question": "Who is a resident of Tunis?", "choices": ["William Henry Harrison", "Max Fleischer", "Richard Gere", "Bahamas", "Christopher Sabat", "Chris Paul", "William Hurt", "Ronald D. Moore", "Claudia Cardinale", "Bob Marley"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Tunis\" .   }", "answer": "Claudia Cardinale"}, {"question": "Which person produced the movie titled Chinatown?", "choices": ["Carmelo Anthony", "Andrew Lau", "David Geffen", "Ashton Kutcher", "Buddy DeSylva", "Sean Combs", "Robert Evans", "Colin Wilson", "Robert Greenhut", "Preston Sturges"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Chinatown"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Chinatown\" .   }", "answer": "Robert Evans"}, {"question": "What is the association of Dennis Muren with the 55th Academy Awards?", "choices": ["replaced by", "professorship", "award received", "occupation", "opposite of", "operator", "enclave within", "country", "permanent resident of", "subject has role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dennis Muren"]}, {"function": "Find", "dependencies": [], "inputs": ["55th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dennis Muren\" . ?e_2 <pred:name> \"55th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Pierce Brosnan is cast as which character on Percy Jackson & the Olympians: The Lightning Thief?", "choices": ["Remus Lupin", "David Palmer", "Jessica Glitter", "Stephen Maturin", "William Shakespeare", "Chiron", "Nick Carraway", "Goldmember", "Ming the Merciless", "Christopher Pike"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Percy Jackson & the Olympians: The Lightning Thief"]}, {"function": "Find", "dependencies": [], "inputs": ["Pierce Brosnan"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Percy Jackson & the Olympians: The Lightning Thief\" . ?e_2 <pred:name> \"Pierce Brosnan\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Chiron"}, {"question": "How many dogs are named after Yorkshire?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yorkshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Yorkshire\" .   }", "answer": "1"}, {"question": "How many film production companies are said to be the same as MCA Inc. and have the official website http://www.paramount.com?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MCA Inc."]}, {"function": "Relate", "dependencies": [0], "inputs": ["said to be the same as", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.paramount.com"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:name> \"MCA Inc.\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.paramount.com\" .  }", "answer": "0"}, {"question": "How is Brendan Gleeson related to the job of character actor?", "choices": ["territory claimed by", "afflicts", "enclave within", "country for sport", "place of origin (Switzerland)", "permanent resident of", "characters", "capital of", "airline alliance", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brendan Gleeson"]}, {"function": "Find", "dependencies": [], "inputs": ["character actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brendan Gleeson\" . ?e_2 <pred:name> \"character actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When was the opening of the legislative session preceding the 108th US Congress?", "choices": ["1830", "1999-10-14", "2017-11-08", "2012-06-14", "2001-01-03", "1851", "1994-10-17", "1963-01-01", "1867-07-29", "1876-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["108th United States Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"108th United States Congress\" .  ?e <start_time> ?pv .  }", "answer": "2001-01-03"}, {"question": "How many India states have the captital Thiruvananthapuram?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thiruvananthapuram"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Thiruvananthapuram\" .   }", "answer": "1"}, {"question": "Which administrative territorial entity bordering St. Louis was not founded in 1829?", "choices": ["Orange County", "Douglas County", "Scott County", "New Haven County", "St. Louis County", "Madison County", "Lake County", "Washoe County", "African Union", "Lee County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1829", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Louis"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1829 ) . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"St. Louis\" .  }", "answer": "St. Louis County"}, {"question": "Who is shorter, Andy Williams (the one that is a member of New England Revolution) or John Wood (the one that is a participant of 1968 Summer Olympics)?", "choices": ["James E. Reilly", "Simon Cowell", "Max Fleischer", "David Byrne", "Rahul Dev Burman", "Andy Williams", "Richard Gere", "John Wood", "William Henry Harrison", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New England Revolution"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andy Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["1968 Summer Olympics"]}, {"function": "Relate", "dependencies": [4], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Wood"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Andy Williams\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"New England Revolution\" .   } UNION { ?e <pred:name> \"John Wood\" . ?e <participant_of> ?e_2 . ?e_2 <pred:name> \"1968 Summer Olympics\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Andy Williams"}, {"question": "Does the animated-feature film, whose box office is equal to 752600867 U.S. dollars, have a publication date before 2011 (the place of publication of this statement is United States of America)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "752600867 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2011", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"752600867\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "yes"}, {"question": "What market town is the one whose TOID is 4000000074578838 (the role of this statement is human settlement) ?", "choices": ["Chesterfield", "Hitchin", "The Pink Panther", "Carmarthen", "It", "Bury St Edmunds", "Burnley", "Pontefract", "Ryuichi Sakamoto", "Catherine Deneuve"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074578838"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["subject has role", "human settlement"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["market town"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"market town\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074578838\" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv . ?qpv <pred:value> \"human settlement\" .  }", "answer": "Bury St Edmunds"}, {"question": "How many jazz renditions are the genre of the person whose ISNI is 0000 0001 2126 1603?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2126 1603"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["jazz"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2126 1603\" .   }", "answer": "2"}, {"question": "Which one has the longer duration, Clash of the Titans (the one whose publication date is 215th April 2010) or Rush Hour 3 ?", "choices": ["Pleasantville", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "Rush Hour 3", "The Towering Inferno", "Training Day", "The Fifth Element", "Clash of the Titans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clash of the Titans"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2010-04-15", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Rush Hour 3"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Clash of the Titans\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2010-04-15\"^^xsd:date . } UNION { ?e <pred:name> \"Rush Hour 3\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Clash of the Titans"}, {"question": "How are Mrs. Miniver and Peter Lawford connected?", "choices": ["director/manager", "territory claimed by", "home port", "time period", "cast member", "approved by", "copyright holder", "inspired by", "health specialty", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mrs. Miniver"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Lawford"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mrs. Miniver\" . ?e_2 <pred:name> \"Peter Lawford\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the language associated with this creative work, http://www.watfordfc.com/, the official website for the association-football club that has Jack Warner (Watford F.C. member) as a member (the number of points is 22)?", "choices": ["Icelandic", "Latin", "Lower Sorbian", "Polish", "Turkish", "German", "Austrian German", "English", "Latvian", "Cornish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watford F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Warner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of points/goals/set scored", "22", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["official website", "http://www.watfordfc.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Jack Warner\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Watford F.C.\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_points/goals/set_scored> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"22\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.watfordfc.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many human settlements where the Institute for Advanced Study is situated are in Essex County, the location of Newark?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Institute for Advanced Study"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "Find", "dependencies": [], "inputs": ["Newark"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human settlement"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Institute for Advanced Study\" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Essex County\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Newark\" .  }", "answer": "0"}, {"question": "How many law schools are part of the higher-education institution which is the filming location of A Clockwork Orange (the one that has Stanley Kubrick as an executive producer)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stanley Kubrick"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Clockwork Orange"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "Relate", "dependencies": [5], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["law school"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"higher education institution\" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> \"A Clockwork Orange\" . ?e_2 <executive_producer> ?e_3 . ?e_3 <pred:name> \"Stanley Kubrick\" .   }", "answer": "0"}, {"question": "Which one has the smallest area among the independent cities whose elevation above sea level is different to 470 feet?", "choices": ["Roanoke", "Fairfax", "Norfolk", "Lynchburg", "Charlottesville", "Williamsburg", "Danville", "Newport News", "Hampton", "Suffolk"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "470 foot", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"470\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Norfolk"}, {"question": "What company is the publisher of The Lion King whose game mode is single-player video game?", "choices": ["American International Group", "Pfizer", "Hudson Soft", "Sega", "Silver Pictures", "SCE Studio Liverpool", "Virgin Interactive", "easyJet", "Ryanair", "McDonald's"], "program": [{"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lion King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["publisher", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e_1 <publisher> ?e . ?e_1 <pred:name> \"The Lion King\" . ?e_1 <game_mode> ?e_2 . ?e_2 <pred:name> \"single-player video game\" .   }", "answer": "Virgin Interactive"}, {"question": "What is the character role of Philip Baker Hall in Argo?", "choices": ["Juliet", "Pain", "Woody Boyd", "Lisa Cuddy", "Stansfield Turner", "Kingpin", "Kincade", "Zhao", "Beatrix Kiddo", "Erik"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Argo"]}, {"function": "Find", "dependencies": [], "inputs": ["Philip Baker Hall"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Argo\" . ?e_2 <pred:name> \"Philip Baker Hall\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Stansfield Turner"}, {"question": "What type of televison series is Pretty Little Liars?", "choices": ["Backstairs at the White House", "Iron Man", "Pretty Little Liars", "Game of Thrones", "American Horror Story", "Saturday Night's Main Event", "Bleak House", "Angels in America", "Constantine", "Robot Chicken"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Pretty Little Liars"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv . ?pv <pred:value> \"Pretty Little Liars\" .  }", "answer": "Pretty Little Liars"}, {"question": "What ethnic group is geographically distributed in a geographic region which is the continent where The Hague is located ?", "choices": ["Koreans", "Austrians", "Tamil people", "Romani people", "Irish migration to Great Britain", "Thai Chinese people", "Indian American", "Swedes", "White American", "Australians"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Hague"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Relate", "dependencies": [2], "inputs": ["geographic distribution", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ethnic group"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <geographic_distribution> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"geographic region\" . ?e_2 <continent> ?e_1 . ?e_2 <pred:name> \"The Hague\" .   }", "answer": "Romani people"}, {"question": "How many group of organisms are known as Ka-mskhvilpekha rkosani sakoneli.ogg and have a catalog code of 149?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Ka-mskhvilpekha rkosani sakoneli.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["catalog code", "149"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["group of organisms known by one particular common name"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Ka-mskhvilpekha rkosani sakoneli.ogg\" . ?e <catalog_code> ?pv_1 . ?pv_1 <pred:value> \"149\" .  }", "answer": "0"}, {"question": "How many television networks belong to the country that is the sovereign state having Australia\u2013Paraguay diplomatic relations with Paraguay?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paraguay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Australia\u2013Paraguay relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television network"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> \"Paraguay\" . [ <pred:fact_h> ?e_3 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Australia\u2013Paraguay relations\" .   }", "answer": "5"}, {"question": "Which television series did Dave Fleischer direct?", "choices": ["Robot Chicken", "L.A. Law", "Battlestar Galactica", "Glee", "American Dad!", "Gulliver's Travels", "Quincy", "Superman", "Dallas", "Batman Beyond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dave Fleischer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Dave Fleischer\" .   }", "answer": "Superman"}, {"question": "Is Languedoc-Roussillon's population less than 8700000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Languedoc-Roussillon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["8700000", "<"]}], "sparql": "ASK { ?e <pred:name> \"Languedoc-Roussillon\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"8700000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is George W. Bush's child's birth name?", "choices": ["Arthur Charles Clarke", "Roberto Remigio Benigni", "John James Osborne", "Franklin Delano Roosevelt", "Jason Kent Bateman", "Anne Inez McCaffrey", "Jenna Welch Bush", "Jennifer Shrader Lawrence", "Eliza Patricia Dushku", "David Henry Thoreau"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George W. Bush"]}, {"function": "Relate", "dependencies": [0], "inputs": ["child", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <child> ?e . ?e_1 <pred:name> \"George W. Bush\" .  ?e <birth_name> ?pv .  }", "answer": "Jenna Welch Bush"}, {"question": "How many American football teams have their headquarters location in the United States city that is the narrative location of The Happening (which has Faye Dunaway as a cast member)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Faye Dunaway"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Happening"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [5], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["American football team"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> \"The Happening\" . ?e_3 <cast_member> ?e_4 . ?e_4 <pred:name> \"Faye Dunaway\" .   }", "answer": "1"}, {"question": "Does York University or Trinity College Dublin have more students?", "choices": ["Presidency University", "McNeese State University", "Trinity College Dublin", "Pennsylvania State University", "York University", "McMaster University", "University of Manchester", "University of Tehran", "Panjab University", "King's College London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["York University"]}, {"function": "Find", "dependencies": [], "inputs": ["Trinity College Dublin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"York University\" .  } UNION { ?e <pred:name> \"Trinity College Dublin\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "York University"}, {"question": "Is the IRS Employer Identification Number of the agent with the IPv4 routing prefix of 52.130.0.0/15 22-1024240 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv4 routing prefix", "52.130.0.0/15"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IRS Employer Identification Number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["22-1024240"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <IPv4_routing_prefix> ?pv_1 . ?pv_1 <pred:value> \"52.130.0.0/15\" . ?e <IRS_Employer_Identification_Number> ?pv . ?pv <pred:value> \"22-1024240\" .  }", "answer": "no"}, {"question": "Which movie's production company is History?", "choices": ["Snatch", "Talk to Her", "Unknown", "Coach Carter", "Pleasantville", "Rebecca", "Take Shelter", "Cave of Forgotten Dreams", "The Time Machine", "Slumdog Millionaire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["History"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"History\" .   }", "answer": "Cave of Forgotten Dreams"}, {"question": "Which person is a cast member of NYPD Blue TV series?", "choices": ["John Broome", "Phil Spector", "Estelle Harris", "Ed Begley, Jr.", "Julia Louis-Dreyfus", "Will Arnett", "Paul Reiser", "Dennis Franz", "John Williams", "Dylan Baker"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "NYPD Blue"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <title> ?pv . ?pv <pred:value> \"NYPD Blue\" .   }", "answer": "Dennis Franz"}, {"question": "When was the higher education institution that employs Mao Zedong founded?", "choices": ["1793-06-25", "1840-03-03", "1835-08-30", "1898", "1945-07-09", "1790-01-02", "1786-09-25", "1988", "1974-01-06", "1906-05-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mao Zedong"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Mao Zedong\" .  ?e <inception> ?pv .  }", "answer": "1898"}, {"question": "What is the connection between Oprah Winfrey to Maui?", "choices": ["substitute/deputy/replacement of office/officeholder", "military rank", "residence", "country for sport", "sex or gender", "copyright holder", "dialect of", "founded by", "maintained by", "affiliation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oprah Winfrey"]}, {"function": "Find", "dependencies": [], "inputs": ["Maui"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oprah Winfrey\" . ?e_2 <pred:name> \"Maui\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "What academic degree did columnist Fred Thompson receive from Vanderbilt University?", "choices": ["Bachelor of Science", "not completed", "Bachelor of Fine Arts", "Master of Laws", "bachelor's degree", "Bachelor of General Studies", "Juris Doctor", "doctorate", "Master of Fine Arts", "master's degree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["columnist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fred Thompson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Vanderbilt University"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "academic degree"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Fred Thompson\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"columnist\" . ?e_2 <pred:name> \"Vanderbilt University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_degree> ?qpv .  }", "answer": "Juris Doctor"}, {"question": "Is Rory Fallon less than 210 centimetres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rory Fallon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["210 centimetre", "<"]}], "sparql": "ASK { ?e <pred:name> \"Rory Fallon\" . ?e <height> ?pv . ?pv <pred:unit> \"centimetre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"210\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the native label for the ethnic group that has Arnold Schwarzenegger in its ethnic group?", "choices": ["\ucf00\uc774\ube44\uc5d0\uc2a4", "\u041f\u043b\u043e\u0432\u0434\u0438\u0432", "State of South Dakota", "\u0420\u0435\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430", "London Academy of Music and Dramatic Art", "\u00d6sterreicher", "\u0421\u043e\u0432\u0435\u0442\u0442\u0438\u043a \u0421\u043e\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0442\u0438\u043a \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u043b\u0430\u0440 \u0421\u043e\u044e\u0437\u0443", "Millwall Football Club", "Sialkot", "Lost in Space"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arnold Schwarzenegger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"Arnold Schwarzenegger\" .  ?e <native_label> ?pv .  }", "answer": "\u00d6sterreicher"}, {"question": "Which silent film's duration is equal to 67 minute and less than 770 minute ?", "choices": ["Hamlet", "The Scarlet Letter", "Rebecca", "The Hunchback of Notre Dame", "Paris", "Little Women", "David Copperfield", "Superman/Batman: Public Enemies", "Earth", "The Last of the Mohicans"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "67 minute", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["duration", "770 minute", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["silent film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"67\"^^xsd:double . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"770\"^^xsd:double ) .  }", "answer": "Paris"}, {"question": "Was Helen (the one that has Ashley Judd as a cast member) published before 1974 (the significant event of this statement is 2009 Sundance Film Festival)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ashley Judd"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Helen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["publication date", "significant event", "2009 Sundance Film Festival"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1974", "<"]}], "sparql": "ASK { ?e <pred:name> \"Helen\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ashley Judd\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1974 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <significant_event> ?qpv . ?qpv <pred:value> \"2009 Sundance Film Festival\" .  }", "answer": "no"}, {"question": "Of mountain ranges that are not 330 meters above sea level, which is lowest in elevation?", "choices": ["Sierra Nevada", "Jeremy Northam", "Blue Ridge Mountains", "Cascade Range", "Adirondack Mountains", "Pyrenees", "Alps", "Appalachian Mountains", "Himalayas", "Pennine Alps"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "330 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"330\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adirondack Mountains"}, {"question": "Where was the visual artwork that received an Academy Award for Best Visual Effects (for the winner Mark Lasoff) published on 1997-12-19?", "choices": ["United States of America", "Rio de Janeiro", "Indonesia", "People's Republic of China", "Chile", "Japan", "Serbia", "Venezuela", "Central Park", "Belgium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Mark Lasoff"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1997-12-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Visual Effects\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Mark Lasoff\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-12-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the connection between Scunthorpe United F.C. to Scunthorpe?", "choices": ["child", "published in", "allegiance", "manufacturer", "has effect", "draft pick from school", "Wikidata property", "headquarters location", "this taxon is source of", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scunthorpe United F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Scunthorpe"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Scunthorpe United F.C.\" . ?e_2 <pred:name> \"Scunthorpe\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Of Canadian administrative territorial entities with a population below 9000000, which occupies the most area?", "choices": ["Nunavut", "University of Alabama at Birmingham", "Niagara Falls", "Loudoun County", "Yukon", "Northwest Territories", "Sabah", "Essex County", "Fort Collins", "Durham"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "9000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"9000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Nunavut"}, {"question": "When did the historical country with the shortened name Principatele Unite dissolve?", "choices": ["1991-01-01", "1992-12-31", "1797-01-01", "1860-01-01", "2007-07-01", "1918-10-29", "1946-01-01", "1881-03-14", "1992", "1961-05-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "Principatele Unite"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"Principatele Unite\" . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1881-03-14"}, {"question": "What film received the Academy Award for Best Production Design (the winner of this statement is Ernest Archer)?", "choices": ["Crouching Tiger, Hidden Dragon", "The Sting", "Nicholas and Alexandra", "Out of Africa", "Chicago", "Pleasantville", "The Lord of the Rings: The Return of the King", "Talk to Her", "Cabaret", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Ernest Archer"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Production Design\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> \"Ernest Archer\" .  }", "answer": "Nicholas and Alexandra"}, {"question": "How is F.C. Copenhagen related to association football?", "choices": ["notable people with this condition", "captain", "sport", "cast member", "contributor(s) to the creative work", "has immediate cause", "has edition", "item operated", "employer", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["F.C. Copenhagen"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"F.C. Copenhagen\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the number of North Carolina counties whose population is not 4500?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4500", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of North Carolina"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4500\"^^xsd:double ) .  }", "answer": "11"}, {"question": "What is the ISNI for the higher education institution headquartered in Sacramento?", "choices": ["0000 0004 0638 8552", "0000 0000 7978 5832", "0000 0001 2149 3471", "0000 0001 1742 385X", "0000 0003 8247 7744", "0000 0000 5204 9560", "0000 0001 2169 6543", "0000 0001 1952 5593", "0000 0001 2242 8348", "0000 0001 1667 4198"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sacramento"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Sacramento\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2169 6543"}, {"question": "The action film Live and Let Die was released on 1973-12-19 in which region?", "choices": ["Slovakia", "2004 Cannes Film Festival", "Beverly Hills", "Berlin International Film Festival", "2005 Cannes Film Festival", "Australia", "Westwood", "Tokyo", "Pakistan", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Live and Let Die"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1973-12-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Live and Let Die\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"action film\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1973-12-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Mean Girls to Amanda Seyfried?", "choices": ["country of citizenship", "dialect of", "conflict", "genre", "after a work by", "cast member", "legislative body", "official language", "dedicated to", "located in or next to body of water"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mean Girls"]}, {"function": "Find", "dependencies": [], "inputs": ["Amanda Seyfried"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mean Girls\" . ?e_2 <pred:name> \"Amanda Seyfried\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which area is smaller, Athens (the one that is the twinned administrative body of Los Angeles) or Southampton?", "choices": ["Cork", "Trieste", "Athens", "Dundee", "Southampton", "Kingston", "Bergen", "Kilkenny", "Abidjan", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Athens"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Southampton"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Athens\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Los Angeles\" .   } UNION { ?e <pred:name> \"Southampton\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Athens"}, {"question": "Wuthering Heights, an Oscar nominee for Best Production Design, has what connection to Donald Crisp?", "choices": ["participant", "signatory", "organizer", "developer", "cast member", "voice type", "subject has role", "after a work by", "noble title", "separated from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wuthering Heights"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Donald Crisp"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wuthering Heights\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Production Design\" . ?e_2 <pred:name> \"Donald Crisp\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which movie is longer, Million Dollar Baby (the one whose duration is 127 minute) or Into the West (the one whose official website is http://www.miramax.com/movie/into-the-west)?", "choices": ["The Fifth Element", "Rebecca", "The Towering Inferno", "Million Dollar Baby", "Talk to Her", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "The Hunchback of Notre Dame", "Into the West"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Million Dollar Baby"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "127 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Into the West"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "http://www.miramax.com/movie/into-the-west"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Million Dollar Baby\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"127\"^^xsd:double . } UNION { ?e <pred:name> \"Into the West\" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> \"http://www.miramax.com/movie/into-the-west\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Million Dollar Baby"}, {"question": "FIFA country code BRA corresponds to which national soccer team?", "choices": ["Brazil national football team", "Canada men's national soccer team", "Ghana national football team", "Romania national football team", "Egypt national football team", "Croatia national football team", "Morocco national football team", "India national football team", "Puerto Rico national football team", "Greece national football team"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIFA country code", "BRA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <FIFA_country_code> ?pv . ?pv <pred:value> \"BRA\" .  }", "answer": "Brazil national football team"}, {"question": "What is the character role of  Constantine (the one that has Peter Stormare as a cast member) which has Peter Stormare in the cast?", "choices": ["Lois Lane", "Hal Jordan", "Lucifer", "Jack Shephard", "Randy Wharmpess", "Agent K", "Helen of Troy", "Izzie Stevens", "Seth Gecko", "Evelyn Harper"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Stormare"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Constantine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Peter Stormare"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Constantine\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Peter Stormare\" . ?e_2 <pred:name> \"Peter Stormare\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Lucifer"}, {"question": "What is the connection between The Hurricane (the one that received Academy Award for Best Sound Mixing) to Thomas Mitchell (the one that wins Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie)?", "choices": ["basin country", "platform", "occupation", "next lower rank", "business division", "cast member", "has immediate cause", "sponsor", "candidacy in election", "legislative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hurricane"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie"]}, {"function": "Relate", "dependencies": [4], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Mitchell"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Hurricane\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_2 <pred:name> \"Thomas Mitchell\" . ?e_4 <winner> ?e_2 . ?e_4 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Where was the movie directed by Scott Rudin and published in 1993-11-19 published?", "choices": ["Romania", "Poland", "Indonesia", "Vietnam", "Mexico", "Westwood", "Portugal", "United States of America", "Toronto", "Seattle International Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Rudin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1993-11-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Scott Rudin\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1993-11-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Does the secretary of state, whose official website is https://www.state.gov/secretary/index.htm (the language of this statement is English), have its native label equal to the United States Secretary of State?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.state.gov/secretary/index.htm"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["secretary of state"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["United States Secretary of State"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"secretary of state\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.state.gov/secretary/index.htm\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <native_label> ?pv . ?pv <pred:value> \"United States Secretary of State\" .  }", "answer": "yes"}, {"question": "Who is the producer of the visual artwork directed by Sammo Hung?", "choices": ["Andy Lau", "Alexander Payne", "Irwin Allen", "Vittorio De Sica", "Phil Hartman", "Andrew G. Vajna", "Mark Addy", "Wes Craven", "Brian Grazer", "Ronald Neame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sammo Hung"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> \"Sammo Hung\" .   }", "answer": "Andy Lau"}, {"question": "Was the Houston Aeros founded after 1477?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Houston Aeros"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1477", ">"]}], "sparql": "ASK { ?e <pred:name> \"Houston Aeros\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1477 ) .  }", "answer": "yes"}, {"question": "How many animated feature films are distributed in a sovereign country where Devon (containing Torquay) belongs ?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Torquay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Devon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["film distribute region", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["animated feature film"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Devon\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Torquay\" .   }", "answer": "12"}, {"question": "Did Grindhouse or Inglourious Basterds cost more to make?", "choices": ["Rebecca", "A Prairie Home Companion", "Grindhouse", "Training Day", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Inglourious Basterds", "Talk to Her", "The Towering Inferno", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grindhouse"]}, {"function": "Find", "dependencies": [], "inputs": ["Inglourious Basterds"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Grindhouse\" .  } UNION { ?e <pred:name> \"Inglourious Basterds\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Inglourious Basterds"}, {"question": "How many public offices equal an occupation of James Garner (the one that is educated at Adelphi University) and are held by Chris Wood, Boston United F.C. member?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adelphi University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Garner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public office"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston United F.C."]}, {"function": "Relate", "dependencies": [6], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Wood"]}, {"function": "And", "dependencies": [7, 8], "inputs": []}, {"function": "Relate", "dependencies": [9], "inputs": ["officeholder", "backward"]}, {"function": "FilterConcept", "dependencies": [10], "inputs": ["public office"]}, {"function": "And", "dependencies": [5, 11], "inputs": []}, {"function": "Count", "dependencies": [12], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public office\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"James Garner\" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> \"Adelphi University\" .  ?e <officeholder> ?e_3 . ?e_3 <pred:name> \"Chris Wood\" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> \"Boston United F.C.\" .  }", "answer": "0"}, {"question": "How many employers work for a university that is headquartered in Beijing ?", "choices": ["2431", "129424", "545", "9000", "330", "882", "28622", "8400", "7275", "1854"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beijing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Beijing\" .  ?e <employees> ?pv .  }", "answer": "7275"}, {"question": "Is Teri Garr's ISNI the same as 0000 0000 8161 1516?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Teri Garr"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 8161 1516"]}], "sparql": "ASK { ?e <pred:name> \"Teri Garr\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8161 1516\" .  }", "answer": "no"}, {"question": "Does New Haven or Lowell have the higher elevation above sea level?", "choices": ["Compton", "New Haven", "Franklin", "Greenville", "Lowell", "Oakland", "Columbus", "Waukegan", "Boulder", "New Britain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Haven"]}, {"function": "Find", "dependencies": [], "inputs": ["Lowell"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New Haven\" .  } UNION { ?e <pred:name> \"Lowell\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lowell"}, {"question": "The single-player video game Van Helsing is based on which movie?", "choices": ["The Lord of the Rings: The Return of the King", "A Prairie Home Companion", "Rebecca", "Van Helsing", "Alfie", "Pleasantville", "Rules of Engagement", "Talk to Her", "The Three Musketeers", "The World Is Not Enough"], "program": [{"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Van Helsing"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Van Helsing\" . ?e_1 <game_mode> ?e_2 . ?e_2 <pred:name> \"single-player video game\" .   }", "answer": "Van Helsing"}, {"question": "Is the ISNI of a person that was, since 1988, the spouse of Kevin Bacon, born on 8th July 1958, equal to 0000 0001 2142 2411 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kevin Bacon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1958-07-08", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["spouse", "forward"]}, {"function": "QFilterYear", "dependencies": [2], "inputs": ["start time", "1988", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [4], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [5], "inputs": ["0000 0001 2142 2411"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Kevin Bacon\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1958-07-08\"^^xsd:date . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1988 . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2142 2411\" .  }", "answer": "yes"}, {"question": "Who is the nominee of Academy Award for Best Supporting Actress associated with the performance in The Mirror Has Two Faces ?", "choices": ["Brian Oliver", "Michel Hazanavicius", "John Gaeta", "Spike Lee", "John Osborne", "G\u00e9rard James", "Lauren Bacall", "Ray Lovejoy", "Chris Carpenter", "Charles L. Campbell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mirror Has Two Faces"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Mirror Has Two Faces\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Lauren Bacall"}, {"question": "What is the title of a movie that follows Star Wars Episode V: The Empire Strikes Back (the one that origins from United Kingdom)?", "choices": ["Deep Impact", "Top Gun", "The Pirate Movie", "The Cabin in the Woods", "Savannah", "Weeds", "The Adventures of Priscilla, Queen of the Desert", "Mrs Henderson Presents", "Laura", "Raiders of the Lost Ark"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode V: The Empire Strikes Back"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Star Wars Episode V: The Empire Strikes Back\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .  ?e <title> ?pv .  }", "answer": "Raiders of the Lost Ark"}, {"question": "Who is the person that is the screenwriter of The Fairly OddParents?", "choices": ["Rob Lowe", "Butch Hartman", "Sylvester Stallone", "John Grisham", "William Henry Harrison", "John Cleese", "Max Fleischer", "George Abbott", "Richard Gere", "Ruth Gordon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Fairly OddParents"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"The Fairly OddParents\" .   }", "answer": "Butch Hartman"}, {"question": "How many studio albums titled \"The Beatles\" have a duration that is not 3,600 seconds?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Beatles"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["studio album"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["duration", "3600 second", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["studio album"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"studio album\" . ?e <title> ?pv . ?pv <pred:value> \"The Beatles\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"second\" . ?pv_1 <pred:value> ?v . FILTER ( ?v != \"3600\"^^xsd:double ) .  }", "answer": "1"}, {"question": "How is Capitol Records related to Tina Turner?", "choices": ["record label", "director/manager", "film editor", "position played on team / speciality", "programming language", "cast member", "publisher", "board member", "opposite of", "studied by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tina Turner"]}, {"function": "Find", "dependencies": [], "inputs": ["Capitol Records"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tina Turner\" . ?e_2 <pred:name> \"Capitol Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Is Richard Schiff's ISNI 0000 0001 0891 9474?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Schiff"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 0891 9474"]}], "sparql": "ASK { ?e <pred:name> \"Richard Schiff\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0891 9474\" .  }", "answer": "no"}, {"question": "When did the population of a sovereign state, with the demonym \u0432\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u044c\u0446\u044b (the involved part of this statement is plural) reach the number  17793283 ?", "choices": ["2009-03-11", "2010-01-17", "1851-01-01", "2002-06-01", "1986", "1762-01-01", "2006-09-13", "1852-01-01", "1400", "2015-08-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0432\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u044c\u0446\u044b"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "plural"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "17793283", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u0432\u0435\u043d\u0435\u0441\u0443\u044d\u043b\u044c\u0446\u044b\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"plural\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"17793283\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1986"}, {"question": "Is the area greater for Mohave County or Coconino County?", "choices": ["Santa Cruz County", "Cochise County", "Maricopa County", "Yavapai County", "Apache County", "Gila County", "Pima County", "Coconino County", "Mohave County", "Pinal County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mohave County"]}, {"function": "Find", "dependencies": [], "inputs": ["Coconino County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mohave County\" .  } UNION { ?e <pred:name> \"Coconino County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coconino County"}, {"question": "Is 824 the local dialing code associated with the city that is the birthplace of Aishwarya Ra?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aishwarya Rai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["824"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Aishwarya Rai\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"824\" .  }", "answer": "yes"}, {"question": "Who has fewer children, Alfred Molina or Akkineni Nagarjuna?", "choices": ["Simon Cowell", "Akkineni Nagarjuna", "Max Fleischer", "Paul Simon", "David Byrne", "Alfred Molina", "Sylvester Stallone", "William Henry Harrison", "Richard Gere", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alfred Molina"]}, {"function": "Find", "dependencies": [], "inputs": ["Akkineni Nagarjuna"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alfred Molina\" .  } UNION { ?e <pred:name> \"Akkineni Nagarjuna\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alfred Molina"}, {"question": "What is the number of newscasts that have less than 8000 episodes?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "8000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"8000\"^^xsd:double ) .  }", "answer": "2"}, {"question": "How many Primetime Emmy Award annual ceremonies were followed by the Primetime Emmy annual ceremony with the edition number of 64?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "64"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "Relate", "dependencies": [2], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award annual ceremony\" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Primetime Emmy Award annual ceremony\" . ?e_1 <edition_number> ?pv . ?pv <pred:value> \"64\" .   }", "answer": "1"}, {"question": "Which among the states of the United States, with the narrative location of Marley & Me, has the smallest area?", "choices": ["California", "New Jersey", "Florida", "Iowa", "Illinois", "New Mexico", "Massachusetts", "Pennsylvania", "Hawaii", "Kansas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marley & Me"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"Marley & Me\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pennsylvania"}, {"question": "How many public educational institutions in of the United States don't have 75000 students?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "75000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public educational institution of the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public educational institution of the United States\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"75000\"^^xsd:double ) .  }", "answer": "3"}, {"question": "Was the person with ISNI 0000 0001 2148 7506 born subsequent to 1847 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2148 7506"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1847", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2148 7506\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1847 ) .  }", "answer": "yes"}, {"question": "How are the People's Republic of China and Malawi related?", "choices": ["diplomatic relation", "headquarters location", "country of origin", "owned by", "subsidiary", "next higher rank", "follows", "derivative work", "architect", "programming paradigm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Find", "dependencies": [], "inputs": ["Malawi"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"People's Republic of China\" . ?e_2 <pred:name> \"Malawi\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which reviewer assigned a rank of 58 to the national football team of Togo?", "choices": ["Roger Ebert", "AllMovie", "AlloCin\u00e9", "Empire", "James Berardinelli", "International Congress of Distinguished Awards", "FIFA", "Peter Travers", "The World of Movies", "Rotten Tomatoes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Togo national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "58", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Togo national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"58\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Al Pacino was cast in the TV movie released on 2013-06-14 in which location?", "choices": ["Venice Film Festival", "Sydney", "2005 Cannes Film Festival", "Germany", "Toronto", "Chicago", "Lithuania", "worldwide", "Uruguay", "Moscow"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Pacino"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2013-06-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Al Pacino\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2013-06-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Alicia Silverstone to Beverly Hills High School?", "choices": ["publisher", "honorific suffix", "head of state", "educated at", "business division", "partially contains", "mouth of the watercourse", "derivative work", "drug used for treatment", "drafted by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alicia Silverstone"]}, {"function": "Find", "dependencies": [], "inputs": ["Beverly Hills High School"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alicia Silverstone\" . ?e_2 <pred:name> \"Beverly Hills High School\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "What person has the ISNI of 0000 0000 5939 1078?", "choices": ["Jeremy Northam", "Richard Gere", "Dean Cundey", "Ethan Hawke", "William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "John Fiedler", "Roy Haynes", "Samuel Vincent"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5939 1078"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5939 1078\" .  }", "answer": "John Fiedler"}, {"question": "Which website belongs to Cowboys & Aliens?", "choices": ["http://www.petergabriel.com", "http://www.smu.edu", "http://www.shrekforeverafter.com", "http://gingerrogers.com/", "http://www.universalstudiosentertainment.com/cowboys-aliens/", "http://www.gmanetwork.com/entertainment/shows/eatbulaga", "http://www.owensboro.org", "https://www.pafc.co.uk/", "http://www.indiaarie.com", "http://www.mylifetime.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cowboys & Aliens"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Cowboys & Aliens\" . ?e <official_website> ?pv .  }", "answer": "http://www.universalstudiosentertainment.com/cowboys-aliens/"}, {"question": "Was the award, nominated to The-Dream (for Holy Grail) established after 1817?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The-Dream"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Holy Grail"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1817", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"The-Dream\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Holy Grail\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1817 ) .  }", "answer": "yes"}, {"question": "Who won a BAFTA Award for Best Actor in a Supporting Role in 1985?", "choices": ["Christopher Walken", "John Huston", "Joanne Woodward", "Heath Ledger", "Denholm Elliott", "Jim Broadbent", "George R. R. Martin", "Edward Fox", "Tim Roth", "Christoph Waltz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Supporting Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1985", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Supporting Role\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1985 .  }", "answer": "Denholm Elliott"}, {"question": "Which university has more students, Taras Shevchenko National University of Kyiv or Vanderbilt University?", "choices": ["University of Tehran", "Pennsylvania State University", "Presidency University", "McMaster University", "Taras Shevchenko National University of Kyiv", "University of Manchester", "Imperial College London", "Panjab University", "King's College London", "Vanderbilt University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taras Shevchenko National University of Kyiv"]}, {"function": "Find", "dependencies": [], "inputs": ["Vanderbilt University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Taras Shevchenko National University of Kyiv\" .  } UNION { ?e <pred:name> \"Vanderbilt University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Taras Shevchenko National University of Kyiv"}, {"question": "Between Vinnie Jones or Boaz Myhill, who is taller?", "choices": ["Richard Gere", "Simon Cowell", "Max Fleischer", "Vinnie Jones", "David Byrne", "Paul Simon", "Boaz Myhill", "Rahul Dev Burman", "James E. Reilly", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vinnie Jones"]}, {"function": "Find", "dependencies": [], "inputs": ["Boaz Myhill"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Vinnie Jones\" .  } UNION { ?e <pred:name> \"Boaz Myhill\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Boaz Myhill"}, {"question": "How many keyboard instruments are famously associated with Kim Carnes or are wider than 120 mm?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kim Carnes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["keyboard instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["width", "120 millimetre", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["keyboard instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"keyboard instrument\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Kim Carnes\" .  } UNION { ?e <width> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"120\"^^xsd:double ) .  } }", "answer": "1"}, {"question": "Which has more people, Greenwood or West Hollywood?", "choices": ["Waukegan", "Greenwood", "New Haven", "Columbus", "Lansing", "Greenville", "Franklin", "Compton", "West Hollywood", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greenwood"]}, {"function": "Find", "dependencies": [], "inputs": ["West Hollywood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greenwood\" .  } UNION { ?e <pred:name> \"West Hollywood\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "West Hollywood"}, {"question": "What is the relationship between Exeter, which is 47 square kilometers, and Devon, where Torquay is located?", "choices": ["make-up artist", "depicts", "capital of", "enclave within", "student of", "worshipped by", "production company", "located in the administrative territorial entity", "has dialect (DEPRECATED)", "color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Exeter"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "47 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Torquay"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Devon"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Exeter\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"47\"^^xsd:double . ?e_2 <pred:name> \"Devon\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Torquay\" . ?e_1 ?p ?e_2 .  }", "answer": "capital of"}, {"question": "When did Farrah Fawcett become the spouse of Lee Majors?", "choices": ["1861-01-01", "1985", "1941-07-26", "1806-01-23", "1714", "1982-02-16", "2007", "2004-01-01", "1945-03-18", "1663"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Farrah Fawcett"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee Majors"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Farrah Fawcett\" . ?e_2 <pred:name> \"Lee Majors\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1982-02-16"}, {"question": "How is the University of Dayton related to the United States of America?", "choices": ["educated at", "country", "has dialect (DEPRECATED)", "author", "father", "lyrics by", "product or material produced", "place of burial", "risk factor", "officially opened by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Dayton"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Dayton\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the subject of Julie Walters being nominated for an Academy Award for Best Actress?", "choices": ["Mozambique\u2013Russia relations", "China\u2013Comoros relations", "Delaware\u2013Pennsylvania border", "Azerbaijan\u2013Malaysia relations", "Belarus\u2013United States relations", "Mexico\u2013Thailand relations", "Denmark\u2013Poland relations", "China\u2013Japan border", "Japan\u2013Russia border", "56th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julie Walters"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Julie Walters\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "56th Academy Awards"}, {"question": "Is date of birth of Amy Ryan is after 1944?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Amy Ryan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1944", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Amy Ryan\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1944 ) .  }", "answer": "yes"}, {"question": "What is the beginning date of the video game publisher whose Twitter username is RockstarGames with 9298418 subscribers?", "choices": ["1835", "1703", "1921-05-12", "1967-02-27", "1913-03-03", "1870-06-15", "1872", "1998-01-01", "1978-07-25", "988"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "RockstarGames"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "9298418", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["video game publisher"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game publisher\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"RockstarGames\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"9298418\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1998-01-01"}, {"question": "Which software has the official website of http://www.oracle.com/solaris?", "choices": ["iOS", "macOS", "Regina", "Linux", "Unix", "FreeBSD", "Windows XP", "Mac OS", "Windows 7", "Solaris"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.oracle.com/solaris"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oracle.com/solaris\" .  }", "answer": "Solaris"}, {"question": "Who is taller, Bipasha Basu or Lee Grant (the one that is a member of Stoke City F.C.)?", "choices": ["David Byrne", "Paul Simon", "Lee Grant", "Rahul Dev Burman", "Richard Gere", "Bipasha Basu", "James E. Reilly", "Simon Cowell", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bipasha Basu"]}, {"function": "Find", "dependencies": [], "inputs": ["Stoke City F.C."]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee Grant"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bipasha Basu\" .  } UNION { ?e <pred:name> \"Lee Grant\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Stoke City F.C.\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lee Grant"}, {"question": "What relation type does C0024517, the UMLS CUI of major depressive disorder, map to?", "choices": ["close match", "5232", "local government", "exact match", "200-201-5", "narrow match", "Einigungsvertrag", "broad match", "anachronism", "9940"], "program": [{"function": "Find", "dependencies": [], "inputs": ["major depressive disorder"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["UMLS CUI", "C0024517", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"major depressive disorder\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0024517\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "Which movie is longer, August (the one that origins from United States of America) or Salmon Fishing in the Yemen?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "The Towering Inferno", "A Prairie Home Companion", "Curse of the Golden Flower", "Talk to Her", "Rebecca", "Training Day", "Salmon Fishing in the Yemen", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["August"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Salmon Fishing in the Yemen"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"August\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Salmon Fishing in the Yemen\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Salmon Fishing in the Yemen"}, {"question": "How is Montclair State University connected to the performing arts?", "choices": ["studies", "cause of death", "month of the year", "family name", "registered with", "field of work", "language of work or name", "father", "original film format", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montclair State University"]}, {"function": "Find", "dependencies": [], "inputs": ["performing arts"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Montclair State University\" . ?e_2 <pred:name> \"performing arts\" . ?e_1 ?p ?e_2 .  }", "answer": "field of work"}, {"question": "How many subscribers does the person, whose ISNI is 0000 0001 2018 9304 and whose Twitter username is DannyDeVito, have", "choices": ["108802", "4114032", "249419", "960", "539", "14839994", "198249", "3795", "9", "2596560"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2018 9304"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "DannyDeVito", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2018 9304\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"DannyDeVito\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "4114032"}, {"question": "Is Dewey Decimal Classification  of a government, whose area covers 118484.186083 square km, equal to 2-7434 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "118484.186083 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["2--7434"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"118484.186083\"^^xsd:double . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--7434\" .  }", "answer": "no"}, {"question": "How much did the movie released on 2003-11-14 earn in box office sales?", "choices": ["5500000 United States dollar", "377910544 United States dollar", "205000000 United States dollar", "246942017 United States dollar", "171627166 United States dollar", "896911078", "28200000 United States dollar", "9440000 United States dollar", "87812371 United States dollar", "25000000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2003-11-14", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2003-11-14\"^^xsd:date . ?e <box_office> ?pv .  }", "answer": "246942017 United States dollar"}, {"question": "What number of learned socities have ISNI 0000 0001 2248 8383?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2248 8383"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["learned society"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2248 8383\" .  }", "answer": "1"}, {"question": "What number of nonprofit organizations are registered with Bank of America and has the ISNI of 0000 0000 9112 0550?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 9112 0550"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["nonprofit organization"]}, {"function": "Find", "dependencies": [], "inputs": ["Bank of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["nonprofit organization"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"nonprofit organization\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 9112 0550\" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> \"Bank of America\" .  }", "answer": "0"}, {"question": "What is New Rochelle's official web address?", "choices": ["http://www.mindenusa.com/", "http://www.comune.padova.it", "http://www.mcneese.edu", "https://www.smgov.net/", "http://www.sandhurst.mod.uk/", "https://accringtonstanley.co.uk/", "http://www.mayslesfilms.com/films/films/greygardens.html", "http://www.newrochelleny.com/", "http://stargate.mgm.com/view/series/2/index.html", "http://jeffprobst.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Rochelle"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"New Rochelle\" . ?e <official_website> ?pv .  }", "answer": "http://www.newrochelleny.com/"}, {"question": "What is the release date of the film whose official website is http://www.beastieboys.co.kr?", "choices": ["2015-03-19", "2007-10-24", "2006-06-28", "1957-03-12", "2000-03-14", "2010-08-02", "2009-07-23", "2008-01-01", "1994-09-14", "2008-04-10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.beastieboys.co.kr"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.beastieboys.co.kr\" . ?e <publication_date> ?pv .  }", "answer": "2008-01-01"}, {"question": "How is Mosul related to Iraq", "choices": ["had as last meal", "has effect", "soundtrack album", "country", "office contested", "member of", "airline alliance", "publisher", "replaces", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mosul"]}, {"function": "Find", "dependencies": [], "inputs": ["Iraq"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mosul\" . ?e_2 <pred:name> \"Iraq\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Star Trek \u2165: The Undiscovered Country was published in which location on 1992-03-05?", "choices": ["Moscow", "United States of America", "Tokyo", "Romania", "Hungary", "Germany", "Hollywood Bowl", "European Union", "R\u00e4ttvik", "North America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek \u2165: The Undiscovered Country"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1992-03-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Star Trek \u2165: The Undiscovered Country\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1992-03-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What person is educated at the university that is located in Tehran (that is the twinned administrative body of Bangkok)?", "choices": ["Daniel Craig", "Shriya Saran", "Robert Forster", "Jon Voight", "Ossie Davis", "Zach Braff", "Andy Heyward", "Philip Roth", "Abbas Kiarostami", "Peter Weller"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangkok"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tehran"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["university"]}, {"function": "Relate", "dependencies": [5], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"university\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Tehran\" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> \"Bangkok\" .   }", "answer": "Abbas Kiarostami"}, {"question": "How is pop rock related to Taylor Swift?", "choices": ["model item", "drafted by", "contains administrative territorial entity", "source of income", "coextensive with", "parent astronomical body", "designated as terrorist by", "set in period", "famous people", "Wikidata property"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Taylor Swift"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"pop rock\" . ?e_2 <pred:name> \"Taylor Swift\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How is Thomas Aquinas related to Paul (the one whose date of birth is 5)?", "choices": ["candidacy in election", "statistical leader", "influenced by", "country", "industry", "license", "narrative role", "office contested", "contains settlement", "heritage designation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Aquinas"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["date of birth", "5", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thomas Aquinas\" . ?e_2 <pred:name> \"Paul\" . ?e_2 <date_of_birth> ?pv . ?pv <pred:year> 5 . ?e_1 ?p ?e_2 .  }", "answer": "influenced by"}, {"question": "What number of record labels were dissolved after 1975?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1975", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1975 ) .  }", "answer": "24"}, {"question": "What is the connection between Indiana to Illinois (the one that contains the administrative division Will County)?", "choices": ["currency", "symptoms", "place of burial", "notable people with this condition", "shares border with", "after a work by", "place of birth", "work location", "coextensive with", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indiana"]}, {"function": "Find", "dependencies": [], "inputs": ["Will County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Indiana\" . ?e_2 <pred:name> \"Illinois\" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Will County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How many mechanical waves are a part of hard rock?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hard rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"hard rock\" .   }", "answer": "1"}, {"question": "How many counties in Pennsylvania have a population of less than 8400000?", "choices": ["35", "36", "37", "38", "39", "40", "41", "42", "43", "44"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8400000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"8400000\"^^xsd:double ) .  }", "answer": "39"}, {"question": "Is Catch-22 (the one whose publication date is 1961-11-10) titled Catch-22 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catch-22"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1961-11-10", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["Catch-22"]}], "sparql": "ASK { ?e <pred:name> \"Catch-22\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1961-11-10\"^^xsd:date . ?e <title> ?pv . ?pv <pred:value> \"Catch-22\" .  }", "answer": "yes"}, {"question": "When was the death of the 1962 Primetime Emmy winner for Outstanding Lead Actor in a Miniseries or a Movie?", "choices": ["1977-01-29", "1674-11-08", "1932-11-25", "1861-07-13", "2011-06-23", "2004-09-11", "2015-05-15", "2013-04-11", "1971-07-06", "1961-10-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1962", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1962 . ?e <date_of_death> ?pv .  }", "answer": "2011-06-23"}, {"question": "What language is associated with the official website http://www.biloxi.ms.us/ for the United States city whose area is 175.681086 square kilometers?", "choices": ["\u01c0Xam language", "Latin script", "French", "Punjabi", "Dutch", "Serbian", "Malagasy", "Old English", "English", "Canadian French"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "175.681086 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.biloxi.ms.us/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"175.681086\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.biloxi.ms.us/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between Paul Williams, who is a member of Southend United F.C., and Torquay United F.C.?", "choices": ["studies", "stated in", "production designer", "basic form of government", "office held by head of government", "candidate", "member of sports team", "allegiance", "religion", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Southend United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Torquay United F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Williams\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Southend United F.C.\" . ?e_2 <pred:name> \"Torquay United F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the connection between Warner Music Group to Giant Records?", "choices": ["military rank", "subsidiary", "screenwriter", "librettist", "office held by head of the organisation", "basic form of government", "given name", "founded by", "sibling", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Music Group"]}, {"function": "Find", "dependencies": [], "inputs": ["Giant Records"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Warner Music Group\" . ?e_2 <pred:name> \"Giant Records\" . ?e_1 ?p ?e_2 .  }", "answer": "subsidiary"}, {"question": "Is there more area in San Marino with 7.09 sq km or in Amritsar?", "choices": ["San Marino", "Abidjan", "Kingston", "Amritsar", "Dundee", "Kilkenny", "Trieste", "Cork", "Bergen", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Marino"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "7.09 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Amritsar"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Marino\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"7.09\"^^xsd:double . } UNION { ?e <pred:name> \"Amritsar\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Amritsar"}, {"question": "What work was Natalie Wood, the actor, nominated for an Academy Award for Best Supporting Actress?", "choices": ["Born Yesterday", "The Merry Old Soul", "Nell", "The Counterlife", "Rebel Without a Cause", "Boyhood", "Doctor Zhivago", "My Heart Will Go On", "The Sixth Sense", "Thriller"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Natalie Wood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Natalie Wood\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Rebel Without a Cause"}, {"question": "Which area has higher elevation above sea level, Missoula or Traverse City?", "choices": ["Waukegan", "Traverse City", "Oakland", "Franklin", "Compton", "New Haven", "Columbus", "Lansing", "Greenville", "Missoula"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Missoula"]}, {"function": "Find", "dependencies": [], "inputs": ["Traverse City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Missoula\" .  } UNION { ?e <pred:name> \"Traverse City\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Missoula"}, {"question": "What is the connection between Fantastic Four (the one whose genre is adventure film) to Avi Arad?", "choices": ["instrument", "filmography", "season starts", "head coach", "executive producer", "operating area", "board member", "main subject", "rector", "has parts of the class"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fantastic Four"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Avi Arad"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fantastic Four\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"adventure film\" . ?e_2 <pred:name> \"Avi Arad\" . ?e_1 ?p ?e_2 .  }", "answer": "executive producer"}, {"question": "How is the Frankenstein published in 2004 related to Adam Goldberg?", "choices": ["cast member", "official residence", "chief executive officer", "seed team", "different from", "place of origin (Switzerland)", "studied by", "highest judicial authority", "platform", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankenstein"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2004-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Goldberg"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frankenstein\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2004-01-01\"^^xsd:date . ?e_2 <pred:name> \"Adam Goldberg\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the character role of John Krasinski as a cast member of The Office whose narrative location is Scranton?", "choices": ["Dr. Frank N. Furter", "Jim Halpert", "Lloyd Christmas", "Cousin Randy", "Dr. John Watson", "Henri Ducard", "Fix-it Felix", "Gilderoy Lockhart", "Princess Leia", "Paul Atreides"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scranton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Office"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["John Krasinski"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Office\" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Scranton\" . ?e_2 <pred:name> \"John Krasinski\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Jim Halpert"}, {"question": "How is Jack Warner of Watford F.C. related to Watford F.C.?", "choices": ["contains administrative territorial entity", "game mode", "noble title", "operating area", "takes place in fictional universe", "chief executive officer", "vehicle normally used", "member of sports team", "applies to jurisdiction", "instrumentation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watford F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Warner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Watford F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Warner\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Watford F.C.\" . ?e_2 <pred:name> \"Watford F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the relationship between GoldenEye (the one whose release region is United States of America) to United Kingdom?", "choices": ["professional or sports partner", "culture", "interests", "used by", "rector", "replaced by", "country of origin", "residence", "place of burial", "board member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["GoldenEye"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"GoldenEye\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Scream 4 was released on 2011-05-05 in what location?", "choices": ["Colombia", "Japan", "Kazakhstan", "Germany", "Lithuania", "Northern America", "Denmark", "Pakistan", "Park City", "Greek Theatre, Los Angeles"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scream 4"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2011-05-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Scream 4\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-05-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was the movie titled Guys and Dolls published?", "choices": ["1971-11-03", "1980-02-28", "1955-11-03", "2010-03-04", "1967", "2004-09-16", "1940-04-26", "2012-07-26", "1994-11-10", "2002-09-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Guys and Dolls"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Guys and Dolls\" . ?e <publication_date> ?pv .  }", "answer": "1955-11-03"}, {"question": "What is the ISNI of the human whose Twitter username is LilyTomlin?", "choices": ["0000 0000 7839 1364", "0000 0001 0930 480X", "0000 0000 7824 7063", "0000 0001 1447 6892", "0000 0001 1271 2636", "0000 0001 1875 4757", "0000 0000 2934 393X", "0000 0004 0647 5138", "0000 0001 1002 5330", "0000 0001 1494 4836"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "LilyTomlin"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"LilyTomlin\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1447 6892"}, {"question": "Is 7440-70-2 the CAS Registry Number for the chemical element having the Dewey Decimal Classification 546.393?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "546.393"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CAS Registry Number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["7440-70-2"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"546.393\" . ?e <CAS_Registry_Number> ?pv . ?pv <pred:value> \"7440-70-2\" .  }", "answer": "yes"}, {"question": "What is the Giphy handle of the association football (soccer) club officially called Leicester City Football Club?", "choices": ["UniversityofDenver", "nickelodeon", "sonic-the-hedgehog", "michaelbolton", "britneyspears", "rickjames", "shakiraofficial", "lcfc", "casablancarecords", "nfl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Leicester City Football Club"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Leicester City Football Club\" . ?e <Giphy_username> ?pv .  }", "answer": "lcfc"}, {"question": "What country does http://www.brunel.ac.uk, the official website of the university whose UK Provider Reference Number is 10000961, belong to?", "choices": ["Bulgaria", "Nepal", "Cambodia", "Philippines", "Belgium", "Nazi Germany", "United States of America", "United Kingdom", "Papal States", "Ireland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UK Provider Reference Number", "10000961"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.brunel.ac.uk", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <UK_Provider_Reference_Number> ?pv_1 . ?pv_1 <pred:value> \"10000961\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.brunel.ac.uk\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Is John Candy's date of birth not in the year 1947?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Candy"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1947", "!="]}], "sparql": "ASK { ?e <pred:name> \"John Candy\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1947 ) .  }", "answer": "yes"}, {"question": "Does the shorter run-time belong to time travel-themed Shrek Forever After or to The Transformers: The Movie?", "choices": ["Shrek 2", "Winnie the Pooh", "WALL\u00b7E", "Lilo & Stitch", "Shrek Forever After", "Peter Pan", "The Transformers: The Movie", "Renaissance", "Beauty and the Beast", "Aladdin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["time travel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shrek Forever After"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Transformers: The Movie"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shrek Forever After\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"time travel\" .   } UNION { ?e <pred:name> \"The Transformers: The Movie\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Transformers: The Movie"}, {"question": "What is the relationship between Taiwan and Eritrea?", "choices": ["diplomatic relation", "partially contains", "domain of saint or deity", "notable work", "original film format", "edition or translation of", "parent club", "item operated", "named after", "location of final assembly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Find", "dependencies": [], "inputs": ["Eritrea"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Taiwan\" . ?e_2 <pred:name> \"Eritrea\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "What is the connection between Andover and Essex County (whose population is 755970)?", "choices": ["professional or sports partner", "location", "substitute/deputy/replacement of office/officeholder", "position held", "located in the administrative territorial entity", "doctoral student", "award disciplines or subjects", "health specialty", "used by", "location of formation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andover"]}, {"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "755970", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Andover\" . ?e_2 <pred:name> \"Essex County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"755970\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Is the IAB code equal to 1275 for the type of sport that has the sport team New Zealand national cricket team?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Zealand national cricket team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IAB code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1275"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:name> \"New Zealand national cricket team\" .  ?e <IAB_code> ?pv . ?pv <pred:value> \"1275\" .  }", "answer": "no"}, {"question": "Who has fewer children, Jane Alexander (the one whose birth name is Jane Quigley) or Wes Craven?", "choices": ["Simon Cowell", "William Henry Harrison", "Wes Craven", "Richard Gere", "Max Fleischer", "Rahul Dev Burman", "Paul Simon", "Jane Alexander", "James E. Reilly", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jane Alexander"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Jane Quigley"]}, {"function": "Find", "dependencies": [], "inputs": ["Wes Craven"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jane Alexander\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Jane Quigley\" . } UNION { ?e <pred:name> \"Wes Craven\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jane Alexander"}, {"question": "The website of Rotherham United F.C., www.themillers.co.uk, is published in which language?", "choices": ["Icelandic", "Slovene", "Franco-Proven\u00e7al", "Navajo", "Modern Greek", "Malagasy", "English", "O'odham", "France", "National language of Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rotherham United F.C."]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.themillers.co.uk/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Rotherham United F.C.\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.themillers.co.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between South Vietnam to Ho Chi Minh City?", "choices": ["general manager", "is a list of", "father", "part of", "industry", "league", "place of death", "affiliation", "place of burial", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Vietnam"]}, {"function": "Find", "dependencies": [], "inputs": ["Ho Chi Minh City"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"South Vietnam\" . ?e_2 <pred:name> \"Ho Chi Minh City\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "How many New Jersey cities belong to the USA?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "15"}, {"question": "How many computer programmings have a subreddit of javascript?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "javascript"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["computer programming"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"computer programming\" . ?e <subreddit> ?pv . ?pv <pred:value> \"javascript\" .  }", "answer": "1"}, {"question": "Who is shorter, Robert De Niro (the one whose work period (start) is 1963) or Ed Lauter?", "choices": ["Richard Gere", "Ed Lauter", "Max Fleischer", "William Henry Harrison", "James E. Reilly", "Paul Simon", "Robert De Niro", "Sylvester Stallone", "Simon Cowell", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert De Niro"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["work period (start)", "1963", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Ed Lauter"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Robert De Niro\" . ?e <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> 1963 . } UNION { ?e <pred:name> \"Ed Lauter\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Robert De Niro"}, {"question": "What is the connection between Bolt (whose release region is Finland) and the Ukraine?", "choices": ["lowest point", "follows", "film release region", "production designer", "edition or translation of", "office contested", "influenced by", "after a work by", "original network", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bolt"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bolt\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Finland\" . ?e_2 <pred:name> \"Ukraine\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Which republic has more median income between the republics that partially contains the Alps?", "choices": ["Mozambique", "Bolivia", "Zimbabwe", "Sierra Leone", "Germany", "Colombia", "Namibia", "Austria", "Italy", "Tunisia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alps"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partially contains", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["median income", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> \"Alps\" .  ?e <median_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Austria"}, {"question": "Does Summit or Hollywood that was established on 1921-02-18 have more people?", "choices": ["Summit", "Boulder", "Waukegan", "New Haven", "Oakland", "Columbus", "Compton", "Hollywood", "Greenville", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Summit"]}, {"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["inception", "1921-02-18", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Summit\" . } UNION { ?e <pred:name> \"Hollywood\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1921-02-18\"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hollywood"}, {"question": "How many movie awards were established prior to 1952 or earned by Meryl Streep?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1952", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Find", "dependencies": [], "inputs": ["Meryl Streep"]}, {"function": "Relate", "dependencies": [3], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1952 ) .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Meryl Streep\" .  } }", "answer": "6"}, {"question": "What football club association has the Giphy user name of psg_inside?", "choices": ["FC Bayern Munich", "Rangers F.C.", "Stade Brestois 29", "FC Metalist Kharkiv", "Lille O.S.C.", "Olympique Lyonnais", "Brisbane Roar FC", "Middlesbrough F.C.", "F.C. Girondins de Bordeaux", "Paris Saint-Germain F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "psg_inside"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"psg_inside\" .  }", "answer": "Paris Saint-Germain F.C."}, {"question": "What is the connection between Sammo Hung to screenwriter?", "choices": ["parent club", "head of government", "occupation", "manufacturer", "nominated for", "home venue", "present in work", "owner of", "costume designer", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sammo Hung"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sammo Hung\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has less box office, The Phantom of the Opera that was nominated for a Satellite Award for Best Costume Design or Salt?", "choices": ["The Fifth Element", "Pleasantville", "Training Day", "Talk to Her", "The Towering Inferno", "Rebecca", "Salt", "The Phantom of the Opera", "The Hunchback of Notre Dame", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom of the Opera"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Salt"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Phantom of the Opera\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Satellite Award for Best Costume Design\" .   } UNION { ?e <pred:name> \"Salt\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Phantom of the Opera"}, {"question": "Was the founding year prior to 1875 for the Pennsylvania city that's the capital of Lancaster County, which borders Chester County ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chester County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lancaster County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1875", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Lancaster County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Chester County\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1875 ) .  }", "answer": "yes"}, {"question": "Which award nominated to Dolly Parton for Trio II was established post-1958?", "choices": ["Grammy Award for Best Bluegrass Album", "Grammy Award for Best Female Pop Vocal Performance", "Genie Award for Best Achievement in Editing", "Grammy Award for Best Metal Performance", "Primetime Emmy Award for Individual Performance in a Variety or Music Program", "Royal Victorian Chain", "Independent Spirit Award for Best Female Lead", "Grammy Award for Best Song Written for Visual Media", "Golden Globe Award for Best Animated Feature Film", "Grammy Award for Best Country Album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dolly Parton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Trio II"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1958", ">"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["award"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Dolly Parton\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Trio II\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1958 ) .  }", "answer": "Grammy Award for Best Country Album"}, {"question": "What is the beginning date of the band that originates in Bradford (that is the twinned administrative body of Galway)?", "choices": ["1995-01-16", "1967-06-21", "1918-07-09", "1883", "1991-09-23", "1980-01-13", "1983", "1924", "1912-03-22", "-200"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Galway"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bradford"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Bradford\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Galway\" .  ?e <inception> ?pv .  }", "answer": "1983"}, {"question": "When was the higher education institution whose DfE URN is 133904 founded?", "choices": ["1959-04-18", "1836", "1967-11-30", "988", "1967-10-23", "1409-01-01", "1971-09-30", "1862", "1946", "1946-08-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DfE URN", "133904"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <DfE_URN> ?pv_1 . ?pv_1 <pred:value> \"133904\" . ?e <inception> ?pv .  }", "answer": "1836"}, {"question": "How long is Brazil, published on 26th April 1985?", "choices": ["149 minute", "5615 second", "48 minute", "184 minute", "102 minute", "142 minute", "126 minute", "45 minute", "193 minute", "264 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1985-04-26", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Brazil\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1985-04-26\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "142 minute"}, {"question": "What jazz entities were established later than 1972?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1972", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["jazz"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1972 ) .  }", "answer": "3"}, {"question": "When did Elizabeth Hurley become the partner of Hugh Grant, born as Hugh John Mungo Grant?", "choices": ["1992-04-27", "1973", "1855", "2004-08-15", "1954-02-19", "1986", "1996-12-12", "1987-01-01", "1984-07-30", "1918-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth Hurley"]}, {"function": "Find", "dependencies": [], "inputs": ["Hugh Grant"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["birth name", "Hugh John Mungo Grant"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["partner", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Elizabeth Hurley\" . ?e_2 <pred:name> \"Hugh Grant\" . ?e_2 <birth_name> ?pv . ?pv <pred:value> \"Hugh John Mungo Grant\" . ?e_1 <partner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1987-01-01"}, {"question": "What is the PermID for the University of Miami?", "choices": ["5000872253", "4297025490", "4295904493", "500186", "4296508828", "5021790190", "4295903128", "4296840216", "4296763139", "4296438341"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Miami"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["PermID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of Miami\" . ?e <PermID> ?pv .  }", "answer": "4296508828"}, {"question": "How many musicians have the ISCO occupation code 2453 or the occupation of Bill Evans (the one whose ISNI is 0000 0001 2126 1603)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISCO occupation code", "2453"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musician"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Evans"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2126 1603"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["musician"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musician\" .  { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> \"2453\" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Bill Evans\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2126 1603\" .  } }", "answer": "2"}, {"question": "What's the relationship between the Caribbean and Anguilla?", "choices": ["mother", "movement", "twinned administrative body", "lifestyle", "located on terrain feature", "designed by", "commander of", "capital", "conflict", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anguilla"]}, {"function": "Find", "dependencies": [], "inputs": ["Caribbean"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anguilla\" . ?e_2 <pred:name> \"Caribbean\" . ?e_1 ?p ?e_2 .  }", "answer": "located on terrain feature"}, {"question": "How many miniseries are derived from A Single Man, released in 1964, or premiered prior to 2013?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Single Man"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1964", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["miniseries"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["start time", "2013", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["miniseries"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" .  { ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"A Single Man\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1964 .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2013 ) .  } }", "answer": "26"}, {"question": "When did Derby (whose local dialing code is 01332) start being in country of United Kingdom?", "choices": ["1986-02-26", "1955-01-01", "1813-03-04", "1917-01-01", "2011-03-03", "1991-09-25", "2006-04-05", "1922-12-06", "1845-12-29", "1952-02-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Derby"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "01332"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Derby\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"01332\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1922-12-06"}, {"question": "Was the band with the dedicated website www.officialtlc.com founded sometime other than 4570000000 BC?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.officialtlc.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["-4570000000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.officialtlc.com/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != -4570000000 ) .  }", "answer": "yes"}, {"question": "Which area has lower elevation above sea level, Dortmund or Dnipro?", "choices": ["Regensburg", "Dortmund", "Dnipro", "Halle (Saale)", "Stuttgart", "Utrecht", "Aachen", "Fort Smith", "Bordeaux", "Wuppertal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dortmund"]}, {"function": "Find", "dependencies": [], "inputs": ["Dnipro"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dortmund\" .  } UNION { ?e <pred:name> \"Dnipro\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dortmund"}, {"question": "What is the tie-in between James Caan (whose official website is http://www.james-caan.com) and entrepreneur?", "choices": ["designed to carry", "nominated for", "office contested", "field of work", "seed team", "famous people", "had as last meal", "film editor", "occupation", "said to be the same as"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Caan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.james-caan.com"]}, {"function": "Find", "dependencies": [], "inputs": ["entrepreneur"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Caan\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.james-caan.com\" . ?e_2 <pred:name> \"entrepreneur\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has fewer seasons, The Practice or Six Feet Under, which had Jeremy Sisto in the cast?", "choices": ["Dancing with the Stars", "Babylon 5", "Phineas and Ferb", "Saturday Night's Main Event", "Bleak House", "Game of Thrones", "Seinfeld", "The Practice", "Robot Chicken", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Practice"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeremy Sisto"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Six Feet Under"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Practice\" .  } UNION { ?e <pred:name> \"Six Feet Under\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jeremy Sisto\" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Six Feet Under"}, {"question": "What is the language pertaining to the creative property defined as the official website of the Oscar for Best Visual Effects, at http://www.oscars.org?", "choices": ["Luxembourgish", "Azerbaijani", "Welsh", "Punjab", "Valencian", "Put\u00e8r", "Wolof", "Australian English", "English", "Ukrainian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.oscars.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Academy Award for Best Visual Effects\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oscars.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What does John Williams (whose native language name is John Williams (New York)) have to do with United States of America?", "choices": ["lyrics by", "office held by head of state", "public holiday", "highest judicial authority", "twinned administrative body", "chief executive officer", "partially contains", "country of citizenship", "indigenous to", "performer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "John Williams (New York)"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"John Williams (New York)\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which area has higher elevation above sea level, Irving or Houston (the one that is located in Harris County)?", "choices": ["Compton", "Oakland", "Irving", "Columbus", "Houston", "Greenville", "Franklin", "Boulder", "New Haven", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irving"]}, {"function": "Find", "dependencies": [], "inputs": ["Harris County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Houston"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Irving\" .  } UNION { ?e <pred:name> \"Houston\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Harris County\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Irving"}, {"question": "Between Miguel Ferrer or Steve Blum, who has more offspring?", "choices": ["Max Fleischer", "Miguel Ferrer", "James E. Reilly", "William Henry Harrison", "Simon Cowell", "Rahul Dev Burman", "Richard Gere", "Paul Simon", "Steve Blum", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miguel Ferrer"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Blum"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Miguel Ferrer\" .  } UNION { ?e <pred:name> \"Steve Blum\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Miguel Ferrer"}, {"question": "The person with CANTIC-ID a11821589 goes by which name on Twitter?", "choices": ["tompetty", "trevor_horn_", "EmmaWatson", "TheDarkNolan", "GetafeCF", "bryanadams", "carlagugino", "alydenisof", "KerryWashington", "tiffanithiessen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11821589"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11821589\" . ?e <Twitter_username> ?pv .  }", "answer": "carlagugino"}, {"question": "By which name is Charlie Adler, a voice actor of The Little Mermaid (whose publication date is 1990-11-30), recorded in a database or mentioned as a contributor of a work?", "choices": ["LIGHTS WENT OUT IN MASSACHUSETTS", "SCHWARTZ STEPHEN LAWRENCE", "WARREN HARRY", "RICHARD KEITH", "MIGUEL DE CERVANTES SAAVEDRA", "WILSON, BRIAN DOUGLAS", "Martin Brandeaux", "GIBB MAURICE ERNEST", "Charlie Adler", "Sinclair, Emil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Little Mermaid"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1990-11-30", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Adler"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["voice actor", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Little Mermaid\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1990-11-30\"^^xsd:date . ?e_2 <pred:name> \"Charlie Adler\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <named_as> ?qpv .  }", "answer": "Charlie Adler"}, {"question": "What Lutheran higher education institution has the instagram username valpraiso_university?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lutheranism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["valparaiso_university"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <religion> ?e_1 . ?e_1 <pred:name> \"Lutheranism\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"valparaiso_university\" .  }", "answer": "yes"}, {"question": "What is the visual artwork titled \u7d33\u58eb\u5354\u5b9a?", "choices": ["Mission: Impossible III", "Annie Hall", "Pleasantville", "Talk to Her", "Rebecca", "Rocky IV", "Singapore", "Star Trek \u2161: The Wrath of Khan", "A Prairie Home Companion", "Gentleman's Agreement"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u7d33\u58eb\u5354\u5b9a"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"\u7d33\u58eb\u5354\u5b9a\" .  }", "answer": "Gentleman's Agreement"}, {"question": "Regarding the person with the ISNI of 0000 0001 1476 8289, when was he/she born?", "choices": ["1955-01-04", "1948-12-18", "1745-03-25", "1970-04-08", "1961-05-06", "1934-12-28", "1960-11-24", "1809-03-20", "1945-02-07", "1926-08-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1476 8289"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1476 8289\" . ?e <date_of_birth> ?pv .  }", "answer": "1961-05-06"}, {"question": "Is the running time longer for The Scarlet Letter, clocking in at 115 minutes, or for Rise of the Planet of the Apes?", "choices": ["Rise of the Planet of the Apes", "Rebecca", "A Prairie Home Companion", "Earth", "The Scarlet Letter", "Little Women", "The Hunchback of Notre Dame", "Pleasantville", "Hamlet", "The Last of the Mohicans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Scarlet Letter"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "115 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Rise of the Planet of the Apes"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Scarlet Letter\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"115\"^^xsd:double . } UNION { ?e <pred:name> \"Rise of the Planet of the Apes\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Scarlet Letter"}, {"question": "Which film production company's PermID is 4298365329?", "choices": ["Paramount Pictures", "Screen Gems", "Rank Organisation", "Warner Bros.", "Yash Raj Films", "Fine Line Features", "Lucasfilm", "20th Century Fox", "Hammer Film Productions", "Hollywood Pictures"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4298365329"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <PermID> ?pv . ?pv <pred:value> \"4298365329\" .  }", "answer": "Warner Bros."}, {"question": "When did Shane Smeltz join the national football team of New Zealand?", "choices": ["1985-07-01", "2003-01-01", "1892", "2023-07-01", "1969-12-22", "1998-07-03", "1920-04-20", "1950-06-25", "1947-09-30", "1991-12-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shane Smeltz"]}, {"function": "Find", "dependencies": [], "inputs": ["New Zealand national football team"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shane Smeltz\" . ?e_2 <pred:name> \"New Zealand national football team\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2003-01-01"}, {"question": "Which movie cost more to make, The Three Musketeers (the one whose start time is 2013) or Bad Education?", "choices": ["All Quiet on the Western Front", "The Late Shift", "A Streetcar Named Desire", "The Three Musketeers", "The Challenge", "Bad Education", "Shackleton", "Luther", "A Christmas Carol", "The Goodbye Girl"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2013", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bad Education"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 2013 . } UNION { ?e <pred:name> \"Bad Education\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Three Musketeers"}, {"question": "What is the Libris-URI of the person who is educated at Uppsala University?", "choices": ["jgvz27p258s4v7f", "jgvxxwl24t3q9r7", "97mqwfft540blkk", "dbqtx4xx2v201dn", "sq4673fb42mvklx", "1zcfg92k2n2nkqr", "gdsvwcw00ww3v59", "fcrv0ggz09gxxpk", "tr574vdc33gk2cc", "1zcfb19k1gfw2sq"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Uppsala University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Uppsala University\" .  ?e <Libris-URI> ?pv .  }", "answer": "tr574vdc33gk2cc"}, {"question": "Which film has an official website of http://www.sonyclassics.com/toromewithlove?", "choices": ["The Kite Runner", "King Kong", "The Graduate", "To Rome with Love", "Mr. Nobody", "Pleasantville", "A Prairie Home Companion", "War and Peace", "Rebecca", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonyclassics.com/toromewithlove"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonyclassics.com/toromewithlove\" .  }", "answer": "To Rome with Love"}, {"question": "How many theatrical genres have a number of episodes not equal to 340 or whose producer is Tony Thomas (who was born in Los Angeles)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "340", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Thomas"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["theatrical genre"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" .  { ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"340\"^^xsd:double ) .  } UNION { ?e <producer> ?e_1 . ?e_1 <pred:name> \"Tony Thomas\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Los Angeles\" .  } }", "answer": "3"}, {"question": "When did the administrative territorial entity whose FIPS 6-4 (US counties) is 13051 have a population of 266019?", "choices": ["-150", "1493", "2011-12-27", "1934-01-01", "2002-05-15", "1998-08-19", "1898", "1925-12-01", "2010-07-01", "1982-03-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "13051"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "266019", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"13051\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"266019\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "For the organization founded by Victoria (the native-language name is Victoria), is its official name, The Royal Victorian Order?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victoria"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Victoria"]}, {"function": "Relate", "dependencies": [1], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["The Royal Victorian Order"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <founded_by> ?e_1 . ?e_1 <pred:name> \"Victoria\" . ?e_1 <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Victoria\" . ?e <official_name> ?pv . ?pv <pred:value> \"The Royal Victorian Order\" .  }", "answer": "yes"}, {"question": "Since when does Kansas City Chiefs participate in National Football League ?", "choices": ["1977-09-20", "1942-06-26", "1929-04-26", "1970", "1987-10-09", "1573", "2003", "1960-10-15", "1988-02-18", "2000-02-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kansas City Chiefs"]}, {"function": "Find", "dependencies": [], "inputs": ["National Football League"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["league", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kansas City Chiefs\" . ?e_2 <pred:name> \"National Football League\" . ?e_1 <league> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <league> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1970"}, {"question": "How was it determined that Monro County has a population of 14259?", "choices": ["estimation process", "Family record booklet", "administrative division valid at the moment of publication", "United Kingdom Census 2001", "2016 Australian census", "Sixth National Population Census of the People's Republic of China", "rated voltage", "2010 United States Census", "extrapolation", "UIS estimation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mono County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "14259", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Mono County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"14259\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the local dialing code for a census-designated place that serves a the headquarter location of Stanford University ?", "choices": ["919", "0431", "01302", "1463", "704", "650", "07330", "617", "0662", "08736"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stanford University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Stanford University\" .  ?e <local_dialing_code> ?pv .  }", "answer": "650"}, {"question": "How many computer programming either has the Stack Exchange tag of https://stackoverflow.com/tags/oop or a file extention of js?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://stackoverflow.com/tags/oop"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["computer programming"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["file extension", "js"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["computer programming"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"computer programming\" .  { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://stackoverflow.com/tags/oop\" .  } UNION { ?e <file_extension> ?pv . ?pv <pred:value> \"js\" .  } }", "answer": "2"}, {"question": "Does Warwick (the one that is the origin of the name University of Warwick) or Ipswich (the one whose WOEID is 24522) have greater population?", "choices": ["Guildford", "Dorchester", "Aylesbury", "Bedford", "Ipswich", "Warwick", "Taunton", "Oxford", "Northampton", "Reading"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Warwick"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Warwick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ipswich"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["WOEID", "24522"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Warwick\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"University of Warwick\" . } UNION { ?e <pred:name> \"Ipswich\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"24522\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ipswich"}, {"question": "Where was released in 2014-12-19 the film that was produced by Jada Pinkett Smith?", "choices": ["Netherlands", "Quebec", "United States of America", "Brazil", "Switzerland", "Venezuela", "Egypt", "Tribeca Film Festival", "Hungary", "Bahrain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jada Pinkett Smith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2014-12-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Jada Pinkett Smith\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2014-12-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Is the IPTC Newscode mediatopic/20000667 for the religion of Dharmendra?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dharmendra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPTC Newscode"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["mediatopic/20000667"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e_1 <religion> ?e . ?e_1 <pred:name> \"Dharmendra\" .  ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000667\" .  }", "answer": "no"}, {"question": "Is 0000 0001 2284 9898 the ISNI of the higher education institution with official website http://www.williams.edu?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.williams.edu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2284 9898"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.williams.edu\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2284 9898\" .  }", "answer": "yes"}, {"question": "What's the relationship between Ray Stark and The Way We Were?", "choices": ["permanent resident of", "owned by", "successful candidate", "conflict", "producer", "has edition", "significant person", "source of material", "territory claimed by", "noble title"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Way We Were"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Way We Were"]}, {"function": "Find", "dependencies": [], "inputs": ["Ray Stark"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Way We Were\" . ?e_1 <title> ?pv . ?pv <pred:value> \"The Way We Were\" . ?e_2 <pred:name> \"Ray Stark\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Which area has lower elevation above sea level, Midland (the one whose area is 92440000 square metre) or St. Petersburg?", "choices": ["St. Petersburg", "Oakland", "New Haven", "Columbus", "Lansing", "Compton", "Franklin", "Waukegan", "Boulder", "Midland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "92440000 square metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["St. Petersburg"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Midland\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square metre\" . ?pv_1 <pred:value> \"92440000\"^^xsd:double . } UNION { ?e <pred:name> \"St. Petersburg\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "St. Petersburg"}, {"question": "Is the birth year of the person born as Clifford Smith later than 1957 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Clifford Smith"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1957", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Clifford Smith\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1957 ) .  }", "answer": "yes"}, {"question": "Is Nick Jonas or Franklin Delano Roosevelt taller in height?", "choices": ["Sylvester Stallone", "Simon Cowell", "William Henry Harrison", "Paul Simon", "Max Fleischer", "David Byrne", "Franklin Delano Roosevelt", "James E. Reilly", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nick Jonas"]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin Delano Roosevelt"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nick Jonas\" .  } UNION { ?e <pred:name> \"Franklin Delano Roosevelt\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Franklin Delano Roosevelt"}, {"question": "Which one has fewer kids, Matthew Bellamy or John Travolta ?", "choices": ["Simon Cowell", "David Byrne", "Sylvester Stallone", "Paul Simon", "Matthew Bellamy", "William Henry Harrison", "John Travolta", "Rahul Dev Burman", "Max Fleischer", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Matthew Bellamy"]}, {"function": "Find", "dependencies": [], "inputs": ["John Travolta"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Matthew Bellamy\" .  } UNION { ?e <pred:name> \"John Travolta\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Matthew Bellamy"}, {"question": "Which has more people, Chichester (the one whose TOID is 7000000000016444) or Winchester (the one whose TOID is 7000000000017754)?", "choices": ["Woking", "Winchester", "West Dorset", "Guildford", "Craven", "Carlisle", "Great Yarmouth", "South Somerset", "Kettering", "Chichester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chichester"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000016444"]}, {"function": "Find", "dependencies": [], "inputs": ["Winchester"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["TOID", "7000000000017754"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chichester\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"7000000000016444\" . } UNION { ?e <pred:name> \"Winchester\" . ?e <TOID> ?pv_2 . ?pv_2 <pred:value> \"7000000000017754\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Winchester"}, {"question": "How is Orange County (denoted by FIPS 6-4 (US counties) 50017) related to Vermont?", "choices": ["designed by", "professorship", "practiced by", "league", "geography of topic", "officeholder", "natural product of taxon", "dissertation submitted to", "contains administrative territorial entity", "student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vermont"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange County"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["FIPS 6-4 (US counties)", "50017"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Vermont\" . ?e_2 <pred:name> \"Orange County\" . ?e_2 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"50017\" . ?e_1 ?p ?e_2 .  }", "answer": "contains administrative territorial entity"}, {"question": "Does the Northern Territory or Vojvodina cover a larger area?", "choices": ["Upper Austria", "New South Wales", "Greater Poland Voivodeship", "Minas Gerais", "Podlaskie Voivodeship", "England", "Northern Territory", "Vojvodina", "Punjab", "Chiapas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northern Territory"]}, {"function": "Find", "dependencies": [], "inputs": ["Vojvodina"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Northern Territory\" .  } UNION { ?e <pred:name> \"Vojvodina\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Northern Territory"}, {"question": "What is the death date for the person whose ISNI is 0000 0000 6308 9162?", "choices": ["1804-02-12", "1974-05-10", "1976-08-02", "1975-04-14", "1897-01-01", "2012-09-25", "1897-04-24", "1037-06-18", "2013-10-17", "1938-07-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6308 9162"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 6308 9162\" . ?e <date_of_death> ?pv .  }", "answer": "1938-07-18"}, {"question": "How many learned societies have Irving Thalberg as their founder or have the official website amphilsoc.org?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irving Thalberg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["learned society"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://amphilsoc.org/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["learned society"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" .  { ?e_1 <found> ?e . ?e_1 <pred:name> \"Irving Thalberg\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"https://amphilsoc.org/\" .  } }", "answer": "2"}, {"question": "How is I Heart Huckabees related to the \"English\" category?", "choices": ["designed by", "superhuman feature or ability", "original language of film or TV show", "talk show guest", "seed team", "copyright holder", "narrative location", "winner", "official language", "located in or next to body of water"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Heart Huckabees"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"I Heart Huckabees\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "What is the Twitter username of the rock band whose official website is http://www.hawkwind.com/?", "choices": ["katebeckinsale", "iamsanthanam", "lauradern", "kingbmahal", "HawkwindHQ", "amandabynes", "billyjoel", "kaagent", "RealPaulWalker", "die_gruenen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hawkwind.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hawkwind.com/\" . ?e <Twitter_username> ?pv .  }", "answer": "HawkwindHQ"}, {"question": "What is the language associated with the miniseries directed by Mike Nichols, with an official website  http://www.hbo.com/films/angelsinamerica?", "choices": ["British English", "J\u00e8rriais", "Icelandic", "Canadian French", "Bulgarian", "France", "Estonian", "Japanese", "English", "Classical Latin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Nichols"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.hbo.com/films/angelsinamerica", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Mike Nichols\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.hbo.com/films/angelsinamerica\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Postal code 1207 belongs to which college town?", "choices": ["Nancy", "Marburg", "New London County", "Tartu", "William Hurt", "Geneva", "Quezon City", "Over the Top", "Basel", "U.S. Sassuolo Calcio"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "1207"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <postal_code> ?pv . ?pv <pred:value> \"1207\" .  }", "answer": "Geneva"}, {"question": "How is the William Gibson who died on 1890-02-01 connected to Ottawa?", "choices": ["given name", "work location", "main food source", "studied by", "is a list of", "candidacy in election", "participant", "has immediate cause", "published in", "record label"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Gibson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1890-02-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Ottawa"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William Gibson\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1890-02-01\"^^xsd:date . ?e_2 <pred:name> \"Ottawa\" . ?e_1 ?p ?e_2 .  }", "answer": "work location"}, {"question": "Which movie is shorter, The Adventures of Baron Munchausen or Gone with the Wind (the one that has Walter Plunkett as a costume designer)?", "choices": ["The Hunchback of Notre Dame", "Training Day", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "The Adventures of Baron Munchausen", "Talk to Her", "Pleasantville", "Gone with the Wind", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Adventures of Baron Munchausen"]}, {"function": "Find", "dependencies": [], "inputs": ["Walter Plunkett"]}, {"function": "Relate", "dependencies": [1], "inputs": ["costume designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gone with the Wind"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Adventures of Baron Munchausen\" .  } UNION { ?e <pred:name> \"Gone with the Wind\" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> \"Walter Plunkett\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Adventures of Baron Munchausen"}, {"question": "Charles Brackett was nominated for an Academy Award for which Best Story work?", "choices": ["19th Academy Awards", "Canada\u2013Greece relations", "Israel\u2013Japan relations", "Switzerland\u2013Turkey relations", "Australia\u2013Mexico relations", "Azerbaijan\u2013China relations", "Laos\u2013Taiwan relations", "Indonesia\u2013Philippines border", "India\u2013Japan relations", "Sudan\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Brackett"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Story"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Charles Brackett\" . ?e_2 <pred:name> \"Academy Award for Best Story\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "19th Academy Awards"}, {"question": "What person is born on 1973-01-31 and is a citizen of the United States of America starting in the year 2011?", "choices": ["Richard Gere", "Max Fleischer", "Portia de Rossi", "David Byrne", "Simon Cowell", "Rachel Weisz", "William Henry Harrison", "Rahul Dev Burman", "Paul Simon", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1973-01-31", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "backward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["start time", "2011", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1973-01-31\"^^xsd:date . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United States of America\" . [ <pred:fact_h> ?e ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2011 .  }", "answer": "Portia de Rossi"}, {"question": "Who has fewer children, Giuseppe Verdi (the one whose official website is http://www.giuseppeverdi.it/) or Shahrukh Khan?", "choices": ["James E. Reilly", "David Byrne", "Sylvester Stallone", "Max Fleischer", "Shahrukh Khan", "Giuseppe Verdi", "Paul Simon", "Richard Gere", "William Henry Harrison", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giuseppe Verdi"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.giuseppeverdi.it/"]}, {"function": "Find", "dependencies": [], "inputs": ["Shahrukh Khan"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Giuseppe Verdi\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.giuseppeverdi.it/\" . } UNION { ?e <pred:name> \"Shahrukh Khan\" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Giuseppe Verdi"}, {"question": "What is the capital with Dewey Decimal Classification 2--611?", "choices": ["Lausanne", "Tunisia", "Doha", "Sarajevo", "Moscow", "Tunis", "Carthage", "Nanjing", "Cape Town", "Santiago"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--611"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--611\" .  }", "answer": "Tunis"}, {"question": "How many kinds of rock music were influenced by punk rock or invented later than 1981?", "choices": ["33", "34", "35", "36", "37", "38", "39", "40", "41", "42"], "program": [{"function": "Find", "dependencies": [], "inputs": ["punk rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1981", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock music\" .  { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"punk rock\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1981 ) .  } }", "answer": "38"}, {"question": "How many sports seasons transpired later than 2005?", "choices": ["13", "14", "15", "16", "17", "18", "19", "20", "21", "22"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2005", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  }", "answer": "13"}, {"question": "Tell me the number of market town that has the offical website  http://www.pontefractus.co.uk/ or that has Sociedade Esportiva Palmeiras", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.pontefractus.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["market town"]}, {"function": "Find", "dependencies": [], "inputs": ["Sociedade Esportiva Palmeiras"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["market town"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"market town\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pontefractus.co.uk/\" .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Sociedade Esportiva Palmeiras\" .  } }", "answer": "1"}, {"question": "What is the relationship between Bangor (the one whose width is 121 millimetre) to goat?", "choices": ["history of topic", "from fictional universe", "studies", "inspired by", "depicts", "organizer", "domain of saint or deity", "employer", "conflict", "software engine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangor"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["width", "121 millimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["goat"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bangor\" . ?e_1 <width> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> \"121\"^^xsd:double . ?e_2 <pred:name> \"goat\" . ?e_1 ?p ?e_2 .  }", "answer": "depicts"}, {"question": "Who has reviewed the national team of Kazakhstan and gave it a ranking of 100?", "choices": ["Internet Movie Database", "James Berardinelli", "Roger Ebert", "IREG Observatory on Academic Ranking and Excellence", "AllMovie", "AlloCin\u00e9", "Empire", "The World of Movies", "Innovation, Science and Economic Development Canada", "FIFA"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kazakhstan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "100", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Kazakhstan\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"100\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "When was John Hughes of Crystal Palace F.C. born?", "choices": ["1955-01-09", "1922-03-13", "1962-06-16", "1930-04-28", "1977-09-02", "1987-05-22", "1949-10-07", "1951-10-07", "1893-04-20", "1943-04-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crystal Palace F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Hughes\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Crystal Palace F.C.\" .  ?e <date_of_birth> ?pv .  }", "answer": "1943-04-03"}, {"question": "Which has the smallest area among those states whose number of out-of-school children is greater than 62000?", "choices": ["Cuba", "Bulgaria", "Kazakhstan", "Finland", "Croatia", "Jamaica", "Greece", "Tajikistan", "Saint Vincent and the Grenadines", "Kosovo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of out-of-school children", "62000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <number_of_out-of-school_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"62000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jamaica"}, {"question": "Which has a lower elevation above sea level, Des Moines or Orange (the one whose ISNI is 0000 0004 0638 7381)?", "choices": ["Boulder", "New Haven", "Franklin", "Oakland", "Orange", "Lansing", "Greenville", "Compton", "Columbus", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Des Moines"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0004 0638 7381"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Des Moines\" . } UNION { ?e <pred:name> \"Orange\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0638 7381\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Orange"}, {"question": "How many association football clubs have the official website https://www.dundeeunitedfc.co.uk/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.dundeeunitedfc.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.dundeeunitedfc.co.uk/\" .  }", "answer": "1"}, {"question": "How is Maureen Stapleton related to Troy which is the capital of Rensselaer County?", "choices": ["notable people with this condition", "place of birth", "taxon rank", "country", "nutrient", "quotes work", "narrative role", "work location", "noble title", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maureen Stapleton"]}, {"function": "Find", "dependencies": [], "inputs": ["Rensselaer County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Troy"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Maureen Stapleton\" . ?e_2 <pred:name> \"Troy\" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> \"Rensselaer County\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Is http://www.laurenbacall.com the official website for the television channel that is owned by News Corporation?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["News Corporation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television channel"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.laurenbacall.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television channel\" . ?e_1 <owner_of> ?e . ?e_1 <pred:name> \"News Corporation\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.laurenbacall.com\" .  }", "answer": "no"}, {"question": "Which movie is longer, Chinatown or 13 Going on 30?", "choices": ["Curse of the Golden Flower", "13 Going on 30", "The Hunchback of Notre Dame", "Talk to Her", "The Fifth Element", "Pleasantville", "The Towering Inferno", "Chinatown", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chinatown"]}, {"function": "Find", "dependencies": [], "inputs": ["13 Going on 30"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chinatown\" .  } UNION { ?e <pred:name> \"13 Going on 30\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chinatown"}, {"question": "How many feature films were based on Lords of Dogtown and scripted by Lewis Carroll?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lords of Dogtown"]}, {"function": "Relate", "dependencies": [0], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Find", "dependencies": [], "inputs": ["Lewis Carroll"]}, {"function": "Relate", "dependencies": [3], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Lords of Dogtown\" .  ?e <after_a_work_by> ?e_2 . ?e_2 <pred:name> \"Lewis Carroll\" .  }", "answer": "0"}, {"question": "What is the ISNI of Allahabad University?", "choices": ["0000 0000 4452 3031", "0000 0001 0213 924X", "0000 0001 2282 5992", "0000 0001 1447 3229", "0000 0001 2337 0010", "0000 0004 0601 4083", "0000 0001 2195 7192", "0000 0004 0631 8482", "0000 0001 0996 3661", "0000 0001 1483 5357"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Allahabad University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Allahabad University\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0213 924X"}, {"question": "How many film awards has the person that has the ISNI number 0000 0001 2138 8532 won?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2138 8532"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2138 8532\" .   }", "answer": "2"}, {"question": "What was the date of dissolution for the first-level administrative country subdivision founded on 1567-01-01?", "choices": ["2013-01-11", "2016-09-01", "1678", "2005-12-31", "1859-01-01", "2013-01-01", "1803-01-01", "1865-05-26", "2013-01-23", "1945-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1567-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1567-01-01\"^^xsd:date . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1803-01-01"}, {"question": "The soundtrack album featuring United Kingdom citizen David Arnold as a performer represents what visual artwork?", "choices": ["The Proposal", "The World Is Not Enough", "The Book of Eli", "A Prairie Home Companion", "Into the Wild", "Dune", "Pleasantville", "The Lion King", "Wyoming", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Arnold"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soundtrack album"]}, {"function": "Relate", "dependencies": [5], "inputs": ["soundtrack album", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <soundtrack_album> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"soundtrack album\" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> \"David Arnold\" . ?e_3 <country_of_citizenship> ?e_4 . ?e_4 <pred:name> \"United Kingdom\" .   }", "answer": "The World Is Not Enough"}, {"question": "Which area is larger, Clinton County (the one whose population is 37786) or St. Clair County (the one that contains East St. Louis)?", "choices": ["Clinton County", "Montgomery County", "DuPage County", "Monroe County", "McLean County", "Peoria County", "Logan County", "DeKalb County", "St. Clair County", "McHenry County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clinton County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "37786", "="]}, {"function": "Find", "dependencies": [], "inputs": ["East St. Louis"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Clair County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Clinton County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"37786\"^^xsd:double . } UNION { ?e <pred:name> \"St. Clair County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"East St. Louis\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Clair County"}, {"question": "How many popular music presentations have nu metal as a component or an introduction date that is after 1987?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "Find", "dependencies": [], "inputs": ["nu metal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["popular music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1987", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["popular music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"popular music\" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> \"nu metal\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) .  } }", "answer": "34"}, {"question": "Is http://fc.tps.fi/ the official website for the person whose IPI name number is 00046970947 and name is SMITH ROBERT JAMES by which it is recorded?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPI name number", "00046970947"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["named as", "SMITH ROBERT JAMES"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://fc.tps.fi/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <IPI_name_number> ?pv_1 . ?pv_1 <pred:value> \"00046970947\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv_1 ] <named_as> ?qpv . ?qpv <pred:value> \"SMITH ROBERT JAMES\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://fc.tps.fi/\" .  }", "answer": "no"}, {"question": "Which heritage designation has the official website at http://whc.unesco.org/ (the language of this statement is French)?", "choices": ["UNESCO World Heritage Site", "Roger Moore", "Midland", "Francis Bacon", "Virginia", "National Historic Landmark", "Flags of Our Fathers", "Neighbours", "Veronica Mars", "A Clockwork Orange"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://whc.unesco.org/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "French"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["heritage designation"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"heritage designation\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://whc.unesco.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"French\" .  }", "answer": "UNESCO World Heritage Site"}, {"question": "Which person has ISNI 0000 0000 6709 9659?", "choices": ["Patrick O'Neal", "Sylvester Stallone", "Paul Winfield", "John Barry", "John Hughes", "William Henry Harrison", "Max Fleischer", "Nora Ephron", "Richard Gere", "Jack Webb"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6709 9659"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6709 9659\" .  }", "answer": "John Hughes"}, {"question": "What is the relationship between a model and Michael Pitt?", "choices": ["continent", "occupation", "product or material produced", "military rank", "illustrator", "contributing factor of", "office contested", "official religion", "territory overlaps", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Pitt"]}, {"function": "Find", "dependencies": [], "inputs": ["model"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Pitt\" . ?e_2 <pred:name> \"model\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the British Museum person-institution of Erich Ludendorff ?", "choices": ["75906", "45605", "209828", "86622", "29660", "185171", "210104", "129727", "147723", "68366"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Erich Ludendorff"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Erich Ludendorff\" . ?e <British_Museum_person-institution> ?pv .  }", "answer": "209828"}, {"question": "Is The Patriot produced by Ernst Lubitsch longer, or is Summer Wars?", "choices": ["The Polar Express", "Summer Wars", "My-HiME", "Ponyo on the Cliff by the Sea", "Anastasia", "Superman", "Wonder Woman", "A Christmas Carol", "Code Geass", "The Patriot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ernst Lubitsch"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Summer Wars"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Patriot\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Ernst Lubitsch\" .   } UNION { ?e <pred:name> \"Summer Wars\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Summer Wars"}, {"question": "How many names given to females match the name given to Helen Hunt or the name given to Boston-born William Morris ?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Helen Hunt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["female given name"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Morris"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["female given name"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"female given name\" .  { ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Helen Hunt\" .  } UNION { ?e_1 <given_name> ?e . ?e_1 <pred:name> \"William Morris\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Boston\" .  } }", "answer": "2"}, {"question": "What method determines that 324175 is the population of Somerset County whose FIPS 6-4 for US counties is 34035?", "choices": ["estimation process", "register office", "tradition", "Sixth National Population Census of the People's Republic of China", "average", "de facto", "1860 United States Census", "Canada 2011 Census", "Russian Empire Census", "administrative division valid at the moment of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Somerset County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "34035"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "324175", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Somerset County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"34035\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"324175\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many democratic entities observe as a public holiday Serbia's Christian holy day?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serbia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["public holiday", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Christian holy day"]}, {"function": "Relate", "dependencies": [2], "inputs": ["public holiday", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["democracy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <public_holiday> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Christian holy day\" . ?e_2 <public_holiday> ?e_1 . ?e_2 <pred:name> \"Serbia\" .   }", "answer": "7"}, {"question": "What music genre includes Will Smith, who has an ISNI of 0000 0001 1507 289X?", "choices": ["Mandopop", "symphony", "urban contemporary", "film score", "post-punk revival", "experimental rock", "chamber music", "pop punk", "bossa nova", "hip hop music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will Smith"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1507 289X"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["music genre"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Will Smith\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1507 289X\" .   }", "answer": "urban contemporary"}, {"question": "What method determines that 1997659 is the population of the administrative territorial entity whose capital is Las Vegas (whose area is 348.16824 square kilometers)?", "choices": ["Russian Empire Census", "extrapolation", "administrative division valid at the time point of history to which the data relates", "United Kingdom Census 1981", "estimation process", "questionnaire", "Taqdir", "hearth tax", "United Kingdom Census 1991", "census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Las Vegas"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "348.16824 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "1997659", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Las Vegas\" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"348.16824\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1997659\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Where was For Flags of Our Fathers published on 18th January 2007?", "choices": ["Estonia", "Chile", "Brazil", "Russia", "Germany", "Kingdom of the Netherlands", "Stockholm", "Berlin International Film Festival", "Greece", "Portal:Belgium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flags of Our Fathers"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2007-01-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Flags of Our Fathers\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-01-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which metropolitan area that is located in California (that is the filming location of Zoolander) has the largest population?", "choices": ["Chicago metropolitan area", "Portland metropolitan area", "Washington metropolitan area", "San Francisco Bay Area", "Greater Los Angeles Area", "New York metropolitan area", "New Orleans metropolitan area", "Greater Houston", "Greater St. Louis", "Seattle metropolitan area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zoolander"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"California\" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> \"Zoolander\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greater Los Angeles Area"}, {"question": "What is the relationship between the military officer Napoleon and the Order of the Elephant?", "choices": ["officially opened by", "distribution", "subsidiary", "basin country", "costume designer", "candidate", "godparent", "cites", "owner of", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["military officer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Napoleon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Order of the Elephant"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Napoleon\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"military officer\" . ?e_2 <pred:name> \"Order of the Elephant\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which one, Lester Holt or Ellen Burstyn, has the less number of children?", "choices": ["Max Fleischer", "William Henry Harrison", "Lester Holt", "David Byrne", "Simon Cowell", "Richard Gere", "Ellen Burstyn", "James E. Reilly", "Paul Simon", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lester Holt"]}, {"function": "Find", "dependencies": [], "inputs": ["Ellen Burstyn"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lester Holt\" .  } UNION { ?e <pred:name> \"Ellen Burstyn\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ellen Burstyn"}, {"question": "Was the album, whose genre is grunge, published before 2009 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["grunge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2009", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"grunge\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  }", "answer": "yes"}, {"question": "What is the connection between Doctor Zhivago (the one that received Grammy Award for Best Score Soundtrack for Visual Media) to Carlo Ponti, Sr.?", "choices": ["product or material produced", "officeholder", "exported to", "producer", "part of the series", "noble title", "country for sport", "position played on team / speciality", "official residence", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Score Soundtrack for Visual Media"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Zhivago"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Carlo Ponti, Sr."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Doctor Zhivago\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Grammy Award for Best Score Soundtrack for Visual Media\" . ?e_2 <pred:name> \"Carlo Ponti, Sr.\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "How many TV networks have the Twitter username Telemundo or the country South Korea?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Telemundo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television network"]}, {"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television network"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> \"Telemundo\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"South Korea\" .  } }", "answer": "2"}, {"question": "When did Richard Attenborough finish his studies at Royal Academ off Dramatic Art?", "choices": ["1942", "1928-08-12", "634", "1945-04-01", "2007-12-19", "1918-10-28", "1986-02-06", "1681-09-29", "1876", "2008-03-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Attenborough"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Academy of Dramatic Art"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Attenborough\" . ?e_2 <pred:name> \"Royal Academy of Dramatic Art\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1942"}, {"question": "What is the ISNI of Hammer Film Productions?", "choices": ["0000 0000 7650 1988", "0000 0000 9683 3066", "0000 0004 0436 0070", "0000 0004 0412 9987", "0000 0001 2191 3894", "0000 0001 1579 0779", "0000 0001 2021 7424", "0000 0000 8106 3396", "0000 0001 2281 9007", "0000 0000 7979 7630"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hammer Film Productions"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hammer Film Productions\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2191 3894"}, {"question": "Does ISNI 0000 0001 1613 4343 denote the cast member of This Is England?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["This Is England"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1613 4343"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"This Is England\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1613 4343\" .  }", "answer": "yes"}, {"question": "Why does the statement, that the ISNI of a person buried in Ticino is  0000 0003 6864 0824, should be considered deprecated ?", "choices": ["not been able to confirm this claim", "withdrawn identifier value", "applies to other person", "anachronism", "retraction", "forgery", "error in referenced source", "does not exactly match", "former entity", "applies to other compound"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ticino"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ISNI", "0000 0003 6864 0824", "reason for deprecation"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_burial> ?e_1 . ?e_1 <pred:name> \"Ticino\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6864 0824\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISNI> ; <pred:fact_t> ?pv ] <reason_for_deprecation> ?qpv .  }", "answer": "applies to other compound"}, {"question": "How is Asia, which is on the same continent as Ancient Greece, related to Indore?", "choices": ["owned by", "update method", "original language of film or TV show", "place of death", "instrumentation", "vehicle normally used", "interests", "continent", "country of citizenship", "signatory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indore"]}, {"function": "Find", "dependencies": [], "inputs": ["Ancient Greece"]}, {"function": "Relate", "dependencies": [1], "inputs": ["continent", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Asia"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Indore\" . ?e_2 <pred:name> \"Asia\" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> \"Ancient Greece\" . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "Of cities in Pennsylvania located in Eastern Time Zone, which one is the smallest by area ?", "choices": ["York", "Johnstown", "Chester", "Greensburg", "Pittsburgh", "Easton", "Harrisburg", "Philadelphia", "Wilkes-Barre", "Scranton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern Time Zone\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Easton"}, {"question": "What is the connection between IF Elfsborg to association football?", "choices": ["next higher rank", "costume designer", "indigenous to", "sport", "place of death", "cause of death", "presenter", "famous people", "basin country", "production designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["IF Elfsborg"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"IF Elfsborg\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the connection between Mike Scully to Springfield (the one whose area is 85.681505 square kilometre)?", "choices": ["has immediate cause", "original language of film or TV show", "place of birth", "illustrator", "family", "founded by", "vehicle normally used", "capital of", "afflicts", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Scully"]}, {"function": "Find", "dependencies": [], "inputs": ["Springfield"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "85.681505 square kilometre", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mike Scully\" . ?e_2 <pred:name> \"Springfield\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"85.681505\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which republic whose marriageable age is over 20 years old has the lowest real gross domestic product rate of growth?", "choices": ["Zambia", "India", "Liberia", "Rwanda", "Zimbabwe", "Mozambique", "Namibia", "Sierra Leone", "Colombia", "Bolivia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["marriageable age", "20 years old", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["real gross domestic product growth rate", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <marriageable_age> ?pv_1 . ?pv_1 <pred:unit> \"years old\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"20\"^^xsd:double ) . ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Liberia"}, {"question": "For what did Jim Broadbent get nominated for Academy Award for Best Supporting Actor?", "choices": ["The Portrait of a Lady", "Heavy Weather", "The Heartbreak Kid", "They Were Expendable", "Need You Tonight", "Hudson Hawk", "I, Tonya", "Cat Ballou", "From A to Z-Z-Z-Z", "Iris"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Broadbent"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jim Broadbent\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Iris"}, {"question": "What relation type does NQ 2545 - NQ 2795, the Regensburg Classification of the war that is the main subject of The Thin Red Line (which was nominated for an Academy Award for Best Sound Mixing) map to?", "choices": ["United States Census", "1850-12-13", "narrow match", "202100-2932", "exact match", "John Wilkes Booth", "close match", "cambridge_uni", "broad match", "yes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Thin Red Line"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["war"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["Regensburg Classification", "NQ 2545 - NQ 2795", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"The Thin Red Line\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" .  ?e <Regensburg_Classification> ?pv . ?pv <pred:value> \"NQ 2545 - NQ 2795\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Regensburg_Classification> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "narrow match"}, {"question": "What is the ISNI of the person whose name in native language is Robert Klein?", "choices": ["0000 0004 0433 6919", "0000 0001 1031 7018", "0000 0000 6671 4306", "0000 0001 2127 5298", "0000 0001 2098 1238", "0000 0001 0916 8967", "0000 0001 2114 305X", "0000 0001 0656 9431", "0000 0001 2168 0066", "0000 0001 2144 1049"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Robert Klein"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Robert Klein\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1031 7018"}, {"question": "What is the ARCHON code for Corpus Christi College, which was founded 1352-01-01?", "choices": ["923", "2938", "946", "979", "2631", "1114", "397", "2703", "1930", "1288"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Corpus Christi College"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1352-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ARCHON code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Corpus Christi College\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1352-01-01\"^^xsd:date . ?e <ARCHON_code> ?pv .  }", "answer": "2938"}, {"question": "Folic acid or L-Valine, which one's melting point is higher?", "choices": ["thiamine ion", "L-Arginine", "stearic acid", "cis-oleic acid", "L-Valine", "folic acid", "L-alanine", "L-Leucine", "palmitic acid", "capric acid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["folic acid"]}, {"function": "Find", "dependencies": [], "inputs": ["L-Valine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["melting point", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"folic acid\" .  } UNION { ?e <pred:name> \"L-Valine\" .  } ?e <melting_point> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "L-Valine"}, {"question": "What is the link between September (whose name is wrze\u015bnia) and August (that is named after Augustus)?", "choices": ["natural product of taxon", "follows", "home venue", "architect", "approved by", "exported to", "member of", "director", "academic degree", "partner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["September"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name", "wrze\u015bnia"]}, {"function": "Find", "dependencies": [], "inputs": ["Augustus"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["August"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"September\" . ?e_1 <name> ?pv . ?pv <pred:value> \"wrze\u015bnia\" . ?e_2 <pred:name> \"August\" . ?e_2 <named_after> ?e_3 . ?e_3 <pred:name> \"Augustus\" . ?e_1 ?p ?e_2 .  }", "answer": "follows"}, {"question": "Which human settlement (whose local dialing code is 973) has the smallest population?", "choices": ["Wexford", "Verona", "Red Bank", "Belleville", "Princeton", "West Orange", "North Hollywood", "Montclair", "Livingston", "Whanganui"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "973"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"973\" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Livingston"}, {"question": "What is the number of mythical creatures that are the major topic of the film that received a Saturn Award for Best Costume in the year 1992?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Costume"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1992", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mythical creature"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mythical creature\" . ?e_1 <main_subject> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Saturn Award for Best Costume\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_3 ] <point_in_time> ?qpv . ?qpv <pred:year> 1992 .   }", "answer": "1"}, {"question": "What is the number of software that has the operating system Linux and the official website https://www.apple.com/tw/ios/", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Linux"]}, {"function": "Relate", "dependencies": [0], "inputs": ["operating system", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.apple.com/tw/ios/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["software"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" . ?e <operating_system> ?e_1 . ?e_1 <pred:name> \"Linux\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.apple.com/tw/ios/\" .  }", "answer": "0"}, {"question": "Which association football club's abbreviated name is \u039b\u03b5\u03b2\u03b1\u03b4\u03b5\u03b9\u03b1\u03ba\u03cc\u03c2?", "choices": ["Ayr United F.C.", "Zamalek SC", "RKC Waalwijk", "Middlesbrough F.C.", "PSV Eindhoven", "Stade Brestois 29", "Levadiakos F.C.", "FC Chornomorets Odesa", "Brisbane Roar FC", "Alianza Lima"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u039b\u03b5\u03b2\u03b1\u03b4\u03b5\u03b9\u03b1\u03ba\u03cc\u03c2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u039b\u03b5\u03b2\u03b1\u03b4\u03b5\u03b9\u03b1\u03ba\u03cc\u03c2\" .  }", "answer": "Levadiakos F.C."}, {"question": "Is the Munzinger IBA of Al Gore 00000020356 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Gore"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["00000020356"]}], "sparql": "ASK { ?e <pred:name> \"Al Gore\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020356\" .  }", "answer": "yes"}, {"question": "When did Suzhou become the twinned administrative body of Kiev?", "choices": ["1979-03-07", "1896-04-06", "1992-02-18", "1974-07-30", "1990-08-05", "1977-05-20", "1860-03-22", "1971-03-26", "2013-03-05", "2005-06-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suzhou"]}, {"function": "Find", "dependencies": [], "inputs": ["Kiev"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Suzhou\" . ?e_2 <pred:name> \"Kiev\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2005-06-14"}, {"question": "Which association football club has a headquarter location in Basel?", "choices": ["A.C. ChievoVerona", "University of Basel", "Stade Brestois 29", "Zamalek SC", "Dunfermline Athletic F.C.", "Viborg FF", "Club Atlas", "Middlesbrough F.C.", "Crystal Palace F.C.", "FC Basel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Basel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Basel\" .   }", "answer": "FC Basel"}, {"question": "Out of the counties in Alabama that share a border with Florida, which one has the smallest area?", "choices": ["Madison County", "Jackson County", "Washington County", "Jefferson County", "Shelby County", "Dallas County", "Baldwin County", "Mobile County", "Montgomery County", "Monroe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Alabama\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Florida\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "What administrative territorial entity is Paterson (the one whose postal code is 07501), where David Silverman (the one whose birth name is David Marshall Silverman) was born, located in?", "choices": ["Perm Governorate", "Duchy of Rome", "New Jersey", "North Rhine-Westphalia", "Archbishopric of Salzburg", "Germany", "Nevada", "Rhine Province", "Louisiana", "Lithuanian Soviet Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Silverman"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "David Marshall Silverman"]}, {"function": "Find", "dependencies": [], "inputs": ["Paterson"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["postal code", "07501"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Silverman\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"David Marshall Silverman\" . ?e_2 <pred:name> \"Paterson\" . ?e_2 <postal_code> ?pv_1 . ?pv_1 <pred:value> \"07501\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "New Jersey"}, {"question": "How is Think Like a Man connected to Kelly Rowland?", "choices": ["given name", "platform", "sport", "significant event", "next higher rank", "board member", "cast member", "place of burial", "enclave within", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Think like a Man"]}, {"function": "Find", "dependencies": [], "inputs": ["Kelly Rowland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Think like a Man\" . ?e_2 <pred:name> \"Kelly Rowland\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many associations are registered with the Toei Company and were founded by Benjamin Franklin (who received the Copley Medal)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toei Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association"]}, {"function": "Find", "dependencies": [], "inputs": ["Copley Medal"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["association"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> \"Toei Company\" .  ?e <founded_by> ?e_2 . ?e_2 <pred:name> \"Benjamin Franklin\" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> \"Copley Medal\" .  }", "answer": "0"}, {"question": "Out of the theatrical works having less than 420 episodes, which has had the largest number of seasons?", "choices": ["The Monkees", "The Golden Girls", "farce", "Richmond", "Mr. Smith Goes to Washington", "New Age", "comedy of manners", "stand-up comedy", "barrister", "Hilary and Jackie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "420", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"420\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "How many MTV Video Music Awards did Eminem win?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eminem"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Video Music Award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Eminem\" .   }", "answer": "5"}, {"question": "What is the Munzinger IBA of the executive producer of Killers (which features Alex Borstein as a cast member)?", "choices": ["00000018512", "00000020945", "00000021158", "00000019552", "00000018258", "00000027961", "00000002256", "00000029476", "00000025172", "00000000767"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alex Borstein"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Killers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:name> \"Killers\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Alex Borstein\" .  ?e <Munzinger_IBA> ?pv .  }", "answer": "00000027961"}, {"question": "What higher learning institution's headquarters location is Tartu in the country of Estonia and number of students is not 51000?", "choices": ["Panjab University", "University of Tartu", "King's College London", "University of Manchester", "McNeese State University", "Pennsylvania State University", "University of Tehran", "Imperial College London", "University of Melbourne", "Presidency University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tartu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["country", "Estonia"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["higher education institution"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["students count", "51000", "!="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["higher education institution"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Tartu\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <country> ?qpv . ?qpv <pred:value> \"Estonia\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"51000\"^^xsd:double ) .  }", "answer": "University of Tartu"}, {"question": "What is Syria's national association football team?", "choices": ["Senegal national football team", "Syria national football team", "Russians", "Guyana national football team", "Malaysia national football team", "Hong Kong national football team", "Malta national football team", "South Korea national football team", "Arabic", "Aleppo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Syria\" .   }", "answer": "Syria national football team"}, {"question": "How many private not-for-profit educational institutions are registered with http://www.irs.gov?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.irs.gov"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "Relate", "dependencies": [3], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private not-for-profit educational institution"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private not-for-profit educational institution\" . ?e <registered_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"agent\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.irs.gov\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "9"}, {"question": "What is the birth name of the person whose ISNI is 0000 0001 2141 944X?", "choices": ["James Todd Spader", "Carolyn Janice Cherry", "Richard Starkey", "Mary Wollstonecraft Godwin", "Frank Lincoln Wright", "Jacob Warner", "Carrie Frances Fisher", "A\u043d\u043d\u0430 \u042d\u043b\u0438\u0437\u0430\u0431\u0435\u0442 \u0413\u0438\u0448", "Brendan James Fraser", "Arthur Ignatius Conan Doyle"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2141 944X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2141 944X\" . ?e <birth_name> ?pv .  }", "answer": "James Todd Spader"}, {"question": "When was Pat Hingle was nominated for Tony Award for Best Featured Actor in a Play?", "choices": ["1958", "1755-12-01", "1891", "2018-04-30", "1771-01-01", "2010-04-01", "1800-12-01", "2009-05-31", "2010-06-07", "2018-04-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pat Hingle"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Pat Hingle\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actor in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1958"}, {"question": "Is 0000 0001 2278 393X the ISNI for the person that is a relative of Peter Fonda?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Fonda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["relative", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2278 393X"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <relative> ?e_1 . ?e_1 <pred:name> \"Peter Fonda\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2278 393X\" .  }", "answer": "yes"}, {"question": "Is guitarist Charlie Daniels designated by ISNI 0000 0001 0242 813X ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Daniels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 0242 813X"]}], "sparql": "ASK { ?e <pred:name> \"Charlie Daniels\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"guitarist\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0242 813X\" .  }", "answer": "no"}, {"question": "How many many professions comprise the main subject of a movie where John F. Kennedy is among cast members?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John F. Kennedy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["profession"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <main_subject> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"John F. Kennedy\" .   }", "answer": "1"}, {"question": "Of New York cities that are not 220 meters above sea level, which has the biggest populace?", "choices": ["Auburn", "Buffalo", "Glens Falls", "Syracuse", "Ithaca", "White Plains", "Utica", "Elmira", "Long Beach", "Glen Cove"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "220 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"220\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Buffalo"}, {"question": "What film was written by Dario Argento?", "choices": ["Brokeback Mountain", "Talk to Her", "Eternal Sunshine of the Spotless Mind", "The Phantom of the Opera", "Night at the Museum: Battle of the Smithsonian", "Babylon 5: The Gathering", "A Prairie Home Companion", "Changeling", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dario Argento"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Dario Argento\" .   }", "answer": "The Phantom of the Opera"}, {"question": "What is the connection between Band of Brothers to Michael Kamen?", "choices": ["natural product of taxon", "sponsor", "applies to jurisdiction", "draft pick from school", "contributor(s) to the creative work", "cast member", "composer", "academic degree", "location", "league"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Band of Brothers"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Kamen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Band of Brothers\" . ?e_2 <pred:name> \"Michael Kamen\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Is the postal code of Lancaster, where the University of Lancaster is located, 21218-2688 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Lancaster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lancaster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["21218-2688"]}], "sparql": "ASK { ?e <pred:name> \"Lancaster\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"University of Lancaster\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"21218-2688\" .  }", "answer": "no"}, {"question": "How is Step Brothers related to Los Angeles?", "choices": ["currency", "member of", "narrative location", "located on terrain feature", "manufacturer", "partially contains", "source of material", "feast day", "captain", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Step Brothers"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Step Brothers\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Taekwondo is associated with how many baseball player positions?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["taekwondo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball position"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball position\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"taekwondo\" .   }", "answer": "0"}, {"question": "What is the count of politicians who are Vice President of the U.S. or who have \u0b9a\u0bc1\u0baf\u0bc7 as a shortened name?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u0b9a\u0bc1\u0baf\u0bc7"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["politician"]}, {"function": "Find", "dependencies": [], "inputs": ["Vice President of the United States"]}, {"function": "Relate", "dependencies": [3], "inputs": ["subject has role", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["politician"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"politician\" .  { ?e <short_name> ?pv . ?pv <pred:value> \"\u0b9a\u0bc1\u0baf\u0bc7\" .  } UNION { ?e_1 <subject_has_role> ?e . ?e_1 <pred:name> \"Vice President of the United States\" .  } }", "answer": "2"}, {"question": "Is Malcolm Arnold's date of death before 1994?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malcolm Arnold"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1994", "<"]}], "sparql": "ASK { ?e <pred:name> \"Malcolm Arnold\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  }", "answer": "no"}, {"question": "Which movie made less at the box office, Water for Elephants or Moon (the one whose cost is 5000000 United States dollar)?", "choices": ["Moon", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca", "Talk to Her", "Curse of the Golden Flower", "The Towering Inferno", "Training Day", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Water for Elephants"]}, {"function": "Find", "dependencies": [], "inputs": ["Moon"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["cost", "5000000 United States dollar", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Water for Elephants\" . } UNION { ?e <pred:name> \"Moon\" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"5000000\"^^xsd:double . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Moon"}, {"question": "Is the publication date of the visual artwork whose production company is Will Ferrell prior to the year 2016 in the publication region Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will Ferrell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2016", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Will Ferrell\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2016 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "What action game falls within the same genre as an entertainment piece whose publication date is on 1st January 2010 ?", "choices": ["Harry Potter and the Half-Blood Prince", "Shrek Forever After", "third-person shooter", "Battleship", "Batman", "beat 'em up", "music video game", "platform game", "light gun shooter", "Guitar Hero 5"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2010-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["action game"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"action game\" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"entertainment\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2010-01-01\"^^xsd:date .   }", "answer": "light gun shooter"}, {"question": "Tell me the number of republics that partially have the river that has Ukraine as a country", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "Relate", "dependencies": [2], "inputs": ["partially contains", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["republic"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <partially_contains> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"river\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"Ukraine\" .   }", "answer": "5"}, {"question": "Tell me the one with the least area within the administrative territorial entity of Canada that is separate from Northwest Territories.", "choices": ["Northwest Territories", "Durham", "Chester", "The League of Extraordinary Gentlemen", "Jury Prize", "Essex County", "Nunavut", "Hartford County", "Goldman Sachs", "Yukon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northwest Territories"]}, {"function": "Relate", "dependencies": [0], "inputs": ["separated from", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <separated_from> ?e_1 . ?e_1 <pred:name> \"Northwest Territories\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Yukon"}, {"question": "How many counties in Arizona are located in Oklahoma or have an inception time after 1891?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oklahoma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1891", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Arizona"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Oklahoma\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1891 ) .  } }", "answer": "2"}, {"question": "What is the time point of a population of 29964 for the county of Illinois whose official website is http://www.co.logan.il.us?", "choices": ["2016-09-30", "1811", "2012-03-01", "2013-07-01", "1369", "1980-04-01", "2009-10-16", "1885-12-01", "2013-01-01", "2003-09-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.logan.il.us"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "29964", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.logan.il.us\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"29964\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "What is the official website for the person whose ISNI is 0000 0001 1677 6434?", "choices": ["http://www.stevejobsthefilm.com", "http://www.dubai.ae", "http://www.royorbison.com", "https://www.ccmc.gov.in/", "http://www.foxjapan.com/movies/whatliesbeneath/phase1/splash.html", "http://www.corbinbleu.com", "http://www.stv.tv", "http://www.bjp.org/", "http://www.topgear.com/", "http://www.tiffanithiessen.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1677 6434"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1677 6434\" . ?e <official_website> ?pv .  }", "answer": "http://www.tiffanithiessen.com/"}, {"question": "What is the connection between dance-pop to Nicole Scherzinger?", "choices": ["home port", "collection", "conferred by", "published in", "next higher rank", "famous people", "seed team", "doctoral advisor", "substitute/deputy/replacement of office/officeholder", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dance-pop"]}, {"function": "Find", "dependencies": [], "inputs": ["Nicole Scherzinger"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"dance-pop\" . ?e_2 <pred:name> \"Nicole Scherzinger\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the native language name of Ben Foster (the one that is a member of West Bromwich Albion F.C.)?", "choices": ["Mani Ratnam", "Ben Foster", "Jonathan Forte", "John Powell", "Dan Simmons", "Saul Bellow", "Neil Patrick Harris", "Dick Clark", "Isabelle Huppert", "Kiefer Sutherland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Bromwich Albion F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ben Foster\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"West Bromwich Albion F.C.\" .  ?e <name_in_native_language> ?pv .  }", "answer": "Ben Foster"}, {"question": "How many award ceremonies have the edition number of 35 or follow the 13th Screen Actors Guild Awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "35"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "Find", "dependencies": [], "inputs": ["13th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" .  { ?e <edition_number> ?pv . ?pv <pred:value> \"35\" .  } UNION { ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"13th Screen Actors Guild Awards\" .  } }", "answer": "2"}, {"question": "What is the connection between Soundgarden to Led Zeppelin (the one whose dissolution date is 1980-12-04)?", "choices": ["tributary", "influenced by", "color", "ancestral home", "had as last meal", "performer", "position played on team / speciality", "opposite of", "maintained by", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Soundgarden"]}, {"function": "Find", "dependencies": [], "inputs": ["Led Zeppelin"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["dissolved, abolished or demolished", "1980-12-04", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Soundgarden\" . ?e_2 <pred:name> \"Led Zeppelin\" . ?e_2 <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:date> \"1980-12-04\"^^xsd:date . ?e_1 ?p ?e_2 .  }", "answer": "influenced by"}, {"question": "What is the release region of the film whose exploitation visa number is 120772 starting on the date 2008-06-26?", "choices": ["2008 Toronto International Film Festival", "Finland", "Quebec", "United Kingdom", "Germany", "Netherlands", "Sorrento", "Denmark", "Toronto", "German Democratic Republic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "120772"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2008-06-26", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2008-09-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"120772\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"2008-06-26\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-09-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does FIPS 6-4 (US counties) code 51630 correspond to the independent city with the English-language website www.fredericksburgva.gov?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fredericksburgva.gov"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["independent city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["51630"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fredericksburgva.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"51630\" .  }", "answer": "yes"}, {"question": "What is the height of Howard the Duck who was performed by Seth Green?", "choices": ["198 centimetre", "64 inch", "167.64 centimetre", "746 foot", "185 centimetre", "204 centimetre", "163 centimetre", "79 centimetre", "71 inch", "170 centimetre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seth Green"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Howard the Duck"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Howard the Duck\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Seth Green\" .  ?e <height> ?pv .  }", "answer": "79 centimetre"}, {"question": "What is the OSM tag or key of swimming?", "choices": ["Tag:denomination=roman_catholic", "Tag:religion=scientologist", "Tag:denomination=united_church_of_christ", "Tag:healthcare:speciality=community", "Tag:religion=unitarian_universalist", "Tag:sport=swimming", "Tag:sport=chess", "Tag:healthcare:speciality=general", "Tag:denomination=evangelical", "Key:genus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["swimming"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OSM tag or key"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"swimming\" . ?e <OSM_tag_or_key> ?pv .  }", "answer": "Tag:sport=swimming"}, {"question": "Was Anna Karenina (originally written in Hungarian) published in 1918?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungarian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1918", "="]}], "sparql": "ASK { ?e <pred:name> \"Anna Karenina\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Hungarian\" .  ?e <publication_date> ?pv . ?pv <pred:year> 1918 .  }", "answer": "yes"}, {"question": "Which sovereign state has the largest nominal GDP per capita and has heavy metal?", "choices": ["Samoa", "Russian Soviet Federative Socialist Republic", "Kiribati", "United Kingdom", "Weimar Republic", "Socialist Federal Republic of Yugoslavia", "Switzerland", "Benin", "United States of America", "Cambodia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["heavy metal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["indigenous to", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["nominal GDP per capita", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <indigenous_to> ?e . ?e_1 <pred:name> \"heavy metal\" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "United States of America"}, {"question": "What is the connection between Jeff Bennett (the one that has the occupation of actor) to Houston (the one that is the twinned administrative body of Taipei)?", "choices": ["located on astronomical location", "political ideology", "partially contains", "color", "place of birth", "father", "properties for this type", "killed by", "commander of", "developer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeff Bennett"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Taipei"]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Houston"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jeff Bennett\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_2 <pred:name> \"Houston\" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> \"Taipei\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Did the composer of South Pacific, with Leon Shamroy as director of photography, die subsequent to 1723 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leon Shamroy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["South Pacific"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1723", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"South Pacific\" . ?e_1 <director_of_photography> ?e_2 . ?e_2 <pred:name> \"Leon Shamroy\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1723 ) .  }", "answer": "yes"}, {"question": "Does the United States city that Charles Dutton was born in have a PermID of 5000391820?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles S. Dutton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PermID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["5000391820"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Charles S. Dutton\" .  ?e <PermID> ?pv . ?pv <pred:value> \"5000391820\" .  }", "answer": "yes"}, {"question": "Of ceremonial English counties occupying under 9700 square kilometers, which takes up the least area?", "choices": ["Staffordshire", "Norfolk", "West Yorkshire", "Warwickshire", "Derbyshire", "Dorset", "Essex", "Kent", "Tyne and Wear", "Suffolk"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "9700 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"9700\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tyne and Wear"}, {"question": "Which visual artwork titled Wag the Dog was not released in the USA in 1984?", "choices": ["X-Men Origins: Wolverine", "Pleasantville", "The Towering Inferno", "Wag the Dog", "Talk to Her", "Four Rooms", "Logan", "A Prairie Home Companion", "The Lost World: Jurassic Park", "Notting Hill"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Wag the Dog"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1984", "!="]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["place of publication", "United States of America"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Wag the Dog\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1984 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "Wag the Dog"}, {"question": "Tell me the city that has the country the sovereign state with the demonym Cambodgien", "choices": ["Phnom Penh", "Kumasi", "Burnaby", "Khmer", "Pyongyang", "Jerusalem", "Cambodia", "Shimla", "Winchester", "Moncton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Cambodgien"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"Cambodgien\" .   }", "answer": "Phnom Penh"}, {"question": "What is the date of birth of the person who is a member of Watford F.C., starting on the date 1958-01-01?", "choices": ["1929-01-29", "1896-01-20", "1942-11-20", "1934-05-13", "1925-02-03", "1983-10-26", "1972-06-06", "1902-08-14", "1765-02-17", "1963-08-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watford F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1958-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Watford F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1958-01-01\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1934-05-13"}, {"question": "Does The Little Mermaid, which debuted 1992-09-11, or Last of the Summer Wine boast the larger episode count?", "choices": ["Bleak House", "Game of Thrones", "Last of the Summer Wine", "The Little Mermaid", "Six Feet Under", "Seinfeld", "Phineas and Ferb", "Saturday Night's Main Event", "Dancing with the Stars", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Little Mermaid"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1992-09-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Last of the Summer Wine"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Little Mermaid\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1992-09-11\"^^xsd:date . } UNION { ?e <pred:name> \"Last of the Summer Wine\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Last of the Summer Wine"}, {"question": "Did the gang-themed Gangs of New York or did Pulp Fiction perform worse at the box office?", "choices": ["Gangs of New York", "A Prairie Home Companion", "Talk to Her", "Pulp Fiction", "Pleasantville", "The Towering Inferno", "The Hunchback of Notre Dame", "Training Day", "Rebecca", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["gang"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gangs of New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pulp Fiction"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gangs of New York\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"gang\" .   } UNION { ?e <pred:name> \"Pulp Fiction\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gangs of New York"}, {"question": "What is the subject of a statement 'The Prestige was nominated for Academy Award for Best Production Design'?", "choices": ["Iraq\u2013Russia relations", "Sudan\u2013Turkey relations", "79th Academy Awards", "Russia\u2013Slovakia relations", "South Korea\u2013Switzerland relations", "Philippines\u2013European Union relations", "20th Tony Awards", "Japan\u2013Portugal relations", "Ukrainian alphabet", "Ethiopia\u2013Mexico relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Prestige"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Prestige\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "79th Academy Awards"}, {"question": "How is Tinker Tailor Soldier Spy (the one whose production company is Canal+) related with European Film Award for Best Composer ?", "choices": ["maintained by", "kit supplier", "operating area", "production designer", "model item", "head coach", "nominated for", "cites", "practiced by", "mascot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canal+"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tinker Tailor Soldier Spy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["European Film Award for Best Composer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tinker Tailor Soldier Spy\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Canal+\" . ?e_2 <pred:name> \"European Film Award for Best Composer\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What is the title of Tuvalu (the one whose duration is 92 minute)?", "choices": ["Cats & Dogs", "Hannibal Rising", "Lady Sings the Blues", "Neighbours", "Tuvalu", "Wonder Boys", "Meet Joe Black", "Happy-Go-Lucky", "Jack Reacher", "Shrek Forever After"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuvalu"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "92 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tuvalu\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"92\"^^xsd:double . ?e <title> ?pv .  }", "answer": "Tuvalu"}, {"question": "What is the official website of the political party that David Byrne, who was born in Sydney, belongs to?", "choices": ["http://detroit.tigers.mlb.com/", "http://www.hbo.com/movies/game-change/index.html", "https://www.olympic.org/tokyo-1964", "https://www.facebook.com/DwayneJohnson?fref=ts", "http://www.satriani.com", "http://www.liberal.org.au", "http://www.herbiehancock.com", "https://www.apple.com/cn/ios/", "http://www.sonypictures.com/movies/click", "http://duranduran.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sydney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of political party", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["political party"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> \"David Byrne\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Sydney\" .  ?e <official_website> ?pv .  }", "answer": "http://www.liberal.org.au"}, {"question": "How many government forms are partially contained by the geographic region that is Man of Steel's narrative location?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Man of Steel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Relate", "dependencies": [2], "inputs": ["partially contains", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["form of government"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e_1 <partially_contains> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"geographic region\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"Man of Steel\" .   }", "answer": "1"}, {"question": "What number of soundtrack albums were published after 1995?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1995", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1995 ) .  }", "answer": "7"}, {"question": "Was the population for the county of Virginia whose FIPS 6-4 (US counties) is 51199 less than 2,400,000,000 as of 2012-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "51199"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Virginia"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2012-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2400000000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"51199\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"2400000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How many ice hockey teams have a founding year different from 1991?", "choices": ["45", "46", "47", "48", "49", "50", "51", "52", "53", "54"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1991", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ice hockey team"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  }", "answer": "45"}, {"question": "What university has street address 5221 Cheadle Hall, Santa Barbara, CA, 93106 ?", "choices": ["McNeese State University", "University of Miami", "North Carolina Central University", "University of California, Santa Barbara", "Binghamton University", "California Institute of Technology", "University of Manchester", "Imperial College London", "Pennsylvania State University", "East Carolina University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "5221 Cheadle Hall, Santa Barbara, CA, 93106"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_at_street_address> ?pv . ?pv <pred:value> \"5221 Cheadle Hall, Santa Barbara, CA, 93106\" .  }", "answer": "University of California, Santa Barbara"}, {"question": "Does The Count of Monte Cristo (the one whose duration is 180 minute) or The Savages has greater duration ?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "The Count of Monte Cristo", "The Towering Inferno", "The Savages", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Count of Monte Cristo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "180 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Savages"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Count of Monte Cristo\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"180\"^^xsd:double . } UNION { ?e <pred:name> \"The Savages\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Count of Monte Cristo"}, {"question": "Which has more area, Africa whose demonym is \u0561\u0586\u0580\u056b\u056f\u0561\u0581\u056b or Oceania?", "choices": ["Oceania", "Lake District", "Africa", "Antarctica", "Caribbean", "South America", "Atlantic Canada", "Pacific Ocean", "Transylvania", "Southern California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Africa"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0561\u0586\u0580\u056b\u056f\u0561\u0581\u056b"]}, {"function": "Find", "dependencies": [], "inputs": ["Oceania"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Africa\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u0561\u0586\u0580\u056b\u056f\u0561\u0581\u056b\" . } UNION { ?e <pred:name> \"Oceania\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Africa"}, {"question": "What is the relationship between Rush Hour 3 to Rush Hour (the one that contains Rush Hour 3)?", "choices": ["coextensive with", "child astronomical body", "part of the series", "game mode", "position held", "public holiday", "model item", "platform", "history of topic", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rush Hour 3"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush Hour 3"]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush Hour"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rush Hour 3\" . ?e_2 <pred:name> \"Rush Hour\" . ?e_3 <part_of_the_series> ?e_2 . ?e_3 <pred:name> \"Rush Hour 3\" . ?e_1 ?p ?e_2 .  }", "answer": "part of the series"}, {"question": "Tell me the one with a smaller duration, Family Plot or Heart (which has a 95 minute duration)", "choices": ["Talk to Her", "The Fifth Element", "A Prairie Home Companion", "Heart", "Pleasantville", "Rebecca", "The Towering Inferno", "Family Plot", "Training Day", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Plot"]}, {"function": "Find", "dependencies": [], "inputs": ["Heart"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "95 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Family Plot\" . } UNION { ?e <pred:name> \"Heart\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"95\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Heart"}, {"question": "Is the elevation lower in the Surrey officially named City of Surrey, or in Ballarat?", "choices": ["Kingston", "Trieste", "Bergen", "Dundee", "Cork", "Kilkenny", "Abidjan", "Santo Domingo", "Chihuahua", "Surrey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Surrey"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "City of Surrey"]}, {"function": "Find", "dependencies": [], "inputs": ["Ballarat"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Surrey\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"City of Surrey\" . } UNION { ?e <pred:name> \"Ballarat\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Surrey"}, {"question": "Regarding Christian (who has a given name of Christian Slater), tell me the Cologne phonetic code.", "choices": ["15", "37274", "05", "11", "6766", "238", "0548627", "57", "56", "47826"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christian Slater"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Christian"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Cologne phonetics"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Christian\" . ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Christian Slater\" .  ?e <Cologne_phonetics> ?pv .  }", "answer": "47826"}, {"question": "Of feature films released more recently than 2010, which is longest?", "choices": ["Beauty and the Beast", "G-Force", "Secretariat", "Cinderella", "John Carter", "Alvin and the Chipmunks: Chipwrecked", "Tron: Legacy", "Old Dogs", "Pirates of the Caribbean: On Stranger Tides", "Prince of Persia: The Sands of Time"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2010", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2010 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pirates of the Caribbean: On Stranger Tides"}, {"question": "Which one,  Fort Worth (the one whose local dialing code is 682) or Bradenton, has less elevation (above sea level)?", "choices": ["New Haven", "Fort Worth", "Boulder", "Waukegan", "Compton", "Bradenton", "Columbus", "Greenville", "Oakland", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Worth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "682"]}, {"function": "Find", "dependencies": [], "inputs": ["Bradenton"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fort Worth\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"682\" . } UNION { ?e <pred:name> \"Bradenton\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bradenton"}, {"question": "When did Jaipur become the capital of Rajasthan (whose Dewey Decimal Classification is 2--544)?", "choices": ["1959-08-21", "2015-11-24", "1727", "2001", "1993-05-27", "1978-12-18", "1799-07-27", "1956-01-01", "1989-04-22", "1861-04-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jaipur"]}, {"function": "Find", "dependencies": [], "inputs": ["Rajasthan"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["Dewey Decimal Classification", "2--544"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["capital of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jaipur\" . ?e_2 <pred:name> \"Rajasthan\" . ?e_2 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--544\" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1727"}, {"question": "Which area is larger, Union County (the one that is located in Ohio) or Champaign County (the one whose FIPS 6-4 (US counties) is 39021)?", "choices": ["Wood County", "Champaign County", "Wayne County", "Erie County", "Summit County", "Union County", "Mahoning County", "Stark County", "Delaware County", "Tuscarawas County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Union County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Champaign County"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["FIPS 6-4 (US counties)", "39021"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Union County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Ohio\" . } UNION { ?e <pred:name> \"Champaign County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"39021\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Union County"}, {"question": "Does Asheville or Manchester (the one whose local dialing code is 603) have greater area ?", "choices": ["Asheville", "Boulder", "Franklin", "Manchester", "Lansing", "Waukegan", "Greenville", "Compton", "Columbus", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asheville"]}, {"function": "Find", "dependencies": [], "inputs": ["Manchester"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "603"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Asheville\" . } UNION { ?e <pred:name> \"Manchester\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"603\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Asheville"}, {"question": "How many art movements include either the genre of Panic! at the Disco or whose Artsy gene is cubism?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Panic! at the Disco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Artsy gene", "cubism"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art movement"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> \"Panic! at the Disco\" .  } UNION { ?e <Artsy_gene> ?pv . ?pv <pred:value> \"cubism\" .  } }", "answer": "2"}, {"question": "How many businesses managed by George Clooney have the child organization Dimension Films?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director/manager", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Find", "dependencies": [], "inputs": ["Dimension Films"]}, {"function": "Relate", "dependencies": [3], "inputs": ["parent organization", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <director/manager> ?e_1 . ?e_1 <pred:name> \"George Clooney\" .  ?e_2 <parent_organization> ?e . ?e_2 <pred:name> \"Dimension Films\" .  }", "answer": "0"}, {"question": "What is the ISNI of the human that won an Academy Award for Best Costume Design for Topsy-Turvy?", "choices": ["0000 0003 6862 7347", "0000 0001 2102 1570", "0000 0001 1580 5205", "0000 0001 2150 7167", "0000 0000 6302 5740", "0000 0000 4548 5460", "0000 0000 7837 6148", "0000 0000 8646 0067", "0000 0000 7779 2799", "0000 0001 1450 6086"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Topsy-Turvy"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Topsy-Turvy\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 4548 5460"}, {"question": "What is the local area code for the city whose WOEID is 2349680?", "choices": ["406", "404 678", "04721", "01228", "06", "01302", "01753", "242", "256", "239"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "2349680"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"2349680\" . ?e <local_dialing_code> ?pv .  }", "answer": "06"}, {"question": "When did Rome, where Benito Mussolini worked, record a population of 2775250?", "choices": ["1889", "1877-01-01", "1999-12-31", "2016-05-05", "1949-03-24", "1971-04-15", "1991-01-01", "1995-04-19", "1529", "1813-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benito Mussolini"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rome"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "2775250", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Rome\" . ?e_1 <work_location> ?e . ?e_1 <pred:name> \"Benito Mussolini\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2775250\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "What is the official website of the movie production company that is the distributor of Restless (the one whose release region is United States of America)?", "choices": ["http://www.kalmarff.se/", "http://www.fluminense.com.br", "http://www.greshams.com/", "http://www.alanalda.com/", "http://www.ankara.bel.tr/", "http://www.nbcuniversalstore.com/detail.php?p=11083/", "http://www.chennaicorporation.gov.in/", "http://www.nbc.com/the-office/", "http://www.sonyclassics.com", "http://www.williamsanderson.net/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Restless"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <distributor> ?e . ?e_1 <pred:name> \"Restless\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <official_website> ?pv .  }", "answer": "http://www.sonyclassics.com"}, {"question": "How is Ed Harris related to Englewood?", "choices": ["place of birth", "part of", "narrative location", "notable people with this condition", "continent", "godparent", "child", "employer", "operator", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ed Harris"]}, {"function": "Find", "dependencies": [], "inputs": ["Englewood"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ed Harris\" . ?e_2 <pred:name> \"Englewood\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Was the game with the Nintendo GameID of GHLZ69 not published in 1941?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GHLZ69"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1941", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"GHLZ69\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1941 ) .  }", "answer": "yes"}, {"question": "When did  University of Maryland receive the Peabody Award?", "choices": ["2006-07-01", "2009-06-01", "2000", "2010-02-03", "1500-01-01", "1972", "1864-12-03", "2015-06-04", "1907", "1997-03-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Maryland"]}, {"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Maryland\" . ?e_2 <pred:name> \"Peabody Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "What is the relationship between Carlos Ruiz, whose sport number is 20, and Guatemala City?", "choices": ["manner of death", "nutrient", "mother", "located in or next to body of water", "derivative work", "place of birth", "part of", "architectural style", "time period", "has part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carlos Ruiz"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sport number", "20"]}, {"function": "Find", "dependencies": [], "inputs": ["Guatemala City"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carlos Ruiz\" . ?e_1 <sport_number> ?pv . ?pv <pred:value> \"20\" . ?e_2 <pred:name> \"Guatemala City\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How many Golden Raspberry Awards are associated with the website www.razzies.com or were created in a year excluding 1994?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.razzies.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Raspberry Awards"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1994", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Golden Raspberry Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Raspberry Awards\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.razzies.com/\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1994 ) .  } }", "answer": "11"}, {"question": "How is Gordon Brown, who was born on 1933-06-06 related to the Wolverhampton Wonderers F.C.?", "choices": ["conferred by", "drug used for treatment", "located in or next to body of water", "doctoral student", "country of origin", "office held by head of government", "voice type", "award disciplines or subjects", "officeholder", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gordon Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1933-06-06", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Wolverhampton Wanderers F.C."]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gordon Brown\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1933-06-06\"^^xsd:date . ?e_2 <pred:name> \"Wolverhampton Wanderers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What are the number of counties of Oregon with population less than 420000000 or that has the captital Salem (the one whose area is 127.220892 square kilometre) ?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "420000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "Find", "dependencies": [], "inputs": ["Salem"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["area", "127.220892 square kilometre", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Oregon"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"420000000\"^^xsd:double ) .  } UNION { ?e <capital> ?e_1 . ?e_1 <pred:name> \"Salem\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"127.220892\"^^xsd:double .  } }", "answer": "14"}, {"question": "Was the person with the ISNI of 0000 0000 8601 0285 born after 1956?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8601 0285"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1956", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8601 0285\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1956 ) .  }", "answer": "no"}, {"question": "When did the Kingdom of Great Britain become Kirkcaldy's country?", "choices": ["1978-09-19", "1993-07-13", "1903-01-01", "1983-11-17", "1929-02-11", "1707-05-01", "2017-12-12", "2015-11-01", "1977-01-20", "1095"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kirkcaldy"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kirkcaldy\" . ?e_2 <pred:name> \"Kingdom of Great Britain\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1707-05-01"}, {"question": "When Hook was up for an Academy Award for Best Makeup and Hairstyling, who was the individual nominee?", "choices": ["Egypt\u2013Indonesia relations", "64th Academy Awards", "Barbados\u2013Nigeria relations", "Taiwan\u2013Zimbabwe relations", "Maastricht Treaty", "Japan\u2013Singapore relations", "Senegal\u2013Taiwan relations", "Germany-South Sudan relations", "Laos\u2013Thailand border", "Armenia\u2013Lebanon relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hook"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hook\" . ?e_2 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "64th Academy Awards"}, {"question": "Which movie is longer, Crash (the one that was nominated for Golden Reel Award) or The Edge (the one whose composer is Jerry Goldsmith)?", "choices": ["The Towering Inferno", "The Hunchback of Notre Dame", "Rebecca", "Pleasantville", "The Edge", "Curse of the Golden Flower", "Talk to Her", "Crash", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Reel Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Relate", "dependencies": [4], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Edge"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crash\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Reel Award\" .   } UNION { ?e <pred:name> \"The Edge\" . ?e <composer> ?e_2 . ?e_2 <pred:name> \"Jerry Goldsmith\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Edge"}, {"question": "How many subscribers does the user Ann Curry have for her Twitter username of AnnCurry?", "choices": ["3640138", "33446", "163463", "2579", "1627", "331161", "113506", "6018", "1668582", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ann Curry"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "AnnCurry", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ann Curry\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AnnCurry\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1668582"}, {"question": "At what point in time is 1009035 the population of Johannesburg?", "choices": ["2016-03-03", "1813-12-01", "2010-07-14", "1982-03-23", "1853-01-01", "2009-09-02", "1925-06-16", "1999-05-05", "1902", "2001"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johannesburg"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "1009035", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Johannesburg\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1009035\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "Does Iconclass notation 49E21 apply to the urban rail transit whose OSM tag or key is Tag:railway=subway?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:railway=subway"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["urban rail transit"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Iconclass notation"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["49E21"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"urban rail transit\" . ?e <OSM_tag_or_key> ?pv_1 . ?pv_1 <pred:value> \"Tag:railway=subway\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"49E21\" .  }", "answer": "no"}, {"question": "Of bodies of water that are under 5900 meters deep, which is the shallowest?", "choices": ["Aegean Sea", "Mediterranean Sea", "Tianjin", "North Sea", "Ellen Burstyn", "Adriatic Sea", "English Channel", "Green Bay", "Caribbean Sea", "Martin Donovan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "5900 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <vertical_depth> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"5900\"^^xsd:double ) . ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "English Channel"}, {"question": "What is the ISNI of the spouse of Dudley Moore?", "choices": ["0000 0001 0870 8837", "0000 0003 6861 7544", "0000 0004 0390 9412", "0000 0000 5418 8580", "0000 0004 0389 2294", "0000 0001 0940 670X", "0000 0000 7824 3046", "0000 0001 1631 7035", "0000 0001 1472 530X", "0000 0000 5496 2046"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dudley Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Dudley Moore\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 7824 3046"}, {"question": "Which New Jersey city whose population is under 4800000000 has the highest elevation above sea level?", "choices": ["Newark", "Elizabeth", "Atlantic City", "East Orange", "Passaic", "Trenton", "Bayonne", "Hoboken", "New Brunswick", "Plainfield"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4800000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"4800000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "East Orange"}, {"question": "Is http://www.davidbenioff.com/ the official website of David Benioff?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Benioff"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.davidbenioff.com/"]}], "sparql": "ASK { ?e <pred:name> \"David Benioff\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.davidbenioff.com/\" .  }", "answer": "yes"}, {"question": "Was Scott Glenn born as Theodore Scott Glenn ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Glenn"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Theodore Scott Glenn"]}], "sparql": "ASK { ?e <pred:name> \"Scott Glenn\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Theodore Scott Glenn\" .  }", "answer": "yes"}, {"question": "Among the Indiana counties whose population is less than 28000000, which has the smallest area?", "choices": ["Allen County", "Monroe County", "Lake County", "Wayne County", "Howard County", "Marion County", "Shelby County", "Porter County", "Delaware County", "Hancock County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "28000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"28000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Howard County"}, {"question": "Which is longer, Romeo and Juliet starring Basil Rathbone or Mr. Deeds?", "choices": ["A Prairie Home Companion", "The Towering Inferno", "Training Day", "Talk to Her", "Romeo and Juliet", "The Hunchback of Notre Dame", "Pleasantville", "Curse of the Golden Flower", "The Fifth Element", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Basil Rathbone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Romeo and Juliet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mr. Deeds"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Romeo and Juliet\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Basil Rathbone\" .   } UNION { ?e <pred:name> \"Mr. Deeds\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Romeo and Juliet"}, {"question": "Which facility in Manhattan, where Neil Simon died, earned the highest total revenue?", "choices": ["Louvre Museum", "Museo del Prado", "Tower of London", "Museum of Modern Art", "Metropolitan Museum of Art", "National Gallery", "The Orphanage", "John Romita Jr.", "prison", "National Gallery of Art"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Neil Simon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["facility"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["total revenue", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"facility\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Manhattan\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Neil Simon\" .  ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Metropolitan Museum of Art"}, {"question": "What is the ISNI for the higher learning institution whose subreddit is UNI?", "choices": ["0000 0000 8367 7068", "0000 0001 0938 9938", "0000 0001 1072 5177", "0000 0001 2103 2317", "0000 0001 1882 5543", "0000 0001 2175 5443", "0000 0003 6860 9392", "0000 0001 0805 030X", "0000 0000 8619 4379", "0000 0004 0466 965X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "UNI"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"UNI\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2175 5443"}, {"question": "How many fictional universes are depicted in Doctor Who (produced by BBC)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Who"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["takes place in fictional universe", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional universe"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional universe\" . ?e_1 <takes_place_in_fictional_universe> ?e . ?e_1 <pred:name> \"Doctor Who\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"BBC\" .   }", "answer": "1"}, {"question": "When did the North Carolina county which contains the administrative division Greensboro have a population of 489657?", "choices": ["1988-01-01", "2016-01-03", "1830", "2017", "1903-03-02", "1979-01-01", "1955-12-01", "2016-07-14", "2010-07-01", "2006-11-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greensboro"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of North Carolina"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "489657", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Greensboro\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"489657\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "What is the relationship between Anthony Edwards (the one that is a member of Philadelphia Eagles) to United States of America?", "choices": ["official residence", "office held by head of state", "basin country", "product or material produced", "home port", "country of citizenship", "executive producer", "sibling", "genre", "influenced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Eagles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anthony Edwards"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anthony Edwards\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Philadelphia Eagles\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which covers less area, Joplin or Kokomo?", "choices": ["Kokomo", "Columbus", "Oakland", "Waukegan", "New Haven", "Compton", "Boulder", "Joplin", "Greenville", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joplin"]}, {"function": "Find", "dependencies": [], "inputs": ["Kokomo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Joplin\" .  } UNION { ?e <pred:name> \"Kokomo\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kokomo"}, {"question": "What is the date of birth of the 207 pound William Powell?", "choices": ["1958-06-12", "1957-12-20", "1986-06-27", "1881-09-29", "1975-08-04", "1956-06-02", "1971-06-26", "1880-01-17", "1988-03-09", "1980-04-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Powell"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "207 pound", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"William Powell\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"pound\" . ?pv_1 <pred:value> \"207\"^^xsd:double . ?e <date_of_birth> ?pv .  }", "answer": "1988-03-09"}, {"question": "How many computer programming languages match the Stack Exchange tag is https://stackoverflow.com/tags/javascript or whose media type is text/javascript ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://stackoverflow.com/tags/javascript"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["computer programming"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["media type", "text/javascript"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["computer programming"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"computer programming\" .  { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://stackoverflow.com/tags/javascript\" .  } UNION { ?e <media_type> ?pv . ?pv <pred:value> \"text/javascript\" .  } }", "answer": "1"}, {"question": "At what time point did The Motorcycle Diaries receive an Academy Award for Best Original Song?", "choices": ["1969-01-01", "1873", "2013-03-14", "1940", "1997-10-17", "2005-01-01", "1995-09-19", "1918-01-01", "1954-01-01", "2002-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Motorcycle Diaries"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Song"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Motorcycle Diaries\" . ?e_2 <pred:name> \"Academy Award for Best Original Song\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "Where was Eric Roth's Munich published on 2006-01-26?", "choices": ["Mexico", "Slovakia", "Czech Republic", "Kuwait", "France", "Romania", "Davao City", "Panama", "Berlin", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eric Roth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2006-01-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Munich\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Eric Roth\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2006-01-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the street address of the HQ of Morehouse College in Atlanta, zip code 30060?", "choices": ["11 Ashoka Road", "Regent Drive at Broadway, Boulder, CO, 80309-0017", "121 Blake Road", "Sdr. Boulevard 172", "777 Glades Road", "11, \u0905\u0936\u094b\u0915 \u0930\u094b\u0921", "220 Throwbridge Rd", "3601 Pacific Avenue", "800 Lancaster Avenue, Villanova, PA, 19085-1699", "830 Westview Dr SW"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morehouse College"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlanta"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "30060"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Morehouse College\" . ?e_2 <pred:name> \"Atlanta\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"30060\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "830 Westview Dr SW"}, {"question": "What relation type does C0085298, the UMLS CUI of cardiac arrest, map to?", "choices": ["72-19-5", "0114 6", "close match", "100 gigapascal", "419", "Charles Lucien Bonaparte", "narrow match", "exact match", "broad match", "Holy See"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cardiac arrest"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["UMLS CUI", "C0085298", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"cardiac arrest\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0085298\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "When was Thomas Alva Edison nominated for a Nobel Prize in Physics?", "choices": ["1996-10-23", "1915-01-01", "1956-12-01", "1640-01-01", "1500", "1569", "1812", "1995-12-31", "2017-02-24", "1926"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Alva Edison"]}, {"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Physics"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Thomas Alva Edison\" . ?e_2 <pred:name> \"Nobel Prize in Physics\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1915-01-01"}, {"question": "Tell me the number of industries that have an official website https://www.kernel.org/ or that is Duke University's common property.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.kernel.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "Find", "dependencies": [], "inputs": ["Duke University"]}, {"function": "Relate", "dependencies": [3], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["industry"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.kernel.org/\" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"Duke University\" .  } }", "answer": "1"}, {"question": "For the television station whose Giphy username is nbc, its official-opening date on 1939-04-30 applies to which part?", "choices": ["Bradley County", "member of parliament", "television network", "American Samoa", "Bavaria", "book", "inhabitant", "Bekasi", "diplomatic recognition", "feminine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "nbc"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["date of official opening", "1939-04-30", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"nbc\" . ?e <date_of_official_opening> ?pv . ?pv <pred:date> \"1939-04-30\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <date_of_official_opening> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "television network"}, {"question": "Who received the Academy Award for Best Animated Feature (Croatian release) for Brave?", "choices": ["Cook Islands\u2013Taiwan relations", "Illinois\u2013Missouri border", "San Marino\u2013Serbia relations", "Bangladesh\u2013Bulgaria relations", "Canada\u2013Slovenia relations", "11th Tony Awards", "Lebanon\u2013Syria border", "85th Academy Awards", "Central African Republic\u2013Chad border", "Swaziland\u2013United States relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brave"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Feature"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brave\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Croatia\" . ?e_2 <pred:name> \"Academy Award for Best Animated Feature\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "85th Academy Awards"}, {"question": "What is the Munzinger IBA for the person who founded Geffen Records?", "choices": ["00000029854", "00000029874", "00000018756", "00000020265", "00000009901", "00000026671", "00000026188", "00000022629", "00000024644", "00000019654"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geffen Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <found> ?e_1 . ?e_1 <pred:name> \"Geffen Records\" .  ?e <Munzinger_IBA> ?pv .  }", "answer": "00000020265"}, {"question": "How many republics are headed by the position that is the public office of Nikon (whose date of birth is 1960-05-26)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nikon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1960-05-26", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["position held", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["position"]}, {"function": "Relate", "dependencies": [3], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["republic"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"position\" . ?e_2 <position_held> ?e_1 . ?e_2 <pred:name> \"Nikon\" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> \"1960-05-26\"^^xsd:date .   }", "answer": "0"}, {"question": "Which county of Wisconsin contains La Crosse, an administrative division with  FIPS 6-4 (US counties) being 55111 ?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["La Crosse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)", "55111"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Wisconsin"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"La Crosse\" .  } UNION { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"55111\" .  } }", "answer": "2"}, {"question": "Robin Williams was nominated for a Primetime Emmy Award for Outstanding Guest Actor in a Drama Series for which work?", "choices": ["The Umbrellas of Cherbourg", "Twisted Nerve", "Anne Frank: The Whole Story", "End of Days", "Bratz", "Basic Instinct 2", "The Treasure of the Sierra Madre", "Law & Order: Special Victims Unit", "Lady for a Day", "A Chorus Line"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robin Williams"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actor in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robin Williams\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actor in a Drama Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Law & Order: Special Victims Unit"}, {"question": "Did Ross Turnbull, who was born on 1941-01-06, pass away prior to 2005?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ross Turnbull"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1941-01-06", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2005", "<"]}], "sparql": "ASK { ?e <pred:name> \"Ross Turnbull\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1941-01-06\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }", "answer": "no"}, {"question": "When was Scott County that borders Hennepin County established?", "choices": ["1855", "1612-01-01", "1918-12-01", "1976-07-02", "1853-03-05", "1789-04-21", "1917", "1903-06-30", "1988-01-01", "1793-06-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hennepin County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Scott County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Hennepin County\" .  ?e <inception> ?pv .  }", "answer": "1853-03-05"}, {"question": "Does Upland or Escondido have a larger populace?", "choices": ["Upland", "Escondido", "Lansing", "Franklin", "New Haven", "Oakland", "Waukegan", "Greenville", "Columbus", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upland"]}, {"function": "Find", "dependencies": [], "inputs": ["Escondido"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Upland\" .  } UNION { ?e <pred:name> \"Escondido\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Escondido"}, {"question": "What language is associated with the official website http://stargate.mgm.com/view/series/1/index.html for the television series having the spin-off series Stargate Atlantis?", "choices": ["Latin script", "American English", "Hungarian", "Putonghua", "Greek", "Malagasy", "Australian English", "Hindi", "Slovene", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stargate Atlantis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["series spin-off", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://stargate.mgm.com/view/series/1/index.html", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <series_spin-off> ?e_1 . ?e_1 <pred:name> \"Stargate Atlantis\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://stargate.mgm.com/view/series/1/index.html\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "House, directed by Laura Innes, has what link to David Henrie?", "choices": ["doctoral advisor", "killed by", "copyright representative", "cast member", "publisher", "member of", "office held by head of state", "original film format", "from fictional universe", "officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laura Innes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["House"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Henrie"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"House\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Laura Innes\" . ?e_2 <pred:name> \"David Henrie\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many geographic regions have a population of less than 68000000 or have a Stack Exchange tag of https://travel.stackexchange.com/tags/pacific-ocean?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "68000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Stack Exchange tag", "https://travel.stackexchange.com/tags/pacific-ocean"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"68000000\"^^xsd:double ) .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://travel.stackexchange.com/tags/pacific-ocean\" .  } }", "answer": "6"}, {"question": "What is the title of the musical film Out of Sight?", "choices": ["Hilary and Jackie", "La Joconde", "Mighty Aphrodite", "Savages", "Alice", "Out of Sight", "Heavy Metal", "Deutschland im Herbst", "Midnight Express", "Good Night, and Good Luck."], "program": [{"function": "Find", "dependencies": [], "inputs": ["musical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Out of Sight"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Out of Sight\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"musical film\" .  ?e <title> ?pv .  }", "answer": "Out of Sight"}, {"question": "Standing in the Shadows of Motown was published in which location on 2003-07-03?", "choices": ["Italy", "Estonia", "Taiwan", "Germany", "2008 Toronto International Film Festival", "Belgium", "Sydney", "Denmark", "Cannes Film Festival", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Standing in the Shadows of Motown"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2003-07-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Standing in the Shadows of Motown\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2003-07-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Since when is Utrecht (subreddit utrecht) located in Utrecht (Twitter username provutrecht)?", "choices": ["1770", "1867-05-15", "1962", "1814", "2011-09-22", "1960-08-01", "1830", "1800-01-01", "1919-05-15", "1985-09-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Utrecht"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "utrecht"]}, {"function": "Find", "dependencies": [], "inputs": ["Utrecht"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["Twitter username", "provutrecht"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Utrecht\" . ?e_1 <subreddit> ?pv . ?pv <pred:value> \"utrecht\" . ?e_2 <pred:name> \"Utrecht\" . ?e_2 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"provutrecht\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1814"}, {"question": "When was the out-of-school children count in North America 11,588,478?", "choices": ["2002-02-13", "1985-10-01", "1920-01-01", "1846", "30000000", "2013-02-14", "2001-01-01", "2008-04-01", "1906", "1631-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North America"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["number of out-of-school children", "11588478", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"North America\" . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"11588478\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2001-01-01"}, {"question": "What does Peter Horton (a cast member of Thirtysomething) have to do with English?", "choices": ["academic degree", "dissertation submitted to", "location of formation", "source of income", "award received", "languages spoken, written or signed", "noble title", "organisation directed from the office or person", "contains administrative territorial entity", "uses"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thirtysomething"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Horton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Horton\" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> \"Thirtysomething\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Who is the person with Instagram username clarkgregg?", "choices": ["Clark Gregg", "Tom Hardy", "Randy Jackson", "William Henry Harrison", "Max Fleischer", "Richard Gere", "Vin Diesel", "Laura Carmichael", "Sean Hayes", "Salman Khan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "clarkgregg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"clarkgregg\" .  }", "answer": "Clark Gregg"}, {"question": "Does Spartacus, which debuted 2010-01-22, or The Biggest Loser have the higher season count?", "choices": ["Saturday Night's Main Event", "Six Feet Under", "Seinfeld", "American Horror Story", "Game of Thrones", "Robot Chicken", "Bleak House", "The Biggest Loser", "Dancing with the Stars", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spartacus"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "2010-01-22", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Biggest Loser"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Spartacus\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"2010-01-22\"^^xsd:date . } UNION { ?e <pred:name> \"The Biggest Loser\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Biggest Loser"}, {"question": "How many people were drafted in the National Football League Draft in 2006?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nfl.com/draft/history/fulldraft?season=2006"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nfl.com/draft/history/fulldraft?season=2006\" .  }", "answer": "1"}, {"question": "How many class of award have won the one whose ISNI is 0000 0001 0920 2504?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0920 2504"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["class of award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0920 2504\" .   }", "answer": "2"}, {"question": "What country does State University of New York at Albany, headquartered in Albany (in Eastern Time Zone) belong to ?", "choices": ["Peru", "Czech Republic", "Lithuania", "Panama", "Sweden", "Indonesia", "United States of America", "Holy Roman Empire", "Hungary", "Venezuela"], "program": [{"function": "Find", "dependencies": [], "inputs": ["State University of New York at Albany"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in time zone", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Albany"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"State University of New York at Albany\" . ?e_2 <pred:name> \"Albany\" . ?e_2 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> \"Eastern Time Zone\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the character role of Corey Burton in Hercules (the one that is a notable work of Alan Menken)?", "choices": ["Irene Adler", "Tycho Nestoris", "Mandarin", "Bill", "Benjamin Gates", "Mr. Freeze", "Larry Flynt", "Foggy Nelson", "Thebans", "John Conroy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Menken"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Corey Burton"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hercules\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Alan Menken\" . ?e_2 <pred:name> \"Corey Burton\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Thebans"}, {"question": "The Fighter, with James Wong Howe as director of photography, has what connection to English?", "choices": ["costume designer", "original language of film or TV show", "award disciplines or subjects", "manner of death", "has parts of the class", "position held", "notable work", "musical conductor", "successful candidate", "mascot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Wong Howe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fighter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fighter\" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> \"James Wong Howe\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "What is the connection between Hal Smith (the one whose date of birth is 1902-06-30) to baseball?", "choices": ["follows", "set in period", "medical condition", "works in collection", "operating system", "art director", "candidacy in election", "partner", "sport", "stated in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hal Smith"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1902-06-30", "="]}, {"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hal Smith\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1902-06-30\"^^xsd:date . ?e_2 <pred:name> \"baseball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What language is used for http://r-kelly.com, the official website of someone who was the spouse of Aaliyah (until 1st January 1995) ?", "choices": ["Afrikaans", "Slovene", "Latvian", "English", "Catalan", "Yaqui", "Slavic languages", "Maltese", "Luxembourgish", "Italian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aaliyah"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1995-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://r-kelly.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Aaliyah\" . [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:date> \"1995-01-01\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://r-kelly.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the number of points in the league table or decathlon for the ranking 64th of the Norway national football team?", "choices": ["944", "417", "1036", "116", "1174", "464", "1064", "492", "528", "769"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norway national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "64", "points for"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Norway national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"64\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <points_for> ?qpv .  }", "answer": "528"}, {"question": "Tell me the time points of James Ivory (the one that was born in Dundee) got a Copley medal", "choices": ["2013-06-01", "2015-08-12", "2005-08-08", "1990-12-31", "2013-03-01", "1814-01-01", "1980-12-31", "1929", "1500-01-01", "2016-01-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dundee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Ivory"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Copley Medal"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Ivory\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"Dundee\" . ?e_2 <pred:name> \"Copley Medal\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1814-01-01"}, {"question": "Which has a greater duration, The Adventures of Ford Fairlane or Annie (whose release region is Spain)?", "choices": ["The Fifth Element", "The Adventures of Ford Fairlane", "The Hunchback of Notre Dame", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "The Towering Inferno", "Annie", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Adventures of Ford Fairlane"]}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Annie"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Adventures of Ford Fairlane\" .  } UNION { ?e <pred:name> \"Annie\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Spain\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Annie"}, {"question": "Starsky & Hutch, set in Los Angeles, is related in what way to TV comedy?", "choices": ["located in or next to body of water", "patron saint", "genre", "legal form", "office held by head of government", "fabrication method", "feast day", "religious order", "location of formation", "seed team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Starsky & Hutch"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["television comedy"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Starsky & Hutch\" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Los Angeles\" . ?e_2 <pred:name> \"television comedy\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Was the American University of Beirut founded in 1957 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American University of Beirut"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1957", "="]}], "sparql": "ASK { ?e <pred:name> \"American University of Beirut\" . ?e <inception> ?pv . ?pv <pred:year> 1957 .  }", "answer": "no"}, {"question": "What is the release region of A Christmas Carol whose production company is Walt Disney Pictures and release date is 2009-11-03?", "choices": ["Johannesburg", "Croatia", "Los Angeles", "Charlotte Motor Speedway", "2004 Cannes Film Festival", "United Kingdom", "Italy", "Ireland", "Lithuania", "London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Christmas Carol"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2009-11-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"A Christmas Carol\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Walt Disney Pictures\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2009-11-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "London"}, {"question": "Which movie is shorter, Friends (the one whose script is wrote by D. W. Griffith) or My Sister's Keeper?", "choices": ["Neighbours", "David Copperfield", "Friends", "Eve", "Frankenstein", "The Fugitive", "My Sister's Keeper", "The Cure", "The Town", "Robin Hood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["D. W. Griffith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Friends"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["My Sister's Keeper"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Friends\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"D. W. Griffith\" .   } UNION { ?e <pred:name> \"My Sister's Keeper\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Friends"}, {"question": "Where was the film titled Saw IV published on 2008-02-07?", "choices": ["Denmark", "Hollywood Bowl", "Poland", "Johannesburg", "British Hong Kong", "1949 Cannes Film Festival", "Los Angeles", "Germany", "Washington, D.C.", "Belgium"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Saw IV"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2008-02-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Saw IV\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-02-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "For the human whose Instagram username is gilliana, when was their official website http://gilliananderson.ws retrieved?", "choices": ["2018-07-30", "2016-02-22", "2017-05-01", "2017-07-02", "2017-12-02", "2019-02-19", "2018-07-25", "2017-08-22", "2017-12-17", "2017-09-07"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "gilliana"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://gilliananderson.ws", "retrieved"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"gilliana\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://gilliananderson.ws\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv .  }", "answer": "2017-08-22"}, {"question": "What is the relation between organ case and Matthew Bellamy?", "choices": ["filmography", "chairperson", "twinned administrative body", "allegiance", "student of", "after a work by", "public holiday", "official color", "famous people", "maintained by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["organ case"]}, {"function": "Find", "dependencies": [], "inputs": ["Matthew Bellamy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"organ case\" . ?e_2 <pred:name> \"Matthew Bellamy\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which United States city is the headquarters location of the organization whose official website is https://www.nysenate.gov/?", "choices": ["Texarkana", "Cincinnati", "Cleveland", "Los Angeles", "Albany", "Glendale", "Pomona", "Baltimore", "Fort Worth", "Menlo Park"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.nysenate.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://www.nysenate.gov/\" .   }", "answer": "Albany"}, {"question": "Is 306222000.407316 United States dollars the nominal GDP for Benin on the date 1967-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benin"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["nominal GDP", "point in time", "1967-01-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["306222000.407316 United States dollar", "="]}], "sparql": "ASK { ?e <pred:name> \"Benin\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"306222000.407316\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"1967-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How many galaxies are there?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["galaxy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["model item", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["astronomical object type"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"astronomical object type\" . ?e_1 <model_item> ?e . ?e_1 <pred:name> \"galaxy\" .   }", "answer": "0"}, {"question": "Tell me the United States city that has the postal code of 99801-99803, 99811-99812, 99824, 99821.", "choices": ["Franklin", "Juneau", "Burlington", "New Haven", "Lake Forest", "Dover", "Waukegan", "Claremont", "Columbus", "Concord"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "99801-99803, 99811-99812, 99824, 99821"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"99801-99803, 99811-99812, 99824, 99821\" .  }", "answer": "Juneau"}, {"question": "When did John Spencer (a member of Motherwell F.C.) start being a member of Chelsea F.C.?", "choices": ["2012-05-03", "2007-03-30", "1984-05-09", "1963-12-12", "1992-01-01", "1867-07-01", "1993-01-01", "1998-12-20", "1984-01-01", "1922-12-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Motherwell F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Spencer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chelsea F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Spencer\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Motherwell F.C.\" . ?e_2 <pred:name> \"Chelsea F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1992-01-01"}, {"question": "Tell me the country that High Point with the zip code of 27262 belongs to.", "choices": ["Kingdom of the Netherlands", "Spain", "Poland", "People's Republic of China", "Indonesia", "Finland", "United States of America", "Czech Republic", "Netherlands", "Suriname"], "program": [{"function": "Find", "dependencies": [], "inputs": ["High Point"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["postal code", "27262", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"High Point\" . ?e <postal_code> ?pv . ?pv <pred:value> \"27262\" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the beginning date of the governor whose official website is http://www.mass.gov/gov?", "choices": ["1780-10-25", "841", "1903-06-30", "1924-01-01", "1924-03-25", "1948-09-09", "1936-02-22", "1583", "1514", "1890-07-10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.mass.gov/gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["governor"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"governor\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.mass.gov/gov\" . ?e <inception> ?pv .  }", "answer": "1780-10-25"}, {"question": "What is the connection between Flight (the one whose genre is war film) to United States of America?", "choices": ["model item", "replaced by", "doctoral advisor", "has edition", "shares border with", "mountain range", "location of final assembly", "country of origin", "occupant", "languages spoken, written or signed"], "program": [{"function": "Find", "dependencies": [], "inputs": ["war film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Flight\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"war film\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Is http://www.ob.dk the official website of the association football club whose Twitter name is TolucaFC?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "TolucaFC"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.ob.dk"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"TolucaFC\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ob.dk\" .  }", "answer": "no"}, {"question": "How is the French-language version of The Hunchback of Notre Dame related to Romanticism?", "choices": ["officeholder", "grants", "participant of", "material used", "notable people with this condition", "highest judicial authority", "operating area", "contributing factor of", "movement", "home world"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hunchback of Notre Dame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Romanticism"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Hunchback of Notre Dame\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"French\" . ?e_2 <pred:name> \"Romanticism\" . ?e_1 ?p ?e_2 .  }", "answer": "movement"}, {"question": "How many Winter Olympic Games were a significant event in the sovereign state that has Shinya Tsukamoto as a citizen?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shinya Tsukamoto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["significant event", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Winter Olympic Games"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Winter Olympic Games\" . ?e_1 <significant_event> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Shinya Tsukamoto\" .   }", "answer": "2"}, {"question": "When was Diane Warren born?", "choices": ["1956-09-07", "1923-05-07", "1944-05-25", "1980-12-30", "1969-03-16", "1924-01-30", "1920-02-22", "1952-05-11", "1949-04-01", "1904-02-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Diane Warren"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Diane Warren\" . ?e <date_of_birth> ?pv .  }", "answer": "1956-09-07"}, {"question": "What is the connection between Henry V (the one that was nominated for BAFTA Award for Best Direction) to Robbie Coltrane?", "choices": ["cast member", "appointed by", "family", "movement", "followed by", "producer", "software engine", "operating area", "position held", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Direction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Henry V"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robbie Coltrane"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Henry V\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"BAFTA Award for Best Direction\" . ?e_2 <pred:name> \"Robbie Coltrane\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Billy Boyd of Luton Town F.C. related to Weymouth F.C.?", "choices": ["works in collection", "commissioned by", "member of sports team", "symptom of", "religious order", "game mode", "ethnic group", "domain of saint or deity", "subsidiary", "location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luton Town F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Billy Boyd"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Weymouth F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billy Boyd\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Luton Town F.C.\" . ?e_2 <pred:name> \"Weymouth F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "How many people have a date of birth before the year 1962?", "choices": ["3595", "3596", "3597", "3598", "3599", "3600", "3601", "3602", "3603", "3604"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1962", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }", "answer": "3604"}, {"question": "When was Michael Douglas the SAG Award winner for Outstanding Performance by a Cast in a Motion Picture?", "choices": ["1631", "800", "1640-01-01", "1916-12-01", "2001", "1190", "1863", "1919-11-09", "2001-06-20", "1955-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Douglas"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Michael Douglas\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "Which human lives in the city of the United States whose postal code is 94953?", "choices": ["Sarah Michelle Gellar", "Minnie Driver", "Robert Young", "Amy Poehler", "Ioan Gruffudd", "Imogen Heap", "Anna Deavere Smith", "Jack White", "Winona Ryder", "Brian Grazer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "94953"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"94953\" .   }", "answer": "Winona Ryder"}, {"question": "Which movie is longer, Resident Evil: Afterlife or Final Fantasy: The Spirits Within?", "choices": ["Curse of the Golden Flower", "Resident Evil: Afterlife", "The Towering Inferno", "Talk to Her", "Pleasantville", "Rebecca", "Training Day", "The Hunchback of Notre Dame", "Final Fantasy: The Spirits Within", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Afterlife"]}, {"function": "Find", "dependencies": [], "inputs": ["Final Fantasy: The Spirits Within"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Resident Evil: Afterlife\" .  } UNION { ?e <pred:name> \"Final Fantasy: The Spirits Within\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Final Fantasy: The Spirits Within"}, {"question": "What first-level administrative country subdivision has the capital Hobart and has the capital Hobart (the start time of this statement is 1856-01-01)?", "choices": ["Greater Poland Voivodeship", "England", "Upper Austria", "Punjab", "Podlaskie Voivodeship", "New South Wales", "Minas Gerais", "Lublin Voivodeship", "Tasmania", "Lower Austria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hobart"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "Find", "dependencies": [], "inputs": ["Hobart"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["start time", "1856-01-01", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["first-level administrative country subdivision"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Hobart\" .  ?e_2 <capital_of> ?e . ?e_2 <pred:name> \"Hobart\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> \"1856-01-01\"^^xsd:date .  }", "answer": "Tasmania"}, {"question": "NUTS code UKE11 denotes which city?", "choices": ["Dhaka", "Kingston upon Hull", "Kingston", "Haarlem", "City of London", "Kilkenny", "Leicester", "Trieste", "Brampton", "Cork"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKE11"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"UKE11\" .  }", "answer": "Kingston upon Hull"}, {"question": "Which area is larger, Lesser Poland Voivodeship or Northern Ireland?", "choices": ["Greater Poland Voivodeship", "Northern Ireland", "Lesser Poland Voivodeship", "Upper Austria", "Lublin Voivodeship", "Minas Gerais", "Chiapas", "Podlaskie Voivodeship", "England", "New South Wales"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lesser Poland Voivodeship"]}, {"function": "Find", "dependencies": [], "inputs": ["Northern Ireland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lesser Poland Voivodeship\" .  } UNION { ?e <pred:name> \"Northern Ireland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lesser Poland Voivodeship"}, {"question": "When did Brazoria County have a population of 346312?", "choices": ["1910-12-31", "2015-01-01", "2009-01-25", "1960", "1802-01-01", "1955-01-01", "1754-01-01", "2009-02-08", "1848", "2002-11-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brazoria County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "346312", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Brazoria County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"346312\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "How many TV movies are titled Death on the Nile or debuted in a year excluding 2012?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Death on the Nile"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "2012", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" .  { ?e <title> ?pv . ?pv <pred:value> \"Death on the Nile\" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) .  } }", "answer": "11"}, {"question": "What is Royal Holloway, University of London's ARCHON code?", "choices": ["715", "505", "1316", "1472", "1328", "3121", "3245", "3365", "1832", "2222"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Royal Holloway, University of London"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ARCHON code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Royal Holloway, University of London\" . ?e <ARCHON_code> ?pv .  }", "answer": "505"}, {"question": "The content of the US Coast Guard's official website, www.uscg.mil, is in which language?", "choices": ["Putonghua", "Canadian English", "Turkish", "German", "Eastern Armenian", "Xhosa", "Bashkir", "Traditional Chinese", "Tahitian", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Coast Guard"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.uscg.mil/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"United States Coast Guard\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.uscg.mil/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What was Morgan Freeman's role in The Civil War?", "choices": ["Peter Venkman", "Patience Phillips", "Fox Mulder", "The Dragon Emperor", "Frederick Douglass", "Jane Porter", "Phantom Rider", "Po", "Will Bailey", "John Connor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Civil War"]}, {"function": "Find", "dependencies": [], "inputs": ["Morgan Freeman"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Civil War\" . ?e_2 <pred:name> \"Morgan Freeman\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Frederick Douglass"}, {"question": "Does Lazio or Calabria have the smaller population?", "choices": ["Sardinia", "Lazio", "Veneto", "Basilicata", "Sicily", "Tuscany", "Calabria", "Apulia", "Piedmont", "Lombardy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lazio"]}, {"function": "Find", "dependencies": [], "inputs": ["Calabria"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lazio\" .  } UNION { ?e <pred:name> \"Calabria\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Calabria"}, {"question": "Which island with a population of less than 44000 has the smallest area?", "choices": ["Trinidad", "Cyprus", "Nantucket", "Newfoundland", "Saint John", "Ireland", "Long Island", "Puerto Rico", "Maui", "Hawaii"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "44000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"44000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Saint John"}, {"question": "What association football club contains the a member whose ISNI is 0000 0000 0333 1922 (and played 4 games for the team) ?", "choices": ["Cardiff City F.C.", "Middlesbrough F.C.", "Stade Brestois 29", "Falkirk F.C.", "Tottenham Hotspur F.C.", "Stoke City F.C.", "Burnley F.C.", "Zamalek SC", "Bradford City A.F.C.", "Stevenage F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0333 1922"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [3], "inputs": ["number of matches played/races/starts", "4", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 0333 1922\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"4\"^^xsd:double .  }", "answer": "Falkirk F.C."}, {"question": "Is unibirmingham the Twitter username of the American football team that has Will Smith who was born on 1981-07-04 as a member?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will Smith"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1981-07-04", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["American football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["unibirmingham"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Will Smith\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1981-07-04\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"unibirmingham\" .  }", "answer": "no"}, {"question": "What is the Twitter username of Granada CF?", "choices": ["David_Boreanaz", "GranadaCdeF", "ericburdon", "morganspurlock", "neilhimself", "themummy", "AnnCurry", "Renner4Real", "virginia_tech", "Albirroja"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Granada CF"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Granada CF\" . ?e <Twitter_username> ?pv .  }", "answer": "GranadaCdeF"}, {"question": "What is the Munzinger IBA of the spouse of Kelly Preston (the start time of this statement is 1991)?", "choices": ["00000022142", "00000022780", "00000024220", "00000001476", "00000005682", "00000023272", "00000005324", "00000007304", "00000015458", "00000028578"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kelly Preston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1991", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Kelly Preston\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1991 . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000015458"}, {"question": "When did Jerry Nelson (the one that is educated at California Institute of Technology) receive Benjamin Franklin Medal (the one whose review score is 0.58) ?", "choices": ["2013-08-01", "1989", "2007-10-01", "1879-01-01", "2012-01-01", "2009-12-16", "2003-04-23", "1986-09-22", "1930", "1467-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California Institute of Technology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Nelson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin Medal"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["review score", "0.58"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jerry Nelson\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"California Institute of Technology\" . ?e_2 <pred:name> \"Benjamin Franklin Medal\" . ?e_2 <review_score> ?pv . ?pv <pred:value> \"0.58\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "What is the connection between Fort Bend County and Texas (that is the residence of Powers Boothe)?", "choices": ["relative", "theme music", "make-up artist", "office held by head of the organisation", "captain", "broadcast by", "dedicated to", "risk factor", "famous people", "located in the administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Bend County"]}, {"function": "Find", "dependencies": [], "inputs": ["Powers Boothe"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fort Bend County\" . ?e_2 <pred:name> \"Texas\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"Powers Boothe\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Was the person with ISNI 0000 0001 1777 5441 born before 1959?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1777 5441"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1959", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1777 5441\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1959 ) .  }", "answer": "yes"}, {"question": "What organization is headquartered in a big city which is the twinned administrative body of Lille ?", "choices": ["John Brown & Company", "Microsoft", "Moscow Conservatory", "Lufthansa", "United Airlines", "Hamburger SV", "Pan Am", "Saint Petersburg Conservatory", "Juventus F.C.", "KLM"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lille"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["organization"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"big city\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Lille\" .   }", "answer": "Lufthansa"}, {"question": "Which person with ISNI # 0000 0001 2121 0750 is in the cast of Airport, originally in English?", "choices": ["Max Fleischer", "Jacqueline Bisset", "Van Heflin", "Burt Lancaster", "George Kennedy", "William Henry Harrison", "Richard Gere", "Sylvester Stallone", "Dean Martin", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2121 0750"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Airport"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2121 0750\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Airport\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"English\" .  }", "answer": "Van Heflin"}, {"question": "What is the connection between Jim Sheridan (the one that is an ethnic group of scottish people are annoying) to English?", "choices": ["languages spoken, written or signed", "distributor", "nominated for", "architect", "game mode", "statistical leader", "studies", "used by", "sex or gender", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["scottish people are annoying"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Sheridan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jim Sheridan\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"scottish people are annoying\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How is Don Heck related to lung cancer?", "choices": ["location", "airline hub", "director of photography", "donated by", "works in collection", "properties for this type", "successful candidate", "eye color", "cause of death", "heritage designation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Heck"]}, {"function": "Find", "dependencies": [], "inputs": ["lung cancer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Don Heck\" . ?e_2 <pred:name> \"lung cancer\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "What is the connection between Ohio Wesleyan University to United Methodist Church?", "choices": ["has immediate cause", "contains administrative territorial entity", "member of political party", "color", "performer", "foundational text", "country of citizenship", "religion", "broadcast by", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio Wesleyan University"]}, {"function": "Find", "dependencies": [], "inputs": ["United Methodist Church"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ohio Wesleyan University\" . ?e_2 <pred:name> \"United Methodist Church\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "How many legislative terms started after 1841 and ended after 1997?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1841", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["end time", "1997", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1841 ) . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1997 ) .  }", "answer": "10"}, {"question": "The Invention of Lying or The Deer Hunter which one has long duration?", "choices": ["The Deer Hunter", "The Fifth Element", "The Hunchback of Notre Dame", "Pleasantville", "Curse of the Golden Flower", "Rebecca", "A Prairie Home Companion", "The Invention of Lying", "Talk to Her", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Invention of Lying"]}, {"function": "Find", "dependencies": [], "inputs": ["The Deer Hunter"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Invention of Lying\" .  } UNION { ?e <pred:name> \"The Deer Hunter\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Deer Hunter"}, {"question": "Which movie is shorter, Immortals or Tower of London (the one that has Paul Frees as a cast member)?", "choices": ["The Fifth Element", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Rebecca", "Immortals", "Curse of the Golden Flower", "Tower of London", "The Towering Inferno", "Pleasantville", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Immortals"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Frees"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tower of London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Immortals\" .  } UNION { ?e <pred:name> \"Tower of London\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Paul Frees\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tower of London"}, {"question": "What is the language used for http://minnesota.twins.mlb.com, the official website of a baseball team whose member was Tom Johnson (the one that is a member of Minnesota Twins) from 10th Sep 1974 ?", "choices": ["Occitan", "English", "Latvian", "Armenian", "Afrikaans", "Polish", "Belarusian", "Serbian", "Thai", "Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minnesota Twins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["start time", "1974-09-10", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["baseball team"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["official website", "http://minnesota.twins.mlb.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Tom Johnson\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Minnesota Twins\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"1974-09-10\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://minnesota.twins.mlb.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the relationship between Flashdance and drama film?", "choices": ["continent", "organizer", "sport", "has contributing factor", "notable work", "history of topic", "genre", "vehicle normally used", "participant of", "movement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flashdance"]}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Flashdance\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many towns have a postal code of HP11 or an official name of \"Blackpool\"?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "HP11"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official name", "Blackpool"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" .  { ?e <postal_code> ?pv . ?pv <pred:value> \"HP11\" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> \"Blackpool\" .  } }", "answer": "2"}, {"question": "When did Armand Assante end their education at American Academy of Dramatic Arts?", "choices": ["2017-07-26", "1572-01-01", "1969-01-01", "1946-06-18", "1969-01-20", "1941-10-15", "2003-06-22", "1890", "1623", "1945-03-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armand Assante"]}, {"function": "Find", "dependencies": [], "inputs": ["American Academy of Dramatic Arts"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Armand Assante\" . ?e_2 <pred:name> \"American Academy of Dramatic Arts\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1969-01-01"}, {"question": "Does the person who received an Academy Award for Best Supporting Actress (the subject of this statement is 33rd Academy Awards), have an ISNI equal to 0000 0001 2287 2270?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "33rd Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 2287 2270"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"33rd Academy Awards\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2287 2270\" .  }", "answer": "no"}, {"question": "Which person was born on 1928-02-18?", "choices": ["Tom Johnson", "Max Fleischer", "Richard Gere", "Ray Bradbury", "William Morris", "Nicki Minaj", "Jim O'Rourke", "Sylvester Stallone", "Annabeth Gish", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1928-02-18", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1928-02-18\"^^xsd:date .  }", "answer": "Tom Johnson"}, {"question": "What is the association of Larry Cohen (whose position is defender) with Ajax Cape Town F.C.?", "choices": ["month of the year", "capital of", "Wikidata property", "stated in", "place of publication", "member of sports team", "cites", "archives at", "licensed to broadcast to", "draft pick from school"], "program": [{"function": "Find", "dependencies": [], "inputs": ["defender"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Larry Cohen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ajax Cape Town F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Larry Cohen\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"defender\" . ?e_2 <pred:name> \"Ajax Cape Town F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What Canadian province is home to the capital city with a motto text of \"Unum Cum Virtute Multorum\"?", "choices": ["Nova Scotia", "Alberta", "Quebec", "Manitoba", "Saskatchewan", "New Brunswick", "Newfoundland and Labrador", "British Columbia", "Prince Edward Island", "Ontario"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Unum Cum Virtute Multorum"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of Canada"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Canada\" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <motto_text> ?pv . ?pv <pred:value> \"Unum Cum Virtute Multorum\" .   }", "answer": "Manitoba"}, {"question": "When did Alice in Wonderland (the one whose script is wrote by Aldous Huxley) receive the exploitative visa number 11512 ?", "choices": ["1951-12-07", "1901-09-14", "1992-07-16", "2007-01-05", "1989-09-18", "1885-01-01", "2008-09-03", "1997-12-10", "1998-08-23", "1973-06-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aldous Huxley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["exploitation visa number", "11512", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Alice in Wonderland\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Aldous Huxley\" .  ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"11512\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1951-12-07"}, {"question": "What number of literary awards have http://www.carnegiegreenaway.org.uk/carnegie/ as their official website?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.carnegiegreenaway.org.uk/carnegie/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.carnegiegreenaway.org.uk/carnegie/\" .  }", "answer": "1"}, {"question": "Does Sussex County whose population is 200442 or Scott County, Iowa have more area?", "choices": ["Cass County", "Kent County", "San Juan County", "Delaware County", "Greene County", "Washoe County", "Sussex County", "African Union", "Lee County", "Scott County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sussex County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "200442", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Iowa"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sussex County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"200442\"^^xsd:double . } UNION { ?e <pred:name> \"Scott County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Iowa\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sussex County"}, {"question": "Which Summer Olympic Games, whose official website in English is https://www.olympic.org/atlanta-1996, has Michael York (a participant of the 1996 Summer Olympics) as a participant?", "choices": ["1952 Summer Olympics", "1924 Summer Olympics", "1936 Summer Olympics", "1900 Summer Olympics", "1904 Summer Olympics", "1908 Summer Olympics", "1996 Summer Olympics", "1980 Summer Olympics", "1896 Summer Olympics", "1972 Summer Olympics"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.olympic.org/atlanta-1996"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Summer Olympic Games"]}, {"function": "Find", "dependencies": [], "inputs": ["1996 Summer Olympics"]}, {"function": "Relate", "dependencies": [4], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael York"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "Relate", "dependencies": [7], "inputs": ["participant of", "forward"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["Summer Olympic Games"]}, {"function": "And", "dependencies": [3, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.olympic.org/atlanta-1996\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e_1 <participant_of> ?e . ?e_1 <pred:name> \"Michael York\" . ?e_1 <participant_of> ?e_2 . ?e_2 <pred:name> \"1996 Summer Olympics\" .  }", "answer": "1996 Summer Olympics"}, {"question": "What is the number of non-metropolitan counties having the TOID 7000000000020616 or the ISO 3166-2 code GB-GLS?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000020616"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan county"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISO 3166-2 code", "GB-GLS"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan county"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan county\" .  { ?e <TOID> ?pv . ?pv <pred:value> \"7000000000020616\" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"GB-GLS\" .  } }", "answer": "1"}, {"question": "What is the local dialing code for a city that is the capital of Buenos Aires Province?", "choices": ["07389", "08624", "484-610", "458", "01432", "467", "01744", "0221", "02606", "236"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buenos Aires Province"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Buenos Aires Province\" .  ?e <local_dialing_code> ?pv .  }", "answer": "0221"}, {"question": "How many sports seasons have the Atlanta Braves participated in?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlanta Braves"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"Atlanta Braves\" .   }", "answer": "13"}, {"question": "How is the director Richard Fleischer related to Brown University", "choices": ["candidacy in election", "collection", "superhuman feature or ability", "official symbol", "lifestyle", "designed to carry", "student", "educated at", "practiced by", "territory overlaps"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Fleischer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brown University"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Fleischer\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"film director\" . ?e_2 <pred:name> \"Brown University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Does Midland (whose population is 41863) or Riverside have the smaller population?", "choices": ["Midland", "Compton", "Greenville", "Riverside", "Oakland", "Columbus", "Waukegan", "Lansing", "New Haven", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "41863", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Riverside"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Midland\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"41863\"^^xsd:double . } UNION { ?e <pred:name> \"Riverside\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Midland"}, {"question": "Which disease did Warren Zevon die of?", "choices": ["prostate cancer", "epilepsy", "tuberculosis", "attention deficit hyperactivity disorder", "peritonitis", "cerebral hemorrhage", "pneumonia", "influenza", "gastroesophageal reflux disease", "lung cancer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren Zevon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> \"Warren Zevon\" .   }", "answer": "lung cancer"}, {"question": "What was the subject that Serpico (the one whose director is Sidney Lumet) got a nomination for Academy Award for Best Actor for?", "choices": ["Canada\u2013Panama relations", "Canada\u2013Namibia relations", "Bangladesh\u2013European Union relations", "Romania\u2013Switzerland relations", "Mexico\u2013Slovenia relations", "Bangladesh\u2013Portugal relations", "46th Academy Awards", "Ireland\u2013South Africa relations", "Larry Lurex", "Chile\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sidney Lumet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Serpico"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Serpico\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Sidney Lumet\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "46th Academy Awards"}, {"question": "When did Groningen (the formation location of FC Groningen) start being located in Groningen (whose ISO 3166-2 code is NL-GR)?", "choices": ["1992-09-28", "2009-03-17", "1912", "1787-12-07", "1814", "1939-09-01", "1869", "1996-12-01", "2015-10-10", "1943"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Groningen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Groningen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Groningen"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISO 3166-2 code", "NL-GR"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Groningen\" . ?e_3 <location_of_formation> ?e_1 . ?e_3 <pred:name> \"FC Groningen\" . ?e_2 <pred:name> \"Groningen\" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"NL-GR\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1814"}, {"question": "Which is the longest among the animated feature films that come from the USA?", "choices": ["The Lord of the Rings", "The Rescuers", "Up", "Madagascar", "Ice Age", "Peter Pan", "Hercules", "Tarzan", "Ratatouille", "The Simpsons Movie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings"}, {"question": "What is the language of the Philadelphia Phillies' official website, https://www.mlb.com/phillies?", "choices": ["Finnish", "Putonghua", "Xhosa", "English", "Estonian", "Portuguese", "Standard Chinese", "Catalan", "Austrian German", "Armenian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Phillies"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.mlb.com/phillies", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Philadelphia Phillies\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.mlb.com/phillies\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What film titled Arizon has Douglas Fairbanks as a cast member?", "choices": ["Robin Hood", "The Fifth Element", "Wilson", "The Three Musketeers", "Talk to Her", "The Towering Inferno", "A Prairie Home Companion", "Pleasantville", "Rebecca", "Arizona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas Fairbanks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Arizona"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Douglas Fairbanks\" .  ?e <title> ?pv . ?pv <pred:value> \"Arizona\" .  }", "answer": "Arizona"}, {"question": "Which fat is a nutrient of the taxon whose French language pronunciation audio is Fr-avocatier.ogg?", "choices": ["manganese", "Ontario County", "L-Threonine", "zinc", "saturated fat", "phosphorus", "Monounsaturated fat", "The Turning Point", "copper", "The Notebook"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Fr-avocatier.ogg"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "French"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["taxon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fat"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fat\" . ?e_1 <nutrient> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"taxon\" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> \"Fr-avocatier.ogg\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"French\" .   }", "answer": "saturated fat"}, {"question": "What is the ISNI for the University having the DOI prefix 10.18275?", "choices": ["0000 0001 1471 0124", "0000 0000 8329 9159", "0000 0003 6860 8189", "0000 0001 2096 4913", "0000 0001 2018 3877", "0000 0001 1641 9509", "0000 0001 0920 2053", "0000 0001 2287 7477", "0000 0001 1395 7715", "0000 0004 1936 746X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DOI prefix", "10.18275"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <DOI_prefix> ?pv_1 . ?pv_1 <pred:value> \"10.18275\" . ?e <ISNI> ?pv .  }", "answer": "0000 0004 1936 746X"}, {"question": "Since when does a movie, with the official website ttp://www.sonypictures.com/movies/basicinstinct2/, exploitation visa number 114763?", "choices": ["1884-01-01", "1905-09-01", "1889-04-01", "2011-03-08", "1970-09-19", "2017-08-03", "2002-09-25", "2006-03-16", "1968-02-06", "1955-10-26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonypictures.com/movies/basicinstinct2/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["exploitation visa number", "114763", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sonypictures.com/movies/basicinstinct2/\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"114763\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2006-03-16"}, {"question": "Which association football club had an official opening date after 1898 and has the occupant Morocco national football team?", "choices": ["C.F. Os Belenenses", "Preston North End F.C.", "Zamalek SC", "Hibernian F.C.", "S.C. Braga", "Raja Casablanca", "Roda JC Kerkrade", "Middlesbrough F.C.", "Rochester Rhinos", "Stade Brestois 29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of official opening", "1898", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Morocco national football team"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupant", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <date_of_official_opening> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1898 ) . ?e <occupant> ?e_1 . ?e_1 <pred:name> \"Morocco national football team\" .  }", "answer": "Raja Casablanca"}, {"question": "Out of all the settlements where the local dialing code is 201, which is largest in area?", "choices": ["Ridgewood", "Whanganui", "North Hollywood", "Montclair", "Red Bank", "Verona", "Teaneck", "Belleville", "West Orange", "Princeton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "201"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"201\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Teaneck"}, {"question": "Which has the smallest maximum capacity among the association football clubs whose maximum capacity is less than 45000?", "choices": ["C.F. Os Belenenses", "Worcester City F.C.", "Middlesbrough F.C.", "S.C. Braga", "Hibernian F.C.", "Roda JC Kerkrade", "Brisbane Roar FC", "Stade Brestois 29", "Preston North End F.C.", "Wellington Phoenix FC"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["maximum capacity", "45000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["maximum capacity", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <maximum_capacity> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"45000\"^^xsd:double ) . ?e <maximum_capacity> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Worcester City F.C."}, {"question": "Which human settlement founded in 1702 was established later than 1638?", "choices": ["Mobile", "Verona", "Darjeeling", "Belleville", "Red Bank", "Nagpur", "Livingston", "Ridgewood", "Montclair", "Danbury"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1702", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1638", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human settlement"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <inception> ?pv . ?pv <pred:year> 1702 . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1638 ) .  }", "answer": "Verona"}, {"question": "How was it determined that the administrative territorial entity whose Dewey Decimal Classification is 2--76944 has a population of 756832?", "choices": ["lead-lead dating", "United Kingdom Census 1981", "United Kingdom Census 1991", "United Kingdom Census 1971", "Address Based Population Registration System", "estimation process", "administrative division valid at the moment of publication", "extrapolation", "Pensky\u2013Martens closed-cup test", "national estimation"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--76944"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "756832", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--76944\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"756832\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many television networks were founded by the person with ISNI 0000 0000 8186 7837?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8186 7837"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television network"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" . ?e_1 <found> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8186 7837\" .   }", "answer": "1"}, {"question": "What disease has pneumonia as one risk factor and whose MeSH Code is C08.381.187?", "choices": ["pedophilia", "cystic fibrosis", "asthma", "epilepsy", "sepsis", "attention deficit hyperactivity disorder", "gastroesophageal reflux disease", "heart failure", "amyotrophic lateral sclerosis", "peritonitis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pneumonia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["risk factor", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["MeSH Code", "C08.381.187"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["disease"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <risk_factor> ?e . ?e_1 <pred:name> \"pneumonia\" .  ?e <MeSH_Code> ?pv . ?pv <pred:value> \"C08.381.187\" .  }", "answer": "cystic fibrosis"}, {"question": "Which software developed prior to 1996 has the Stack Exchange tag stackoverflow.com/tags/mesa?", "choices": ["Unix", "iOS", "Brave", "Android", "Microsoft Windows", "Regina", "Solaris", "macOS", "Mesa", "Linux"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1996", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Stack Exchange tag", "https://stackoverflow.com/tags/mesa"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["software"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) . ?e <Stack_Exchange_tag> ?pv_1 . ?pv_1 <pred:value> \"https://stackoverflow.com/tags/mesa\" .  }", "answer": "Mesa"}, {"question": "Robert Zigler Leonard's place of death, Beverly Hills, belongs to which country?", "choices": ["United States of America", "Finland", "Syria", "Italy", "Ukraine", "British Empire", "Monaco", "Egypt", "Hungary", "Ecuador"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Zigler Leonard"]}, {"function": "Find", "dependencies": [], "inputs": ["Beverly Hills"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of death", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Zigler Leonard\" . ?e_2 <pred:name> \"Beverly Hills\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "How is the David Copperfield with Eileen Atkins as a cast member related to Eileen Atkins?", "choices": ["legal form", "lyrics by", "place of death", "applies to jurisdiction", "costume designer", "feast day", "cast member", "business division", "present in work", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eileen Atkins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Eileen Atkins"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Eileen Atkins\" . ?e_2 <pred:name> \"Eileen Atkins\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which area has higher elevation above sea level, Saint Petersburg or Lyon?", "choices": ["Stuttgart", "Regensburg", "Wuppertal", "Dnipro", "Bordeaux", "Fort Smith", "Saint Petersburg", "Halle (Saale)", "Aachen", "Lyon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Lyon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saint Petersburg\" .  } UNION { ?e <pred:name> \"Lyon\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lyon"}, {"question": "What is the official website associated with the individual whose birth date is 09/19/1951?", "choices": ["https://www.fairfaxcounty.gov/", "http://www.sen.ca.gov/asp/menu/Senate.asp", "https://www.ibm.com/", "http://www.daniellanois.com/", "http://www.harrypotter.com/", "http://www.emerson.edu", "http://www.michaeljackson.com", "http://www.mavs.com", "http://www.law.berkeley.edu/", "http://www.poitou-charentes.fr"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1951-09-19", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1951-09-19\"^^xsd:date . ?e <official_website> ?pv .  }", "answer": "http://www.daniellanois.com/"}, {"question": "What is the Instagram username of the person who holds the position of judge?", "choices": ["alisonkrauss", "clairedanes", "racingcluboficial", "repcarter", "kathygriffin", "chicagobears", "oliviawilde", "stlouisblues", "dudette583", "rupaulofficial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["judge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_held> ?e_1 . ?e_1 <pred:name> \"judge\" .  ?e <Instagram_username> ?pv .  }", "answer": "repcarter"}, {"question": "For the administrative territorial entity that is named after Santa Fe (the one whose Dewey Decimal Classification is 2--78956), what is the time point for its population of 144508?", "choices": ["2009-05-06", "2003-12-31", "2001-03-11", "2009-10-14", "2010-07-01", "2011-06-22", "2016-10-20", "2000-01-19", "1823", "2010-03-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Fe"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--78956"]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "144508", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Santa Fe\" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--78956\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"144508\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Which visual artwork was composed by Brian May (the one that died in the manner of natural causes)?", "choices": ["Talk to Her", "Solaris", "Hellboy", "A Prairie Home Companion", "Gallipoli", "Pleasantville", "Hawaii", "Rebecca", "Far from Heaven", "Dick Tracy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian May"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Brian May\" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> \"natural causes\" .   }", "answer": "Gallipoli"}, {"question": "How many diseases whose UMLS CUI is C0153594 or that caused the death of Nina Simone?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UMLS CUI", "C0153594"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "Find", "dependencies": [], "inputs": ["Nina Simone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cause of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["disease"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" .  { ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0153594\" .  } UNION { ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> \"Nina Simone\" .  } }", "answer": "2"}, {"question": "When did Being Julia with the exploitation visa number of 114114 start?", "choices": ["1096", "1956-04-02", "2005-12-06", "2015-11-12", "1988-02-13", "1928-07-28", "2013-07-22", "1993-07-28", "1807-03-04", "1988-08-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Being Julia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["exploitation visa number", "114114", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Being Julia\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"114114\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2005-12-06"}, {"question": "What association football team's official color is white and official website is https://www.brentfordfc.com/?", "choices": ["Brentford F.C.", "Stockport County F.C.", "Fleetwood Town F.C.", "Stade Brestois 29", "Blackburn Rovers F.C.", "Anorthosis Famagusta FC", "Middlesbrough F.C.", "Zamalek SC", "Odense Boldklub", "Brisbane Roar FC"], "program": [{"function": "Find", "dependencies": [], "inputs": ["white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.brentfordfc.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_color> ?e_1 . ?e_1 <pred:name> \"white\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.brentfordfc.com/\" .  }", "answer": "Brentford F.C."}, {"question": "Which movie is titled Looney Tunes: Back in Action?", "choices": ["Star Trek", "Looney Tunes: Back in Action", "The Royal Tenenbaums", "House of Wax", "Talk to Her", "Rebecca", "Going My Way", "A Prairie Home Companion", "2001: A Space Odyssey", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Looney Tunes: Back in Action"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Looney Tunes: Back in Action\" .  }", "answer": "Looney Tunes: Back in Action"}, {"question": "Is the male population greater for Haryana, whose ISO 3166-2 code is IN-HR, or Himachal Pradesh, the one whose population is 6864602?", "choices": ["Punjab", "Jharkhand", "Kerala", "Haryana", "Himachal Pradesh", "Gujarat", "West Bengal", "Karnataka", "Maharashtra", "Odisha"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haryana"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "IN-HR"]}, {"function": "Find", "dependencies": [], "inputs": ["Himachal Pradesh"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "6864602", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["male population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Haryana\" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> \"IN-HR\" . } UNION { ?e <pred:name> \"Himachal Pradesh\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"6864602\"^^xsd:double . } ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Haryana"}, {"question": "Which has more seasons, The Surreal Life or The Wire?", "choices": ["Bleak House", "Six Feet Under", "Saturday Night's Main Event", "American Horror Story", "Robot Chicken", "Seinfeld", "The Wire", "The Surreal Life", "Game of Thrones", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Surreal Life"]}, {"function": "Find", "dependencies": [], "inputs": ["The Wire"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Surreal Life\" .  } UNION { ?e <pred:name> \"The Wire\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Surreal Life"}, {"question": "How many forms of punk rock correspond to the subreddit postpunk or hail from the UK?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "postpunk"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["punk rock"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["punk rock"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"punk rock\" .  { ?e <subreddit> ?pv . ?pv <pred:value> \"postpunk\" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  } }", "answer": "7"}, {"question": "How are Alameda and mayor related?", "choices": ["from fictional universe", "nutrient", "native language", "military rank", "affiliation", "office held by head of government", "is a list of", "librettist", "has immediate cause", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alameda"]}, {"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alameda\" . ?e_2 <pred:name> \"mayor\" . ?e_1 ?p ?e_2 .  }", "answer": "office held by head of government"}, {"question": "Is universitario1924 the Instagram username for the person who is a cast member in the character role of Willow Rosenberg in Buffy the Vampire Slayer (that has Amber Benson as a cast member)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amber Benson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Buffy the Vampire Slayer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Willow Rosenberg"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["universitario1924"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Buffy the Vampire Slayer\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Amber Benson\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Willow Rosenberg\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"universitario1924\" .  }", "answer": "no"}, {"question": "The ResearcherID is A-4380-2014 for which individual?", "choices": ["Richard Gere", "William Petersen", "William Henry Harrison", "Peter Boyle", "George Martin", "Elizabeth Taylor", "Rahul Dev Burman", "Sylvester Stallone", "Max Fleischer", "Simon Cowell"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ResearcherID", "A-4380-2014"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ResearcherID> ?pv . ?pv <pred:value> \"A-4380-2014\" .  }", "answer": "Peter Boyle"}, {"question": "Is the title of The Orphanage \"Four Rooms\"?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Orphanage"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Four Rooms"]}], "sparql": "ASK { ?e <pred:name> \"The Orphanage\" . ?e <title> ?pv . ?pv <pred:value> \"Four Rooms\" .  }", "answer": "no"}, {"question": "What is the title of Speed 2: Cruise Control?", "choices": ["Les Chariots de feu", "A League of Their Own", "Attack the Block", "The Sorcerer's Apprentice", "Rich Man, Poor Man", "Helena", "The Killers", "Take Shelter", "\u0ba4\u0bbe\u0b9c\u0bcd\u0bae\u0b95\u0bbe\u0bb2\u0bcd", "Speed 2: Cruise Control"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Speed 2: Cruise Control"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Speed 2: Cruise Control\" . ?e <title> ?pv .  }", "answer": "Speed 2: Cruise Control"}, {"question": "How many string instruments do we know whose Hornbostel-Sachs classification is 314.122-6-8 and that are used by a harpsichordist ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["harpsichordist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["used by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["string instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Hornbostel-Sachs classification", "314.122-6-8"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["string instrument"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"string instrument\" . ?e <used_by> ?e_1 . ?e_1 <pred:name> \"harpsichordist\" .  ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"314.122-6-8\" .  }", "answer": "1"}, {"question": "Does ISNI 0000 0000 7983 4673 correspond to the person born in mayor-led Norwalk ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norwalk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0000 0000 7983 4673"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Norwalk\" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> \"mayor\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7983 4673\" .  }", "answer": "no"}, {"question": "When was the life expectancy of the form of government with ISO 3166-1 alpha-2 code as SL, 50.401 year ?", "choices": ["1998", "1961", "1977-01-10", "1952-01-01", "1962-05-01", "1998-08-19", "2008-02-10", "1992-12-01", "2013", "2003-08-27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-1 alpha-2 code", "SL"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["life expectancy", "50.401 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <ISO_3166-1_alpha-2_code> ?pv_1 . ?pv_1 <pred:value> \"SL\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"50.401\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "What television series has a cast member who is the person with the Twitter username itsgabrielleu?", "choices": ["The Singing Detective", "Charmed", "Buffy the Vampire Slayer", "City of Angels", "Meet Dave", "Great Expectations", "Santa Barbara", "Think like a Man", "M*A*S*H", "Scrubs"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "itsgabrielleu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"itsgabrielleu\" .   }", "answer": "City of Angels"}, {"question": "How many Maine counties were established before 1636?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1636", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maine"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1636 ) .  }", "answer": "0"}, {"question": "Tell me the administrative territorial entity that has Belfast for the one with the smallest area.", "choices": ["Kent County", "African Union", "Cass County", "Greene County", "County Antrim", "Delaware County", "Lee County", "County Down", "San Juan County", "Orange County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belfast"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Belfast\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Down"}, {"question": "Who is taller, Amitabh Bachchan or Tom Brady (the one that was born in San Mateo)?", "choices": ["David Byrne", "Amitabh Bachchan", "William Henry Harrison", "Sylvester Stallone", "Rahul Dev Burman", "Max Fleischer", "Richard Gere", "James E. Reilly", "Tom Brady", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amitabh Bachchan"]}, {"function": "Find", "dependencies": [], "inputs": ["San Mateo"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Brady"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amitabh Bachchan\" .  } UNION { ?e <pred:name> \"Tom Brady\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"San Mateo\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tom Brady"}, {"question": "Since when does Max Fleischer (the one that is the citizen of United States of America) lives in the US ?", "choices": ["1985-07-16", "1887", "1968-01-01", "2008-01-14", "1997-03-14", "1899-01-01", "1978-09-01", "1992-09-22", "1982-07-04", "1972-09-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Max Fleischer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["residence", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Max Fleischer\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1887"}, {"question": "How is FCU Craiova 1948 related to association football?", "choices": ["mother", "official color", "make-up artist", "depicted by", "interests", "currency", "performer", "drug used for treatment", "signatory", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FCU Craiova 1948"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"FCU Craiova 1948\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How many county towns are the origin of the name New York Red Bulls?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York Red Bulls"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county town"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county town\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"New York Red Bulls\" .   }", "answer": "0"}, {"question": "How many plucked sound instruments were included into the instrumentation of The Sorcerer's Apprentice (the one whose instrumentation is bass clarinet), or, they report 786.419 as their Dewey Decimal Classification ?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bass clarinet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrumentation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sorcerer's Apprentice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["instrumentation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["plucked string instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["Dewey Decimal Classification", "786.419"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["plucked string instrument"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"plucked string instrument\" .  { ?e_1 <instrumentation> ?e . ?e_1 <pred:name> \"The Sorcerer's Apprentice\" . ?e_1 <instrumentation> ?e_2 . ?e_2 <pred:name> \"bass clarinet\" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"786.419\" .  } }", "answer": "2"}, {"question": "What is Halle Berry's CANTIC-ID?", "choices": ["a10363725", "a11589164", "a11793053", "a11292568", "a10887325", "a11065758", "a11573387", "a10107502", "a12092368", "a10073644"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Halle Berry"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Halle Berry\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11573387"}, {"question": "Where was the film titled Giant published on 1956-10-10?", "choices": ["Stockholm", "Croatia", "West Germany", "Lithuania", "United States of America", "Beverly Hills", "Hong Kong", "Sorrento", "India", "Pakistan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Giant"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1956-10-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Giant\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1956-10-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "How many association-football clubs have Jason Roberts as a member?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jason Roberts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Jason Roberts\" .   }", "answer": "9"}, {"question": "Was the person with ISNI 0000 0001 1469 059X born before 1967?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1469 059X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1967", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1469 059X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  }", "answer": "no"}, {"question": "What is the date of birth of the person who is a costume designer of Memoirs of a Geisha?", "choices": ["1951-11-09", "1924-11-22", "1920-09-06", "1908-05-26", "1547-09-29", "1970-08-19", "1979-09-18", "1921-06-01", "1948-09-25", "1913-05-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Memoirs of a Geisha"]}, {"function": "Relate", "dependencies": [0], "inputs": ["costume designer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <costume_designer> ?e . ?e_1 <pred:name> \"Memoirs of a Geisha\" .  ?e <date_of_birth> ?pv .  }", "answer": "1948-09-25"}, {"question": "How is testicular cancer linked to Tom Green?", "choices": ["mouth of the watercourse", "location of discovery", "follows", "series spin-off", "official residence", "has dialect (DEPRECATED)", "notable people with this condition", "start point", "broadcast by", "sexual orientation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["testicular cancer"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Green"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"testicular cancer\" . ?e_2 <pred:name> \"Tom Green\" . ?e_1 ?p ?e_2 .  }", "answer": "notable people with this condition"}, {"question": "Is ?_ _, ___ _, _??_ _ the title of the visual artwork directed by Walter Hill who was born on 1942-01-10?", "choices": ["720432", "12214", "539", "4621", "301308", "245", "61305", "373555", "8601139", "150766"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vidya Balan"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "vidya_balan", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Vidya Balan\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"vidya_balan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "301308"}, {"question": "Was Stephen Chow born before 1855?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Chow"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1855", "<"]}], "sparql": "ASK { ?e <pred:name> \"Stephen Chow\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1855 ) .  }", "answer": "no"}, {"question": "When was Max Fleischer (the one that died in Woodland Hills) born?", "choices": ["1779-03-29", "1975-09-16", "1948-04-15", "1943-02-08", "1967-12-08", "1931-08-12", "1972-11-06", "1954-06-22", "1965-08-28", "1883-07-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Woodland Hills"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Max Fleischer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Max Fleischer\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Woodland Hills\" .  ?e <date_of_birth> ?pv .  }", "answer": "1883-07-19"}, {"question": "Which university has a smaller budget, University of Jena or University of Freiburg?", "choices": ["University of Queensland", "Panjab University", "San Diego State University", "University of Michigan", "University of Jena", "University of Melbourne", "University of Hamburg", "King's College London", "University of Freiburg", "Birkbeck, University of London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Jena"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Freiburg"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["budget", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Jena\" .  } UNION { ?e <pred:name> \"University of Freiburg\" .  } ?e <budget> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Jena"}, {"question": "What relationship does George Bernard Shaw have with the London School of Economics?", "choices": ["found", "official language", "influenced by", "office held by head of state", "statistical leader", "geographic distribution", "military branch", "given name", "continent", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Bernard Shaw"]}, {"function": "Find", "dependencies": [], "inputs": ["London School of Economics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Bernard Shaw\" . ?e_2 <pred:name> \"London School of Economics\" . ?e_1 ?p ?e_2 .  }", "answer": "found"}, {"question": "Does In the Name of the Father or Dog Day Afternoon have the shorter runtime?", "choices": ["Pleasantville", "Dog Day Afternoon", "The Towering Inferno", "Training Day", "A Prairie Home Companion", "Curse of the Golden Flower", "The Fifth Element", "In the Name of the Father", "Talk to Her", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In the Name of the Father"]}, {"function": "Find", "dependencies": [], "inputs": ["Dog Day Afternoon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"In the Name of the Father\" .  } UNION { ?e <pred:name> \"Dog Day Afternoon\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dog Day Afternoon"}, {"question": "for the human who passed away in Santa Rosa, is his or her CANTIC ID exactly a1160864x?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Rosa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["a1160864x"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Santa Rosa\" .  ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a1160864x\" .  }", "answer": "no"}, {"question": "How is AFI related to gothic rock?", "choices": ["studied by", "award received", "named after", "nutrient", "afflicts", "genre", "composer", "capital of", "location of formation", "professorship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AFI"]}, {"function": "Find", "dependencies": [], "inputs": ["gothic rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"AFI\" . ?e_2 <pred:name> \"gothic rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What number of architectural styles influenced postmodern architecture?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["postmodern architecture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["architectural style"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"architectural style\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"postmodern architecture\" .   }", "answer": "0"}, {"question": "Was the person who is referenced by an ISNI of 0000 0001 1475 678X born before 1932?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1475 678X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1932", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1475 678X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1932 ) .  }", "answer": "no"}, {"question": "Was the person whose ISNI is 0000 0000 0071 3087 born after 1948?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0071 3087"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1948", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 0071 3087\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1948 ) .  }", "answer": "yes"}, {"question": "Among the comedies having a number of seasons of less than 20, which one has the largest number of episodes?", "choices": ["The Golden Girls", "stand-up comedy", "The Monkees", "comedy of manners", "Minas Gerais", "Jane Austen", "farce", "Mr. Smith Goes to Washington", "Thrissur", "Michael Bell"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "20", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"20\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "Is the population of County Waterford a number other than 190,000,000 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Waterford"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["190000000", "!="]}], "sparql": "ASK { ?e <pred:name> \"County Waterford\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"190000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What language is http://www.springfieldmo.gov, the official website of a city in the US that is an administrative division of Greene County, the one with 280,604 people?", "choices": ["Icelandic", "Irish", "Old English", "English", "Canadian French", "Albanian", "Chinese", "Spanish", "Hebrew", "Tamil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "280604", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.springfieldmo.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Greene County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"280604\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.springfieldmo.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which is longer, The SpongeBob SquarePants Movie released in the Philippines or Peter Pan whose exploitation visa number is 14043?", "choices": ["Renaissance", "Cinderella", "The SpongeBob SquarePants Movie", "Aladdin", "Shrek 2", "Peter Pan", "WALL\u00b7E", "Lilo & Stitch", "The Rescuers", "Winnie the Pooh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The SpongeBob SquarePants Movie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Peter Pan"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["exploitation visa number", "14043"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The SpongeBob SquarePants Movie\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Philippines\" . } UNION { ?e <pred:name> \"Peter Pan\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"14043\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The SpongeBob SquarePants Movie"}, {"question": "How many bowed string instruments were used by Stuart Duncan or comprise the part of a banjo >", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stuart Duncan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["bowed string instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["banjo"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has parts of the class", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["bowed string instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"bowed string instrument\" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Stuart Duncan\" .  } UNION { ?e_1 <has_parts_of_the_class> ?e . ?e_1 <pred:name> \"banjo\" .  } }", "answer": "1"}, {"question": "How long is the film that won for Best Supporting Actress at the 44th Academy Awards?", "choices": ["122.0 minute", "118 minute", "179 minute", "380 minute", "133.0 minute", "63 minute", "55 minute", "158 minute", "241 minute", "183 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "44th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"44th Academy Awards\" . ?e <duration> ?pv .  }", "answer": "118 minute"}, {"question": "Who is taller: Scott McDonald, or the James Buchanan who took part in the 25th US Congress?", "choices": ["David Byrne", "James E. Reilly", "Max Fleischer", "Simon Cowell", "Richard Gere", "Scott McDonald", "William Henry Harrison", "Paul Simon", "Sylvester Stallone", "James Buchanan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott McDonald"]}, {"function": "Find", "dependencies": [], "inputs": ["25th United States Congress"]}, {"function": "Relate", "dependencies": [1], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Buchanan"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Scott McDonald\" .  } UNION { ?e <pred:name> \"James Buchanan\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"25th United States Congress\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "James Buchanan"}, {"question": "How many dogs are named after Middlesex or have a life expectancy not equal to 12.6 years?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Middlesex"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["life expectancy", "12.6 year", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["dog"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Middlesex\" .  } UNION { ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v != \"12.6\"^^xsd:double ) .  } }", "answer": "2"}, {"question": "When did Robert Young (the one whose position is lineman) stop being a member of the Los Angeles Rams?", "choices": ["1994", "1971-07-03", "2000-03-07", "1917-12-05", "2013-11-28", "1817-03-04", "1849-03-04", "1975-11-25", "1965-01-01", "1991-09-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["lineman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Young"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles Rams"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Young\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"lineman\" . ?e_2 <pred:name> \"Los Angeles Rams\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1994"}, {"question": "Of which class is subpop, the Instagram username of the record label of Flight of the Conchords (whose genre is folk rock), a special example?", "choices": ["Tor hidden service", "Minority religion", "archipelago", "historical country", "statement with Gregorian date earlier than 1584", "verified account", "location identifier part of a library identifier code", "Nueva Planta decrees", "dynasty", "Gran Colombia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["folk rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight of the Conchords"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["Instagram username", "subpop", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Flight of the Conchords\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"folk rock\" .  ?e <Instagram_username> ?pv . ?pv <pred:value> \"subpop\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Instagram_username> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "verified account"}, {"question": "Does the person whose ISNI is 0000 0000 7897 3700, have a birth date after 1977?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7897 3700"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1977", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7897 3700\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1977 ) .  }", "answer": "no"}, {"question": "Is The Quiet American the title of the film whose cost is 2883848 USD?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "2883848 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["The Quiet American"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"2883848\"^^xsd:double . ?e <title> ?pv . ?pv <pred:value> \"The Quiet American\" .  }", "answer": "no"}, {"question": "Which one has more elevation above sea level between Jackson (the one founded in 1822) or Henderson?", "choices": ["Columbus", "Franklin", "Boulder", "Henderson", "Waukegan", "Greenville", "Oakland", "Jackson", "New Haven", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackson"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1822", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Henderson"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jackson\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1822 . } UNION { ?e <pred:name> \"Henderson\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Henderson"}, {"question": "Which movie is shorter, Shanghai (the one whose producer is Walter Wanger) or Magnolia?", "choices": ["The Hunchback of Notre Dame", "Training Day", "Talk to Her", "A Prairie Home Companion", "The Towering Inferno", "The Fifth Element", "Shanghai", "Pleasantville", "Magnolia", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter Wanger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shanghai"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Magnolia"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shanghai\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Walter Wanger\" .   } UNION { ?e <pred:name> \"Magnolia\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Shanghai"}, {"question": "Is the film whose subreddit is goonies longer than 50 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "goonies"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["50 minute", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"goonies\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"50\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "For the American football team with Cris Collinsworth as a member, what language is its official website, http://www.bengals.com?", "choices": ["Valencian", "Korean", "Greek", "Persian", "Atikamekw", "English", "Italian", "German", "Afrikaans", "National language of Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cris Collinsworth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.bengals.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Cris Collinsworth\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bengals.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which album is a noted work of the person with ISNI 0000 0001 0909 4902?", "choices": ["Luis Miguel", "The B-52's", "Seal", "Jonas Brothers", "Bon Jovi", "Christopher Cross", "Kraftwerk", "Toni Braxton", "Chariots of Fire", "Hollywood"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0909 4902"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["album"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e_1 <notable_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0909 4902\" .   }", "answer": "Chariots of Fire"}, {"question": "\u0b87\u0baa\u0bca\u0b95(\u0bae\u0bbe) is the abbreviated name form for how many political parties?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u0b87\u0baa\u0bca\u0b95(\u0bae\u0bbe)"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u0b87\u0baa\u0bca\u0b95(\u0bae\u0bbe)\" .  }", "answer": "1"}, {"question": "How many wars commenced in a year other than 1971 and concluded in a year other than 1337?", "choices": ["38", "39", "40", "41", "42", "43", "44", "45", "46", "47"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1971", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["end time", "1337", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["war"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1971 ) . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1337 ) .  }", "answer": "40"}, {"question": "Who weighs more, Amy Winehouse or Joe Jackson (the one whose mass is 78 kilogram)?", "choices": ["Max Fleischer", "Amy Winehouse", "Simon Cowell", "David Byrne", "James E. Reilly", "Paul Simon", "Joe Jackson", "Rahul Dev Burman", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amy Winehouse"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Jackson"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["mass", "78 kilogram", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amy Winehouse\" . } UNION { ?e <pred:name> \"Joe Jackson\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"kilogram\" . ?pv_1 <pred:value> \"78\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Joe Jackson"}, {"question": "What facility collects the film titled Who's Afraid of Virginia Woolf?", "choices": ["National Gallery", "Museum of Modern Art", "Metropolitan Museum of Art", "Tower of London", "Pittsfield", "prison", "Museo del Prado", "Louvre Museum", "National Gallery of Art", "Aphex Twin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Who's Afraid of Virginia Woolf?"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["collection", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["facility"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"facility\" . ?e_1 <collection> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Who's Afraid of Virginia Woolf?\" .   }", "answer": "Museum of Modern Art"}, {"question": "What is the number of male inhabitants of the human settlement with a total population of 8015 according to census?", "choices": ["13692101", "8987326", "4774477", "17458910", "580663", "1371957", "4482", "30966657", "31491260", "182549"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8015", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["determination method", "census"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human settlement"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["male population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"8015\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <determination_method> ?qpv . ?qpv <pred:value> \"census\" . ?e <male_population> ?pv .  }", "answer": "4482"}, {"question": "Does the Cambridgeshire that borders Lincolnshire have a lower population, or does Cumbria?", "choices": ["Norfolk", "Northumberland", "Warwickshire", "East Riding of Yorkshire", "Cumbria", "Derbyshire", "Essex", "Cambridgeshire", "Somerset", "Staffordshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lincolnshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridgeshire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cumbria"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cambridgeshire\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Lincolnshire\" .   } UNION { ?e <pred:name> \"Cumbria\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cumbria"}, {"question": "Which human is the producer of the visual artwork whose official website is http://www.wkw-inthemoodforlove.com/eng/homepg/homepg.asp?", "choices": ["Sacha Baron Cohen", "Carlo Ponti, Sr.", "Peter Sarsgaard", "Joel Silver", "Jack Black", "Jean Passanante", "Wong Kar-wai", "Nora Ephron", "Peter Hyams", "Ray Charles"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.wkw-inthemoodforlove.com/eng/homepg/homepg.asp"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.wkw-inthemoodforlove.com/eng/homepg/homepg.asp\" .   }", "answer": "Wong Kar-wai"}, {"question": "Which capital that is the twinned administrative body of Kyoto occupies the least area?", "choices": ["Lausanne", "Doha", "Paris", "Mexico City", "Moscow", "Sarajevo", "Kiev", "Riga", "Manila", "Prague"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kyoto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Kyoto\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Paris"}, {"question": "How many administrative territorial entities have the postal code EN or have a diplomatic relation with United States of America?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "EN"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["diplomatic relation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" .  { ?e <postal_code> ?pv . ?pv <pred:value> \"EN\" .  } UNION { ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "3"}, {"question": "Where was Annie (which has Patricia Clarkson as a cast member) published on 2014-12-19?", "choices": ["Cannes", "Thailand", "Taiwan", "Kingdom of the Netherlands", "Taormina Film Fest", "United States of America", "Singapore", "Johannesburg", "Lebanon", "Chicago"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patricia Clarkson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Annie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2014-12-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Annie\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Patricia Clarkson\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2014-12-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the relationship between Antony Sher to Jewish people?", "choices": ["source of material", "ethnic group", "has parts of the class", "from fictional universe", "relative", "student of", "use", "performer", "costume designer", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antony Sher"]}, {"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Antony Sher\" . ?e_2 <pred:name> \"Jewish people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What mathematician has a ROME Occupation Code (v3) of M1403?", "choices": ["computer scientist", "make-up artist", "bandleader", "astronaut", "financier", "biologist", "statistician", "astronomer", "physicist", "biochemist"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ROME Occupation Code (v3)", "M1403"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mathematician"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mathematician\" . ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"M1403\" .  }", "answer": "statistician"}, {"question": "What county of New York is the birthplace of Ray Heindorf ?", "choices": ["Orange County", "Nassau County", "Rensselaer County", "Fulton County", "Rockland County", "Niagara County", "Warren County", "Franklin County", "Jefferson County", "Clinton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Heindorf"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Ray Heindorf\" .   }", "answer": "Rockland County"}, {"question": "Is http://www.lonchaney.tk/ the official website for The Sopranos?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Sopranos"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.lonchaney.tk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Sopranos\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lonchaney.tk/\" .  }", "answer": "no"}, {"question": "What game has more than 630 episodes and originally aired on NBC?", "choices": ["The Price Is Right", "news magazine", "teen drama", "medical drama", "reality television", "Somerset", "Santa Barbara", "educational television", "talk show", "Another World"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "630", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["game show"]}, {"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["game show"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"game show\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"630\"^^xsd:double ) . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"NBC\" .  }", "answer": "The Price Is Right"}, {"question": "What is the connection between David Hume to economist?", "choices": ["donated by", "penalty", "office held by head of state", "occupation", "film editor", "honorific prefix", "given name", "writing system", "replaces", "Wikidata property"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Hume"]}, {"function": "Find", "dependencies": [], "inputs": ["economist"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Hume\" . ?e_2 <pred:name> \"economist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is huntingtonbeach the subreddit of Huntington Beach?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Huntington Beach"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["subreddit"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["huntingtonbeach"]}], "sparql": "ASK { ?e <pred:name> \"Huntington Beach\" . ?e <subreddit> ?pv . ?pv <pred:value> \"huntingtonbeach\" .  }", "answer": "yes"}, {"question": "What is the subject of the statement that Alexandre Trauner was nominated for an Academy Award for Best Production Design?", "choices": ["Eritrea\u2013Israel relations", "87th Academy Awards", "42nd Tony Awards", "48th Academy Awards", "North Korea\u2013Singapore relations", "Australia\u2013Barbados relations", "Denmark\u2013Georgia (country) relations", "Taiwan\u2013Zimbabwe relations", "South Korea\u2013Thailand relations", "Iran\u2013Kazakhstan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexandre Trauner"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alexandre Trauner\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "48th Academy Awards"}, {"question": "Does the person with British Museum person-institution designation 160508 have ISNI number 0000 0001 0879 4691 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "160508"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0879 4691"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> \"160508\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0879 4691\" .  }", "answer": "yes"}, {"question": "Which one of non-metropolitan districts, administrative divisions of Norfolk (the one whose country is United Kingdom) has the smallest population?", "choices": ["Carlisle", "Norwich", "South Somerset", "Chichester", "Guildford", "Great Yarmouth", "King's Lynn and West Norfolk", "Craven", "West Dorset", "North Norfolk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan district"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Norfolk\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Great Yarmouth"}, {"question": "How is the national cricket team of India related to India, which has a 3.174 total rate of fertility?", "choices": ["copyright representative", "ancestral home", "software engine", "filmography", "production designer", "country", "permanent resident of", "field of this occupation", "ethnic group", "manner of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["India national cricket team"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["total fertility rate", "3.174", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"India national cricket team\" . ?e_2 <pred:name> \"India\" . ?e_2 <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3.174\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Twitter username of the person whose ISNI is 0000 0001 1440 9075?", "choices": ["hamasinfo", "BillCosby", "Markgatiss", "selecaoportugal", "TorontoComms", "jimmykimmel", "hwinkler4real", "Inter_ar", "Kurt_Vonnegut", "imagecomics"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1440 9075"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1440 9075\" . ?e <Twitter_username> ?pv .  }", "answer": "Markgatiss"}, {"question": "The person born on 1981-07-04 attended which land-grant university?", "choices": ["University of Florida", "Ohio State University", "University of New Hampshire", "Tennessee State University", "University of Vermont", "University of Maryland", "Louisiana State University", "Texas A&M University", "University of Arizona", "University of California, Riverside"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1981-07-04", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["land-grant university"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1981-07-04\"^^xsd:date .   }", "answer": "Ohio State University"}, {"question": "Of all the visual artwork done in the 35 mm film format, what has the shortest duration?", "choices": ["The Hunchback of Notre Dame", "Talk to Her", "A Prairie Home Companion", "Blue Velvet", "Rebecca", "The Fifth Element", "Pleasantville", "Curse of the Golden Flower", "Dune", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["35 mm film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original film format", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <original_film_format> ?e_1 . ?e_1 <pred:name> \"35 mm film\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Blue Velvet"}, {"question": "What is the connection between A View to a Kill (the one whose publication date is 1985-07-12) to Dolph Lundgren?", "choices": ["cast member", "original language of film or TV show", "separated from", "noble title", "author", "edition or translation of", "risk factor", "dedicated to", "software engine", "military branch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A View to a Kill"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1985-07-12", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Dolph Lundgren"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A View to a Kill\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1985-07-12\"^^xsd:date . ?e_2 <pred:name> \"Dolph Lundgren\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What film has an official website found at http://www.miramax.com/movie/infernal-affairs-wu-jian-dau?", "choices": ["Ned Kelly", "Driving Miss Daisy", "Infernal Affairs", "A Prairie Home Companion", "Pleasantville", "There Will Be Blood", "Talk to Her", "Rebecca", "The Wizard of Oz", "The Spiderwick Chronicles"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/infernal-affairs-wu-jian-dau"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/infernal-affairs-wu-jian-dau\" .  }", "answer": "Infernal Affairs"}, {"question": "What city was named after the person that lived in Baku until 1956-10-20?", "choices": ["Varna", "Santo Domingo", "Trieste", "Kingston", "Bergen", "Chihuahua", "Cork", "Katowice", "Abidjan", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baku"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "QFilterDate", "dependencies": [3], "inputs": ["end time", "1956-10-20", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> \"Baku\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"1956-10-20\"^^xsd:date .  }", "answer": "Varna"}, {"question": "What is Armando Iannucci's ISNI?", "choices": ["0000 0001 2322 497X", "0000 0001 1507 2646", "0000 0003 6864 3275", "0000 0000 7704 0933", "0000 0000 4041 337X", "0000 0001 0679 2027", "0000 0001 0783 2836", "0000 0000 7845 2868", "0000 0001 2126 5700", "0000 0001 2189 3950"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armando Iannucci"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Armando Iannucci\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1507 2646"}, {"question": "What is the connection between John Wood (the one whose ISNI is 0000 0000 7243 7675) to architecture?", "choices": ["professorship", "owner of", "film crew member", "has quality", "interested in", "commander of", "creator", "taxon rank", "superhuman feature or ability", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Wood"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7243 7675"]}, {"function": "Find", "dependencies": [], "inputs": ["architecture"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Wood\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7243 7675\" . ?e_2 <pred:name> \"architecture\" . ?e_1 ?p ?e_2 .  }", "answer": "field of work"}, {"question": "What is the founding date of the soccer club with the Twitter handle fc_basel?", "choices": ["1893", "2003-01-01", "1811-01-01", "1927-06-07", "1581-07-26", "1821-06-01", "1954-12-15", "1901-03-01", "1967-07-31", "1938"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "fc_basel"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"fc_basel\" . ?e <inception> ?pv .  }", "answer": "1893"}, {"question": "Which person has CANTIC-ID of a10430817?", "choices": ["Amy Irving", "Rick Berman", "Stanley Donen", "Richard Gere", "George W. Bush", "Edward James Olmos", "Sylvester Stallone", "William Henry Harrison", "Miguel de Cervantes", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10430817"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10430817\" .  }", "answer": "Miguel de Cervantes"}, {"question": "How many followers have the Twitter username UConn (the colleges and universities in the United States whose PermID is 5001089383)?", "choices": ["13739165", "344388", "1787934", "341578", "8", "213351", "21430", "101731", "306243", "312355"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5001089383"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "UConn", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5001089383\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"UConn\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "101731"}, {"question": "Since when is Louisville the twinned administrative body of Leeds  (the one that contains University of Leeds) ?", "choices": ["1974-07-05", "1961-08-04", "2006-03-24", "1863-09-17", "1992-08-25", "1892", "1994-05-14", "2008-06-06", "1800-02-17", "1999-01-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louisville"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Leeds"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Leeds"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Louisville\" . ?e_2 <pred:name> \"Leeds\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"University of Leeds\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-03-24"}, {"question": "Was Scrooged released in Germany earlier than 2011?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scrooged"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2011", "<"]}], "sparql": "ASK { ?e <pred:name> \"Scrooged\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "What is the number of professions whose ROME Occupation Code (v3) is L1508 or native title is the United States Secretary of State?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ROME Occupation Code (v3)", "L1508"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "United States Secretary of State"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" .  { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"L1508\" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> \"United States Secretary of State\" .  } }", "answer": "2"}, {"question": "Which has a greater longitude of ascending node, Venus (whose Iconclass notation is 24C19) or Mars (whose orbital period is 668.5991 sols)?", "choices": ["Venus", "University of Michigan Law School", "For Your Consideration", "adventure", "Earth", "Werner Herzog", "University of Jena", "Mario Puzo", "Mars", "Unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Venus"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "24C19"]}, {"function": "Find", "dependencies": [], "inputs": ["Mars"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["orbital period", "668.5991 sol", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["longitude of ascending node", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Venus\" . ?e <Iconclass_notation> ?pv_1 . ?pv_1 <pred:value> \"24C19\" . } UNION { ?e <pred:name> \"Mars\" . ?e <orbital_period> ?pv_2 . ?pv_2 <pred:unit> \"sol\" . ?pv_2 <pred:value> \"668.5991\"^^xsd:double . } ?e <longitude_of_ascending_node> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Venus"}, {"question": "Which one is taller Napoleon (the one who died in1821-05-05) or Ben Johnson (the one that participated in the 1988 Summer Olympics)?", "choices": ["Max Fleischer", "Simon Cowell", "Napoleon", "Sylvester Stallone", "Ben Johnson", "Rahul Dev Burman", "James E. Reilly", "David Byrne", "Richard Gere", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Napoleon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1821-05-05", "="]}, {"function": "Find", "dependencies": [], "inputs": ["1988 Summer Olympics"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Johnson"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Napoleon\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1821-05-05\"^^xsd:date . } UNION { ?e <pred:name> \"Ben Johnson\" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> \"1988 Summer Olympics\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ben Johnson"}, {"question": "When was In the Heat of the Night (the one whose composer is Quincy Jones) published?", "choices": ["1961-04-27", "2011-02-18", "2013-06-13", "1968-03-21", "2004-09-05", "2012-02-09", "1967-08-02", "1994-06-24", "1982-12-17", "2011-01-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quincy Jones"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["In the Heat of the Night"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"In the Heat of the Night\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Quincy Jones\" .  ?e <publication_date> ?pv .  }", "answer": "1967-08-02"}, {"question": "What is the number of visual artworks that have a publication date after 2009 or that is Wild at Heart's main subject?", "choices": ["415", "416", "417", "418", "419", "420", "421", "422", "423", "424"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2009", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Wild at Heart"]}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2009 ) .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Wild at Heart\" .  } }", "answer": "421"}, {"question": "What is the date of birth for the human whose place of origin is Lucerne?", "choices": ["2011-01-21", "1924-02-03", "1903-09-12", "2013-06-09", "2009-08-06", "2002-07-15", "2003-06-15", "1976-06-05", "1936-06-14", "1910-11-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lucerne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of origin (Switzerland)", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_origin_(Switzerland)> ?e_1 . ?e_1 <pred:name> \"Lucerne\" .  ?e <date_of_death> ?pv .  }", "answer": "1976-06-05"}, {"question": "What is the ISNI of the person who name in native language is Sidney Poitier?", "choices": ["0000 0000 7824 7098", "0000 0001 1576 7384", "0000 0001 0557 9355", "0000 0001 2254 7101", "0000 0000 8024 2106", "0000 0001 2148 7581", "0000 0001 0858 1899", "0000 0001 2284 9900", "0000 0001 2353 285X", "0000 0001 1634 9408"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Sidney Poitier"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Sidney Poitier\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1634 9408"}, {"question": "What's the address of Columbia University Graduate School of Journalism's headquarter in New York City?", "choices": ["Little Smith St, London SW1P 3PF", "65-30 Kissena Blvd, Queens, NY, 11367", "3201 Burton Street SE, Grand Rapids, MI, 49546", "2950 Broadway", "500 Parnassus Avenue", "1700 Wade Hampton Boulavard, Greenville, SC, 29614-0001", "11021 East Blvd, Cleveland, OH, 44106-1776", "\u041d\u044c\u044e-\u0419\u043e\u0440\u043a", "10900 Euclid Ave, Cleveland, OH, 44106", "1 Apple Park Way"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia University Graduate School of Journalism"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Columbia University Graduate School of Journalism\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "2950 Broadway"}, {"question": "What is hte official website of the specialty channel whose ISNI is 0000 0004 0411 2974?", "choices": ["http://www.pima.gov", "http://www.cnn.com/", "http://www.razzies.com/", "https://www.warnerbros.com/house-wax-2005", "http://www.gilvicentefc.pt/", "https://www.foxmovies.com/movies/murder-on-the-orient-express", "http://www.hp.com/", "http://www.markharmonweb.com", "http://www.anc.org.za", "https://www.lu.se"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0411 2974"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["specialty channel"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"specialty channel\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0411 2974\" . ?e <official_website> ?pv .  }", "answer": "http://www.cnn.com/"}, {"question": "When did Rod Taylor (the one whose official website is http://www.rodtaylorsite.com/) win the   Broadcast Film Critics Association Award for Best Cast?", "choices": ["2009", "2011-01-12", "1847", "1811", "1529", "1948-08-01", "1956", "1933-12-01", "1953", "1735"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Find", "dependencies": [], "inputs": ["Rod Taylor"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.rodtaylorsite.com/"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_2 <pred:name> \"Rod Taylor\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://www.rodtaylorsite.com/\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Is the duration of Chicago Fire (the one whose title is Chicago Fire) other than 5,100 seconds?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago Fire"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Chicago Fire"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["5100 second", "!="]}], "sparql": "ASK { ?e <pred:name> \"Chicago Fire\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Chicago Fire\" . ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5100\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the relationship between Amanda Bynes and Thousand Oaks?", "choices": ["located in time zone", "located on terrain feature", "basin country", "appointed by", "works in collection", "fabrication method", "place of birth", "convicted of", "approved by", "political ideology"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amanda Bynes"]}, {"function": "Find", "dependencies": [], "inputs": ["Thousand Oaks"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amanda Bynes\" . ?e_2 <pred:name> \"Thousand Oaks\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What is the relation between Alison Krauss and country music?", "choices": ["seed team", "genre", "parent club", "film distribute region", "worshipped by", "member of sports team", "has quality", "home port", "filmography", "professional or sports partner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alison Krauss"]}, {"function": "Find", "dependencies": [], "inputs": ["country music"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alison Krauss\" . ?e_2 <pred:name> \"country music\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many seasons does the 21 minute long Star Wars: The Clone Wars have?", "choices": ["24", "8", "11", "13", "6", "29", "20", "66", "3", "27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars: The Clone Wars"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "21 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Star Wars: The Clone Wars\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"21\"^^xsd:double . ?e <number_of_seasons> ?pv .  }", "answer": "6"}, {"question": "Is Shanghai Knights or An Inconvenient Truth shorter?", "choices": ["A Prairie Home Companion", "Rebecca", "The Towering Inferno", "Pleasantville", "Training Day", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "An Inconvenient Truth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shanghai Knights"]}, {"function": "Find", "dependencies": [], "inputs": ["An Inconvenient Truth"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shanghai Knights\" .  } UNION { ?e <pred:name> \"An Inconvenient Truth\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "An Inconvenient Truth"}, {"question": "What is the place of publication of the visual artwork, that was released on 1997-01-16 and for which Bruce Stambler won the Academy Award for Best Sound Editing?", "choices": ["New Amsterdam Theatre", "Italy", "Sundance Film Festival", "Seattle International Film Festival", "British Hong Kong", "Germany", "Berlin", "Uruguay", "Slovenia", "Egypt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Bruce Stambler"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1997-01-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Sound Editing\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Bruce Stambler\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-01-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does The Messenger: The Story of Joan of Arc or The Boat That Rocked have the less duration?", "choices": ["The Towering Inferno", "A Prairie Home Companion", "Training Day", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "Rebecca", "The Fifth Element", "The Hunchback of Notre Dame", "The Boat That Rocked"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Messenger: The Story of Joan of Arc"]}, {"function": "Find", "dependencies": [], "inputs": ["The Boat That Rocked"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Messenger: The Story of Joan of Arc\" .  } UNION { ?e <pred:name> \"The Boat That Rocked\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Boat That Rocked"}, {"question": "Mel Gibson who is the screenwriter of Apocalypto was nominated for an Academy Award for Best Picture for which work?", "choices": ["Playing for Time", "Braveheart", "Paradise", "Lou Grant", "The Integral Trees", "Heartsounds", "(Everything I Do) I Do It for You", "Fiesta", "A Clash of Kings", "Abhimaan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Apocalypto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mel Gibson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mel Gibson\" . ?e_3 <screenwriter> ?e_1 . ?e_3 <pred:name> \"Apocalypto\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Braveheart"}, {"question": "Which person has the sport number of 13?", "choices": ["Oscar", "Richard Gere", "Sylvester Stallone", "Baz Luhrmann", "James K. Polk", "Robbie Keane", "William Henry Harrison", "Boaz Myhill", "Magic Johnson", "Christina Hendricks"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sport number", "13"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <sport_number> ?pv . ?pv <pred:value> \"13\" .  }", "answer": "Boaz Myhill"}, {"question": "When did the legislative term that began on 1789-03-04 end?", "choices": ["1861-07-20", "1939-09-17", "1983-01-01", "1878", "1791-03-04", "1967-01-09", "1922-12-30", "1937-01-30", "2010-04-05", "1814"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1789-03-04", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1789-03-04\"^^xsd:date . ?e <end_time> ?pv .  }", "answer": "1791-03-04"}, {"question": "How many Virginia counties' population is over 6700 or equal to 2800?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6700", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Virginia"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "2800", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Virginia"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"6700\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2800\"^^xsd:double .  } }", "answer": "15"}, {"question": "Which rock band is famous for pop rock and has the official website http://www.eurythmics.com?", "choices": ["Def Leppard", "The Police", "Santana", "Eurythmics", "Nickelback", "The Doobie Brothers", "Marilyn Manson", "Queen", "Camel", "Fleetwood Mac"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.eurythmics.com"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"pop rock\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.eurythmics.com\" .  }", "answer": "Eurythmics"}, {"question": "How many metropolitan areas have over 200000 population but not 840000 population?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "200000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "840000", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"200000\"^^xsd:double ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"840000\"^^xsd:double ) .  }", "answer": "8"}, {"question": "What is the number of language families that have the Glottolog code aust1303 or the native name Gjuha shqipe?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Glottolog code", "aust1303"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language family"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "Gjuha shqipe"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language family"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language family\" .  { ?e <Glottolog_code> ?pv . ?pv <pred:value> \"aust1303\" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> \"Gjuha shqipe\" .  } }", "answer": "2"}, {"question": "Who was the Academy Award for Best Sound Mixing nominee for San Francisco, released on 1936-01-01?", "choices": ["Donald Crisp", "Tennessee Williams", "Zach Staenberg", "Quincy Jones", "Jessica Lange", "Ernst Lubitsch", "Phyllis Dalton", "John McSweeney junior", "Douglas Shearer", "Peter George"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Francisco"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1936-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"San Francisco\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1936-01-01\"^^xsd:date . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Douglas Shearer"}, {"question": "How is Toshiyuki Morikawa related to seiy\u016b?", "choices": ["foundational text", "military branch", "record label", "history of topic", "industry", "fabrication method", "airline hub", "occupation", "inspired by", "model item"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toshiyuki Morikawa"]}, {"function": "Find", "dependencies": [], "inputs": ["seiy\u016b"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Toshiyuki Morikawa\" . ?e_2 <pred:name> \"seiy\u016b\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did the Republic of Venice become the country that Brescia belongs to?", "choices": ["2003-12-05", "1550", "1958-08-14", "1998-01-15", "1426-01-01", "1945-11-14", "1976-07-17", "1894-02-07", "1845-03-10", "1942-11-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brescia"]}, {"function": "Find", "dependencies": [], "inputs": ["Republic of Venice"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brescia\" . ?e_2 <pred:name> \"Republic of Venice\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1426-01-01"}, {"question": "Does Fort Lauderdale or Huntsville have less area?", "choices": ["Oakland", "Franklin", "Boulder", "Compton", "Fort Lauderdale", "Lansing", "Waukegan", "Columbus", "Huntsville", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Lauderdale"]}, {"function": "Find", "dependencies": [], "inputs": ["Huntsville"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fort Lauderdale\" .  } UNION { ?e <pred:name> \"Huntsville\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fort Lauderdale"}, {"question": "What is the connection between Airport (the one that was nominated for Academy Award for Best Film Editing) to 28th Golden Globe Awards?", "choices": ["costume designer", "tributary", "member of political party", "properties for this type", "subject has role", "home port", "separated from", "time period", "production company", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Airport"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["28th Golden Globe Awards"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Airport\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Film Editing\" . ?e_2 <pred:name> \"28th Golden Globe Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Where was the Nintendo Entertainment System published on 1985-10-18?", "choices": ["Kazakhstan", "Sundance Film Festival", "European Union", "Park City", "1949 Cannes Film Festival", "Lithuania", "Europe", "Tokyo", "Colombia", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment System"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1985-10-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nintendo Entertainment System\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1985-10-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the connection between Ryan Adams (the one that is a member of Los Angeles Dodgers) to second baseman?", "choices": ["original language of film or TV show", "designated as terrorist by", "month of the year", "position played on team / speciality", "said to be the same as", "author", "draft pick from school", "kit supplier", "contributor(s) to the creative work", "home venue"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Dodgers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ryan Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["second baseman"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ryan Adams\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Los Angeles Dodgers\" . ?e_2 <pred:name> \"second baseman\" . ?e_1 ?p ?e_2 .  }", "answer": "position played on team / speciality"}, {"question": "What is the number of public universities whose number of students is less than 800 or IPv6 routing prefix is 2001:638:710::/48?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "800", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPv6 routing prefix", "2001:638:710::/48"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" .  { ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"800\"^^xsd:double ) .  } UNION { ?e <IPv6_routing_prefix> ?pv . ?pv <pred:value> \"2001:638:710::/48\" .  } }", "answer": "2"}, {"question": "Which is longer, The Town published on 1944-01-01 or Bolt released in Sweden?", "choices": ["Magic Knight Rayearth", "My-HiME", "Bolt", "A Christmas Carol", "Ponyo on the Cliff by the Sea", "Superman", "Code Geass", "Anastasia", "The Town", "The Polar Express"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Town"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1944-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [2], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bolt"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Town\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1944-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Bolt\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Sweden\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bolt"}, {"question": "I need to know the relationship between Ian McEwan to Atonement (which is the novel genre).", "choices": ["notable work", "draft pick from school", "mountain range", "legislative body", "domain of saint or deity", "presenter", "said to be the same as", "narrative role", "writing system", "had as last meal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian McEwan"]}, {"function": "Find", "dependencies": [], "inputs": ["novel"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atonement"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ian McEwan\" . ?e_2 <pred:name> \"Atonement\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"novel\" . ?e_1 ?p ?e_2 .  }", "answer": "notable work"}, {"question": "Tell me the number of actors that have the occupation of person who has Twitter username LisaKudrow", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "LisaKudrow"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["actor"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"actor\" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"LisaKudrow\" .   }", "answer": "1"}, {"question": "Who weighs more, Mel Gibson (the one that is related to sport basketball) or Jack Kemp?", "choices": ["Sylvester Stallone", "Jack Kemp", "Simon Cowell", "Paul Simon", "Richard Gere", "William Henry Harrison", "James E. Reilly", "Rahul Dev Burman", "Max Fleischer", "Mel Gibson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["basketball"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mel Gibson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jack Kemp"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mel Gibson\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"basketball\" .   } UNION { ?e <pred:name> \"Jack Kemp\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jack Kemp"}, {"question": "Who is the person with the  Libris-URI  of fcrtwcjz2nsw253 that also has the burial or creamation date that is not 1799?", "choices": ["Rahul Dev Burman", "Omar Sharif", "Jean-Paul Sartre", "Sylvester Stallone", "Rudyard Kipling", "David Byrne", "Pocahontas", "Richard Gere", "William Henry Harrison", "Margaret Thatcher"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of burial or cremation", "1799", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Libris-URI", "fcrtwcjz2nsw253"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_burial_or_cremation> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1799 ) . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"fcrtwcjz2nsw253\" .  }", "answer": "Margaret Thatcher"}, {"question": "Thai is the tongue of how many mythic creatures?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mythical creature"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mythical creature\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"Thai\" .   }", "answer": "0"}, {"question": "What is Kim Stanley Robinson's ISNI?", "choices": ["0000 0001 1487 1147", "0000 0000 6310 5986", "0000 0004 0457 1054", "0000 0001 2301 338X", "0000 0000 8023 3998", "0000 0001 2151 2740", "0000 0001 2024 8706", "0000 0001 1444 8576", "0000 0000 6302 5783", "0000 0000 8159 201X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kim Stanley Robinson"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kim Stanley Robinson\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2024 8706"}, {"question": "How many cable channels belong to a sovereign state which is the country of Twister's origin (the one published on 1st Jan 1989) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Twister"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1989-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of origin", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["cable channel"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> \"Twister\" . ?e_2 <publication_date> ?pv . ?pv <pred:date> \"1989-01-01\"^^xsd:date .   }", "answer": "5"}, {"question": "What was the publishing location of the visual artwork published on 2002-07-25 that's named for Orange County, which has a common border with San Bernardino County?", "choices": ["Sydney", "German Democratic Republic", "Spain", "Germany", "Austria", "Estonia", "Denmark", "Turkey", "1949 Cannes Film Festival", "Greece"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Bernardino County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "2002-07-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Orange County\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"San Bernardino County\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2002-07-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the season tally higher for the single-season Lost in Space or for America's Got Talent?", "choices": ["American Horror Story", "Phineas and Ferb", "Six Feet Under", "Dancing with the Stars", "Lost in Space", "America's Got Talent", "Seinfeld", "Bleak House", "Saturday Night's Main Event", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "1", "="]}, {"function": "Find", "dependencies": [], "inputs": ["America's Got Talent"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lost in Space\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } UNION { ?e <pred:name> \"America's Got Talent\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "America's Got Talent"}, {"question": "Atonement, with Sam Waterston as a cast member, was released in what location on 1998-08-27?", "choices": ["Hungary", "Germany", "Kazakhstan", "Egypt", "Stockholm", "Denmark", "Berlin International Film Festival", "Malaysia", "United Arab Emirates", "Lithuania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Waterston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atonement"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1998-08-27", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Atonement\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sam Waterston\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1998-08-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did Comoros have a population of 197073?", "choices": ["2002-02-27", "1962", "2017-01-20", "2013-08-01", "1875-01-01", "1992-12-01", "1864", "2002-05-01", "1990-10-01", "2017-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Comoros"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "197073", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Comoros\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"197073\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1962"}, {"question": "Which area has lower elevation above sea level, Seville or Verona (the one whose UN/LOCODE is ITVRN)?", "choices": ["Kilkenny", "Verona", "Dundee", "Abidjan", "Trieste", "Chihuahua", "Kingston", "Bergen", "Seville", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seville"]}, {"function": "Find", "dependencies": [], "inputs": ["Verona"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["UN/LOCODE", "ITVRN"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seville\" . } UNION { ?e <pred:name> \"Verona\" . ?e <UN/LOCODE> ?pv_1 . ?pv_1 <pred:value> \"ITVRN\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seville"}, {"question": "Which one lies higher related to sea level, South Dakota or Nebraska (the one that shares border with South Dakota)", "choices": ["Iowa", "Colorado", "New Mexico", "Nebraska", "Hawaii", "New Jersey", "Massachusetts", "Florida", "South Dakota", "California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Dakota"]}, {"function": "Find", "dependencies": [], "inputs": ["South Dakota"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Dakota\" .  } UNION { ?e <pred:name> \"Nebraska\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"South Dakota\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Nebraska"}, {"question": "tell me which one has the least number of seasons Iamong the comedy that has the number of seasons under 40.", "choices": ["farce", "The Golden Girls", "Mr. Smith Goes to Washington", "South Park", "Ludwig van Beethoven", "stand-up comedy", "Macy Gray", "comedy of manners", "Orange Free State", "The Monkees"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "40", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"40\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "Which website is officially associated with the person employed by Texas Tech University?", "choices": ["http://www.guildford.gov.uk", "http://www.tunisie.gov.tn", "http://www.rogermoorephotography.com", "http://www.tonyblairoffice.org/", "https://monaghan.ie/", "http://harrypotter.warnerbros.co.uk/gobletoffire/", "http://www.gocolumbiamo.com", "http://www.louisville.edu", "https://college.harvard.edu/", "http://www.theconstantgardener.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Texas Tech University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"Texas Tech University\" .  ?e <official_website> ?pv .  }", "answer": "http://www.rogermoorephotography.com"}, {"question": "Ivan Reitman was educated at which university?", "choices": ["McMaster University", "Swarthmore College", "King's College London", "Texas Southern University", "San Diego State University", "University of Mumbai", "University of Bristol", "California State University, Fullerton", "Taras Shevchenko National University of Kyiv", "University of Michigan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ivan Reitman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Ivan Reitman\" .   }", "answer": "McMaster University"}, {"question": "Which movie is longer, What Lies Beneath or The Book of Eli?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Book of Eli", "What Lies Beneath", "Rebecca", "The Fifth Element", "Pleasantville", "Talk to Her", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["What Lies Beneath"]}, {"function": "Find", "dependencies": [], "inputs": ["The Book of Eli"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"What Lies Beneath\" .  } UNION { ?e <pred:name> \"The Book of Eli\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "What Lies Beneath"}, {"question": "What is the character role of Arnold Schwarzenegger as a cast member in Terminator 3: Rise of the Machines (whose production company is Columbia Pictures)?", "choices": ["Natasha Rostova", "John Reed", "Dot Warner", "Fin Tutuola", "Cady Heron", "Rango", "Terminator", "Hal Jordan", "Liam Tobin", "Wesley Crusher"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Terminator 3: Rise of the Machines"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Arnold Schwarzenegger"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Terminator 3: Rise of the Machines\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Columbia Pictures\" . ?e_2 <pred:name> \"Arnold Schwarzenegger\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Terminator"}, {"question": "When did Michael Caine receive a BAFTA Academy Fellowship Award?", "choices": ["1882", "1995-12-19", "1874-06-26", "1999-12-01", "1986-01-01", "1995-07-25", "2000", "2012-03-01", "2018-11-27", "1837-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Caine"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Academy Fellowship Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Caine\" . ?e_2 <pred:name> \"BAFTA Academy Fellowship Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "What's the relationship between Bill Evans (from the Red Sox) and the United States of America?", "choices": ["color", "time period", "capital", "territory claimed by", "broadcast by", "country of citizenship", "replaces", "fictional universe described in", "tributary", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston Red Sox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bill Evans\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Boston Red Sox\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Does Barbara Hershey or Joan Plowright have a great number of children?", "choices": ["Paul Simon", "Simon Cowell", "William Henry Harrison", "David Byrne", "James E. Reilly", "Max Fleischer", "Joan Plowright", "Rahul Dev Burman", "Sylvester Stallone", "Barbara Hershey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barbara Hershey"]}, {"function": "Find", "dependencies": [], "inputs": ["Joan Plowright"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barbara Hershey\" .  } UNION { ?e <pred:name> \"Joan Plowright\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Joan Plowright"}, {"question": "How is the action film genre related to Heavy Metal?", "choices": ["genre", "director/manager", "dialect of", "diaspora", "has quality", "exclave of", "league", "hair color", "tributary", "location of formation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heavy Metal"]}, {"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Heavy Metal\" . ?e_2 <pred:name> \"action film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the population of the US city represented online by www.warwickri.gov?", "choices": ["1966586", "10385227", "82672", "119970", "100796", "12966920", "105605766", "52672", "12325545", "955804355"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.warwickri.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.warwickri.gov\" . ?e <population> ?pv .  }", "answer": "82672"}, {"question": "How many Academy Awards events were the 64th edition or preceded the 80th edition of the Academy Awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "64"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "Find", "dependencies": [], "inputs": ["80th Academy Awards"]}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" .  { ?e <edition_number> ?pv . ?pv <pred:value> \"64\" .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> \"80th Academy Awards\" .  } }", "answer": "2"}, {"question": "How is Kathy Bates related to Memphis?", "choices": ["connects with", "political alignment", "place of birth", "territory overlaps", "military conflicts", "season starts", "director", "industry", "place served by transport hub", "domain of saint or deity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathy Bates"]}, {"function": "Find", "dependencies": [], "inputs": ["Memphis"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kathy Bates\" . ?e_2 <pred:name> \"Memphis\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Of US colleges and universities with over 4400 in student enrollment, which has the fewest students?", "choices": ["Purdue University", "University of California, Berkeley", "University of Arkansas", "University of Minnesota", "University of Vermont", "Virginia Tech", "Tennessee State University", "New Mexico State University", "Iowa State University", "University of Florida"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "4400", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"4400\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tennessee State University"}, {"question": "Is Anchorman: The Legend of Ron Burgundy or MASH shorter?", "choices": ["MASH", "A Prairie Home Companion", "The Towering Inferno", "Talk to Her", "Anchorman: The Legend of Ron Burgundy", "Pleasantville", "The Fifth Element", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anchorman: The Legend of Ron Burgundy"]}, {"function": "Find", "dependencies": [], "inputs": ["MASH"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anchorman: The Legend of Ron Burgundy\" .  } UNION { ?e <pred:name> \"MASH\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Anchorman: The Legend of Ron Burgundy"}, {"question": "What big city has postal code 3012?", "choices": ["Lyon", "Heidelberg", "Dnipro", "Aachen", "Stuttgart", "Nice", "Utrecht", "Toulouse", "Leuven", "Mainz"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "3012"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <postal_code> ?pv . ?pv <pred:value> \"3012\" .  }", "answer": "Leuven"}, {"question": "Does Secretary of State-led Montana or does Indiana have the higher elevation?", "choices": ["Massachusetts", "New Jersey", "Illinois", "New Mexico", "Florida", "Hawaii", "California", "Colorado", "Iowa", "Montana"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Secretary of State"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Montana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Indiana"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Montana\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"Secretary of State\" .   } UNION { ?e <pred:name> \"Indiana\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Montana"}, {"question": "Which movie has a smaller box office, Close Encounters of the Third Kind or Unstoppable (the one that is shot in Ohio)?", "choices": ["Unstoppable", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion", "Close Encounters of the Third Kind", "The Towering Inferno", "Rebecca", "Training Day", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Close Encounters of the Third Kind"]}, {"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Unstoppable"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Close Encounters of the Third Kind\" .  } UNION { ?e <pred:name> \"Unstoppable\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Ohio\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Unstoppable"}, {"question": "What is the inception time of Order of the Thistle?", "choices": ["1996-08-01", "1854-05-01", "1062", "1798-12-21", "1852-08-05", "1223", "1876-08-01", "2000-06-22", "1687", "1780"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Order of the Thistle"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Order of the Thistle\" . ?e <inception> ?pv .  }", "answer": "1687"}, {"question": "For the video game developer that is the publisher of Mighty Morphin Power Rangers (the one whose game mode is multiplayer video game), what language is associated with this creative work at its official website of http://bandainamcoent.co.jp?", "choices": ["Canadian French", "Russian", "Japanese", "Polish", "Armenian", "Belarusian", "Indonesian", "Persian", "Bulgarian", "Croatian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mighty Morphin Power Rangers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["publisher", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game developer"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://bandainamcoent.co.jp", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e_1 <publisher> ?e . ?e_1 <pred:name> \"Mighty Morphin Power Rangers\" . ?e_1 <game_mode> ?e_2 . ?e_2 <pred:name> \"multiplayer video game\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://bandainamcoent.co.jp\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Japanese"}, {"question": "What is voice actor Mae Whitman's role in Avatar: The Last Airbender that stars voice actor Grey DeLisle?", "choices": ["Professor Frink", "Katara", "Megatron", "Bigweld", "Otto Mann", "Frank Lucas", "Grouchy Smurf", "Perry White", "Appa", "Angel Batista"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grey DeLisle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar: The Last Airbender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mae Whitman"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Avatar: The Last Airbender\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Grey DeLisle\" . ?e_2 <pred:name> \"Mae Whitman\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Katara"}, {"question": "What is the title of the TNT-distributed movie?", "choices": ["La Lectrice", "Madison", "Paddington", "Training Day", "Punch-Drunk Love", "Love Affair", "TMNT", "Frankenstein", "\u30b5\u30de\u30fc\u30a6\u30a9\u30fc\u30ba", "Hold Back the Dawn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TNT"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"TNT\" .  ?e <title> ?pv .  }", "answer": "Frankenstein"}, {"question": "Which subreddit label represents New Hampshire's 1st congressional district?", "choices": ["Frasier", "bulgaria", "edinburgh", "NewHampshire1st", "cuu", "Virginia", "ADHD", "Economics", "Turkey", "Lahore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Hampshire's 1st congressional district"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"New Hampshire's 1st congressional district\" . ?e <subreddit> ?pv .  }", "answer": "NewHampshire1st"}, {"question": "Does Con Air or A Star Is Born, with director of photography Robert L. Surtees, have a longer running time?", "choices": ["The Towering Inferno", "Pleasantville", "Con Air", "The Fifth Element", "Rebecca", "Curse of the Golden Flower", "A Prairie Home Companion", "A Star Is Born", "Training Day", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Con Air"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert L. Surtees"]}, {"function": "Relate", "dependencies": [1], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Star Is Born"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Con Air\" .  } UNION { ?e <pred:name> \"A Star Is Born\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Robert L. Surtees\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "A Star Is Born"}, {"question": "What is the connection between Black Hawk Down to Pietro Scalia?", "choices": ["film editor", "affiliation", "depicts", "position played on team / speciality", "killed by", "family name", "instrument", "drafted by", "highest judicial authority", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Black Hawk Down"]}, {"function": "Find", "dependencies": [], "inputs": ["Pietro Scalia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Black Hawk Down\" . ?e_2 <pred:name> \"Pietro Scalia\" . ?e_1 ?p ?e_2 .  }", "answer": "film editor"}, {"question": "Which area is smaller, Rocky Mount or Natchez?", "choices": ["Oakland", "Columbus", "Greenville", "Rocky Mount", "New Haven", "Waukegan", "Natchez", "Compton", "Boulder", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rocky Mount"]}, {"function": "Find", "dependencies": [], "inputs": ["Natchez"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rocky Mount\" .  } UNION { ?e <pred:name> \"Natchez\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Natchez"}, {"question": "The film titled Schindler's List was published on 1994-03-04 in what release location?", "choices": ["Slovakia", "Washington, D.C.", "Pakistan", "Kuwait", "United Kingdom", "Sweden", "South Africa", "Moscow", "Bulgaria", "Austin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Schindler's List"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1994-03-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Schindler's List\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-03-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "What county in Illinois is named after DeWitt Clinton?", "choices": ["Monroe County", "McLean County", "Clinton County", "McHenry County", "DeKalb County", "Tazewell County", "St. Clair County", "Peoria County", "Madison County", "Montgomery County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DeWitt Clinton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"DeWitt Clinton\" .   }", "answer": "Clinton County"}, {"question": "For Angola national football team, who is the reviewer for its ranking of 103?", "choices": ["The World of Movies", "James Berardinelli", "Empire", "FIFA", "IREG Observatory on Academic Ranking and Excellence", "Roger Ebert", "Rotten Tomatoes", "Peter Travers", "International Congress of Distinguished Awards", "Gene Siskel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angola national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "103", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Angola national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"103\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Who is the person with ISNI 0000 0000 5936 7836?", "choices": ["Max Fleischer", "Arthur Laurents", "Beck", "Jack Elam", "William Henry Harrison", "Gary Moore", "Richard Gere", "Sylvester Stallone", "Jim Taylor", "Julius J. Epstein"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5936 7836"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5936 7836\" .  }", "answer": "Jack Elam"}, {"question": "How are Isaac Stern and the Grammy Lifetime Achievement Award related?", "choices": ["sidekick of", "employer", "lifestyle", "parent astronomical body", "honorific suffix", "league", "medical treatment", "month of the year", "feast day", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Isaac Stern"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Lifetime Achievement Award"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Isaac Stern\" . ?e_2 <pred:name> \"Grammy Lifetime Achievement Award\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Does the lower elevation belong to Petersburg or to Carson City, population 54,746?", "choices": ["Danville", "Hampton", "Roanoke", "Petersburg", "Suffolk", "Williamsburg", "Carson City", "Charlottesville", "Lynchburg", "Winchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Petersburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Carson City"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "54746", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Petersburg\" . } UNION { ?e <pred:name> \"Carson City\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"54746\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Petersburg"}, {"question": "Which band known for quiet storm has the official website www.defjam.com/site/artist_home.php?artist_id=598 ?", "choices": ["AFI", "The Isley Brothers", "The Pretenders", "Marillion", "The Monkees", "Coldplay", "Dixie Chicks", "Phoenix", "The Kinks", "Renaissance"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.defjam.com/site/artist_home.php?artist_id=598"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Find", "dependencies": [], "inputs": ["quiet storm"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.defjam.com/site/artist_home.php?artist_id=598\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"quiet storm\" .  }", "answer": "The Isley Brothers"}, {"question": "For the person that is from Switzerland, is their double record 49-64?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Switzerland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["doubles record"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["49\u201364"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Switzerland\" .  ?e <doubles_record> ?pv . ?pv <pred:value> \"49\u201364\" .  }", "answer": "no"}, {"question": "What is the beginning date of the public office whose official website is http://www.mass.gov/gov?", "choices": ["1569-08-06", "1780-10-25", "1931-03-31", "1917-09-15", "1810-09-25", "1768-01-01", "1942-01-01", "1807-12-03", "1970", "1870-09-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.mass.gov/gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public office"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public office\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.mass.gov/gov\" . ?e <inception> ?pv .  }", "answer": "1780-10-25"}, {"question": "It is the title of a second movie in Star Wars (owned  by Lucasfilm) series Der Aufenhalt?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lucasfilm"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of the series", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["series ordinal", "2"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["Der Aufenthalt"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> \"Star Wars\" . ?e_2 <owner_of> ?e_1 . ?e_2 <pred:name> \"Lucasfilm\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> \"2\" . ?e <title> ?pv . ?pv <pred:value> \"Der Aufenthalt\" .  }", "answer": "no"}, {"question": "How many secondary schools are in a sovereign state whose maritime identification nr is 366 ?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["maritime identification digits", "366"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["secondary school"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <maritime_identification_digits> ?pv . ?pv <pred:value> \"366\" .   }", "answer": "7"}, {"question": "What is the postal code for Honolulu, the residence of Barack Obama?", "choices": ["53233", "CF", "8023", "77469", "6500\u20136546", "96801\u201396850", "46383", "80246\u201380252", "23187-8795", "07052"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barack Obama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Honolulu"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Honolulu\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Barack Obama\" .  ?e <postal_code> ?pv .  }", "answer": "96801\u201396850"}, {"question": "Does Katowice or Bulawayo have higher elevation above sea level?", "choices": ["Santo Domingo", "Bulawayo", "Bergen", "Dundee", "Abidjan", "Kingston", "Trieste", "Chihuahua", "Cork", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katowice"]}, {"function": "Find", "dependencies": [], "inputs": ["Bulawayo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Katowice\" .  } UNION { ?e <pred:name> \"Bulawayo\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bulawayo"}, {"question": "Which country has fewer people, Birmingham (the one whose GSS code (2011) is E08000025) or Liverpool (the one whose GSS code (2011) is E08000012)?", "choices": ["Walsall", "Birmingham", "Leeds", "Solihull", "Liverpool", "Newcastle upon Tyne", "Sheffield", "Bury", "Rochdale", "Wakefield"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Birmingham"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E08000025"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["GSS code (2011)", "E08000012"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Birmingham\" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> \"E08000025\" . } UNION { ?e <pred:name> \"Liverpool\" . ?e <GSS_code_(2011)> ?pv_2 . ?pv_2 <pred:value> \"E08000012\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Liverpool"}, {"question": "How many baseball teams have Scott Bradley, the Chicago White Sox player, as a member?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago White Sox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott Bradley"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["baseball team"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Scott Bradley\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Chicago White Sox\" .   }", "answer": "4"}, {"question": "To which part of does a demonym of \u05e7\u05d9\u05e8\u05d9\u05d1\u05d8\u05d9 apply if we are speaking of a sovereign state that is the member of Asian Development Bank since 1974?", "choices": ["McNairy County", "northeastern part", "masculine", "Sevier County", "4th arrondissement of Paris", "M\u00f6lndal Municipality", "Banjar", "6th arrondissement of Paris", "Marion County", "Bradley County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asian Development Bank"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1974", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["demonym", "\u05e7\u05d9\u05e8\u05d9\u05d1\u05d8\u05d9", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Asian Development Bank\" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1974 . ?e <demonym> ?pv . ?pv <pred:value> \"\u05e7\u05d9\u05e8\u05d9\u05d1\u05d8\u05d9\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "Special example of which class is the date of 1st January 1324, which is the date a sovereign state, whose demonym is Sarde, was founded ?", "choices": ["Spanish Constitution of 1812", "country code", "dynastic union", "ISO standard", "historical country", "New Hampshire Democratic Party", "statement with Gregorian date earlier than 1584", "Committee on the Judiciary", "plural", "Constitution of Spain"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Sarde"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inception", "1324-01-01", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Sarde\" . ?e <inception> ?pv . ?pv <pred:date> \"1324-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "What is the title for the animated feature film whose official website is http://www.legendoftheguardians.com?", "choices": ["Niagara Falls", "Mobile", "The Scarlet Letter", "Legend of the Guardians: The Owls of Ga'Hoole", "\u82b1\u6a23\u5e74\u83ef", "The Last Samurai", "Tennessee", "Reversal of Fortune", "The O.C.", "Never Let Me Go"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.legendoftheguardians.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.legendoftheguardians.com\" . ?e <title> ?pv .  }", "answer": "Legend of the Guardians: The Owls of Ga'Hoole"}, {"question": "Which person who did not die in 30 BC is identified by ISNI 0000 0000 3228 1047?", "choices": ["Frank Herbert", "Jon Anderson", "Elizabeth Taylor", "Robert Taylor", "Wallace Beery", "Mark Twain", "Sylvester Stallone", "Richard Gere", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "-30", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 3228 1047"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != -30 ) . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 3228 1047\" .  }", "answer": "Jon Anderson"}, {"question": "Which award did Rickey Henderson receive?", "choices": ["Academy Award for Best Actor", "Independent Spirit Award for Best Director", "Golden Globe Award for Best Foreign Language Film", "Grammy Award for Best Reggae Album", "Primetime Emmy Award for Outstanding Lead Actor in a Drama Series", "Independent Spirit Award for Best Female Lead", "Academy Award for Best Original Musical Score", "Hundred Flowers Award for Best Actress", "National Baseball Hall of Fame and Museum", "Golden Globe Award for Best Animated Feature Film"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rickey Henderson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Rickey Henderson\" .   }", "answer": "National Baseball Hall of Fame and Museum"}, {"question": "How many Indiana counties have a FIPS 6-4 (US counties) of 18105?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "18105"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"18105\" .  }", "answer": "1"}, {"question": "Is http://www.peterborough.gov.uk/ the official website of Paramaribo?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Paramaribo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.peterborough.gov.uk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Paramaribo\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.peterborough.gov.uk/\" .  }", "answer": "no"}, {"question": "How many port cities are the place of death for the human partner of Julius Caesar (the one whose ISNI is 0000 0001 2283 4514)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julius Caesar"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2283 4514"]}, {"function": "Relate", "dependencies": [1], "inputs": ["partner", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["port city"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <partner> ?e_1 . ?e_2 <pred:name> \"Julius Caesar\" . ?e_2 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2283 4514\" .   }", "answer": "1"}, {"question": "What is the film production company of Ghostbusters which was nominated for a BAFTA Award for Best Special Visual Effects?", "choices": ["Amblin Entertainment", "Columbia Pictures", "Summit Entertainment", "Touchstone Pictures", "Focus Features", "Reliance Entertainment", "PolyGram Filmed Entertainment", "Lucasfilm", "Hollywood Pictures", "StudioCanal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Special Visual Effects"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ghostbusters"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"Ghostbusters\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"BAFTA Award for Best Special Visual Effects\" .   }", "answer": "Columbia Pictures"}, {"question": "How many awards does famous country musician Jimmy Buffet have?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jimmy Buffett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country music"]}, {"function": "Relate", "dependencies": [2], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"country music\" . ?e_1 <famous_people> ?e_2 . ?e_2 <pred:name> \"Jimmy Buffett\" .   }", "answer": "0"}, {"question": "How is Air Force One related to Lehigh University alumnus Paul Guilfoyle?", "choices": ["model item", "cast member", "organizer", "main food source", "member of political party", "continent", "relative", "facet of", "shares border with", "home port"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Air Force One"]}, {"function": "Find", "dependencies": [], "inputs": ["Lehigh University"]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Guilfoyle"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Air Force One\" . ?e_2 <pred:name> \"Paul Guilfoyle\" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> \"Lehigh University\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How was a 190 rank arrived at for Malta's national soccer team?", "choices": ["estimation", "Pensky\u2013Martens closed-cup test", "2000 United States Census", "Yemen General Census of Population, Housing and Establishments 2004", "register office", "questionnaire", "average", "Address Based Population Registration System", "FIFA World Rankings", "Russian Empire Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "190", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Malta\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"190\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the male given call that makes use of the language the language that is the unique language of Shame (the one whose duration is 103 minute)", "choices": ["August", "Lawrence", "The Girl with the Dragon Tattoo", "Frederick", "Christian", "Ray", "Hugo", "iOS", "Alexander", "Bobby"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shame"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "103 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["original language of film or TV show", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["language"]}, {"function": "Relate", "dependencies": [3], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["male given name"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"language\" . ?e_2 <original_language_of_film_or_TV_show> ?e_1 . ?e_2 <pred:name> \"Shame\" . ?e_2 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"103\"^^xsd:double .   }", "answer": "August"}, {"question": "How many church buildings whose location is Windsor Castle and whose ISNI is 0000 0001 2238 1674?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Windsor Castle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["church building"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2238 1674"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["church building"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"church building\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Windsor Castle\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2238 1674\" .  }", "answer": "0"}, {"question": "What is the name of TV series whose official website is http://www.starz.com/originals/Spartacus?", "choices": ["The Temptations", "The Ultimate Fighter", "The Hitchhiker's Guide to the Galaxy", "Star Wars: The Clone Wars", "Spartacus", "Law & Order", "Game of Thrones", "Working Girl", "American Horror Story", "Bleak House"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.starz.com/originals/Spartacus"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.starz.com/originals/Spartacus\" .  }", "answer": "Spartacus"}, {"question": "What is the number of electronic musical instruments that is a derivative work of Maraca and that is based on drum kit", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["maraca"]}, {"function": "Relate", "dependencies": [0], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic musical instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["drum kit"]}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic musical instrument"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic musical instrument\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"maraca\" .  ?e <based_on> ?e_2 . ?e_2 <pred:name> \"drum kit\" .  }", "answer": "0"}, {"question": "When did Middlebury College offer mixed sex education?", "choices": ["1942-01-10", "1866-01-01", "1926", "2015", "1998-09-21", "1883", "2012-03-09", "1988-02-20", "1977-04-01", "1776-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Middlebury College"]}, {"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["significant event", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Middlebury College\" . ?e_2 <pred:name> \"mixed-sex education\" . ?e_1 <significant_event> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1883"}, {"question": "Was the person who died on July 4, 1922 born earlier than 1994?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1922-07-04", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1994", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1922-07-04\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  }", "answer": "yes"}, {"question": "How many political parties were established earlier than 1945?", "choices": ["27", "28", "29", "30", "31", "32", "33", "34", "35", "36"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1945", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1945 ) .  }", "answer": "36"}, {"question": "Does Lake Charles or High Point have less elevation above sea level?", "choices": ["New Haven", "Lake Charles", "Franklin", "Columbus", "High Point", "Lansing", "Oakland", "Compton", "Boulder", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake Charles"]}, {"function": "Find", "dependencies": [], "inputs": ["High Point"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lake Charles\" .  } UNION { ?e <pred:name> \"High Point\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lake Charles"}, {"question": "How is Saba Qom F.C. related to Iran?", "choices": ["country", "architectural style", "art director", "political ideology", "voice actor", "military rank", "lowest point", "separated from", "academic degree", "software engine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saba Qom F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Iran"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saba Qom F.C.\" . ?e_2 <pred:name> \"Iran\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What film, whose script was written by Adam McKay, has the official website http://www.anchormanmovie.com/?", "choices": ["Talladega Nights: The Ballad of Ricky Bobby", "Curse of the Golden Flower", "Step Brothers", "A Prairie Home Companion", "The Towering Inferno", "Anchorman: The Legend of Ron Burgundy", "Talk to Her", "Rebecca", "Pleasantville", "Training Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.anchormanmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam McKay"]}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.anchormanmovie.com/\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Adam McKay\" .  }", "answer": "Anchorman: The Legend of Ron Burgundy"}, {"question": "Was the census-designated place that is the capital of Baltimore County not established in 1642?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1642", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Baltimore County\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1642 ) .  }", "answer": "yes"}, {"question": "Which one is bigger by area, McLean County or Madison County, which has 267,899 inhabitants?", "choices": ["Peoria County", "Sangamon County", "DuPage County", "Monroe County", "Clinton County", "DeKalb County", "McLean County", "Madison County", "Montgomery County", "Logan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["McLean County"]}, {"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "267899", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"McLean County\" . } UNION { ?e <pred:name> \"Madison County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"267899\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "McLean County"}, {"question": "What is the character role of Lian Neeson in Battleship (the one whose release region is Canada)?", "choices": ["D.B. Russell", "Bill Yoast", "Mason Verger", "Karen Silkwood", "Terrance Shane", "Nelson Muntz", "Sylar", "Jan Levinson", "William Wallace", "Buck Barrow"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battleship"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Liam Neeson"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Battleship\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Canada\" . ?e_2 <pred:name> \"Liam Neeson\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Terrance Shane"}, {"question": "How many groups of organisms known by one particular common name have the pronunciation audio Nv-b\u00e9\u00e9gashii.ogg or were born in United States of America?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Nv-b\u00e9\u00e9gashii.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["group of organisms known by one particular common name"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" .  { ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Nv-b\u00e9\u00e9gashii.ogg\" .  } UNION { ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "2"}, {"question": "What is the association of the 1976 Winter Olympics with Innsbruck?", "choices": ["location", "has part", "broadcast by", "game mode", "from fictional universe", "conferred by", "residence", "season starts", "medical condition", "position played on team / speciality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1976 Winter Olympics"]}, {"function": "Find", "dependencies": [], "inputs": ["Innsbruck"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1976 Winter Olympics\" . ?e_2 <pred:name> \"Innsbruck\" . ?e_1 ?p ?e_2 .  }", "answer": "location"}, {"question": "How many researchers share the occupation of the individual whose official website is http://www.hawking.org.uk/?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hawking.org.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["researcher"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.hawking.org.uk/\" .   }", "answer": "2"}, {"question": "What is Christopher Lloyd's CANTIC-ID (the one that is a cast member of Back to the Future Part III)?", "choices": ["a11786930", "a11826745", "a11740851", "a10404417", "a11506076", "a11028920", "a11666717", "a10903318", "a10327393", "a11843755"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part III"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Lloyd"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Christopher Lloyd\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Back to the Future Part III\" .  ?e <CANTIC-ID> ?pv .  }", "answer": "a10404417"}, {"question": "Which ethnic group whose population is under 170000 has the smallest population?", "choices": ["Koreans", "Indian American", "Austrians", "Iroquois", "Irish migration to Great Britain", "Italians", "French American", "German Americans", "Armenians", "Swedes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "170000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"170000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Americans"}, {"question": "What is the duration of the film whose producer is Nicole Kidman ?", "choices": ["70 minute", "81 minute", "163 minute", "109 minute", "72 minute", "115 minute", "126 minute", "151 minute", "175 minute", "86 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicole Kidman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Nicole Kidman\" .  ?e <duration> ?pv .  }", "answer": "109 minute"}, {"question": "Which namesake organization of Geelong was founded more recently than 1849?", "choices": ["Pfizer", "Saint Petersburg Conservatory", "Virgin Interactive", "E. W. Scripps Company", "Hamas", "John F. Kennedy International Airport", "Royal Victorian Order", "Academy of Television Arts & Sciences", "ECHL", "Geelong Football Club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geelong"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1849", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Geelong\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1849 ) .  }", "answer": "Geelong Football Club"}, {"question": "What's the language pertaining to the TV station which originally broadcast Phineas and Ferb and has a website of http://www.disneychannel.com?", "choices": ["Latvian", "Xhosa", "Putonghua", "Northern Sotho", "Canadian French", "Cornish", "Yue Chinese", "Put\u00e8r", "Polish", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phineas and Ferb"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.disneychannel.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Phineas and Ferb\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.disneychannel.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Regarding a visual artworks titled Cairo, which one is the shortest ?", "choices": ["Talk to Her", "Pleasantville", "A Prairie Home Companion", "Cairo", "Rebecca", "Cairo", "The Towering Inferno", "Training Day", "The Fifth Element", "Curse of the Golden Flower"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Cairo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Cairo\" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cairo"}, {"question": "Which language is associated with http://www.cityofjackson.net/, the official website of the United States city whose postal code is 38301?", "choices": ["English", "Luxembourgish", "Belarusian", "France", "Swedish", "Wolof", "Atikamekw", "Maltese", "Hungarian", "Macedonian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "38301"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cityofjackson.net/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"38301\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cityofjackson.net/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is the season count smaller for Buffy the Vampire Slayer, set in the Buffy-universe, or for Spider-Man, which debuted on 1994-11-19?", "choices": ["Phineas and Ferb", "Saturday Night's Main Event", "Spider-Man", "Robot Chicken", "Buffy the Vampire Slayer", "Six Feet Under", "Bleak House", "American Horror Story", "Game of Thrones", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buffyverse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Buffy the Vampire Slayer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["start time", "1994-11-19", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Buffy the Vampire Slayer\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Buffyverse\" . } UNION { ?e <pred:name> \"Spider-Man\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1994-11-19\"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Spider-Man"}, {"question": "Does Sam Raimi or Uma Thurman have fewer children?", "choices": ["Rahul Dev Burman", "Sam Raimi", "Paul Simon", "Richard Gere", "William Henry Harrison", "Uma Thurman", "David Byrne", "Simon Cowell", "James E. Reilly", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Raimi"]}, {"function": "Find", "dependencies": [], "inputs": ["Uma Thurman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sam Raimi\" .  } UNION { ?e <pred:name> \"Uma Thurman\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Uma Thurman"}, {"question": "What is the sRGB color hex triplet for the red that is the origin of the name St. Louis Cardinals?", "choices": ["0087DC", "800020", "C41E3A", "1C2841", "CFC493", "FFC904", "6699FF", "EEEEEE", "000000", "E81B23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Louis Cardinals"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["red"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["sRGB color hex triplet"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"red\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"St. Louis Cardinals\" .  ?e <sRGB_color_hex_triplet> ?pv .  }", "answer": "C41E3A"}, {"question": "How many saxophones associated with John Coltrane were also the instrument used by Tennessee Williams?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Coltrane"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["saxophone"]}, {"function": "Find", "dependencies": [], "inputs": ["Tennessee Williams"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["saxophone"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"saxophone\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"John Coltrane\" .  ?e_2 <instrument> ?e . ?e_2 <pred:name> \"Tennessee Williams\" .  }", "answer": "0"}, {"question": "Which part of a Californian county, bordering Douglas County (the one whose FIPS 6-4 (US counties) is 32005) is the largest ?", "choices": ["Alameda County", "Placer County", "Mono County", "Contra Costa County", "Butte County", "San Diego County", "El Dorado County", "San Mateo County", "Tulare County", "Solano County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "32005"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Douglas County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"32005\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mono County"}, {"question": "What is the inception time of the association football club whose official website is http://www.northwichvics.co.uk/?", "choices": ["1991-08-24", "1140-01-01", "1946-11-01", "1874", "1979-05-30", "1967-07-31", "1821", "1849", "1956", "1795-04-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.northwichvics.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.northwichvics.co.uk/\" . ?e <inception> ?pv .  }", "answer": "1874"}, {"question": "Is 00000029874 the Munzinger IBA of the person that founded Geffen Records?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geffen Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000029874"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <found> ?e_1 . ?e_1 <pred:name> \"Geffen Records\" .  ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000029874\" .  }", "answer": "no"}, {"question": "What is the connection between folk rock to The Decemberists?", "choices": ["famous people", "broadcast by", "winner", "filmography", "maintained by", "location of formation", "connects with", "film editor", "airline alliance", "characters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["folk rock"]}, {"function": "Find", "dependencies": [], "inputs": ["The Decemberists"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"folk rock\" . ?e_2 <pred:name> \"The Decemberists\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which cost more, The World Is Not Enough, narrated in Bilbao, or Tommy, released in the USA?", "choices": ["The World Is Not Enough", "Talk to Her", "Pleasantville", "The Fifth Element", "Training Day", "The Towering Inferno", "Curse of the Golden Flower", "Rebecca", "A Prairie Home Companion", "Tommy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bilbao"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The World Is Not Enough"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tommy"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The World Is Not Enough\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Bilbao\" .   } UNION { ?e <pred:name> \"Tommy\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The World Is Not Enough"}, {"question": "Which ceremonial English county with ISO 3166-2 code GB-BKM borders Berkshire?", "choices": ["Buckinghamshire", "Surrey", "Derbyshire", "Warwickshire", "West Midlands", "Essex", "Hampshire", "Northumberland", "Somerset", "Cumbria"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "GB-BKM"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "Find", "dependencies": [], "inputs": ["Berkshire"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ceremonial county of England"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"GB-BKM\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Berkshire\" .  }", "answer": "Buckinghamshire"}, {"question": "Joni Mitchell was nominated for a Grammy Award for Best Recording Package for which work?", "choices": ["Seize the Day", "The Wild Shore", "Valentine's Day", "Talking to a Stranger", "Who's Afraid of Virginia Woolf?", "Turbulent Indigo", "Coney Island", "The Accidental Tourist", "Collected Stories of William Faulkner", "Away from Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joni Mitchell"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Recording Package"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joni Mitchell\" . ?e_2 <pred:name> \"Grammy Award for Best Recording Package\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Turbulent Indigo"}, {"question": "When was July first named for Julius Caesar, whose native name is Gaius Iulius Caesar?", "choices": ["1894-01-01", "-45", "2006-10-03", "1993-09-21", "2001-01-03", "1931", "2008-03-23", "1999-03-07", "2005-02-20", "1788"], "program": [{"function": "Find", "dependencies": [], "inputs": ["July"]}, {"function": "Find", "dependencies": [], "inputs": ["Julius Caesar"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["name in native language", "Gaius Iulius Caesar"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["named after", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"July\" . ?e_2 <pred:name> \"Julius Caesar\" . ?e_2 <name_in_native_language> ?pv . ?pv <pred:value> \"Gaius Iulius Caesar\" . ?e_1 <named_after> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "-45"}, {"question": "How many people subscribe to the subreddit of Brooklyn that is associated with the US city where Gilbert Gottfried was born?", "choices": ["121765", "114681", "11905976", "80071", "21141", "404", "30994262", "6812", "199827", "563836"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gilbert Gottfried"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "Brooklyn", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Gilbert Gottfried\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"Brooklyn\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "21141"}, {"question": "What is the relationship between Crazy in Alabama and Antonio Banderas?", "choices": ["dissertation submitted to", "director", "occupant", "operator", "award received", "director/manager", "different from", "sexual orientation", "member of", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crazy in Alabama"]}, {"function": "Find", "dependencies": [], "inputs": ["Antonio Banderas"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Crazy in Alabama\" . ?e_2 <pred:name> \"Antonio Banderas\" . ?e_1 ?p ?e_2 .  }", "answer": "director"}, {"question": "What is the Snapchat username of Kerry Washington?", "choices": ["generalelectric", "cityoftampa", "nextjenneration", "msnbc", "ohsnapkerry", "joseadam", "davidguettaoff", "theddlovato", "tomscottgo", "thenytimes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kerry Washington"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Snapchat username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kerry Washington\" . ?e <Snapchat_username> ?pv .  }", "answer": "ohsnapkerry"}, {"question": "When did Amman become Calabria's twin administrative body?", "choices": ["1994-11-19", "2003-01-01", "2008-06-26", "2007-06-27", "1890-07-10", "1949-05-05", "1979-09-29", "1948-10-01", "1787-12-07", "1985-09-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "Find", "dependencies": [], "inputs": ["Calabria"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Amman\" . ?e_2 <pred:name> \"Calabria\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2003-01-01"}, {"question": "What is the publication date for the written work whose OCLC control number is 10183130?", "choices": ["2010-10-14", "2011-06-14", "2006-05-24", "2014-10-12", "2012-10-30", "2010-06-18", "2010-05-20", "1984-04-12", "1990-11-29", "1995-11-16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OCLC control number", "10183130"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <OCLC_control_number> ?pv_1 . ?pv_1 <pred:value> \"10183130\" . ?e <publication_date> ?pv .  }", "answer": "1984-04-12"}, {"question": "Is the date of birth for the human that is a performer of David Banner (who is from the Marvel Universe) after 1948?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marvel Universe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["from fictional universe", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Banner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1948", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <performer> ?e . ?e_1 <pred:name> \"David Banner\" . ?e_1 <from_fictional_universe> ?e_2 . ?e_2 <pred:name> \"Marvel Universe\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1948 ) .  }", "answer": "no"}, {"question": "How many natural languages have the WALS lect code 'tha' or whose GOST 7.75\u201397 code is \u0432\u0435\u043d 133?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WALS lect code", "tha"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["natural language"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["GOST 7.75\u201397 code", "\u0432\u0435\u043d 133"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["natural language"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"natural language\" .  { ?e <WALS_lect_code> ?pv . ?pv <pred:value> \"tha\" .  } UNION { ?e <GOST_7.75\u201397_code> ?pv . ?pv <pred:value> \"\u0432\u0435\u043d 133\" .  } }", "answer": "2"}, {"question": "Which film has the longer runtime, Ocean's Eleven or Marley & Me?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "Marley & Me", "Training Day", "Ocean's Eleven", "Curse of the Golden Flower", "A Prairie Home Companion", "Talk to Her", "The Towering Inferno", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocean's Eleven"]}, {"function": "Find", "dependencies": [], "inputs": ["Marley & Me"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ocean's Eleven\" .  } UNION { ?e <pred:name> \"Marley & Me\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marley & Me"}, {"question": "Does Boca Juniors use the Twitter name BocaJrsOficial ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boca Juniors"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["BocaJrsOficial"]}], "sparql": "ASK { ?e <pred:name> \"Boca Juniors\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"BocaJrsOficial\" .  }", "answer": "yes"}, {"question": "Which person has an official website of http://www.freddiemercury.com?", "choices": ["Richard Gere", "Gary Moore", "Kevin Williamson", "Etta James", "Sylvester Stallone", "William Henry Harrison", "Freddie Mercury", "Ursula K. Le Guin", "Max Fleischer", "Debra Winger"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.freddiemercury.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.freddiemercury.com\" .  }", "answer": "Freddie Mercury"}, {"question": "What United States city is the capital of the administrative territorial entity whose official website is http://franklincounty.ky.gov (this statement's language is English)?", "choices": ["Waukegan", "Frederick", "Columbus", "New Haven", "Frankfort", "Franklin", "Wichita", "Colorado Springs", "Moscow", "Springfield"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://franklincounty.ky.gov"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"administrative territorial entity\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://franklincounty.ky.gov\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "Frankfort"}, {"question": "Did the person who was born in 1915-07-18 die after 1991?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1915-07-18", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1991", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1915-07-18\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1991 ) .  }", "answer": "no"}, {"question": "What is the ISNI of the person with CANTIC-ID a11497178?", "choices": ["0000 0001 0213 924X", "0000 0001 2031 9316", "0000 0001 1568 7085", "0000 0004 0606 4398", "0000 0001 0745 9736", "0000 0001 1469 6289", "0000 0001 1476 6478", "0000 0001 2189 7732", "0000 0003 6856 1843", "0000 0001 1436 3361"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11497178"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11497178\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1568 7085"}, {"question": "When was John Carter of the University of Texas School of Law educated at Texas Tech University until?", "choices": ["2017-09-03", "1981-06-24", "2006-11-30", "1840", "1508-01-01", "1176", "1846", "2011-06-26", "1964", "1888"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Texas School of Law"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Carter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Texas Tech University"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Carter\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"University of Texas School of Law\" . ?e_2 <pred:name> \"Texas Tech University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1964"}, {"question": "What is the Dewey Decimal Classification of English literature?", "choices": ["2--448", "2--74317", "2--44426", "2--435632", "2--46", "820", "791.4572", "2--6721", "2--746", "2--49238"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English literature"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"English literature\" . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "820"}, {"question": "What is the ISNI of the person who created Thirtysomething?", "choices": ["0000 0004 0441 952X", "0000 0004 1936 8198", "0000 0000 9146 3465", "0000 0000 4137 7905", "0000 0001 0557 9355", "0000 0001 2285 171X", "0000 0001 1480 4307", "0000 0001 2331 5230", "0000 0001 2281 9752", "0000 0000 9560 654X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thirtysomething"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"Thirtysomething\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2281 9752"}, {"question": "Is the title of All That Jazz equal to Star Wars: Episode V \u2013 The Empire Strikes Back?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["All That Jazz"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Star Wars: Episode V \u2013 The Empire Strikes Back"]}], "sparql": "ASK { ?e <pred:name> \"All That Jazz\" . ?e <title> ?pv . ?pv <pred:value> \"Star Wars: Episode V \u2013 The Empire Strikes Back\" .  }", "answer": "no"}, {"question": "Which place is larger in size, Germany or Albania?", "choices": ["Sierra Leone", "Mozambique", "Tunisia", "Bolivia", "Germany", "Namibia", "Albania", "France", "Italy", "Colombia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Albania"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Germany\" .  } UNION { ?e <pred:name> \"Albania\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Germany"}, {"question": "Does Boston University or University of Madras have more employees?", "choices": ["University of Tehran", "McNeese State University", "McMaster University", "King's College London", "Imperial College London", "Pennsylvania State University", "University of Madras", "University of Manchester", "Boston University", "Panjab University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Madras"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Boston University\" .  } UNION { ?e <pred:name> \"University of Madras\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Boston University"}, {"question": "Does the website www.qut.edu.au represent the university in Queensland?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Queensland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["https://www.qut.edu.au/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Queensland\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.qut.edu.au/\" .  }", "answer": "yes"}, {"question": "How is Jacques Derrida related to Princeton University?", "choices": ["voice actor", "place of death", "facet of", "source of income", "archives at", "registered with", "board member", "home venue", "languages spoken, written or signed", "permanent resident of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jacques Derrida"]}, {"function": "Find", "dependencies": [], "inputs": ["Princeton University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jacques Derrida\" . ?e_2 <pred:name> \"Princeton University\" . ?e_1 ?p ?e_2 .  }", "answer": "archives at"}, {"question": "What is the starting date that Rouen is the twin administrative body to Hanover (whose population is 532163)?", "choices": ["1901-03-01", "1966-01-01", "2008", "1972-04-18", "1810-07-09", "1996", "2010-01-22", "1986-06-25", "1070", "1956-03-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rouen"]}, {"function": "Find", "dependencies": [], "inputs": ["Hanover"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "532163", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Rouen\" . ?e_2 <pred:name> \"Hanover\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"532163\"^^xsd:double . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1966-01-01"}, {"question": "Which one is taller, David Schwimmer or Chris Martin, famous for Britpop ?", "choices": ["William Henry Harrison", "James E. Reilly", "David Schwimmer", "Richard Gere", "Rahul Dev Burman", "David Byrne", "Chris Martin", "Max Fleischer", "Sylvester Stallone", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Schwimmer"]}, {"function": "Find", "dependencies": [], "inputs": ["Britpop"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Martin"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Schwimmer\" .  } UNION { ?e <pred:name> \"Chris Martin\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"Britpop\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chris Martin"}, {"question": "Among counties in Arizona, what is the county with the least amount of area and a population number of 1302161?", "choices": ["Maricopa County", "Cochise County", "Pinal County", "Coconino County", "Mohave County", "Gila County", "Santa Cruz County", "Apache County", "Navajo County", "Yavapai County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arizona"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1302161", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Arizona\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1302161\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Which has fewer members, the African National Congress or the Communist Party of China?", "choices": ["Conservative Party of Canada", "Ontario Liberal Party", "Communist Party of India (Marxist)", "Communist Party of China", "African National Congress", "Indian National Congress", "Bharatiya Janata Party", "Labour Party", "Pakistan Peoples Party", "United National Party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["African National Congress"]}, {"function": "Find", "dependencies": [], "inputs": ["Communist Party of China"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["member count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"African National Congress\" .  } UNION { ?e <pred:name> \"Communist Party of China\" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "African National Congress"}, {"question": "Did South Park, featuring the voice of George Clooney, debut prior to 2002 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["South Park"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2002", "<"]}], "sparql": "ASK { ?e <pred:name> \"South Park\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"George Clooney\" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }", "answer": "yes"}, {"question": "Is the inception time of the record label whose official website is http://killrockstars.com/, after 1503 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://killrockstars.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1503", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://killrockstars.com/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1503 ) .  }", "answer": "yes"}, {"question": "Is there more area in Northampton, with 80.76 square km, or in Warwick, the capital of Warwickshire?", "choices": ["Warwick", "Oxford", "Northampton", "Bedford", "Guildford", "Aylesbury", "Reading", "Ipswich", "Maidstone", "Taunton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northampton"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "80.76 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Warwickshire"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Warwick"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Northampton\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"80.76\"^^xsd:double . } UNION { ?e <pred:name> \"Warwick\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Warwickshire\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Northampton"}, {"question": "Who has more children, Natalie Morales (the one that has the occupation of journalist) or Uma Thurman?", "choices": ["David Byrne", "Rahul Dev Burman", "James E. Reilly", "William Henry Harrison", "Richard Gere", "Sylvester Stallone", "Uma Thurman", "Paul Simon", "Simon Cowell", "Natalie Morales"], "program": [{"function": "Find", "dependencies": [], "inputs": ["journalist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Natalie Morales"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Uma Thurman"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Natalie Morales\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"journalist\" .   } UNION { ?e <pred:name> \"Uma Thurman\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Uma Thurman"}, {"question": "How many counties are in Illinois with population less than 130,000,000 that contain Waco and are in the Central Time Zone?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "130000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "Find", "dependencies": [], "inputs": ["Central Time Zone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Waco"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Illinois"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"130000000\"^^xsd:double ) . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Waco\" . ?e_1 <located_in_time_zone> ?e_2 . ?e_2 <pred:name> \"Central Time Zone\" .  }", "answer": "0"}, {"question": "Which movie is longer, Star Wars: Episode III \u2013 Revenge of the Sith or Ronaldo (the one whose title is Ronaldo)?", "choices": ["Star Wars: Episode III \u2013 Revenge of the Sith", "Training Day", "Pleasantville", "Curse of the Golden Flower", "The Fifth Element", "Rebecca", "The Hunchback of Notre Dame", "The Towering Inferno", "A Prairie Home Companion", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars: Episode III \u2013 Revenge of the Sith"]}, {"function": "Find", "dependencies": [], "inputs": ["Ronaldo"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["title", "Ronaldo"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Star Wars: Episode III \u2013 Revenge of the Sith\" . } UNION { ?e <pred:name> \"Ronaldo\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Ronaldo\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Wars: Episode III \u2013 Revenge of the Sith"}, {"question": "What is the relation of Champaign to Champaign County?", "choices": ["capital", "sexual orientation", "operator", "maintained by", "located in the administrative territorial entity", "rector", "product or material produced", "properties for this type", "source of material", "narrative role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Champaign"]}, {"function": "Find", "dependencies": [], "inputs": ["Champaign County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "203435", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Champaign\" . ?e_2 <pred:name> \"Champaign County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"203435\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How many products were included in Ray Romano's last meal?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Romano"]}, {"function": "Relate", "dependencies": [0], "inputs": ["had as last meal", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e_1 <had_as_last_meal> ?e . ?e_1 <pred:name> \"Ray Romano\" .   }", "answer": "0"}, {"question": "What is the connection between Frank Loesser to World War II?", "choices": ["distributor", "librettist", "political ideology", "studied by", "licensed to broadcast to", "studies", "conflict", "industry", "taxon rank", "foundational text"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Loesser"]}, {"function": "Find", "dependencies": [], "inputs": ["World War II"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Loesser\" . ?e_2 <pred:name> \"World War II\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "Tell me the one with a smaller area, San Bernardino or Anderson (the one with a local dialing code of 864)", "choices": ["Waukegan", "Compton", "Boulder", "Lansing", "San Bernardino", "Anderson", "Franklin", "Oakland", "Columbus", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Bernardino"]}, {"function": "Find", "dependencies": [], "inputs": ["Anderson"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "864"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Bernardino\" . } UNION { ?e <pred:name> \"Anderson\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"864\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Anderson"}, {"question": "Does ISO 3166-1 code 516 designate the sovereign state with demonym sudcoreano?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "sudcoreano"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISO 3166-1 numeric code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["516"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"sudcoreano\" . ?e <ISO_3166-1_numeric_code> ?pv . ?pv <pred:value> \"516\" .  }", "answer": "no"}, {"question": "How is Mack Sennett related to English?", "choices": ["child astronomical body", "after a work by", "indigenous to", "source of material", "languages spoken, written or signed", "source of income", "appears in the form of", "business division", "series spin-off", "award received"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mack Sennett"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mack Sennett\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Which has the most area among the Massachusetts counties established before 1811?", "choices": ["Worcester County", "Essex County", "Suffolk County", "Berkshire County", "Bristol County", "Hampshire County", "Middlesex County", "Barnstable County", "Norfolk County", "Plymouth County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1811", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1811 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Barnstable County"}, {"question": "When did Keith Andrews join Walsall F.C.?", "choices": ["2011-11-23", "1978-11-17", "1814", "2004-01-01", "2005-12-10", "2013-07-07", "1896-06-24", "1707-01-01", "1972-09-30", "1997-08-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Keith Andrews"]}, {"function": "Find", "dependencies": [], "inputs": ["Walsall F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Keith Andrews\" . ?e_2 <pred:name> \"Walsall F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2004-01-01"}, {"question": "When was Clive Owen a Broadcast Film Critics Association Award winner for Best Cast?", "choices": ["2015-03-01", "2008-01-01", "1990-05-01", "2016-01-05", "1571-01-01", "2016-08-01", "2009-01-25", "2014-01-16", "1992-02-25", "2001"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Find", "dependencies": [], "inputs": ["Clive Owen"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_2 <pred:name> \"Clive Owen\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "What is the author name strive for the activity that was published on 2005-09-27 and had a review score of 6/10?", "choices": ["El Gringo", "314.00", "Dinowan", "American Civil War", "Ivan Le Fou", "2115500141", "0701010001", "la_redaction", "Jihem", "ackboo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2005-09-27", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["review score", "6/10", "author name string"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2005-09-27\"^^xsd:date . ?e <review_score> ?pv . ?pv <pred:value> \"6/10\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <author_name_string> ?qpv .  }", "answer": "El Gringo"}, {"question": "When was the 35th edition of the award event held?", "choices": ["1753-01-01", "1993", "1520", "2012-03-07", "1086", "1858", "1908", "2011", "-550", "1806"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "35"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"35\" . ?e <point_in_time> ?pv .  }", "answer": "1993"}, {"question": "How population of administrative territorial entity is determined whose official website is http://www.linncounty.org & population is 216111?", "choices": ["population projection", "Family record booklet", "Yemen General Census of Population, Housing and Establishments 2004", "estimation process", "Canada 2011 Census", "national estimation", "United Kingdom Census 2011", "FIFA World Rankings", "Russian Empire Census", "Pensky\u2013Martens closed-cup test"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.linncounty.org"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "216111", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.linncounty.org\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"216111\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Who is the author of the Anna Karenina (the one that origins from Russian Empire), on which Anna Karenina (the one whose release region is Hungary) is based?", "choices": ["Department of Statistics Singapore", "J. G. Ballard", "25.6 millipascal-second", "Jack Kerouac", "Leo Tolstoy", "J. K. Rowling", "Frank Herbert", "Ian McEwan", "4.83", "Cormac McCarthy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Russian Empire"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["based on", "author"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Anna Karenina\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Hungary\" . ?e_2 <pred:name> \"Anna Karenina\" . ?e_2 <country_of_origin> ?e_4 . ?e_4 <pred:name> \"Russian Empire\" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }", "answer": "Leo Tolstoy"}, {"question": "I would like to know the Twitter username of St Patrick's Athletic F.C.", "choices": ["HowardStern", "stpatsfc", "RealClancyBrown", "DFB_Team", "elisabeth_shue", "DIRENGREY_JP", "DAG_REDFC", "muenchen_de", "mmflint", "jossstone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Patrick's Athletic F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"St Patrick's Athletic F.C.\" . ?e <Twitter_username> ?pv .  }", "answer": "stpatsfc"}, {"question": "David Bowie who records on the Decca label was cast in what role on The Prestige?", "choices": ["Gregory House", "Neo", "Miriam", "Ozzy Osbourne", "Ramesses II", "Stansfield Turner", "Nikola Tesla", "Forrest Gump", "Odin", "John Constantine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Prestige"]}, {"function": "Find", "dependencies": [], "inputs": ["Decca"]}, {"function": "Relate", "dependencies": [1], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Bowie"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Prestige\" . ?e_2 <pred:name> \"David Bowie\" . ?e_2 <record_label> ?e_3 . ?e_3 <pred:name> \"Decca\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Nikola Tesla"}, {"question": "Which movie is longer, Havana (the one whose duration is 138 minute) or Brighton Rock (the one whose publication date is 2010-01-01)?", "choices": ["Curse of the Golden Flower", "Pleasantville", "A Prairie Home Companion", "The Fifth Element", "Talk to Her", "The Hunchback of Notre Dame", "Havana", "The Towering Inferno", "Training Day", "Brighton Rock"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Havana"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "138 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Brighton Rock"]}, {"function": "FilterDate", "dependencies": [2], "inputs": ["publication date", "2010-01-01", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Havana\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"138\"^^xsd:double . } UNION { ?e <pred:name> \"Brighton Rock\" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> \"2010-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Havana"}, {"question": "How many forms of government are followed by the sovereign state that includes Yerevan?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yerevan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["form of government"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <followed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Yerevan\" .   }", "answer": "0"}, {"question": "When did the administrative body twinned to Montreal, Casablanca, have a population amounting to 3,359,818?", "choices": ["1951", "2012-01-15", "2004-06-24", "250", "1806-12-01", "1970-05-06", "1905-01-01", "2013-06-06", "-550", "2014-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montreal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Casablanca"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "3359818", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Casablanca\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Montreal\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3359818\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What is the Munzinger IBA of the person whose ISNI is 0000 0003 6864 4884?", "choices": ["00000020340", "00000008847", "00000012711", "00000002696", "00000001051", "00000026788", "00000008338", "00000022576", "00000026507", "00000017913"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6864 4884"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6864 4884\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000026507"}, {"question": "Is 551 the Dewey Decimal Classification for geology?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["geology"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["551"]}], "sparql": "ASK { ?e <pred:name> \"geology\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"551\" .  }", "answer": "yes"}, {"question": "Is the run-time longer for Murder on the Orient Express, originally in Italian, or Monte Carlo, a Paramount Pictures production?", "choices": ["The Towering Inferno", "Pleasantville", "The Fifth Element", "A Prairie Home Companion", "Curse of the Golden Flower", "Monte Carlo", "Murder on the Orient Express", "Talk to Her", "The Hunchback of Notre Dame", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Murder on the Orient Express"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Monte Carlo"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Murder on the Orient Express\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Italian\" .   } UNION { ?e <pred:name> \"Monte Carlo\" . ?e <production_company> ?e_2 . ?e_2 <pred:name> \"Paramount Pictures\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Murder on the Orient Express"}, {"question": "How many silent films were directed by someone with an ISNI of 0000 0001 1496 4714?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1496 4714"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["silent film"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <director> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1496 4714\" .   }", "answer": "0"}, {"question": "The demonym armeanc\u0103 applies to which ethnic group?", "choices": ["Koreans", "German Americans", "Poles", "Indian American", "Javanese people", "Armenians", "Norwegians", "Armenia", "Irish migration to Great Britain", "Germans"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "armeanc\u0103"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <demonym> ?pv . ?pv <pred:value> \"armeanc\u0103\" .  }", "answer": "Armenians"}, {"question": "How many United States rock bands there are that were not founded in 1993?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1993", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1993 ) .  }", "answer": "1"}, {"question": "Which movie is shorter, The Bourne Identity (the one whose release region is Italy) or Imagine That?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "Pleasantville", "Rebecca", "Imagine That", "The Fifth Element", "The Bourne Identity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Bourne Identity"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Imagine That"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Bourne Identity\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Italy\" .   } UNION { ?e <pred:name> \"Imagine That\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Imagine That"}, {"question": "Does Infernal Affairs (the one that contains Infernal Affairs II), have a publication date before 1983?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Infernal Affairs II"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Infernal Affairs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1983", "<"]}], "sparql": "ASK { ?e <pred:name> \"Infernal Affairs\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"Infernal Affairs II\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1983 ) .  }", "answer": "no"}, {"question": "Was the soccer club represented online at www.crawleytownfc.com founded prior to 1887 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.crawleytownfc.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1887", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.crawleytownfc.com/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1887 ) .  }", "answer": "no"}, {"question": "How many subscribers does Juno (whose Revised Romanization is Gim Jun-ho) have under the Twitter username JUNO_Japan?", "choices": ["55413", "123535", "9458267", "1386", "78602", "10859", "116736", "38498", "12794740", "22982"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juno"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Revised Romanization", "Gim Jun-ho"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Twitter username", "JUNO_Japan", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Juno\" . ?e <Revised_Romanization> ?pv_1 . ?pv_1 <pred:value> \"Gim Jun-ho\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"JUNO_Japan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "123535"}, {"question": "Does SkyTeam or Oneworld have a less member count?", "choices": ["Oneworld", "Vigor Shipyards", "E. W. Scripps Company", "Pfizer", "Hamburger SV", "SkyTeam", "United States Department of the Air Force", "McDonald's", "BBC", "Academy of Television Arts & Sciences"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SkyTeam"]}, {"function": "Find", "dependencies": [], "inputs": ["Oneworld"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["member count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"SkyTeam\" .  } UNION { ?e <pred:name> \"Oneworld\" .  } ?e <member_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Oneworld"}, {"question": "Who is taller, Tom Brady who attended the University of Michigan or Kate Flannery?", "choices": ["Sylvester Stallone", "James E. Reilly", "Richard Gere", "David Byrne", "Paul Simon", "Simon Cowell", "Kate Flannery", "William Henry Harrison", "Tom Brady", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Michigan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Brady"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kate Flannery"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tom Brady\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"University of Michigan\" .   } UNION { ?e <pred:name> \"Kate Flannery\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tom Brady"}, {"question": "When did the television series that has Fyvush Finkel as a cast member end?", "choices": ["1910", "1995-01-03", "1989-02-08", "1996-06-26", "1888-02-21", "2016-12-12", "2018", "1991-09-25", "1924-06-03", "2011-09-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fyvush Finkel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Fyvush Finkel\" .  ?e <end_time> ?pv .  }", "answer": "1996-06-26"}, {"question": "Until when was The Real World the title of TV series whose official website is http://realworld.mtv.com/", "choices": ["2004", "1978", "2015-02-24", "2013", "2009-04-06", "1975-12-04", "2016-07-29", "1931-12-15", "2010-09-17", "1991-08-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://realworld.mtv.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["title", "The Real World", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://realworld.mtv.com/\" . ?e <title> ?pv . ?pv <pred:value> \"The Real World\" . [ <pred:fact_h> ?e ; <pred:fact_r> <title> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "2013"}, {"question": "Is the Human Development Index lower for Porto Alegre or for Salvador, population  2921087?", "choices": ["Cork", "Porto Alegre", "Bergen", "Santo Domingo", "Dundee", "Salvador", "Chihuahua", "Trieste", "Kingston", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Porto Alegre"]}, {"function": "Find", "dependencies": [], "inputs": ["Salvador"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "2921087", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["Human Development Index", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Porto Alegre\" . } UNION { ?e <pred:name> \"Salvador\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2921087\"^^xsd:double . } ?e <Human_Development_Index> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salvador"}, {"question": "Tell me the one with the least area, Delaware County (which has a population of 17657) or Kanawha County.", "choices": ["Cass County", "Delaware County", "Orange County", "Kanawha County", "Washoe County", "San Juan County", "Greene County", "Lee County", "United States Virgin Islands", "African Union"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delaware County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "17657", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Kanawha County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Delaware County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"17657\"^^xsd:double . } UNION { ?e <pred:name> \"Kanawha County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Delaware County"}, {"question": "Does Macomb County or Oakland County have less area?", "choices": ["Saginaw County", "Tuscola County", "Oakland County", "Macomb County", "Berrien County", "Kent County", "Marquette County", "Livingston County", "Clinton County", "Genesee County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macomb County"]}, {"function": "Find", "dependencies": [], "inputs": ["Oakland County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Macomb County\" .  } UNION { ?e <pred:name> \"Oakland County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Macomb County"}, {"question": "Which one, Hamilton County (the one whose population is 336463) or San Juan County (the one whose population is 15772), has less area?", "choices": ["Cass County", "Orange County", "San Juan County", "Delaware County", "Lee County", "Kent County", "Greene County", "African Union", "Washoe County", "Hamilton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hamilton County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "336463", "="]}, {"function": "Find", "dependencies": [], "inputs": ["San Juan County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "15772", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hamilton County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"336463\"^^xsd:double . } UNION { ?e <pred:name> \"San Juan County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"15772\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hamilton County"}, {"question": "What is the connection between Cosmopolis (the one that uses the language English) to Don DeLillo?", "choices": ["after a work by", "religious order", "sibling", "notable work", "presenter", "has cause", "public holiday", "airline alliance", "commander of", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cosmopolis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Don DeLillo"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cosmopolis\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Don DeLillo\" . ?e_1 ?p ?e_2 .  }", "answer": "author"}, {"question": "Which person was born in the capital city of Myanmar?", "choices": ["Henry Corden", "Fritz Lang", "Richard Thompson", "Sammy Cahn", "Verity Lambert", "Michael Biehn", "Paul Simon", "Ben Hecht", "David Fury", "James Wilby"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Myanmar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> \"Myanmar\" .   }", "answer": "James Wilby"}, {"question": "When was the person whose ISNI is 0000 0001 2121 783X brn?", "choices": ["1938-03-10", "1941-07-15", "1943-01-19", "1883-11-20", "1979-03-21", "1901-04-05", "1944-05-24", "1948-03-14", "1934-01-22", "1960-07-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2121 783X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2121 783X\" . ?e <date_of_birth> ?pv .  }", "answer": "1883-11-20"}, {"question": "Is 43C2113 the Iconclass notation for crown prince?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["crown prince"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Iconclass notation"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["43C2113"]}], "sparql": "ASK { ?e <pred:name> \"crown prince\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"43C2113\" .  }", "answer": "no"}, {"question": "What is the connection between Wichita (the one that has Jack Elam as a cast member) to English?", "choices": ["public holiday", "narrative location", "next lower rank", "mother", "author", "student", "country", "donated by", "killed by", "original language of film or TV show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Elam"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wichita"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wichita\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Jack Elam\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Are there more employees at St. John's University or at Morehouse College?", "choices": ["Panjab University", "King's College London", "McMaster University", "McNeese State University", "University of Manchester", "Imperial College London", "Pennsylvania State University", "St. John's University", "University of Tehran", "Morehouse College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. John's University"]}, {"function": "Find", "dependencies": [], "inputs": ["Morehouse College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"St. John's University\" .  } UNION { ?e <pred:name> \"Morehouse College\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. John's University"}, {"question": "What is the ARCHON code of the University of Nairobi?", "choices": ["744", "1089", "98", "1968", "1232", "715", "786", "1128", "924", "668"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Nairobi"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ARCHON code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of Nairobi\" . ?e <ARCHON_code> ?pv .  }", "answer": "668"}, {"question": "Donald Pleasence is cast in what role on the teen film Halloween?", "choices": ["Tigger", "Samuel Loomis", "Itzhak Stern", "Marcus Brody", "Eugene O'Neill", "Sal Maroni", "Hannibal Lecter", "George V", "Emma Goldman", "Hank Landry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["teen film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Halloween"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Donald Pleasence"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Halloween\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"teen film\" . ?e_2 <pred:name> \"Donald Pleasence\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Samuel Loomis"}, {"question": "Who is the reviewer of the national association football team of Pakistan, which is ranked 152?", "choices": ["The World of Movies", "Gene Siskel", "Metacritic", "FIFA", "IREG Observatory on Academic Ranking and Excellence", "Peter Travers", "Roger Ebert", "Rotten Tomatoes", "Charity Navigator", "James Berardinelli"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pakistan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "152", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Pakistan\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"152\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Regarding Hamlet (the one that has Maximillan Schell in its cast), was it published other than 2008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maximilian Schell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamlet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2008", "!="]}], "sparql": "ASK { ?e <pred:name> \"Hamlet\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Maximilian Schell\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  }", "answer": "yes"}, {"question": "What is the subject of Equatorial Guinea having a diplomatic relation with Russia?", "choices": ["Madagascar\u2013Russia relations", "Equatorial Guinea\u2013Russia relations", "Taiwan\u2013Tajikistan relations", "Mauritania\u2013Taiwan relations", "Germany-Morocco relations", "Bahamas\u2013Germany relations", "China\u2013Iraq relations", "Moldova\u2013Taiwan relations", "Portugal\u2013Spain border", "China\u2013Seychelles relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Equatorial Guinea"]}, {"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Equatorial Guinea\" . ?e_2 <pred:name> \"Russia\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Equatorial Guinea\u2013Russia relations"}, {"question": "Which one, Oscar (the one whose height is 185 centimetre) or Oscar (the one that is a participant of 2012 Summer Olympics), has less mass?", "choices": ["Max Fleischer", "Oscar", "James E. Reilly", "Rahul Dev Burman", "Oscar", "Simon Cowell", "William Henry Harrison", "David Byrne", "Paul Simon", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "185 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["2012 Summer Olympics"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Oscar\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"185\"^^xsd:double . } UNION { ?e <pred:name> \"Oscar\" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> \"2012 Summer Olympics\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Oscar"}, {"question": "When did Jimmy Carter who received a 2007 Grammy Award start attending Union College?", "choices": ["1950-01-26", "1953", "1944-04-10", "1969-04-03", "1958", "1993-06-21", "2006-02-24", "1945-08-15", "1792-04-20", "2012-12-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2007 Grammy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jimmy Carter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Union College"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jimmy Carter\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"2007 Grammy Awards\" . ?e_2 <pred:name> \"Union College\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1953"}, {"question": "When did the 69th Academy Awards take place?", "choices": ["1997-03-24", "2009-01-01", "2011-02-02", "1944", "1991-12-01", "1934", "2015-12-17", "1999-01-27", "1867-12-03", "1993-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["69th Academy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"69th Academy Awards\" . ?e <point_in_time> ?pv .  }", "answer": "1997-03-24"}, {"question": "When did Zooey Deschanel stop being the spouse of Ben Gibbard?", "choices": ["1928", "2012-12-24", "1963-12-24", "2013-07-12", "1933-01-29", "1774-10-26", "2012-01-01", "1896-01-28", "1948-05-13", "2008-07-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zooey Deschanel"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Gibbard"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Zooey Deschanel\" . ?e_2 <pred:name> \"Ben Gibbard\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "What types of sports have sport teams and what film has exploitation visa number of 94332?", "choices": ["baseball", "tennis", "biathlon", "auto racing", "association football", "fenci", "skateboarding", "track and field", "American football", "ski jumping"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "94332"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["type of sport"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"94332\" .   }", "answer": "fenci"}, {"question": "Was Happy Madison Productions not created in 1799?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Happy Madison Productions"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1799", "!="]}], "sparql": "ASK { ?e <pred:name> \"Happy Madison Productions\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1799 ) .  }", "answer": "yes"}, {"question": "What language is associated with the creative work at http://www.cityofbillings.net/, the official website for the United States city whose postal code is 59101\u201359117?", "choices": ["France", "English", "Tahitian", "Bulgarian", "Macedonian", "Northern Sotho", "Modern Greek", "Maltese", "Valencian", "Wolof"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "59101\u201359117"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cityofbillings.net/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"59101\u201359117\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cityofbillings.net/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Wisconsin or Mississippi (the one whose population is 2992333) have greater elevation (above sea level) ?", "choices": ["New Jersey", "Florida", "Wisconsin", "Hawaii", "Mississippi", "Illinois", "California", "Massachusetts", "Colorado", "Iowa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wisconsin"]}, {"function": "Find", "dependencies": [], "inputs": ["Mississippi"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "2992333", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wisconsin\" . } UNION { ?e <pred:name> \"Mississippi\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2992333\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Wisconsin"}, {"question": "Is the population of the independent city whose establishment date is in 1906 less than 45000000 on the date 2011-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1906", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2011-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["45000000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1906 . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"45000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2011-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "Is Harrogate Football Club's website: http://www.harrogatetown.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harrogate"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.harrogatetown.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Harrogate\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.harrogatetown.com\" .  }", "answer": "yes"}, {"question": "Is \u30d3\u30fc\u30d3\u30fc\u30b7\u30fc \u30cb\u30e5\u30fc\u30ba the kana for ska?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ska"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in kana"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u30d3\u30fc\u30d3\u30fc\u30b7\u30fc \u30cb\u30e5\u30fc\u30ba"]}], "sparql": "ASK { ?e <pred:name> \"ska\" . ?e <name_in_kana> ?pv . ?pv <pred:value> \"\u30d3\u30fc\u30d3\u30fc\u30b7\u30fc \u30cb\u30e5\u30fc\u30ba\" .  }", "answer": "no"}, {"question": "Michael Jackson of Swansea City A.F.C. had how many match appearances as a member of Cheltenham Town F.C.?", "choices": ["182", "204", "30", "5", "171", "72", "252", "13", "40", "334"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swansea City A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cheltenham Town F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Jackson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Swansea City A.F.C.\" . ?e_2 <pred:name> \"Cheltenham Town F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "30"}, {"question": "How many historical countries have had military conflicts with the United Kingdom?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .   }", "answer": "2"}, {"question": "Which award ceremony was received by Gustavo Santaolalla and was received by Julieta Venegas?", "choices": ["2008 Grammy Awards", "Latin Grammy Awards of 2004", "51st Annual Grammy Awards", "66th Tony Awards", "2004 Grammy Awards", "Latin Grammy Awards of 2005", "38th People's Choice Awards", "2007 Grammy Awards", "Satellite Awards 2008", "Satellite Awards 2006"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gustavo Santaolalla"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "Find", "dependencies": [], "inputs": ["Julieta Venegas"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award ceremony"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Gustavo Santaolalla\" .  ?e_2 <award_received> ?e . ?e_2 <pred:name> \"Julieta Venegas\" .  }", "answer": "Latin Grammy Awards of 2004"}, {"question": "How many albums were composed by the person with ISNI 0000 0001 2141 9212?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2141 9212"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["album"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <composer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2141 9212\" .   }", "answer": "0"}, {"question": "Which has less people, Sunderland or Aberdeen (the one that is the twinned administrative body of Stavanger)?", "choices": ["Trieste", "Sunderland", "Cork", "Aberdeen", "Kilkenny", "Santo Domingo", "Abidjan", "Chihuahua", "Kingston", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sunderland"]}, {"function": "Find", "dependencies": [], "inputs": ["Stavanger"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aberdeen"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sunderland\" .  } UNION { ?e <pred:name> \"Aberdeen\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Stavanger\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sunderland"}, {"question": "When did  Walter Scott (the one that is a member of Hamilton Academical F.C.) become a member of Falkirk F.C.?", "choices": ["1849-03-07", "1953-01-01", "1900-01-01", "1941-07-28", "1621", "1877-03-04", "1", "1966", "1920-07-11", "1982-06-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hamilton Academical F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Walter Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Falkirk F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Walter Scott\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Hamilton Academical F.C.\" . ?e_2 <pred:name> \"Falkirk F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1953-01-01"}, {"question": "How many French regions are also administrative divisions of France?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"France\" .   }", "answer": "4"}, {"question": "Which person died in San Luis Obispo?", "choices": ["William Henry Harrison", "Richard Gere", "Dave Fleischer", "Max Fleischer", "DeWitt Clinton", "Sylvester Stallone", "John Sturges", "Ray Bradbury", "Ruth Prawer Jhabvala", "Kevin McCarthy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Luis Obispo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"San Luis Obispo\" .   }", "answer": "John Sturges"}, {"question": "How are the Lonesome Dove and Tommy Lee Jones related?", "choices": ["director of photography", "diaspora", "captain", "cast member", "item operated", "occupant", "medical treatment", "has dialect (DEPRECATED)", "located in time zone", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lonesome Dove"]}, {"function": "Find", "dependencies": [], "inputs": ["Tommy Lee Jones"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lonesome Dove\" . ?e_2 <pred:name> \"Tommy Lee Jones\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Whose work on Raiders of the Lost Ark earned an Academy Award nomination for Best Director?", "choices": ["Malaysia\u2013Philippines relations", "Morocco\u2013European Union relations", "Cyprus\u2013Israel border", "Albania\u2013China relations", "Czech Republic\u2013United States relations", "54th Academy Awards", "Malta\u2013Russia relations", "Grenada\u2013Trinidad and Tobago relations", "Seychelles\u2013Taiwan relations", "Algeria\u2013Mali border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raiders of the Lost Ark"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Raiders of the Lost Ark\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "54th Academy Awards"}, {"question": "Who directed the film whose official website is http://www.miramax.com/movie/the-talented-mr-ripley?", "choices": ["Anthony Minghella", "Jan de Bont", "Peter Stone", "Tom McCarthy", "Seth Green", "Don Siegel", "Pat Hingle", "David Zucker", "Zach Braff", "Steven Soderbergh"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/the-talented-mr-ripley"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/the-talented-mr-ripley\" .   }", "answer": "Anthony Minghella"}, {"question": "Was Jerry Lee Lewis born after 1916?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Lee Lewis"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1916", ">"]}], "sparql": "ASK { ?e <pred:name> \"Jerry Lee Lewis\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1916 ) .  }", "answer": "yes"}, {"question": "How many entertainments are named after the superhero that presents in the work Wreck-It Ralph?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wreck-It Ralph"]}, {"function": "Relate", "dependencies": [0], "inputs": ["present in work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["superhero"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["entertainment"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"superhero\" . ?e_1 <present_in_work> ?e_3 . ?e_3 <pred:name> \"Wreck-It Ralph\" .   }", "answer": "1"}, {"question": "How many people named Lil Jon associated with house music are from Europe?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lil Jon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["house music"]}, {"function": "Find", "dependencies": [], "inputs": ["Europe"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["house music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"house music\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Lil Jon\" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Europe\" .  } }", "answer": "2"}, {"question": "Was Sin City or Eyes Wide Shut more expensive to make?", "choices": ["The Towering Inferno", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "Sin City", "The Fifth Element", "Eyes Wide Shut"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sin City"]}, {"function": "Find", "dependencies": [], "inputs": ["Eyes Wide Shut"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sin City\" .  } UNION { ?e <pred:name> \"Eyes Wide Shut\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eyes Wide Shut"}, {"question": "Was Waltham created in 1634?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waltham"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1634", "="]}], "sparql": "ASK { ?e <pred:name> \"Waltham\" . ?e <inception> ?pv . ?pv <pred:year> 1634 .  }", "answer": "yes"}, {"question": "The director of Tom and Jerry was born with which name?", "choices": ["Rufus Edward Mackahan", "Edward Winnie-the-Pooh Bear", "William Denby Hanna", "Anna Mae Bullock", "Kathryn Dawn Lang", "Robin Hugh Gibb", "Sienna Rose Miller", "Jeanette Helen Morrison", "Warren Gamaliel Harding", "Peter Dougan Capaldi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom and Jerry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Tom and Jerry\" .  ?e <birth_name> ?pv .  }", "answer": "William Denby Hanna"}, {"question": "Midway Games and Warner Bros. Interactive Entertainment are related in what way?", "choices": ["worshipped by", "sex or gender", "developer", "said to be the same as", "characters", "capital of", "influenced by", "general manager", "field of work", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midway Games"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros. Interactive Entertainment"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Midway Games\" . ?e_2 <pred:name> \"Warner Bros. Interactive Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "parent organization"}, {"question": "What is the connection between The Hours (the one that was nominated for Academy Award for Best Actress) to Peter Boyle (the one that is educated at La Salle University)?", "choices": ["languages spoken, written or signed", "voice type", "partially contains", "developer", "sponsor", "seed team", "lyrics by", "film editor", "sport", "notable work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hours"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["La Salle University"]}, {"function": "Relate", "dependencies": [4], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Boyle"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Hours\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Actress\" . ?e_2 <pred:name> \"Peter Boyle\" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> \"La Salle University\" . ?e_1 ?p ?e_2 .  }", "answer": "film editor"}, {"question": "What is the official website Ajith Kumar?", "choices": ["http://www.osgoode.yorku.ca/", "http://www.corkcoco.ie/", "http://www.guadalajara.gob.mx", "http://www.co.lake.mn.us", "http://www.ed.ac.uk/", "https://www.villarrealcf.es/", "http://www.ajiththeactor.com/", "http://www.up-front-works.jp/", "http://www.winchesterva.gov/", "http://www.dynamo-dresden.de/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ajith Kumar"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ajith Kumar\" . ?e <official_website> ?pv .  }", "answer": "http://www.ajiththeactor.com/"}, {"question": "How many 3D films were published after 2011?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2011", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2011 ) .  }", "answer": "2"}, {"question": "Was the written work, serving as the basis for Mystic River (the one whose official website is http://mysticrivermovie.warnerbros.com/), published in a year other than 2001 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mystic River"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://mysticrivermovie.warnerbros.com/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2001", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Mystic River\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://mysticrivermovie.warnerbros.com/\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2001 ) .  }", "answer": "no"}, {"question": "Which movie is longer, MASH or Magic Knight Rayearth?", "choices": ["The Towering Inferno", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "The Fifth Element", "Training Day", "MASH", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MASH"]}, {"function": "Find", "dependencies": [], "inputs": ["Magic Knight Rayearth"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"MASH\" .  } UNION { ?e <pred:name> \"Magic Knight Rayearth\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "MASH"}, {"question": "What is the Twitter username of Nicole Richie?", "choices": ["jon_vitti", "HouseonFOX", "thekillers", "UniWestminster", "nicolerichie", "RHCPchad", "LPNational", "AEK_FC_OFFICIAL", "Apple", "samsungtomorrow"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicole Richie"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Nicole Richie\" . ?e <Twitter_username> ?pv .  }", "answer": "nicolerichie"}, {"question": "Was the agent that has the same religion as the journalist Gordon Brown founded after 2003?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["journalist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gordon Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["2003", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <religion> ?e . ?e_1 <pred:name> \"Gordon Brown\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"journalist\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2003 ) .  }", "answer": "no"}, {"question": "Which one covers less area, Sioux City or Eureka (the one whose official website is http://www.ci.eureka.ca.gov)    ?", "choices": ["Lansing", "New Haven", "Compton", "Oakland", "Columbus", "Eureka", "Waukegan", "Greenville", "Sioux City", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sioux City"]}, {"function": "Find", "dependencies": [], "inputs": ["Eureka"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.ci.eureka.ca.gov"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sioux City\" . } UNION { ?e <pred:name> \"Eureka\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.eureka.ca.gov\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Eureka"}, {"question": "How many editions of film festivals come after the 60th Berlin International Film Festival or take place prior to 2009?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["60th Berlin International Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival edition"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2009", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film festival edition"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" .  { ?e <follows> ?e_1 . ?e_1 <pred:name> \"60th Berlin International Film Festival\" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) .  } }", "answer": "8"}, {"question": "How many kinds of entertainment were composed by someone whose name, in native language, is Rita Moreno ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Rita Moreno"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["entertainment"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <composer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Rita Moreno\" .   }", "answer": "0"}, {"question": "What is the release territory of Grease whose publication date is 1978-09-28?", "choices": ["Austria", "Washington, D.C.", "Indonesia", "Toronto International Film Festival", "Romania", "Germany", "Mexico", "Montreal World Film Festival", "Switzerland", "Portugal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grease"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1978-09-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Grease\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1978-09-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the subject of Louisiana (whose country is the United States of America) sharing a border with Arkansas?", "choices": ["ministry of Jesus", "Ireland\u2013Zambia relations", "Morocco\u2013Tunisia relations", "India\u2013Japan relations", "Indonesia\u2013Iraq relations", "Arkansas\u2013Louisiana border", "Russia\u2013Senegal relations", "Croatia\u2013Libya relations", "China\u2013Kenya relations", "Russia\u2013European Union relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Louisiana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Arkansas"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Louisiana\" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Arkansas\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Arkansas\u2013Louisiana border"}, {"question": "When was Joshua Logan nominated for a Tony Award for Best Direction of a Musical?", "choices": ["1787-01-01", "2018-06-30", "1962", "1993-10-22", "2010-03-07", "1966-12-31", "1997-09-17", "2009-12-01", "1972-01-25", "1912-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joshua Logan"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Direction of a Musical"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joshua Logan\" . ?e_2 <pred:name> \"Tony Award for Best Direction of a Musical\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1962"}, {"question": "Is the elevation of Saint John, population 4170, under 820 meters, relative to sea level ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint John"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4170", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["820 metre", "<"]}], "sparql": "ASK { ?e <pred:name> \"Saint John\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4170\"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"820\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the proportion of history owned by The Walt Disney Company?", "choices": ["0.46", "0.033", "0.005", "0.009", "0.915", "0.126", "0.821", "0.98", "0.5", "0.259"], "program": [{"function": "Find", "dependencies": [], "inputs": ["History"]}, {"function": "Find", "dependencies": [], "inputs": ["The Walt Disney Company"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["owned by", "proportion"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"History\" . ?e_2 <pred:name> \"The Walt Disney Company\" . ?e_1 <owned_by> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e_2 ] <proportion> ?qpv .  }", "answer": "0.5"}, {"question": "Which honoree received the medal which has the official website, https://royalsociety.org/grants-schemes-awards/awards/copley-medal/ (the point in time is 1838-01-01)?", "choices": ["Richard Gere", "David Byrne", "Benjamin Franklin", "James Ivory", "Max Fleischer", "Carl Friedrich Gauss", "Albert Einstein", "William Henry Harrison", "Ernest Rutherford", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://royalsociety.org/grants-schemes-awards/awards/copley-medal/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medal"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [3], "inputs": ["point in time", "1838-01-01", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"medal\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://royalsociety.org/grants-schemes-awards/awards/copley-medal/\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1838-01-01\"^^xsd:date .  }", "answer": "Carl Friedrich Gauss"}, {"question": "How are Nine Inch Nails and the dark ambient category related?", "choices": ["partner", "home venue", "official religion", "developer", "famous people", "separated from", "shares border with", "after a work by", "original language of film or TV show", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dark ambient"]}, {"function": "Find", "dependencies": [], "inputs": ["Nine Inch Nails"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"dark ambient\" . ?e_2 <pred:name> \"Nine Inch Nails\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Does the person who was nominated for the Best Actress Academy of Award for work on \"Thus Hustler\" have a ISNI of 0000 0001 1694 6042?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Hustler"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 1694 6042"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Hustler\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1694 6042\" .  }", "answer": "no"}, {"question": "When did Erie County whose headquarter location is Erie have a population of 280823?", "choices": ["2018-02-03", "2002-07-01", "1942", "1996-08-28", "2010-04-28", "1994-10-25", "2012-07-01", "1972", "1997-12-01", "2007-11-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Erie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Erie County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "280823", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Erie County\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Erie\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"280823\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Which comedy with under 45 seasons has the most episodes?", "choices": ["The Monkees", "farce", "Ian Bryce", "Gil Scott-Heron", "Kansas City Royals", "stand-up comedy", "Mr. Smith Goes to Washington", "comedy of manners", "The Golden Girls", "Saudi Arabia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "45", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"45\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "Is the native name of the historical country that contains Seoul the same as Paris?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seoul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Paris"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Seoul\" .  ?e <native_label> ?pv . ?pv <pred:value> \"Paris\" .  }", "answer": "no"}, {"question": "Which one has the highest number of episodes among the anime having number of episodes less than 170?", "choices": ["Fullmetal Alchemist the Movie: Conqueror of Shamballa", "Vampire Knight", "Magical Girl Lyrical Nanoha", "Chrono Crusade", "My-HiME", "Eureka Seven", "Ponyo on the Cliff by the Sea", "Magic Knight Rayearth", "Code Geass", "Sonic X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "170", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"170\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sonic X"}, {"question": "What is the connection between Linn County (the one whose official website is http://www.linncounty.org) to Johnson County (the one whose population is 139155)?", "choices": ["has contributing factor", "business division", "facet of", "shares border with", "replaces", "dialect of", "lifestyle", "political alignment", "significant person", "head coach"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Linn County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.linncounty.org"]}, {"function": "Find", "dependencies": [], "inputs": ["Johnson County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "139155", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Linn County\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.linncounty.org\" . ?e_2 <pred:name> \"Johnson County\" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"139155\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Who has fewer children, Billy Bob Thornton or Mark Isham?", "choices": ["David Byrne", "Mark Isham", "Billy Bob Thornton", "Simon Cowell", "Paul Simon", "Rahul Dev Burman", "Max Fleischer", "Richard Gere", "William Henry Harrison", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Bob Thornton"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Isham"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Billy Bob Thornton\" .  } UNION { ?e <pred:name> \"Mark Isham\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mark Isham"}, {"question": "How many neighborhoods are at zip code 10026 or have the subreddit venice?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "10026"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["subreddit", "venice"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["neighborhood"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" .  { ?e <postal_code> ?pv . ?pv <pred:value> \"10026\" .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> \"venice\" .  } }", "answer": "2"}, {"question": "Is http://www.cher.com the official website of Julie Walters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julie Walters"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.cher.com"]}], "sparql": "ASK { ?e <pred:name> \"Julie Walters\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cher.com\" .  }", "answer": "no"}, {"question": "Does the soccer club headquartered in Monterrey go by the Twitter handle HeartsOfOakGH ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monterrey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["HeartsOfOakGH"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Monterrey\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"HeartsOfOakGH\" .  }", "answer": "no"}, {"question": "Who is the relative lightweight between Felix Bastians or Brad Jones, born as Bradley Scott Jones?", "choices": ["Brad Jones", "Sylvester Stallone", "Max Fleischer", "Felix Bastians", "Paul Simon", "James E. Reilly", "Richard Gere", "William Henry Harrison", "Rahul Dev Burman", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Felix Bastians"]}, {"function": "Find", "dependencies": [], "inputs": ["Brad Jones"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["birth name", "Bradley Scott Jones"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Felix Bastians\" . } UNION { ?e <pred:name> \"Brad Jones\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Bradley Scott Jones\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brad Jones"}, {"question": "What is the date of birth for the person recognized by the ISNI number 0000 0003 6857 2681?", "choices": ["1934-05-27", "1984-08-30", "1787-01-13", "1945-06-25", "1955-05-06", "1841-11-09", "1776-01-01", "1948-07-02", "1809-03-19", "1903-05-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6857 2681"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6857 2681\" . ?e <date_of_birth> ?pv .  }", "answer": "1934-05-27"}, {"question": "When did Samoa have a life expectancy of 70.314 years?", "choices": ["2006-12-01", "2013-07-04", "2002-03-20", "-1000", "2009-06-03", "1756-01-01", "2003", "2014", "1937-12-01", "1988"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samoa"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["life expectancy", "70.314 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Samoa\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"70.314\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2003"}, {"question": "Who weighs less, Dave Foley (the one whose date of birth is 1947-10-28) or Robert Smith (the one that is a member of Minnesota Vikings)?", "choices": ["Rahul Dev Burman", "Max Fleischer", "Sylvester Stallone", "Robert Smith", "Dave Foley", "David Byrne", "Richard Gere", "Paul Simon", "William Henry Harrison", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dave Foley"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1947-10-28", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota Vikings"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Smith"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dave Foley\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1947-10-28\"^^xsd:date . } UNION { ?e <pred:name> \"Robert Smith\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Minnesota Vikings\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Robert Smith"}, {"question": "How many awards have official website http://www.japan-academy-prize.jp/ or were received by the Eagles?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.japan-academy-prize.jp/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Find", "dependencies": [], "inputs": ["Eagles"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.japan-academy-prize.jp/\" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Eagles\" .  } }", "answer": "4"}, {"question": "Is leonhard-eulers-306th-birthday the Google Doodle of Andy Warhol?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andy Warhol"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Google Doodle"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["leonhard-eulers-306th-birthday"]}], "sparql": "ASK { ?e <pred:name> \"Andy Warhol\" . ?e <Google_Doodle> ?pv . ?pv <pred:value> \"leonhard-eulers-306th-birthday\" .  }", "answer": "no"}, {"question": "Which administrative territorial entity has the FIPS 6-4 (US counties) is 05119?", "choices": ["Wood County", "Providence County", "Pulaski County", "Orange County", "Cobb County", "Washoe County", "Ticino", "African Union", "Jefferson County", "Kent County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "05119"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"05119\" .  }", "answer": "Pulaski County"}, {"question": "Which Academy Awards ceremony has a time point on 1970-04-07 and an edition number of 42?", "choices": ["72nd Academy Awards", "64th Academy Awards", "79th Academy Awards", "35th Academy Awards", "43rd Academy Awards", "81st Academy Awards", "42nd Academy Awards", "25th Academy Awards", "60th Academy Awards", "29th Academy Awards"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["point in time", "1970-04-07", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "42"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <point_in_time> ?pv . ?pv <pred:date> \"1970-04-07\"^^xsd:date . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> \"42\" .  }", "answer": "42nd Academy Awards"}, {"question": "Was the film titled Eat Pray Love not published in 2004 in Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Eat Pray Love"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2004", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Eat Pray Love\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2004 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "When did Ed McMahon die?", "choices": ["1996-01-18", "1975-12-04", "1992-09-12", "2005-07-01", "1950-04-04", "2017-10-02", "1999-07-02", "2009-06-23", "1973-01-22", "1826-07-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ed McMahon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ed McMahon\" . ?e <date_of_death> ?pv .  }", "answer": "2009-06-23"}, {"question": "Does the television series that is named after Andy Griffith not have 60 seasons?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andy Griffith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["60", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Andy Griffith\" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"60\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is Steve Oedekerk's official website http://mpophotohost.com/~mposystems/filehost/oedework/index.html?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Oedekerk"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://mpophotohost.com/~mposystems/filehost/oedework/index.html"]}], "sparql": "ASK { ?e <pred:name> \"Steve Oedekerk\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://mpophotohost.com/~mposystems/filehost/oedework/index.html\" .  }", "answer": "yes"}, {"question": "What is the connection between The Delta Force to Sweden?", "choices": ["official symbol", "office contested", "depicts", "home world", "archives at", "film release region", "contains administrative territorial entity", "instrument", "position held", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Delta Force"]}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Delta Force\" . ?e_2 <pred:name> \"Sweden\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "The subreddit idm refers to which genre of music?", "choices": ["post-punk revival", "symphony", "chanson", "Mandopop", "experimental rock", "adult contemporary music", "chamber music", "New Age music", "intelligent dance music", "contemporary classical music"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "idm"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <subreddit> ?pv . ?pv <pred:value> \"idm\" .  }", "answer": "intelligent dance music"}, {"question": "When was the film production company that distributed the drama film Lisbon founded?", "choices": ["1382", "1904-08-12", "1837", "1935-01-01", "1954-01-01", "1871-12-31", "1350", "1999-09-09", "1776-01-01", "1824-12-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lisbon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <distributor> ?e . ?e_1 <pred:name> \"Lisbon\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"drama film\" .  ?e <inception> ?pv .  }", "answer": "1935-01-01"}, {"question": "Which ISNI designates Sylvester Stallone's marital partner?", "choices": ["0000 0001 2135 1406", "0000 0000 3629 1779", "0000 0001 1471 4707", "0000 0001 0573 8969", "0000 0004 0422 5207", "0000 0001 0920 1210", "0000 0001 2099 1751", "0000 0000 7358 9814", "0000 0001 0868 6869", "0000 0000 7844 0330"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sylvester Stallone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Sylvester Stallone\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2135 1406"}, {"question": "What is the running time of the visual artwork directed by Anatole Litvak?", "choices": ["105 minute", "110 minute", "120 minute", "198 minute", "2982 second", "360 minute", "145 minute", "156 minute", "41 minute", "3308 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anatole Litvak"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Anatole Litvak\" .  ?e <duration> ?pv .  }", "answer": "105 minute"}, {"question": "How many conservatories were founded later than 1921 or have a student enrollment other than 4200?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1921", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["conservatory"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["students count", "4200", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["conservatory"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"conservatory\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1921 ) .  } UNION { ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4200\"^^xsd:double ) .  } }", "answer": "6"}, {"question": "Does Chattanooga or Lowell have more area?", "choices": ["Compton", "Lowell", "Franklin", "Columbus", "Waukegan", "Greenville", "Lansing", "Boulder", "Chattanooga", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chattanooga"]}, {"function": "Find", "dependencies": [], "inputs": ["Lowell"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chattanooga\" .  } UNION { ?e <pred:name> \"Lowell\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chattanooga"}, {"question": "What is the official name of Doha?", "choices": ["\u039a\u03c9\u03bd\u03c3\u03c4\u03b1\u03bd\u03c4\u03b9\u03bd\u03bf\u03cd\u03c0\u03bf\u03bb\u03b9\u03c2", "\u0627\u0644\u062f\u0648\u062d\u0629", "\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd \u0ba4\u0bc7\u0b9a\u0bbf\u0baf \u0baa\u0bb2\u0bcd\u0b95\u0bb2\u0bc8\u0b95\u0bcd\u0b95\u0bb4\u0b95\u0bae\u0bcd", "\u041b\u0435\u043d\u0438\u043d\u0433\u0440\u0430\u0434\u0441\u043a\u0438\u0439 \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442", "City of Los Angeles", "liechtensteinische Fussballnationalmannschaft", "\u041a\u043e\u0440\u043e\u043b\u0435\u0432\u0441\u0442\u0432\u043e \u0412\u0435\u043d\u0433\u0440\u0438\u044f", "Fu\u00dfballclub Ingolstadt 04 e.V.", "Northwestern State College of Louisiana", "\u0395\u03bb\u03bb\u03ac\u03b4\u03b1"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doha"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Doha\" . ?e <official_name> ?pv .  }", "answer": "\u0627\u0644\u062f\u0648\u062d\u0629"}, {"question": "Does Mobile Suit Gundam SEED Destiny or Soap have fewer episodes?", "choices": ["Saturday Night's Main Event", "Game of Thrones", "Six Feet Under", "Mobile Suit Gundam SEED Destiny", "Robot Chicken", "Bleak House", "Dancing with the Stars", "Phineas and Ferb", "Seinfeld", "Soap"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mobile Suit Gundam SEED Destiny"]}, {"function": "Find", "dependencies": [], "inputs": ["Soap"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mobile Suit Gundam SEED Destiny\" .  } UNION { ?e <pred:name> \"Soap\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mobile Suit Gundam SEED Destiny"}, {"question": "What is the ISNI for the person who was nominated for an Academy Award for Best Costume Design involving the award-winning work A Certain Smile?", "choices": ["0000 0001 2140 3210", "0000 0001 1604 3134", "0000 0001 0801 3373", "0000 0001 1078 5890", "0000 0000 6301 5331", "0000 0001 1467 6552", "0000 0001 1938 4102", "0000 0001 2117 8631", "0000 0001 2170 3379", "0000 0001 1451 4377"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "A Certain Smile"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"A Certain Smile\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1078 5890"}, {"question": "What is the publication location for the film titled Full Metal Jacket whose release date is 1987-06-17?", "choices": ["Beverly Hills", "Turkey", "Malaysia", "Serbia", "South Korea", "Washington, D.C.", "Berlin International Film Festival", "BFI London Film Festival", "Singapore", "Ireland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Full Metal Jacket"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1987-06-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Full Metal Jacket\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1987-06-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Beverly Hills"}, {"question": "For the time zone that is the time zone of Edmonton (which contains the University of Alberta), in which period is its timezone offset -6 hours?", "choices": ["daylight saving time", "French Fifth Republic", "July Monarchy", "masculine plural", "French First Republic", "Louis XVI of France", "First French Empire", "standard time", "French Third Republic", "past"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Alberta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Edmonton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["time zone"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["timezone offset", "-6 hour", "valid in period"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"time zone\" . ?e_1 <located_in_time_zone> ?e . ?e_1 <pred:name> \"Edmonton\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"University of Alberta\" .  ?e <timezone_offset> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> \"-6\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <timezone_offset> ; <pred:fact_t> ?pv ] <valid_in_period> ?qpv .  }", "answer": "daylight saving time"}, {"question": "What ISNI belongs to jazz fusion artist Toto?", "choices": ["0000 0001 1877 1370", "0000 0001 2127 5781", "0000 0001 0885 464X", "0000 0001 0727 1047", "0000 0001 2209 7999", "0000 0001 2264 8623", "0000 0001 2148 0996", "0000 0001 2019 8788", "0000 0000 8019 1302", "0000 0003 5437 8052"], "program": [{"function": "Find", "dependencies": [], "inputs": ["jazz fusion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Toto"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Toto\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"jazz fusion\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2264 8623"}, {"question": "What is the relationship between alternative rock and Simple Minds?", "choices": ["color", "based on", "famous people", "commissioned by", "located on astronomical location", "registered with", "official religion", "killed by", "languages spoken, written or signed", "office held by head of the organisation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Simple Minds"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"alternative rock\" . ?e_2 <pred:name> \"Simple Minds\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "When was Howard the Duck awarded the Golden Raspberry for Worst Screenplay?", "choices": ["2006-02-08", "1986", "1987-05-25", "1840-01-01", "1909", "2003-12-06", "2001-01-17", "2009-04-08", "1996-09-07", "2011-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Howard the Duck"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Howard the Duck\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1986"}, {"question": "What is the relation between St Catherine's College and the United Kingdom?", "choices": ["designated as terrorist by", "convicted of", "next lower rank", "territory claimed by", "board member", "narrator", "architect", "located in or next to body of water", "platform", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Catherine's College"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St Catherine's College\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which feature film that won at the 78th Academy Awards is shortest in run-time?", "choices": ["The Flintstones in Viva Rock Vegas", "Holes", "John Carter", "Old Dogs", "The Muppets", "The Flintstones", "Wallace & Gromit: The Curse of the Were-Rabbit", "G-Force", "Alvin and the Chipmunks: Chipwrecked", "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["78th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"78th Academy Awards\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wallace & Gromit: The Curse of the Were-Rabbit"}, {"question": "Does Fiji or Antigua and Barbuda have less area?", "choices": ["Jamaica", "Saint Vincent and the Grenadines", "Finland", "Fiji", "Antigua and Barbuda", "Kazakhstan", "Ukrainian Soviet Socialist Republic", "Trinidad and Tobago", "Tajikistan", "Kosovo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fiji"]}, {"function": "Find", "dependencies": [], "inputs": ["Antigua and Barbuda"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fiji\" .  } UNION { ?e <pred:name> \"Antigua and Barbuda\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Antigua and Barbuda"}, {"question": "Which month of the calendar precedes May, which precedes June?", "choices": ["September", "November", "May", "February", "December", "June", "August", "October", "April", "January"], "program": [{"function": "Find", "dependencies": [], "inputs": ["June"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["May"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["calendar month"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"May\" . ?e_1 <followed_by> ?e_2 . ?e_2 <pred:name> \"June\" .   }", "answer": "April"}, {"question": "What is the Twitter username of Grenoble?", "choices": ["VilledeGrenoble", "DebraMessing", "CDU", "thekillers", "VilledeNancy", "r0bbier0berts0n", "SongsOfJBrowne", "MatthewPerry", "ipritamofficial", "ManUtd"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grenoble"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Grenoble\" . ?e <Twitter_username> ?pv .  }", "answer": "VilledeGrenoble"}, {"question": "How many Irish counties belong to the sovereign country whose demonym is \u0438\u0440\u043b\u0430\u043d\u0434\u0446\u044b?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0438\u0440\u043b\u0430\u043d\u0434\u0446\u044b"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Ireland"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u0438\u0440\u043b\u0430\u043d\u0434\u0446\u044b\" .   }", "answer": "18"}, {"question": "Which one, The Great Gatsby (the one whose producer is Adolph Zukor) or The Girl with the Dragon Tattoo (the one that was nominated for European Film Award for Best Actress), has greater duration?", "choices": ["The Girl with the Dragon Tattoo", "A Prairie Home Companion", "The Fifth Element", "The Towering Inferno", "The Hunchback of Notre Dame", "Talk to Her", "The Great Gatsby", "Training Day", "Pleasantville", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adolph Zukor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Great Gatsby"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["European Film Award for Best Actress"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Girl with the Dragon Tattoo"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Great Gatsby\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Adolph Zukor\" .   } UNION { ?e <pred:name> \"The Girl with the Dragon Tattoo\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"European Film Award for Best Actress\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Girl with the Dragon Tattoo"}, {"question": "What is the relationship between The Alamo (the one whose production company is Imagine Entertainment) to Ron Howard (the one that is a cast member of American Graffiti)?", "choices": ["source of material", "product or material produced", "copyright holder", "color", "has parts of the class", "located on terrain feature", "producer", "location", "exclave of", "enclave within"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Imagine Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Alamo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["American Graffiti"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ron Howard"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Alamo\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Imagine Entertainment\" . ?e_2 <pred:name> \"Ron Howard\" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> \"American Graffiti\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Which city is the capital of the province of China it's ISO 3166-2 code is CN-HB inception time of this statement is 2017-11-23?", "choices": ["Kilkenny", "Florence", "San Salvador", "Cork", "Wuhan", "Kingston", "Trieste", "Hangzhou", "Sunderland", "Bergen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "CN-HB"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2017-11-23", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["province of China"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"province of China\" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"CN-HB\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> \"2017-11-23\"^^xsd:date .   }", "answer": "Wuhan"}, {"question": "Montreal Alouettes is the religious denomination of how many buildings with a religious purpose?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montreal Alouettes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religious building"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religious building\" . ?e <religion> ?e_1 . ?e_1 <pred:name> \"Montreal Alouettes\" .   }", "answer": "0"}, {"question": "How are Carl Davis and Cranford related?", "choices": ["sports season of league or competition", "donated by", "composer", "part of", "feast day", "manner of death", "theme music", "opposite of", "permanent resident of", "instrumentation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cranford"]}, {"function": "Find", "dependencies": [], "inputs": ["Carl Davis"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cranford\" . ?e_2 <pred:name> \"Carl Davis\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "What is the local dialing code for the city that is the birthplace of Salman Khan whose ISNI is 0000 0001 1441 9206?", "choices": ["00225", "0731", "917", "087-089", "0674", "910", "731", "08700", "32", "07305"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salman Khan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1441 9206"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Salman Khan\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1441 9206\" . ?e <local_dialing_code> ?pv .  }", "answer": "731"}, {"question": "Does the Twitter handle sridevibkapoor belong to the person with the official website lindaperry.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://lindaperry.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["sridevibkapoor"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://lindaperry.com/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"sridevibkapoor\" .  }", "answer": "no"}, {"question": "What is the CANTIC-ID for Thelma & Louise?", "choices": ["a11298881", "a11706351", "a10088076", "a10940844", "a11154731", "a10139916", "a10889711", "a11794707", "a12009544", "a11268591"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thelma & Louise"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Thelma & Louise\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a12009544"}, {"question": "Which person's BMLO is b1300 ?", "choices": ["Daniel Barenboim", "Pierre Boulez", "Ralph Vaughan Williams", "Richard Gere", "Max Fleischer", "Karl Marx", "John Frusciante", "Lauren Tom", "Albert Camus", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["BMLO", "b1300"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <BMLO> ?pv . ?pv <pred:value> \"b1300\" .  }", "answer": "Pierre Boulez"}, {"question": "Which region of Italy that shares a border with Basilicata has the smallest area?", "choices": ["Calabria", "Piedmont", "Lombardy", "Sicily", "Lazio", "Veneto", "Sardinia", "Apulia", "Tuscany", "Campania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Basilicata"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Basilicata\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Campania"}, {"question": "Valenciennes F.C. has what subscriber count for its Twitter username, VAFC?", "choices": ["344059", "117198", "671592", "321335", "16", "34595", "596005", "228416", "97", "41144"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Valenciennes F.C."]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "VAFC", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Valenciennes F.C.\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"VAFC\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "117198"}, {"question": "What is the connection between The Flintstones (the one whose producer is Joseph Barbera) to American Broadcasting Company?", "choices": ["connects with", "original network", "language of work or name", "ethnic group", "commander of", "airline hub", "symptoms", "country of citizenship", "patron saint", "head of government"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Barbera"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Flintstones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Flintstones\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"Joseph Barbera\" . ?e_2 <pred:name> \"American Broadcasting Company\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "What Netherlands municipality is the work location of Vincent van Gogh (whose KulturNav-id is 2192c545-cc43-43b4-8abd-1cd22af701dc)?", "choices": ["Amsterdam", "Delft", "Antwerp", "Maastricht", "Arnhem", "The Hague", "Paris", "Nijmegen", "Hilversum", "Dordrecht"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vincent van Gogh"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["KulturNav-id", "2192c545-cc43-43b4-8abd-1cd22af701dc"]}, {"function": "Relate", "dependencies": [1], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["municipality of the Netherlands"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <work_location> ?e . ?e_1 <pred:name> \"Vincent van Gogh\" . ?e_1 <KulturNav-id> ?pv . ?pv <pred:value> \"2192c545-cc43-43b4-8abd-1cd22af701dc\" .   }", "answer": "Dordrecht"}, {"question": "How many unitary states are partially covered by a geographic region with the official website https://disneyland.disney.go.com/destinations/disneyland/   ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://disneyland.disney.go.com/destinations/disneyland/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "Relate", "dependencies": [2], "inputs": ["partially contains", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["unitary state"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e_1 <partially_contains> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"geographic region\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://disneyland.disney.go.com/destinations/disneyland/\" .   }", "answer": "0"}, {"question": "Was the city that is the twinned administrative body of Kanpur founded after 1868?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kanpur"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1868", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Kanpur\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1868 ) .  }", "answer": "no"}, {"question": "What native label applies to the town with a TOID equal to 4000000074570326?", "choices": ["North Island", "The Notebook", "Anderson", "Hove", "\u0423\u043d\u044e\u043d\u044f \u0420\u0435\u043f\u0443\u0431\u043b\u0438\u0447\u0438\u043b\u043e\u0440 \u0421\u043e\u0432\u0435\u0442\u0438\u0447\u0435 \u0421\u043e\u0447\u0438\u0430\u043b\u0438\u0441\u0442\u0435", "Kingdom of England", "philanthr\u00f4p\u00eda", "Turing Award", "Millwall Football Club", "\u0712\u0713\u0715\u0710\u0715"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074570326"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"4000000074570326\" . ?e <native_label> ?pv .  }", "answer": "Hove"}, {"question": "Is the date of birth for the human whose ISNI is 0000 0000 4833 9303 not in 1952?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4833 9303"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1952", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 4833 9303\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1952 ) .  }", "answer": "yes"}, {"question": "Jack Warner of the Philadelphia Phillies has what link to the Detroit Tigers?", "choices": ["collection", "official residence", "language of work or name", "student", "operating area", "official language", "member of sports team", "location", "has quality", "religious order"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia Phillies"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Warner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Detroit Tigers"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Warner\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Philadelphia Phillies\" . ?e_2 <pred:name> \"Detroit Tigers\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Regarding rivers, whose lowest point is Illinois (the one whose FIPS 5-2 numeric code (US states) is 17), which one has the lowest discharge ?", "choices": ["Columbia River", "Lewis Milestone", "River Thames", "Danube", "Missouri River", "Hudson River", "Ohio River", "Mississippi River", "Amazon", "Rhine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 5-2 numeric code (US states)", "17"]}, {"function": "Relate", "dependencies": [1], "inputs": ["lowest point", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["discharge", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e_1 <lowest_point> ?e . ?e_1 <pred:name> \"Illinois\" . ?e_1 <FIPS_5-2_numeric_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> \"17\" . ?e <discharge> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ohio River"}, {"question": "When did Angelina Jolie receive the Order of Saint Michael and Saint George?", "choices": ["1958-01-01", "2014-06-01", "1977-11-01", "1972", "1700-01-01", "1914", "1600", "1910-12-01", "2007-05-01", "2013-10-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Angelina Jolie"]}, {"function": "Find", "dependencies": [], "inputs": ["Order of Saint Michael and Saint George"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Angelina Jolie\" . ?e_2 <pred:name> \"Order of Saint Michael and Saint George\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2014-06-01"}, {"question": "What is the size in area of the US city represented by the official English-language website http://www.gohammond.com?", "choices": ["2282 square kilometre", "3178 square kilometre", "1025 square kilometre", "99.931937 square kilometre", "516 square kilometre", "162.19269 square kilometre", "64.455565 square kilometre", "28.637496 square kilometre", "2548.0 square kilometre", "209.71 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.gohammond.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.gohammond.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <area> ?pv .  }", "answer": "64.455565 square kilometre"}, {"question": "Which area that's not 3900 square mile is the smallest?", "choices": ["Piedmont", "Lake District", "British Isles", "South America", "Atlantic Canada", "Pacific Ocean", "Southern California", "New England", "Antarctica", "Transylvania"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "3900 square mile", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"3900\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New England"}, {"question": "Which has fewer people, Peoria or Richmond (the one whose inception time is 1806-01-01)?", "choices": ["Lansing", "New Haven", "Franklin", "Columbus", "Waukegan", "Greenville", "Oakland", "Richmond", "Boulder", "Peoria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peoria"]}, {"function": "Find", "dependencies": [], "inputs": ["Richmond"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["inception", "1806-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Peoria\" . } UNION { ?e <pred:name> \"Richmond\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1806-01-01\"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Richmond"}, {"question": "Is The Jackets title The Merry Widow?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Jacket"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["The Merry Widow"]}], "sparql": "ASK { ?e <pred:name> \"The Jacket\" . ?e <title> ?pv . ?pv <pred:value> \"The Merry Widow\" .  }", "answer": "no"}, {"question": "The US state with proximity to the Missouri River was nicknamed The Sunshine State until which date?", "choices": ["1969-09-10", "1989-02-17", "1921-01-01", "1784", "1992-02-23", "1992", "2010-05-11", "1806", "1918-10-30", "1895"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Missouri River"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nickname", "The Sunshine State", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Missouri River\" .  ?e <nickname> ?pv . ?pv <pred:value> \"The Sunshine State\" . [ <pred:fact_h> ?e ; <pred:fact_r> <nickname> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "1992"}, {"question": "What point in time did the city whose official website is http://www.cebucity.gov.ph/ have an electorate of 630003?", "choices": ["1917-09-13", "2016", "2009-06-01", "1934-12-01", "2018-02-01", "1984-04-09", "1787-01-01", "2001-04-11", "1981-12-01", "1960-04-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cebucity.gov.ph/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["electorate", "630003", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cebucity.gov.ph/\" . ?e <electorate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"630003\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <electorate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "When did Wallachia (the one whose inception time is 1330) become the capital of Bucharest?", "choices": ["1659-01-01", "1988-08-09", "1984-03-22", "1901-01-22", "1994-01-06", "1805-12-26", "1997-04-27", "1902-10-01", "1775", "854"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wallachia"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1330", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bucharest"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["capital", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Wallachia\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1330 . ?e_2 <pred:name> \"Bucharest\" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1659-01-01"}, {"question": "Which human has a Munzinger IBA of 00000020741 and whose native language name is Anjelica Huston?", "choices": ["Anjelica Huston", "Richard Gere", "Paul Simon", "Simon Cowell", "William Henry Harrison", "David Byrne", "Sylvester Stallone", "Max Fleischer", "Babyface", "Rahul Dev Burman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020741"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "Anjelica Huston"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020741\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Anjelica Huston\" .  }", "answer": "Anjelica Huston"}, {"question": "Which association football club has headquarters located in Cremona?", "choices": ["Club Olimpia", "Stade Brestois 29", "U.S. Cremonese", "PFC Lokomotiv Plovdiv", "S.S.C. Napoli", "Shrewsbury Town F.C.", "Middlesbrough F.C.", "Queens Park Rangers F.C.", "Zamalek SC", "Brisbane Roar FC"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cremona"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Cremona\" .   }", "answer": "U.S. Cremonese"}, {"question": "Regarding the geographic region that is in the continent that New Caledonia is in, having the number of children not in school 1116805, tell me the time point of it.", "choices": ["1699-12-01", "2005-01-01", "2004-10-06", "1856-01-01", "2008-09-03", "1994-12-01", "2015-12-03", "2011-06-22", "2011-02-01", "1960-02-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Caledonia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of out-of-school children", "1116805", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <continent> ?e . ?e_1 <pred:name> \"New Caledonia\" .  ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1116805\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "Does the television series, that received a Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series (the point in time of this statement is 1979), have its end time before 1936?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1979", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1936", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1979 . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1936 ) .  }", "answer": "no"}, {"question": "Which area has higher elevation above sea level, Maine or New Jersey?", "choices": ["Maine", "New Jersey", "Colorado", "Hawaii", "Kansas", "Iowa", "Massachusetts", "Illinois", "Florida", "New Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maine"]}, {"function": "Find", "dependencies": [], "inputs": ["New Jersey"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Maine\" .  } UNION { ?e <pred:name> \"New Jersey\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Maine"}, {"question": "How many engineers work as electrical engineers?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["electrical engineering"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["engineering"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"engineering\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"electrical engineering\" .   }", "answer": "0"}, {"question": "What number of real propertis have the postal code 10118?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "10118"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["real property"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"real property\" . ?e <postal_code> ?pv . ?pv <pred:value> \"10118\" .  }", "answer": "1"}, {"question": "What's the relationship between Contact (the one that uses the language English) and Contact, the drama film?", "choices": ["has edition", "based on", "has dialect (DEPRECATED)", "basic form of government", "cast member", "child astronomical body", "head coach", "has contributing factor", "legal form", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Contact"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [4], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Contact"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Contact\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"drama film\" . ?e_2 <pred:name> \"Contact\" . ?e_2 <language_of_work_or_name> ?e_4 . ?e_4 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "based on"}, {"question": "Is the PhilPapers topic of a person, who holds the origin to the name of King County since 2005, equal to equal to martin-luther-king ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2005", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["PhilPapers topic"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["martin-luther-king"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"King County\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 2005 . ?e <PhilPapers_topic> ?pv . ?pv <pred:value> \"martin-luther-king\" .  }", "answer": "yes"}, {"question": "Who is a member of Blackpool F.C. (the start time of this statement is 2007-01-01)?", "choices": ["David Carney", "Max Fleischer", "Hameur Bouazza", "Marc Joseph", "Robbie Williams", "Brad Jones", "Sylvester Stallone", "Ben Foster", "William Henry Harrison", "Neil Young"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Blackpool F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2007-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Blackpool F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"2007-01-01\"^^xsd:date .  }", "answer": "Robbie Williams"}, {"question": "Where was Batman Forever (publication date is 1995-08-03) published?", "choices": ["Hungary", "Turkey", "Venezuela", "Jordan", "Singapore", "Germany", "Lithuania", "German Democratic Republic", "Charlotte Motor Speedway", "Estonia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman Forever"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1995-08-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Batman Forever\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1995-08-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which ISNI denotes the person with the Twitter handle randyjackson8?", "choices": ["0000 0000 5550 969X", "0000 0001 1444 3986", "0000 0001 1576 5725", "0000 0001 2187 2375", "0000 0001 2128 2295", "0000 0001 1008 893X", "0000 0000 4637 7779", "0000 0004 0390 7425", "0000 0001 1492 3795", "0000 0000 8079 6256"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "randyjackson8"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"randyjackson8\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1444 3986"}, {"question": "What language is associated with the official website http://hilaryduff.com for the person who is originally from Houston (that is the capital of Harris County)?", "choices": ["English", "Tamil", "Lithuanian", "Austrian German", "Portuguese", "Wolof", "British English", "Norwegian", "Navajo", "Bokm\u00e5l"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harris County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Houston"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://hilaryduff.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Houston\" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> \"Harris County\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://hilaryduff.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Are there less students at Saint Joseph's University or University of Sydney?", "choices": ["Pennsylvania State University", "Saint Joseph's University", "King's College London", "University of Tehran", "Presidency University", "McMaster University", "University of Sydney", "University of Manchester", "Imperial College London", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Joseph's University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Sydney"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saint Joseph's University\" .  } UNION { ?e <pred:name> \"University of Sydney\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Saint Joseph's University"}, {"question": "Which has less area, Washington County whose official website is http://www.washco.state.ut.us or Jackson County whose population is 29211?", "choices": ["Jackson County", "African Union", "Greene County", "Kent County", "Orange County", "Lee County", "Washington County", "Cass County", "Delaware County", "San Juan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.washco.state.ut.us"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackson County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "29211", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.washco.state.ut.us\" . } UNION { ?e <pred:name> \"Jackson County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"29211\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jackson County"}, {"question": "For Douglas Fairbanks' Robin Hood 1922 film poster.jpg, does the film with Mitchell Leisen as a costume designer, have a film poster equal to it?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mitchell Leisen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["costume designer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["film poster"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Douglas Fairbanks Robin Hood 1922 film poster.jpg"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> \"Mitchell Leisen\" .  ?e <film_poster> ?pv . ?pv <pred:value> \"Douglas Fairbanks Robin Hood 1922 film poster.jpg\" .  }", "answer": "yes"}, {"question": "What is the time point of California (the one whose color is black-and-white)'s whose narrative location is California (the one whose short name is Cal.) ?", "choices": ["1975-05-01", "1998-05-20", "1974-01-01", "1841", "2008-06-04", "2002-12-31", "1949-03-24", "2016-11-12", "2012-01-01", "1850-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["California"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["short name", "Cal."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["narrative location", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"California\" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> \"black-and-white\" . ?e_2 <pred:name> \"California\" . ?e_2 <short_name> ?pv . ?pv <pred:value> \"Cal.\" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1841"}, {"question": "What string is a part of the guitar with the Hornbostel-Sachs classification of 513?", "choices": ["John Fiedler", "George Clinton", "string", "tin whistle", "An Inconvenient Truth", "Jena Malone", "The Three Musketeers", "Pittsburgh metropolitan area", "Jessica Biel", "Robin Hood"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "513"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["guitar"]}, {"function": "Relate", "dependencies": [2], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["string"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"string\" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"guitar\" . ?e_1 <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"513\" .   }", "answer": "string"}, {"question": "Does the city denoted by ISNI 0000 0004 0588 2292 occupy more than 45 square versta ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0588 2292"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["45 square versta", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0588 2292\" . ?e <area> ?pv . ?pv <pred:unit> \"square versta\" . ?pv <pred:value> ?v . FILTER ( ?v > \"45\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Does Santa Fe Province or Federation of Bosnia and Herzegovina have the greater elevation above sea level?", "choices": ["Upper Austria", "Santa Fe Province", "Federation of Bosnia and Herzegovina", "Punjab", "Chiapas", "Minas Gerais", "New South Wales", "Podlaskie Voivodeship", "Lublin Voivodeship", "England"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Fe Province"]}, {"function": "Find", "dependencies": [], "inputs": ["Federation of Bosnia and Herzegovina"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Santa Fe Province\" .  } UNION { ?e <pred:name> \"Federation of Bosnia and Herzegovina\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Federation of Bosnia and Herzegovina"}, {"question": "What is the ISNI of the person whose birth name is Leslie William Nielsen?", "choices": ["0000 0001 2141 8033", "0000 0001 1447 6112", "0000 0004 1936 9668", "0000 0001 2034 9259", "0000 0000 6302 6831", "0000 0001 0670 228X", "0000 0001 1456 2467", "0000 0001 0790 1491", "0000 0001 2238 1295", "0000 0004 1936 885X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Leslie William Nielsen"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Leslie William Nielsen\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1456 2467"}, {"question": "How many products are named after Burundi and have an official color known as PFC CSKA Sofia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PFC CSKA Sofia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official color", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "Find", "dependencies": [], "inputs": ["Burundi"]}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["product"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e_1 <official_color> ?e . ?e_1 <pred:name> \"PFC CSKA Sofia\" .  ?e <named_after> ?e_2 . ?e_2 <pred:name> \"Burundi\" .  }", "answer": "0"}, {"question": "What does Auckland City have to do with Brisbane (whose nighttime view is BrisbaneByNight2004.jpg)?", "choices": ["place of death", "has effect", "film crew member", "developer", "history of topic", "twinned administrative body", "uses", "language of work or name", "present in work", "followed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Auckland City"]}, {"function": "Find", "dependencies": [], "inputs": ["Brisbane"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["nighttime view", "BrisbaneByNight2004.jpg"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Auckland City\" . ?e_2 <pred:name> \"Brisbane\" . ?e_2 <nighttime_view> ?pv . ?pv <pred:value> \"BrisbaneByNight2004.jpg\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "When did the 1939 Academy Award winner for Best Original Song die?", "choices": ["1981-09-09", "1986-04-23", "1973-10-18", "1959-01-01", "1998-07-21", "1996-01-28", "1991-09-28", "1993-12-04", "1919-01-06", "1974-03-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Song"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1939", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Academy Award for Best Original Song\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1939 . ?e <date_of_death> ?pv .  }", "answer": "1986-04-23"}, {"question": "Which medicine that's a coconut milk nutrient possesses the highest density?", "choices": ["antibiotic", "New London County", "copper", "Earache Records", "Eureka", "prescription drug", "iron", "over-the-counter drug", "analgesic", "Jamey Sheridan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["coconut milk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["density", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> \"coconut milk\" .  ?e <density> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "copper"}, {"question": "How many kinds of astronomical objects studied by astronomers are over 3200000 degrees kelvin?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["astronomy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["studied by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["astronomical object type"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["temperature", "3200000 kelvin", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["astronomical object type"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"astronomical object type\" . ?e <studied_by> ?e_1 . ?e_1 <pred:name> \"astronomy\" .  ?e <temperature> ?pv . ?pv <pred:unit> \"kelvin\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3200000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "What is the connection between Henry Winkler to American Jews?", "choices": ["film release region", "licensed to broadcast to", "parent organization", "publisher", "applies to jurisdiction", "successful candidate", "editor", "ethnic group", "composer", "start point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry Winkler"]}, {"function": "Find", "dependencies": [], "inputs": ["American Jews"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Henry Winkler\" . ?e_2 <pred:name> \"American Jews\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What is the release region of the film whose title is \u786b\u9ec4\u5cf6\u304b\u3089\u306e\u624b\u7d19 and release date is 2007-02-22?", "choices": ["Netherlands", "R\u00e4ttvik", "Germany", "India", "North America", "Austin", "Toronto International Film Festival", "Hollywood Bowl", "Estonia", "West Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u786b\u9ec4\u5cf6\u304b\u3089\u306e\u624b\u7d19"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-02-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u786b\u9ec4\u5cf6\u304b\u3089\u306e\u624b\u7d19\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-02-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the Dewey Decimal Classification for Burlington whose area is 39.420925 square kilometres?", "choices": ["2--7154", "2--4346454", "2--497", "2--45121", "2--9692", "2--4574", "2--77796", "2--612", "2--52244", "2--7434"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burlington"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "39.420925 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Burlington\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"39.420925\"^^xsd:double . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--77796"}, {"question": "Which Regensburg Classification code belongs to the person with Libris-URI code 86lnn22s54v52vz?", "choices": ["IU 9175", "UB 2758", "BF 6230", "HT 5050", "AN 65800", "BF 7370", "HL 1920", "DD 7430", "BF 3325", "HU 3338"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "86lnn22s54v52vz"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Regensburg Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"86lnn22s54v52vz\" . ?e <Regensburg_Classification> ?pv .  }", "answer": "HT 5050"}, {"question": "Which area is smaller, Okanogan County or Pierce County (the one whose FIPS 6-4 (US counties) is 53053)?", "choices": ["Douglas County", "Yakima County", "Spokane County", "San Juan County", "Snohomish County", "Clark County", "Okanogan County", "Grays Harbor County", "King County", "Pierce County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Okanogan County"]}, {"function": "Find", "dependencies": [], "inputs": ["Pierce County"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["FIPS 6-4 (US counties)", "53053"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Okanogan County\" . } UNION { ?e <pred:name> \"Pierce County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"53053\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pierce County"}, {"question": "How many subscribers does a person, whose date of birth is on 13th April 1980, have on his or her Twitter username ccarrollbeard ?", "choices": ["251872", "79487", "192317", "95606", "15138060", "15470336", "914976", "907873", "21538", "130579"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1980-04-13", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "ccarrollbeard", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1980-04-13\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ccarrollbeard\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "21538"}, {"question": "When was The Dark Knight Rises first designated by exploitation visa number 134042?", "choices": ["1999-01-11", "2012-07-18", "1992-01-24", "2009-01-07", "1991-12-20", "1981-01-12", "1963-01-01", "1907-04-30", "1970-10-13", "2003-11-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Dark Knight Rises"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["exploitation visa number", "134042", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Dark Knight Rises\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"134042\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2012-07-18"}, {"question": "Which academic discipline distinct from astrology is Avicenna's field of work?", "choices": ["astronomy", "biochemistry", "international relations", "Philadelphia", "soprano", "physics", "electrical engineering", "choir", "English Studies", "graph theory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Avicenna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "Find", "dependencies": [], "inputs": ["astrology"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["academic discipline"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"Avicenna\" .  ?e <different_from> ?e_2 . ?e_2 <pred:name> \"astrology\" .  }", "answer": "astronomy"}, {"question": "What is the connection between Sense and Sensibility (official website http://www.bbc.co.uk/drama/senseandsensibility/) and the BBC?", "choices": ["distributor", "has effect", "said to be the same as", "location of final assembly", "commander of", "official language", "health specialty", "student of", "next lower rank", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sense and Sensibility"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bbc.co.uk/drama/senseandsensibility/"]}, {"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sense and Sensibility\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.bbc.co.uk/drama/senseandsensibility/\" . ?e_2 <pred:name> \"BBC\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "What is the birth date of the person who has an ISNI of 0000 0000 7845 2868?", "choices": ["1962-10-02", "1928-03-19", "1859-10-20", "1921-05-02", "1944-07-26", "1900-10-10", "1933-08-25", "1945-12-22", "1922-03-12", "1929-01-26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7845 2868"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7845 2868\" . ?e <date_of_birth> ?pv .  }", "answer": "1944-07-26"}, {"question": "How is American football connected to punt returner?", "choices": ["properties for this type", "editor", "famous people", "culture", "public holiday", "material used", "league", "seed team", "sport", "discoverer or inventor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["punt returner"]}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"punt returner\" . ?e_2 <pred:name> \"American football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How many string instruments are either a part of lute or have the Hornbostel-Sachs classification of 321.322-71?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["lute"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has parts of the class", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["string instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Hornbostel-Sachs classification", "321.322-71"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["string instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"string instrument\" .  { ?e_1 <has_parts_of_the_class> ?e . ?e_1 <pred:name> \"lute\" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.322-71\" .  } }", "answer": "4"}, {"question": "Does Hope and Glory last less than 510 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Hope and Glory"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["510 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Hope and Glory\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"510\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Was Ben Foster of Manchester United F.C. born in 1981 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manchester United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1981", "="]}], "sparql": "ASK { ?e <pred:name> \"Ben Foster\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Manchester United F.C.\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> 1981 .  }", "answer": "no"}, {"question": "Which movie is shorter, Hannah Arendt (the one whose publication date is 2012-09-11) or Please Give?", "choices": ["A Prairie Home Companion", "Please Give", "Hannah Arendt", "The Hunchback of Notre Dame", "Talk to Her", "Pleasantville", "The Towering Inferno", "The Fifth Element", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hannah Arendt"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2012-09-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Please Give"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hannah Arendt\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2012-09-11\"^^xsd:date . } UNION { ?e <pred:name> \"Please Give\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Please Give"}, {"question": "When did the metro borough in Lancashire have a population size of 530300?", "choices": ["2016-07-09", "1569", "2011", "2005-12-31", "1905-12-01", "1790-01-01", "1936-12-01", "2015-07-01", "2016-12-22", "1911"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lancashire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan borough"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "530300", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Lancashire\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"530300\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-07-01"}, {"question": "At what point in time is 458845 the population of the administrative territorial entity that shares a border with Spartanburg County?", "choices": ["1980-04-01", "2014-04-10", "2009-05-01", "2010-01-01", "2000-04-12", "1916-12-01", "1780-01-01", "1998-09-16", "2011-07-01", "1937-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spartanburg County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "458845", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Spartanburg County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"458845\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Which work was awarded when Julie Delpy was nominated for the MTV Movie Award for Best Kiss?", "choices": ["Wintersmith", "Comes a Horseman", "Don't Look Now", "The Great Dictator", "The Go-Between", "Before Sunrise", "Broken Arrow", "The Second Civil War", "Grand Hotel", "The Apartment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julie Delpy"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Kiss"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Julie Delpy\" . ?e_2 <pred:name> \"MTV Movie Award for Best Kiss\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Before Sunrise"}, {"question": "What is the number of constituencies for South Australian House of Assembly?", "choices": ["338", "47", "36 S Wabash, Chicago, IL, 60603", "2004", "Crosstown Traffic", "133852", "107", "The Iron Lady", "Julia", "Doctor Who"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Australian House of Assembly"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of constituencies"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"South Australian House of Assembly\" . ?e <number_of_constituencies> ?pv .  }", "answer": "47"}, {"question": "Where exactly does Jefferson County (the one whose population is 545,476) border Douglas County (the one whose area is 2,183 square kilometres) ?", "choices": ["consolidated city-county", "southeast", "west-northwest", "northwest", "north-northwest", "north", "south-southeast", "east", "south-southwest", "south"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "545476", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["area", "2183 square kilometre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["shares border with", "direction relative to location"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jefferson County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"545476\"^^xsd:double . ?e_2 <pred:name> \"Douglas County\" . ?e_2 <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2183\"^^xsd:double . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }", "answer": "east"}, {"question": "Is Friesland or Gelderland larger in physical area?", "choices": ["Gelderland", "Zeeland", "Friesland", "North Holland", "South Holland", "Drenthe", "Groningen", "Overijssel", "North Brabant", "Utrecht"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Friesland"]}, {"function": "Find", "dependencies": [], "inputs": ["Gelderland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Friesland\" .  } UNION { ?e <pred:name> \"Gelderland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Friesland"}, {"question": "What is the language of Visalia's official website http://www.ci.visalia.ca.us?", "choices": ["Putonghua", "Thai", "Bulgarian", "Russian", "Cook Islands M\u0101ori", "Catalan", "Persian", "Bavarian", "Belarusian", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Visalia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.ci.visalia.ca.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Visalia\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ci.visalia.ca.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which Maryland county that borders the Kent County bordering Cecil County occupies the biggest area?", "choices": ["Baltimore County", "Cecil County", "Prince George's County", "Kent County", "Charles County", "Harford County", "Carroll County", "Frederick County", "Allegany County", "Anne Arundel County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cecil County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kent County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Maryland"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Kent County\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Cecil County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Baltimore County"}, {"question": "At what time point did Liam Neeson receive the Golden Lion?", "choices": ["1996", "1995", "1190", "2014-01-31", "2006-06-28", "1790", "1977-03-28", "2017-02-01", "1981-03-31", "1988"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liam Neeson"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Liam Neeson\" . ?e_2 <pred:name> \"Golden Lion\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1996"}, {"question": "When did LeBron James receive the NBA Rookie of the Year Award?", "choices": ["1950-10-01", "1864-12-01", "1802-01-01", "2013-01-11", "2004-01-01", "1801", "1995-02-14", "1921-01-01", "2016-08-09", "1974-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["LeBron James"]}, {"function": "Find", "dependencies": [], "inputs": ["NBA Rookie of the Year Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"LeBron James\" . ?e_2 <pred:name> \"NBA Rookie of the Year Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2004-01-01"}, {"question": "What administrative territorial entity has the capital whose official webiste is  http://www.perthcity.co.uk/ (the start time of this statement is 1975) ?", "choices": ["Delaware County", "Greene County", "Lee County", "Cass County", "Orange County", "African Union", "Perth and Kinross", "Washoe County", "San Juan County", "United States Virgin Islands"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.perthcity.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "forward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["start time", "1975", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.perthcity.co.uk/\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1975 .  }", "answer": "Perth and Kinross"}, {"question": "What is the postal code of the University of Kentucky's headquarter location Lexington (the one that contains University of Kentucky) ?", "choices": ["8011", "N1C 4AA\ufeff\ufeff", "96801\u201396850", "10027-6598", "17401", "CT2", "94575", "VLT", "40506", "28195"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Kentucky"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Kentucky"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lexington"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Kentucky\" . ?e_2 <pred:name> \"Lexington\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"University of Kentucky\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "40506"}, {"question": "Which area is smaller, Waterford or K\u014dbe?", "choices": ["Abidjan", "Bergen", "Chihuahua", "Trieste", "Santo Domingo", "Kilkenny", "Kingston", "Dundee", "Cork", "Waterford"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waterford"]}, {"function": "Find", "dependencies": [], "inputs": ["K\u014dbe"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Waterford\" .  } UNION { ?e <pred:name> \"K\u014dbe\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Waterford"}, {"question": "Which has more students, Berklee College of Music or Georgia Institute of Technology?", "choices": ["University of Melbourne", "San Diego State University", "Georgia Institute of Technology", "University of Michigan", "Berklee College of Music", "University of Queensland", "Birkbeck, University of London", "Panjab University", "McMaster University", "King's College London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berklee College of Music"]}, {"function": "Find", "dependencies": [], "inputs": ["Georgia Institute of Technology"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Berklee College of Music\" .  } UNION { ?e <pred:name> \"Georgia Institute of Technology\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Georgia Institute of Technology"}, {"question": "Which agency owns General Dynamics Electric Boat and is the parent organization of Bath Iron Works?", "choices": ["KLM", "Sega", "Skidmore Owings Merrill", "Entertainment One", "Silver Pictures", "McDonald's", "Pfizer", "General Dynamics", "Adobe Inc.", "Vodafone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Dynamics Electric Boat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "Find", "dependencies": [], "inputs": ["Bath Iron Works"]}, {"function": "Relate", "dependencies": [3], "inputs": ["subsidiary", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["agent"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <owner_of> ?e_1 . ?e_1 <pred:name> \"General Dynamics Electric Boat\" .  ?e <subsidiary> ?e_2 . ?e_2 <pred:name> \"Bath Iron Works\" .  }", "answer": "General Dynamics"}, {"question": "Which landform whose population is under 100000 has the smallest area?", "choices": ["Cyprus", "Trinidad", "Long Island", "Saint John", "Nantucket", "Greenland", "Puerto Rico", "Iceland", "Guam", "Aruba"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "100000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"100000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Saint John"}, {"question": "Did the Robert Shaw born on 1916-04-30 die prior to 1994 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Shaw"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1916-04-30", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1994", "<"]}], "sparql": "ASK { ?e <pred:name> \"Robert Shaw\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1916-04-30\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  }", "answer": "no"}, {"question": "Which one is longer, My Left Foot or Loving (the one whose narrative location is Connecticut) ?", "choices": ["Talk to Her", "My Left Foot", "Curse of the Golden Flower", "The Towering Inferno", "Loving", "A Prairie Home Companion", "The Fifth Element", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Left Foot"]}, {"function": "Find", "dependencies": [], "inputs": ["Connecticut"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Loving"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"My Left Foot\" .  } UNION { ?e <pred:name> \"Loving\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Connecticut\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "My Left Foot"}, {"question": "Who won for work on Raiders of the Lost Ark, the Academy Award recipient for Best Sound Mixing?", "choices": ["54th Academy Awards", "Finland\u2013Sweden border", "Germany\u2013Palau relations", "temporary capital of Lithuania", "Austro-Hungarian Compromise of 1867", "death of Benito Mussolini", "Croatia\u2013Denmark relations", "Denmark\u2013Mozambique relations", "Brazil\u2013Mozambique relations", "Ghana\u2013Nigeria relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raiders of the Lost Ark"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Raiders of the Lost Ark\" . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "54th Academy Awards"}, {"question": "When did Clinton County (the one that shares border with Saginaw County) have a population of 76141?", "choices": ["1973", "1764", "1918-01-01", "2011-06-23", "2003-12-15", "2012-07-01", "1918", "1889-12-31", "1880-12-01", "2016-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saginaw County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clinton County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "76141", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Clinton County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Saginaw County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"76141\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Of ethnic groups with other than 6700 members, which group has the fewest?", "choices": ["French people", "Cherokee", "Iroquois", "Austrians", "Italians", "Russians", "German Americans", "Punjabi people", "Ashkenazi Jews", "Puerto Ricans"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6700", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6700\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Americans"}, {"question": "How is Trinity Hall related to the United Kingdom?", "choices": ["based on", "writing system", "significant person", "substitute/deputy/replacement of office/officeholder", "copyright representative", "original language of film or TV show", "doctoral student", "place of birth", "country", "film distribute region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trinity Hall"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Trinity Hall\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the association between Pyrus and L-Tryptophan?", "choices": ["opposite of", "symptom of", "derivative work", "narrator", "make-up artist", "doctoral student", "archives at", "country of origin", "relative", "nutrient"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pyrus"]}, {"function": "Find", "dependencies": [], "inputs": ["L-Tryptophan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pyrus\" . ?e_2 <pred:name> \"L-Tryptophan\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "The 131-minute Shadowlands was released in what location on 1994-04-07?", "choices": ["European Union", "New York City", "Japan", "Germany", "El Capitan Theatre", "Toronto International Film Festival", "Spain", "2008 Toronto International Film Festival", "BFI London Film Festival", "Estonia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shadowlands"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "131 minute", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["publication date", "1994-04-07", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Shadowlands\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"131\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-04-07\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the postal code for Brooklyn Law School 98213?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brooklyn Law School"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["98213"]}], "sparql": "ASK { ?e <pred:name> \"Brooklyn Law School\" . ?e <postal_code> ?pv . ?pv <pred:value> \"98213\" .  }", "answer": "no"}, {"question": "Which person with ISNI 0000 0001 2374 8095 influenced Baruch Spinoza?", "choices": ["Richard Gere", "Francis Bacon", "David Byrne", "Max Fleischer", "Avicenna", "Sylvester Stallone", "Plato", "Aristotle", "Rahul Dev Burman", "Thomas Hobbes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2374 8095"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Baruch Spinoza"]}, {"function": "Relate", "dependencies": [3], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2374 8095\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Baruch Spinoza\" .  }", "answer": "Aristotle"}, {"question": "How many religions were either founded by Gautama Buddha or have an IAB code of 462?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gautama Buddha"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religion"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IAB code", "462"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["religion"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" .  { ?e_1 <found> ?e . ?e_1 <pred:name> \"Gautama Buddha\" .  } UNION { ?e <IAB_code> ?pv . ?pv <pred:value> \"462\" .  } }", "answer": "2"}, {"question": "Which area is bigger, Nepal or Mauritania?", "choices": ["South Sudan", "Benin", "Weimar Republic", "Russian Soviet Federative Socialist Republic", "Cambodia", "Socialist Federal Republic of Yugoslavia", "Switzerland", "Samoa", "Nepal", "Mauritania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nepal"]}, {"function": "Find", "dependencies": [], "inputs": ["Mauritania"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nepal\" .  } UNION { ?e <pred:name> \"Mauritania\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mauritania"}, {"question": "What is the connection between Liam O'Brien (the one that is a member of Dagenham & Redbridge F.C.) to United Kingdom?", "choices": ["has edition", "country of citizenship", "distributor", "operator", "officeholder", "honorific prefix", "dedicated to", "award received", "this taxon is source of", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dagenham & Redbridge F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liam O'Brien"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Liam O'Brien\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Dagenham & Redbridge F.C.\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How many MTV VMA awards were earned by Ricky Martin or established post-1999?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ricky Martin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Video Music Award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1999", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Video Music Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Ricky Martin\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1999 ) .  } }", "answer": "2"}, {"question": "When did Samuel Z. Arkoff die?", "choices": ["1952-11-08", "1986-05-16", "1969-08-01", "1960-11-18", "1961-01-02", "1918-06-12", "1945-07-20", "1837-01-31", "1950-07-06", "1962-02-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel Z. Arkoff"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Samuel Z. Arkoff\" . ?e <date_of_birth> ?pv .  }", "answer": "1918-06-12"}, {"question": "Which area is smaller, Florence (the one that is the twinned administrative body of Turku) or Espoo?", "choices": ["Espoo", "Santo Domingo", "Kilkenny", "Cork", "Kingston", "Florence", "Abidjan", "Bergen", "Trieste", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turku"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Florence"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Espoo"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Florence\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Turku\" .   } UNION { ?e <pred:name> \"Espoo\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Florence"}, {"question": "Is Jorge Luis Borges the native language name of Jorge Luis Borges ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jorge Luis Borges"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Jorge Luis Borges"]}], "sparql": "ASK { ?e <pred:name> \"Jorge Luis Borges\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Jorge Luis Borges\" .  }", "answer": "yes"}, {"question": "What is the official website of the person with the ISNI of 0000 0000 7650 1988?", "choices": ["http://www.springawakening.com", "http://manhattanbp.nyc.gov/html/home/home.shtml", "http://www.rabat.ma", "http://landofthelost.net", "http://www.lnp.org.au/", "http://snoopdogg.com/", "http://www.nintendo.co.jp/", "http://www.mun.ca/", "http://www.regione.piemonte.it", "http://www.johndenver.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7650 1988"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7650 1988\" . ?e <official_website> ?pv .  }", "answer": "http://www.springawakening.com"}, {"question": "How is the Paramount Pictures production of Metropolis related to the Golden Raspberry Award for Worst Original Song?", "choices": ["next lower rank", "captain", "nominated for", "residence", "medical treatment", "basin country", "time period", "mountain range", "takes place in fictional universe", "software engine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Metropolis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Original Song"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Metropolis\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Paramount Pictures\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Original Song\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which company has fewer employees, Cessna or Northrop Grumman?", "choices": ["Sega", "Northrop Grumman", "Silver Pictures", "Skidmore Owings Merrill", "Cessna", "KLM", "McDonald's", "Adobe Inc.", "Entertainment One", "Pfizer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cessna"]}, {"function": "Find", "dependencies": [], "inputs": ["Northrop Grumman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cessna\" .  } UNION { ?e <pred:name> \"Northrop Grumman\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cessna"}, {"question": "How many Pennsylvania cities have the postal codes 16514\u201316515?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "16514\u201316515"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <postal_code> ?pv . ?pv <pred:value> \"16514\u201316515\" .  }", "answer": "1"}, {"question": "What disease has a cardiovascular disease, whose MeSH Code is C14.280.434, as its symptom?", "choices": ["bubonic plague", "prostate cancer", "peritonitis", "pedophilia", "Crohn's disease", "post-traumatic stress disorder", "gastroesophageal reflux disease", "cystic fibrosis", "epilepsy", "attention deficit hyperactivity disorder"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["MeSH Code", "C14.280.434"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cardiovascular disease"]}, {"function": "Relate", "dependencies": [2], "inputs": ["symptom of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["disease"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <symptom_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"cardiovascular disease\" . ?e_1 <MeSH_Code> ?pv . ?pv <pred:value> \"C14.280.434\" .   }", "answer": "cystic fibrosis"}, {"question": "When was Flight of the Conchords (the one whose publication date is 2008-04-21) nominated for Grammy Award for Best Comedy Album (the one that was nominated to Patton Oswalt)?", "choices": ["1962-05-29", "1993-11-19", "1998-12-01", "1896", "1895", "2011-05-01", "2008", "2017-12-21", "1851", "1775-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flight of the Conchords"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2008-04-21", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Patton Oswalt"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Comedy Album"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Flight of the Conchords\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2008-04-21\"^^xsd:date . ?e_2 <pred:name> \"Grammy Award for Best Comedy Album\" . ?e_3 <nominated_for> ?e_2 . ?e_3 <pred:name> \"Patton Oswalt\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2008"}, {"question": "Which has more seasons, The Missing that started on  2014-10-28 or television comedy Starsky & Hutch?", "choices": ["Phineas and Ferb", "Starsky & Hutch", "Robot Chicken", "Seinfeld", "The Missing", "Saturday Night's Main Event", "Dancing with the Stars", "Bleak House", "Six Feet Under", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Missing"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "2014-10-28", "="]}, {"function": "Find", "dependencies": [], "inputs": ["television comedy"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Starsky & Hutch"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Missing\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"2014-10-28\"^^xsd:date . } UNION { ?e <pred:name> \"Starsky & Hutch\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"television comedy\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Starsky & Hutch"}, {"question": "How is The Maltese Falcon of the Pre-Code Hollywood movement related to Pre-Code Hollywood?", "choices": ["movement", "replaces", "drafted by", "genre", "family name", "dedicated to", "contains settlement", "film editor", "make-up artist", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pre-Code Hollywood"]}, {"function": "Relate", "dependencies": [0], "inputs": ["movement", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Maltese Falcon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pre-Code Hollywood"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Maltese Falcon\" . ?e_1 <movement> ?e_3 . ?e_3 <pred:name> \"Pre-Code Hollywood\" . ?e_2 <pred:name> \"Pre-Code Hollywood\" . ?e_1 ?p ?e_2 .  }", "answer": "movement"}, {"question": "Which has less area, Salzburg whose postal code is 5020 or Toulouse?", "choices": ["Halle (Saale)", "Aachen", "Bordeaux", "Salzburg", "Dnipro", "Utrecht", "Stuttgart", "Wuppertal", "Lyon", "Fort Smith"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salzburg"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "5020"]}, {"function": "Find", "dependencies": [], "inputs": ["Toulouse"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Salzburg\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"5020\" . } UNION { ?e <pred:name> \"Toulouse\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salzburg"}, {"question": "Which has less elevation above sea level, Atlanta that is the birthplace of Spike Lee or Alexandria whose local dialing code is 318?", "choices": ["New Haven", "Franklin", "Lansing", "Atlanta", "Alexandria", "Columbus", "Greenville", "Boulder", "Waukegan", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spike Lee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlanta"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["local dialing code", "318"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Atlanta\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Spike Lee\" . } UNION { ?e <pred:name> \"Alexandria\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"318\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alexandria"}, {"question": "What is the inception time of A.C. Perugia Calcio?", "choices": ["1779-01-01", "1968-07-18", "1789-04-21", "1900", "1835-08-30", "1905", "1965-04-01", "-331", "1945-08-17", "1979-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A.C. Perugia Calcio"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"A.C. Perugia Calcio\" . ?e <inception> ?pv .  }", "answer": "1905"}, {"question": "What is the one with the larger duration, In the Name of the King or The Phantom (which was produced by Paramount Pictures)", "choices": ["In the Name of the King", "The Towering Inferno", "Rebecca", "A Prairie Home Companion", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "The Fifth Element", "The Hunchback of Notre Dame", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In the Name of the King"]}, {"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"In the Name of the King\" .  } UNION { ?e <pred:name> \"The Phantom\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Paramount Pictures\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "In the Name of the King"}, {"question": "What number of New Jersey counties don't have a population of 100000?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "100000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"100000\"^^xsd:double ) .  }", "answer": "20"}, {"question": "How many legislative terms come after 112th United States Congress or are followed by 15th United States Congress ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["112th United States Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "Find", "dependencies": [], "inputs": ["15th United States Congress"]}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" .  { ?e <follows> ?e_1 . ?e_1 <pred:name> \"112th United States Congress\" .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> \"15th United States Congress\" .  } }", "answer": "2"}, {"question": "Which made the most at the box office, Black Hawk Down or Alexander, which originated in Italy?", "choices": ["Black Hawk Down", "Alexander", "The Towering Inferno", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Talk to Her", "Training Day", "Curse of the Golden Flower", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Black Hawk Down"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexander"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Black Hawk Down\" .  } UNION { ?e <pred:name> \"Alexander\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Italy\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Black Hawk Down"}, {"question": "What work has the official website of http://www.threemusketeers-movie.com?", "choices": ["Rebecca", "The Terminal", "Submarine", "The Rules of Attraction", "A Prairie Home Companion", "Swept Away", "The Three Musketeers", "Pleasantville", "Talk to Her", "Flight"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.threemusketeers-movie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.threemusketeers-movie.com\" .  }", "answer": "The Three Musketeers"}, {"question": "What is the Twitter username for the record label having the official website https://www.metropolis-records.com/?", "choices": ["peterweirmla", "utahjazz", "metropolisrec", "osakaprefPR", "axlrose", "nsync", "ManUtd_ES", "OfficialUoM", "jamesingramsing", "XerezCD_OFICIAL"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.metropolis-records.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.metropolis-records.com/\" . ?e <Twitter_username> ?pv .  }", "answer": "metropolisrec"}, {"question": "When did Guyana have a life expectancy of 66.216 years?", "choices": ["1900-12-31", "1959-01-01", "2003-10-19", "1996-12-01", "1962-04-09", "1996-12-04", "1906-01-01", "1994-07-21", "2012", "1983"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guyana"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["life expectancy", "66.216 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Guyana\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"66.216\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "Is mediatopic/20000704 the IPTC Newscode for mountaineering?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mountaineering"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IPTC Newscode"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["mediatopic/20000704"]}], "sparql": "ASK { ?e <pred:name> \"mountaineering\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000704\" .  }", "answer": "no"}, {"question": "Which psychosis is a kind of health specialty of the medicine that is the main subject of One Flew Over the Cuckoo's Nest (which is in the prison film genre)?", "choices": ["post-traumatic stress disorder", "gastroesophageal reflux disease", "mental disorder", "prostate cancer", "attention deficit hyperactivity disorder", "major depressive disorder", "schizophrenia", "bipolar disorder", "epilepsy", "classic autism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["prison film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["One Flew Over the Cuckoo's Nest"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["medicine"]}, {"function": "Relate", "dependencies": [5], "inputs": ["health specialty", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["psychosis"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"psychosis\" . ?e <health_specialty> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"medicine\" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> \"One Flew Over the Cuckoo's Nest\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"prison film\" .   }", "answer": "schizophrenia"}, {"question": "What person famous for big band has the  Munzinger IBA of 00000000889?", "choices": ["Dean Martin", "Max Fleischer", "Sylvester Stallone", "William Henry Harrison", "David Byrne", "Linda Ronstadt", "Bobby Darin", "Duke Ellington", "Frank Sinatra", "Quincy Jones"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000000889"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["big band"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000000889\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"big band\" .  }", "answer": "Duke Ellington"}, {"question": "What is the name of the Eastern Orthodox Church whose ISNI is 0000 0001 1198 6440?", "choices": ["Greek Orthodox Church", "United Church of Christ", "Russian Orthodox Church", "Seventh-day Adventist Church", "Presbyterianism", "Nondenominational Christianity", "Lutheranism", "Baptists", "Pentecostalism", "Evangelical Christianity"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1198 6440"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Eastern Orthodox Church"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Eastern Orthodox Church\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1198 6440\" .  }", "answer": "Russian Orthodox Church"}, {"question": "How many different wars were either not the Great Patriotic War or ended after 1945?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Patriotic War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["end time", "1945", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["war"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" .  { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Great Patriotic War\" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1945 ) .  } }", "answer": "15"}, {"question": "How many sports seasons are there that are a sports game term of the NCAA Men's Division I Basketball Championship and are after 1983?", "choices": ["26", "27", "28", "29", "30", "31", "32", "33", "34", "35"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NCAA Men's Division I Basketball Championship"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sports season of league or competition", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "1983", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sports season"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <sports_season_of_league_or_competition> ?e_1 . ?e_1 <pred:name> \"NCAA Men's Division I Basketball Championship\" .  ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1983 ) .  }", "answer": "27"}, {"question": "Does York University or Temple University have a greater number of students?", "choices": ["Temple University", "McMaster University", "King's College London", "Pennsylvania State University", "Imperial College London", "University of Manchester", "Presidency University", "York University", "Panjab University", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["York University"]}, {"function": "Find", "dependencies": [], "inputs": ["Temple University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"York University\" .  } UNION { ?e <pred:name> \"Temple University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "York University"}, {"question": "Regarding the higher education institution that is where Michael W. Smith got educated, is the inception time other than -200?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael W. Smith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["-200", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Michael W. Smith\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != -200 ) .  }", "answer": "yes"}, {"question": "Does the play that derives from The Phantom of the Opera (the one that was nominated for Academy Award for Best Cinematography), have its date of first performance not in 2007?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom of the Opera"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["play"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of first performance"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["2007", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"The Phantom of the Opera\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" .  ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  }", "answer": "yes"}, {"question": "What person is the member of, and played 10 games for, an association footbal club whose official website is http://www.ketteringtownfc.co.uk/ ?", "choices": ["Moses Ashikodi", "John Wood", "Wayne Dyer", "Richard Harris", "Alan Bennett", "Jason Lee", "Jim Brown", "Ben Sahar", "Justin Cochrane", "Dean Martin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ketteringtownfc.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [3], "inputs": ["number of matches played/races/starts", "10", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"association football club\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.ketteringtownfc.co.uk/\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"10\"^^xsd:double .  }", "answer": "Jim Brown"}, {"question": "What is the character role of Martin Short in Alice in Wonderland, with 129 minutes of running time ?", "choices": ["Damian Falco", "Sao Feng", "Robin Scherbatsky Sr.", "The Hatter", "Cleveland Brown", "Elizabeth I of England", "Moloch", "David Bowman", "Galahad", "Phoebe Halliwell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "129 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Martin Short"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Alice in Wonderland\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"129\"^^xsd:double . ?e_2 <pred:name> \"Martin Short\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "The Hatter"}, {"question": "When was Urbana created?", "choices": ["1782-03-31", "2000-06-10", "1833", "1881", "1900", "2008-01-01", "2002-01-01", "1869-01-01", "1968-10-01", "1950-07-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Urbana"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Urbana\" . ?e <inception> ?pv .  }", "answer": "1833"}, {"question": "Which area is smaller, Charlottesville or Portsmouth (the one whose local dialing code is 757)?", "choices": ["Roanoke", "Winchester", "Williamsburg", "Suffolk", "Charlottesville", "Hampton", "Portsmouth", "Danville", "Falls Church", "Lynchburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlottesville"]}, {"function": "Find", "dependencies": [], "inputs": ["Portsmouth"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "757"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlottesville\" . } UNION { ?e <pred:name> \"Portsmouth\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"757\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Charlottesville"}, {"question": "What is the number of social sciences that study pedophilia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pedophilia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["studied by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["social science"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"social science\" . ?e_1 <studied_by> ?e . ?e_1 <pred:name> \"pedophilia\" .   }", "answer": "1"}, {"question": "What capital is located in a sovereign state with diplomatic relations with Pakistan (Malaysia-Pakistan relations) ?", "choices": ["Kuala Lumpur", "Bucharest", "Prague", "Tamil", "Strasbourg", "Yerevan", "Johor", "Bangalore", "Rome", "Penang"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pakistan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Malaysia\u2013Pakistan relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["capital"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> \"Pakistan\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Malaysia\u2013Pakistan relations\" .   }", "answer": "Kuala Lumpur"}, {"question": "What is the birth date for the person whose official website is http://waddywachtelinfo.com?", "choices": ["1951-12-01", "1950-05-31", "1947-05-24", "1930-04-25", "1956-09-13", "1986-11-01", "1925-02-17", "1961-11-19", "1951-01-17", "1926-01-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://waddywachtelinfo.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://waddywachtelinfo.com\" . ?e <date_of_birth> ?pv .  }", "answer": "1947-05-24"}, {"question": "Which movie is shorter, North or Friday Night Lights (the one whose genre is film based on literature)?", "choices": ["Talk to Her", "Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca", "Friday Night Lights", "Training Day", "The Hunchback of Notre Dame", "The Towering Inferno", "The Fifth Element", "North"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North"]}, {"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Friday Night Lights"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North\" .  } UNION { ?e <pred:name> \"Friday Night Lights\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"film based on literature\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "North"}, {"question": "How many people live in the Chicago metropolitan area?", "choices": ["1381532", "45467", "10836732", "101564", "1436549", "55500", "9140000", "32548300", "85331", "6994139"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago metropolitan area"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chicago metropolitan area\" . ?e <population> ?pv .  }", "answer": "9140000"}, {"question": "Is the 1990 population of the United States state that contains the administrative division Fairfield County (which shares a border with Litchfield County) greater than 31000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Litchfield County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fairfield County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "QueryAttrUnderCondition", "dependencies": [5], "inputs": ["population", "point in time", "1990"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["31000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Fairfield County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Litchfield County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"31000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1990 .  }", "answer": "yes"}, {"question": "What is the start time for Mark Williams and the Mamelodi Sundowns F.C?", "choices": ["1993-08-30", "2000-03-10", "1991-01-13", "2012-04-02", "1980-08-25", "1988-11-04", "1800-02-17", "1991-01-01", "2002-06-28", "2006-11-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Williams"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "178 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Mamelodi Sundowns F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mark Williams\" . ?e_1 <height> ?pv . ?pv <pred:unit> \"centimetre\" . ?pv <pred:value> \"178\"^^xsd:double . ?e_2 <pred:name> \"Mamelodi Sundowns F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "Was Coming Home (the one whose original language is Mandarin Chinese) published afrer 2000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mandarin Chinese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Coming Home"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2000", ">"]}], "sparql": "ASK { ?e <pred:name> \"Coming Home\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Mandarin Chinese\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2000 ) .  }", "answer": "yes"}, {"question": "When did Ayr have a population of 46431?", "choices": ["2018-01-02", "1685", "1652", "1987", "1960-10-01", "1997", "1896", "2001", "2011-05-18", "2013-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ayr"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "46431", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ayr\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"46431\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "Is http://www.ah.gov.cn the official website of the creator of The Firm (the one whose narrative location is Washington, D.C.)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Firm"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["http://www.ah.gov.cn"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"The Firm\" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> \"Washington, D.C.\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ah.gov.cn\" .  }", "answer": "no"}, {"question": "How is Snoop Dogg related to g-funk?", "choices": ["member of political party", "genre", "employer", "has contributing factor", "next lower rank", "eye color", "coextensive with", "applies to jurisdiction", "health specialty", "residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Snoop Dogg"]}, {"function": "Find", "dependencies": [], "inputs": ["g-funk"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Snoop Dogg\" . ?e_2 <pred:name> \"g-funk\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What administrative territorial entity's capital is the United States city that is the birthplace of Kristin Davis?", "choices": ["Kent County", "El Paso County", "Douglas County", "Washington County", "Hillsborough County", "Weber County", "Fremont County", "Bernalillo County", "Beaufort County", "Boulder County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kristin Davis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Kristin Davis\" .   }", "answer": "Boulder County"}, {"question": "What is the connection between Marquette County to Lake Superior?", "choices": ["series spin-off", "sport", "grants", "located in or next to body of water", "head of state", "home venue", "legislative body", "newspaper format", "maintained by", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marquette County"]}, {"function": "Find", "dependencies": [], "inputs": ["Lake Superior"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marquette County\" . ?e_2 <pred:name> \"Lake Superior\" . ?e_1 ?p ?e_2 .  }", "answer": "located in or next to body of water"}, {"question": "How is Collier County related to Florida?", "choices": ["screenwriter", "copyright representative", "signatory", "located in the administrative territorial entity", "official language", "author", "candidacy in election", "studied by", "parent organization", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Collier County"]}, {"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Collier County\" . ?e_2 <pred:name> \"Florida\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How many NBA drafts took place prior to 2008 or later than 2005?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2008", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Basketball Association Draft"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2005", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["National Basketball Association Draft"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Basketball Association Draft\" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } }", "answer": "6"}, {"question": "Which has fewer students, Laval University or University of Southern California?", "choices": ["Carnegie Institute of Technology", "Texas Christian University", "American University of Beirut", "University of Southern California", "Ateneo de Manila University", "University of Chicago", "Laval University", "Boston University School of Law", "Bradley University", "Yale University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laval University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Southern California"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Laval University\" .  } UNION { ?e <pred:name> \"University of Southern California\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Southern California"}, {"question": "How many towns are in the sovereign state country that includes the London Borough of Hackney?", "choices": ["89", "90", "91", "92", "93", "94", "95", "96", "97", "98"], "program": [{"function": "Find", "dependencies": [], "inputs": ["London Borough of Hackney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["town"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"London Borough of Hackney\" .   }", "answer": "95"}, {"question": "When did Mohamed Kallon join the roster of AS Monaco football club?", "choices": ["1979-02-18", "1931-03-13", "1989-10-06", "1990-06-15", "2004-01-01", "1985-09-14", "-1200", "1913-04-08", "1968-04-06", "1803"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mohamed Kallon"]}, {"function": "Find", "dependencies": [], "inputs": ["AS Monaco FC"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mohamed Kallon\" . ?e_2 <pred:name> \"AS Monaco FC\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2004-01-01"}, {"question": "When did Cheap Trick get into the Rock and Roll Hall of Fame?", "choices": ["1571", "2003-04-23", "1904-01-01", "1853-01-01", "2016", "1995-11-21", "1920-08-31", "1857", "2016-02-04", "1970-11-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cheap Trick"]}, {"function": "Find", "dependencies": [], "inputs": ["Rock and Roll Hall of Fame"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cheap Trick\" . ?e_2 <pred:name> \"Rock and Roll Hall of Fame\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "Which country is the state whose GS1 country code is 577 and what is the ethnic group.", "choices": ["Puerto Ricans", "Randers FC", "White American", "Russians", "Vejle Boldklub", "Aarhus Gymnastikforening", "Aarhus", "Cajun", "Lyngby Boldklub", "Germans"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GS1 country code", "577"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ethnic group"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state\" . ?e_1 <GS1_country_code> ?pv . ?pv <pred:value> \"577\" .   }", "answer": "Russians"}, {"question": "Which Texas county has FIPS 6-4 (US counties) of 48113?", "choices": ["Brazoria County", "Collin County", "McLennan County", "Dallas County", "Fort Bend County", "Montgomery County", "Johnson County", "Hidalgo County", "Galveston County", "El Paso County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "48113"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"48113\" .  }", "answer": "Dallas County"}, {"question": "Which movie is longer, The Three Musketeers (the one whose publication date is 1973-12-11) or The Opposite of Sex?", "choices": ["A Prairie Home Companion", "Rebecca", "The Three Musketeers", "Talk to Her", "The Opposite of Sex", "The Fifth Element", "Curse of the Golden Flower", "The Towering Inferno", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1973-12-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Opposite of Sex"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1973-12-11\"^^xsd:date . } UNION { ?e <pred:name> \"The Opposite of Sex\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Three Musketeers"}, {"question": "Was Adrian Greiner not born in 1861?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adrian Grenier"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1861", "!="]}], "sparql": "ASK { ?e <pred:name> \"Adrian Grenier\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1861 ) .  }", "answer": "yes"}, {"question": "What language is the website for Honolulu County at http://www.honolulu.gov in?", "choices": ["Franco-Proven\u00e7al", "Thai", "Yaqui", "Malagasy", "English", "Dutch", "Estonian", "Afrikaans", "Irish", "Romanian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Honolulu County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.honolulu.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Honolulu County\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.honolulu.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the end time of Downton Abbey (which was nominated for a Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special)?", "choices": ["1991", "1984-08-12", "1861-03-17", "2011-07-09", "2015-12-25", "1990-08-27", "1956-12-10", "2015-02-24", "1954-04-02", "1795-01-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Downton Abbey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Downton Abbey\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special\" .  ?e <end_time> ?pv .  }", "answer": "2015-12-25"}, {"question": "Dr. Strangelove (the one whose genre is war film) is in which genre?", "choices": ["comedy-drama", "The Twilight Zone", "For Your Eyes Only", "non-fiction", "film based on literature", "costume drama", "war film", "political drama", "black comedy", "satire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["war film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dr. Strangelove"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["genre"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"genre\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Dr. Strangelove\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"war film\" .   }", "answer": "black comedy"}, {"question": "Does the longer run-time belong to Mutiny on the Bounty, an Academy Award nominee for Best Visual Effects, or to Gigli?", "choices": ["A Prairie Home Companion", "Talk to Her", "Training Day", "Gigli", "Mutiny on the Bounty", "The Fifth Element", "Rebecca", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mutiny on the Bounty"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gigli"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mutiny on the Bounty\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Visual Effects\" .   } UNION { ?e <pred:name> \"Gigli\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mutiny on the Bounty"}, {"question": "Tell me the one with the least duration within the film genre that has United States of America as a release region.", "choices": ["Revisionist Western", "kung fu film", "heist film", "Mary and Max", "blaxploitation", "Hindi Film Industry", "neo-noir", "film based on literature", "Chicken Run", "art film"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chicken Run"}, {"question": "What is the link between Smokin' Aces and Working Title Films?", "choices": ["parent organization", "sidekick of", "programming language", "heritage designation", "part of", "risk factor", "cast member", "lyrics by", "production company", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Smokin' Aces"]}, {"function": "Find", "dependencies": [], "inputs": ["Working Title Films"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Smokin' Aces\" . ?e_2 <pred:name> \"Working Title Films\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "For which work was George Cukor awarded the Academy Award for Best Director?", "choices": ["Stars in My Pocket Like Grains of Sand", "Zorba the Greek", "Quills", "How the West Was Won", "My Fair Lady", "Hope and Glory", "Away from Her", "The Tree of Life", "The Murder of Mary Phagan", "Ted"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Cukor"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George Cukor\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "My Fair Lady"}, {"question": "Were proceeds at the box office lower for Tango & Cash or Get Low, featuring Sissy Spacek as a cast member?", "choices": ["Get Low", "The Hunchback of Notre Dame", "The Towering Inferno", "Curse of the Golden Flower", "Training Day", "A Prairie Home Companion", "Talk to Her", "Tango & Cash", "The Fifth Element", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tango & Cash"]}, {"function": "Find", "dependencies": [], "inputs": ["Sissy Spacek"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Get Low"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tango & Cash\" .  } UNION { ?e <pred:name> \"Get Low\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sissy Spacek\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Get Low"}, {"question": "when did Ip Man whose original title is \u8449\u554f won the award for best film at the Hong Kong film award", "choices": ["2009", "2014-10-31", "2018-08-15", "2008-09-01", "1790-01-01", "1738-01-01", "1994-10-25", "2019", "1634-01-01", "1879"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best Film"]}, {"function": "Find", "dependencies": [], "inputs": ["Ip Man"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["title", "\u8449\u554f"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hong Kong Film Award for Best Film\" . ?e_2 <pred:name> \"Ip Man\" . ?e_2 <title> ?pv . ?pv <pred:value> \"\u8449\u554f\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Is 2740 the Deutsche Synchronkartei actor-ID of the person with ISNI 0000 0001 0918 2128?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0918 2128"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["2740"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0918 2128\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"2740\" .  }", "answer": "yes"}, {"question": "What is the name in native language of the fictional profession with Libris-URI 75kmlwsr0vqp2jl?", "choices": ["H. H. Asquith", "\u5c71\u53e3\u52dd\u5e73", "Peter Jackson", "Roberto Benigni", "Bill Wyman", "Ian McKellen", "Tom Jones", "Batman", "\u09a4\u09be\u09ac\u09c1", "Frances Marion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "75kmlwsr0vqp2jl"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"75kmlwsr0vqp2jl\" . ?e <name_in_native_language> ?pv .  }", "answer": "Batman"}, {"question": "What language is associated with the official website http://www.berriencounty.org of the Michigan county whose area is 4096 square kilometers?", "choices": ["Atikamekw", "Old English", "English", "Basque", "Belgian French", "Spanish", "Malagasy", "Lower Sorbian", "Classical Latin", "French"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "4096 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.berriencounty.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"4096\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.berriencounty.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which is longer in duration, The Green Hornet (released on 1966-09-09) or Seinfeld?", "choices": ["Seinfeld", "Six Feet Under", "Robot Chicken", "Phineas and Ferb", "Game of Thrones", "Babylon 5", "The Green Hornet", "Dancing with the Stars", "American Horror Story", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Green Hornet"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1966-09-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Seinfeld"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Green Hornet\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1966-09-09\"^^xsd:date . } UNION { ?e <pred:name> \"Seinfeld\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Green Hornet"}, {"question": "Which person has ISNI 0000 0001 0888 6625?", "choices": ["Beau Bridges", "Sylvester Stallone", "Brian Doyle-Murray", "Michelle Branch", "Augustus", "Johnny Mercer", "Micky Dolenz", "Richard Gere", "Wil Wheaton", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0888 6625"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0888 6625\" .  }", "answer": "Beau Bridges"}, {"question": "What is the connection between Raj Kapoor to Shashi Kapoor?", "choices": ["business division", "capital", "affiliation", "occupant", "position held", "archives at", "field of work", "religion", "sibling", "family"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raj Kapoor"]}, {"function": "Find", "dependencies": [], "inputs": ["Shashi Kapoor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Raj Kapoor\" . ?e_2 <pred:name> \"Shashi Kapoor\" . ?e_1 ?p ?e_2 .  }", "answer": "sibling"}, {"question": "What does ice cream have to do with zinc?", "choices": ["practiced by", "mouth of the watercourse", "vehicle normally used", "godparent", "influenced by", "occupant", "drafted by", "had as last meal", "nutrient", "depicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ice cream"]}, {"function": "Find", "dependencies": [], "inputs": ["zinc"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"ice cream\" . ?e_2 <pred:name> \"zinc\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "What is the connection between white people to brain tumor?", "choices": ["member of", "applies to jurisdiction", "basin country", "symptom of", "risk factor", "theme music", "published in", "field of work", "diplomatic relation", "history of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["white people"]}, {"function": "Find", "dependencies": [], "inputs": ["brain tumor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"white people\" . ?e_2 <pred:name> \"brain tumor\" . ?e_1 ?p ?e_2 .  }", "answer": "risk factor"}, {"question": "Which movie is shorter, The Last Airbender (the one whose subreddit is TheLastAirbender) or Dragon Ball Z: Dead Zone?", "choices": ["Dragon Ball Z: Dead Zone", "A Prairie Home Companion", "Training Day", "The Last Airbender", "Talk to Her", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Airbender"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "TheLastAirbender"]}, {"function": "Find", "dependencies": [], "inputs": ["Dragon Ball Z: Dead Zone"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Last Airbender\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"TheLastAirbender\" . } UNION { ?e <pred:name> \"Dragon Ball Z: Dead Zone\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dragon Ball Z: Dead Zone"}, {"question": "Who was the Academy Award Best Supporting Actor nominee for Kentucky, originating in the USA?", "choices": ["Maurice Jarre", "Walter Brennan", "Anna Paquin", "Harry Lange", "John Ford", "Kirk Douglas", "Stanley Kramer", "David Snyder", "Scott D. Smith", "Elda Ferri"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kentucky"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kentucky\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Walter Brennan"}, {"question": "How is Ludacris related to Champaign?", "choices": ["ethnic group", "kit supplier", "rector", "present in work", "place of birth", "heritage designation", "mother", "sex or gender", "territory claimed by", "convicted of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ludacris"]}, {"function": "Find", "dependencies": [], "inputs": ["Champaign"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ludacris\" . ?e_2 <pred:name> \"Champaign\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which region of France whose annual number of weddings is under 4500 has the highest yearly number of weddings?", "choices": ["Corsica", "Normandy", "Grammy Award for Best Remixed Recording, Non-Classical", "Oregon", "Martinique", "Midland", "Tabitha St. Germain", "Tony Blair", "Brittany", "aerospace engineering"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["annual number of weddings", "4500", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["annual number of weddings", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <annual_number_of_weddings> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"4500\"^^xsd:double ) . ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Corsica"}, {"question": "What is the street address of Edinburgh, where Robert Louis Stevenson was born?", "choices": ["104 S 5th St", "209 Redwood Shores Parkway, Redwood City", "1 Prospect Street", "8, Howard Place", "3800 Victory Parkway, Cincinnati, OH, 45207-1092", "1726 Locust St, Philadelphia, PA, 19103", "300 N Broadway, Lexington, KY, 40508-1797", "Stadionplein 4", "1700 Lida St, Pasadena, CA, 91103", "Administration Bldg 425, Fayetteville, AR, 72701"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Louis Stevenson"]}, {"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of birth", "located at street address"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Louis Stevenson\" . ?e_2 <pred:name> \"Edinburgh\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }", "answer": "8, Howard Place"}, {"question": "How is George Takei related to voice actor?", "choices": ["director/manager", "capital of", "officeholder", "employer", "studies", "creator", "occupation", "terminus", "twinned administrative body", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Takei"]}, {"function": "Find", "dependencies": [], "inputs": ["voice actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Takei\" . ?e_2 <pred:name> \"voice actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Shirley Henderson plays what character on Harry Potter and the Goblet of Fire, which also includes Brendan Gleeson as a cast member?", "choices": ["Moaning Myrtle", "Peter Pan", "Janosz Poha", "Serena Kogan", "Abraham Erskine", "Carlisle Cullen", "Romeo", "Gmork", "Jason Bourne", "Edward Malus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brendan Gleeson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Goblet of Fire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shirley Henderson"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harry Potter and the Goblet of Fire\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Brendan Gleeson\" . ?e_2 <pred:name> \"Shirley Henderson\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Moaning Myrtle"}, {"question": "Which is shorter, Days of Thunder published on 1990-09-20 or The Phantom of the Opera that is 106 minutes long?", "choices": ["Curse of the Golden Flower", "Pleasantville", "Rebecca", "The Towering Inferno", "The Phantom of the Opera", "Training Day", "The Hunchback of Notre Dame", "A Prairie Home Companion", "The Fifth Element", "Days of Thunder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Days of Thunder"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1990-09-20", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom of the Opera"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["duration", "106 minute", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Days of Thunder\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1990-09-20\"^^xsd:date . } UNION { ?e <pred:name> \"The Phantom of the Opera\" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> \"minute\" . ?pv_2 <pred:value> \"106\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Phantom of the Opera"}, {"question": "Which Major League Baseball Draft had Pittsburgh Pirates as the participant ?", "choices": ["1997 Major League Baseball draft", "Tabriz", "2000 Major League Baseball season", "2002 Major League Baseball draft", "Neal H. Moritz", "Phoenix", "2004 Major League Baseball draft", "2007 Major League Baseball season", "Leslie Bricusse", "2006 Major League Baseball draft"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Pirates"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Major League Baseball draft"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Major League Baseball draft\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"Pittsburgh Pirates\" .   }", "answer": "2002 Major League Baseball draft"}, {"question": "For the sovereign state whose demonym is \u0623\u0648\u0631\u0648\u063a\u0648\u0627\u064a\u0627\u0646\u064a (the involved part of this statement is masculine), what is the time point for its population of 3338384?", "choices": ["2007-08-01", "1833-01-01", "1753", "2006-12-18", "2017-11-12", "1958-12-01", "2007", "1893-01-01", "1685", "2003-01-15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0623\u0648\u0631\u0648\u063a\u0648\u0627\u064a\u0627\u0646\u064a"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "masculine"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "3338384", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u0623\u0648\u0631\u0648\u063a\u0648\u0627\u064a\u0627\u0646\u064a\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"masculine\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3338384\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "Mark Strong, with CANTIC-ID a11804762, is cast in what role on Green Lantern?", "choices": ["Hamilton Jordan", "Malcolm X", "Faramir", "Forrest Gump", "Sinestro", "Balthazar Blake", "Edward Malus", "Ted's son", "Mutt Williams", "Demetrius"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Green Lantern"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Strong"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["CANTIC-ID", "a11804762"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Green Lantern\" . ?e_2 <pred:name> \"Mark Strong\" . ?e_2 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11804762\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Sinestro"}, {"question": "When was Lindsay Crouse an Academy Award nominee for Best Supporting Actress?", "choices": ["1995-09-01", "1984-01-01", "1996-03-25", "1910-12-01", "2007-05-16", "1992-01-01", "1931", "2009-05-06", "2017-02-09", "2012-01-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lindsay Crouse"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lindsay Crouse\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1984-01-01"}, {"question": "Is the inception time other than -3000 for the film production company that is The Aristocrats production company.", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Aristocrats"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["-3000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"The Aristocrats\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != -3000 ) .  }", "answer": "yes"}, {"question": "Nicolas Cage was cast as the character David Spritz in the movie released on 2006-03-02 in which location?", "choices": ["Cannes", "Czech Republic", "India", "Kuwait", "Australia", "Davao City", "Sorrento", "Germany", "Venice Film Festival", "BFI London Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicolas Cage"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["character role", "David Spritz"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2006-03-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Nicolas Cage\" . [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv_1 . ?qpv_1 <pred:value> \"David Spritz\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-03-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the number of the independent cities that have ISNI of 0000 0004 0390 9631 or that has a population of under 710000000", "choices": ["20", "21", "22", "23", "24", "25", "26", "27", "28", "29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0390 9631"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "710000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent city"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0390 9631\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"710000000\"^^xsd:double ) .  } }", "answer": "22"}, {"question": "HBO produced which TV show?", "choices": ["Boardwalk Empire", "Curb Your Enthusiasm", "Into the Storm", "The Wire, season 5", "The Wire, season 4", "Gia", "The Challenge", "Inside Deep Throat", "Angels in America", "The Larry Sanders Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["HBO"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television program"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"HBO\" .   }", "answer": "The Larry Sanders Show"}, {"question": "Which has higher elevation above sea level, Phoenix whose percent of water area is 0.24 percent or Springfield where Jeff Meckstroth was born?", "choices": ["Greenville", "Springfield", "Phoenix", "Compton", "Franklin", "Columbus", "Oakland", "Boulder", "Lansing", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phoenix"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["water as percent of area", "0.24 percentage", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jeff Meckstroth"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Springfield"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Phoenix\" . ?e <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> \"0.24\"^^xsd:double . } UNION { ?e <pred:name> \"Springfield\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jeff Meckstroth\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Phoenix"}, {"question": "Who is the producer of Inkheart?", "choices": ["Edward Zwick", "Bruce Dern", "Max Fleischer", "Cuba Gooding Jr.", "Sylvester Stallone", "Seth Green", "Toby Emmerich", "Kate Flannery", "Babyface", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Inkheart"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Inkheart\" .   }", "answer": "Toby Emmerich"}, {"question": "Are there more than 27000 students in the university where studied Cate Blanchet?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cate Blanchett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["students count"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["27000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Cate Blanchett\" .  ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"27000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the connection between The X-Files (the one whose script is wrote by Frank Spotnitz) to drama film?", "choices": ["afflicts", "characters", "cast member", "discoverer or inventor", "located on astronomical location", "genre", "feast day", "military casualty classification", "editor", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Spotnitz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The X-Files"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The X-Files\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Frank Spotnitz\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the postal code for Moncton?", "choices": ["E1A-E1G", "07513", "07502", "98134", "05663-1035", "42301\u201342304", "92619", "10154", "24159", "05405\u201305408"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moncton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Moncton\" . ?e <postal_code> ?pv .  }", "answer": "E1A-E1G"}, {"question": "Was the association football club with official website http://www.cfr1907.ro/en/ founded before 1996?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cfr1907.ro/en/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1996", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cfr1907.ro/en/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) .  }", "answer": "yes"}, {"question": "How many in Christianity apply jurisdiction over the sovereign state whose ISO 3166-1 numeric code is 585?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-1 numeric code", "585"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["applies to jurisdiction", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Christianity"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Christianity\" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <ISO_3166-1_numeric_code> ?pv . ?pv <pred:value> \"585\" .   }", "answer": "0"}, {"question": "When did Clackamas County have a population of 379780?", "choices": ["1775", "1742-01-01", "2004-08-04", "2011-07-01", "2017-11-24", "1849", "1970-12-31", "1861-12-01", "1897-01-28", "1952-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clackamas County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "379780", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Clackamas County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"379780\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Who is the nominee of Academy Award for Best Director for the work in The Thin Red Line (with George Clooney in the cast) ?", "choices": ["Terrence Malick", "Anne V. Coates", "Zachary Sklar", "Bryan Grill", "Claudette Colbert", "Robert Lorenz", "Rob Coleman", "John Ireland", "Donna Reed", "Harry Stradling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Thin Red Line"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Thin Red Line\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"George Clooney\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Terrence Malick"}, {"question": "Does the United States city that is the birthplace of Jason Lee (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series), have its inception time in 1835?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jason Lee"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1835", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jason Lee\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series\" .  ?e <inception> ?pv . ?pv <pred:year> 1835 .  }", "answer": "no"}, {"question": "Tell me the date of birth for John Hughes (who was born in Swansea)", "choices": ["1923-08-09", "1951-04-12", "1882-06-18", "1970-01-28", "1953-07-28", "1965-12-03", "1980-04-13", "1961-11-20", "1924-07-21", "1965-07-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swansea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Hughes\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Swansea\" .  ?e <date_of_birth> ?pv .  }", "answer": "1965-07-03"}, {"question": "Which reviewer ranked the Swiss national football team at 29?", "choices": ["Roger Ebert", "IREG Observatory on Academic Ranking and Excellence", "Metacritic", "Innovation, Science and Economic Development Canada", "International Congress of Distinguished Awards", "Empire", "AlloCin\u00e9", "Internet Movie Database", "Peter Travers", "FIFA"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swiss national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "29", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Swiss national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"29\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Does the person whose birth date is on 1912-06-13, have a death date not in 2017?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1912-06-13", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2017", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1912-06-13\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2017 ) .  }", "answer": "yes"}, {"question": "How was it determined that the population of a Texan county, with Waco (the one whose elevation (above sea level) is 143 metre) as the capital, counts 235,977 people ?", "choices": ["Taqdir", "gross floor area", "Yemen General Census of Population, Housing and Establishments 2004", "de facto", "Census", "resident registration", "extrapolation", "estimation process", "1860 United States Census", "Sixth National Population Census of the People's Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waco"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "143 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "235977", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Waco\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"143\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"235977\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many constitutional monarchies there are whose population is different to 330000000?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "330000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["constitutional monarchy"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"330000000\"^^xsd:double ) .  }", "answer": "4"}, {"question": "Is CBRangel the Twitter username of the band whose official website is http://www.countingcrows.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.countingcrows.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["CBRangel"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.countingcrows.com/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"CBRangel\" .  }", "answer": "no"}, {"question": "Does Casper (the one that has Bill Pullman as a cast member) have its publication date after 1967 (the place of publication of this statement is Germany)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Pullman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Casper"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1967", ">"]}], "sparql": "ASK { ?e <pred:name> \"Casper\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Bill Pullman\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1967 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "Does The Witches of Eastwick (whose director of photography is Vilmos Zsigmond) or The Sand Pebbles have the longer runtime?", "choices": ["The Towering Inferno", "The Sand Pebbles", "Rebecca", "Talk to Her", "Curse of the Golden Flower", "The Fifth Element", "The Witches of Eastwick", "Training Day", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vilmos Zsigmond"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Witches of Eastwick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Sand Pebbles"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Witches of Eastwick\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Vilmos Zsigmond\" .   } UNION { ?e <pred:name> \"The Sand Pebbles\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Sand Pebbles"}, {"question": "The country of Canada was home to how many editions of film festivals?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival edition"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Canada\" .   }", "answer": "3"}, {"question": "Which was longer, Magic Mike or Brighton Rock released in Denmark?", "choices": ["Magic Mike", "Rebecca", "Talk to Her", "Brighton Rock", "Training Day", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Towering Inferno", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Magic Mike"]}, {"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brighton Rock"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Magic Mike\" .  } UNION { ?e <pred:name> \"Brighton Rock\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Denmark\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Magic Mike"}, {"question": "What is the time point of the win by Tracy Morgan of the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series?", "choices": ["2016-02-13", "2003-11-19", "1998-12-23", "2008-01-01", "2009", "1995-02-14", "2005-07-20", "2016-12-22", "2010-01-17", "2003-05-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Tracy Morgan"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series\" . ?e_2 <pred:name> \"Tracy Morgan\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "When was Panama's nominal gross domestic product 5918469800 USD?", "choices": ["1990", "1300", "1685", "1979-12-01", "1950-09-13", "2014-11-01", "1932-01-01", "1989-01-01", "2000-04-12", "1765-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Panama"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["nominal GDP", "5918469800 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Panama\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"5918469800\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1989-01-01"}, {"question": "Which Washington county whose establishment date is not in 1857 has the smallest area?", "choices": ["Clallam County", "Snohomish County", "Jefferson County", "Yakima County", "Spokane County", "Skagit County", "San Juan County", "Grant County", "Okanogan County", "Grays Harbor County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1857", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1857 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Juan County"}, {"question": "Was the movie called Rachel Getting Married published in Germany before 2014 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rachel Getting Married"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2014", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Rachel Getting Married\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "Is http://www.munkyourself.com/ the official website for the feature film whose release date is 2009-12-25?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-12-25", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.munkyourself.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-12-25\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.munkyourself.com/\" .  }", "answer": "yes"}, {"question": "How is Brian Geraghty connected to the United States of America?", "choices": ["industry", "country of citizenship", "highest judicial authority", "month of the year", "sports season of league or competition", "sex or gender", "source of income", "make-up artist", "chairperson", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian Geraghty"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brian Geraghty\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What method determines that 76818 is the population count for the county of New York with Dewey Decimal Classification 2--74735?", "choices": ["2016 Australian census", "Canada 2011 Census", "estimation process", "middle", "resident registration", "2010 United States Census", "de jure", "UIS estimation", "1860 United States Census", "administrative division valid at the time point of history to which the data relates"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--74735"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "76818", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--74735\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"76818\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the relationship between Dan Schneider (the one that has the occupation of actor) and screenwriter?", "choices": ["office held by head of government", "grants", "occupation", "family", "instrumentation", "executive producer", "parent club", "found", "software engine", "dedicated to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dan Schneider"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dan Schneider\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the connection between Michael Ironside to OCAD University?", "choices": ["medical condition", "designed by", "educated at", "creator", "contains settlement", "exported to", "filmography", "has part", "field of work", "named after"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Ironside"]}, {"function": "Find", "dependencies": [], "inputs": ["OCAD University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Ironside\" . ?e_2 <pred:name> \"OCAD University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Is the length of the 85th Academy Awards longer than 70 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["85th Academy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["70 minute", ">"]}], "sparql": "ASK { ?e <pred:name> \"85th Academy Awards\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v > \"70\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does Miracle on 34th Street (the one whose composer is Cyril J. Mockridge) or You've Got Mail have less duration?", "choices": ["Training Day", "Curse of the Golden Flower", "Miracle on 34th Street", "You've Got Mail", "The Towering Inferno", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Talk to Her", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cyril J. Mockridge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Miracle on 34th Street"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["You've Got Mail"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Miracle on 34th Street\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Cyril J. Mockridge\" .   } UNION { ?e <pred:name> \"You've Got Mail\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Miracle on 34th Street"}, {"question": "Which person has the Twitter username of brucehornsby (the subscription number of this statement is 13359)?", "choices": ["Rahul Dev Burman", "William Henry Harrison", "Simon Cowell", "James E. Reilly", "Bruce Hornsby", "Sylvester Stallone", "Richard Gere", "Paul Simon", "Max Fleischer", "Babyface"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "brucehornsby"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "13359", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"brucehornsby\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"13359\"^^xsd:double .  }", "answer": "Bruce Hornsby"}, {"question": "Which is shorter, Thomas Jefferson, with Sam Waterson in the cast, or The Nutty Professor, published 1963-01-01?", "choices": ["A Prairie Home Companion", "Rebecca", "Training Day", "The Fifth Element", "The Hunchback of Notre Dame", "The Towering Inferno", "Pleasantville", "Talk to Her", "The Nutty Professor", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Waterston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Jefferson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1963-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thomas Jefferson\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sam Waterston\" . } UNION { ?e <pred:name> \"The Nutty Professor\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1963-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Nutty Professor"}, {"question": "When was Ferret Music established?", "choices": ["1812", "1838-03-16", "1953-06-18", "1519-08-25", "1996", "1965-04-08", "1964-02-01", "742", "1742", "1793-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ferret Music"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ferret Music\" . ?e <inception> ?pv .  }", "answer": "1996"}, {"question": "Is 0000 0004 0664 5731 the ISNI of John Davis (the one that has the occupation of pianist)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pianist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0004 0664 5731"]}], "sparql": "ASK { ?e <pred:name> \"John Davis\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"pianist\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0664 5731\" .  }", "answer": "no"}, {"question": "How is Manorama who died in Chennai related to playback singer?", "choices": ["partner", "musical conductor", "home port", "located in the administrative territorial entity", "inspired by", "located on astronomical location", "costume designer", "country for sport", "performer", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chennai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manorama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["playback singer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Manorama\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Chennai\" . ?e_2 <pred:name> \"playback singer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which visual artwork took in 44200000 USD at the box office?", "choices": ["The Ides of March", "A Prairie Home Companion", "Rebecca", "Pleasantville", "Valkyrie", "Amistad", "Notting Hill", "On Golden Pond", "Talk to Her", "Memento"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "44200000 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"44200000\"^^xsd:double .  }", "answer": "Amistad"}, {"question": "tell me the one with the smaller duration, the heiress or the grifters", "choices": ["A Prairie Home Companion", "Rebecca", "The Heiress", "Curse of the Golden Flower", "The Towering Inferno", "Training Day", "The Grifters", "Talk to Her", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Grifters"]}, {"function": "Find", "dependencies": [], "inputs": ["The Heiress"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Grifters\" .  } UNION { ?e <pred:name> \"The Heiress\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Grifters"}, {"question": "Does The Three Musketeers (script by Douglas Fairbanks) or The Last Airbender (has Conrad Buff IV as a film editor) have a longer runtime?", "choices": ["Rebecca", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Three Musketeers", "Talk to Her", "Pleasantville", "The Towering Inferno", "The Last Airbender", "The Fifth Element", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas Fairbanks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Conrad Buff IV"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film editor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Last Airbender"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Douglas Fairbanks\" .   } UNION { ?e <pred:name> \"The Last Airbender\" . ?e <film_editor> ?e_2 . ?e_2 <pred:name> \"Conrad Buff IV\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Three Musketeers"}, {"question": "Is the running time of the film where Scott Bradley (the one whose ISNI is 0000 0000 6301 200X) is the composer different to 180 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Bradley"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6301 200X"]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["180 minute", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Scott Bradley\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 6301 200X\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"180\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does the city in Pennsylvania with a local dialing code of 878 have the postal code of 16803?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "878"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["16803"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"878\" . ?e <postal_code> ?pv . ?pv <pred:value> \"16803\" .  }", "answer": "no"}, {"question": "Which band with the official website www.themarsvolta.com is known for art rock?", "choices": ["The Pretenders", "Animal Collective", "The Mars Volta", "The Kinks", "The Decemberists", "MGMT", "Electric Light Orchestra", "The Monkees", "The Beach Boys", "Marillion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.themarsvolta.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Find", "dependencies": [], "inputs": ["art rock"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.themarsvolta.com\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"art rock\" .  }", "answer": "The Mars Volta"}, {"question": "Who is taller John Byrne (of the Le Havre A.C.) or Ross Turnbull (the member of Middlesbrough F.C.)?", "choices": ["David Byrne", "Sylvester Stallone", "Simon Cowell", "James E. Reilly", "Rahul Dev Burman", "William Henry Harrison", "Ross Turnbull", "Paul Simon", "Max Fleischer", "John Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Le Havre A.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Middlesbrough F.C."]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ross Turnbull"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"John Byrne\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Le Havre A.C.\" .   } UNION { ?e <pred:name> \"Ross Turnbull\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Middlesbrough F.C.\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ross Turnbull"}, {"question": "What as an author in common with Douglas Adams?", "choices": ["commissioned by", "owner of", "model item", "opposite of", "legal form", "works in collection", "different from", "producer", "chief executive officer", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["author"]}, {"function": "Find", "dependencies": [], "inputs": ["Douglas Adams"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"author\" . ?e_2 <pred:name> \"Douglas Adams\" . ?e_1 ?p ?e_2 .  }", "answer": "model item"}, {"question": "Which Indian state contains Chennai?", "choices": ["Andhra Pradesh", "Himachal Pradesh", "Kerala", "Haryana", "Karnataka", "Maharashtra", "Odisha", "Gujarat", "Tamil Nadu", "Uttar Pradesh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chennai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Chennai\" .   }", "answer": "Tamil Nadu"}, {"question": "Did the business whose official name is AC Sparta Praha fotbal a. s. have more than 650000000 Czech koruny of total revenue in 2017?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "AC Sparta Praha fotbal a. s."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["total revenue", "point in time", "2017"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["650000000 Czech koruna", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"AC Sparta Praha fotbal a. s.\" . ?e <total_revenue> ?pv . ?pv <pred:unit> \"Czech koruna\" . ?pv <pred:value> ?v . FILTER ( ?v > \"650000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2017 .  }", "answer": "yes"}, {"question": "What is the time point for a population of 67964 for the Ohio County that shares a border with Hancock County  (the one whose official website is http://www.hancockcountywv.org)?", "choices": ["1552-01-01", "2012-05-09", "2013-07-01", "2016-09-01", "1992-01-08", "1823", "2014-07-01", "2012-10-30", "2012-06-01", "1999-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hancock County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hancockcountywv.org"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Ohio"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "67964", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Hancock County\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hancockcountywv.org\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67964\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "Among the group of organisms known by one particular common name with heart rate is not 240 beats per minute, Which has the largest heart rate?", "choices": ["Golden Retriever", "sheep", "cattle", "Labrador Retriever", "German Shepherd dog", "bulldog", "India", "chicken", "Yorkshire Terrier", "goat"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["heart rate", "240 beats per minute", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["heart rate", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <heart_rate> ?pv_1 . ?pv_1 <pred:unit> \"beats per minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"240\"^^xsd:double ) . ?e <heart_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "chicken"}, {"question": "How many animated characters were created by the creator of Bugs Bunny?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bugs Bunny"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["animated character"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated character\" . ?e <creator> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <creator> ?e_1 . ?e_2 <pred:name> \"Bugs Bunny\" .   }", "answer": "2"}, {"question": "What person's name is James Harvey Kennedy in native language and starting year of work is 1989?", "choices": ["Lucy Liu", "Joshua Malina", "Bryce Dallas Howard", "Brendan Gleeson", "William Henry Harrison", "Sandra Oh", "Jamie Kennedy", "Michelle Williams", "Richard Gere", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "James Harvey Kennedy"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["work period (start)", "1989", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"James Harvey Kennedy\" . ?e <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> 1989 .  }", "answer": "Jamie Kennedy"}, {"question": "Is the 338-seat House of Commons officially associated with the website www.kidrock.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Commons"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seats", "338", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://www.kidrock.com/"]}], "sparql": "ASK { ?e <pred:name> \"House of Commons\" . ?e <number_of_seats> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"338\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.kidrock.com/\" .  }", "answer": "no"}, {"question": "What is the relationship between record producer Steve Earle and the guitar?", "choices": ["geography of topic", "interested in", "different from", "mouth of the watercourse", "enclave within", "contains administrative territorial entity", "operating area", "instrument", "feast day", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Earle"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve Earle\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"record producer\" . ?e_2 <pred:name> \"guitar\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "What is the relation between the franchise Alien (the one that includes Alien: Resurrection as a part) and English?", "choices": ["original language of film or TV show", "participant of", "killed by", "spouse", "mother", "commander of", "military casualty classification", "original film format", "candidacy in election", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alien: Resurrection"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alien"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alien\" . ?e_1 <has_part> ?e_3 . ?e_3 <pred:name> \"Alien: Resurrection\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When was running back William Powell born?", "choices": ["1917-12-22", "1811-10-22", "1967-10-28", "1958-06-17", "1904-11-14", "1968-02-01", "1988-03-09", "0980-08-16", "1973-04-11", "1961-07-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["running back"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Powell"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"William Powell\" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> \"running back\" .  ?e <date_of_birth> ?pv .  }", "answer": "1988-03-09"}, {"question": "Was The Polar Express released for Microsoft Windows published before 2001?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Microsoft Windows"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Polar Express"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2001", "<"]}], "sparql": "ASK { ?e <pred:name> \"The Polar Express\" . ?e <platform> ?e_1 . ?e_1 <pred:name> \"Microsoft Windows\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2001 ) .  }", "answer": "no"}, {"question": "How are Frances McDormand and This Must Be the Place related?", "choices": ["general manager", "executive producer", "mascot", "shares border with", "follows", "sports season of league or competition", "airline hub", "cast member", "manufacturer", "use"], "program": [{"function": "Find", "dependencies": [], "inputs": ["This Must Be the Place"]}, {"function": "Find", "dependencies": [], "inputs": ["Frances McDormand"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"This Must Be the Place\" . ?e_2 <pred:name> \"Frances McDormand\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When was the movie titled Ryan's Daughter published?", "choices": ["1938-09-27", "1970-01-01", "1983-10-07", "2007-07-25", "2006-06-28", "1988-04-24", "1956-03-26", "2006-06-27", "2004-05-28", "2002-06-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Ryan's Daughter"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Ryan's Daughter\" . ?e <publication_date> ?pv .  }", "answer": "1970-01-01"}, {"question": "How is Joe Shuster linked to heart failure?", "choices": ["sidekick of", "has parts of the class", "cause of death", "uses", "operating area", "academic degree", "office held by head of state", "time period", "distribution", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joe Shuster"]}, {"function": "Find", "dependencies": [], "inputs": ["heart failure"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Joe Shuster\" . ?e_2 <pred:name> \"heart failure\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "Which has a greater number of pages, The Help (whose ISBN-10 is 0-399-15534-1) or The Spy Who Loved Me (whose narrative location is Adirondack Mountains)?", "choices": ["Starship Troopers", "Live and Let Die", "Contact", "The Help", "The Spy Who Loved Me", "listed building in the United Kingdom", "The Painted Veil", "A Single Man", "The Maltese Falcon", "The Hours"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Help"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN-10", "0-399-15534-1"]}, {"function": "Find", "dependencies": [], "inputs": ["Adirondack Mountains"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Spy Who Loved Me"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of pages", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Help\" . ?e <ISBN-10> ?pv_1 . ?pv_1 <pred:value> \"0-399-15534-1\" . } UNION { ?e <pred:name> \"The Spy Who Loved Me\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Adirondack Mountains\" . } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Help"}, {"question": "How many airlines whose airline alliance is Cisco Systems?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cisco Systems"]}, {"function": "Relate", "dependencies": [0], "inputs": ["airline alliance", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" . ?e <airline_alliance> ?e_1 . ?e_1 <pred:name> \"Cisco Systems\" .   }", "answer": "0"}, {"question": "Which website represents the person born in Solihull, local telephone code 0121?", "choices": ["http://www.thehamsterscage.co.uk", "http://www.westfieldcorp.com/", "http://www.co.ramsey.mn.us", "https://www.robinhood.movie/", "http://www.sc.edu/", "http://www.natsume-game.com/index.html", "http://www.edge-of-darkness.com/", "http://www.ti.com/", "http://washingtoncountymaine.com/", "http://www.hagerstownmd.org/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Solihull"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0121"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Solihull\" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"0121\" . ?e <official_website> ?pv .  }", "answer": "http://www.thehamsterscage.co.uk"}, {"question": "Is the British Isles more than 440 meters above sea level?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Isles"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["440 metre", ">"]}], "sparql": "ASK { ?e <pred:name> \"British Isles\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"440\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which area is larger, Dorset (the one that shares border with Wiltshire) or Lancashire?", "choices": ["Staffordshire", "Derbyshire", "Warwickshire", "Somerset", "Cumbria", "Essex", "West Midlands", "Norfolk", "Dorset", "Lancashire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wiltshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dorset"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lancashire"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dorset\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Wiltshire\" .   } UNION { ?e <pred:name> \"Lancashire\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lancashire"}, {"question": "Who was nominated for an Academy Award for Best Director for The Descendants?", "choices": ["Elliot Tyson", "Tom Cruise", "Ted Elliott", "Melinda Dillon", "Eric Leighton", "Christina Smith", "Bill Pohlad", "Phyllis Dalton", "Alexander Payne", "Catherine Keener"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Descendants"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Descendants\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Alexander Payne"}, {"question": "Which, among the group of organisms known by one particular common name (whose life expectancy is not 11.3 years), has the smallest life expectancy?", "choices": ["cattle", "sheep", "goat", "Yorkshire Terrier", "India", "chicken", "bulldog", "Labrador Retriever", "Golden Retriever", "German Shepherd dog"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "11.3 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["life expectancy", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"11.3\"^^xsd:double ) . ?e <life_expectancy> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Shepherd dog"}, {"question": "Regarding the visual artwork that is called Rock of Ages and that was published 2012-06-14, where did it get published?", "choices": ["R\u00e4ttvik", "Austria", "Europe", "France", "Berlin", "Italy", "Tribeca Film Festival", "Venice Film Festival", "Germany", "West Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rock of Ages"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2012-06-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Rock of Ages\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-06-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which movie is shorter, Emma (the one whose production company is Miramax) or The Damned (the one whose publication date is 1961-01-01)?", "choices": ["The Towering Inferno", "Training Day", "Curse of the Golden Flower", "Emma", "The Damned", "Pleasantville", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miramax"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Emma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Damned"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1961-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Emma\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Miramax\" . } UNION { ?e <pred:name> \"The Damned\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1961-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Damned"}, {"question": "What number of Maine counties contain the administrative division Gloucester (the one whose country is United States of America)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gloucester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Maine"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Gloucester\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .   }", "answer": "0"}, {"question": "What is the connection between Lima (the one that is a member of S.C. Braga) to Santos F.C.?", "choices": ["member of sports team", "found", "office held by head of state", "lowest point", "capital of", "eye color", "start point", "basin country", "copyright representative", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S.C. Braga"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lima"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Santos F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lima\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"S.C. Braga\" . ?e_2 <pred:name> \"Santos F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the topic of the statement that Jordan shares a border with Israel (whose nominal GDP is 109957321960.084 United States dollars)?", "choices": ["assassination of Mahatma Gandhi", "Israel\u2013Jordan border", "Cuba\u2013Venezuela relations", "Iraq\u2013Turkey relations", "Lebanon\u2013Mexico relations", "Spain\u2013Turkey relations", "Chad\u2013China relations", "Azerbaijan\u2013Georgia (country) relations", "Belgium\u2013Canada relations", "Indonesia\u2013Myanmar relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jordan"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["nominal GDP", "109957321960.084 United States dollar", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jordan\" . ?e_2 <pred:name> \"Israel\" . ?e_2 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"109957321960.084\"^^xsd:double . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Israel\u2013Jordan border"}, {"question": "How many comedies come from a sovereign state that is the country of Rockland County?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rockland County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["comedy"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Rockland County\" .   }", "answer": "3"}, {"question": "How many governors have jurisdiction over Texas, setting of Cast Away?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cast Away"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["applies to jurisdiction", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["governor"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"governor\" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> \"Texas\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"Cast Away\" .   }", "answer": "1"}, {"question": "Is the title of the visual artwork whose official website is http://www.shinealightmovie.com/ Shine a Light?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.shinealightmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Shine a Light"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.shinealightmovie.com/\" . ?e <title> ?pv . ?pv <pred:value> \"Shine a Light\" .  }", "answer": "yes"}, {"question": "What is the relationship between A Prairie Home Companion and Edward Lachman?", "choices": ["film crew member", "natural product of taxon", "has immediate cause", "producer", "next lower rank", "taxon rank", "published in", "sexual orientation", "feast day", "director of photography"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Prairie Home Companion"]}, {"function": "Find", "dependencies": [], "inputs": ["Edward Lachman"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A Prairie Home Companion\" . ?e_2 <pred:name> \"Edward Lachman\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "What is the duration of Beauty and the Beast whose Instagram username is beautyandthebeast?", "choices": ["163 minute", "167 minute", "250 minute", "166 minute", "178 minute", "2982 second", "11 minute", "108 minute", "130 minute", "2576 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beauty and the Beast"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "beautyandthebeast"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Beauty and the Beast\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"beautyandthebeast\" . ?e <duration> ?pv .  }", "answer": "130 minute"}, {"question": "How many basketball teams participated in the 2007 NBA Draft and have the Twitter username UCLAMBB?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2007 NBA Draft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "UCLAMBB"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["basketball team"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"2007 NBA Draft\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"UCLAMBB\" .  }", "answer": "0"}, {"question": "Did the Golden Raspberry Award for Worst New Star start being given out before 1998?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst New Star"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1998", "<"]}], "sparql": "ASK { ?e <pred:name> \"Golden Raspberry Award for Worst New Star\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1998 ) .  }", "answer": "yes"}, {"question": "What is the relationship between A Civil Action and Boston?", "choices": ["narrative location", "drafted by", "fictional universe described in", "manner of death", "airline hub", "characters", "stated in", "filmography", "famous people", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Civil Action"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"A Civil Action\" . ?e_2 <pred:name> \"Boston\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Who was nominated for the Academy Award for Best Film Editing for the 178 minute long Mutiny on the Bounty?", "choices": ["James Acheson", "Harry Chandlee", "Cedric Gibbons", "Nancy Olson", "John Lithgow", "Jesse Eisenberg", "Vern Poore", "John McSweeney junior", "Ridley Scott", "Masaharu Ueda"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mutiny on the Bounty"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "178 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mutiny on the Bounty\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"178\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Film Editing\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "John McSweeney junior"}, {"question": "What is the connection between Robert De Niro (the one that died from cancer) to New York City?", "choices": ["genre", "continent", "sports season of league or competition", "parent organization", "writing system", "place of death", "copyright representative", "academic degree", "location of discovery", "candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cancer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert De Niro"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert De Niro\" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> \"cancer\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "How many academic degrees are an aspect of The End of the Affair (whose publication date is 1951) or are the academic degree of Ludwig Wittgenstein?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The End of the Affair"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1951", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["academic degree"]}, {"function": "Find", "dependencies": [], "inputs": ["Ludwig Wittgenstein"]}, {"function": "Relate", "dependencies": [4], "inputs": ["academic degree", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["academic degree"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic degree\" .  { ?e <facet_of> ?e_1 . ?e_1 <pred:name> \"The End of the Affair\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1951 .  } UNION { ?e_1 <academic_degree> ?e . ?e_1 <pred:name> \"Ludwig Wittgenstein\" .  } }", "answer": "1"}, {"question": "Does the US birth city of Iggy Pop cover under 780000 square meters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iggy Pop"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["780000 square metre", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Iggy Pop\" .  ?e <area> ?pv . ?pv <pred:unit> \"square metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"780000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How is the Madison that launched on 1993-09-21 related to Canada?", "choices": ["this taxon is source of", "general manager", "legislative body", "operator", "fictional universe described in", "destination point", "relative", "has quality", "country of origin", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madison"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1993-09-21", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Madison\" . ?e_1 <start_time> ?pv . ?pv <pred:date> \"1993-09-21\"^^xsd:date . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Was the George Benson with ISNI code 0000 0000 3556 0893 born sometime other than 1935 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Benson"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3556 0893"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1935", "!="]}], "sparql": "ASK { ?e <pred:name> \"George Benson\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 3556 0893\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1935 ) .  }", "answer": "yes"}, {"question": "Tell me the one that has the biggest duration within the animated feature film that was published prior to 2000.", "choices": ["Beauty and the Beast", "Cinderella", "Toy Story 2", "The Lord of the Rings", "Hercules", "The King and I", "Alice in Wonderland", "Tarzan", "Sailor Moon S: The Movie", "The Little Mermaid"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2000 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings"}, {"question": "Which area is smaller, Fond du Lac County or Columbia County (the one whose population is 56743)?", "choices": ["La Crosse County", "Outagamie County", "Fond du Lac County", "Columbia County", "Pierce County", "Jackson County", "Wood County", "Waukesha County", "Jefferson County", "Washington County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fond du Lac County"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "56743", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fond du Lac County\" . } UNION { ?e <pred:name> \"Columbia County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"56743\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fond du Lac County"}, {"question": "Which language is used by http://www.disneychannel.com/, the official website of the television station that broadcasts Aladdin (in the television comedy genre) originally?", "choices": ["Czech", "Estonian", "English", "Albanian", "Serbian", "Yaqui", "Hindi", "Old English", "Polish", "Welsh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["television comedy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aladdin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.disneychannel.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Aladdin\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"television comedy\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.disneychannel.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is Socceroos the Twitter username of the person with ISNI 0000 0001 1445 0107?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1445 0107"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Socceroos"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1445 0107\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Socceroos\" .  }", "answer": "no"}, {"question": "Secret of the Wings is related in what way to Australia, which has a Human Development Index of 0.882?", "choices": ["symptoms", "successful candidate", "coextensive with", "medical treatment", "exclave of", "narrative role", "academic degree", "film release region", "penalty", "discoverer or inventor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Secret of the Wings"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["Human Development Index", "0.882", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Secret of the Wings\" . ?e_2 <pred:name> \"Australia\" . ?e_2 <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.882\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Which TOID applies to the capital city of Norfolk, which includes the administrative division King's Lynn and West Norfolk?", "choices": ["4000000074580405", "4000000074553344", "4000000074556976", "7000000000016444", "7000000000011329", "7000000000014362", "4000000074545582", "4000000074573264", "4000000074553839", "4000000074560731"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King's Lynn and West Norfolk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["TOID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Norfolk\" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"King's Lynn and West Norfolk\" .  ?e <TOID> ?pv .  }", "answer": "4000000074573264"}, {"question": "For which work was Mary Elizabeth Winstead nominated for the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture?", "choices": ["Angels with Dirty Faces", "Purple Rain", "Ed Wood", "Riders of the Purple Sage", "Whiplash", "Louie", "Bobby", "Tai-Pan", "Magnolia", "Elevator to the Gallows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Elizabeth Winstead"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mary Elizabeth Winstead\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Bobby"}, {"question": "Where was a visual artwork, that can be found on its official website http://www.enemyatthegatesmovie.com, published, if we know that it was published on 2001-03-15?", "choices": ["Westwood", "Grauman's Chinese Theatre", "European Union", "Indonesia", "Germany", "Australia", "Denmark", "Uruguay", "New York", "Europe"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.enemyatthegatesmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2001-03-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.enemyatthegatesmovie.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2001-03-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is video game music related to Hans Zimmer (the one that is a performer of Madagascar 3: Europe's Most Wanted)?", "choices": ["cast member", "platform", "geography of topic", "connects with", "exclave of", "heritage designation", "airline alliance", "health specialty", "screenwriter", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["video game music"]}, {"function": "Find", "dependencies": [], "inputs": ["Madagascar 3: Europe's Most Wanted"]}, {"function": "Relate", "dependencies": [1], "inputs": ["performer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hans Zimmer"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"video game music\" . ?e_2 <pred:name> \"Hans Zimmer\" . ?e_3 <performer> ?e_2 . ?e_3 <pred:name> \"Madagascar 3: Europe's Most Wanted\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "In which language is the official website of the Indianapolis 500, www.indy500.com?", "choices": ["Hebrew", "Romanian", "O'odham", "Franco-Proven\u00e7al", "Bavarian", "Klingon", "British English", "English", "Wolof", "Yaqui"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indianapolis 500"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.indy500.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Indianapolis 500\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.indy500.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Who is the voice actor of a movie nominated for 45th Academy Award for Best Animated Short Film?", "choices": ["Buster Keaton", "Richard Gere", "Christopher Lloyd", "Sylvester Stallone", "Simon Cowell", "Michael Hordern", "Max Fleischer", "Rahul Dev Burman", "David Byrne", "Edward Elgar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Short Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "45th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["voice actor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <voice_actor> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Animated Short Film\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_3 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"45th Academy Awards\" .   }", "answer": "Michael Hordern"}, {"question": "Which person's birth name is Laura Jeanne Reese Witherspoon?", "choices": ["Sylvester Stallone", "Max Fleischer", "William Henry Harrison", "Paul Simon", "Adam Goldberg", "Tony Randall", "Mary McCormack", "Martin Short", "Reese Witherspoon", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Laura Jeanne Reese Witherspoon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Laura Jeanne Reese Witherspoon\" .  }", "answer": "Reese Witherspoon"}, {"question": "Which film has the longer running time, Stardust (released on 2007-09-01) or Gone with the Wind (whose producer is David O. Selznick)?", "choices": ["Training Day", "A Prairie Home Companion", "The Fifth Element", "The Towering Inferno", "Stardust", "Rebecca", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "Gone with the Wind"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stardust"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-09-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["David O. Selznick"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gone with the Wind"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stardust\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2007-09-11\"^^xsd:date . } UNION { ?e <pred:name> \"Gone with the Wind\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"David O. Selznick\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gone with the Wind"}, {"question": "Does Sridevi or Sammy Davis Jr. have fewer children?", "choices": ["Richard Gere", "Paul Simon", "Sammy Davis Jr.", "David Byrne", "Sridevi", "Sylvester Stallone", "Simon Cowell", "James E. Reilly", "Max Fleischer", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sridevi"]}, {"function": "Find", "dependencies": [], "inputs": ["Sammy Davis Jr."]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sridevi\" .  } UNION { ?e <pred:name> \"Sammy Davis Jr.\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sridevi"}, {"question": "What person having scored 13 points is a teammate of the association football club whose nickname is The Reds?", "choices": ["Craig Bellamy", "Leo Bertos", "Ross Turnbull", "John Bailey", "Chris Wood", "Mohamed Kallon", "Rory Fallon", "Kevin Betsy", "John Byrne", "Robbie Williams"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "The Reds"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [3], "inputs": ["number of points/goals/set scored", "13", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"association football club\" . ?e_1 <nickname> ?pv . ?pv <pred:value> \"The Reds\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"13\"^^xsd:double .  }", "answer": "John Byrne"}, {"question": "When did  The Clash receive the Rock and Roll Hall of Fame?", "choices": ["2003", "1648-12-01", "2017-05-04", "1855-12-01", "2009-01-01", "1870", "2017-01-12", "1576-01-01", "1837", "1946-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Clash"]}, {"function": "Find", "dependencies": [], "inputs": ["Rock and Roll Hall of Fame"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Clash\" . ?e_2 <pred:name> \"Rock and Roll Hall of Fame\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2003"}, {"question": "Is 4467 the Deutsche Synchronkartei actor-ID for the person who is a cast member in Gigi?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gigi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["4467"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Gigi\" .  ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"4467\" .  }", "answer": "no"}, {"question": "Is the longer work The Newton Boys or The Day After Tomorrow?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "The Day After Tomorrow", "Rebecca", "Curse of the Golden Flower", "The Towering Inferno", "Training Day", "The Newton Boys", "Talk to Her", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Newton Boys"]}, {"function": "Find", "dependencies": [], "inputs": ["The Day After Tomorrow"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Newton Boys\" .  } UNION { ?e <pred:name> \"The Day After Tomorrow\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Day After Tomorrow"}, {"question": "When did the borough in the United Kingdom whose GSS code (2011) is E06000028 have a population of 194500?", "choices": ["1849-12-01", "2011-03-27", "2014-12-01", "1955-03-30", "1965-01-01", "2015-07-01", "1917-01-01", "2002-01-16", "1973", "1996-12-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E06000028"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["borough in the United Kingdom"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "194500", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"borough in the United Kingdom\" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> \"E06000028\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"194500\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-07-01"}, {"question": "How many public universities are designated by ISNI 0000 0001 2248 7639 or located at Columbia-Campus, Columbia, SC, 29208?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2248 7639"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["located at street address", "Columbia-Campus, Columbia, SC, 29208"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2248 7639\" .  } UNION { ?e <located_at_street_address> ?pv . ?pv <pred:value> \"Columbia-Campus, Columbia, SC, 29208\" .  } }", "answer": "2"}, {"question": "Is Howard Hughes the native language name of Howard Hughes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Howard Hughes"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Howard Hughes"]}], "sparql": "ASK { ?e <pred:name> \"Howard Hughes\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Howard Hughes\" .  }", "answer": "yes"}, {"question": "tell me the relationship between William Morris (who died from myocardial infarction) to myocardial infarction", "choices": ["candidate", "continent", "destination point", "position played on team / speciality", "editor", "cause of death", "talk show guest", "designed to carry", "librettist", "discoverer or inventor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["myocardial infarction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Morris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["myocardial infarction"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William Morris\" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> \"myocardial infarction\" . ?e_2 <pred:name> \"myocardial infarction\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "What film is directed by Nora Ephron and stars Michael Caine?", "choices": ["The Weather Man", "Bewitched", "You've Got Mail", "Julie & Julia", "Get Carter", "Dressed to Kill", "Hannah and Her Sisters", "Inception", "The Prestige", "Lucky Numbers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nora Ephron"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Caine"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Nora Ephron\" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Michael Caine\" .  }", "answer": "Bewitched"}, {"question": "Which person's Munzinger IBA is 00000025389?", "choices": ["William Henry Harrison", "George Clinton", "Sylvester Stallone", "Cecil B. DeMille", "David O. Russell", "Winston Churchill", "Kathleen Turner", "Max Fleischer", "Mao Zedong", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000025389"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000025389\" .  }", "answer": "David O. Russell"}, {"question": "Did the business established in 1865 dissolve more recently than 1947 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1865", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1947", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1865 . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1947 ) .  }", "answer": "yes"}, {"question": "Which province of Italy located in Piedmont, where the Provice of Turin is, has the smallest area?", "choices": ["Province of Potenza", "Province of Brescia", "Province of Salerno", "Province of Cagliari", "Province of Naples", "Province of Turin", "Province of Palermo", "Province of Como", "province of Milan", "Province of Cuneo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Turin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Piedmont"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Piedmont\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Province of Turin\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Province of Turin"}, {"question": "Which Alabama county that is an administrative division of Alabama (that is an administrative division of the United States of America) has the smallest area?", "choices": ["Mobile County", "Montgomery County", "Jackson County", "Washington County", "Monroe County", "Dallas County", "Jefferson County", "Shelby County", "Madison County", "Baldwin County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Alabama\" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"United States of America\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "Does the person with ISNI of 0000 0000 4075 0720 have a Twitter username of BrannonBraga?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4075 0720"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["BrannonBraga"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 4075 0720\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"BrannonBraga\" .  }", "answer": "no"}, {"question": "Who has a smaller Erd\u0151s number, Enrico Fermi or Natalie Portman?", "choices": ["Natalie Portman", "David Byrne", "William Henry Harrison", "Rahul Dev Burman", "Paul Simon", "Max Fleischer", "Richard Gere", "Enrico Fermi", "James E. Reilly", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enrico Fermi"]}, {"function": "Find", "dependencies": [], "inputs": ["Natalie Portman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["Erd\u0151s number", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Enrico Fermi\" .  } UNION { ?e <pred:name> \"Natalie Portman\" .  } ?e <Erd\u0151s_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Enrico Fermi"}, {"question": "What is the website for Water for Elephants?", "choices": ["http://www.deebaker.com", "http://www.mic.gov.to/", "http://www.waterforelephants.dk/", "http://www.uvm.edu", "http://styxworld.com", "https://www.jeffbridges.com/", "http://www.mila-kunis.net/", "http://www.provincia.brescia.it", "http://www.lucilleball.com/", "http://www.nbcuniversal.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Water for Elephants"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Water for Elephants\" . ?e <official_website> ?pv .  }", "answer": "http://www.waterforelephants.dk/"}, {"question": "Which movie is shorter, Immortals or The House Bunny?", "choices": ["The Hunchback of Notre Dame", "Curse of the Golden Flower", "The House Bunny", "Rebecca", "Talk to Her", "Immortals", "Pleasantville", "A Prairie Home Companion", "Training Day", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Immortals"]}, {"function": "Find", "dependencies": [], "inputs": ["The House Bunny"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Immortals\" .  } UNION { ?e <pred:name> \"The House Bunny\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The House Bunny"}, {"question": "What is the birth date of the father of Hume Cronyn (the one that was nominated for Tony Award for Best Actor in a Play)?", "choices": ["1949-02-02", "1888-11-18", "1864-08-28", "1964-03-11", "1901-12-05", "1981-05-18", "1969-01-17", "1956-08-31", "1878-12-25", "1985-05-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hume Cronyn"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["father", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <father> ?e . ?e_1 <pred:name> \"Hume Cronyn\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Tony Award for Best Actor in a Play\" .  ?e <date_of_birth> ?pv .  }", "answer": "1864-08-28"}, {"question": "Which person was born on 1928-10-14?", "choices": ["William Henry Harrison", "Raoul Walsh", "Max Fleischer", "Stacy Keach", "Sylvester Stallone", "John Adams", "Russell T Davies", "David Morse", "Peter Jackson", "Ali"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1928-10-14", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1928-10-14\"^^xsd:date .  }", "answer": "Peter Jackson"}, {"question": "Which one, Flags of Our Fathers or Moonstruck, has greater duration?", "choices": ["Rebecca", "Talk to Her", "The Towering Inferno", "Training Day", "The Fifth Element", "Flags of Our Fathers", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Moonstruck"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flags of Our Fathers"]}, {"function": "Find", "dependencies": [], "inputs": ["Moonstruck"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flags of Our Fathers\" .  } UNION { ?e <pred:name> \"Moonstruck\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Flags of Our Fathers"}, {"question": "How many US States have USA as their location?", "choices": ["42", "43", "44", "45", "46", "47", "48", "49", "50", "51"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "50"}, {"question": "Which person whose ISNI is 0000 0000 3556 0893 died after 1961?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3556 0893"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1961", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 3556 0893\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1961 ) .  }", "answer": "yes"}, {"question": "Is the official website of Chrono Crusade http://www.stockportcounty.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chrono Crusade"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.stockportcounty.com/"]}], "sparql": "ASK { ?e <pred:name> \"Chrono Crusade\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.stockportcounty.com/\" .  }", "answer": "no"}, {"question": "When was Nintendo Entertainment Analysis & Development founded?", "choices": ["1801-01-22", "1887-05-13", "1796-02-09", "1931-03-31", "1983", "1659", "1580-06-11", "1945-08-19", "1222", "1938-04-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment Analysis & Development"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Nintendo Entertainment Analysis & Development\" . ?e <inception> ?pv .  }", "answer": "1983"}, {"question": "Which person's official website is http://jermainejacksonentertainment.com/?", "choices": ["Jermaine Jackson", "John Oliver", "Gary Cole", "Max Fleischer", "Megan Fox", "William Henry Harrison", "Sylvester Stallone", "Herman Melville", "Richard Gere", "Joel David Moore"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://jermainejacksonentertainment.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://jermainejacksonentertainment.com/\" .  }", "answer": "Jermaine Jackson"}, {"question": "What is the California county with Dewey Decimal Classification 2--79497 and whose ISNI is 0000 0004 0638 8149?", "choices": ["Tuolumne County", "Mariposa County", "San Luis Obispo County", "Riverside County", "Tulare County", "Contra Costa County", "San Diego County", "Solano County", "San Mateo County", "Alameda County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--79497"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0004 0638 8149"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of California"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--79497\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0638 8149\" .  }", "answer": "Riverside County"}, {"question": "Which celebrity has fewer children, Naomi Watts or Hugh Grant (whose birthdate is 1960-09-09)?", "choices": ["Max Fleischer", "James E. Reilly", "Naomi Watts", "Paul Simon", "William Henry Harrison", "David Byrne", "Simon Cowell", "Hugh Grant", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Naomi Watts"]}, {"function": "Find", "dependencies": [], "inputs": ["Hugh Grant"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of birth", "1960-09-09", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Naomi Watts\" . } UNION { ?e <pred:name> \"Hugh Grant\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1960-09-09\"^^xsd:date . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Naomi Watts"}, {"question": "Tell me the number of video games who have a Nintendo GameID of SZAP69 or is a product or material produced by Electronic Arts", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "SZAP69"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "Find", "dependencies": [], "inputs": ["Electronic Arts"]}, {"function": "Relate", "dependencies": [3], "inputs": ["product or material produced", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" .  { ?e <Nintendo_GameID> ?pv . ?pv <pred:value> \"SZAP69\" .  } UNION { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> \"Electronic Arts\" .  } }", "answer": "2"}, {"question": "How many conservatories are registered with the Internal Revenue Service?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "Relate", "dependencies": [0], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["conservatory"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"conservatory\" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> \"Internal Revenue Service\" .   }", "answer": "5"}, {"question": "Which has the largest nominal GDP per capita among the republics whose Human Development Index is less than 0.3?", "choices": ["Mozambique", "Colombia", "Zimbabwe", "Niger", "Malawi", "Germany", "Namibia", "Rwanda", "Uganda", "Sierra Leone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Human Development Index", "0.3", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["nominal GDP per capita", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"0.3\"^^xsd:double ) . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Uganda"}, {"question": "What language is associated with the official website http://www.tonyawards.com/en_US/index.html for the theatre award that Vanessa Redgrave received in 2003?", "choices": ["German", "English", "Arabic", "Esperanto", "Norwegian", "Canadian English", "Spanish", "J\u00e8rriais", "Azerbaijani", "Old English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vanessa Redgrave"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["theatre award"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.tonyawards.com/en_US/index.html", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Vanessa Redgrave\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2003 . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tonyawards.com/en_US/index.html\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which one has more elevation above sea level between Englewood and Lynn (the one founded in 1629)?", "choices": ["Greenville", "Waukegan", "Franklin", "Compton", "Oakland", "Lynn", "Englewood", "New Haven", "Lansing", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Englewood"]}, {"function": "Find", "dependencies": [], "inputs": ["Lynn"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1629", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Englewood\" . } UNION { ?e <pred:name> \"Lynn\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1629 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Englewood"}, {"question": "What is the connection between Atticus Ross to record producer?", "choices": ["doctoral student", "occupation", "field of work", "terminus", "designated as terrorist by", "symptoms", "found", "programming language", "geography of topic", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atticus Ross"]}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Atticus Ross\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the beginning date that Sony becomes the copyright representative for The Beatles (whose genre is psychedelic rock)?", "choices": ["1727", "1740-12-16", "1920-08-11", "1971-01-12", "1998-08-27", "1282", "1701", "1918-03-12", "1988-09-10", "1995"], "program": [{"function": "Find", "dependencies": [], "inputs": ["psychedelic rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Beatles"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sony"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["copyright representative", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Beatles\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"psychedelic rock\" . ?e_2 <pred:name> \"Sony\" . ?e_1 <copyright_representative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <copyright_representative> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1995"}, {"question": "For which work did David Niven receive an Academy Award for Best Actor?", "choices": ["neolithic revolution", "Austria\u2013Slovenia border", "China\u2013Iraq relations", "31st Academy Awards", "Colorado\u2013Wyoming border", "Colombia\u2013Ecuador relations", "20th Tony Awards", "Bangladesh\u2013Sudan relations", "Earth radius", "Iran\u2013Turkey border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Niven"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Niven\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "31st Academy Awards"}, {"question": "The official website of the Daytime Emmy Award for Outstanding Children's Animated Program is in which language at http://www.emmyonline.org/daytime/?", "choices": ["English", "Hindi", "Yaqui", "Traditional Chinese", "Lower Sorbian", "Malagasy", "Austrian German", "Belarusian", "Ewe", "Indonesian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daytime Emmy Award for Outstanding Children's Animated Program"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.emmyonline.org/daytime/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Daytime Emmy Award for Outstanding Children's Animated Program\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.emmyonline.org/daytime/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Among counties of Indiana, established before 1827, which one covers the largest area ?", "choices": ["Monroe County", "Johnson County", "Marion County", "Madison County", "Delaware County", "Shelby County", "Lake County", "Hancock County", "Franklin County", "Allen County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1827", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1827 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allen County"}, {"question": "When did Dr.Dre start working?", "choices": ["1980", "1830", "1953", "1960", "1982", "1761", "1977-08-10", "1984", "1844", "1941"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dr. Dre"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dr. Dre\" . ?e <work_period_(start)> ?pv .  }", "answer": "1984"}, {"question": "What is the ISNI for the voice actor who portrays Lois Griffin on Family Guy?", "choices": ["0000 0001 2192 5641", "0000 0001 1474 4519", "0000 0001 2353 7626", "0000 0001 1009 0810", "0000 0001 1753 5464", "0000 0001 2122 2356", "0000 0000 4096 9255", "0000 0004 5099 5384", "0000 0001 1474 6266", "0000 0001 2337 3844"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Guy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["character role", "Lois Griffin"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> \"Family Guy\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Lois Griffin\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 4096 9255"}, {"question": "How many islands belong to the country of Denmark or have a life expectancy not equal to 85 years?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "85 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["island"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" .  { ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v != \"85\"^^xsd:double ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"Denmark\" .  } }", "answer": "3"}, {"question": "When was the University of Oxford college represented online at www.chch.ox.ac.uk founded?", "choices": ["1885-04-11", "1991-12-25", "1962-07-02", "1821-03-25", "1788-02-06", "1954-12-15", "1527", "1913-02-25", "1946", "1546-11-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.chch.ox.ac.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.chch.ox.ac.uk/\" . ?e <inception> ?pv .  }", "answer": "1546-11-04"}, {"question": "What is the official website of the TV series which features Brooke Shields as a cast member?", "choices": ["http://www.chrysler.com/", "https://www.sufc.co.uk/", "http://www.idalupino.com/home.html", "http://www.ci.springfield.oh.us/", "http://www.cbs.com/primetime/two_and_a_half_men", "http://ashantithisisme.com", "http://movies.disney.com/alice-in-wonderland-1951", "http://www.provincia.bz.it/", "http://www.karloff.com", "https://www.warnerbros.com/house-wax-2005"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brooke Shields"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Brooke Shields\" .  ?e <official_website> ?pv .  }", "answer": "http://www.cbs.com/primetime/two_and_a_half_men"}, {"question": "What is the connection between John Cale to celesta?", "choices": ["language used", "programming paradigm", "followed by", "award disciplines or subjects", "head of state", "honorific suffix", "partially contains", "source of material", "instrument", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cale"]}, {"function": "Find", "dependencies": [], "inputs": ["celesta"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Cale\" . ?e_2 <pred:name> \"celesta\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "What college is the employer of the person with an ISNI of 0000 0001 1628 7665?", "choices": ["Saint Mary's College of California", "Bard College", "Denison University", "Harvard College", "Morehouse College", "Trinity College", "Oberlin College", "Wheaton College", "University College Dublin", "Fashion Institute of Technology"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1628 7665"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["college"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e_1 <employer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1628 7665\" .   }", "answer": "Fashion Institute of Technology"}, {"question": "Among the states of India with rural population less than 210000000,which one has the smallest area ?", "choices": ["Goa", "Himachal Pradesh", "Rajasthan", "Jammu and Kashmir", "Assam", "West Bengal", "Karnataka", "Maharashtra", "Arunachal Pradesh", "Uttarakhand"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["rural population", "210000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <rural_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"210000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Goa"}, {"question": "In which city was Orlando Bloom born?", "choices": ["Kingston", "Cork", "Avignon", "Bristol", "Ferrara", "Kilkenny", "York", "Bergen", "Trieste", "Canterbury"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Orlando Bloom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Orlando Bloom\" .   }", "answer": "Canterbury"}, {"question": "Tell me the duration of Murphy Brown.", "choices": ["175 minute", "30 minute", "2576 second", "104 minute", "2359 second", "8 minute", "87 minute", "58 minute", "177 minute", "255 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Murphy Brown"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Murphy Brown\" . ?e <duration> ?pv .  }", "answer": "30 minute"}, {"question": "What is the connection between Hello, Dolly! (the one that was nominated for BAFTA Award for Best Actor in a Leading Role) to Barbra Streisand?", "choices": ["tributary", "director", "based on", "occupation", "head of government", "cast member", "director of photography", "located in the administrative territorial entity", "characters", "interests"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Leading Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hello, Dolly!"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Barbra Streisand"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hello, Dolly!\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"BAFTA Award for Best Actor in a Leading Role\" . ?e_2 <pred:name> \"Barbra Streisand\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How was it determined that the national association football team of Malta was ranked 70?", "choices": ["rated voltage", "Canada 2016 Census", "FIFA World Rankings", "demographic balance", "Family record booklet", "hearth tax", "register office", "Population registration in Sweden", "national estimation", "Sixth National Population Census of the People's Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "70", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Malta\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"70\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "Was the person who has the ISNI of 0000 0000 7252 3338 born in 1939?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7252 3338"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1939", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7252 3338\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1939 ) .  }", "answer": "yes"}, {"question": "How many theatre awards originate from the sovereign state that Norfolk County is located in?", "choices": ["13", "14", "15", "16", "17", "18", "19", "20", "21", "22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norfolk County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["theatre award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Norfolk County\" .   }", "answer": "17"}, {"question": "Who is taller, Henry James of the Los Angeles Clippers or Ross Turnbull of Darlington F.C.?", "choices": ["William Henry Harrison", "James E. Reilly", "Richard Gere", "Simon Cowell", "Ross Turnbull", "Sylvester Stallone", "Rahul Dev Burman", "Henry James", "Max Fleischer", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Clippers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Henry James"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Darlington F.C."]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ross Turnbull"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Henry James\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Los Angeles Clippers\" .   } UNION { ?e <pred:name> \"Ross Turnbull\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Darlington F.C.\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Henry James"}, {"question": "Which human was born in Huntington (whose above sea level elevation is 172 metres) and received at the 16th Screen Actors Guild Awards?", "choices": ["Rahul Dev Burman", "Max Fleischer", "David Byrne", "Brad Dourif", "Aaron Staton", "William Henry Harrison", "Jeff Bridges", "Jon Hamm", "Richard Gere", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Huntington"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "172 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["16th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Huntington\" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"172\"^^xsd:double .  ?e <award_received> ?e_2 . ?e_2 <pred:name> \"16th Screen Actors Guild Awards\" .  }", "answer": "Aaron Staton"}, {"question": "Tell me the relationship between red and FC Ingolstadt 04", "choices": ["main subject", "soundtrack album", "time period", "foundational text", "geography of topic", "captain", "published in", "office held by head of government", "airline hub", "official color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Ingolstadt 04"]}, {"function": "Find", "dependencies": [], "inputs": ["red"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"FC Ingolstadt 04\" . ?e_2 <pred:name> \"red\" . ?e_1 ?p ?e_2 .  }", "answer": "official color"}, {"question": "Which Jennifer Esposito work earned the Broadcast Film Critics Association Award for Best Cast?", "choices": ["Mike's New Car", "Crash", "International Crook", "City of Hope", "Ryan's Daughter", "Pigeon Feathers and Other Stories", "Skyfall", "Gandhi", "A Time to Kill", "There Will Be Blood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Find", "dependencies": [], "inputs": ["Jennifer Esposito"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_2 <pred:name> \"Jennifer Esposito\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Crash"}, {"question": "How many classes of instruments originate from the state known by the demonym lituana?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "lituana"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["class of instruments"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"lituana\" .   }", "answer": "0"}, {"question": "What number of civil wars ended before 2011?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "2011", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["civil war"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"civil war\" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  }", "answer": "4"}, {"question": "What is the connection between Fisk University and United States of America?", "choices": ["position played on team / speciality", "health specialty", "founded by", "affiliation", "country", "series spin-off", "territory claimed by", "narrator", "capital of", "publisher"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fisk University"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fisk University\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is the Munzinger IBA for the person using the Twitter username of johnmturturro 00000022075 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "johnmturturro"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000022075"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"johnmturturro\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000022075\" .  }", "answer": "no"}, {"question": "What is the Brendan Gleeson's character role in Harry Potter and the Order of the Phoenix (the one that has Geraldine Somerville as a cast member) ?", "choices": ["Robert McNamara", "Sonny Corleone", "Alastor Moody", "Batgirl", "Andrew Martin", "Allan Quatermain", "Catwoman", "Tess Ocean", "David Tapp", "ACME Chairman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geraldine Somerville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Order of the Phoenix"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brendan Gleeson"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harry Potter and the Order of the Phoenix\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Geraldine Somerville\" . ?e_2 <pred:name> \"Brendan Gleeson\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Alastor Moody"}, {"question": "Which World Trade Organization member state is situated on the Lesser Antilles?", "choices": ["Kazakhstan", "Jamaica", "Saint Vincent and the Grenadines", "Lithuania", "Tajikistan", "Papua New Guinea", "Malta", "Grenada", "Kosovo", "Finland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World Trade Organization"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Find", "dependencies": [], "inputs": ["Lesser Antilles"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located on terrain feature", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"World Trade Organization\" .  ?e <located_on_terrain_feature> ?e_2 . ?e_2 <pred:name> \"Lesser Antilles\" .  }", "answer": "Grenada"}, {"question": "What organization has ISNI 0000 0001 1432 0740?", "choices": ["Saint Petersburg Conservatory", "Royal Naval Air Service", "Supreme Court of the United States", "E. W. Scripps Company", "Eastman School of Music", "Pfizer", "Cleveland Institute of Music", "Academy of Television Arts & Sciences", "United Methodist Church", "McDonald's"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1432 0740"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1432 0740\" .  }", "answer": "United Methodist Church"}, {"question": "What is the ISNI of a person famous for anarcho-punk ?", "choices": ["0000 0001 0776 8432", "0000 0001 2142 2411", "0000 0001 2253 946X", "0000 0001 2248 6740", "0000 0001 2148 1833", "0000 0000 9448 9783", "0000 0001 1768 6131", "0000 0001 1691 8041", "0000 0001 0910 4306", "0000 0004 5817 9189"], "program": [{"function": "Find", "dependencies": [], "inputs": ["anarcho-punk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"anarcho-punk\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 0776 8432"}, {"question": "What is the connection between Tanzania to Swahili?", "choices": ["manufacturer", "cast member", "religion", "successful candidate", "official language", "captain", "officially opened by", "film regional debut venue", "contributor(s) to the creative work", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tanzania"]}, {"function": "Find", "dependencies": [], "inputs": ["Swahili"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tanzania\" . ?e_2 <pred:name> \"Swahili\" . ?e_1 ?p ?e_2 .  }", "answer": "official language"}, {"question": "How many water areas are a part of the Atlantic Ocean or are located in Idaho whose elevation is 1524 meters above sea level?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "Find", "dependencies": [], "inputs": ["Idaho"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["elevation above sea level", "1524 metre", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["water area"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Atlantic Ocean\" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Idaho\" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"1524\"^^xsd:double .  } }", "answer": "4"}, {"question": "When was Unstoppable distributed by Sony Pictures Home Entertainment published?", "choices": ["2004-01-01", "2000-10-19", "2016-09-01", "1942-01-28", "2008-04-30", "2012-03-09", "1989-12-26", "2002-03-22", "1978-12-14", "1982-04-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony Pictures Home Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Unstoppable"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Unstoppable\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Sony Pictures Home Entertainment\" .  ?e <publication_date> ?pv .  }", "answer": "2004-01-01"}, {"question": "Does Fish Tank or Gone with the Wind (the one whose producer is David O. Selznick) have less duration?", "choices": ["Talk to Her", "Training Day", "Pleasantville", "The Hunchback of Notre Dame", "Rebecca", "The Towering Inferno", "A Prairie Home Companion", "Gone with the Wind", "Fish Tank", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fish Tank"]}, {"function": "Find", "dependencies": [], "inputs": ["David O. Selznick"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gone with the Wind"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fish Tank\" .  } UNION { ?e <pred:name> \"Gone with the Wind\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"David O. Selznick\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fish Tank"}, {"question": "Which movie is longer, South Park: Bigger, Longer & Uncut or Small Soldiers?", "choices": ["Rebecca", "Curse of the Golden Flower", "South Park: Bigger, Longer & Uncut", "A Prairie Home Companion", "Training Day", "The Fifth Element", "Small Soldiers", "The Towering Inferno", "Pleasantville", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Park: Bigger, Longer & Uncut"]}, {"function": "Find", "dependencies": [], "inputs": ["Small Soldiers"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Park: Bigger, Longer & Uncut\" .  } UNION { ?e <pred:name> \"Small Soldiers\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Small Soldiers"}, {"question": "Among the California counties with a population of less than 89000000, which one has the largest area?", "choices": ["Inyo County", "Alameda County", "San Bernardino County", "Siskiyou County", "Solano County", "Contra Costa County", "Lake County", "Mono County", "Nevada County", "Mariposa County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "89000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"89000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Bernardino County"}, {"question": "Which has more seasons, Eve with 3 seasons or Torchwood?", "choices": ["Robot Chicken", "Seinfeld", "Bleak House", "Game of Thrones", "Six Feet Under", "Torchwood", "Dancing with the Stars", "Saturday Night's Main Event", "American Horror Story", "Eve"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eve"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "3", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Torchwood"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eve\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3\"^^xsd:double . } UNION { ?e <pred:name> \"Torchwood\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Torchwood"}, {"question": "Which one of  Niagara Falls (the one whose elevation (above sea level) is 187 metre) and Athens (the one that is the residence of Michael Stipe)  has lower elevation (above sea level)?", "choices": ["Lansing", "Greenville", "New Haven", "Columbus", "Compton", "Oakland", "Niagara Falls", "Franklin", "Waukegan", "Athens"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Niagara Falls"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "187 metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Stipe"]}, {"function": "Relate", "dependencies": [2], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Athens"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Niagara Falls\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"187\"^^xsd:double . } UNION { ?e <pred:name> \"Athens\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Michael Stipe\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Niagara Falls"}, {"question": "Does Morgan Freeman or Robert Downey Jr. have a greater net worth?", "choices": ["William Henry Harrison", "Paul Simon", "Sylvester Stallone", "Simon Cowell", "Morgan Freeman", "Robert Downey Jr.", "Max Fleischer", "David Byrne", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morgan Freeman"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Downey Jr."]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Morgan Freeman\" .  } UNION { ?e <pred:name> \"Robert Downey Jr.\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Robert Downey Jr."}, {"question": "Which Golden Globe Awards precedes the event's 67th edition?", "choices": ["57th Golden Globe Awards", "59th Golden Globe Awards", "65th Golden Globe Awards", "60th Golden Globe Awards", "68th Golden Globe Awards", "55th Golden Globe Awards", "66th Golden Globe Awards", "67th Golden Globe Awards", "64th Golden Globe Awards", "28th Golden Globe Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["67th Golden Globe Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Globe Award ceremony"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Globe Award ceremony\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"67th Golden Globe Awards\" .   }", "answer": "66th Golden Globe Awards"}, {"question": "Is https://teamcoco.com/ the official website of the 2007 NFL Draft?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2007 NFL Draft"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://teamcoco.com/"]}], "sparql": "ASK { ?e <pred:name> \"2007 NFL Draft\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://teamcoco.com/\" .  }", "answer": "no"}, {"question": "Does the visual artwork titled \u0935\u093e\u0902\u091f\u0947\u0921 clock in at under 300 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u0935\u093e\u0902\u091f\u0947\u0921"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["300 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u0935\u093e\u0902\u091f\u0947\u0921\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"300\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Was Roman Polanski born before 1982?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roman Polanski"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1982", "<"]}], "sparql": "ASK { ?e <pred:name> \"Roman Polanski\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  }", "answer": "yes"}, {"question": "Was Colleen Atwood born after 1939?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colleen Atwood"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1939", ">"]}], "sparql": "ASK { ?e <pred:name> \"Colleen Atwood\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1939 ) .  }", "answer": "yes"}, {"question": "Is the birthdate of Roy Thomas (who died in Norristown) before the year 1982?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norristown"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Roy Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1982", "<"]}], "sparql": "ASK { ?e <pred:name> \"Roy Thomas\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Norristown\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  }", "answer": "yes"}, {"question": "Which area has higher elevation above sea level, Rabat or Ludhiana?", "choices": ["Bergen", "Abidjan", "Cork", "Ludhiana", "Rabat", "Chihuahua", "Santo Domingo", "Trieste", "Kingston", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rabat"]}, {"function": "Find", "dependencies": [], "inputs": ["Ludhiana"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rabat\" .  } UNION { ?e <pred:name> \"Ludhiana\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ludhiana"}, {"question": "Is Beverly Hill resident Amy Adams taller, or is Cynthia Watros?", "choices": ["Paul Simon", "Rahul Dev Burman", "Cynthia Watros", "Richard Gere", "Max Fleischer", "Sylvester Stallone", "James E. Reilly", "Simon Cowell", "William Henry Harrison", "Amy Adams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beverly Hills"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amy Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cynthia Watros"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amy Adams\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Beverly Hills\" .   } UNION { ?e <pred:name> \"Cynthia Watros\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cynthia Watros"}, {"question": "Is Tokyo, birthplace of Shin-ichiro Miki, or Parma lower in elevation?", "choices": ["Chihuahua", "Parma", "Tokyo", "Kingston", "Kilkenny", "Dundee", "Trieste", "Cork", "Abidjan", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shin-ichiro Miki"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tokyo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Parma"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tokyo\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Shin-ichiro Miki\" .   } UNION { ?e <pred:name> \"Parma\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tokyo"}, {"question": "How is Aruba connected to the Lesser Antilles?", "choices": ["derivative work", "developer", "nutrient", "editor", "part of", "geography of topic", "ethnic group", "has cause", "collection", "interested in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aruba"]}, {"function": "Find", "dependencies": [], "inputs": ["Lesser Antilles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Aruba\" . ?e_2 <pred:name> \"Lesser Antilles\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "How many US cities have the demonym Angeleno or have a founding year besides 1830?", "choices": ["477", "478", "479", "480", "481", "482", "483", "484", "485", "486"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1830", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["demonym", "Angeleno"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1830 ) .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> \"Angeleno\" .  } }", "answer": "478"}, {"question": "What Texas county has the smallest area of those that have a population less than 1,300,000,000?", "choices": ["Dallas County", "Galveston County", "Travis County", "Hidalgo County", "El Paso County", "Johnson County", "Collin County", "Jefferson County", "Montgomery County", "Bexar County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1300000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"1300000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Johnson County"}, {"question": "CANTIC-ID a1078391x corresponds to which cast member of Walk Hard: The Dewey Cox Story?", "choices": ["David Byrne", "Sylvester Stallone", "Jackson Browne", "Ed Helms", "Jane Lynch", "William Henry Harrison", "Jonah Hill", "Rahul Dev Burman", "David Krumholtz", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1078391x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Walk Hard: The Dewey Cox Story"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a1078391x\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Walk Hard: The Dewey Cox Story\" .  }", "answer": "Jackson Browne"}, {"question": "Which one has a longer duration between Thor (the one that received a Saturn Award for Best Costume) or Abraham Lincoln (the one that become public domain date is 1958-01-01)?", "choices": ["Thor", "The Fifth Element", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "Abraham Lincoln", "Rebecca", "Curse of the Golden Flower", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Costume"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Abraham Lincoln"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["public domain date", "1958-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thor\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Saturn Award for Best Costume\" . } UNION { ?e <pred:name> \"Abraham Lincoln\" . ?e <public_domain_date> ?pv_1 . ?pv_1 <pred:date> \"1958-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Thor"}, {"question": "What is the time period that 48441 is the population of the state whose country is the United Kingdom?", "choices": ["2002-02-13", "1960-04-01", "1817-01-01", "1962-04-09", "1811-01-01", "1972-12-01", "1992", "2010-01-01", "1960", "2010-09-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "48441", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"48441\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1960"}, {"question": "What is the association of The Merry Widow (that has Irene Lentz as a cast member) with Irene Lentz?", "choices": ["chairperson", "subject has role", "director", "superhuman feature or ability", "contains settlement", "characters", "family name", "architect", "twinned administrative body", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irene Lentz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Irene Lentz"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Merry Widow\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Irene Lentz\" . ?e_2 <pred:name> \"Irene Lentz\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What land vehicle is the product or material produced by an organization with Instagram username 'ford' ?", "choices": ["The Motorcycle Diaries", "Laraine Day", "Ann Roth", "train", "Relativity Records", "Patrick Gallagher", "Salzburg", "Newcastle", "Edwin B. Willis", "passenger car"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "ford"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["product or material produced", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["land vehicle"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land vehicle\" . ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"ford\" .   }", "answer": "passenger car"}, {"question": "Which has the largest area among the metropolitan areas whose area is less than 7100000 square kilometres?", "choices": ["New Orleans metropolitan area", "San Francisco Bay Area", "Greater Los Angeles Area", "Greater St. Louis", "New York metropolitan area", "Pittsburgh metropolitan area", "Seattle metropolitan area", "Chicago metropolitan area", "Portland metropolitan area", "Washington metropolitan area"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "7100000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"7100000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chicago metropolitan area"}, {"question": "What French film is named Die lustige Witwe?", "choices": ["Pleasantville", "Cave of Forgotten Dreams", "A Prairie Home Companion", "Talk to Her", "The Barbarian Invasions", "Cosmopolis", "The Merry Widow", "Stargate", "Paddington", "The White Ribbon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Die lustige Witwe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Die lustige Witwe\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"France\" .  }", "answer": "The Merry Widow"}, {"question": "What is the official website of the film that followed Bruce Almighty?", "choices": ["http://www.bbc.co.uk/programmes/b00nxkm8", "http://www.cityofmuskogee.com", "http://www.ci.upland.ca.us", "http://www.eragonmovie.com/", "http://www.evanalmighty.com/", "http://www.osomeafuria.com/films/3/35/", "https://www.adelaideunited.com.au/", "http://www.gov.im/", "http://www.sv-eintracht-trier05.de/", "http://movies.disney.com/treasure-planet"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruce Almighty"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Bruce Almighty\" .  ?e <official_website> ?pv .  }", "answer": "http://www.evanalmighty.com/"}, {"question": "What is the official website of the Golden Raspberry Award for Worst Supporting Actress?", "choices": ["http://www.coralgables.com/", "http://www.aberdeencity.gov.uk/", "http://www.uab.edu", "http://www.burundi-gov.bi/", "http://www.preston.gov.uk/", "http://www.bicentennialman.com", "http://www.razzies.com/", "http://www.longviewtx.com/", "http://www.katyperry.com/", "http://www.brisbane.qld.gov.au/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" . ?e <official_website> ?pv .  }", "answer": "http://www.razzies.com/"}, {"question": "What is the relationship between Beijing Guoan F.C. to Beijing?", "choices": ["sex or gender", "instrument", "theme music", "legal form", "designed by", "location of formation", "taxon rank", "public holiday", "tributary", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beijing Guoan F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Beijing"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Beijing Guoan F.C.\" . ?e_2 <pred:name> \"Beijing\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which one has a longer duration This Means War or Edward Scissorhands.", "choices": ["Rebecca", "The Fifth Element", "The Towering Inferno", "Talk to Her", "Curse of the Golden Flower", "Pleasantville", "A Prairie Home Companion", "Edward Scissorhands", "Training Day", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["This Means War"]}, {"function": "Find", "dependencies": [], "inputs": ["Edward Scissorhands"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"This Means War\" .  } UNION { ?e <pred:name> \"Edward Scissorhands\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Edward Scissorhands"}, {"question": "Is the Dewey Decimal Classification of Compton 211.7 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Compton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["211.7"]}], "sparql": "ASK { ?e <pred:name> \"Compton\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"211.7\" .  }", "answer": "no"}, {"question": "How many Academy Awards ceremony has http://www.oscar.com as their official website or 31 as edition number?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.oscar.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "31"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.oscar.com\" .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> \"31\" .  } }", "answer": "4"}, {"question": "Is the local dialing code of Florence (the one whose PermID is 5035742632) the same as (+32) 16?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Florence"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5035742632"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["(+32) 16"]}], "sparql": "ASK { ?e <pred:name> \"Florence\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5035742632\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"(+32) 16\" .  }", "answer": "no"}, {"question": "Are the number of employees greater for AT&T or Saint Petersburg Conservatory?", "choices": ["Vodafone", "McDonald's", "Sega", "Entertainment One", "KLM", "Adobe Inc.", "Silver Pictures", "AT&T", "Pfizer", "Skidmore Owings Merrill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AT&T"]}, {"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg Conservatory"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"AT&T\" .  } UNION { ?e <pred:name> \"Saint Petersburg Conservatory\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "AT&T"}, {"question": "How is tomato related to L-Tyrosine?", "choices": ["famous people", "influenced by", "nutrient", "mountain range", "manufacturer", "Wikidata property", "model item", "original film format", "subject has role", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["tomato"]}, {"function": "Find", "dependencies": [], "inputs": ["L-Tyrosine"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"tomato\" . ?e_2 <pred:name> \"L-Tyrosine\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "Which feature film has the largest duration?", "choices": ["Gulliver's Travels", "Fiddler on the Roof", "Pirates of the Caribbean: At World's End", "Pirates of the Caribbean: The Curse of the Black Pearl", "Beauty and the Beast", "The Straight Story", "Wallace & Gromit: The Curse of the Were-Rabbit", "Secretariat", "Pirates of the Caribbean: On Stranger Tides", "Alvin and the Chipmunks: Chipwrecked"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterConcept", "dependencies": [0], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [1], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fiddler on the Roof"}, {"question": "Where was Rambo III published on 2008-02-14?", "choices": ["Tokyo", "Washington, D.C.", "Jordan", "Sorrento", "Egypt", "Davao City", "2008 Toronto International Film Festival", "Germany", "Turkey", "Grauman's Chinese Theatre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rambo III"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2008-02-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Rambo III\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2008-02-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "At what point in time is 93275 the population of Wayne County (whose land area is 3585 square kilometers)?", "choices": ["2018-10-05", "1987-12-01", "2011-07-01", "250", "2014-04-01", "1772-12-01", "800", "1899-12-31", "1961-04-17", "2008-10-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wayne County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "3585 square kilometre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "93275", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Wayne County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"3585\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"93275\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "How is Cave of Forgotten Dreams related to Spain?", "choices": ["afflicts", "production designer", "film release region", "practiced by", "professional or sports partner", "chairperson", "doctoral student", "has contributing factor", "part of", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cave of Forgotten Dreams"]}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cave of Forgotten Dreams\" . ?e_2 <pred:name> \"Spain\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Which one has less area, Carroll County (bordering on Grafton County) or Ramsey County?", "choices": ["Delaware County", "Greene County", "San Juan County", "Lee County", "Carroll County", "Washoe County", "Ramsey County", "African Union", "Cass County", "Orange County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grafton County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carroll County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ramsey County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carroll County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Grafton County\" .   } UNION { ?e <pred:name> \"Ramsey County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ramsey County"}, {"question": "Is the ISBN-10 equal to 0-394-49821-6 for the written work derived from Interview with the Vampire (the one whose script is wrote by Anne Rice)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne Rice"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Interview with the Vampire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISBN-10"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["0-394-49821-6"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Interview with the Vampire\" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> \"Anne Rice\" .  ?e <ISBN-10> ?pv . ?pv <pred:value> \"0-394-49821-6\" .  }", "answer": "yes"}, {"question": "Does Libris-URI code gdsvz3502mqxs13 designate Zhang Yimou ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zhang Yimou"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["gdsvz3502mqxs13"]}], "sparql": "ASK { ?e <pred:name> \"Zhang Yimou\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"gdsvz3502mqxs13\" .  }", "answer": "yes"}, {"question": "Is the run-time longer for Jumper or Hud?", "choices": ["Talk to Her", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "Training Day", "The Fifth Element", "Hud", "Jumper", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jumper"]}, {"function": "Find", "dependencies": [], "inputs": ["Hud"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jumper\" .  } UNION { ?e <pred:name> \"Hud\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hud"}, {"question": "Did the animated film in alternate history not have 430 episodes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternate history"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["430", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"alternate history\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"430\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Who was the member of the a national association football team whose member was Bob Roberts (the one that was born in West Bromwich), until 1921 ?", "choices": ["John Ruddy", "Richard Gere", "Ben Foster", "David Byrne", "Jim Taylor", "William Henry Harrison", "Robert Evans", "George Harrison", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Bromwich"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bob Roberts"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "Relate", "dependencies": [5], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [6], "inputs": ["end time", "1921", "="]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"national association football team\" . ?e_2 <member_of_sports_team> ?e_1 . ?e_2 <pred:name> \"Bob Roberts\" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"West Bromwich\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1921 .  }", "answer": "George Harrison"}, {"question": "What independent city having a population greater than 21000 has the largest area?", "choices": ["Danville", "Roanoke", "Richmond", "Fairfax", "Norfolk", "Charlottesville", "Newport News", "Virginia Beach", "Chesapeake", "Winchester"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "21000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"21000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Virginia Beach"}, {"question": "How many Washington counties border Jefferson County whose area is 5655 square kilometers or whose population is not 2400?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "5655 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Washington"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "2400", "!="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Washington"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Jefferson County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"5655\"^^xsd:double .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2400\"^^xsd:double ) .  } }", "answer": "16"}, {"question": "Which has more students, University of Oregon or Queen Mary University of London?", "choices": ["University of Manchester", "McNeese State University", "Panjab University", "Imperial College London", "McMaster University", "King's College London", "Presidency University", "University of Oregon", "Queen Mary University of London", "University of Tehran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Oregon"]}, {"function": "Find", "dependencies": [], "inputs": ["Queen Mary University of London"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Oregon\" .  } UNION { ?e <pred:name> \"Queen Mary University of London\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Queen Mary University of London"}, {"question": "Was Jim Belushi's work period start not in 1998?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Belushi"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1998", "!="]}], "sparql": "ASK { ?e <pred:name> \"Jim Belushi\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) .  }", "answer": "yes"}, {"question": "How is The Rescuers related to John Fiedler?", "choices": ["organisation directed from the office or person", "military rank", "located on terrain feature", "voice actor", "subsidiary", "owner of", "depicts", "talk show guest", "instrumentation", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Rescuers"]}, {"function": "Find", "dependencies": [], "inputs": ["John Fiedler"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Rescuers\" . ?e_2 <pred:name> \"John Fiedler\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Does Kate Hudson or Mickey Rooney have fewer children?", "choices": ["Richard Gere", "Rahul Dev Burman", "David Byrne", "Sylvester Stallone", "James E. Reilly", "Kate Hudson", "Paul Simon", "William Henry Harrison", "Simon Cowell", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kate Hudson"]}, {"function": "Find", "dependencies": [], "inputs": ["Mickey Rooney"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kate Hudson\" .  } UNION { ?e <pred:name> \"Mickey Rooney\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kate Hudson"}, {"question": "What is the official website for Roger Moore, who was born in 1943?", "choices": ["http://www.hairspraymovie.com/", "http://stevenseagal.com/", "https://www.bleeckerstreetmedia.com/beirut", "http://www.nba.com/wizards/", "http://lifeandtimes.com", "http://necmusic.edu", "http://www.mgm.com/view/movie/231/The-World-Is-Not-Enough", "http://www.co.weber.ut.us", "http://www.rogermoorephotography.com", "http://www.jiangsu.gov.cn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roger Moore"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1943", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Roger Moore\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 1943 . ?e <official_website> ?pv .  }", "answer": "http://www.rogermoorephotography.com"}, {"question": "Which company has more employees, Lockheed Martin or Samsung Electronics?", "choices": ["Entertainment One", "Lockheed Martin", "Vodafone", "Sega", "Adobe Inc.", "KLM", "Samsung Electronics", "Skidmore Owings Merrill", "Pfizer", "Silver Pictures"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lockheed Martin"]}, {"function": "Find", "dependencies": [], "inputs": ["Samsung Electronics"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lockheed Martin\" .  } UNION { ?e <pred:name> \"Samsung Electronics\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Samsung Electronics"}, {"question": "What language is associated with the official website http://www.slc.edu for the liberal arts college in the United States whose ISNI is 0000 0001 0664 1974?", "choices": ["Yaqui", "Cook Islands M\u0101ori", "Toki Pona", "Macedonian", "Indian English", "Canadian French", "France", "Austrian German", "British English", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0664 1974"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.slc.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0664 1974\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.slc.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between Philadelphia (the one whose publication date is 1994) to Reprise Records?", "choices": ["chairperson", "voice actor", "product or material produced", "doctoral student", "patron saint", "soundtrack album", "seed team", "record label", "present in work", "partner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philadelphia"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1994", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Reprise Records"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Philadelphia\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1994 . ?e_2 <pred:name> \"Reprise Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "How is Universal Pictures (produced by Analyze This) connected to Comcast?", "choices": ["located on astronomical location", "taxon rank", "educated at", "father", "original network", "language of work or name", "owned by", "occupation", "organizer", "child astronomical body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Analyze This"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Universal Pictures"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Comcast"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Universal Pictures\" . ?e_3 <production_company> ?e_1 . ?e_3 <pred:name> \"Analyze This\" . ?e_2 <pred:name> \"Comcast\" . ?e_1 ?p ?e_2 .  }", "answer": "owned by"}, {"question": "What is the connection between Australia (the one that origins from Belgium) to French?", "choices": ["original language of film or TV show", "airline alliance", "country for sport", "afflicts", "capital", "original film format", "film crew member", "located in time zone", "voice actor", "residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Australia\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"Belgium\" . ?e_2 <pred:name> \"French\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "What point in time did Chevy Chase receive a Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program?", "choices": ["2002-10-01", "1964-04-13", "1905-12-01", "1917-12-01", "1930-10-01", "1857-01-01", "1976", "1730", "1974-12-01", "1880-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chevy Chase"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chevy Chase\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1976"}, {"question": "What is cast member Nicolas Cage's character role in Ghost Rider, which was published 2007-02-22?", "choices": ["Leland Stottlemeyer", "Gail", "Seti I", "Lizard", "Drew Bundini Brown", "Eddard Stark", "Satan", "Ghost Rider", "Vincent Chase", "Phil Cerreta"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ghost Rider"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-02-22", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Nicolas Cage"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ghost Rider\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2007-02-22\"^^xsd:date . ?e_2 <pred:name> \"Nicolas Cage\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Ghost Rider"}, {"question": "How many classes of award are in the sovereign state country whose WOEID is 23424975?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "23424975"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["class of award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <WOEID> ?pv . ?pv <pred:value> \"23424975\" .   }", "answer": "15"}, {"question": "Which one has more elevation above sea level among the human settlement that shares border with Verona (the one whose area is 2.776 square miles)?", "choices": ["Verona", "Whanganui", "Livingston", "Montclair", "Wexford", "North Hollywood", "Red Bank", "Princeton", "Ridgewood", "West Orange"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Verona"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2.776 square mile", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Verona\" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> \"2.776\"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "West Orange"}, {"question": "What was the founding date of the record label whose official English-language website is http://www.curb.com ?", "choices": ["1905-09-10", "1811-02-09", "1851-01-01", "1925-04-04", "1900", "1948", "1836-05-14", "1973", "1974-04-01", "1991-09-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.curb.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.curb.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv .  }", "answer": "1973"}, {"question": "What does Chicago (which has cast member Christine Baranski) have to do with Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role?", "choices": ["movement", "parent club", "nominated for", "risk factor", "office held by head of the organisation", "presenter", "author", "instrument", "this taxon is source of", "director/manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christine Baranski"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chicago\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Christine Baranski\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Does ISNI 0000 0004 0521 0031 denote the person who won at the 1987 Primetime Emmy Awards for Outstanding Supporting Actor in a Miniseries or a Movie ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1987", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0004 0521 0031"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1987 . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0521 0031\" .  }", "answer": "no"}, {"question": "Tell me the subject of this statement, France has a diplomatic relation with United Arab Emirates.", "choices": ["Germany\u2013Malawi relations", "89th Academy Awards", "South Africa\u2013Ukraine relations", "Colombia\u2013Israel relations", "Canada\u2013Russia relations", "Bhutan\u2013India relations", "Ireland\u2013South Africa relations", "Denmark\u2013Mexico relations", "Bulgaria\u2013Canada relations", "France\u2013United Arab Emirates relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Find", "dependencies": [], "inputs": ["United Arab Emirates"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"France\" . ?e_2 <pred:name> \"United Arab Emirates\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "France\u2013United Arab Emirates relations"}, {"question": "With its publication date on 1967-11-06, where is War and Peace (the one whose original language is Russian) published?", "choices": ["Turkey", "Pakistan", "2004 Cannes Film Festival", "Bolivia", "Grauman's Chinese Theatre", "Peru", "Sweden", "Taormina Film Fest", "London", "Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1967-11-06", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"War and Peace\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Russian\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1967-11-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "Is -0.9 percent the inflation rate on the date 2015-01-01 for the sovereign state whose CIVICUS Monitor country entry is romania?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CIVICUS Monitor country entry", "romania"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["inflation rate", "point in time", "2015-01-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["-0.9 percentage", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <CIVICUS_Monitor_country_entry> ?pv_1 . ?pv_1 <pred:value> \"romania\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"-0.9\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2015-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "When was Mandy Moore no longer the wife of Ryan Adams, born on 1974-11-05?", "choices": ["2014-01-01", "1948-01-01", "1995-01-03", "2017-04-16", "1972-12-31", "1998-05-14", "1963-07-07", "1969", "1814-05-29", "1991-09-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mandy Moore"]}, {"function": "Find", "dependencies": [], "inputs": ["Ryan Adams"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of birth", "1974-11-05", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["spouse", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mandy Moore\" . ?e_2 <pred:name> \"Ryan Adams\" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> \"1974-11-05\"^^xsd:date . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What is the time point of the national association football team whose official name is \u0395\u03b8\u03bd\u03b9\u03ba\u03ae \u0395\u03bb\u03bb\u03ac\u03b4\u03bf\u03c2 and ranking is 21?", "choices": ["2015-02-22", "1994-03-15", "1983-12-01", "1989-03-29", "2002-09-18", "1959-04-06", "1960-04-01", "2006-03-15", "1976-12-01", "1866"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u0395\u03b8\u03bd\u03b9\u03ba\u03ae \u0395\u03bb\u03bb\u03ac\u03b4\u03bf\u03c2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "21", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u0395\u03b8\u03bd\u03b9\u03ba\u03ae \u0395\u03bb\u03bb\u03ac\u03b4\u03bf\u03c2\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"21\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2006-03-15"}, {"question": "Is 93755 the correct postal code for Montmartre Cemetary?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montmartre Cemetery"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["93755"]}], "sparql": "ASK { ?e <pred:name> \"Montmartre Cemetery\" . ?e <postal_code> ?pv . ?pv <pred:value> \"93755\" .  }", "answer": "no"}, {"question": "What is the connection between Dortmund to Buffalo?", "choices": ["musical conductor", "statistical leader", "next lower rank", "has effect", "architectural style", "home world", "twinned administrative body", "works in collection", "occupation", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dortmund"]}, {"function": "Find", "dependencies": [], "inputs": ["Buffalo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dortmund\" . ?e_2 <pred:name> \"Buffalo\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Is Knocked Up or Valkyrie longer?", "choices": ["The Towering Inferno", "Pleasantville", "Rebecca", "Valkyrie", "Training Day", "The Fifth Element", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Knocked Up", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Knocked Up"]}, {"function": "Find", "dependencies": [], "inputs": ["Valkyrie"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Knocked Up\" .  } UNION { ?e <pred:name> \"Valkyrie\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Knocked Up"}, {"question": "What is the connection between Breaking Bad and Anna Gunn?", "choices": ["military casualty classification", "different from", "patron saint", "inspired by", "convicted of", "applies to jurisdiction", "parent organization", "cast member", "spouse", "licensed to broadcast to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Breaking Bad"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Gunn"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Breaking Bad\" . ?e_2 <pred:name> \"Anna Gunn\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which movie is shorter, Tulsa (the one whose narrative location is Oklahoma) or Jack and Jill?", "choices": ["Training Day", "Pleasantville", "A Prairie Home Companion", "Tulsa", "Jack and Jill", "Rebecca", "Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oklahoma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tulsa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jack and Jill"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tulsa\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Oklahoma\" .   } UNION { ?e <pred:name> \"Jack and Jill\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tulsa"}, {"question": "What is the connection between Death on the Nile (whose production company is Paramount Pictures) and David Niven?", "choices": ["platform", "contains administrative territorial entity", "head of government", "employer", "located on astronomical location", "winner", "cast member", "significant event", "general manager", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Death on the Nile"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Niven"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Death on the Nile\" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> \"Paramount Pictures\" . ?e_2 <pred:name> \"David Niven\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who has a Munzinger IBA of 00000020177 and has a native language of English?", "choices": ["James A. Garfield", "Samuel Beckett", "Max Fleischer", "Richard Gere", "Alan Moore", "Sandra Bullock", "Sylvester Stallone", "William S. Burroughs", "Dick Van Dyke", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020177"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [3], "inputs": ["native language", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020177\" . ?e <native_language> ?e_1 . ?e_1 <pred:name> \"English\" .  }", "answer": "William S. Burroughs"}, {"question": "Did the war that started on 1853-10-01 not end in 1936?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1853-10-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1936", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1853-10-01\"^^xsd:date . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1936 ) .  }", "answer": "yes"}, {"question": "What is the date of birth for Aurora who is on the record label Decca?", "choices": ["1961-06-24", "1955-05-10", "1969-01-29", "1923-04-04", "1996-06-15", "1963-03-11", "1965-03-26", "1788-02-22", "1926-04-30", "1934-04-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Decca"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aurora"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Aurora\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Decca\" .  ?e <date_of_birth> ?pv .  }", "answer": "1996-06-15"}, {"question": "What is the connection between The Family Man (the one that has Jeremy Piven as a cast member) to United States of America?", "choices": ["derivative work", "given name", "language used", "from fictional universe", "director", "coextensive with", "airline alliance", "conferred by", "country of origin", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Piven"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Family Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Family Man\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Jeremy Piven\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Who has fewer children, Dr. Dre or Jimmy Smits?", "choices": ["Max Fleischer", "William Henry Harrison", "Dr. Dre", "Paul Simon", "Sylvester Stallone", "Jimmy Smits", "Richard Gere", "David Byrne", "James E. Reilly", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dr. Dre"]}, {"function": "Find", "dependencies": [], "inputs": ["Jimmy Smits"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dr. Dre\" .  } UNION { ?e <pred:name> \"Jimmy Smits\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jimmy Smits"}, {"question": "Which movie is longer, The Lady (the one that origins from United States of America) or Red Dragon (the one that has Harvey Keitel as a cast member)?", "choices": ["Curse of the Golden Flower", "Pleasantville", "Talk to Her", "The Towering Inferno", "Red Dragon", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "The Fifth Element", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lady"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Harvey Keitel"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Red Dragon"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Lady\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Red Dragon\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Harvey Keitel\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Red Dragon"}, {"question": "Which of the miniseries by Stephen King (the one from Maine) has the largest number of episodes?", "choices": ["George Washington", "Emma", "Edge of Darkness", "The Ten Commandments", "Battlestar Galactica", "The Shining", "The Diary of Anne Frank", "The Pacific", "The Civil War", "Roots"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Stephen King\" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> \"Maine\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Shining"}, {"question": "Is a1097233x the CANTIC-ID of Lindsay Dee Lohan?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1097233x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Lindsay Dee Lohan"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1097233x\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Lindsay Dee Lohan\" .  }", "answer": "yes"}, {"question": "What is the exploitation visa number for the film whose official website is http://www.thelastairbendermovie.com/?", "choices": ["32038", "14515", "131693", "126048", "57327", "102970", "145920", "113356", "100129", "48582"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thelastairbendermovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.thelastairbendermovie.com/\" . ?e <exploitation_visa_number> ?pv .  }", "answer": "126048"}, {"question": "What is the connection between Dean Koontz to writer?", "choices": ["educated at", "destination point", "signatory", "office held by head of government", "occupation", "production company", "next higher rank", "archives at", "had as last meal", "airline hub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dean Koontz"]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dean Koontz\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which is shorter, Lars and the Real Girl or Reversal of Fortune?", "choices": ["The Towering Inferno", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Lars and the Real Girl", "Reversal of Fortune", "Rebecca", "The Fifth Element", "A Prairie Home Companion", "Talk to Her", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lars and the Real Girl"]}, {"function": "Find", "dependencies": [], "inputs": ["Reversal of Fortune"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lars and the Real Girl\" .  } UNION { ?e <pred:name> \"Reversal of Fortune\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lars and the Real Girl"}, {"question": "When was released http://www.victoria.ac.nz/seftms/about/staff/mark-williams, the official website of Mark Williams (the one that is educated at the University of Auckland)?", "choices": ["2010-07-07", "2002-05-09", "1986-10-03", "1939-08-25", "2007-04-11", "2018-06-22", "2015-01-26", "2013-04-23", "1962", "2010-11-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Auckland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.victoria.ac.nz/seftms/about/staff/mark-williams", "publication date"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Mark Williams\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"University of Auckland\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.victoria.ac.nz/seftms/about/staff/mark-williams\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <publication_date> ?qpv .  }", "answer": "2015-01-26"}, {"question": "What is the official website for the region of Italy whose NUTS code, beginning in 2003, is ITF5?", "choices": ["http://www.jillscott12.com/", "http://www.madinsanity.com", "http://www.meetnorbit.com", "http://www.regione.basilicata.it", "http://co.washington.ia.us", "http://www.cbs.com/primetime/how_i_met_your_mother/", "http://www.curitiba.pr.gov.br/", "https://en.wikipedia.org/wiki/Super_Meat_Boy", "http://www.amu.ac.in", "http://www.bbc.co.uk/hamlet/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "ITF5"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["region of Italy"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"ITF5\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:year> 2003 . ?e <official_website> ?pv .  }", "answer": "http://www.regione.basilicata.it"}, {"question": "Does St Andrews or Oldham whose area is 67.1 square kilometres have higher elevation above sea level?", "choices": ["Oldham", "St Andrews", "Wigan", "Doncaster", "Blackburn", "Colchester", "Edmonton", "South Shields", "Wimbledon", "Royal Tunbridge Wells"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Andrews"]}, {"function": "Find", "dependencies": [], "inputs": ["Oldham"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "67.1 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"St Andrews\" . } UNION { ?e <pred:name> \"Oldham\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"67.1\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oldham"}, {"question": "Is the longer work The Adventures of Priscilla, Queen of the Desert or The Contender, a Paramount Pictures production?", "choices": ["Talk to Her", "Training Day", "The Hunchback of Notre Dame", "The Contender", "Curse of the Golden Flower", "The Towering Inferno", "The Adventures of Priscilla, Queen of the Desert", "Pleasantville", "Rebecca", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Adventures of Priscilla, Queen of the Desert"]}, {"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Contender"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Adventures of Priscilla, Queen of the Desert\" .  } UNION { ?e <pred:name> \"The Contender\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Paramount Pictures\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Contender"}, {"question": "Which clarinet is the instrumentation of the musical composition whose instrumentation is glockenspiel?", "choices": ["trumpet", "xylophone", "bass clarinet", "conga", "goblet drum", "bassoon", "didgeridoo", "Timbales", "baritone saxophone", "trombone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["glockenspiel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrumentation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical composition"]}, {"function": "Relate", "dependencies": [2], "inputs": ["instrumentation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["clarinet"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"clarinet\" . ?e_1 <instrumentation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"musical composition\" . ?e_1 <instrumentation> ?e_3 . ?e_3 <pred:name> \"glockenspiel\" .   }", "answer": "bass clarinet"}, {"question": "What is voice actor Charlie Adler's role in Aladdin whose cost is 28000000 USD?", "choices": ["Abigail Adams", "Gazeem", "Roxana", "Daniel Faraday", "Tom Hagen", "Poseidon", "Guinevere", "Scooby-Doo", "Robert Langdon", "Lee Harvey Oswald"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aladdin"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["cost", "28000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Adler"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Aladdin\" . ?e_1 <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"28000000\"^^xsd:double . ?e_2 <pred:name> \"Charlie Adler\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Gazeem"}, {"question": "What is the connection between Lexington (the one that contains Transylvania University) to mayor?", "choices": ["father", "office held by head of government", "given name", "presenter", "diplomatic relation", "use", "platform", "military branch", "creator", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Transylvania University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lexington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lexington\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"Transylvania University\" . ?e_2 <pred:name> \"mayor\" . ?e_1 ?p ?e_2 .  }", "answer": "office held by head of government"}, {"question": "How many progressive rock groups were created in 1990 and are active since a year other than 1980 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1990", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["progressive rock"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1980", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["progressive rock"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"progressive rock\" . ?e <inception> ?pv . ?pv <pred:year> 1990 . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1980 ) .  }", "answer": "0"}, {"question": "What is the Instagram username of TCU Horned Frogs football?", "choices": ["cuboulder", "ldn_gov", "johndenvermusic", "dbacks", "laurenconrad", "virginia.tech", "jerusalem_city", "readingfc", "tcu_athletics", "calciovarese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TCU Horned Frogs football"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"TCU Horned Frogs football\" . ?e <Instagram_username> ?pv .  }", "answer": "tcu_athletics"}, {"question": "Which New York city that occupies other than 99,000 square km has the fewest inhabitants?", "choices": ["Glens Falls", "Troy", "White Plains", "Long Beach", "Buffalo", "Schenectady", "Syracuse", "Yonkers", "Auburn", "Elmira"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "99000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"99000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Glens Falls"}, {"question": "The ISNI of the agent that goes by CollingwoodFC on Twitter is what?", "choices": ["0000 0000 3995 7353", "0000 0004 0626 0882", "0000 0000 9831 5270", "0000 0004 0405 8787", "0000 0001 1572 2960", "0000 0004 1937 1119", "0000 0001 1679 603X", "0000 0000 7219 6664", "0000 0000 9010 4452", "0000 0001 1468 0957"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "CollingwoodFC"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"CollingwoodFC\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 9010 4452"}, {"question": "Is the official website of the public company whose street address is Three Lakes Drive Northfield, Illinois 60093, USA http://cormacmccarthy.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)", "Three Lakes Drive Northfield, Illinois 60093, USA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://cormacmccarthy.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <located_at_street_address_(DEPRECATED)> ?pv_1 . ?pv_1 <pred:value> \"Three Lakes Drive Northfield, Illinois 60093, USA\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://cormacmccarthy.com/\" .  }", "answer": "no"}, {"question": "Between Wayne County, which is 557 square miles, and Wood County, which has a population of 128708, which is the one with a smaller area measurement?", "choices": ["Delaware County", "Wood County", "Wayne County", "Jefferson County", "Cuyahoga County", "Summit County", "Tuscarawas County", "Stark County", "Mahoning County", "Carroll County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wayne County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "557 square mile", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Wood County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "128708", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wayne County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> \"557\"^^xsd:double . } UNION { ?e <pred:name> \"Wood County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"128708\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wayne County"}, {"question": "Was the film that was distributed by MCA Inc., released in 2008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MCA Inc."]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2008", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"MCA Inc.\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  }", "answer": "yes"}, {"question": "Regarding the medicine that has the Iconclass notation of 49G6131 is the IPTC Newscode of mediatopic/20001055 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "49G6131"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medicine"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPTC Newscode"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["mediatopic/20001055"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"medicine\" . ?e <Iconclass_notation> ?pv_1 . ?pv_1 <pred:value> \"49G6131\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20001055\" .  }", "answer": "no"}, {"question": "What is the connection between Washington County (the one whose licence plate code is 65) to Baldwin County?", "choices": ["start point", "shares border with", "culture", "owner of", "place served by transport hub", "film crew member", "illustrator", "country for sport", "director", "art director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "65"]}, {"function": "Find", "dependencies": [], "inputs": ["Baldwin County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Washington County\" . ?e_1 <licence_plate_code> ?pv . ?pv <pred:value> \"65\" . ?e_2 <pred:name> \"Baldwin County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Where was Civil action filmed on 1999-04-22 published?", "choices": ["Bahrain", "Germany", "Czech Republic", "Singapore", "Taiwan", "Thailand", "Norway", "Portugal", "Tribeca Film Festival", "Sydney"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "A Civil Action"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1999-04-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"A Civil Action\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1999-04-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Peter Stone (the one whose official website is http://www.cs.utexas.edu/~pstone/) to University of Texas at Austin?", "choices": ["Wikidata property", "official symbol", "contributor(s) to the creative work", "platform", "head of government", "cites", "studies", "license", "licensed to broadcast to", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Stone"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cs.utexas.edu/~pstone/"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Texas at Austin"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Stone\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.cs.utexas.edu/~pstone/\" . ?e_2 <pred:name> \"University of Texas at Austin\" . ?e_1 ?p ?e_2 .  }", "answer": "employer"}, {"question": "What work titled Gangs of New York are in black and white?", "choices": ["Gangs of New York", "Prison Break", "A Great Day in Harlem", "Rebecca", "Talk to Her", "A Prairie Home Companion", "Pleasantville", "Foreign Correspondent", "Tom Jones", "A Midsummer Night's Dream"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Gangs of New York"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .  ?e <title> ?pv . ?pv <pred:value> \"Gangs of New York\" .  }", "answer": "Gangs of New York"}, {"question": "Are there less episodes in The Venture Bros. or Oliver Twist (the one whose official website is http://www.bbc.co.uk/drama/oliver)?", "choices": ["George Washington", "The Pacific", "The Civil War", "The Venture Bros.", "Battlestar Galactica", "The Ten Commandments", "Oliver Twist", "Roots", "Edge of Darkness", "The Stand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Venture Bros."]}, {"function": "Find", "dependencies": [], "inputs": ["Oliver Twist"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.bbc.co.uk/drama/oliver"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Venture Bros.\" . } UNION { ?e <pred:name> \"Oliver Twist\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.bbc.co.uk/drama/oliver\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Oliver Twist"}, {"question": "Which area has lower elevation above sea level, Duluth or Midland (the one whose elevation (above sea level) is 848 metre)?", "choices": ["New Haven", "Oakland", "Lansing", "Greenville", "Compton", "Midland", "Boulder", "Franklin", "Waukegan", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duluth"]}, {"function": "Find", "dependencies": [], "inputs": ["Midland"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "848 metre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Duluth\" . } UNION { ?e <pred:name> \"Midland\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"848\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Midland"}, {"question": "Which one, Judgment at Nuremberg or Rain Man, has less duration?", "choices": ["Talk to Her", "Rain Man", "A Prairie Home Companion", "The Fifth Element", "Training Day", "Judgment at Nuremberg", "Pleasantville", "Curse of the Golden Flower", "Rebecca", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judgment at Nuremberg"]}, {"function": "Find", "dependencies": [], "inputs": ["Rain Man"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Judgment at Nuremberg\" .  } UNION { ?e <pred:name> \"Rain Man\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rain Man"}, {"question": "What is the relationship between the University of Texas at El Paso and the USA?", "choices": ["spouse", "manner of death", "set in period", "named after", "inspired by", "given name", "field of this occupation", "separated from", "country", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Texas at El Paso"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Texas at El Paso\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is fu the Instagram username of the person whose Twitter username is TheShilpaShetty with 5711933 subscribers?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "TheShilpaShetty"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "5711933", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["fu"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"TheShilpaShetty\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"5711933\"^^xsd:double . ?e <Instagram_username> ?pv . ?pv <pred:value> \"fu\" .  }", "answer": "no"}, {"question": "Is there a larger population of Hungarians or Punjabi people?", "choices": ["Irish migration to Great Britain", "French American", "American Jews", "Austrians", "Italians", "Swedes", "Armenians", "Punjabi people", "Hungarians", "Koreans"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Punjabi people"]}, {"function": "Find", "dependencies": [], "inputs": ["Hungarians"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Punjabi people\" .  } UNION { ?e <pred:name> \"Hungarians\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Punjabi people"}, {"question": "Which province in Italy with a local dialing code of 081 has the smallest area?", "choices": ["Province of Rome", "Province of Brescia", "province of Milan", "Province of Salerno", "Province of Naples", "Province of Cagliari", "Province of Potenza", "Province of Como", "Province of Cuneo", "Province of Palermo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "081"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"081\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Province of Naples"}, {"question": "Was Elie Samaha born before 1962?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elie Samaha"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1962", "<"]}], "sparql": "ASK { ?e <pred:name> \"Elie Samaha\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }", "answer": "yes"}, {"question": "What is the Twitter username of the person whose ISNI is 0000 0001 1489 4234?", "choices": ["onf", "BusanCityGovt", "MeganMullally", "Indians", "CorinneBRae", "RedHourBen", "ManCityAcademy", "violadavis", "usfca", "univofstandrews"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1489 4234"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1489 4234\" . ?e <Twitter_username> ?pv .  }", "answer": "violadavis"}, {"question": "How many subscribers does the United States Fish and Wildlife Service user have its Twitter username of usfwshq?", "choices": ["351341", "1698256", "5353541", "25274", "166993", "5244061", "31512", "619237", "60901", "104"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Fish and Wildlife Service"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "usfwshq", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"United States Fish and Wildlife Service\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"usfwshq\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "104"}, {"question": "How many cities are there in Venezuela with Valencia as the capital or a population that is not 690000?", "choices": ["356", "357", "358", "359", "360", "361", "362", "363", "364", "365"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Venezuela"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Valencia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "690000", "!="]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["city"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Valencia\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"Venezuela\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"690000\"^^xsd:double ) .  } }", "answer": "357"}, {"question": "Among the states located in NATO, which one has the lowest number of total reserves ?", "choices": ["Greece", "Kazakhstan", "Cuba", "Kosovo", "Fiji", "Tajikistan", "Bulgaria", "Lithuania", "Finland", "Luxembourg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NATO"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["total reserves", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"NATO\" .  ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Luxembourg"}, {"question": "When did the U.S. city that is the headquarter location of the University of Texas at Arlington have a population of 365438?", "choices": ["1998-07-15", "1833-09-18", "2014-06-01", "1849-12-01", "2008-06-01", "2016-11-01", "2010-01-01", "1974-02-28", "1992", "1965-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Texas at Arlington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "365438", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"University of Texas at Arlington\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"365438\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "What is the Munzinger IBA for the person having the CANTIC-ID a10887246?", "choices": ["00000018021", "00000017160", "00000009957", "00000006677", "00000021692", "00000007841", "00000000075", "00000022444", "00000002515", "00000021247"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10887246"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10887246\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000018021"}, {"question": "When did the form of government whose ITU letter code is ERI have a population of 6333135?", "choices": ["2013", "2012-06-01", "1946-12-01", "1906", "1964-10-01", "2001-07-18", "1780-01-01", "1856-01-01", "1920-12-31", "2017-03-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ITU letter code", "ERI"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "6333135", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <ITU_letter_code> ?pv_1 . ?pv_1 <pred:value> \"ERI\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"6333135\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "What is the connection between John Williams (the one whose position is small forward) to Los Angeles Clippers?", "choices": ["professional or sports partner", "country for sport", "academic degree", "sexual orientation", "director", "found", "member of sports team", "uses", "licensed to broadcast to", "risk factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["small forward"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles Clippers"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"small forward\" . ?e_2 <pred:name> \"Los Angeles Clippers\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "How many people reside in Hollywood (the one whose elevation (above sea level) is 3 metre)?", "choices": ["8929086", "5010962", "2029700", "146526", "8799298", "659876", "297576", "101687", "238519", "585335"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "3 metre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hollywood\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"3\"^^xsd:double . ?e <population> ?pv .  }", "answer": "146526"}, {"question": "What is the criterion used for the US city whose dialing code is 435, population is 48174?", "choices": ["architectural height", "declaration of independence", "light characteristic", "nickname", "estimation process", "number of episodes at the end of the current season or the last one aired", "two-part episode", "Preferred", "perigee", "number of speakers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "435"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "48174", "criterion used"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"435\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"48174\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <criterion_used> ?qpv .  }", "answer": "Preferred"}, {"question": "Where was The Firm starring Ed Harris published on 1993-10-14?", "choices": ["Seattle International Film Festival", "Westwood", "Colombia", "Quebec", "Germany", "Peru", "New York", "Jordan", "German Democratic Republic", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ed Harris"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Firm"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1993-10-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Firm\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ed Harris\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1993-10-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between guitar to D'Angelo?", "choices": ["director", "famous people", "continent", "source of material", "stated in", "has immediate cause", "location", "developer", "month of the year", "found"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "Find", "dependencies": [], "inputs": ["D'Angelo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"guitar\" . ?e_2 <pred:name> \"D'Angelo\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Are there less people living in Cambridgeshire (the one whose WOEID is 12602140) or Kent (the one that contains River Thames)?", "choices": ["Kent", "Cumbria", "Derbyshire", "West Midlands", "Somerset", "Staffordshire", "Essex", "Warwickshire", "Cambridgeshire", "Northumberland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cambridgeshire"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "12602140"]}, {"function": "Find", "dependencies": [], "inputs": ["River Thames"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kent"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cambridgeshire\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"12602140\" . } UNION { ?e <pred:name> \"Kent\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"River Thames\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cambridgeshire"}, {"question": "The UK public holiday Christmas is on which day?", "choices": ["C44", "h0505", "January 7", "23 hertz", "brave", "feminine", "Properties of expanding universes", "22367", "Goethe", "December 25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Find", "dependencies": [], "inputs": ["Christmas"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["public holiday", "day in year for periodic occurrence"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Christmas\" . ?e_1 <public_holiday> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <public_holiday> ; <pred:fact_t> ?e_2 ] <day_in_year_for_periodic_occurrence> ?qpv .  }", "answer": "December 25"}, {"question": "What is the connection between Mad Men to Rich Sommer?", "choices": ["appears in the form of", "noble title", "subsidiary", "cast member", "present in work", "is a list of", "seed team", "separated from", "given name", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mad Men"]}, {"function": "Find", "dependencies": [], "inputs": ["Rich Sommer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mad Men\" . ?e_2 <pred:name> \"Rich Sommer\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Of the Texas counties with more than 890000 people, which covers the largest amount of area?", "choices": ["Dallas County", "Travis County", "Brazoria County", "Harris County", "Bexar County", "Hidalgo County", "Tarrant County", "El Paso County", "McLennan County", "Collin County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "890000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"890000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Harris County"}, {"question": "Does Water for Elephants or Kundun have greater box office ?", "choices": ["A Prairie Home Companion", "Talk to Her", "Curse of the Golden Flower", "Water for Elephants", "Pleasantville", "Rebecca", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "Kundun"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Water for Elephants"]}, {"function": "Find", "dependencies": [], "inputs": ["Kundun"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Water for Elephants\" .  } UNION { ?e <pred:name> \"Kundun\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Water for Elephants"}, {"question": "How many entertainment industries have the official site of https://web.archive.org/web/20080304095448/http://www.microids.com/en/catalogue/19/louvre-the-messenger.html ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://web.archive.org/web/20080304095448/http://www.microids.com/en/catalogue/19/louvre-the-messenger.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "Relate", "dependencies": [2], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["industry"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <platform> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"entertainment\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://web.archive.org/web/20080304095448/http://www.microids.com/en/catalogue/19/louvre-the-messenger.html\" .   }", "answer": "1"}, {"question": "At what time point did Geraldine Page win the BAFTA Award for Best Actress in a Supporting Role?", "choices": ["0001-01-01", "2003-02-01", "2016-02-01", "2009-08-05", "1859", "2010-01-23", "2012-03-31", "1979", "1250-01-01", "2011-03-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actress in a Supporting Role"]}, {"function": "Find", "dependencies": [], "inputs": ["Geraldine Page"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Actress in a Supporting Role\" . ?e_2 <pred:name> \"Geraldine Page\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1979"}, {"question": "Which first-level administrative country subdivision borders Friuli\u2013Venezia Giulia?", "choices": ["Khyber Pakhtunkhwa", "Minas Gerais", "Chihuahua", "England", "Lublin Voivodeship", "Veneto", "M\u00e9xico", "Canton of Valais", "Carinthia", "Podlaskie Voivodeship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Friuli\u2013Venezia Giulia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Friuli\u2013Venezia Giulia\" .   }", "answer": "Carinthia"}, {"question": "How many public universities correspond to IPv6 routing prefixes 2001:638:906::/48 or 192.76.6.0/23?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv6 routing prefix", "2001:638:906::/48"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPv4 routing prefix", "192.76.6.0/23"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" .  { ?e <IPv6_routing_prefix> ?pv . ?pv <pred:value> \"2001:638:906::/48\" .  } UNION { ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"192.76.6.0/23\" .  } }", "answer": "2"}, {"question": "Is the larger area occupied by Altoona or Greensburg?", "choices": ["Philadelphia", "York", "Greensburg", "Johnstown", "Chester", "Pittsburgh", "Altoona", "Wilkes-Barre", "Bethlehem", "Harrisburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Altoona"]}, {"function": "Find", "dependencies": [], "inputs": ["Greensburg"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Altoona\" .  } UNION { ?e <pred:name> \"Greensburg\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Altoona"}, {"question": "Is the subreddit of Game of Thrones (whose official website is http://www.hbo.com/game-of-thrones) equal to classicalmusic?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Game of Thrones"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hbo.com/game-of-thrones"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["subreddit"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["classicalmusic"]}], "sparql": "ASK { ?e <pred:name> \"Game of Thrones\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hbo.com/game-of-thrones\" . ?e <subreddit> ?pv . ?pv <pred:value> \"classicalmusic\" .  }", "answer": "no"}, {"question": "What language pertains to http://www.lacitycollege.edu, a site representing the college located in the 90029 zip code?", "choices": ["Northern Sotho", "Klingon", "Albanian", "Slovak", "Tlingit", "Estonian", "Modern Greek", "Norwegian", "Nynorsk", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "90029"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.lacitycollege.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"90029\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lacitycollege.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "For Stardust (the one whose publication date is 2007-10-18), what is the start time for its exploitation visa number of 118697?", "choices": ["2007-09-17", "1516-01-01", "2006-01-01", "1937-07-07", "1920-04-20", "1994-05-14", "2013-07-29", "1946-11-19", "2005-09-24", "1992-04-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stardust"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-10-18", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["exploitation visa number", "118697", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Stardust\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2007-10-18\"^^xsd:date . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"118697\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2007-09-17"}, {"question": "When did Giuseppe Colucci become a member of Hellas Verona F.C.?", "choices": ["1871-05-07", "1986-11-16", "1861-03-21", "1989-07-05", "1453", "1998-12-20", "2014-01-10", "2005-11-06", "2000-01-01", "-1200"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giuseppe Colucci"]}, {"function": "Find", "dependencies": [], "inputs": ["Hellas Verona F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Giuseppe Colucci\" . ?e_2 <pred:name> \"Hellas Verona F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2000-01-01"}, {"question": "Does New York (that is the birthplace of Harold Arlen) or Arizona (that is an administrative division of the United States of America) have the higher percent of water area?", "choices": ["Colorado", "New Jersey", "Florida", "Massachusetts", "Iowa", "New York", "Hawaii", "New Mexico", "Illinois", "California"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harold Arlen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Arizona"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["water as percent of area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New York\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Harold Arlen\" .   } UNION { ?e <pred:name> \"Arizona\" . ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> \"United States of America\" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "New York"}, {"question": "How many actors have NOC Occupation Code 5232 and work in professional wrestling?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NOC Occupation Code", "5232"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["actor"]}, {"function": "Find", "dependencies": [], "inputs": ["professional wrestling"]}, {"function": "Relate", "dependencies": [3], "inputs": ["field of this occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["actor"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"actor\" . ?e <NOC_Occupation_Code> ?pv . ?pv <pred:value> \"5232\" . ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> \"professional wrestling\" .  }", "answer": "0"}, {"question": "Can you describe Critics' Choice Movie Award, nominated to movies The Reader (in English) and The Impossible?", "choices": ["Broadcast Film Critics Association Award for Best Actress", "Broadcast Film Critics Association Award for Best Comedy Film", "Broadcast Film Critics Association Award for Best Song", "Broadcast Film Critics Association Award for Best Composer", "Broadcast Film Critics Association Award for Best Supporting Actor", "Academy Award for Best Actress", "Broadcast Film Critics Association Award for Best Film", "Broadcast Film Critics Association Award for Best Young Performer", "Broadcast Film Critics Association Award for Best Supporting Actress", "Critics' Choice Movie Award for Best Actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Reader"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Critics' Choice Movie Award"]}, {"function": "Find", "dependencies": [], "inputs": ["The Impossible"]}, {"function": "Relate", "dependencies": [6], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["Critics' Choice Movie Award"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Critics' Choice Movie Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"The Reader\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e_3 <nominated_for> ?e . ?e_3 <pred:name> \"The Impossible\" .  }", "answer": "Broadcast Film Critics Association Award for Best Young Performer"}, {"question": "Which school, Queens College or University of Victoria, has a smaller number of students?", "choices": ["McNeese State University", "Panjab University", "University of Manchester", "King's College London", "University of Tehran", "Imperial College London", "Queens College", "Pennsylvania State University", "Presidency University", "McMaster University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Victoria"]}, {"function": "Find", "dependencies": [], "inputs": ["Queens College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Victoria\" .  } UNION { ?e <pred:name> \"Queens College\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Queens College"}, {"question": "Which movie is shorter, Il Divo or Resident Evil: Apocalypse?", "choices": ["Rebecca", "The Towering Inferno", "A Prairie Home Companion", "Training Day", "The Hunchback of Notre Dame", "Resident Evil: Apocalypse", "Curse of the Golden Flower", "Talk to Her", "Pleasantville", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Il Divo"]}, {"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Apocalypse"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Il Divo\" .  } UNION { ?e <pred:name> \"Resident Evil: Apocalypse\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Resident Evil: Apocalypse"}, {"question": "Who won the Filmfare Award for Best Actress in Kati Patang?", "choices": ["Max Fleischer", "Kajol", "Vidya Balan", "William Henry Harrison", "Sylvester Stallone", "Rakhee Gulzar", "Madhuri Dixit", "Asha Parekh", "Jaya Bhaduri Bachchan", "Hema Malini"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Kati Patang"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Filmfare Award for Best Actress\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Kati Patang\" .  }", "answer": "Asha Parekh"}, {"question": "When did Lee County which contains Tupelo have a population of 84960?", "choices": ["2012-07-01", "2003-08-27", "1776-07-04", "1673-04-19", "1963", "300", "1986-09-22", "1880-01-01", "1999-02-24", "1972-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tupelo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "84960", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Lee County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Tupelo\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"84960\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "How many subscribers are associated with the Twitter account of someone who was the spouse of  Kevin Bacon (the one that is a cast member of Sleepers) since 1988, called 'kyrasedgwick' ?", "choices": ["2007762", "92052", "79487", "38098", "1465307", "14839994", "44413", "1163870", "120717", "664869"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sleepers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin Bacon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["spouse", "backward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["start time", "1988", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["Twitter username", "kyrasedgwick", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Kevin Bacon\" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> \"Sleepers\" . [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1988 . ?e <Twitter_username> ?pv . ?pv <pred:value> \"kyrasedgwick\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "92052"}, {"question": "Is the ICAO airport code YPPH for Perth Airport, which has 566366 customers?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Perth Airport"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["patronage", "566366", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ICAO airport code"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["YPPH"]}], "sparql": "ASK { ?e <pred:name> \"Perth Airport\" . ?e <patronage> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"566366\"^^xsd:double . ?e <ICAO_airport_code> ?pv . ?pv <pred:value> \"YPPH\" .  }", "answer": "yes"}, {"question": "What higher education institution has IPv6 routing prefix 2001:630:12::/48?", "choices": ["Imperial College London", "University of Pittsburgh", "London School of Economics", "University of Lancaster", "Stockholm University", "University of Manchester", "Union College", "Pennsylvania State University", "Trinity College Dublin", "McNeese State University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv6 routing prefix", "2001:630:12::/48"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <IPv6_routing_prefix> ?pv . ?pv <pred:value> \"2001:630:12::/48\" .  }", "answer": "Imperial College London"}, {"question": "Which area is smaller, Gloucester County or Burlington County?", "choices": ["Hunterdon County", "Burlington County", "Morris County", "Essex County", "Passaic County", "Cape May County", "Monmouth County", "Cumberland County", "Gloucester County", "Bergen County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gloucester County"]}, {"function": "Find", "dependencies": [], "inputs": ["Burlington County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gloucester County\" .  } UNION { ?e <pred:name> \"Burlington County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gloucester County"}, {"question": "What person has an ISNI number of 0000 0001 2146 3002 and was born before the year 1961?", "choices": ["John DeCuir", "James A. Garfield", "Max Fleischer", "Richard Gere", "Hannah Arendt", "Sylvester Stallone", "William Henry Harrison", "Carmine Coppola", "Dave Grusin", "Meat Loaf"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2146 3002"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1961", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2146 3002\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1961 ) .  }", "answer": "Hannah Arendt"}, {"question": "Which website represents the the Academy Award nominated to Ben Snow for Star Wars Episode II: Attack of the Clones?", "choices": ["http://cpc.people.com.cn/", "http://www.walterbecker.com", "http://paulhucklebuckwilliams.com/", "http://www.cornwall.gov.uk/", "http://www.trishayearwood.com", "http://www.oscars.org", "http://sanlorenzo.com.ar/", "http://wwws.warnerbros.co.jp/yurusarezaru/", "http://www.warwickri.gov", "http://medicine.yale.edu/index.aspx"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode II: Attack of the Clones"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["nominee", "Ben Snow"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Academy Awards"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Star Wars Episode II: Attack of the Clones\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <nominee> ?qpv . ?qpv <pred:value> \"Ben Snow\" . ?e <official_website> ?pv .  }", "answer": "http://www.oscars.org"}, {"question": "What is the relation between Champagne-Ardenne and Burgundy?", "choices": ["ethnic group", "place of burial", "shares border with", "narrator", "vehicle normally used", "published in", "sidekick of", "movement", "place of origin (Switzerland)", "feast day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Champagne-Ardenne"]}, {"function": "Find", "dependencies": [], "inputs": ["Burgundy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Champagne-Ardenne\" . ?e_2 <pred:name> \"Burgundy\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which area is smaller, Essex County (the one whose inception time is 1643) or Bristol County (the one whose population is 549129)?", "choices": ["Middlesex County", "Berkshire County", "Franklin County", "Hampshire County", "Bristol County", "Norfolk County", "Essex County", "Worcester County", "Plymouth County", "Barnstable County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1643", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bristol County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "549129", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Essex County\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1643 . } UNION { ?e <pred:name> \"Bristol County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"549129\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bristol County"}, {"question": "How many legislative terms started in 1833 or before 2005?", "choices": ["32", "33", "34", "35", "36", "37", "38", "39", "40", "41"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1833", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "2005", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" .  { ?e <start_time> ?pv . ?pv <pred:year> 1833 .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  } }", "answer": "35"}, {"question": "What is the area of an U.S. city whose postal code is 13126 ?", "choices": ["450.39 square kilometre", "109.234135 square kilometre", "29.35 square mile", "131070 square kilometre", "3150 square kilometre", "622 square kilometre", "294 square kilometre", "214.4 square kilometre", "84.535411 square kilometre", "1285216 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "13126"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"13126\" . ?e <area> ?pv .  }", "answer": "29.35 square mile"}, {"question": "For which work did Bradley Whitford receive a Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series?", "choices": ["Moving Mars", "The Ocean at the End of the Lane", "Aries", "The West Wing", "The Dirty Dozen", "The Adventures of Augie March", "Otra cosa", "Aladdin", "Their Eyes Were Watching God", "Ellen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bradley Whitford"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bradley Whitford\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The West Wing"}, {"question": "Does the visual artwork represented by the website intothestormmovie.com have a run-time exceeding 6.1 months ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://intothestormmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["6.1 month", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://intothestormmovie.com/\" . ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v > \"6.1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "At what point in time was the population 375,165 for the county of Ohio whose licence plate code is 76?", "choices": ["2012-10-30", "2015-01-01", "2012-02-26", "1952-01-01", "1919-04-01", "2014-04-10", "1561", "1638-01-01", "2008-07-02", "2005-09-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "76"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "375165", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"76\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"375165\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "What is the proportion of Russians in Russia?", "choices": ["0.53", "0.98", "0.075", "0.04", "0.821", "1", "0.777", "0.011", "0.254", "0.46"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "Find", "dependencies": [], "inputs": ["Russians"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["ethnic group", "proportion"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Russia\" . ?e_2 <pred:name> \"Russians\" . ?e_1 <ethnic_group> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ethnic_group> ; <pred:fact_t> ?e_2 ] <proportion> ?qpv .  }", "answer": "0.777"}, {"question": "What is the association of Paul Newman (whose Libris-URI is qn259wn857nk2nd) with Yale University?", "choices": ["cites", "part of the series", "military casualty classification", "named after", "collection", "platform", "Wikidata property", "geography of topic", "signatory", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Newman"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "qn259wn857nk2nd"]}, {"function": "Find", "dependencies": [], "inputs": ["Yale University"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paul Newman\" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> \"qn259wn857nk2nd\" . ?e_2 <pred:name> \"Yale University\" . ?e_1 ?p ?e_2 .  }", "answer": "employer"}, {"question": "What is the WOEID of San Angelo?", "choices": ["2487784", "728807", "2456611", "2295422", "727132", "724196", "2349680", "19792", "673788", "2294941"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Angelo"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["WOEID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"San Angelo\" . ?e <WOEID> ?pv .  }", "answer": "2487784"}, {"question": "How is University of California, Hastings College of the Law related to United States of America ?", "choices": ["derivative work", "creator", "afflicts", "start point", "found", "country", "manufacturer", "separated from", "spouse", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Hastings College of the Law"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of California, Hastings College of the Law\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Among the theatrical genres whose number of episodes is less than 930, which has the smallest number of episodes?", "choices": ["Mongol conquests", "College of Wooster", "Buncombe County", "Richard Edlund", "farce", "The Monkees", "Mr. Smith Goes to Washington", "stand-up comedy", "The Golden Girls", "comedy of manners"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "930", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"930\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "How long is the movie titled Dangerous Liaisons?", "choices": ["154 minute", "128 minute", "73 minute", "196 minute", "189 minute", "64 minute", "119 minute", "47 minute", "67.0 minute", "181 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Dangerous Liaisons"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Dangerous Liaisons\" . ?e <duration> ?pv .  }", "answer": "119 minute"}, {"question": "At what time point is Earth (the one whose orbital inclination is 7.155 degree), WALL\u00b7E's narrative location?", "choices": ["2018-12-13", "-4000000", "2805", "1990-10-03", "2004-11-10", "1914-01-01", "1675", "1870-12-01", "2013-05-23", "1931"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WALL\u00b7E"]}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["orbital inclination", "7.155 degree", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["narrative location", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"WALL\u00b7E\" . ?e_2 <pred:name> \"Earth\" . ?e_2 <orbital_inclination> ?pv . ?pv <pred:unit> \"degree\" . ?pv <pred:value> \"7.155\"^^xsd:double . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2805"}, {"question": "Does Parks and Recreation or Torchwood have the lower episode count?", "choices": ["Seinfeld", "Saturday Night's Main Event", "Bleak House", "Phineas and Ferb", "Game of Thrones", "Dancing with the Stars", "Torchwood", "Robot Chicken", "Six Feet Under", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Parks and Recreation"]}, {"function": "Find", "dependencies": [], "inputs": ["Torchwood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Parks and Recreation\" .  } UNION { ?e <pred:name> \"Torchwood\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Torchwood"}, {"question": "Was Scott McDonald born before 1993?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott McDonald"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1993", "<"]}], "sparql": "ASK { ?e <pred:name> \"Scott McDonald\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) .  }", "answer": "yes"}, {"question": "What is the subject of a statement that Richard Sylbert received the Academy Award for Best Production Design?", "choices": ["Portugal\u2013Spain border", "54th Tony Awards", "Maastricht Treaty", "Iran\u2013Pakistan border", "Israel\u2013Lithuania relations", "China\u2013Sudan relations", "Iran\u2013South Africa relations", "Romania\u2013Serbia relations", "63rd Academy Awards", "Azerbaijan\u2013Iran relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Sylbert"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Sylbert\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "63rd Academy Awards"}, {"question": "Is  0000 0000 4361 9306 the ISNI of the person with the birth name of Jerry 'Wonda' Duplessis?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Jerry 'Wonda' Duplessis"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 4361 9306"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Jerry 'Wonda' Duplessis\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 4361 9306\" .  }", "answer": "yes"}, {"question": "At what point in time did Hungary have an inflation rate of 0.4%?", "choices": ["2017-02-28", "1758", "1830-12-01", "2007-05-01", "1873", "2013-01-01", "1989", "2011-06-22", "802701", "2008-08-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["inflation rate", "0.4 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hungary\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"0.4\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-01-01"}, {"question": "Which person was born in Alton?", "choices": ["Sylvester Stallone", "Max Fleischer", "Raj Kapoor", "Richard Gere", "William Henry Harrison", "J. D. Salinger", "Gil Bellows", "Miles Davis", "Nick Nolte", "Ray Romano"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Alton\" .   }", "answer": "Miles Davis"}, {"question": "What elevation above sea level is the city that functions as an administrative division of Coconino County?", "choices": ["1339 metre", "1560 metre", "4003 foot", "2106 metre", "235 metre", "456 metre", "925 metre", "1688 metre", "104 metre", "770 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coconino County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Coconino County\" .  ?e <elevation_above_sea_level> ?pv .  }", "answer": "2106 metre"}, {"question": "Which one is taller between Brian Jones (the member of Jacksonville Jaguars) or Chris Carter (the member of New England Patriots)?", "choices": ["Richard Gere", "Paul Simon", "Simon Cowell", "Brian Jones", "Max Fleischer", "Chris Carter", "David Byrne", "James E. Reilly", "William Henry Harrison", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jacksonville Jaguars"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Jones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New England Patriots"]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Carter"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brian Jones\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Jacksonville Jaguars\" .   } UNION { ?e <pred:name> \"Chris Carter\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"New England Patriots\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Brian Jones"}, {"question": "Regarding the anime whose release region is USA, which one has the longest running time ?", "choices": ["Vampire Knight", "Naruto Shippuden the Movie: Bonds", "Magical Girl Lyrical Nanoha", "Code Geass", "Chrono Crusade", "The Super Dimension Fortress Macross", "Fullmetal Alchemist the Movie: Conqueror of Shamballa", "Magic Knight Rayearth", "My-HiME", "Ponyo on the Cliff by the Sea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fullmetal Alchemist the Movie: Conqueror of Shamballa"}, {"question": "How many administrative territorial entities of Canada have a population that is not 7600 or are headed by a premier?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7600", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Find", "dependencies": [], "inputs": ["premier"]}, {"function": "Relate", "dependencies": [3], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"7600\"^^xsd:double ) .  } UNION { ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"premier\" .  } }", "answer": "3"}, {"question": "What is the title of the visual artwork whose box office is 476684675 United States dollars?", "choices": ["Scoop", "G-Force", "Secretariat", "Marley", "Home Alone", "The Pianist", "Mr. & Mrs. Smith", "\u0b95\u0bcb\u0bb5\u0bbe", "Midnight in Paris", "High Wire Act"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "476684675 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"476684675\"^^xsd:double . ?e <title> ?pv .  }", "answer": "Home Alone"}, {"question": "What is the connection between Odense Boldklub to blue (the one that is the official color of Queens Park Rangers F.C.)?", "choices": ["official color", "seed team", "found", "languages spoken, written or signed", "kit supplier", "editor", "instrumentation", "inspired by", "diplomatic relation", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Odense Boldklub"]}, {"function": "Find", "dependencies": [], "inputs": ["Queens Park Rangers F.C."]}, {"function": "Relate", "dependencies": [1], "inputs": ["official color", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["blue"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Odense Boldklub\" . ?e_2 <pred:name> \"blue\" . ?e_3 <official_color> ?e_2 . ?e_3 <pred:name> \"Queens Park Rangers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "official color"}, {"question": "Is http://www.astroboy-themovie.com the official website of the animated feature film whose exploitation visa number is 124895?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "124895"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.astroboy-themovie.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"124895\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.astroboy-themovie.com\" .  }", "answer": "yes"}, {"question": "What is the shortest 3D film released in Columbia?", "choices": ["Piranha 3D", "Frankenweenie", "30th United States Congress", "capric acid", "ParaNorman", "Avatar", "State of Play", "Kirk Douglas", "Lauren Graham", "The Smurfs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Colombia\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankenweenie"}, {"question": "Do the film that derives The Man in the Iron Mask (released 1998-04-09) is The Three Musketeers ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Man in the Iron Mask"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1998-04-09", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["The Three Musketeers"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"The Man in the Iron Mask\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1998-04-09\"^^xsd:date . ?e <title> ?pv . ?pv <pred:value> \"The Three Musketeers\" .  }", "answer": "no"}, {"question": "What is the connection between Hayley Williams to Meridian (the one that is the birthplace of Hayley Williams)?", "choices": ["symptom of", "make-up artist", "noble title", "genre", "theme music", "main subject", "geographic distribution", "manufacturer", "set in period", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hayley Williams"]}, {"function": "Find", "dependencies": [], "inputs": ["Hayley Williams"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Meridian"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hayley Williams\" . ?e_2 <pred:name> \"Meridian\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Hayley Williams\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How many religious belief systems are designated by ISNI number 0000 0001 2287 9544?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2287 9544"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religion"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2287 9544\" .  }", "answer": "1"}, {"question": "How is John Ritter (ISNI 0000 0001 1949 0693) related to Forest Lawn Memorial Park where Tex Avery is buried?", "choices": ["grants", "record label", "screenwriter", "religious order", "award received", "godparent", "producer", "permanent resident of", "place of burial", "properties for this type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Ritter"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1949 0693"]}, {"function": "Find", "dependencies": [], "inputs": ["Tex Avery"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of burial", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Forest Lawn Memorial Park"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Ritter\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1949 0693\" . ?e_2 <pred:name> \"Forest Lawn Memorial Park\" . ?e_3 <place_of_burial> ?e_2 . ?e_3 <pred:name> \"Tex Avery\" . ?e_1 ?p ?e_2 .  }", "answer": "place of burial"}, {"question": "Between Brescia and Aarhus, which is larger in terms of area?", "choices": ["Aarhus", "Trieste", "Chihuahua", "Dundee", "Brescia", "Abidjan", "Santo Domingo", "Kilkenny", "Cork", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brescia"]}, {"function": "Find", "dependencies": [], "inputs": ["Aarhus"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brescia\" .  } UNION { ?e <pred:name> \"Aarhus\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aarhus"}, {"question": "Which language is related to the creative endeavors of the U.S. football team that has an http://www.chicagobears.com website and a ChicagoBears username on Twitter?", "choices": ["Atikamekw", "J\u00e8rriais", "Maltese", "Lower Sorbian", "Brazilian Portuguese", "Finnish", "English", "Hungarian", "Punjab", "Thai"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ChicagoBears"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.chicagobears.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ChicagoBears\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.chicagobears.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What Wisconsin county contains the United States city whose postal code is 53188?", "choices": ["Dane County", "Fond du Lac County", "La Crosse County", "Wood County", "Washington County", "Pierce County", "Waukesha County", "Outagamie County", "Polk County", "Jackson County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "53188"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Wisconsin"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"53188\" .   }", "answer": "Waukesha County"}, {"question": "When was the ice hockey team associated with the English website http://capitals.nhl.com/ established?", "choices": ["1936-05-14", "1929-01-14", "1817-12-10", "1229", "1910-03-30", "1589", "1284", "1991-10-27", "1922-12-30", "1974"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://capitals.nhl.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ice hockey team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://capitals.nhl.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv .  }", "answer": "1974"}, {"question": "When did the famous punk rock group Suicidal Tendencies form?", "choices": ["2007", "1985-01-01", "1856-02-14", "1890-12-11", "1892-01-01", "1948-04-16", "1839-02-09", "1959", "1940-01-04", "1638"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suicidal Tendencies"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["punk rock"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"punk rock\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Suicidal Tendencies\" .  ?e <inception> ?pv .  }", "answer": "1985-01-01"}, {"question": "How many Academy Awards did Star Wars (with the subreddit of StarWars) receive?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "StarWars"]}, {"function": "Relate", "dependencies": [1], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Academy Awards ceremony"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Star Wars\" . ?e_1 <subreddit> ?pv . ?pv <pred:value> \"StarWars\" .   }", "answer": "1"}, {"question": "What is the connection between Internal Revenue Service to United States Department of the Treasury?", "choices": ["parent organization", "capital", "ethnic group", "sport", "broadcast by", "item operated", "chairperson", "officially opened by", "published in", "after a work by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "Find", "dependencies": [], "inputs": ["United States Department of the Treasury"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Internal Revenue Service\" . ?e_2 <pred:name> \"United States Department of the Treasury\" . ?e_1 ?p ?e_2 .  }", "answer": "parent organization"}, {"question": "What was Four Weddings and a Funeral which was nominated for Academy Award for Best Writing, Original Screenplay about?", "choices": ["Kuwait\u2013Serbia relations", "67th Academy Awards", "Laos\u2013Soviet Union relations", "Mexico\u2013Turkey relations", "Hungary\u2013Slovenia border", "Canada\u2013Taiwan relations", "Belarus\u2013Poland relations", "Indiana\u2013Michigan border", "Ireland\u2013United States relations", "Lithuania\u2013Russia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Four Weddings and a Funeral"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Four Weddings and a Funeral\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "67th Academy Awards"}, {"question": "As of 2000, what award was Melissa Etheridge nominated for?", "choices": ["Grammy Award for Best Reggae Album", "Grammy Award for Best Rock Song", "Independent Spirit Award for Best Female Lead", "Independent Spirit Award for Best First Screenplay", "Grammy Award for Best Song Written for Visual Media", "Grammy Award for Best Metal Performance", "Grammy Award for Best Solo Rock Vocal Performance", "Grammy Award for Best Female Rock Vocal Performance", "Grammy Award for Best Rock Album", "Independent Spirit Award for Best Supporting Male"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melissa Etheridge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2000", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Melissa Etheridge\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2000 .  }", "answer": "Grammy Award for Best Female Rock Vocal Performance"}, {"question": "Who is the screenwriter that authored the feature film with Owen Wilson in the cast (the character role is Wilbur Wright)?", "choices": ["Richard Gere", "Jules Verne", "David Byrne", "William Henry Harrison", "Max Fleischer", "Simon Cowell", "William T. Orr", "Raphael", "Sylvester Stallone", "David Mills"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Owen Wilson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["character role", "Wilbur Wright"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["feature film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["after a work by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <after_a_work_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"feature film\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Owen Wilson\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_3 ] <character_role> ?qpv . ?qpv <pred:value> \"Wilbur Wright\" .   }", "answer": "Jules Verne"}, {"question": "How many counties of Wisconsin are there with the area over 50 square versta or the population higher than 7400000 ?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7400000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["area", "50 square versta", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Wisconsin"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"7400000\"^^xsd:double ) .  } UNION { ?e <area> ?pv . ?pv <pred:unit> \"square versta\" . ?pv <pred:value> ?v . FILTER ( ?v > \"50\"^^xsd:double ) .  } }", "answer": "15"}, {"question": "How many followers have the Twitter username is AssembleeNat that belongs to the entity whose official website is http://www.assemblee-nationale.fr/?", "choices": ["1186744", "102493", "12938729", "329401", "805108", "161901", "375504", "89032", "226269", "207380"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.assemblee-nationale.fr/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "AssembleeNat", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.assemblee-nationale.fr/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AssembleeNat\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "226269"}, {"question": "What is the ISNI of a person which is cast in Buffy the Vampire Slayer (the one that has Eliza Dushku as a cast member) as Tara Maclay?", "choices": ["0000 0001 2283 4514", "0000 0001 2102 4704", "0000 0000 0103 0608", "0000 0001 1476 1909", "0000 0004 4647 7322", "0000 0001 2168 186X", "0000 0000 6764 7942", "0000 0001 2121 4196", "0000 0001 2096 522X", "0000 0000 6319 6099"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eliza Dushku"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Buffy the Vampire Slayer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Tara Maclay"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Buffy the Vampire Slayer\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Eliza Dushku\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Tara Maclay\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 6764 7942"}, {"question": "What number of colleges of the University of Oxford,  part of the public university has St John's College that is a part of University of Oxford?", "choices": ["20", "21", "22", "23", "24", "25", "26", "27", "28", "29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Oxford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["St John's College"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "Relate", "dependencies": [5], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"public university\" . ?e_2 <part_of> ?e_1 . ?e_2 <pred:name> \"St John's College\" . ?e_2 <part_of> ?e_3 . ?e_3 <pred:name> \"University of Oxford\" .   }", "answer": "25"}, {"question": "When did Dorothy Fields win the Academy Award for Best Original Song?", "choices": ["2026", "2000", "1936", "1307-01-01", "1997-12-01", "2011-12-21", "2004-04-28", "1972-01-01", "1990-03-26", "2016-02-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Song"]}, {"function": "Find", "dependencies": [], "inputs": ["Dorothy Fields"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Academy Award for Best Original Song\" . ?e_2 <pred:name> \"Dorothy Fields\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1936"}, {"question": "Which has a greater percent of water area, Virginia (which contains the administrative division Fauquier County) or New Hampshire?", "choices": ["Hawaii", "Virginia", "Illinois", "Florida", "New Mexico", "New Jersey", "California", "Iowa", "Colorado", "New Hampshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fauquier County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New Hampshire"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["water as percent of area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Virginia\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Fauquier County\" .   } UNION { ?e <pred:name> \"New Hampshire\" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Virginia"}, {"question": "Denis Leary and the term composer have what relationship?", "choices": ["official symbol", "art director", "place of birth", "location of formation", "is a list of", "said to be the same as", "stated in", "original language of film or TV show", "occupation", "sibling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denis Leary"]}, {"function": "Find", "dependencies": [], "inputs": ["composer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Denis Leary\" . ?e_2 <pred:name> \"composer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is the Dewey Decimal Classification of Williamsburg 2-63 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Williamsburg"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["2--63"]}], "sparql": "ASK { ?e <pred:name> \"Williamsburg\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--63\" .  }", "answer": "no"}, {"question": "What is the number of National Basketball Association Drafts that are associated with sport ski jumping or whose date is after the year 2005?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ski jumping"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Basketball Association Draft"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2005", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["National Basketball Association Draft"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Basketball Association Draft\" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> \"ski jumping\" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } }", "answer": "3"}, {"question": "For the big city with a population of 186156, when is the city's area 153.06 km2?", "choices": ["1990-06-03", "1992", "1986", "2009-02-08", "1825", "2016-07-14", "2015-01-08", "1910-01-01", "1768", "2002-04-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "186156", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["area", "153.06 square kilometre", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"186156\"^^xsd:double . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"153.06\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1992"}, {"question": "When did the metro area in Neal Stephenson's home of Maryland record a population of 2710489?", "choices": ["1981-01-01", "2014-01-01", "1377", "2010-06-01", "2015-09-01", "1859", "1949-03-24", "2000-05-01", "1952-05-28", "2003-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Neal Stephenson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Maryland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "2710489", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Maryland\" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> \"Neal Stephenson\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2710489\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "Which human has a date of birth before 1952 and was a member of the Minnesota Twins until 1978?", "choices": ["Sylvester Stallone", "William Henry Harrison", "John Osborne", "James E. Reilly", "Simon Cowell", "Tom Johnson", "Richard Gere", "Steve Earle", "Rahul Dev Burman", "David Byrne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1952", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota Twins"]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["end time", "1978", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1952 ) . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Minnesota Twins\" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1978 .  }", "answer": "Tom Johnson"}, {"question": "Until when did Dwyaene Wade study at Marquette University?", "choices": ["2001-11-01", "2013-04-12", "2003", "2005-01-16", "2012-07-14", "1820-03-15", "1929-06-02", "1663", "2018-02-15", "1969-09-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dwyane Wade"]}, {"function": "Find", "dependencies": [], "inputs": ["Marquette University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dwyane Wade\" . ?e_2 <pred:name> \"Marquette University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2003"}, {"question": "How is Sean Lennon connected to Japanese people?", "choices": ["software engine", "author", "director/manager", "season starts", "ethnic group", "dissertation submitted to", "place of publication", "doctoral advisor", "followed by", "nutrient"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sean Lennon"]}, {"function": "Find", "dependencies": [], "inputs": ["Japanese people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sean Lennon\" . ?e_2 <pred:name> \"Japanese people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "I want to know the relationship between 1997 Major League Baseball draft and Arizona Diamondbacks", "choices": ["military casualty classification", "twinned administrative body", "conferred by", "owned by", "participant", "followed by", "vehicle normally used", "follows", "place served by transport hub", "depicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1997 Major League Baseball draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Arizona Diamondbacks"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1997 Major League Baseball draft\" . ?e_2 <pred:name> \"Arizona Diamondbacks\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "What is the capital whose official name is \u091a\u0923\u094d\u0921\u0940\u0917\u0922\u093c / \u091a\u0902\u0921\u0940\u0917\u0922\u093c and that borders Punjab that borders Jammu and Kashmir?", "choices": ["New Delhi", "Tallinn", "Sarajevo", "Manila", "Paris", "Moscow", "Doha", "Lausanne", "Chandigarh", "Riga"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u091a\u0923\u094d\u0921\u0940\u0917\u0922\u093c / \u091a\u0902\u0921\u0940\u0917\u0922\u093c"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "Find", "dependencies": [], "inputs": ["Jammu and Kashmir"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Punjab"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["capital"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u091a\u0923\u094d\u0921\u0940\u0917\u0922\u093c / \u091a\u0902\u0921\u0940\u0917\u0922\u093c\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Punjab\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Jammu and Kashmir\" .  }", "answer": "Chandigarh"}, {"question": "What number of literary awards did the person official website https://gregbear.com win?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://gregbear.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["literary award"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://gregbear.com\" .   }", "answer": "6"}, {"question": "Which movie is shorter, Red Dragon (the one whose publication date is 1965-01-01) or Live Free or Die Hard?", "choices": ["Curse of the Golden Flower", "The Fifth Element", "Live Free or Die Hard", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Rebecca", "Training Day", "Red Dragon", "The Towering Inferno", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Dragon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1965-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Live Free or Die Hard"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Red Dragon\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1965-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Live Free or Die Hard\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Red Dragon"}, {"question": "Did the record label whose ISNI is 0000 0000 9007 2673 begin outside of 1701?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 9007 2673"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1701", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 9007 2673\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1701 ) .  }", "answer": "yes"}, {"question": "How many religions are different from the doctrine of Bertrand Russell's religion?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bertrand Russell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["doctrine"]}, {"function": "Relate", "dependencies": [2], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["religion"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e <different_from> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"doctrine\" . ?e_2 <religion> ?e_1 . ?e_2 <pred:name> \"Bertrand Russell\" .   }", "answer": "1"}, {"question": "What is the number of Winter Olympic Games belonging to Japan or whose official website is https://www.olympic.org/oslo-1952?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Winter Olympic Games"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.olympic.org/oslo-1952"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Winter Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Winter Olympic Games\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Japan\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.olympic.org/oslo-1952\" .  } }", "answer": "3"}, {"question": "What language is associated with the official website of Peoria County at http://www.co.peoria.il.us?", "choices": ["Franco-Proven\u00e7al", "Afrikaans", "Georgian", "Punjabi", "English", "O'odham", "Corsican", "Slavic languages", "Slovene", "Traditional Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peoria County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.co.peoria.il.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Peoria County\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.co.peoria.il.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the postal code of Chapman University?", "choices": ["92866", "27834", "68159", "600-010, 619-963", "20135", "37614", "30314-4399", "2100", "70178", "18015"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chapman University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chapman University\" . ?e <postal_code> ?pv .  }", "answer": "92866"}, {"question": "What is the inception time of medal received by Carol Burnett?", "choices": ["1611-01-01", "1910-05-31", "-782", "1902-07-23", "1945", "1817-12-10", "1821-09-28", "1812", "2009-10-21", "1970-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carol Burnett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medal"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medal\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Carol Burnett\" .  ?e <inception> ?pv .  }", "answer": "1945"}, {"question": "Tell me the organization that has the country the sovereign state that is the country New Zealand.", "choices": ["New Plymouth", "New Zealand national football team", "Goldman Sachs", "Skidmore Owings Merrill", "University of Otago", "New Zealand national cricket team", "20th Century Fox Home Entertainment", "Russians", "Orange", "Warner Media Group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Zealand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["organization"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"New Zealand\" .   }", "answer": "New Zealand national cricket team"}, {"question": "What is the connection between IK Start to association football?", "choices": ["manner of death", "make-up artist", "commander of", "place of burial", "director", "sport", "inspired by", "member of political party", "filming location", "territory overlaps"], "program": [{"function": "Find", "dependencies": [], "inputs": ["IK Start"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"IK Start\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Was the superhero with a Libris-URI of 75kmlwsr0vqp2jl born before 1980?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "75kmlwsr0vqp2jl"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["superhero"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1980", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"superhero\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"75kmlwsr0vqp2jl\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) .  }", "answer": "yes"}, {"question": "Which area is smaller, Chester County or Lycoming County?", "choices": ["Bucks County", "Franklin County", "Allegheny County", "Cumberland County", "Chester County", "Lehigh County", "Fayette County", "Lycoming County", "York County", "Warren County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chester County"]}, {"function": "Find", "dependencies": [], "inputs": ["Lycoming County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chester County\" .  } UNION { ?e <pred:name> \"Lycoming County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chester County"}, {"question": "What is the connection between Warrington to United Kingdom?", "choices": ["political ideology", "architect", "foundational text", "capital of", "from fictional universe", "works in collection", "designed to carry", "country", "child", "instrument"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warrington"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Warrington\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the theatre award which was nominated to Annette Bening?", "choices": ["Tony Award for Best Book of a Musical", "Tony Award for Best Costume Design", "Academy Award for Best Supporting Actress", "Tony Award for Best Direction of a Play", "Tony Award for Best Actor in a Play", "Tony Award for Best Featured Actress in a Musical", "Tony Award for Best Actor in a Musical", "Tony Award for Best Featured Actress in a Play", "Tony Award for Best Direction of a Musical", "Academy Award for Best Actress"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Annette Bening"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatre award"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Annette Bening\" .   }", "answer": "Tony Award for Best Featured Actress in a Play"}, {"question": "How many secondary schools were founded before 1841 or located in West Chester?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1841", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "Find", "dependencies": [], "inputs": ["West Chester"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["secondary school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1841 ) .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"West Chester\" .  } }", "answer": "2"}, {"question": "Is http://pleasantville-nj.org/ the official website of the United States city that shares a border with Atlantic City (whose land area is 44.585372 square kilometers)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic City"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "44.585372 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://pleasantville-nj.org/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Atlantic City\" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"44.585372\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://pleasantville-nj.org/\" .  }", "answer": "yes"}, {"question": "Which English ceremonial county contains Liverpool (the one whose ISO 3166-2 code is GB-LIV)?", "choices": ["Derbyshire", "Merseyside", "Essex", "Lancashire", "Warwickshire", "Cumbria", "West Midlands", "West Sussex", "Northumberland", "Staffordshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "GB-LIV"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ceremonial county of England"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Liverpool\" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"GB-LIV\" .   }", "answer": "Merseyside"}, {"question": "Which movie cost more to make, Willy Wonka & the Chocolate Factory or Moonrise Kingdom?", "choices": ["Willy Wonka & the Chocolate Factory", "Training Day", "Pleasantville", "Curse of the Golden Flower", "Moonrise Kingdom", "The Hunchback of Notre Dame", "The Towering Inferno", "Talk to Her", "Rebecca", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Willy Wonka & the Chocolate Factory"]}, {"function": "Find", "dependencies": [], "inputs": ["Moonrise Kingdom"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Willy Wonka & the Chocolate Factory\" .  } UNION { ?e <pred:name> \"Moonrise Kingdom\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Moonrise Kingdom"}, {"question": "What is the connection between Major League Baseball All-Star Game to United States of America?", "choices": ["mother", "film crew member", "religion", "filmography", "territory overlaps", "month of the year", "country", "participant of", "candidacy in election", "patron saint"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Major League Baseball All-Star Game"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Major League Baseball All-Star Game\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the postal code of Morgan Stanley's headquarter location of New York City?", "choices": ["10036", "85287", "20003", "01326", "90101\u201390103", "08102\u201308110", "221005", "93701\u201312", "83843", "95350\u201395358, 95397"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morgan Stanley"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Morgan Stanley\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "10036"}, {"question": "Of animated feature films that had their regional premiere at Cannes Film Festival, which is longest in run-time?", "choices": ["The Rescuers", "Aladdin", "WALL\u00b7E", "Lilo & Stitch", "Winnie the Pooh", "Beauty and the Beast", "Shrek 2", "Renaissance", "Madagascar 3: Europe's Most Wanted", "Peter Pan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film regional debut venue", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> \"Cannes Film Festival\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Madagascar 3: Europe's Most Wanted"}, {"question": "How many episodes does the TV series titled Battlestar Galactica include?", "choices": ["826", "50", "52", "148", "220", "4378", "197", "70", "75", "3169"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Battlestar Galactica"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Battlestar Galactica\" . ?e <number_of_episodes> ?pv .  }", "answer": "75"}, {"question": "How many towns are the twinned administrative body of the large city that is located in Utrecht (that is an administrative division of Netherlands)?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Utrecht"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["big city"]}, {"function": "Relate", "dependencies": [5], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["town"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"big city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Utrecht\" . ?e_3 <contains_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Netherlands\" .   }", "answer": "1"}, {"question": "How many performing arts whose IAB code is 203 or IPTC Newscode is mediatopic/20000007?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "203"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["performing arts"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPTC Newscode", "mediatopic/20000007"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["performing arts"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"performing arts\" .  { ?e <IAB_code> ?pv . ?pv <pred:value> \"203\" .  } UNION { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000007\" .  } }", "answer": "1"}, {"question": "How many sports seasons did the team, whose Instagram username is kcroyals, participate in ?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "kcroyals"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sports season"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <participant> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"baseball team\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"kcroyals\" .   }", "answer": "15"}, {"question": "Which has greater elevation above sea level, Greensburg or Bethlehem founded in 1741?", "choices": ["Erie", "Easton", "York", "Bethlehem", "Harrisburg", "Pittsburgh", "Philadelphia", "Chester", "Greensburg", "Wilkes-Barre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greensburg"]}, {"function": "Find", "dependencies": [], "inputs": ["Bethlehem"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1741", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greensburg\" . } UNION { ?e <pred:name> \"Bethlehem\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1741 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greensburg"}, {"question": "Is Naomi Watts or Megan Fox shorter in height?", "choices": ["Richard Gere", "Naomi Watts", "Simon Cowell", "James E. Reilly", "Rahul Dev Burman", "William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "Megan Fox", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Naomi Watts"]}, {"function": "Find", "dependencies": [], "inputs": ["Megan Fox"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Naomi Watts\" .  } UNION { ?e <pred:name> \"Megan Fox\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Megan Fox"}, {"question": "How many New York counties are located in Virginia (the one whose FIPS 5-2 numeric code (US states) is 51) or report 36033 as their FIPS 6-4 (US counties) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 5-2 numeric code (US states)", "51"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New York"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["FIPS 6-4 (US counties)", "36033"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of New York"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Virginia\" . ?e_1 <FIPS_5-2_numeric_code_(US_states)> ?pv . ?pv <pred:value> \"51\" .  } UNION { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"36033\" .  } }", "answer": "1"}, {"question": "What is the number of economic branches whose Iconclass notation is 42E541 and ISCO occupation code is 322?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "42E541"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["economic branch"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISCO occupation code", "322"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["economic branch"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"economic branch\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"42E541\" . ?e <ISCO_occupation_code> ?pv_1 . ?pv_1 <pred:value> \"322\" .  }", "answer": "0"}, {"question": "Is the duration of the album that has the record label Atlantic Records greater than 3.7 year?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["3.7 year", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Atlantic Records\" .  ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3.7\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Does R. Lee Ermey or Steve Buscemi have a greater number of children?", "choices": ["Max Fleischer", "Paul Simon", "Steve Buscemi", "Rahul Dev Burman", "James E. Reilly", "David Byrne", "R. Lee Ermey", "Richard Gere", "Simon Cowell", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["R. Lee Ermey"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Buscemi"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"R. Lee Ermey\" .  } UNION { ?e <pred:name> \"Steve Buscemi\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "R. Lee Ermey"}, {"question": "Who is the nominee of the Academy Award for Best Visual Effects for which Thunderball (whose filming location is Florida) was nominated?", "choices": ["Audrey Hepburn", "Todd Field", "Anna Kendrick", "Clifton Webb", "Frank Langella", "Maury Winetrobe", "Lisy Christl", "Morrie Ryskind", "Vivien Merchant", "John Stears"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thunderball"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Thunderball\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"Florida\" . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "John Stears"}, {"question": "Where was The Manchurian Candidate starring Miguel Ferrer published on 2004-11-11?", "choices": ["Ireland", "Hong Kong", "Greece", "United Kingdom", "Washington, D.C.", "Venezuela", "Germany", "Indonesia", "Stockholm", "Iceland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miguel Ferrer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Manchurian Candidate"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2004-11-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Manchurian Candidate\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Miguel Ferrer\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2004-11-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which county in Oregon with a population under 190000000 has the smallest area?", "choices": ["Yamhill County", "Tillamook County", "Multnomah County", "Lane County", "Columbia County", "Jackson County", "Lake County", "Deschutes County", "Klamath County", "Washington County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "190000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"190000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Multnomah County"}, {"question": "When was chanson created?", "choices": ["1982-10-28", "1959-08-21", "1778", "1793", "1981-01-01", "1739", "1891", "1863-01-01", "1450", "1984-11-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["chanson"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"chanson\" . ?e <inception> ?pv .  }", "answer": "1450"}, {"question": "Is El Pescadito the pseudonym of the person who is a member of PAS Giannina F.C. until the ending date 2001-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PAS Giannina F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2001-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["pseudonym"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["El Pescadito"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"PAS Giannina F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"2001-01-01\"^^xsd:date . ?e <pseudonym> ?pv . ?pv <pred:value> \"El Pescadito\" .  }", "answer": "yes"}, {"question": "When did Cesar Romero (the one that is related to sport association football) stop becoming a member of C.D. Chivas USA?", "choices": ["1815-08-07", "2014", "1969", "1969-03-28", "1908", "1944-08-25", "1806-12-20", "1994-02-27", "1987-11-11", "1983-03-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cesar Romero"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["C.D. Chivas USA"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cesar Romero\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"C.D. Chivas USA\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2014"}, {"question": "What New Jersey city is the twinned administrative body of the city whose official website is http://www.portoalegre.rs.gov.br/?", "choices": ["New Brunswick", "Suzhou", "Atlantic City", "Hoboken", "Perth Amboy", "Saint Petersburg", "Jersey City", "Newark", "Plainfield", "Buenos Aires"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.portoalegre.rs.gov.br/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city in New Jersey"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.portoalegre.rs.gov.br/\" .   }", "answer": "Newark"}, {"question": "What is the determination method of 1.27, the total fertility rate of the form of government whose IOC country code is ITA?", "choices": ["1860 United States Census", "Taqdir", "de facto", "Population registration in Sweden", "estimation process", "administrative division valid at the moment of publication", "hearth tax", "lead-lead dating", "extrapolation", "UIS estimation"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IOC country code", "ITA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["total fertility rate", "1.27", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <IOC_country_code> ?pv_1 . ?pv_1 <pred:value> \"ITA\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.27\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "When did the inflation rate in Cambodia hit 2.5 percent ?", "choices": ["2012-06-10", "1838-01-01", "2016-01-01", "2012-01-01", "1756", "1786", "2011-08-09", "1909-01-01", "1954", "2012-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cambodia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["inflation rate", "2.5 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cambodia\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"2.5\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "When was Diana Krall's music genre established?", "choices": ["1903-04-07", "1947-05-03", "1935", "1229", "1932-02-22", "2002-01-01", "1940-01-04", "1957-01-01", "1889-10-10", "1101-01-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Diana Krall"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Diana Krall\" .  ?e <inception> ?pv .  }", "answer": "1957-01-01"}, {"question": "Is the run-time longer for Michael Clayton, a Broadcast Film Critics Association Award nominee for Best Supporting Actress, or for Oscar, which originated in the USA?", "choices": ["Curse of the Golden Flower", "Oscar", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Rebecca", "Training Day", "Michael Clayton", "Pleasantville", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Clayton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Michael Clayton\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Supporting Actress\" .   } UNION { ?e <pred:name> \"Oscar\" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Michael Clayton"}, {"question": "Which movie is shorter, The Expendables or The Three Musketeers (the one whose exploitation visa number is 42024)?", "choices": ["Training Day", "A Prairie Home Companion", "Talk to Her", "The Expendables", "The Fifth Element", "Curse of the Golden Flower", "Pleasantville", "The Three Musketeers", "Rebecca", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Expendables"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["exploitation visa number", "42024"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Expendables\" . } UNION { ?e <pred:name> \"The Three Musketeers\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"42024\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Expendables"}, {"question": "Where was Enron: The Smartest Guys in the Room published on 2007-01-25 ?", "choices": ["Los Angeles", "Switzerland", "Austin", "Quebec", "Thailand", "Germany", "Westwood", "Seattle International Film Festival", "South Korea", "Vietnam"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enron: The Smartest Guys in the Room"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2007-01-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Enron: The Smartest Guys in the Room\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-01-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Of Massachusetts counties with a population size different from 88000000, which occupies the biggest area?", "choices": ["Essex County", "Plymouth County", "Worcester County", "Barnstable County", "Hampshire County", "Berkshire County", "Franklin County", "Suffolk County", "Norfolk County", "Hampden County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "88000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"88000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Barnstable County"}, {"question": "What is the relationship between Finding Neverland to Critics' Choice Movie Award for Best Actor?", "choices": ["tributary", "nominated for", "illustrator", "narrator", "officeholder", "registered with", "military conflicts", "original network", "airline hub", "native language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finding Neverland"]}, {"function": "Find", "dependencies": [], "inputs": ["Critics' Choice Movie Award for Best Actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Finding Neverland\" . ?e_2 <pred:name> \"Critics' Choice Movie Award for Best Actor\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When was Richard Harris a Golden Raspberry nominee for Worst Actor?", "choices": ["2004-06-24", "1964-12-01", "1907-01-01", "2008-11-12", "1981", "2005-07-01", "1970-04-01", "2014-12-03", "1952-05-28", "1994-06-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Harris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Harris\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Actor\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981"}, {"question": "Is Tag:denomination=evangelical the OSM tag or key for the Christianity whose title is \u3075\u304f\u3044\u3093\u306f in kana?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in kana", "\u3075\u304f\u3044\u3093\u306f"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Christianity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["OSM tag or key"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Tag:denomination=evangelical"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Christianity\" . ?e <name_in_kana> ?pv_1 . ?pv_1 <pred:value> \"\u3075\u304f\u3044\u3093\u306f\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:denomination=evangelical\" .  }", "answer": "yes"}, {"question": "At what point in time did Carinthia have a population of 560300?", "choices": ["1632", "1980-10-01", "2007-05-01", "1750", "2008-02-10", "2017-06-01", "1998-08-19", "2016-01-01", "2008-09-03", "1953-03-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carinthia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "560300", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Carinthia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"560300\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "What county in Ireland has the capital city that is the twin administrative body to Rochester (whose elevation is 154 meters above sea level)?", "choices": ["County Dublin", "County Kilkenny", "County Monaghan", "County Limerick", "County Kildare", "County Galway", "County Tipperary", "County Meath", "County Waterford", "County Sligo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rochester"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "154 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Ireland"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Rochester\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"154\"^^xsd:double .   }", "answer": "County Waterford"}, {"question": "Who is the person whose mother tongue is Chinese and whose native language name is  \u5f6d\u5fb7\u6000 ?", "choices": ["David Byrne", "Paul Simon", "Max Fleischer", "Simon Cowell", "Babyface", "Richard Gere", "Rahul Dev Burman", "Sylvester Stallone", "William Henry Harrison", "Peng Dehuai"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chinese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["native language", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "\u5f6d\u5fb7\u6000"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <native_language> ?e_1 . ?e_1 <pred:name> \"Chinese\" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u5f6d\u5fb7\u6000\" .  }", "answer": "Peng Dehuai"}, {"question": "Among the Florida counties with a population greater than 620000, which one has the smallest area?", "choices": ["Hillsborough County", "Palm Beach County", "Alachua County", "Broward County", "Orange County", "Duval County", "Pinellas County", "Citrus County", "Polk County", "Lee County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "620000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"620000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pinellas County"}, {"question": "Which human was born in Norfolk (whose ISNI is 0000 0004 0391 0333) and is famous for drum kit?", "choices": ["Richard Gere", "Max Fleischer", "Roger Taylor", "Simon Cowell", "Bobby Darin", "William Henry Harrison", "Timbaland", "David Byrne", "Sylvester Stallone", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0391 0333"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["drum kit"]}, {"function": "Relate", "dependencies": [4], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Norfolk\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0391 0333\" .  ?e_2 <famous_people> ?e . ?e_2 <pred:name> \"drum kit\" .  }", "answer": "Timbaland"}, {"question": "When did David Warner win a Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie?", "choices": ["1923-01-01", "1981", "2013-02-24", "1562", "1977-12-01", "1879-01-01", "2016-12-17", "2004-03-17", "1774", "1964-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["David Warner"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie\" . ?e_2 <pred:name> \"David Warner\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981"}, {"question": "When was the release of the movie clocking in at 7 minutes?", "choices": ["1944-01-01", "2018-01-04", "2016-10-13", "2011-07-16", "1990-03-10", "2003-12-01", "1997-03-10", "2018-11-23", "2020-03-26", "1986-07-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "7 minute", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"7\"^^xsd:double . ?e <publication_date> ?pv .  }", "answer": "1944-01-01"}, {"question": "What is the language of ECHL's official website https://www.echl.com/?", "choices": ["Slovene", "Arabic", "France", "Canadian French", "Bashkir", "Old English", "Australian English", "Eastern Armenian", "Maltese", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ECHL"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.echl.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"ECHL\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.echl.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is The Virgin Suicides related to Francis Ford Coppola?", "choices": ["producer", "dialect of", "copyright holder", "is a list of", "stated in", "lowest point", "home world", "follows", "writing system", "original language of film or TV show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Virgin Suicides"]}, {"function": "Find", "dependencies": [], "inputs": ["Francis Ford Coppola"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Virgin Suicides\" . ?e_2 <pred:name> \"Francis Ford Coppola\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Where was A Simple Plan published in the English language on 1999-02-25?", "choices": ["Israel", "People's Republic of China", "Lithuania", "Germany", "Vietnam", "Greek Theatre, Los Angeles", "Bahrain", "Seattle International Film Festival", "Northern America", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Simple Plan"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1999-02-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"A Simple Plan\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1999-02-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which has less area, Scotland whose majority age is 16 years old or Greenland that borders Nunavut?", "choices": ["Robert E. Howard", "F.C. Ashdod", "Greenland", "FC Twente", "Jim Reardon", "Wales", "Faroe Islands", "Netherlands", "Cook Islands", "Scotland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scotland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["age of majority", "16 years old", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Nunavut"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Greenland"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Scotland\" . ?e <age_of_majority> ?pv_1 . ?pv_1 <pred:unit> \"years old\" . ?pv_1 <pred:value> \"16\"^^xsd:double . } UNION { ?e <pred:name> \"Greenland\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Nunavut\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Scotland"}, {"question": "Which form of government that is the origin country of Downfall (whose genre is biographical film) has the lowest nominal GDP per capita?", "choices": ["Namibia", "Sierra Leone", "Mozambique", "Tunisia", "Colombia", "Zimbabwe", "Bolivia", "France", "Germany", "Italy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["biographical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Downfall"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["form of government"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["nominal GDP per capita", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e_1 <country_of_origin> ?e . ?e_1 <pred:name> \"Downfall\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"biographical film\" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Italy"}, {"question": "How is Rob Schneider related to the Democratic Party?", "choices": ["territory overlaps", "foundational text", "model item", "award disciplines or subjects", "publisher", "contributor(s) to the creative work", "member of political party", "software engine", "present in work", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob Schneider"]}, {"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rob Schneider\" . ?e_2 <pred:name> \"Democratic Party\" . ?e_1 ?p ?e_2 .  }", "answer": "member of political party"}, {"question": "Does the motto \"Concordia Salus\" belong to the university with IPv4 routing prefix 130.237.88.0/21?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv4 routing prefix", "130.237.88.0/21"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["motto text"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Concordia Salus"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <IPv4_routing_prefix> ?pv_1 . ?pv_1 <pred:value> \"130.237.88.0/21\" . ?e <motto_text> ?pv . ?pv <pred:value> \"Concordia Salus\" .  }", "answer": "no"}, {"question": "How is Star Trek: Nemesis related to Majel Barrett?", "choices": ["item operated", "part of the series", "main subject", "cast member", "award disciplines or subjects", "talk show guest", "sports season of league or competition", "based on", "board member", "honorific prefix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: Nemesis"]}, {"function": "Find", "dependencies": [], "inputs": ["Majel Barrett"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Trek: Nemesis\" . ?e_2 <pred:name> \"Majel Barrett\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who is the spouse of a person whose Munzinger IBA was  00000020781 on 1st January 1991 ?", "choices": ["Max Fleischer", "Dennis Quaid", "Vincent D'Onofrio", "David Byrne", "Rahul Dev Burman", "Penelope Wilton", "William Henry Harrison", "Sylvester Stallone", "Meg Ryan", "Ian Holm"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020781"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["spouse", "backward"]}, {"function": "QFilterDate", "dependencies": [3], "inputs": ["start time", "1991-01-01", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020781\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1991-01-01\"^^xsd:date .  }", "answer": "Vincent D'Onofrio"}, {"question": "How is NPR linked to Washington, D.C.?", "choices": ["head of government", "headquarters location", "doctoral advisor", "writing system", "conferred by", "lifestyle", "native language", "stated in", "worshipped by", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NPR"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"NPR\" . ?e_2 <pred:name> \"Washington, D.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which school was the person with ISNI 0000 0001 1022 5746 educated at?", "choices": ["Harvard Business School", "National School of Drama", "Punahou School", "Phillips Academy", "New York University Stern School of Business", "Upper Canada College", "Stuyvesant High School", "The Citadel, The Military College of South Carolina", "National Theatre School of Canada", "Aligarh Muslim University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1022 5746"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["school"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1022 5746\" .   }", "answer": "National School of Drama"}, {"question": "How is THQ developer's Avatar: The Last Airbender related to single-player video games?", "choices": ["board member", "game mode", "place of birth", "interested in", "draft pick from school", "official religion", "home venue", "broadcast by", "original film format", "licensed to broadcast to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["THQ"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar: The Last Airbender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Avatar: The Last Airbender\" . ?e_1 <developer> ?e_3 . ?e_3 <pred:name> \"THQ\" . ?e_2 <pred:name> \"single-player video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "What is the relationship between Mary Poppins to Carroll Clark?", "choices": ["notable people with this condition", "lyrics by", "registered with", "art director", "librettist", "copyright holder", "programming language", "connects with", "developer", "eye color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Poppins"]}, {"function": "Find", "dependencies": [], "inputs": ["Carroll Clark"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mary Poppins\" . ?e_2 <pred:name> \"Carroll Clark\" . ?e_1 ?p ?e_2 .  }", "answer": "art director"}, {"question": "Secret of the Wings was made by which film production company?", "choices": ["Lucasfilm", "Warner Bros.", "Buena Vista Home Entertainment", "20th Century Fox", "Touchstone Pictures", "Hollywood Pictures", "Walt Disney Pictures", "Hammer Film Productions", "United Artists", "Happy Madison Productions"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Secret of the Wings"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"Secret of the Wings\" .   }", "answer": "Walt Disney Pictures"}, {"question": "What is the release location for the visual artwork that received an Academy Award for Best Director whose winner is Barry Levinson, having a publication date of 1989-03-16?", "choices": ["Taiwan", "Serbia", "Singapore", "Brazil", "Ireland", "Uruguay", "Germany", "Los Angeles", "People's Republic of China", "North America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Barry Levinson"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1989-03-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Director\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Barry Levinson\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1989-03-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What person is a member of Limp Bizkit?", "choices": ["Richard Gere", "Max Fleischer", "Mahatma Gandhi", "John Paul Jones", "Sylvester Stallone", "Bono", "Charles Darwin", "William Henry Harrison", "Fred Durst", "Kristine Sutherland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Limp Bizkit"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Limp Bizkit\" .   }", "answer": "Fred Durst"}, {"question": "How many symptoms match a common property of opera or are associated with the notable person called Lady Gaga ?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lady Gaga"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable people with this condition", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["symptom"]}, {"function": "Find", "dependencies": [], "inputs": ["opera"]}, {"function": "Relate", "dependencies": [3], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["symptom"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"symptom\" .  { ?e <notable_people_with_this_condition> ?e_1 . ?e_1 <pred:name> \"Lady Gaga\" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"opera\" .  } }", "answer": "2"}, {"question": "Among animated feature films whose not published in 2010, Which had the shortest length?", "choices": ["The Lorax", "Kung Fu Panda 2", "Ice Age: Dawn of the Dinosaurs", "Sailor Moon S: The Movie", "Pocahontas", "Renaissance", "Monster House", "Tangled", "Shrek the Third", "Waltz with Bashir"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2010", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2010 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sailor Moon S: The Movie"}, {"question": "What number of New Jersey cities that is the twinned administrative body of the city has the local dialing code of 0586?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0586"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city in New Jersey"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"0586\" .   }", "answer": "0"}, {"question": "What is the connection between Pitbull to record producer?", "choices": ["broadcast by", "history of topic", "musical conductor", "lifestyle", "manufacturer", "official religion", "soundtrack album", "occupation", "architect", "filming location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pitbull"]}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pitbull\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How is Daniel Day-Lewis related to Michael Balcon ?", "choices": ["drug used for treatment", "taxon rank", "distributor", "item operated", "subsidiary", "contains settlement", "relative", "religious order", "creator", "killed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Day-Lewis"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Balcon"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Daniel Day-Lewis\" . ?e_2 <pred:name> \"Michael Balcon\" . ?e_1 ?p ?e_2 .  }", "answer": "relative"}, {"question": "Which one, Columbia County (the one whose population is 49344) or Washington County (the one whose ISNI is 0000 0004 0394 7275), has less area?", "choices": ["Linn County", "Marion County", "Columbia County", "Lake County", "Lane County", "Clackamas County", "Yamhill County", "Tillamook County", "Jackson County", "Douglas County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "49344", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["ISNI", "0000 0004 0394 7275"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Columbia County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"49344\"^^xsd:double . } UNION { ?e <pred:name> \"Washington County\" . ?e <ISNI> ?pv_2 . ?pv_2 <pred:value> \"0000 0004 0394 7275\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Columbia County"}, {"question": "The movie with the official website www.alongcamepolly.com was published in what region on 2004-03-04?", "choices": ["Slovenia", "Montreal World Film Festival", "Washington, D.C.", "Brazil", "United Kingdom", "Czech Republic", "worldwide", "Germany", "Japan", "Pakistan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.alongcamepolly.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2004-03-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.alongcamepolly.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-03-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many activities' starting point is the unitary state whose motto text is \"\u0417\u0430\u0435\u0434\u043d\u043e \u0441\u0435 \u0441\u0442\u0440\u0435\u043c\u0438\u043c, \u0437\u0430\u0435\u0434\u043d\u043e \u043f\u043e\u0441\u0442\u0438\u0433\u0430\u043c\u0435\"?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "\u0417\u0430\u0435\u0434\u043d\u043e \u0441\u0435 \u0441\u0442\u0440\u0435\u043c\u0438\u043c, \u0437\u0430\u0435\u0434\u043d\u043e \u043f\u043e\u0441\u0442\u0438\u0433\u0430\u043c\u0435"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["start point", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["activity"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <start_point> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"unitary state\" . ?e_1 <motto_text> ?pv . ?pv <pred:value> \"\u0417\u0430\u0435\u0434\u043d\u043e \u0441\u0435 \u0441\u0442\u0440\u0435\u043c\u0438\u043c, \u0437\u0430\u0435\u0434\u043d\u043e \u043f\u043e\u0441\u0442\u0438\u0433\u0430\u043c\u0435\" .   }", "answer": "0"}, {"question": "What is the relationship of Fueled By Ramen with Warner Music Group?", "choices": ["sibling", "parent organization", "member of political party", "taxon rank", "after a work by", "coextensive with", "next lower rank", "candidate", "sex or gender", "distributor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fueled By Ramen"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Music Group"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fueled By Ramen\" . ?e_2 <pred:name> \"Warner Music Group\" . ?e_1 ?p ?e_2 .  }", "answer": "parent organization"}, {"question": "How are U.S. Cremonese and Cremona related?", "choices": ["exclave of", "position played on team / speciality", "famous people", "grants", "spouse", "mouth of the watercourse", "office held by head of government", "headquarters location", "has effect", "located in or next to body of water"], "program": [{"function": "Find", "dependencies": [], "inputs": ["U.S. Cremonese"]}, {"function": "Find", "dependencies": [], "inputs": ["Cremona"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"U.S. Cremonese\" . ?e_2 <pred:name> \"Cremona\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which language is associated with http://www.mtv.com, the official website of the cable channel whose Snapchat username is mtv?", "choices": ["Yaqui", "Cook Islands M\u0101ori", "English", "Klingon", "Valencian", "Chinese", "Maltese", "Slovak", "Canadian French", "Estonian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Snapchat username", "mtv"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cable channel"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.mtv.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" . ?e <Snapchat_username> ?pv_1 . ?pv_1 <pred:value> \"mtv\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mtv.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When comparing Towson University and Birkbeck, University of London, which has the most number of students enrolled?", "choices": ["University of Tasmania", "University of Queensland", "Towson University", "San Diego State University", "University of Hamburg", "University of Melbourne", "King's College London", "Panjab University", "Birkbeck, University of London", "University of Michigan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Towson University"]}, {"function": "Find", "dependencies": [], "inputs": ["Birkbeck, University of London"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Towson University\" .  } UNION { ?e <pred:name> \"Birkbeck, University of London\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Birkbeck, University of London"}, {"question": "What is the number of Oregon county that has a population of under 11000 or a FIPS 6-4 (US counties) code of 41037", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "11000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)", "41037"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Oregon"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"11000\"^^xsd:double ) .  } UNION { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"41037\" .  } }", "answer": "1"}, {"question": "what is the Instagram username for Ben Stiller ?", "choices": ["adelaideunited", "chelseafc", "davematthewsband", "juliannemoore", "anupampkher", "tpain", "misslivalittle", "sarahmgellar", "thatdanstevens", "benstiller"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Stiller"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ben Stiller\" . ?e <Instagram_username> ?pv .  }", "answer": "benstiller"}, {"question": "What is the ISNI of the person whose name is Grover Cleveland in native language?", "choices": ["0000 0001 1054 7892", "0000 0000 6759 2208", "0000 0004 0427 712X", "0000 0001 1023 8117", "0000 0001 2100 6418", "0000 0000 8214 3494", "0000 0004 0600 2226", "0000 0001 2375 3994", "0000 0001 0939 5457", "0000 0000 5884 9016"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Grover Cleveland"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Grover Cleveland\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 8214 3494"}, {"question": "Is the ISNI number for James Poyser 0000 0000 3670 9717?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Poyser"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 3670 9717"]}], "sparql": "ASK { ?e <pred:name> \"James Poyser\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3670 9717\" .  }", "answer": "yes"}, {"question": "What academic major did Joe Walsh (who was educated at Lee Strasberg Theatre and Film Institute and at the University of Iowa) have?", "choices": ["physiology", "harmony", "mathematical physics", "zoology", "engineering", "architecture", "English", "mathematics education", "biology", "social work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lee Strasberg Theatre and Film Institute"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Walsh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Iowa"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "academic major"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joe Walsh\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Lee Strasberg Theatre and Film Institute\" . ?e_2 <pred:name> \"University of Iowa\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_major> ?qpv .  }", "answer": "English"}, {"question": "Which movie is longer, The Usual Suspects or RoboCop (the one whose producer is Roger Birnbaum)?", "choices": ["Curse of the Golden Flower", "The Usual Suspects", "Rebecca", "Pleasantville", "Talk to Her", "Training Day", "The Hunchback of Notre Dame", "The Fifth Element", "RoboCop", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Usual Suspects"]}, {"function": "Find", "dependencies": [], "inputs": ["Roger Birnbaum"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["RoboCop"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Usual Suspects\" .  } UNION { ?e <pred:name> \"RoboCop\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Roger Birnbaum\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "RoboCop"}, {"question": "What anime television series that started after 1987 has the smallest number of episodes?", "choices": ["Mobile Suit Gundam 00", "Dragon Ball", "Digimon Adventure 02", "Speed Racer", "RahXephon", "Yu-Gi-Oh! Duel Monsters", "The Three Musketeers", "Digimon Adventure", "Yu-Gi-Oh! GX", "Mobile Suit Gundam SEED"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1987", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1987 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mobile Suit Gundam SEED"}, {"question": "If we get a city in the United States, with an official website http://www.ci.livonia.mi.us/ (the language of this statement is English), what is the time point of this city reaching population of 96942?", "choices": ["1758", "1975-01-01", "1886-01-01", "1970-11-01", "0001-01-01", "2012-02-20", "1999-10-13", "2018-01-09", "2010-01-01", "1279"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ci.livonia.mi.us/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "96942", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.livonia.mi.us/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"96942\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "What has a shorter duration, the StudioCanal production Sin City or Wimbledon?", "choices": ["A Prairie Home Companion", "Sin City", "The Fifth Element", "Pleasantville", "Wimbledon", "Training Day", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sin City"]}, {"function": "Find", "dependencies": [], "inputs": ["StudioCanal"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wimbledon"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sin City\" .  } UNION { ?e <pred:name> \"Wimbledon\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"StudioCanal\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wimbledon"}, {"question": "Jane Seymour is cast as which character on Live and Let Die, set in the Caribbean?", "choices": ["Doc Hudson", "Piter De Vries", "Jennifer Mack", "Count Paris", "Raymond III", "Sydney Bristow", "Solitaire", "Big Nose", "Mark Tuso", "Betty Draper"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caribbean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Live and Let Die"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jane Seymour"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Live and Let Die\" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Caribbean\" . ?e_2 <pred:name> \"Jane Seymour\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Solitaire"}, {"question": "What is the relationship between Dropkick Murphys and folk rock?", "choices": ["taxon rank", "appears in the form of", "movement", "discoverer or inventor", "general manager", "commander of", "genre", "official residence", "exported to", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dropkick Murphys"]}, {"function": "Find", "dependencies": [], "inputs": ["folk rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dropkick Murphys\" . ?e_2 <pred:name> \"folk rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Are there less seasons in 24 with Anil Kapoor or in Charmed which ended on 2006-05-21?", "choices": ["The Stand", "Edge of Darkness", "Charmed", "The Diary of Anne Frank", "Battlestar Galactica", "George Washington", "The Ten Commandments", "24", "The Pacific", "The Civil War"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anil Kapoor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["24"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Charmed"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["end time", "2006-05-21", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"24\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Anil Kapoor\" . } UNION { ?e <pred:name> \"Charmed\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"2006-05-21\"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "24"}, {"question": "What activity's publisher is the activity that is the subsidiary organization of Warner Bros.?", "choices": ["Harry Potter and the Half-Blood Prince", "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe", "The League of Extraordinary Gentlemen", "printmaking", "music video game", "Guitar Hero 5", "Watchmen", "Battleship", "Superman", "Cars 2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["publisher", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["activity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <publisher> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"activity\" . ?e_1 <parent_organization> ?e_2 . ?e_2 <pred:name> \"Warner Bros.\" .   }", "answer": "Superman"}, {"question": "When was Paul Williams, whose ISNI is 0000 0001 0936 4271, born?", "choices": ["1952-04-04", "1938-12-16", "1948-05-19", "1964-08-25", "1948-12-31", "1963-03-04", "1925-05-29", "1894-05-27", "1895-10-04", "1958-09-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Williams"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0936 4271"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Paul Williams\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0936 4271\" . ?e <date_of_birth> ?pv .  }", "answer": "1948-05-19"}, {"question": "Who was nominated for Academy Award for Best Actor for Philadelphia (the one that mainly depicts law) ?", "choices": ["Mexico\u2013Turkey relations", "Indonesia\u2013Papua New Guinea border", "Costa Rica\u2013Denmark relations", "Madagascar\u2013North Korea relations", "Austria\u2013Yugoslavia relations", "Bolivia\u2013Chile border", "Russia\u2013Thailand relations", "China\u2013Pakistan border", "North Korea\u2013Sweden relations", "66th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["law"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Philadelphia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Philadelphia\" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> \"law\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "66th Academy Awards"}, {"question": "Which town whose TOID is 4000000074572547?", "choices": ["Scunthorpe", "Palm Springs", "Greenwich", "Royal Leamington Spa", "Royal Tunbridge Wells", "South Shields", "Wigan", "Luton", "Warrington", "Edmonton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074572547"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074572547\" .  }", "answer": "Luton"}, {"question": "Jonathan Walters had what count of matches as a member of Scunthorpe United F.C.?", "choices": ["345", "3", "131", "44", "71", "51", "25", "65", "99", "59"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Walters"]}, {"function": "Find", "dependencies": [], "inputs": ["Scunthorpe United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jonathan Walters\" . ?e_2 <pred:name> \"Scunthorpe United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "3"}, {"question": "Which one, United Arab Emirates or South Korea, has greater nominal GDP per capita?", "choices": ["Weimar Republic", "South Sudan", "Switzerland", "Socialist Federal Republic of Yugoslavia", "Russian Soviet Federative Socialist Republic", "United Arab Emirates", "Cambodia", "Kiribati", "Benin", "South Korea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Arab Emirates"]}, {"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["nominal GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"United Arab Emirates\" .  } UNION { ?e <pred:name> \"South Korea\" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "United Arab Emirates"}, {"question": "How is literature related to literary criticism?", "choices": ["diplomatic relation", "film release region", "country for sport", "studied by", "original network", "mountain range", "named after", "patron saint", "month of the year", "participant of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["literature"]}, {"function": "Find", "dependencies": [], "inputs": ["literary criticism"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"literature\" . ?e_2 <pred:name> \"literary criticism\" . ?e_1 ?p ?e_2 .  }", "answer": "studied by"}, {"question": "How many followers have the Twitter username caallboys, that belongs to the association football club whose Instagram username is caallboysoficial?", "choices": ["540918", "5530603", "6289", "14792", "935706", "12231", "2873566", "82941", "2760897", "253"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "caallboysoficial"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "caallboys", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"caallboysoficial\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"caallboys\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "14792"}, {"question": "How is Pennsylvania related to Sullivan County whose population is 6449?", "choices": ["instrumentation", "signatory", "mother", "chairperson", "set in period", "contains administrative territorial entity", "statistical leader", "worshipped by", "indigenous to", "successful candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Find", "dependencies": [], "inputs": ["Sullivan County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "6449", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pennsylvania\" . ?e_2 <pred:name> \"Sullivan County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"6449\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "contains administrative territorial entity"}, {"question": "http://www.shrek.com is the official website of which media franchise?", "choices": ["Star Trek", "Dragon Ball", "Law & Order", "Star Wars", "From Dusk till Dawn", "Mighty Morphin Power Rangers", "Shrek", "The Little Mermaid", "Transformers", "Jurassic Park"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.shrek.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.shrek.com\" .  }", "answer": "Shrek"}, {"question": "The birthplace of Virginia Madsen is in how many census-designated places or locations in the continent of North America?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virginia Madsen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "Find", "dependencies": [], "inputs": ["North America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["continent", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["census-designated place"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" .  { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Virginia Madsen\" .  } UNION { ?e <continent> ?e_1 . ?e_1 <pred:name> \"North America\" .  } }", "answer": "1"}, {"question": "Tell me the civil and political rights that has a wikitribune category of humanrights/Free-Speech-human rights", "choices": ["women's rights", "New York", "video", "interactive television", "Blu-ray Disc", "The New York Times", "freedom of speech", "Mystery", "Where the Wild Things Are", "The Count of Monte Cristo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Wikitribune category", "humanrights/free-speech-humanrights"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["civil and political rights"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"civil and political rights\" . ?e <Wikitribune_category> ?pv . ?pv <pred:value> \"humanrights/free-speech-humanrights\" .  }", "answer": "freedom of speech"}, {"question": "What birth date applies to the individual whose ISNI is equivalent to 0000 0001 2027 9385?", "choices": ["1961-05-29", "1881-04-18", "1904-11-14", "1944-05-24", "1946-10-31", "1930-06-06", "1892-07-29", "1943-12-21", "1943-02-13", "1979-04-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2027 9385"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2027 9385\" . ?e <date_of_birth> ?pv .  }", "answer": "1943-12-21"}, {"question": "How many businesses have a net profit of 30000000 Czech korunas and originally broadcast Dragon Ball (whose original language is Japanese)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["net profit", "30000000 Czech koruna", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dragon Ball"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["business"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <net_profit> ?pv . ?pv <pred:unit> \"Czech koruna\" . ?pv <pred:value> \"30000000\"^^xsd:double . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Dragon Ball\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"Japanese\" .  }", "answer": "0"}, {"question": "What is the connection between ABC Afterschool Special to anthology series?", "choices": ["political alignment", "cites", "home venue", "worshipped by", "manufacturer", "software engine", "notable people with this condition", "genre", "source of material", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ABC Afterschool Special"]}, {"function": "Find", "dependencies": [], "inputs": ["anthology series"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"ABC Afterschool Special\" . ?e_2 <pred:name> \"anthology series\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Was the Julia that died in 54 BC born in a year other than 1922?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julia"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "-54", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1922", "!="]}], "sparql": "ASK { ?e <pred:name> \"Julia\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:year> -54 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1922 ) .  }", "answer": "yes"}, {"question": "Does the website www.merton.ox.ac.uk represent the University of Oxford college with Charity Commission number 1139022 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Charity Commission no.", "1139022"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.merton.ox.ac.uk/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <Charity_Commission_no.> ?pv_1 . ?pv_1 <pred:value> \"1139022\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.merton.ox.ac.uk/\" .  }", "answer": "yes"}, {"question": "Among the theatrical genre with number of episodes less than 3600,which one has the largest number of seasons ?", "choices": ["Anthony Mackie", "stand-up comedy", "Mr. Smith Goes to Washington", "Sussex County", "farce", "comedy of manners", "Algeria", "The Monkees", "The Golden Girls", "Tabu"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "3600", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"3600\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "What is the official website of the person whose ISNI is 0000 0001 1474 3751?", "choices": ["http://www.mgmresorts.com/", "http://www.ala.org/alsc/awardsgrants/bookmedia/newberymedal/newberymedal", "http://www.sheffield.gov.uk/", "http://www.hudson.co.jp", "http://www.sonypictures.com/movies/gattaca/", "https://www.ithaca.edu/", "https://villanova.com/index.aspx?path=mbball", "https://www.uq.edu.au", "http://www.requiemforadream.com", "http://www.robertcray.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1474 3751"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1474 3751\" . ?e <official_website> ?pv .  }", "answer": "http://www.robertcray.com/"}, {"question": "When was the person who died on 2006-01-17 born?", "choices": ["1961-08-04", "1977-07-30", "1958-07-17", "1974-12-04", "1956-06-04", "1947-04-22", "1972-10-31", "1905-06-21", "1883-04-01", "1931-11-05"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2006-01-17", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"2006-01-17\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1931-11-05"}, {"question": "Does the Pearl Jam published on 2006-05-02 clock in at other than 2700 seconds ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pearl Jam"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2006-05-02", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["2700 second", "!="]}], "sparql": "ASK { ?e <pred:name> \"Pearl Jam\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2006-05-02\"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2700\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Was the person whose ISNI is 0000 0001 1935 566X born after 1892?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1935 566X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1892", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1935 566X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1892 ) .  }", "answer": "yes"}, {"question": "What is the capital of Senegal?", "choices": ["Kingston", "Cork", "Dakar", "Peshawar", "Trieste", "Accra", "Kilkenny", "Newcastle upon Tyne", "Ravenna", "Belfast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Senegal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Senegal\" .   }", "answer": "Dakar"}, {"question": "What is the official website of the person who was married to Mariah Carey until 2016?", "choices": ["http://www.manisaspor.org.tr", "http://www.jamiroquai.com/", "http://huntingtonny.gov", "http://clubtiburonesrojos.mx", "http://www.uhfc.tv/", "http://www.nickcannon.com", "http://cosmopolisthefilm.com", "http://www.ci.visalia.ca.us", "http://www.welcometorecall.com", "http://www.baconbros.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mariah Carey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2016", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Mariah Carey\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2016 . ?e <official_website> ?pv .  }", "answer": "http://www.nickcannon.com"}, {"question": "How is Hulk (sport number 10) related to F.C. Zenit St. Petersburg?", "choices": ["dedicated to", "make-up artist", "child astronomical body", "material used", "creator", "organisation directed from the office or person", "movement", "member of sports team", "sexual orientation", "culture"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hulk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sport number", "10"]}, {"function": "Find", "dependencies": [], "inputs": ["F.C. Zenit St. Petersburg"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hulk\" . ?e_1 <sport_number> ?pv . ?pv <pred:value> \"10\" . ?e_2 <pred:name> \"F.C. Zenit St. Petersburg\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "When did the city where 505 Games was formed have a population of 290514?", "choices": ["2000-10-11", "1396", "2002-09-18", "1940-06-19", "1588-12-01", "1906-01-01", "1871", "2018-06-30", "-4000", "1952-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["505 Games"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "290514", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"505 Games\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"290514\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1871"}, {"question": "What is the official website of the movie titled Madagascar: Escape 2 Africa?", "choices": ["http://vancouver.ca/", "http://www.madagascar-themovie.com/", "http://www.nsw.gov.au", "http://www.galwaycoco.ie", "http://www.walnut-creek.org", "https://www.bolognafc.it/", "http://www.bouldercolorado.gov", "https://www.nokia.com/", "http://www.atlantafalcons.com", "http://www.liljononline.com"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Madagascar: Escape 2 Africa"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Madagascar: Escape 2 Africa\" . ?e <official_website> ?pv .  }", "answer": "http://www.madagascar-themovie.com/"}, {"question": "What is the official website of Evangelion: 2.0 You Can (Not) Advance?", "choices": ["http://www.theincrediblestringband.com/", "http://www.lorraine.eu", "http://www.cob.us/", "http://KevinSpacey.com", "http://www.aaliyah.com", "https://www.army.mod.uk/", "http://www.ebtg.com", "http://www.sonypictures.com/movies/badteacher/", "http://www.evangelion.co.jp/2_0/index.html", "http://www.timburton.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evangelion: 2.0 You Can (Not) Advance"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Evangelion: 2.0 You Can (Not) Advance\" . ?e <official_website> ?pv .  }", "answer": "http://www.evangelion.co.jp/2_0/index.html"}, {"question": "Is mediatopic/20000022 the IPTC Newscode of classical music?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["classical music"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IPTC Newscode"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["mediatopic/20000022"]}], "sparql": "ASK { ?e <pred:name> \"classical music\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000022\" .  }", "answer": "yes"}, {"question": "What is the beginning date that UKG32 is the NUTS code for the metropolitan borough whose capital is Solihull (whose OS grid reference is SP1579)?", "choices": ["1994-12-17", "1970-09-19", "1993-01-27", "2003-08-02", "2000-08-02", "1999-01-01", "1770", "1984-10-01", "1801-03-04", "1910"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Solihull"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OS grid reference", "SP1579"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["metropolitan borough"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["NUTS code", "UKG32", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Solihull\" . ?e_1 <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> \"SP1579\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"UKG32\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Which person's ISNI is 0000 0001 1455 6649 ?", "choices": ["William Henry Harrison", "Richard Gere", "Max Fleischer", "Faye Dunaway", "Albert Einstein", "Anthony Head", "Adam Levine", "Mischa Barton", "David X. Cohen", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1455 6649"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1455 6649\" .  }", "answer": "Faye Dunaway"}, {"question": "How is East Coast hip hop related to Method Man?", "choices": ["parent club", "famous people", "narrative location", "office contested", "main subject", "set in period", "league", "screenwriter", "tributary", "has effect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Coast hip hop"]}, {"function": "Find", "dependencies": [], "inputs": ["Method Man"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"East Coast hip hop\" . ?e_2 <pred:name> \"Method Man\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which big city's postal code is 5081?", "choices": ["Salzburg", "Stuttgart", "Saint Petersburg", "Bruges", "Halle (Saale)", "Koblenz", "Makati", "Lyon", "Karlsruhe", "Utrecht"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "5081"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <postal_code> ?pv . ?pv <pred:value> \"5081\" .  }", "answer": "Salzburg"}, {"question": "When did George III of Great Britain enter the Seven Years' War ?", "choices": ["1994-09-30", "2016-05-30", "1955-05-09", "1955", "1994-01-06", "1979-10-25", "1999-04-27", "1994-07-03", "1760", "2009-09-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seven Years' War"]}, {"function": "Find", "dependencies": [], "inputs": ["George III of Great Britain"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["participant", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seven Years' War\" . ?e_2 <pred:name> \"George III of Great Britain\" . ?e_1 <participant> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <participant> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1760"}, {"question": "How is Latin pop's Luis Miguel related to the profession record producer?", "choices": ["sponsor", "occupation", "legislative body", "signatory", "participant", "collection", "ethnic group", "language used", "grants", "given name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin pop"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Luis Miguel"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Luis Miguel\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"Latin pop\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "James Brown, born 1868-01-01, belonged to Aston Villa F.C. until what date?", "choices": ["2007-04-17", "1796", "1939-07-29", "2009-03-20", "1707-04-30", "1952-04-15", "1937-01-21", "2007-07-01", "1893-01-01", "1979-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1868-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Aston Villa F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1868-01-01\"^^xsd:date . ?e_2 <pred:name> \"Aston Villa F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1893-01-01"}, {"question": "What is the relation between The Fugitive (the one whose director is D. W. Griffith) and English?", "choices": ["original language of film or TV show", "candidate", "participant of", "domain of saint or deity", "work location", "place of birth", "developer", "presenter", "movement", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["D. W. Griffith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fugitive"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fugitive\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"D. W. Griffith\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Did the television series that is based on War and Peace that uses French end before 2000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["2000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"War and Peace\" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> \"French\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2000 ) .  }", "answer": "yes"}, {"question": "How many liberal arts colleges are in Sri Lanka or that are registered with the Internal Revenue Service?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sri Lanka"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college"]}, {"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "Relate", "dependencies": [3], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["liberal arts college"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Sri Lanka\" .  } UNION { ?e <registered_with> ?e_1 . ?e_1 <pred:name> \"Internal Revenue Service\" .  } }", "answer": "15"}, {"question": "What is the relationship between Daniel Nestor and the 2008 Summer Olympics?", "choices": ["medical condition", "political ideology", "works in collection", "field of this occupation", "participant of", "manufacturer", "conflict", "general manager", "commander of", "military branch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Nestor"]}, {"function": "Find", "dependencies": [], "inputs": ["2008 Summer Olympics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Daniel Nestor\" . ?e_2 <pred:name> \"2008 Summer Olympics\" . ?e_1 ?p ?e_2 .  }", "answer": "participant of"}, {"question": "Which area is smaller, Minnesota (the one that contains the administrative division Hennepin County) or Connecticut?", "choices": ["Connecticut", "Illinois", "Florida", "Hawaii", "Iowa", "New Jersey", "Colorado", "Minnesota", "California", "New Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hennepin County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Connecticut"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Minnesota\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Hennepin County\" .   } UNION { ?e <pred:name> \"Connecticut\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Connecticut"}, {"question": "What is the relationship between Harry Potter and the Goblet of Fire (the one whose game mode is multiplayer video game) to multiplayer video game?", "choices": ["tributary", "child", "copyright representative", "has cause", "different from", "game mode", "operating system", "place of death", "legislative body", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Goblet of Fire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Potter and the Goblet of Fire\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"multiplayer video game\" . ?e_2 <pred:name> \"multiplayer video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "Which movie is shorter, 3 Idiots or Midnight Express?", "choices": ["Rebecca", "Training Day", "A Prairie Home Companion", "Pleasantville", "3 Idiots", "Midnight Express", "Talk to Her", "Curse of the Golden Flower", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3 Idiots"]}, {"function": "Find", "dependencies": [], "inputs": ["Midnight Express"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"3 Idiots\" .  } UNION { ?e <pred:name> \"Midnight Express\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Midnight Express"}, {"question": "Which movie is longer, America America or Labyrinth (the one whose start time is 2012)?", "choices": ["Labyrinth", "A Streetcar Named Desire", "The Late Shift", "A Christmas Carol", "Shackleton", "All Quiet on the Western Front", "The Challenge", "America America", "The Goodbye Girl", "The Music Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["America America"]}, {"function": "Find", "dependencies": [], "inputs": ["Labyrinth"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["start time", "2012", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"America America\" . } UNION { ?e <pred:name> \"Labyrinth\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 2012 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Labyrinth"}, {"question": "Which is longer, Queen that is 146 minutes long or Loving whose official website is http://www.focusfeatures.com/loving?", "choices": ["Training Day", "Loving", "Talk to Her", "Rebecca", "Queen", "A Prairie Home Companion", "The Fifth Element", "The Towering Inferno", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Queen"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "146 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Loving"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official website", "http://www.focusfeatures.com/loving"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Queen\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"146\"^^xsd:double . } UNION { ?e <pred:name> \"Loving\" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> \"http://www.focusfeatures.com/loving\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Queen"}, {"question": "How many genre are within steampunk subreddit, or, their OCLC control number is 357792?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "steampunk"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["genre"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OCLC control number", "357792"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"genre\" .  { ?e <subreddit> ?pv . ?pv <pred:value> \"steampunk\" .  } UNION { ?e <OCLC_control_number> ?pv . ?pv <pred:value> \"357792\" .  } }", "answer": "2"}, {"question": "Did Wimbledon F.C. take place after 1847?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wimbledon F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1847", ">"]}], "sparql": "ASK { ?e <pred:name> \"Wimbledon F.C.\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1847 ) .  }", "answer": "yes"}, {"question": "What is the CANTIC-ID for Anthony B. Richmond?", "choices": ["a10101585", "a11748291", "a11711097", "a11266478", "a11812266", "a10454949", "a11917702", "a12247959", "a10252538", "a10333290"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anthony B. Richmond"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Anthony B. Richmond\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11917702"}, {"question": "Did Kingdom of Heaven make more than 410000000 Hong Kong dollar at the box office?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Heaven"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["410000000 Hong Kong dollar", ">"]}], "sparql": "ASK { ?e <pred:name> \"Kingdom of Heaven\" . ?e <box_office> ?pv . ?pv <pred:unit> \"Hong Kong dollar\" . ?pv <pred:value> ?v . FILTER ( ?v > \"410000000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many Washington counties border Columbia County whose population is 49351 or have the capital Port Arthur?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "49351", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Washington"]}, {"function": "Find", "dependencies": [], "inputs": ["Port Arthur"]}, {"function": "Relate", "dependencies": [4], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Washington"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Columbia County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"49351\"^^xsd:double .  } UNION { ?e <capital> ?e_1 . ?e_1 <pred:name> \"Port Arthur\" .  } }", "answer": "1"}, {"question": "Does The Deer Hunter or Crazy in Alabama have the longer running time?", "choices": ["Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Deer Hunter", "The Towering Inferno", "Talk to Her", "Pleasantville", "Rebecca", "A Prairie Home Companion", "Crazy in Alabama", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Deer Hunter"]}, {"function": "Find", "dependencies": [], "inputs": ["Crazy in Alabama"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Deer Hunter\" .  } UNION { ?e <pred:name> \"Crazy in Alabama\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Deer Hunter"}, {"question": "How many Screen Actors Guild Award were nominated to both Joan Allen and J. Edgar?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joan Allen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Screen Actors Guild Award"]}, {"function": "Find", "dependencies": [], "inputs": ["J. Edgar"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Screen Actors Guild Award"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Screen Actors Guild Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Joan Allen\" .  ?e_2 <nominated_for> ?e . ?e_2 <pred:name> \"J. Edgar\" .  }", "answer": "0"}, {"question": "Where was The Rescuers published on 1977-06-19?", "choices": ["Denmark", "Pakistan", "Norway", "Malaysia", "New Amsterdam Theatre", "Italy", "Quebec", "Charlotte Motor Speedway", "Slovakia", "Washington, D.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Rescuers"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1977-06-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Rescuers\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1977-06-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Washington, D.C."}, {"question": "When did Lauren Bacall's husband Jason Robards win an Academy Award for Best Supporting Actor?", "choices": ["1965-11-01", "1976-01-01", "1988", "2015-05-07", "2017-11-24", "2005-01-01", "1967-01-01", "2008-08-06", "2008-03-12", "2014-08-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Find", "dependencies": [], "inputs": ["Lauren Bacall"]}, {"function": "Relate", "dependencies": [1], "inputs": ["spouse", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jason Robards"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_2 <pred:name> \"Jason Robards\" . ?e_2 <spouse> ?e_3 . ?e_3 <pred:name> \"Lauren Bacall\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1976-01-01"}, {"question": "How is Suhasini Maniratnam related to the profession of actor?", "choices": ["genre", "time period", "nutrient", "captain", "director of photography", "commander of", "geographic distribution", "convicted of", "occupation", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suhasini Maniratnam"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Suhasini Maniratnam\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How is Brunswick whose local dialing code is 912 related to the USA?", "choices": ["residence", "risk factor", "opposite of", "different from", "film editor", "cause of death", "godparent", "nominated for", "country", "quotes work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brunswick"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "912"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brunswick\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"912\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When did Brunswick (the one that is an administrative division of Lower Saxony) become a twinned administrative body of Bath?", "choices": ["1788-04-28", "2007-01-05", "1776-09-06", "2007-12-19", "2002-02-13", "1849-03-04", "1707-01-01", "2013-10-04", "2002-11-24", "1971"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lower Saxony"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brunswick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bath"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Brunswick\" . ?e_3 <contains_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"Lower Saxony\" . ?e_2 <pred:name> \"Bath\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1971"}, {"question": "Does Robert Morley or Steve Coogan have greater number of children ?", "choices": ["William Henry Harrison", "James E. Reilly", "Richard Gere", "Rahul Dev Burman", "Robert Morley", "Max Fleischer", "Paul Simon", "Sylvester Stallone", "Steve Coogan", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Morley"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Coogan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Robert Morley\" .  } UNION { ?e <pred:name> \"Steve Coogan\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Robert Morley"}, {"question": "For which work did Tom Selleck receive Primetime Emmy Award for Outstanding Lead Actor in a Drama Series ?", "choices": ["Before Sunrise", "A Simple Plan", "Lock Up", "The Boy Next Door", "Gone Baby Gone", "Channel Orange", "Lost", "Jis Desh Men Ganga Behti Hai", "The Barefoot Contessa", "Magnum, P.I."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Selleck"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tom Selleck\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Drama Series\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Magnum, P.I."}, {"question": "How many English-language singles were published more recently than 1987?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1987", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["single"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1987 ) .  }", "answer": "8"}, {"question": "Which TV series was preceded by the miniseries about a branch of the military?", "choices": ["Battlestar Galactica", "Buffy the Vampire Slayer", "The Civil War", "George Washington", "The Ten Commandments", "Hercules", "The Stand", "Superman", "The Pacific", "Edge of Darkness"], "program": [{"function": "Find", "dependencies": [], "inputs": ["military branch"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "Relate", "dependencies": [2], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <follows> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"miniseries\" . ?e_1 <main_subject> ?e_2 . ?e_2 <pred:name> \"military branch\" .   }", "answer": "The Pacific"}, {"question": "Which area is smaller, Long Branch or Sacramento?", "choices": ["Compton", "New Haven", "Greenville", "Sacramento", "Boulder", "Columbus", "Lansing", "Waukegan", "Long Branch", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Long Branch"]}, {"function": "Find", "dependencies": [], "inputs": ["Sacramento"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Long Branch\" .  } UNION { ?e <pred:name> \"Sacramento\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Long Branch"}, {"question": "When did Jonathan Forte join in Rotherham United F.C.?", "choices": ["1994-11-03", "1951-12-07", "1974", "2011-09-14", "1991-09-06", "2016-09-05", "2010-08-21", "2000-04-27", "1988-08-09", "2006-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Forte"]}, {"function": "Find", "dependencies": [], "inputs": ["Rotherham United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jonathan Forte\" . ?e_2 <pred:name> \"Rotherham United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "What is the connection between Martin Freeman to MTV Movie Award for Best Scared-As-S**t Performance?", "choices": ["architect", "award disciplines or subjects", "appears in the form of", "edition or translation of", "professional or sports partner", "nominated for", "inspired by", "does not have part", "position held", "native language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin Freeman"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Scared-As-S**t Performance"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Martin Freeman\" . ?e_2 <pred:name> \"MTV Movie Award for Best Scared-As-S**t Performance\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Where was an animated film, based on The Polar Express (the one whose ISBN-10 is 0-395-38949-6), published on 18th November 2004 ?", "choices": ["Kingdom of the Netherlands", "Australia", "Davao City", "Chicago", "Iceland", "Northern America", "Telluride Film Festival", "Cannes Film Festival", "German Democratic Republic", "Netherlands"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Polar Express"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN-10", "0-395-38949-6"]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["animated film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2004-11-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"The Polar Express\" . ?e_1 <ISBN-10> ?pv_1 . ?pv_1 <pred:value> \"0-395-38949-6\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-11-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Australia"}, {"question": "What does Back to the Future Part II have to do with Christopher Lloyd (a cast member of Back to the Future Part II)?", "choices": ["has dialect (DEPRECATED)", "broadcast by", "does not have part", "mountain range", "producer", "honorific prefix", "creator", "registered with", "military conflicts", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part II"]}, {"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part II"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Lloyd"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Back to the Future Part II\" . ?e_2 <pred:name> \"Christopher Lloyd\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Back to the Future Part II\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the connection between Frankfurt (Oder) to Germany?", "choices": ["diplomatic relation", "stated in", "platform", "original film format", "country", "discoverer or inventor", "superhuman feature or ability", "academic degree", "military branch", "league"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankfurt (Oder)"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frankfurt (Oder)\" . ?e_2 <pred:name> \"Germany\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which of the counties of Indiana with a population less than 820000000 has the largest area?", "choices": ["Wayne County", "Shelby County", "Lake County", "Monroe County", "Delaware County", "Franklin County", "Madison County", "Allen County", "Howard County", "Marion County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "820000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"820000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allen County"}, {"question": "Which ethnic group with a population of 800 in Afghanistan corresponds to the demonym  \u05e8\u05d5\u05e1\u05d9\u05d4 ?", "choices": ["Indian American", "Sioux", "Russians", "Austrians", "Koreans", "Armenians", "Swedes", "French American", "American Jews", "Italians"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Afghanistan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["population", "800", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ethnic group"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["demonym", "\u05e8\u05d5\u05e1\u05d9\u05d4"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["ethnic group"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Afghanistan\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <country> ; <pred:fact_t> ?e_1 ] <population> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"800\"^^xsd:double . ?e <demonym> ?pv . ?pv <pred:value> \"\u05e8\u05d5\u05e1\u05d9\u05d4\" .  }", "answer": "Russians"}, {"question": "How is the Hercules that concluded on 1999-03-01 related to Frank Welker?", "choices": ["student", "diaspora", "medical treatment", "military branch", "voice actor", "office held by head of government", "facet of", "approved by", "sports season of league or competition", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1999-03-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Welker"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hercules\" . ?e_1 <end_time> ?pv . ?pv <pred:date> \"1999-03-01\"^^xsd:date . ?e_2 <pred:name> \"Frank Welker\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "When the Republic of Congo had a human development index of 0.582?", "choices": ["1688", "1994", "2012-12-31", "2001-03-11", "2001-04-11", "2005-12-01", "2017-11-20", "2013-10-31", "2013", "1987"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republic of the Congo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2578424", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Human Development Index", "0.582", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Republic of the Congo\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2578424\"^^xsd:double . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.582\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "What language is associated with the official website http://www.chico.ca.us for the United States city that is located in Butte County?", "choices": ["Turkish", "Chinese", "J\u00e8rriais", "Wolof", "Georgian", "\u01c0Xam language", "Catalan", "Tamil", "English", "Tahitian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Butte County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.chico.ca.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Butte County\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.chico.ca.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many calendar months are either followed by June or have the name of marca?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["June"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["calendar month"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name", "marca"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["calendar month"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> \"June\" .  } UNION { ?e <name> ?pv . ?pv <pred:value> \"marca\" .  } }", "answer": "2"}, {"question": "Does The O.C. or Versailles (having 3 seasons) have fewer episodes?", "choices": ["The O.C.", "Six Feet Under", "Phineas and Ferb", "Game of Thrones", "Versailles", "Bleak House", "Dancing with the Stars", "Seinfeld", "Saturday Night's Main Event", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The O.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Versailles"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of seasons", "3", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The O.C.\" . } UNION { ?e <pred:name> \"Versailles\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3\"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Versailles"}, {"question": "Which has fewer people, Southfield or Whittier?", "choices": ["Greenville", "Lansing", "Franklin", "Southfield", "Boulder", "Waukegan", "Whittier", "Columbus", "Oakland", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Southfield"]}, {"function": "Find", "dependencies": [], "inputs": ["Whittier"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Southfield\" .  } UNION { ?e <pred:name> \"Whittier\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Southfield"}, {"question": "When was Vincent D'Onofrio no longer the spouse of Greta Scacchi?", "choices": ["1534-01-01", "2019-05-19", "1931-01-01", "1858", "2014-12-31", "2010-04-19", "1995-01-03", "1975-12-04", "1993-01-01", "1799-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vincent D'Onofrio"]}, {"function": "Find", "dependencies": [], "inputs": ["Greta Scacchi"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Vincent D'Onofrio\" . ?e_2 <pred:name> \"Greta Scacchi\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1993-01-01"}, {"question": "What is the connection between Walter Murphy (the one that is related to sport baseball) to New York City?", "choices": ["ethnic group", "place of birth", "native language", "famous people", "candidate", "highest judicial authority", "location of final assembly", "depicts", "official color", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["baseball"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Walter Murphy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Walter Murphy\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"baseball\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which constitutional monarchy with a rate of inflation under 5200 percent has the lowest right-to-marry age?", "choices": ["Germany", "Eswatini", "Sierra Leone", "Colombia", "Thailand", "Morocco", "Mozambique", "Namibia", "Zimbabwe", "Dubai"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "5200 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["constitutional monarchy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["marriageable age", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"5200\"^^xsd:double ) . ?e <marriageable_age> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Morocco"}, {"question": "What is the connection between 3 Idiots to Filmfare Award for Best Supporting Actor?", "choices": ["copyright holder", "librettist", "original language of film or TV show", "commissioned by", "has edition", "season starts", "source of material", "cause of death", "nominated for", "doctoral advisor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3 Idiots"]}, {"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Supporting Actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"3 Idiots\" . ?e_2 <pred:name> \"Filmfare Award for Best Supporting Actor\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What musical has the official website http://evitaonbroadway.com/ (in English)?", "choices": ["Aladdin", "Oklahoma!", "South Pacific", "Rent", "Evita", "The Sound of Music", "The Producers", "West Side Story", "Beauty and the Beast", "Chicago"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://evitaonbroadway.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["musical"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://evitaonbroadway.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Evita"}, {"question": "What manner of relation does the Golden Retriever have to the United Kingdom?", "choices": ["family name", "director", "executive producer", "medical treatment", "successful candidate", "territory overlaps", "from fictional universe", "doctoral student", "country of origin", "has parts of the class"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Retriever"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Golden Retriever\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Does Craig Ferguson, who is a member of Calgary Flames, or Lewis Gilbert, who was born as Lewis Howe Gilbert, Jr., have less mass?", "choices": ["Paul Simon", "Sylvester Stallone", "Simon Cowell", "Lewis Gilbert", "James E. Reilly", "David Byrne", "Craig Ferguson", "Max Fleischer", "Rahul Dev Burman", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calgary Flames"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Ferguson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lewis Gilbert"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["birth name", "Lewis Howe Gilbert, Jr."]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Craig Ferguson\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Calgary Flames\" . } UNION { ?e <pred:name> \"Lewis Gilbert\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Lewis Howe Gilbert, Jr.\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Craig Ferguson"}, {"question": "What is the end time for Adam West (the one that is a member of Fort Lauderdale Strikers) as a member of the Rochester Rhinos?", "choices": ["1986", "1976", "2010-03-01", "1814-04-11", "1995-01-03", "1898", "1999-09-01", "2010-01-01", "1988-01-01", "1775"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Lauderdale Strikers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam West"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rochester Rhinos"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Adam West\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Fort Lauderdale Strikers\" . ?e_2 <pred:name> \"Rochester Rhinos\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "What is the founding date of the former French region identified by NUTS code FR41?", "choices": ["2006-01-03", "1904-05-04", "1297", "1956", "1906-05-15", "1821-06-01", "1800", "1880-01-01", "1917-09-15", "1899-03-08"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "FR41"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"FR41\" . ?e <inception> ?pv .  }", "answer": "1956"}, {"question": "Which area has higher elevation above sea level, Duisburg or Ontario (the one that is the filming location of The Hangover Part II)?", "choices": ["Aachen", "Fort Smith", "Dnipro", "Duisburg", "Stuttgart", "Ontario", "Halle (Saale)", "Wuppertal", "Utrecht", "Lyon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duisburg"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hangover Part II"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ontario"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Duisburg\" .  } UNION { ?e <pred:name> \"Ontario\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"The Hangover Part II\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ontario"}, {"question": "Does Kosovo or Jamaica (whose Human Development Index is 0.671) have the lower nominal GDP per capita?", "choices": ["Kosovo", "Tajikistan", "Lithuania", "Fiji", "Greece", "Sweden", "Cuba", "Kazakhstan", "Finland", "Jamaica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kosovo"]}, {"function": "Find", "dependencies": [], "inputs": ["Jamaica"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["Human Development Index", "0.671", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["nominal GDP per capita", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kosovo\" . } UNION { ?e <pred:name> \"Jamaica\" . ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"0.671\"^^xsd:double . } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kosovo"}, {"question": "Is aust1309 the Glottolog code of the official language of South Africa ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Africa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Glottolog code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["aust1309"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e_1 <official_language> ?e . ?e_1 <pred:name> \"South Africa\" .  ?e <Glottolog_code> ?pv . ?pv <pred:value> \"aust1309\" .  }", "answer": "no"}, {"question": "What is the official website of the award that Gene Wolfe won for The Shadow of the Torturer?", "choices": ["http://www.channel4.com/hollyoaks", "http://www.chicagothemusical.com/", "http://www.ucc.on.ca", "http://www.worldfantasy.org/awards/", "http://osawa-inc.co.jp/blocks/index/talent00130.html", "http://reno.gov/", "http://www.starwars.com/explore/the-movies/episode-vi", "http://www.ternanacalcio.com/index.php", "http://www.jrecords.com", "http://www.nightatthemuseum.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gene Wolfe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Shadow of the Torturer"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Gene Wolfe\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Shadow of the Torturer\" . ?e <official_website> ?pv .  }", "answer": "http://www.worldfantasy.org/awards/"}, {"question": "Who is heavier: Adolf Hitler or Mike Myers, who is 205 cm tall?", "choices": ["Paul Simon", "David Byrne", "James E. Reilly", "Simon Cowell", "William Henry Harrison", "Richard Gere", "Adolf Hitler", "Max Fleischer", "Mike Myers", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adolf Hitler"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Myers"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["height", "205 centimetre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adolf Hitler\" . } UNION { ?e <pred:name> \"Mike Myers\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"205\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mike Myers"}, {"question": "What is the PermID of Centre College?", "choices": ["4297297477", "5000876244", "4295908573", "5000872253", "4297986494", "5000405254", "4298090607", "4295884308", "4296457714", "4296149124"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Centre College"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["PermID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Centre College\" . ?e <PermID> ?pv .  }", "answer": "4298090607"}, {"question": "How is bird related to class?", "choices": ["connects with", "office held by head of government", "color", "sibling", "significant person", "stated in", "conferred by", "father", "office held by head of state", "taxon rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bird"]}, {"function": "Find", "dependencies": [], "inputs": ["class"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"bird\" . ?e_2 <pred:name> \"class\" . ?e_1 ?p ?e_2 .  }", "answer": "taxon rank"}, {"question": "How is the Bradley Cooper born on 1957-06-30 connected to the Bahamas that belongs to the Commonwealth of Nations?", "choices": ["partially contains", "lyrics by", "manufacturer", "candidacy in election", "film crew member", "source of income", "airline alliance", "country of citizenship", "office held by head of state", "notable work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bradley Cooper"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1957-06-30", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Commonwealth of Nations"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bahamas"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bradley Cooper\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1957-06-30\"^^xsd:date . ?e_2 <pred:name> \"Bahamas\" . ?e_2 <member_of> ?e_3 . ?e_3 <pred:name> \"Commonwealth of Nations\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What higher education institution has a PermID of 4297085592?", "choices": ["Carnegie Institute of Technology", "Bard College", "Fordham University", "Guildhall School of Music and Drama", "University of Montana", "Stanford University", "Boston University School of Law", "Texas Christian University", "Yale University", "Eastern Michigan University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4297085592"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <PermID> ?pv . ?pv <pred:value> \"4297085592\" .  }", "answer": "Stanford University"}, {"question": "What is the CANTIC-ID of the person whose official website is http://www.alfrewoodard.com/?", "choices": ["a11781051", "a11757991", "a10454457", "a10882212", "a1160234x", "a10404417", "a1045598x", "a10963078", "a10443538", "a10916921"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.alfrewoodard.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.alfrewoodard.com/\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a10916921"}, {"question": "Which has the largest population among the non-metropolitan districts that are an administrative division of Norfolk which is the origin of the name Norfolk County?", "choices": ["South Somerset", "North Norfolk", "Guildford", "Norwich", "Kettering", "Craven", "Great Yarmouth", "Carlisle", "Chichester", "King's Lynn and West Norfolk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norfolk County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan district"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Norfolk\" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> \"Norfolk County\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "King's Lynn and West Norfolk"}, {"question": "What is Tunisia's diplomatic relationship with the People's Republic of China?", "choices": ["Brunei\u2013Thailand relations", "Chad\u2013Nigeria relations", "Switzerland\u2013United States relations", "Germany-Senegal relations", "China\u2013Tunisia relations", "Kazakhstan\u2013Russia border", "Australia\u2013Malta relations", "Germany\u2013Sri Lanka relations", "Djibouti\u2013Ethiopia border", "Angola\u2013Zambia border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunisia"]}, {"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tunisia\" . ?e_2 <pred:name> \"People's Republic of China\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "China\u2013Tunisia relations"}, {"question": "How is  King's Lynn and West Norfolk related to Norfolk, the place where John Hurt died ?", "choices": ["has dialect (DEPRECATED)", "afflicts", "author", "programming paradigm", "country of citizenship", "film editor", "mountain range", "office held by head of government", "followed by", "located in the administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King's Lynn and West Norfolk"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hurt"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"King's Lynn and West Norfolk\" . ?e_2 <pred:name> \"Norfolk\" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> \"John Hurt\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Which is longer, Cyrano de Bergerac, originally in English, or Thirteen Days?", "choices": ["Pleasantville", "The Towering Inferno", "Talk to Her", "The Hunchback of Notre Dame", "Cyrano de Bergerac", "The Fifth Element", "Thirteen Days", "Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cyrano de Bergerac"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Thirteen Days"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cyrano de Bergerac\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .   } UNION { ?e <pred:name> \"Thirteen Days\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Thirteen Days"}, {"question": "Regarding beef, having pronunciation audio De-Rindfleisch.ogg, tell me the language associated with this creative work.", "choices": ["Belarusian", "Brazilian Portuguese", "Yue Chinese", "Lower Sorbian", "Norwegian", "Dutch", "Arabic", "Hindi", "German", "Franco-Proven\u00e7al"], "program": [{"function": "Find", "dependencies": [], "inputs": ["beef"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["pronunciation audio", "De-Rindfleisch.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"beef\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"De-Rindfleisch.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "German"}, {"question": "Was the person with 116278 subscribers to her Twitter username DebbieGibson born prior to 1966 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "DebbieGibson"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "116278", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1966", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"DebbieGibson\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"116278\"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1966 ) .  }", "answer": "no"}, {"question": "Where did Cinderella (the one whose distributor is Walt Disney Studios Motion Pictures) achieve the attendance of 1,359,850 ?", "choices": ["Spain", "two-lane expressway", "Lower Saxony", "Thuringia", "Saxony-Anhalt", "road", "30 km/h zone (20 mph zone)", "paved road outside of settlements", "Hamburg", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cinderella"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["attendance", "1359850", "valid in place"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cinderella\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Walt Disney Studios Motion Pictures\" .  ?e <attendance> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1359850\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <attendance> ; <pred:fact_t> ?pv ] <valid_in_place> ?qpv .  }", "answer": "Spain"}, {"question": "What is the relation between roots rock and T-Bone Burnett?", "choices": ["based on", "mother", "student of", "military casualty classification", "currency", "home port", "allegiance", "famous people", "convicted of", "conferred by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["roots rock"]}, {"function": "Find", "dependencies": [], "inputs": ["T-Bone Burnett"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"roots rock\" . ?e_2 <pred:name> \"T-Bone Burnett\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How is Armin Mueller-Stahl related to film director?", "choices": ["located in time zone", "occupation", "office contested", "airline alliance", "season starts", "educated at", "part of", "original network", "employer", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armin Mueller-Stahl"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Armin Mueller-Stahl\" . ?e_2 <pred:name> \"film director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How is Anna Karenina published on 1985-01-01 related to Christopher Reeve?", "choices": ["language of work or name", "native language", "significant person", "penalty", "production designer", "facet of", "field of this occupation", "field of work", "director", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1985-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Reeve"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anna Karenina\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1985-01-01\"^^xsd:date . ?e_2 <pred:name> \"Christopher Reeve\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who is the person who is the cast member of Wuthering Heights (the one aired originally on MTV)", "choices": ["Erika Christensen", "William Henry Harrison", "David Byrne", "Laurence Olivier", "Donald Crisp", "Sylvester Stallone", "Chris Brown", "Ving Rhames", "Max Fleischer", "Ron Howard"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wuthering Heights"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Wuthering Heights\" . ?e_1 <original_network> ?e_2 . ?e_2 <pred:name> \"MTV\" .   }", "answer": "Erika Christensen"}, {"question": "Regarding the family with the official website http://www.sachsen-coburg-gotha.de/ or that is George III of Great Britain's family.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sachsen-coburg-gotha.de/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["family"]}, {"function": "Find", "dependencies": [], "inputs": ["George III of Great Britain"]}, {"function": "Relate", "dependencies": [3], "inputs": ["family", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["family"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"family\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sachsen-coburg-gotha.de/\" .  } UNION { ?e_1 <family> ?e . ?e_1 <pred:name> \"George III of Great Britain\" .  } }", "answer": "2"}, {"question": "What is the OS grid reference of Dundee?", "choices": ["NS887801", "TG5207", "SU145305", "SP0091", "TQ405695", "TL056071", "TQ765659", "TQ335925", "NO4030", "SE335205"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dundee"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OS grid reference"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dundee\" . ?e <OS_grid_reference> ?pv .  }", "answer": "NO4030"}, {"question": "Tell me the height of the person who has a singles record of 101-99", "choices": ["61 inch", "208 centimetre", "162 centimetre", "192 centimetre", "1.61 metre", "178 centimetre", "1.98 metre", "77 inch", "79 centimetre", "189 centimetre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["singles record", "101\u201399"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <singles_record> ?pv_1 . ?pv_1 <pred:value> \"101\u201399\" . ?e <height> ?pv .  }", "answer": "178 centimetre"}, {"question": "To which country does https://www.strath.ac.uk/, the official website of the university that is the education place of Gordon Brown (who was educated at the University of Strathclyde), belong to?", "choices": ["Kingdom of Italy", "Nepal", "Roman Republic", "Kingdom of Bavaria", "Holy Roman Empire", "United Kingdom", "Hungary", "Israel", "England", "Union of South Africa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Strathclyde"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gordon Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "https://www.strath.ac.uk/", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Gordon Brown\" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> \"University of Strathclyde\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.strath.ac.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What is the licence plate code for South Holland?", "choices": ["MK", "JK01", "GTH", "BRN", "WOR", "H, HZ, HX", "GU", "A-B", "51", "39"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Holland"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["licence plate code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"South Holland\" . ?e <licence_plate_code> ?pv .  }", "answer": "H, HZ, HX"}, {"question": "Dallas, residence of George W. Bush, is the capital of how many Texas counties?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George W. Bush"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Dallas\" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> \"George W. Bush\" .   }", "answer": "1"}, {"question": "Which area is smaller, Swindon or Dubai (the one that is the twinned administrative body of \u014csaka Prefecture)?", "choices": ["Kingston", "Chihuahua", "Abidjan", "Bergen", "Kilkenny", "Santo Domingo", "Dubai", "Dundee", "Cork", "Swindon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swindon"]}, {"function": "Find", "dependencies": [], "inputs": ["\u014csaka Prefecture"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dubai"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Swindon\" .  } UNION { ?e <pred:name> \"Dubai\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"\u014csaka Prefecture\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Swindon"}, {"question": "How many follow the subreddit socialism, corresponding to the political ideology Dewey Decimal classifies as 320.531?", "choices": ["487184", "229", "344471", "293", "1289153", "163490", "7121", "135864", "611281", "179273"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "320.531"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "socialism", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"320.531\" . ?e <subreddit> ?pv . ?pv <pred:value> \"socialism\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "135864"}, {"question": "Fulton County, population 14,870,  is represented in which language on the website www.co.fulton.pa.us?", "choices": ["Valencian", "Corsican", "English", "Slovene", "Austrian German", "Belgian French", "Lithuanian", "Latin", "Slavic languages", "Korean"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fulton County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "14870", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "http://www.co.fulton.pa.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Fulton County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"14870\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.co.fulton.pa.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many different software do we know that contains macOs or that is officially called Mac OS X?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["macOS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["software"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official name", "Mac OS X"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["software"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"software\" .  { ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"macOS\" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> \"Mac OS X\" .  } }", "answer": "3"}, {"question": "Who is the person that received Tony Award for Best Actor in a Play (the subject of this statement is 40th Tony Awards) ?", "choices": ["Judd Hirsch", "James Earl Jones", "Basil Rathbone", "John Mahoney", "Richard Griffiths", "Anthony LaPaglia", "Bernadette Peters", "Alec Guinness", "Ralph Bellamy", "Swoosie Kurtz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "40th Tony Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Actor in a Play\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"40th Tony Awards\" .  }", "answer": "Judd Hirsch"}, {"question": "Which is shorter, Submarine, which was rleleased in the United States of America, or the superhero film Power Rangers?", "choices": ["Pleasantville", "Power Rangers", "Training Day", "Submarine", "The Fifth Element", "The Towering Inferno", "Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Submarine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["superhero film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Power Rangers"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Submarine\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Power Rangers\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"superhero film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Submarine"}, {"question": "How is Harrison Ford, husband of Calista Flockhart, related to English?", "choices": ["medical treatment", "interests", "archives at", "does not have part", "original film format", "contains administrative territorial entity", "languages spoken, written or signed", "military rank", "Wikidata property", "series spin-off"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calista Flockhart"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harrison Ford"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harrison Ford\" . ?e_1 <spouse> ?e_3 . ?e_3 <pred:name> \"Calista Flockhart\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Which one, Stoke-on-Trent or Leicester, has lower elevation (above sea level)?", "choices": ["Dundee", "Kilkenny", "Kingston", "Chihuahua", "Santo Domingo", "Stoke-on-Trent", "Abidjan", "Bergen", "Trieste", "Leicester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stoke-on-Trent"]}, {"function": "Find", "dependencies": [], "inputs": ["Leicester"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stoke-on-Trent\" .  } UNION { ?e <pred:name> \"Leicester\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Leicester"}, {"question": "How long is the television film whose original language is Russian?", "choices": ["19 minute", "160 minute", "170 minute", "3751 second", "786 minute", "112 minute", "28 minute", "117 minute", "73 minute", "153 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Russian\" .  ?e <duration> ?pv .  }", "answer": "112 minute"}, {"question": "When did India (that has a diplomatic relation with Laos) begin including the administrative division Sikkim (whose map detail is Sikkim (ru).jpg)?", "choices": ["1988-09-26", "1979-11-22", "1788-01-09", "1968-03-01", "1718-07-21", "1867-07-29", "2008-04-30", "1976-12-01", "1975-05-16", "2013-09-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laos"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sikkim"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["detail map", "Sikkim (ru).jpg"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["contains administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"India\" . ?e_1 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> \"Laos\" . ?e_2 <pred:name> \"Sikkim\" . ?e_2 <detail_map> ?pv . ?pv <pred:value> \"Sikkim (ru).jpg\" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <contains_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1975-05-16"}, {"question": "Which movie was followed by the movie whose official website is https://www.warnerbros.com/oceans-thirteen?", "choices": ["Pittsburgh", "The Hangover", "A Prairie Home Companion", "Sex and the City", "Ocean's Twelve", "Jackass 3D", "Superman III", "Men in Black", "Rebecca", "The Three Musketeers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.warnerbros.com/oceans-thirteen"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <followed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://www.warnerbros.com/oceans-thirteen\" .   }", "answer": "Ocean's Twelve"}, {"question": "How many Irish counties are the current residence of a person nominated for Academy Award for Best Actor (the award-winning work of this statement is This Sporting Life)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "This Sporting Life"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Ireland"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e_1 <residence> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Actor\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_3 ] <for_work> ?qpv . ?qpv <pred:value> \"This Sporting Life\" .   }", "answer": "1"}, {"question": "Which higher education institution has ARCHON code 1289 and postal code 17837?", "choices": ["Presidency University", "McMaster University", "University of Melbourne", "Bucknell University", "King's College London", "University of Manchester", "University of Tehran", "Panjab University", "Pennsylvania State University", "McNeese State University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "1289"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "17837"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ARCHON_code> ?pv . ?pv <pred:value> \"1289\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"17837\" .  }", "answer": "Bucknell University"}, {"question": "What is the connection between Baruch Spinoza to Hebrew?", "choices": ["official religion", "dialect of", "languages spoken, written or signed", "director/manager", "next higher rank", "mascot", "sponsor", "soundtrack album", "followed by", "had as last meal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baruch Spinoza"]}, {"function": "Find", "dependencies": [], "inputs": ["Hebrew"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Baruch Spinoza\" . ?e_2 <pred:name> \"Hebrew\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How many episodes does the television series with the language of Italian have?", "choices": ["34", "74", "10415", "1225", "17", "261", "33", "9", "321", "62"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Italian\" .  ?e <number_of_episodes> ?pv .  }", "answer": "9"}, {"question": "Which has higher elevation above sea level, Eastern Cape or Salzburg whose elevation above sea level is 827 meters?", "choices": ["Eastern Cape", "Lublin Voivodeship", "Greater Poland Voivodeship", "Podlaskie Voivodeship", "Punjab", "Minas Gerais", "Chiapas", "New South Wales", "Salzburg", "Upper Austria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Cape"]}, {"function": "Find", "dependencies": [], "inputs": ["Salzburg"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "827 metre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eastern Cape\" . } UNION { ?e <pred:name> \"Salzburg\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"827\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eastern Cape"}, {"question": "When did the county of Illinois that has an area of 1918 square km have a population of 269279?", "choices": ["2006-07-12", "1863", "1850-03-01", "-4000000", "1943", "1945-12-31", "1995-01-01", "1571", "2010-07-01", "1919"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1918 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "269279", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1918\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"269279\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "How many animes use the same language as Cary-Hiroyuki Tagawa?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cary-Hiroyuki Tagawa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["anime"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"language\" . ?e_2 <languages_spoken,_written_or_signed> ?e_1 . ?e_2 <pred:name> \"Cary-Hiroyuki Tagawa\" .   }", "answer": "8"}, {"question": "We know that Another World (the one whose Twitter username is awtribute) was nominated for Daytime Emmy Award for Outstanding Younger Actor in a Drama Series, but when did that happen ?", "choices": ["2016-09-01", "1931-01-01", "1561", "1796", "1978-01-01", "1949-03-24", "1986", "1925-06-16", "1967-04-10", "1981-03-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Another World"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "awtribute"]}, {"function": "Find", "dependencies": [], "inputs": ["Daytime Emmy Award for Outstanding Younger Actor in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Another World\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"awtribute\" . ?e_2 <pred:name> \"Daytime Emmy Award for Outstanding Younger Actor in a Drama Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1986"}, {"question": "Which area is smaller, Worcester County or Middlesex County (the one that shares border with Norfolk County)?", "choices": ["Franklin County", "Barnstable County", "Suffolk County", "Hampshire County", "Essex County", "Berkshire County", "Norfolk County", "Worcester County", "Middlesex County", "Plymouth County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Worcester County"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Middlesex County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Worcester County\" .  } UNION { ?e <pred:name> \"Middlesex County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Norfolk County\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Worcester County"}, {"question": "Which soccer club of Qatar does Mark Bresciano belong to?", "choices": ["Stade Brestois 29", "Parma Calcio 1913", "Al-Gharafa Sports Club", "Empoli F.C.", "Hibernian F.C.", "S.S. Lazio", "Brisbane Roar FC", "Middlesbrough F.C.", "Al-Arabi SC", "Zamalek SC"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Qatar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Bresciano"]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Qatar\" .  ?e_2 <member_of_sports_team> ?e . ?e_2 <pred:name> \"Mark Bresciano\" .  }", "answer": "Al-Gharafa Sports Club"}, {"question": "During what time point did Pharrell Williams earn an MTV Music Award for the category of Best Male Video?", "choices": ["1835-01-01", "2016-03-03", "1910-12-31", "2008-06-04", "2001-06-22", "1991", "2009-08-05", "1913-11-13", "2014", "1995-09-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Male Video"]}, {"function": "Find", "dependencies": [], "inputs": ["Pharrell Williams"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best Male Video\" . ?e_2 <pred:name> \"Pharrell Williams\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2014"}, {"question": "Is the Libris-URI of the producer of Young Frankenstein khw07s030mmbfkc ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Young Frankenstein"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["khw07s030mmbfkc"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Young Frankenstein\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"khw07s030mmbfkc\" .  }", "answer": "yes"}, {"question": "When did Eleanor Roosevelt become Franklin Delano Roosevelt's spouse?", "choices": ["1702", "1963-01-01", "2016-06-16", "1990-09-21", "1982-10-01", "1905-03-17", "2008-01-14", "2013-01-04", "1256", "1968-04-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eleanor Roosevelt"]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin Delano Roosevelt"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Eleanor Roosevelt\" . ?e_2 <pred:name> \"Franklin Delano Roosevelt\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1905-03-17"}, {"question": "Who has fewer children, Adam Smith (the one that is educated at Fordham University) or Mickey Rooney?", "choices": ["Sylvester Stallone", "Max Fleischer", "David Byrne", "Richard Gere", "Adam Smith", "Paul Simon", "Simon Cowell", "Rahul Dev Burman", "Mickey Rooney", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fordham University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mickey Rooney"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Adam Smith\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Fordham University\" .   } UNION { ?e <pred:name> \"Mickey Rooney\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adam Smith"}, {"question": "Since when does a feature film, called N\u011bco z Alenky, have 72061 as its exploitation visa number?", "choices": ["1985-04-19", "2002-09-18", "1910-05-06", "1957-03-06", "1989-11-08", "1772-09-22", "1971-05-24", "2000-02-06", "1571", "1801-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "N\u011bco z Alenky"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["exploitation visa number", "72061", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"N\u011bco z Alenky\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"72061\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1989-11-08"}, {"question": "How many Italian provinces are part of Calabria?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calabria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Calabria\" .   }", "answer": "0"}, {"question": "Is the person with the native language name \u4eca\u6751\u660c\u5e73 associated with CANTIC-ID a1057637x ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "\u4eca\u6751\u660c\u5e73"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["a1057637x"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"\u4eca\u6751\u660c\u5e73\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a1057637x\" .  }", "answer": "yes"}, {"question": "Which school was Naseeruddin Shah educated at?", "choices": ["Aligarh Muslim University", "National Theatre School of Canada", "Phillips Academy", "Punahou School", "Royal Military Academy Sandhurst", "Royal Academy of Dramatic Art", "Royal Military Academy", "Harrow School", "National School of Drama", "Stanford Graduate School of Business"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Naseeruddin Shah"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Naseeruddin Shah\" .   }", "answer": "National School of Drama"}, {"question": "Is the end time not in 2009 for the war that has the participant Dutch Republic?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dutch Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2009", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"Dutch Republic\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2009 ) .  }", "answer": "yes"}, {"question": "Which one of these has higher  time-weighted average exposure limit, manganese or selenium ?", "choices": ["zinc", "phosphorus", "magnesium", "Gil Scott-Heron", "selenium", "Virginia Woolf", "sodium", "Love Actually", "manganese", "calcium"], "program": [{"function": "Find", "dependencies": [], "inputs": ["manganese"]}, {"function": "Find", "dependencies": [], "inputs": ["selenium"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["time-weighted average exposure limit", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"manganese\" .  } UNION { ?e <pred:name> \"selenium\" .  } ?e <time-weighted_average_exposure_limit> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "manganese"}, {"question": "Was the release date prior to 1988 for Romeo and Juliet distributed by Rank Organisation?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rank Organisation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Romeo and Juliet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1988", "<"]}], "sparql": "ASK { ?e <pred:name> \"Romeo and Juliet\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Rank Organisation\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  }", "answer": "yes"}, {"question": "The sovereign state with Richard Taylor, who died in Louisville, as a citizen is the source of how many singles?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louisville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["single"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Richard Taylor\" . ?e_2 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Louisville\" .   }", "answer": "25"}, {"question": "What number in the Hercules (the one whose publication date is 1997-06-27) series has Bobcat Goldthwait as a voice actor?", "choices": ["17", "4", "30", "12", "74", "42", "14", "68", "38", "46"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1997-06-27", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bobcat Goldthwait"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["voice actor", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hercules\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1997-06-27\"^^xsd:date . ?e_2 <pred:name> \"Bobcat Goldthwait\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "14"}, {"question": "Did Belgium have a population greater than 7.9 in 1998?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "1998"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["7.9", ">"]}], "sparql": "ASK { ?e <pred:name> \"Belgium\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"7.9\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1998 .  }", "answer": "yes"}, {"question": "Is http://www.rushhour3.fr/ the official website of the film produced by Anurag Kashyap?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anurag Kashyap"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.rushhour3.fr/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Anurag Kashyap\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.rushhour3.fr/\" .  }", "answer": "no"}, {"question": "What is the subreddit of the TV show directed by Bryan Cranston?", "choices": ["Bretagne", "breakingbad", "sonora", "Zimbabwe", "thebiglebowski", "Chiapas", "Markham", "Waukesha", "bethesda", "feminism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryan Cranston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Bryan Cranston\" .  ?e <subreddit> ?pv .  }", "answer": "breakingbad"}, {"question": "What is the connection between Freddy vs. Jason to Garry Chalk?", "choices": ["conferred by", "significant event", "located on astronomical location", "office contested", "contributing factor of", "author", "educated at", "cast member", "tributary", "domain of saint or deity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freddy vs. Jason"]}, {"function": "Find", "dependencies": [], "inputs": ["Garry Chalk"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Freddy vs. Jason\" . ?e_2 <pred:name> \"Garry Chalk\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the number of cities that is the filming location of the film whose official website is http://www.thebournelegacy.com ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thebournelegacy.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <filming_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.thebournelegacy.com\" .   }", "answer": "2"}, {"question": "How are the 105 minute long \"The Merry Widow\" and Joe Pasternak related?", "choices": ["had as last meal", "penalty", "maintained by", "airline alliance", "field of this occupation", "convicted of", "interested in", "sex or gender", "producer", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "105 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Pasternak"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Merry Widow\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"105\"^^xsd:double . ?e_2 <pred:name> \"Joe Pasternak\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "How is Great Britain related to the British Isles?", "choices": ["location of formation", "candidate", "discoverer or inventor", "location of final assembly", "head coach", "member of political party", "part of", "office held by head of the organisation", "operating system", "manner of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Britain"]}, {"function": "Find", "dependencies": [], "inputs": ["British Isles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Great Britain\" . ?e_2 <pred:name> \"British Isles\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "For the city whose WOEID is 1100071, why was its postal code of 3350 deprecated?", "choices": ["forgery", "does not exactly match", "not been able to confirm this claim", "treaty not ratified", "broken link", "withdrawn identifier value", "applies to other person", "unconfirmed", "anachronism", "retraction"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "1100071"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["postal code", "3350", "reason for deprecation"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"1100071\" . ?e <postal_code> ?pv . ?pv <pred:value> \"3350\" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <reason_for_deprecation> ?qpv .  }", "answer": "does not exactly match"}, {"question": "In which US city was Mandy Moore born?", "choices": ["New Haven", "Columbus", "Scottsdale", "Waukegan", "Warwick", "Franklin", "Amarillo", "Burlington", "Nashua", "Culver City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mandy Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Mandy Moore\" .   }", "answer": "Nashua"}, {"question": "Is the ISNI of University of Windsor 0000 0004 1936 9596?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Windsor"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0004 1936 9596"]}], "sparql": "ASK { ?e <pred:name> \"University of Windsor\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 1936 9596\" .  }", "answer": "yes"}, {"question": "Which area is smaller, North Rhine-Westphalia or Mecklenburg-Vorpommern?", "choices": ["Brandenburg", "Saxony-Anhalt", "Bremen", "Mecklenburg-Vorpommern", "Bavaria", "Lower Saxony", "Saxony", "North Rhine-Westphalia", "Rhineland-Palatinate", "Thuringia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Rhine-Westphalia"]}, {"function": "Find", "dependencies": [], "inputs": ["Mecklenburg-Vorpommern"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North Rhine-Westphalia\" .  } UNION { ?e <pred:name> \"Mecklenburg-Vorpommern\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mecklenburg-Vorpommern"}, {"question": "When was Paul Dooley born?", "choices": ["1968-01-14", "1928-02-22", "1949-01-26", "1907-03-20", "1917-01-06", "1984-03-10", "1945-05-08", "1951-11-16", "1759-05-28", "1934-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paul Dooley"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Paul Dooley\" . ?e <date_of_birth> ?pv .  }", "answer": "1928-02-22"}, {"question": "How many music genres were created before 1985 or comprise a part of dark cabaret ?", "choices": ["38", "39", "40", "41", "42", "43", "44", "45", "46", "47"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1985", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "Find", "dependencies": [], "inputs": ["dark cabaret"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"dark cabaret\" .  } }", "answer": "42"}, {"question": "What is the applicable territorial jurisdiction of the official website https://www.microsoft.com/tr-tr/windows for the proprietary software whose Stack Exchange tag is https://dba.stackexchange.com/tags/windows?", "choices": ["United States of America", "Chechen Republic", "Greece", "South Korea", "Murmansk Oblast", "Jewish Autonomous Oblast", "Portugal", "Turkey", "Kabardino-Balkar Republic", "Spain"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://dba.stackexchange.com/tags/windows"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["proprietary software"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.microsoft.com/tr-tr/windows", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"proprietary software\" . ?e <Stack_Exchange_tag> ?pv_1 . ?pv_1 <pred:value> \"https://dba.stackexchange.com/tags/windows\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.microsoft.com/tr-tr/windows\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "Turkey"}, {"question": "What is the connection between Joseph M. Schenck to Republican Party?", "choices": ["copyright holder", "director/manager", "natural product of taxon", "grants", "location of final assembly", "shares border with", "military rank", "owner of", "platform", "member of political party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph M. Schenck"]}, {"function": "Find", "dependencies": [], "inputs": ["Republican Party"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Joseph M. Schenck\" . ?e_2 <pred:name> \"Republican Party\" . ?e_1 ?p ?e_2 .  }", "answer": "member of political party"}, {"question": "How is mayor-led Chico related to the office of mayor?", "choices": ["office held by head of government", "allegiance", "occupation", "substitute/deputy/replacement of office/officeholder", "derivative work", "office held by head of state", "manner of death", "located in or next to body of water", "studied by", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chico"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chico\" . ?e_1 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> \"mayor\" . ?e_2 <pred:name> \"mayor\" . ?e_1 ?p ?e_2 .  }", "answer": "office held by head of government"}, {"question": "Is the Broadcast Film Critics Association Award for Best Actress affiliated with the website www.indepmo.org ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Actress"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.indepmo.org"]}], "sparql": "ASK { ?e <pred:name> \"Broadcast Film Critics Association Award for Best Actress\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.indepmo.org\" .  }", "answer": "no"}, {"question": "How many video game consoles originate from Guinea-Bissau?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guinea-Bissau"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Guinea-Bissau\" .   }", "answer": "0"}, {"question": "The Icon Productions film titled The Killer Inside Me was directed by whom?", "choices": ["Max Fleischer", "William Henry Harrison", "William Shakespeare", "Mike Mills", "Richard Gere", "Sylvester Stallone", "Woody Allen", "Michael Winterbottom", "Danny Boyle", "Jodie Foster"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Icon Productions"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Killer Inside Me"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"The Killer Inside Me\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"Icon Productions\" .   }", "answer": "Michael Winterbottom"}, {"question": "What number of movie characters are inspired from The Squid and the Whale?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Squid and the Whale"]}, {"function": "Relate", "dependencies": [0], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film character"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film character\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"The Squid and the Whale\" .   }", "answer": "0"}, {"question": "Does Boulogne-Billancourt or Eindhoven have the higher elevation?", "choices": ["Lyon", "Aachen", "Bordeaux", "Dnipro", "Eindhoven", "Stuttgart", "Boulogne-Billancourt", "Fort Smith", "Utrecht", "Wuppertal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boulogne-Billancourt"]}, {"function": "Find", "dependencies": [], "inputs": ["Eindhoven"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Boulogne-Billancourt\" .  } UNION { ?e <pred:name> \"Eindhoven\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Boulogne-Billancourt"}, {"question": "Does a visual artwork mainly depicting Greek mythology have a title of Finding Neverland?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greek mythology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Finding Neverland"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"Greek mythology\" .  ?e <title> ?pv . ?pv <pred:value> \"Finding Neverland\" .  }", "answer": "no"}, {"question": "Was Pittsburgh Penguins not founded in 1954?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Penguins"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1954", "!="]}], "sparql": "ASK { ?e <pred:name> \"Pittsburgh Penguins\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1954 ) .  }", "answer": "yes"}, {"question": "Which movie is shorter, A Christmas Carol (the one whose genre is musical film) or Starship Troopers (the one whose publication date is 1998-01-02)?", "choices": ["The Goodbye Girl", "The Three Musketeers", "The Challenge", "A Streetcar Named Desire", "The Music Man", "A Christmas Carol", "All Quiet on the Western Front", "Luther", "The Late Shift", "Starship Troopers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Christmas Carol"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Starship Troopers"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1998-01-02", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Christmas Carol\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"musical film\" . } UNION { ?e <pred:name> \"Starship Troopers\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1998-01-02\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "A Christmas Carol"}, {"question": "Who is the person that was cast in Night and the Museum and uses 0000 0001 1934 4434 as the ISNI ?", "choices": ["Max Fleischer", "William Henry Harrison", "Carla Gugino", "Richard Gere", "Owen Wilson", "Patrick Gallagher", "Paul Rudd", "Sylvester Stallone", "Ricky Gervais", "Robin Williams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Night at the Museum"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1934 4434"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Night at the Museum\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1934 4434\" .  }", "answer": "Patrick Gallagher"}, {"question": "What is the connection between Adam McKay to film producer?", "choices": ["licensed to broadcast to", "tributary", "interested in", "sibling", "captain", "had as last meal", "edition or translation of", "occupation", "residence", "business division"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam McKay"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adam McKay\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Did the career of Robert Patrick, from the cast of Charlie's Angels: Full Throttle, begin later than 1909 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels: Full Throttle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Patrick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1909", ">"]}], "sparql": "ASK { ?e <pred:name> \"Robert Patrick\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Charlie's Angels: Full Throttle\" .  ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1909 ) .  }", "answer": "yes"}, {"question": "Which one has more running time between Lock Up and Twin Peaks: Fire Walk with Me (the one with the regional debut in Cannes Film Festival)?", "choices": ["Training Day", "Lock Up", "Twin Peaks: Fire Walk with Me", "A Prairie Home Companion", "The Fifth Element", "Talk to Her", "The Towering Inferno", "Rebecca", "Curse of the Golden Flower", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lock Up"]}, {"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film regional debut venue", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twin Peaks: Fire Walk with Me"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lock Up\" .  } UNION { ?e <pred:name> \"Twin Peaks: Fire Walk with Me\" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> \"Cannes Film Festival\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Twin Peaks: Fire Walk with Me"}, {"question": "What is Kurtwood Smith's character role as a cast member in the work That '70s Show?", "choices": ["Remy", "Michael Jordan", "Athos", "Red Forman", "John Hancock", "Xenia Onatopp", "Archdeacon", "General Pushkin", "Jamie Madrox", "Mungo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["That '70s Show"]}, {"function": "Find", "dependencies": [], "inputs": ["Kurtwood Smith"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"That '70s Show\" . ?e_2 <pred:name> \"Kurtwood Smith\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Red Forman"}, {"question": "Tell me the one that costs less, Pulp Fiction or X-Men: First Class", "choices": ["Training Day", "The Hunchback of Notre Dame", "Talk to Her", "Pulp Fiction", "Pleasantville", "A Prairie Home Companion", "The Towering Inferno", "Curse of the Golden Flower", "X-Men: First Class", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pulp Fiction"]}, {"function": "Find", "dependencies": [], "inputs": ["X-Men: First Class"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pulp Fiction\" .  } UNION { ?e <pred:name> \"X-Men: First Class\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pulp Fiction"}, {"question": "Is the elevation of Leuven or Regensburg higher?", "choices": ["Stuttgart", "Aachen", "Bordeaux", "Utrecht", "Fort Smith", "Halle (Saale)", "Wuppertal", "Leuven", "Regensburg", "Dnipro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leuven"]}, {"function": "Find", "dependencies": [], "inputs": ["Regensburg"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Leuven\" .  } UNION { ?e <pred:name> \"Regensburg\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Regensburg"}, {"question": "Coal Miner's Daughter was published on 1981-03-13 in what release region?", "choices": ["United States of America", "Chicago", "Quebec", "Hollywood Bowl", "2005 Cannes Film Festival", "58th Berlin International Film Festival", "Slovenia", "Charlotte Motor Speedway", "Germany", "1949 Cannes Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coal Miner's Daughter"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1981-03-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Coal Miner's Daughter\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1981-03-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Of rivers with a watershed area under 6700000 square kilometers, which has the lowest discharge rate?", "choices": ["Hudson River", "Grammy Award for Best Rock Performance by a Duo or Group with Vocal", "Amazon", "Missouri River", "River Thames", "Rhine", "Ohio River", "Danube", "Mississippi River", "Columbia River"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["watershed area", "6700000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["discharge", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <watershed_area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6700000\"^^xsd:double ) . ?e <discharge> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "River Thames"}, {"question": "How many New Jersey counties began before 1688 and are an administrative division of New Jersey?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1688", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "Find", "dependencies": [], "inputs": ["New Jersey"]}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New Jersey"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1688 ) . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"New Jersey\" .  }", "answer": "6"}, {"question": "Is the written autobiographical work titled Changeling ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["autobiography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Changeling"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"autobiography\" .  ?e <title> ?pv . ?pv <pred:value> \"Changeling\" .  }", "answer": "yes"}, {"question": "How is the BAFTA Award for Best Original Screenplay related to Paul Haggis?", "choices": ["notable people with this condition", "symptom of", "replaced by", "conflict", "significant event", "parent astronomical body", "month of the year", "maintained by", "winner", "student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Original Screenplay"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Haggis"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Original Screenplay\" . ?e_2 <pred:name> \"Paul Haggis\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Does Independence (the one whose population is 669) or Towson have a higher elevation above sea level?", "choices": ["Josh Groban", "lymphoma", "Stanford", "Scott Lobdell", "Silver Spring", "Towson", "INXS", "Independence", "McLean", "Bethesda"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independence"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "669", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Towson"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Independence\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"669\"^^xsd:double . } UNION { ?e <pred:name> \"Towson\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Independence"}, {"question": "Iconclass notation 43C2134 designates which category of sports activity?", "choices": ["auto racing", "taekwondo", "fenci", "cricket", "luge", "tennis", "diving", "biathlon", "table tennis", "American football"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "43C2134"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"43C2134\" .  }", "answer": "auto racing"}, {"question": "Which alphabet is the writing system of the language at Ethnologue.com and has the language code of ukr (the subject of this statement is Ukrainian alphabet)?", "choices": ["Road to Perdition", "Robert Young", "The World Is Not Enough", "Wakefield", "DreamWorks Animation", "Asia Argento", "Harrogate Town A.F.C.", "Trevor Horn", "Columbus Blue Jackets", "Cyrillic script"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Ethnologue.com language code", "ukr"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["writing system", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["statement is subject of", "Ukrainian alphabet"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["alphabet"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"alphabet\" . ?e_1 <writing_system> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"language\" . ?e_1 <Ethnologue.com_language_code> ?pv . ?pv <pred:value> \"ukr\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <writing_system> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"Ukrainian alphabet\" .  }", "answer": "Cyrillic script"}, {"question": "When was Cradle of Filth conceived?", "choices": ["1991", "-495", "1964", "1829", "2000-01-01", "1857-04-22", "1992-01-01", "1636", "1651-12-12", "1858-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cradle of Filth"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Cradle of Filth\" . ?e <inception> ?pv .  }", "answer": "1991"}, {"question": "Is Greg Graffin's ISNI number 0000 0001 0949 2003 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greg Graffin"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 0949 2003"]}], "sparql": "ASK { ?e <pred:name> \"Greg Graffin\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0949 2003\" .  }", "answer": "no"}, {"question": "When was the population of the special ward of Japan that serves as the headquarter location of Nikon (the one whose official website is http://www.nikon.com/) 254699?", "choices": ["2018-03-20", "2014-05-01", "1755-12-01", "2004-11-10", "802701", "1996-01-01", "2010-10-20", "2018-04-01", "1916-01-01", "2016-11-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nikon"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nikon.com/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["special ward of Japan"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "254699", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"special ward of Japan\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Nikon\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nikon.com/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"254699\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2018-04-01"}, {"question": "How is The B-52's whose ISNI is 0000 0001 2290 3313 related to Warner Bros. Records?", "choices": ["highest judicial authority", "programming paradigm", "mouth of the watercourse", "conferred by", "location", "destination point", "family", "found", "record label", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The B-52's"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2290 3313"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros. Records"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The B-52's\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2290 3313\" . ?e_2 <pred:name> \"Warner Bros. Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "When did Humboldt University of Berlin have 4479 employees?", "choices": ["2013-01-01", "1941-03-01", "1975-12-01", "2007-08-01", "2006-05-17", "1933-01-01", "1983-12-01", "2015-03-31", "1995-11-21", "1900"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Humboldt University of Berlin"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["employees", "4479", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Humboldt University of Berlin\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4479\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-01-01"}, {"question": "When was the person identified by ISNI 0000 0001 1025 4168 born?", "choices": ["1941-11-05", "1943-01-01", "1977-01-08", "1899-08-24", "1964-04-04", "1957-11-06", "1917-12-16", "1883-06-05", "1967-01-07", "1941-09-19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1025 4168"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1025 4168\" . ?e <date_of_birth> ?pv .  }", "answer": "1943-01-01"}, {"question": "How many awards were established at a time other than 1974 or were bestowed by AMPAS?", "choices": ["123", "124", "125", "126", "127", "128", "129", "130", "131", "132"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1974", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy of Motion Picture Arts and Sciences"]}, {"function": "Relate", "dependencies": [3], "inputs": ["conferred by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1974 ) .  } UNION { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> \"Academy of Motion Picture Arts and Sciences\" .  } }", "answer": "123"}, {"question": "How many academic disciplines are known by Dewey Decimal Classification being 617.6, and by using Python (the one whose subreddit is learnpython)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "617.6"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "Find", "dependencies": [], "inputs": ["Python"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["subreddit", "learnpython"]}, {"function": "Relate", "dependencies": [4], "inputs": ["use", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["academic discipline"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"617.6\" . ?e_1 <use> ?e . ?e_1 <pred:name> \"Python\" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> \"learnpython\" .  }", "answer": "0"}, {"question": "What is the connection between Die Hard with a Vengeance to heist film?", "choices": ["approved by", "author", "interests", "award received", "director", "genre", "contains administrative territorial entity", "office contested", "statistical leader", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Die Hard with a Vengeance"]}, {"function": "Find", "dependencies": [], "inputs": ["heist film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Die Hard with a Vengeance\" . ?e_2 <pred:name> \"heist film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Is 10011245 the ACM Classification Code (2012) of artificial intelligence?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["artificial intelligence"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ACM Classification Code (2012)"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["10011245"]}], "sparql": "ASK { ?e <pred:name> \"artificial intelligence\" . ?e <ACM_Classification_Code_(2012)> ?pv . ?pv <pred:value> \"10011245\" .  }", "answer": "no"}, {"question": "For Sarah Polley tell me his/her official website http://www.sarahpolley.org/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sarah Polley"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.sarahpolley.org/"]}], "sparql": "ASK { ?e <pred:name> \"Sarah Polley\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sarahpolley.org/\" .  }", "answer": "yes"}, {"question": "Which TV series clocking in at 22 minutes had its finale on 2008-04-15?", "choices": ["The Smurfs", "Sonic the Hedgehog", "Tiny Toon Adventures", "Robot Chicken", "Batman Beyond", "Everybody Loves Raymond", "Animaniacs", "Ben 10", "Frasier", "X-Men"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "22 minute", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["end time", "2008-04-15", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"22\"^^xsd:double . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"2008-04-15\"^^xsd:date .  }", "answer": "Ben 10"}, {"question": "Does Great Expectations (the one whose publication date is 1946-01-01) or Lock, Stock and Two Smoking Barrels have lesser duration ?", "choices": ["Lock, Stock and Two Smoking Barrels", "A Prairie Home Companion", "Rebecca", "The Fifth Element", "The Towering Inferno", "Talk to Her", "Training Day", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Expectations"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1946-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Lock, Stock and Two Smoking Barrels"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Great Expectations\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1946-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Lock, Stock and Two Smoking Barrels\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lock, Stock and Two Smoking Barrels"}, {"question": "What is the relationship between Spartacus (the one that is originally aired on USA Network) to Ian McNeice?", "choices": ["indigenous to", "depicts", "narrative location", "cast member", "director of photography", "successful candidate", "military casualty classification", "lyrics by", "has effect", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["USA Network"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spartacus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ian McNeice"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spartacus\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"USA Network\" . ?e_2 <pred:name> \"Ian McNeice\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the British Museum person-institution of William James, the citizen of Kingdom of Great Britan?", "choices": ["23446", "23975", "180696", "15015", "203537", "106703", "148914", "112379", "192869", "42513"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William James"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"William James\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"Kingdom of Great Britain\" .  ?e <British_Museum_person-institution> ?pv .  }", "answer": "148914"}, {"question": "Is the death date after 1799 for the man or woman that was birthed in Cambria County?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cambria County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1799", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Cambria County\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1799 ) .  }", "answer": "yes"}, {"question": "Tell me the album that has duration under 250 minutes or with publication date other than 1988.", "choices": ["22", "23", "24", "25", "26", "27", "28", "29", "30", "31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "250 minute", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1988", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["album"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" .  { ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"250\"^^xsd:double ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  } }", "answer": "23"}, {"question": "When did the major city with local dialing code 0231 have a population numbering 588994?", "choices": ["1960-04-04", "1000", "2014-10-31", "1897-01-01", "2000-12-31", "1400", "1896", "1889", "1515-01-01", "1493"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0231"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "588994", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"0231\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"588994\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000-12-31"}, {"question": "What is Hope Davis' CANTIC-ID?", "choices": ["a11724122", "a11827403", "a10138845", "a11865520", "a11921614", "a12202526", "a10060078", "a10433752", "a11184668", "a11747274"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hope Davis"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hope Davis\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11827403"}, {"question": "Florence, Kuwait City's twin administrative body, is the capital of which Italian region?", "choices": ["Sicily", "Sardinia", "Veneto", "Lombardy", "Kingdom of Italy", "Abruzzo", "Tuscany", "Lazio", "Marche", "Piedmont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kuwait City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Florence"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["region of Italy"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Florence\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Kuwait City\" .   }", "answer": "Tuscany"}, {"question": "Which feature film is titled Hook?", "choices": ["Hook", "Alice", "G-Force", "Old Dogs", "Enchanted", "Back to the Future Part II", "Holes", "Earth", "The Chronicles of Narnia: Prince Caspian", "National Treasure: Book of Secrets"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Hook"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv . ?pv <pred:value> \"Hook\" .  }", "answer": "Hook"}, {"question": "What restauranteur has an official website at http://www.leessangcompany.com/?", "choices": ["Richard Gere", "Sylvester Stallone", "Clint Eastwood", "William Henry Harrison", "Gary", "Max Fleischer", "Sean Combs", "David Byrne", "Michael Stipe", "C\u00e9line Dion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["restaurateur"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.leessangcompany.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"restaurateur\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.leessangcompany.com/\" .  }", "answer": "Gary"}, {"question": "Does WOEID 63817 designate the capital city of North Vietnam ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Vietnam"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["WOEID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["63817"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"North Vietnam\" .  ?e <WOEID> ?pv . ?pv <pred:value> \"63817\" .  }", "answer": "no"}, {"question": "What is the television series with the official website http://updown.org.uk, that was nominated for Primetime Emmy Award for Outstanding Lead Actress in a Drama Series?", "choices": ["Friday Night Lights", "Chicago Hope", "Law & Order: Special Victims Unit", "Downton Abbey", "Upstairs, Downstairs", "Game of Thrones", "American Horror Story", "The X-Files", "Robot Chicken", "Cagney & Lacey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actress in a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://updown.org.uk"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actress in a Drama Series\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://updown.org.uk\" .  }", "answer": "Upstairs, Downstairs"}, {"question": "When was a number of students, associated with the 'agent' (education place) where Igor Stravinsky used to study, equal to 870 ?", "choices": ["2010-02-01", "1963-01-01", "2006-03-15", "2008-04-23", "2014-09-20", "1789-01-01", "1900", "2010", "1968-12-01", "1655-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Igor Stravinsky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["students count", "870", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Igor Stravinsky\" .  ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"870\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <students_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1900"}, {"question": "Does the New York county whose official website is http://www.otsegocounty.com, have a population not equal to 380000 (the point in time of this statement is 2010-07-01)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.otsegocounty.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2010-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["380000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.otsegocounty.com\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"380000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2010-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "What is the official website of the higher education institution with the native name Universitas Basiliensis?", "choices": ["http://gov.allconet.org", "http://www.missionimpossible.com/", "https://alisonkrauss.com/", "http://www.fcistres.com/", "http://www.arkansas.gov", "http://www.unibas.ch/", "http://www.furman.edu", "http://www.drake.edu/", "http://www.fig-gymnastics.com/site/", "http://www.youtube.com/user/Dantible"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Universitas Basiliensis"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Universitas Basiliensis\" . ?e <official_website> ?pv .  }", "answer": "http://www.unibas.ch/"}, {"question": "When  did Hartford County have a population of 896830?", "choices": ["1766", "2011-07-01", "1918", "2003-02-23", "1996", "1909", "1964-04-13", "2018-09-26", "2009-04-01", "900"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hartford County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "896830", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hartford County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"896830\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "What is the ISNI for the band that is well known for classical music?", "choices": ["0000 0004 0392 5033", "0000 0001 2287 7477", "0000 0004 0388 9378", "0000 0003 6864 3275", "0000 0001 1494 8407", "0000 0001 2146 8436", "0000 0001 1947 3703", "0000 0001 0805 030X", "0000 0001 0373 6759", "0000 0001 0806 6926"], "program": [{"function": "Find", "dependencies": [], "inputs": ["classical music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"classical music\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 0805 030X"}, {"question": "Diana Ross who records on the RCA label has what connection to record producer?", "choices": ["located on astronomical location", "contains settlement", "enclave within", "father", "occupant", "foundational text", "penalty", "occupation", "distribution", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RCA Corporation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Diana Ross"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Diana Ross\" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> \"RCA Corporation\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Did the Chesterfield F.C. member Danny Smith die before the year of 2014?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chesterfield F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Danny Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2014", "<"]}], "sparql": "ASK { ?e <pred:name> \"Danny Smith\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Chesterfield F.C.\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) .  }", "answer": "yes"}, {"question": "Where was the film whose official website is http://www.janeeyremovie.com published on 2011-12-01?", "choices": ["Hungary", "Kuwait", "People's Republic of China", "London", "Washington, D.C.", "Norway", "2008 Toronto International Film Festival", "Germany", "Latvia", "Hong Kong"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.janeeyremovie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-12-01", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.janeeyremovie.com\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-12-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What person is a member of Swindon Town F.C. starting in the year 1999)?", "choices": ["David Cross", "Sylvester Stallone", "John Spencer", "William Henry Harrison", "Andy Williams", "Dean Saunders", "John Bailey", "Max Fleischer", "Hameur Bouazza", "Albert Jarrett"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swindon Town F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Swindon Town F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1999 .  }", "answer": "Andy Williams"}, {"question": "Does the Order of Saint Michael and Saint George have a native label which is the equivalent of The Most Distinguished Order of St. Michael and St. George?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Order of Saint Michael and Saint George"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["The Most Distinguished Order of St. Michael and St. George"]}], "sparql": "ASK { ?e <pred:name> \"Order of Saint Michael and Saint George\" . ?e <native_label> ?pv . ?pv <pred:value> \"The Most Distinguished Order of St. Michael and St. George\" .  }", "answer": "yes"}, {"question": "Which Oregon county containing Portland (whose subreddit is Portland) has the largest land area?", "choices": ["Columbia County", "Washington County", "Multnomah County", "Lake County", "Marion County", "Yamhill County", "Linn County", "Clackamas County", "Douglas County", "Tillamook County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Portland"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Portland\" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Portland\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Clackamas County"}, {"question": "What is the connection between Al Gore to Bachelor of Arts?", "choices": ["theme music", "lowest point", "composer", "mouth of the watercourse", "academic degree", "captain", "inspired by", "medical treatment", "symptom of", "airline alliance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Gore"]}, {"function": "Find", "dependencies": [], "inputs": ["Bachelor of Arts"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Al Gore\" . ?e_2 <pred:name> \"Bachelor of Arts\" . ?e_1 ?p ?e_2 .  }", "answer": "academic degree"}, {"question": "What is the connection between Niagara Falls (the one whose publication date is 1932-01-01) to Roscoe Arbuckle?", "choices": ["director", "does not have part", "narrative location", "newspaper format", "derivative work", "participant of", "had as last meal", "place of burial", "production company", "characters"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Niagara Falls"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1932-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Roscoe Arbuckle"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Niagara Falls\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1932-01-01\"^^xsd:date . ?e_2 <pred:name> \"Roscoe Arbuckle\" . ?e_1 ?p ?e_2 .  }", "answer": "director"}, {"question": "How many liberal arts colleges are there in the United States where the number of students is not 26000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "26000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"26000\"^^xsd:double ) .  }", "answer": "3"}, {"question": "Which movie series is titled Spy Kids?", "choices": ["The Fast and the Furious", "The Smurfs", "Rocky", "Spy Kids", "Dumb and Dumber", "Die Hard", "Rugrats", "Star Wars", "Looney Tunes", "X-Men"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Spy Kids film series"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <title> ?pv . ?pv <pred:value> \"Spy Kids film series\" .  }", "answer": "Spy Kids"}, {"question": "How is Portland, located in Pacific Time Zone, related to Portland with 207 as the local dialing code ?", "choices": ["manufacturer", "filmography", "contains administrative territorial entity", "contains settlement", "appears in the form of", "writing system", "foundational text", "language used", "named after", "field of this occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["local dialing code", "207"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Portland\" . ?e_1 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> \"Pacific Time Zone\" . ?e_2 <pred:name> \"Portland\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"207\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "When was Galveston County established?", "choices": ["1243", "1867-03-01", "1723", "1878-08-13", "1956-01-01", "1910-03-30", "1949-02-12", "1838-01-01", "1876-08-01", "1081"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Galveston County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Galveston County\" . ?e <inception> ?pv .  }", "answer": "1838-01-01"}, {"question": "When did the 3-season Lost in Space CBS series first broadcast?", "choices": ["2011-04-03", "1965-09-15", "1999-05-01", "1950-01-01", "1814", "1986-01-01", "1992-01-01", "2015-04-10", "1920-02-29", "2017-11-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "3", "="]}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lost in Space\" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3\"^^xsd:double . ?e_2 <pred:name> \"CBS\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1965-09-15"}, {"question": "Peru is the origin country of how many forms of electronic music?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peru"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic music\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Peru\" .   }", "answer": "0"}, {"question": "The organization with the motto Floreat Pica claims how many subscribers for its Twitter handle, CollingwoodFC?", "choices": ["2168154", "3931", "935629", "33655", "15092", "76609", "1436", "14839994", "2807318", "124405"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "Floreat Pica"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "CollingwoodFC", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> \"Floreat Pica\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"CollingwoodFC\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "124405"}, {"question": "What is the name of the college of the University of Oxford where studied the person whose ISNI is 0000 0001 2278 3593?", "choices": ["St Catherine's College", "Lady Margaret Hall", "St John's College", "New York University", "St Edmund Hall", "New College", "Oriel College", "Christ Church", "Hertford College", "Balliol College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2278 3593"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["college of the University of Oxford"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2278 3593\" .   }", "answer": "St Catherine's College"}, {"question": "What is the cost of film titled Monster's Ball?", "choices": ["4000000 pound sterling", "4000000 United States dollar", "8000000 United States dollar", "1480000 United States dollar", "12000000 United States dollar", "36000000 United States dollar", "73000000 United States dollar", "50000000 United States dollar", "14100000 United States dollar", "2500000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Monster's Ball"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Monster's Ball\" . ?e <cost> ?pv .  }", "answer": "4000000 United States dollar"}, {"question": "When was the nominal GDP of Mongolia 2098734600 United States Dollars?", "choices": ["2016-08-09", "1984-01-01", "50", "1851-12-31", "1947-12-31", "1980", "1991-03-25", "2012-02-12", "2018-10-01", "1996-02-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mongolia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["nominal GDP", "2098734600 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Mongolia\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"2098734600\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1984-01-01"}, {"question": "How many Pennsylvania cities are twinned administrative bodies of Hamilton, which is twinned to Flint?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flint"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamilton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of Pennsylvania"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Hamilton\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Flint\" .   }", "answer": "1"}, {"question": "What is the FIPS 6-4 (US counties) of Mono County?", "choices": ["36085", "06051", "53077", "42049", "25013", "55093", "36065", "06025", "30029", "51013"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mono County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Mono County\" . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "06051"}, {"question": "How is Gerry Anderson related to the role of film producer?", "choices": ["residence", "given name", "broadcast by", "follows", "country for sport", "contributing factor of", "territory overlaps", "illustrator", "home venue", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gerry Anderson"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gerry Anderson\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Astralwerks goes by what name on its Instagram account?", "choices": ["astralwerksrecords", "frosinonecalcio", "buryfcofficial", "mijnvitesse", "officialjld", "kylieminogue", "beingsalmankhan", "ekmainaurektu7", "matadorrecords", "lsu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Astralwerks"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Astralwerks\" . ?e <Instagram_username> ?pv .  }", "answer": "astralwerksrecords"}, {"question": "Does the news show that goes by gma on Snapchat have fewer than 60 seasons ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Snapchat username", "gma"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["60", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <Snapchat_username> ?pv_1 . ?pv_1 <pred:value> \"gma\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"60\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many ice hockey teams drafted the Manchester Monarchs player Ryan Murphy?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manchester Monarchs"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ryan Murphy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["drafted by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ice hockey team"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> \"Ryan Murphy\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Manchester Monarchs\" .   }", "answer": "1"}, {"question": "What is the date of birth of the head coach of the Northern Ireland national football team?", "choices": ["1969-07-05", "1973-07-20", "1913-09-07", "1947-04-16", "1982-03-03", "1882-06-18", "1958-09-10", "1906-04-24", "1963-09-16", "1904-06-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northern Ireland national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["head coach", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <head_coach> ?e . ?e_1 <pred:name> \"Northern Ireland national football team\" .  ?e <date_of_birth> ?pv .  }", "answer": "1969-07-05"}, {"question": "Which is shorter, The Expendables 2 or David Copperfield published on 1913-01-01?", "choices": ["Talk to Her", "The Fifth Element", "Curse of the Golden Flower", "The Towering Inferno", "Pleasantville", "David Copperfield", "Training Day", "A Prairie Home Companion", "The Expendables 2", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Expendables 2"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1913-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Expendables 2\" . } UNION { ?e <pred:name> \"David Copperfield\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1913-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "David Copperfield"}, {"question": "How is the John Waters born on 1893-10-31 related to Hollywood, with an elevation of 108 meters?", "choices": ["film crew member", "diplomatic relation", "family", "composer", "coextensive with", "interests", "industry", "found", "place of death", "quotes work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Waters"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1893-10-31", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["elevation above sea level", "108 metre", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Waters\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1893-10-31\"^^xsd:date . ?e_2 <pred:name> \"Hollywood\" . ?e_2 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"108\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Is the title of Cedar Rapids (the one that has Anne Heche as a cast member) the same as Cedar Rapids?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne Heche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cedar Rapids"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Cedar Rapids"]}], "sparql": "ASK { ?e <pred:name> \"Cedar Rapids\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Anne Heche\" .  ?e <title> ?pv . ?pv <pred:value> \"Cedar Rapids\" .  }", "answer": "yes"}, {"question": "When was the movie Quo vadis? published?", "choices": ["2013-09-02", "1818-01-01", "2007-08-28", "1970-12-16", "1985-07-12", "1996-04-25", "1924-01-01", "1999-03-31", "2012-12-13", "2009-10-15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Quo vadis?"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Quo vadis?\" . ?e <publication_date> ?pv .  }", "answer": "1924-01-01"}, {"question": "How is Gloucester County related to Gloucester in the United Kingdom?", "choices": ["student", "significant event", "place of birth", "risk factor", "item operated", "named after", "business division", "foundational text", "part of the series", "contains settlement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gloucester County"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gloucester"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gloucester County\" . ?e_2 <pred:name> \"Gloucester\" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "How many provinces of China share a border with the China province whose capital is Chengdu?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chengdu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of China"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"province of China\" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> \"Chengdu\" .   }", "answer": "2"}, {"question": "How many medications are named after the landform whose GSS code (2011) is E06000046?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E06000046"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["medication"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"landform\" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E06000046\" .   }", "answer": "0"}, {"question": "Which has higher (above sea level), Santa Cruz or Palo Alto (the one whose native label is Palo Alto)?", "choices": ["Franklin", "Santa Cruz", "Palo Alto", "Oakland", "Compton", "Waukegan", "Columbus", "Lansing", "New Haven", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Cruz"]}, {"function": "Find", "dependencies": [], "inputs": ["Palo Alto"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["native label", "Palo Alto"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Santa Cruz\" . } UNION { ?e <pred:name> \"Palo Alto\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Palo Alto\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Santa Cruz"}, {"question": "Which one is longer, April (length is 78 minutes) or One Flew Over the Cuckoo's Nest (genre is drama film)?", "choices": ["April", "Curse of the Golden Flower", "Rebecca", "Pleasantville", "Talk to Her", "The Fifth Element", "One Flew Over the Cuckoo's Nest", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["April"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "78 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["One Flew Over the Cuckoo's Nest"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"April\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"78\"^^xsd:double . } UNION { ?e <pred:name> \"One Flew Over the Cuckoo's Nest\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"drama film\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "One Flew Over the Cuckoo's Nest"}, {"question": "What is the connection between The Fast and the Furious (the one whose composer is BT) to Ja Rule?", "choices": ["religion", "superhuman feature or ability", "place of burial", "part of the series", "sexual orientation", "present in work", "cause of death", "cast member", "notable work", "participant of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BT"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fast and the Furious"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ja Rule"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fast and the Furious\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"BT\" . ?e_2 <pred:name> \"Ja Rule\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is J.K. Simmons involved with the series of Law & Order with Chris North?", "choices": ["cast member", "exclave of", "head of state", "film distribute region", "risk factor", "professional or sports partner", "educated at", "replaces", "appointed by", "fictional universe described in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Noth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["J. K. Simmons"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Law & Order\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Chris Noth\" . ?e_2 <pred:name> \"J. K. Simmons\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Was the box office for the film with the official website of http://www.thewrestlermovie.com less than 4900000 Russian ruble ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thewrestlermovie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4900000 Russian ruble", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.thewrestlermovie.com\" . ?e <box_office> ?pv . ?pv <pred:unit> \"Russian ruble\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4900000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which has lower elevation above sea level, Timmins or Rabat?", "choices": ["Abidjan", "Kingston", "Rabat", "Santo Domingo", "Kilkenny", "Timmins", "Bergen", "Dundee", "Cork", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Timmins"]}, {"function": "Find", "dependencies": [], "inputs": ["Rabat"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Timmins\" .  } UNION { ?e <pred:name> \"Rabat\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rabat"}, {"question": "How many dogs are named after Yorkshire and do not have a mass of 110 atomic mass units?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yorkshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["mass", "110 atomic mass unit", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["dog"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Yorkshire\" .  ?e <mass> ?pv . ?pv <pred:unit> \"atomic mass unit\" . ?pv <pred:value> ?v . FILTER ( ?v != \"110\"^^xsd:double ) .  }", "answer": "0"}, {"question": "What number of dogs are black with the catalog code of 149?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["catalog code", "149"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["dog"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black\" .  ?e <catalog_code> ?pv . ?pv <pred:value> \"149\" .  }", "answer": "0"}, {"question": "What video game has the game mode of multiplayer-video game and has a Nintendo GameID of RM5P7D?", "choices": ["Battleship", "Harry Potter and the Half-Blood Prince", "Spider-Man", "Transformers: Revenge of the Fallen", "music video game", "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe", "Guitar Hero 5", "G-Force", "Batman", "The Mummy: Tomb of the Dragon Emperor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Nintendo GameID", "RM5P7D"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <game_mode> ?e_1 . ?e_1 <pred:name> \"multiplayer video game\" .  ?e <Nintendo_GameID> ?pv . ?pv <pred:value> \"RM5P7D\" .  }", "answer": "The Mummy: Tomb of the Dragon Emperor"}, {"question": "How is Uttar Pradesh that uses Urdu as the official language related to Rajasthan that has the capital Jaipur?", "choices": ["shares border with", "award disciplines or subjects", "child", "affiliation", "work location", "member of", "original language of film or TV show", "office held by head of state", "cites", "owner of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Urdu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Uttar Pradesh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jaipur"]}, {"function": "Relate", "dependencies": [4], "inputs": ["capital of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rajasthan"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Uttar Pradesh\" . ?e_1 <official_language> ?e_3 . ?e_3 <pred:name> \"Urdu\" . ?e_2 <pred:name> \"Rajasthan\" . ?e_4 <capital_of> ?e_2 . ?e_4 <pred:name> \"Jaipur\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is the birth year of the person that is buried in Manche after 1896?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1896", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_burial> ?e_1 . ?e_1 <pred:name> \"Manche\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1896 ) .  }", "answer": "yes"}, {"question": "Is Hannah Montana: The Movie the title of the visual artwork Michael Tollin executive produced ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Tollin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Hannah Montana: The Movie"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Michael Tollin\" .  ?e <title> ?pv . ?pv <pred:value> \"Hannah Montana: The Movie\" .  }", "answer": "no"}, {"question": "What California county is the filming location of Thelma & Louise?", "choices": ["Contra Costa County", "Tulare County", "Kern County", "Solano County", "Alameda County", "San Diego County", "San Bernardino County", "Utah", "Los Angeles County", "San Mateo County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thelma & Louise"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Thelma & Louise\" .   }", "answer": "Kern County"}, {"question": "What is the relationship between Resident Evil, which was released in Austria, and Marco Beltrami?", "choices": ["family name", "doctoral advisor", "studied by", "composer", "basin country", "original network", "office held by head of government", "is a list of", "manufacturer", "position held"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Resident Evil"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Marco Beltrami"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Resident Evil\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Austria\" . ?e_2 <pred:name> \"Marco Beltrami\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Is 1944 not the year for the birthdate of the fictional person who is presented in the work The Young and the Restless?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Young and the Restless"]}, {"function": "Relate", "dependencies": [0], "inputs": ["present in work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1944", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <present_in_work> ?e_1 . ?e_1 <pred:name> \"The Young and the Restless\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1944 ) .  }", "answer": "yes"}, {"question": "Is officialmoz the Twitter username of the person having the official website http://www.morrisseyofficial.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.morrisseyofficial.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["officialmoz"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.morrisseyofficial.com/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"officialmoz\" .  }", "answer": "yes"}, {"question": "Is Universiteit Leiden the official name for Santiago whose area is 837.89 square kilometers?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santiago"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "837.89 square kilometre", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["Universiteit Leiden"]}], "sparql": "ASK { ?e <pred:name> \"Santiago\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"837.89\"^^xsd:double . ?e <official_name> ?pv . ?pv <pred:value> \"Universiteit Leiden\" .  }", "answer": "no"}, {"question": "Does Thomas Newman or January Jones have a greater number of children?", "choices": ["William Henry Harrison", "James E. Reilly", "Sylvester Stallone", "David Byrne", "Simon Cowell", "Thomas Newman", "January Jones", "Richard Gere", "Paul Simon", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Newman"]}, {"function": "Find", "dependencies": [], "inputs": ["January Jones"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thomas Newman\" .  } UNION { ?e <pred:name> \"January Jones\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Thomas Newman"}, {"question": "What is the official website of the record label of Joe Strummer?", "choices": ["http://www.indianajones.com", "http://www.pratt.edu", "http://www.tarzananc.org/", "http://www.sayajishinde.com/", "http://www.governo.cv", "http://www.miranda-otto.com/", "http://will.i.am", "http://www.uvm.edu", "http://www.epitaph.com", "http://www.nfl.com/draft/history/fulldraft?season=2008"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joe Strummer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Joe Strummer\" .  ?e <official_website> ?pv .  }", "answer": "http://www.epitaph.com"}, {"question": "Tell me the subject of the statement Vilmos Zsigmond got the Academy Award for best cinematography.", "choices": ["Cameroon\u2013France relations", "Arab\u2013Iran relations", "Sino-Russian relations", "C\u00f4te d'Ivoire\u2013Mali border", "50th Academy Awards", "Cyprus\u2013United States relations", "Australia\u2013France relations", "Bulgaria\u2013Mongolia relations", "Ghana\u2013United States relations", "Latvia\u2013Ukraine relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vilmos Zsigmond"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Vilmos Zsigmond\" . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "50th Academy Awards"}, {"question": "Which written work has the title La Chute and uses the language French?", "choices": ["Interview with the Vampire", "The Fall", "Planet of the Apes", "Contact", "The Hours", "The Three Musketeers", "A Single Man", "Live and Let Die", "The Maltese Falcon", "The Painted Veil"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "La Chute"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [3], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <title> ?pv . ?pv <pred:value> \"La Chute\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"French\" .  }", "answer": "The Fall"}, {"question": "Vincent Pastore was a student of which university?", "choices": ["National Taiwan University", "McNeese State University", "University of Manchester", "Pace University", "Pennsylvania State University", "Tulane University", "Howard University", "University of Liverpool", "Imperial College London", "University of Mississippi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vincent Pastore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Vincent Pastore\" .   }", "answer": "Pace University"}, {"question": "The art school Cedric Gibbons attended is represented in which language on its official website www.theartstudentsleague.org?", "choices": ["Arabic", "Austrian German", "Bokm\u00e5l", "Bashkir", "Georgian", "Latvian", "Cook Islands M\u0101ori", "Canadian English", "Galician", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cedric Gibbons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art school"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.theartstudentsleague.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Cedric Gibbons\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theartstudentsleague.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the publication territory for the film whose official website is http://www.theblindsidemovie.com/ and release date is 2010-03-25?", "choices": ["Thailand", "Greek Theatre, Los Angeles", "Cannes Film Festival", "Japan", "Washington, D.C.", "Venice Film Festival", "Berlin International Film Festival", "Germany", "Toronto", "2003 Cannes Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theblindsidemovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-03-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.theblindsidemovie.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-03-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who was not born in 1948 but was born in Gothenburg?", "choices": ["Richard Gere", "Harold Ramis", "Julianne Moore", "Sylvester Stallone", "William Henry Harrison", "William Gibson", "Harrison Ford", "Stephen Stills", "Cree Summer", "Adrian Grenier"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1948", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Gothenburg"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1948 ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Gothenburg\" .  }", "answer": "William Gibson"}, {"question": "To which territorial jurisdiction does the official website  https://www.microsoft.com/tr-tr/windows. associated with a proprietary software whose edition is Windows 7, apply ?", "choices": ["Luxembourg", "Turkey", "Egypt", "Costa Rica", "Brazil", "Mexico", "Jewish Autonomous Oblast", "Netherlands", "Russia", "Sakhalin Oblast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Windows 7"]}, {"function": "Relate", "dependencies": [0], "inputs": ["edition or translation of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["proprietary software"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.microsoft.com/tr-tr/windows", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"proprietary software\" . ?e_1 <edition_or_translation_of> ?e . ?e_1 <pred:name> \"Windows 7\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.microsoft.com/tr-tr/windows\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "Turkey"}, {"question": "How is Zoolander linked to Garry Shandling?", "choices": ["public holiday", "subject has role", "spouse", "cast member", "history of topic", "chairperson", "make-up artist", "student of", "architect", "significant person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zoolander"]}, {"function": "Find", "dependencies": [], "inputs": ["Garry Shandling"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Zoolander\" . ?e_2 <pred:name> \"Garry Shandling\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who wrote the work that has the last line \"and it was still hot.\"?", "choices": ["William Henry Harrison", "Maurice Sendak", "Serge Gainsbourg", "John Steinbeck", "Richard Portman", "Max Fleischer", "Alexandre Dumas", "David Byrne", "Richard Gere", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["last line", "and it was still hot."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["manifestation"]}, {"function": "Relate", "dependencies": [2], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"manifestation\" . ?e_1 <last_line> ?pv . ?pv <pred:value> \"and it was still hot.\" .   }", "answer": "Maurice Sendak"}, {"question": "How many counties in Arizona have a population greater than 840000?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "840000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"840000\"^^xsd:double ) .  }", "answer": "2"}, {"question": "Is the publication date before 2013 for the visual artwork based on South Pacific that was first performed on 1949-04-07?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Pacific"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of first performance", "1949-04-07", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2013", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"South Pacific\" . ?e_1 <date_of_first_performance> ?pv_1 . ?pv_1 <pred:date> \"1949-04-07\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2013 ) .  }", "answer": "yes"}, {"question": "When did Amman become the twinned administrative body of Pretoria?", "choices": ["1700", "1453", "2002-01-01", "1974-01-01", "1982-01-19", "1960-12-09", "1981-09-15", "2015", "1986-02-06", "1978-08-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "Find", "dependencies": [], "inputs": ["Pretoria"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Amman\" . ?e_2 <pred:name> \"Pretoria\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2002-01-01"}, {"question": "Regarding the administrative territorial entity that has a border with Navajo County and 14807, tell me its time point.", "choices": ["2011-11-01", "2003-11-01", "1912-05-15", "1991-03-07", "1970-12-31", "1874-01-01", "1966", "1899-12-31", "1640-01-01", "2010-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Navajo County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "14807", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Navajo County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"14807\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Which movie is shorter, Bullets Over Broadway or The Maltese Falcon (the one that is written by Dashiell Hammett)?", "choices": ["A Prairie Home Companion", "Rebecca", "Talk to Her", "The Towering Inferno", "The Maltese Falcon", "The Hunchback of Notre Dame", "Pleasantville", "Training Day", "Bullets Over Broadway", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bullets Over Broadway"]}, {"function": "Find", "dependencies": [], "inputs": ["Dashiell Hammett"]}, {"function": "Relate", "dependencies": [1], "inputs": ["after a work by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Maltese Falcon"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bullets Over Broadway\" .  } UNION { ?e <pred:name> \"The Maltese Falcon\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"Dashiell Hammett\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bullets Over Broadway"}, {"question": "What links Licence to Kill to United Artists?", "choices": ["based on", "military casualty classification", "general manager", "honorific suffix", "nominated for", "legislative body", "production company", "editor", "opposite of", "operating area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Licence to Kill"]}, {"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Licence to Kill\" . ?e_2 <pred:name> \"United Artists\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "When was Get Low (the one that has Flo Rida as a performer) published?", "choices": ["2002-02-28", "1986-02-07", "2008-10-22", "1995-07-14", "2015-01-17", "2000-08-03", "2012-06-05", "2008", "1962-10-05", "2009-12-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flo Rida"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Get Low"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Get Low\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Flo Rida\" .  ?e <publication_date> ?pv .  }", "answer": "2012-06-05"}, {"question": "Is The Straight Story or The Santa Clause 2 the longer of the two?", "choices": ["Alvin and the Chipmunks: Chipwrecked", "G-Force", "The Straight Story", "The Muppets", "The Flintstones in Viva Rock Vegas", "John Carter", "Old Dogs", "The Flintstones", "Holes", "National Treasure: Book of Secrets"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Straight Story"]}, {"function": "Find", "dependencies": [], "inputs": ["The Santa Clause 2"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Straight Story\" .  } UNION { ?e <pred:name> \"The Santa Clause 2\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Straight Story"}, {"question": "How long is the romance film Derby?", "choices": ["80 minute", "75 minute", "67.0 minute", "360 minute", "169 minute", "129 minute", "1 academic term", "145 minute", "197 minute", "86 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Derby"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Derby\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"romance film\" .  ?e <duration> ?pv .  }", "answer": "80 minute"}, {"question": "At what point in time is 28572 the population of the human settlement having the official website http://www.princetonnj.gov/?", "choices": ["2010", "-500", "1967-04-10", "2000-02-06", "2005-10-17", "1999-03-21", "1947-04-26", "2016-06-20", "1986-11-17", "2000-12-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.princetonnj.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "28572", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.princetonnj.gov/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"28572\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Which movie is longer, Kiki's Delivery Service or Ben-Hur (the one whose publication date is 1960-10-14)?", "choices": ["The Towering Inferno", "Kiki's Delivery Service", "Pleasantville", "Talk to Her", "The Fifth Element", "A Prairie Home Companion", "Ben-Hur", "Training Day", "Curse of the Golden Flower", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiki's Delivery Service"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben-Hur"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1960-10-14", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kiki's Delivery Service\" . } UNION { ?e <pred:name> \"Ben-Hur\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1960-10-14\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ben-Hur"}, {"question": "Which one, Welsh or Malayalam, has fewer number of speakers?", "choices": ["Malayalam", "Tamil", "Indonesian", "Marathi", "Gujarati", "Scots", "Welsh", "German", "Irish", "Croatian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Welsh"]}, {"function": "Find", "dependencies": [], "inputs": ["Malayalam"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of speakers", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Welsh\" .  } UNION { ?e <pred:name> \"Malayalam\" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Welsh"}, {"question": "How is You Don't Mess with the Zohan related to Thomas Duane Arnold?", "choices": ["set in period", "used by", "cast member", "author", "capital of", "health specialty", "draft pick from school", "discoverer or inventor", "native language", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["You Don't Mess with the Zohan"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Duane Arnold"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"You Don't Mess with the Zohan\" . ?e_2 <pred:name> \"Thomas Duane Arnold\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which university with PermID 5001998137 has the official website www.uab.edu?", "choices": ["Panjab University", "McMaster University", "Imperial College London", "Pennsylvania State University", "University of Melbourne", "University of Tehran", "King's College London", "University of Manchester", "University of Alabama at Birmingham", "McNeese State University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5001998137"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.uab.edu"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["university"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <PermID> ?pv . ?pv <pred:value> \"5001998137\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.uab.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "University of Alabama at Birmingham"}, {"question": "Is 0000 0004 0405 8859 the ISNI of Shannen Doherty?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shannen Doherty"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0004 0405 8859"]}], "sparql": "ASK { ?e <pred:name> \"Shannen Doherty\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0405 8859\" .  }", "answer": "no"}, {"question": "How many medications are the opposite of the medicine that opposes prescription drug?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["prescription drug"]}, {"function": "Relate", "dependencies": [0], "inputs": ["opposite of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "Relate", "dependencies": [2], "inputs": ["opposite of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["medication"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e <opposite_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"medication\" . ?e_1 <opposite_of> ?e_2 . ?e_2 <pred:name> \"prescription drug\" .   }", "answer": "1"}, {"question": "What is the relationship between Akiva Goldsman to film director?", "choices": ["partially contains", "superhuman feature or ability", "student", "country of citizenship", "participant", "filmography", "honorific prefix", "occupation", "dissertation submitted to", "conflict"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akiva Goldsman"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Akiva Goldsman\" . ?e_2 <pred:name> \"film director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Its subreddit is learn Japanese,For Japanese what is the language that associated with this creative work.", "choices": ["English", "Bashkir", "Thai", "Slavic languages", "Romanian", "Norwegian", "British English", "Cornish", "Navajo", "Corsican"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["subreddit", "LearnJapanese", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Japanese\" . ?e <subreddit> ?pv . ?pv <pred:value> \"LearnJapanese\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is Frederick County that borders Loudoun County related to Frederick whose postal code is 21704?", "choices": ["candidacy in election", "work location", "parent astronomical body", "sex or gender", "capital", "has quality", "heritage designation", "mouth of the watercourse", "broadcast by", "operator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Loudoun County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frederick County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Frederick"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["postal code", "21704"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frederick County\" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"Loudoun County\" . ?e_2 <pred:name> \"Frederick\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"21704\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "Who is the person that died in Quebec City and whose date of birth is after 1854?", "choices": ["Richard Gere", "William Henry Harrison", "Aude", "Allison Janney", "L. Frank Baum", "Sylvester Stallone", "Ray Walston", "Ted Kennedy", "Peter Dinklage", "Freddie Young"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quebec City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1854", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Quebec City\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1854 ) .  }", "answer": "Aude"}, {"question": "For the basketball group whose Twitter username is UCLAMBB, its official site is http://uclabruins.com/index.aspx?path=mbball, what nation does it has a place to", "choices": ["Suriname", "Lebanon", "Kingdom of Bavaria", "Romania", "Kingdom of Great Britain", "United States of America", "Socialist Federal Republic of Yugoslavia", "Cura\u00e7ao", "Poland", "German Democratic Republic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "UCLAMBB"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://uclabruins.com/index.aspx?path=mbball", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"UCLAMBB\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://uclabruins.com/index.aspx?path=mbball\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Is the founding year earlier than 1949 for the US college or university located at 168 College Avenue, Orono, ME, 04469?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address (DEPRECATED)", "168 College Avenue, Orono, ME, 04469"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1949", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <located_at_street_address_(DEPRECATED)> ?pv_1 . ?pv_1 <pred:value> \"168 College Avenue, Orono, ME, 04469\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1949 ) .  }", "answer": "yes"}, {"question": "What is the nickname of a male that was given name Bono?", "choices": ["Larry", "Lou Gehrig's disease", "Holanta", "Pol", "Em", "Captain Marvel", "The Candystripes", "\u039d\u03b1\u03c5\u03b1\u03c1\u03c7\u03af\u03b4\u03b1", "Die Roten", "Ciutat Comtal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bono"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["male given name"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["nickname"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Bono\" .  ?e <nickname> ?pv .  }", "answer": "Pol"}, {"question": "What country does the University of Kentucky's headquarter location in Lexington (the one whose elevation (above sea level) is 298 metre) belong to?", "choices": ["Burkina Faso", "Kingdom of Saxony", "Russian Soviet Federative Socialist Republic", "Ecuador", "United States of America", "Hungary", "German Democratic Republic", "Socialist Federal Republic of Yugoslavia", "Suriname", "Holy Roman Empire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Kentucky"]}, {"function": "Find", "dependencies": [], "inputs": ["Lexington"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "298 metre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Kentucky\" . ?e_2 <pred:name> \"Lexington\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"298\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Billie Holiday was an influence on how many people?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billie Holiday"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Billie Holiday\" .   }", "answer": "1"}, {"question": "How many airlines have an IATA designation of AA or an ISIN of AU000000QAN2?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IATA airline designator", "AA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISIN", "AU000000QAN2"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["airline"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" .  { ?e <IATA_airline_designator> ?pv . ?pv <pred:value> \"AA\" .  } UNION { ?e <ISIN> ?pv . ?pv <pred:value> \"AU000000QAN2\" .  } }", "answer": "2"}, {"question": "What is the connection between James Brown (the one that is a member of Aston Villa F.C.) to Aston Villa F.C.?", "choices": ["member of sports team", "candidate", "licensed to broadcast to", "dedicated to", "presenter", "derivative work", "mountain range", "use", "has immediate cause", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aston Villa F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Aston Villa F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Aston Villa F.C.\" . ?e_2 <pred:name> \"Aston Villa F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the time period that 56196 is the population of Qatar?", "choices": ["2016-01-01", "1938-12-01", "1962", "1961", "1937-01-01", "1832-12-01", "1965-11-01", "1990-03-26", "1822", "1804"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Qatar"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "56196", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Qatar\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"56196\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1962"}, {"question": "What does Dalian have to do with Rostock?", "choices": ["official language", "follows", "place of publication", "doctoral advisor", "has quality", "legal form", "natural product of taxon", "subsidiary", "twinned administrative body", "diaspora"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dalian"]}, {"function": "Find", "dependencies": [], "inputs": ["Rostock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dalian\" . ?e_2 <pred:name> \"Rostock\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the Munzinger IBA of the person whose native language name is Billy Bob Thornton?", "choices": ["00000024220", "00000013724", "00000018295", "00000020509", "00000001068", "00000012739", "00000024950", "00000029119", "00000014529", "00000020976"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Billy Bob Thornton"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Billy Bob Thornton\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000024220"}, {"question": "Which movie is longer, The Proposition (the one that has Robert Loggia as a cast member) or Eastern Promises?", "choices": ["Rebecca", "The Fifth Element", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Talk to Her", "A Prairie Home Companion", "Training Day", "Eastern Promises", "The Proposition", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Loggia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Proposition"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Promises"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Proposition\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Robert Loggia\" .   } UNION { ?e <pred:name> \"Eastern Promises\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Proposition"}, {"question": "Which is bigger: Northamptonshire or Cambridgeshire (the one that shares border with Lincolnshire)?", "choices": ["West Midlands", "Northamptonshire", "Norfolk", "Derbyshire", "Cumbria", "Staffordshire", "Somerset", "Warwickshire", "Essex", "Cambridgeshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northamptonshire"]}, {"function": "Find", "dependencies": [], "inputs": ["Lincolnshire"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridgeshire"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Northamptonshire\" .  } UNION { ?e <pred:name> \"Cambridgeshire\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Lincolnshire\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cambridgeshire"}, {"question": "When was the person who set up in  Worcester (the one that is the headquarter location of Worcester City F.C.) born?", "choices": ["1938-03-05", "1947-02-15", "1944-12-08", "1964-01-07", "1940-03-10", "1963-03-10", "1962-10-02", "1933-08-25", "1995-12-21", "1973-07-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Worcester City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Worcester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Worcester\" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> \"Worcester City F.C.\" .  ?e <date_of_birth> ?pv .  }", "answer": "1947-02-15"}, {"question": "What is the relationship between August (the one that is the starting time of Serie A) and September (the one whose name is wrze\u015bnia)?", "choices": ["grants", "legislative body", "followed by", "award disciplines or subjects", "practiced by", "member of", "famous people", "seed team", "screenwriter", "programming paradigm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serie A"]}, {"function": "Relate", "dependencies": [0], "inputs": ["season starts", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["August"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["September"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["name", "wrze\u015bnia"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"August\" . ?e_3 <season_starts> ?e_1 . ?e_3 <pred:name> \"Serie A\" . ?e_2 <pred:name> \"September\" . ?e_2 <name> ?pv . ?pv <pred:value> \"wrze\u015bnia\" . ?e_1 ?p ?e_2 .  }", "answer": "followed by"}, {"question": "Is LL-Q150 (fra)-GrandCelinien-Tours.wav the pronunciation audio for the city that is the residence of Novak Djokovic in the country of Serbia?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Novak Djokovic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["country", "Serbia"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["pronunciation audio"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["LL-Q150 (fra)-GrandCelinien-Tours.wav"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Novak Djokovic\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e ] <country> ?qpv . ?qpv <pred:value> \"Serbia\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"LL-Q150 (fra)-GrandCelinien-Tours.wav\" .  }", "answer": "no"}, {"question": "What is the official web page of PFC Levski Sofia?", "choices": ["https://levski.bg/", "http://au.tv.yahoo.com/", "http://www.hancockcountywv.org", "http://www.regione.lazio.it/", "http://coj.net", "http://www.benhurmovie.com/", "http://DavidJonline.com", "http://www.cityoffortwayne.org", "http://www.psg.fr/", "http://www.ci.buffalo.ny.us"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PFC Levski Sofia"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"PFC Levski Sofia\" . ?e <official_website> ?pv .  }", "answer": "https://levski.bg/"}, {"question": "Which movie is shorter, New York Stories or Some Like It Hot (the one whose publication date is 1959-03-29)?", "choices": ["Rebecca", "The Fifth Element", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Pleasantville", "The Towering Inferno", "New York Stories", "A Prairie Home Companion", "Some Like It Hot", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York Stories"]}, {"function": "Find", "dependencies": [], "inputs": ["Some Like It Hot"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1959-03-29", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New York Stories\" . } UNION { ?e <pred:name> \"Some Like It Hot\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1959-03-29\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Some Like It Hot"}, {"question": "Which movie is longer, The Challenge (the one whose script is wrote by John Sayles) or Julie & Julia?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "The Towering Inferno", "Julie & Julia", "Rebecca", "Curse of the Golden Flower", "The Challenge", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Sayles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Challenge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Julie & Julia"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Challenge\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"John Sayles\" .   } UNION { ?e <pred:name> \"Julie & Julia\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Julie & Julia"}, {"question": "What is the connection between Kingdom of Greece to Athens (the one whose postal code is 10xxx, 11xxx, 120xx)?", "choices": ["sponsor", "kit supplier", "capital", "diplomatic relation", "has quality", "approved by", "narrative location", "item operated", "manner of death", "published in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Greece"]}, {"function": "Find", "dependencies": [], "inputs": ["Athens"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "10xxx, 11xxx, 120xx"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kingdom of Greece\" . ?e_2 <pred:name> \"Athens\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"10xxx, 11xxx, 120xx\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "Regarding the city that is a Lower Saxony capital and that has a population of 16816 tell me its time point.", "choices": ["1803", "1993-10-08", "1897-01-01", "1811", "1999-05-19", "1515-01-01", "2010-09-15", "1495-01-01", "2000", "1941-02-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lower Saxony"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "16816", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Lower Saxony\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"16816\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1811"}, {"question": "How are Trinidad and the Port of Spain related?", "choices": ["place of birth", "significant event", "kit supplier", "conferred by", "highest judicial authority", "child astronomical body", "dialect of", "capital", "location of formation", "place served by transport hub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trinidad"]}, {"function": "Find", "dependencies": [], "inputs": ["Port of Spain"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Trinidad\" . ?e_2 <pred:name> \"Port of Spain\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "What is the association between Salem (whose producer is Brannon Braga) and costume drama?", "choices": ["applies to jurisdiction", "place of death", "genre", "color", "original film format", "honorific prefix", "original language of film or TV show", "home venue", "terminus", "hair color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brannon Braga"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Salem"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["costume drama"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Salem\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"Brannon Braga\" . ?e_2 <pred:name> \"costume drama\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the Twitter username of the TV series whose official website is http://www.bbc.co.uk/comedy/theoffice/?", "choices": ["NGSuperEagles", "michaelwsmith", "OM_Japanese", "TulsaHurricane", "BetteMidler", "ShenaRingo_Net", "Viacom", "TheOfficeBBC", "PSG_inside", "Amtrak"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bbc.co.uk/comedy/theoffice/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.bbc.co.uk/comedy/theoffice/\" . ?e <Twitter_username> ?pv .  }", "answer": "TheOfficeBBC"}, {"question": "What is the connection between Yokohama to San Diego?", "choices": ["child", "honorific prefix", "highest judicial authority", "nutrient", "mother", "developer", "twinned administrative body", "designated as terrorist by", "killed by", "officially opened by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yokohama"]}, {"function": "Find", "dependencies": [], "inputs": ["San Diego"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Yokohama\" . ?e_2 <pred:name> \"San Diego\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Where was the movie Grindhouse, publication date  2008-07-3, published?", "choices": ["United States of America", "Germany", "Finland", "BFI London Film Festival", "Vietnam", "Europe", "worldwide", "Toronto", "Pakistan", "South Korea"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Grindhouse"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2008-07-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Grindhouse\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2008-07-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "From the unitary states with the population of under 4,700,000,000, which one covers the smallest area ?", "choices": ["Malta", "Ukrainian Soviet Socialist Republic", "Croatia", "Bulgaria", "Kosovo", "Lithuania", "Trinidad and Tobago", "Kazakhstan", "Monaco", "Greece"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4700000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"4700000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monaco"}, {"question": "Which has the larger area, Greenville County or the Coimbatore district?", "choices": ["Delaware County", "Cass County", "Coimbatore district", "Lee County", "African Union", "Washoe County", "Kent County", "Greene County", "Greenville County", "San Juan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greenville County"]}, {"function": "Find", "dependencies": [], "inputs": ["Coimbatore district"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greenville County\" .  } UNION { ?e <pred:name> \"Coimbatore district\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coimbatore district"}, {"question": "Which has less area, Nebraska whose short name is Nebr. or Virginia  whose population is 4648494?", "choices": ["Nebraska", "Iowa", "New Mexico", "Virginia", "California", "Hawaii", "Illinois", "Colorado", "Massachusetts", "Florida"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "Nebr."]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "4648494", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nebraska\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"Nebr.\" . } UNION { ?e <pred:name> \"Virginia\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"4648494\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Virginia"}, {"question": "What is the birth name of the person with ISNI 0000 0000 7141 4172?", "choices": ["Roderick David Stewart", "Robert Bartleh Cummings", "Archibald Alec Leach", "John Arthur Carradine", "Robert Anson Heinlein", "Nathaniel Hathorne", "Joseph Robinette Biden", "Albert Arnold Gore", "O'Shea Jackson Sr", "Gladys Louise Smith"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7141 4172"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7141 4172\" . ?e <birth_name> ?pv .  }", "answer": "John Arthur Carradine"}, {"question": "How does  Hook relate to Bob Hoskins ?", "choices": ["notable work", "military branch", "cast member", "film crew member", "student", "business division", "destination point", "political alignment", "religion", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hook"]}, {"function": "Find", "dependencies": [], "inputs": ["Bob Hoskins"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hook\" . ?e_2 <pred:name> \"Bob Hoskins\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "The movie officially associated with the website battlefieldearth.warnerbros.com was the recipient of how many Golden Raspberry Awards?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://battlefieldearth.warnerbros.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Golden Raspberry Awards"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Raspberry Awards\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://battlefieldearth.warnerbros.com/\" .   }", "answer": "6"}, {"question": "Is the ISNI of Michael Collins (the one whose date of birth is 1977-09-06) 0000 0001 2028 829X?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Collins"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1977-09-06", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["0000 0001 2028 829X"]}], "sparql": "ASK { ?e <pred:name> \"Michael Collins\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1977-09-06\"^^xsd:date . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2028 829X\" .  }", "answer": "no"}, {"question": "The visual artwork titled Indiana Jones and the Temple of Doom had which place of publication on 1984-08-03?", "choices": ["Central Park", "Taiwan", "Lebanon", "Thailand", "Portal:Belgium", "Peru", "Argentina", "Montreal World Film Festival", "Czech Republic", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Indiana Jones and the Temple of Doom"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1984-08-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Indiana Jones and the Temple of Doom\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1984-08-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the character role of Mila Kunis as a voice actor in Family Guy?", "choices": ["Mock Turtle", "Georges Duroy", "Alex Munday", "John McLoughlin", "Skeeter Bronson", "Eva Per\u00f3n", "Meg Griffin", "Sam Malone", "Nelson Muntz", "Stanley the Gatekeeper"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Family Guy"]}, {"function": "Find", "dependencies": [], "inputs": ["Mila Kunis"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Family Guy\" . ?e_2 <pred:name> \"Mila Kunis\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Meg Griffin"}, {"question": "How is Elizabeth Taylor (with the Twitter username of ElizabethTaylor) related to Republican Party?", "choices": ["copyright holder", "said to be the same as", "color", "art director", "shares border with", "characters", "has parts of the class", "member of political party", "license", "studied by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth Taylor"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ElizabethTaylor"]}, {"function": "Find", "dependencies": [], "inputs": ["Republican Party"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Elizabeth Taylor\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"ElizabethTaylor\" . ?e_2 <pred:name> \"Republican Party\" . ?e_1 ?p ?e_2 .  }", "answer": "member of political party"}, {"question": "What does Kiefer Sutherland have to do with film producer?", "choices": ["copyright representative", "health specialty", "statistical leader", "culture", "partner", "subsidiary", "mouth of the watercourse", "occupation", "game mode", "manufacturer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiefer Sutherland"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kiefer Sutherland\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did North Korea have a population of 20838090?", "choices": ["1890-01-01", "2016-12-31", "1992", "2005-11-21", "1851-12-31", "1807", "1640-01-01", "1940-06-19", "1833-09-18", "1664"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Korea"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "20838090", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"North Korea\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"20838090\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1992"}, {"question": "Tell me the person who is the spouse of the person with the Deutsche Synchronkartei actor-ID is 1951", "choices": ["Ivan Reitman", "Frank Sinatra", "Craig Robinson", "Hayden Christensen", "Liev Schreiber", "Ryuichi Sakamoto", "Vincente Minnelli", "Kim Basinger", "Lauren Holly", "Sarah Jessica Parker"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "1951"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"1951\" .   }", "answer": "Hayden Christensen"}, {"question": "What is the Instagram handle of US colleges and universities attended by John Grisham?", "choices": ["pharrell", "brewers", "xmenmovies", "lindsaylohan", "kobecity", "chrisodonnell", "msstate", "girlshbo", "theculinaryinstituteofamerica", "theendrecords"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Grisham"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"John Grisham\" .  ?e <Instagram_username> ?pv .  }", "answer": "msstate"}, {"question": "What is the ISNI of the person that has an official website at http://www.cheechandchong.com?", "choices": ["0000 0000 4567 7868", "0000 0003 6852 1294", "0000 0000 4198 756X", "0000 0001 1449 6877", "0000 0001 1959 4994", "0000 0001 2347 9198", "0000 0001 1035 2518", "0000 0001 1944 8612", "0000 0001 0911 0941", "0000 0001 2275 9729"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cheechandchong.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cheechandchong.com\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1449 6877"}, {"question": "The Black Dahlia came out October 10th, 2006, but where is it published?", "choices": ["Israel", "Germany", "German Democratic Republic", "Cannes", "British Hong Kong", "2004 Cannes Film Festival", "Canada", "Malaysia", "European Union", "Grauman's Chinese Theatre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Black Dahlia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2006-10-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Black Dahlia\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-10-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is Edward Scissorhands related to Alan Arkin?", "choices": ["architectural style", "original film format", "influenced by", "film regional debut venue", "child astronomical body", "after a work by", "grants", "cast member", "studied by", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward Scissorhands"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Arkin"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Edward Scissorhands\" . ?e_2 <pred:name> \"Alan Arkin\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which has a larger nominal GDP per capita, Republic of the Congo (the one whose life expectancy is 53.608 year) or Philippines?", "choices": ["Weimar Republic", "Russian Soviet Federative Socialist Republic", "Republic of the Congo", "Switzerland", "Samoa", "Benin", "Kiribati", "Cambodia", "Socialist Federal Republic of Yugoslavia", "Philippines"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republic of the Congo"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "53.608 year", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["nominal GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Republic of the Congo\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> \"53.608\"^^xsd:double . } UNION { ?e <pred:name> \"Philippines\" . } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Philippines"}, {"question": "What is the relationship between San Joaquin County and Alameda County?", "choices": ["field of this occupation", "this taxon is source of", "studied by", "follows", "shares border with", "properties for this type", "educated at", "chief executive officer", "archives at", "heritage designation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Joaquin County"]}, {"function": "Find", "dependencies": [], "inputs": ["Alameda County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"San Joaquin County\" . ?e_2 <pred:name> \"Alameda County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What language is associated with the official website http://devils.nhl.com for the New Jersey Devils?", "choices": ["Bavarian", "Hungarian", "Belgian French", "Slovak", "Esperanto", "Finnish", "Classical Latin", "Irish", "English", "O'odham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Jersey Devils"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://devils.nhl.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"New Jersey Devils\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://devils.nhl.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Where is the film titled Precious published on its 2010-03-25 publication date?", "choices": ["Germany", "2003 Cannes Film Festival", "Berlin", "Sorrento", "Czech Republic", "Lebanon", "2005 Cannes Film Festival", "R\u00e4ttvik", "Finland", "Austria"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Precious"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-03-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Precious\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-03-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which place has fewer people, London Borough of Hackney or County Antrim?", "choices": ["Cass County", "Delaware County", "Greene County", "San Juan County", "London Borough of Hackney", "County Antrim", "Lee County", "Washoe County", "Kent County", "African Union"], "program": [{"function": "Find", "dependencies": [], "inputs": ["London Borough of Hackney"]}, {"function": "Find", "dependencies": [], "inputs": ["County Antrim"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"London Borough of Hackney\" .  } UNION { ?e <pred:name> \"County Antrim\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "London Borough of Hackney"}, {"question": "Which movie is longer, Dressed to Kill (the one whose publication date is 1946-01-01) or Unknown (the one that is shot in Germany)?", "choices": ["A Prairie Home Companion", "Unknown", "The Fifth Element", "Talk to Her", "The Hunchback of Notre Dame", "Training Day", "Dressed to Kill", "The Towering Inferno", "Curse of the Golden Flower", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dressed to Kill"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1946-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [2], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Unknown"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dressed to Kill\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1946-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Unknown\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Germany\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Unknown"}, {"question": "Does ISNI 0000 0001 1478 5978 match to the person who directed Wild Wild West ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wild Wild West"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1478 5978"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Wild Wild West\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1478 5978\" .  }", "answer": "yes"}, {"question": "When was the National Film Registry award given to the black-and-white version of Flash Gordon ?", "choices": ["1995-12-01", "1898", "2009-06-01", "1975-04-08", "1940-04-01", "1957-03-27", "2018-02-23", "2010-12-01", "1996-01-01", "1000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flash Gordon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Flash Gordon\" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> \"black-and-white\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1996-01-01"}, {"question": "What is the Instagram username of the person whose ISNI is 0000 0001 2127 8173?", "choices": ["crawley_town_fc", "emilyosment", "officialafcb", "comunedibergamo", "burnleyofficial", "raiders", "jason_mraz", "england", "juliannemoore", "billyidolhq"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2127 8173"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2127 8173\" . ?e <Instagram_username> ?pv .  }", "answer": "billyidolhq"}, {"question": "Which person with Munzinger IBA 00000028462 is designated by ISNI number 0000 0001 1437 8061?", "choices": ["Sylvester Stallone", "Richard Gere", "Paul Simon", "Simon Cowell", "William Henry Harrison", "David Byrne", "Rahul Dev Burman", "Max Fleischer", "Aaron Sorkin", "Babyface"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000028462"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1437 8061"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000028462\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1437 8061\" .  }", "answer": "Aaron Sorkin"}, {"question": "Which person received the Cannes Film Festival Award for Best Actor (the award-winning work of this statement is Inglourious Basterds) and received the Broadcast Film Critics Association Awards 2009?", "choices": ["David Byrne", "Sylvester Stallone", "William Henry Harrison", "Brad Pitt", "James E. Reilly", "Max Fleischer", "Richard Gere", "Christoph Waltz", "Simon Cowell", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Inglourious Basterds"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Awards 2009"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Cannes Film Festival Award for Best Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Inglourious Basterds\" . ?e <award_received> ?e_2 . ?e_2 <pred:name> \"Broadcast Film Critics Association Awards 2009\" .  }", "answer": "Christoph Waltz"}, {"question": "What is the connection between Catch-22 (the one whose genre is film based on literature) to Bob Newhart?", "choices": ["movement", "draft pick from school", "coextensive with", "field of work", "registered with", "copyright holder", "cast member", "appointed by", "main subject", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catch-22"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bob Newhart"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Catch-22\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"film based on literature\" . ?e_2 <pred:name> \"Bob Newhart\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which movie is shorter, A Clockwork Orange (the one whose release region is Germany) or Twilight (the one that has Stockard Channing as a cast member)?", "choices": ["Pleasantville", "A Clockwork Orange", "Rebecca", "The Fifth Element", "The Towering Inferno", "Curse of the Golden Flower", "A Prairie Home Companion", "Training Day", "Twilight", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Clockwork Orange"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Stockard Channing"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twilight"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Clockwork Orange\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Germany\" .   } UNION { ?e <pred:name> \"Twilight\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Stockard Channing\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Twilight"}, {"question": "What is the nickname o Tony Richarson (born in 1928-06-05)?", "choices": ["Buck", "The Iron", "\u039b\u03b5\u03c0\u03c1\u03bf\u03af", "\u03a4\u03bf \u03a0\u03b5\u03b9\u03c1\u03b1\u03c4\u03b9\u03ba\u03cc", "Dennis the Menace", "\u65e9\u5927", "\u6587\u5316\u9996\u90fd", "Magic", "Tony", "Country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Richardson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1928-06-05", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["nickname"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tony Richardson\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1928-06-05\"^^xsd:date . ?e <nickname> ?pv .  }", "answer": "Tony"}, {"question": "Tell me the inception time of the record label that is in the black metal genre.", "choices": ["1917-01-01", "2007-12-13", "1870-07-20", "1530", "1763", "1827-03-15", "1903-06-12", "1993-01-01", "1921-07-16", "1693-03-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black metal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"black metal\" .  ?e <inception> ?pv .  }", "answer": "1993-01-01"}, {"question": "How many subscribers does the user, the media franchise that is a notable work of Akira Toriyama, have for its subreddit of dbz?", "choices": ["2951900", "1983", "5249066", "1891", "40141", "477488", "37", "86042", "4490177", "163490"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akira Toriyama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "dbz", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Akira Toriyama\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"dbz\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "163490"}, {"question": "How is Kelly Clarkson related to Nashville (the one that contains Fisk University) ?", "choices": ["derivative work", "distributor", "eye color", "draft pick from school", "architect", "has cause", "symptom of", "located on astronomical location", "residence", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kelly Clarkson"]}, {"function": "Find", "dependencies": [], "inputs": ["Fisk University"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nashville"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kelly Clarkson\" . ?e_2 <pred:name> \"Nashville\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Fisk University\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "Which visual artwork set in Montana that borders British Columbia was released on 1950-01-01?", "choices": ["Pleasantville", "All the King's Men", "Cyrano de Bergerac", "Cheaper by the Dozen", "A Prairie Home Companion", "The Killer Inside Me", "Rebecca", "Montana", "Star Trek: First Contact", "The Patriot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Columbia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Montana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [6], "inputs": ["publication date", "1950-01-01", "="]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Montana\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"British Columbia\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1950-01-01\"^^xsd:date .  }", "answer": "Montana"}, {"question": "Where is Alien (Sigourney Weaver in the cast), published on its 1979-11-02 publication date?", "choices": ["Chile", "Canada", "Singapore", "Sweden", "Romania", "Malaysia", "Berlin International Film Festival", "Quebec", "Denmark", "John F. Kennedy Center for the Performing Arts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sigourney Weaver"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alien"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1979-11-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Alien\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sigourney Weaver\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1979-11-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "Did William Kiernan die in 2016?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Kiernan"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2016", "="]}], "sparql": "ASK { ?e <pred:name> \"William Kiernan\" . ?e <date_of_death> ?pv . ?pv <pred:year> 2016 .  }", "answer": "no"}, {"question": "Was the founding year not 1630 for the university in Santa Barbara, where Ray Moyer was born?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Moyer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Barbara"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1630", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Santa Barbara\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Ray Moyer\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1630 ) .  }", "answer": "yes"}, {"question": "Team member Ricardo Fuller belonged to Oldham Athletic A.F.C until which date?", "choices": ["2016-01-01", "1914", "1940-05-10", "2003-09-03", "1890", "1991-04-08", "2010-03-01", "1943-01-01", "2015-08-29", "1850-07-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ricardo Fuller"]}, {"function": "Find", "dependencies": [], "inputs": ["Oldham Athletic A.F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ricardo Fuller\" . ?e_2 <pred:name> \"Oldham Athletic A.F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "How many counties of Wisconsin are there whose population is not the same as 7,500 or that are located in Eastern Time Zone ?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7500", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Wisconsin"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Wisconsin"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Wisconsin\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"7500\"^^xsd:double ) .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern Time Zone\" .  } }", "answer": "15"}, {"question": "Which costed more, Insidious (the one whose release region is New Zealand) or Little Shop of Horrors?", "choices": ["A Prairie Home Companion", "Talk to Her", "Training Day", "Insidious", "The Towering Inferno", "The Fifth Element", "Little Shop of Horrors", "Rebecca", "Pleasantville", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Zealand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Insidious"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Little Shop of Horrors"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Insidious\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"New Zealand\" .   } UNION { ?e <pred:name> \"Little Shop of Horrors\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Little Shop of Horrors"}, {"question": "The movie assigned exploitation visa number 133305 since 2012-05-03 was published in which location on 2012-05-17?", "choices": ["West Germany", "Ireland", "Davao City", "Venice Film Festival", "Germany", "Stockholm", "Serbia", "Argentina", "2008 Toronto International Film Festival", "Finland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "133305"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2012-05-03", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2012-05-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"133305\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> \"2012-05-03\"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-05-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Of Italian provinces belonging to the country of Italy, which occupies the least area?", "choices": ["Province of Como", "Province of Palermo", "South Tyrol", "Province of Salerno", "Province of Naples", "province of Milan", "Trentino", "Province of Rome", "Province of Potenza", "Province of Cuneo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Italy\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Province of Naples"}, {"question": "For the person whose pseudonym is \u0424. \u0414., did their work period end in 1910, or not?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "\u0424. \u0414."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (end)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1910", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> \"\u0424. \u0414.\" . ?e <work_period_(end)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1910 ) .  }", "answer": "yes"}, {"question": "http://www.unstoppablemovie.com is the official website of which film?", "choices": ["Pleasantville", "Nicholas and Alexandra", "A Prairie Home Companion", "She Hate Me", "Unstoppable", "Rebecca", "Talk to Her", "Battleship", "Little Women", "The Sessions"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.unstoppablemovie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.unstoppablemovie.com\" .  }", "answer": "Unstoppable"}, {"question": "Does Georgetown or Leipzig have the lower elevation above sea level?", "choices": ["Chihuahua", "Abidjan", "Dundee", "Kingston", "Santo Domingo", "Cork", "Trieste", "Leipzig", "Kilkenny", "Georgetown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgetown"]}, {"function": "Find", "dependencies": [], "inputs": ["Leipzig"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Georgetown\" .  } UNION { ?e <pred:name> \"Leipzig\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Georgetown"}, {"question": "Which area is larger, Gelderland or Drenthe?", "choices": ["Gelderland", "Friesland", "North Brabant", "Zeeland", "Limburg", "Groningen", "Utrecht", "Overijssel", "Drenthe", "South Holland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gelderland"]}, {"function": "Find", "dependencies": [], "inputs": ["Drenthe"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gelderland\" .  } UNION { ?e <pred:name> \"Drenthe\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gelderland"}, {"question": "Of counties in Texas, setting of The Last Picture Show, which occupies the least area?", "choices": ["Cameron County", "Travis County", "Dallas County", "Johnson County", "Denton County", "Jefferson County", "Fort Bend County", "Hidalgo County", "Tarrant County", "McLennan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Picture Show"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Texas\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"The Last Picture Show\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Johnson County"}, {"question": "What point in time did the city that is the capital of Rio Grande do Sul have a population of 1476867?", "choices": ["1846-12-03", "2018-04-13", "2009-05-06", "1969-04-14", "1995-12-19", "2008-02-13", "2015-07-01", "2002-04-17", "1999-02-24", "2012-09-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rio Grande do Sul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1476867", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Rio Grande do Sul\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1476867\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-07-01"}, {"question": "Did the Roman Republic established on 1798-02-15 dissolve earlier than 1988 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roman Republic"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1798-02-15", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1988", "<"]}], "sparql": "ASK { ?e <pred:name> \"Roman Republic\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1798-02-15\"^^xsd:date . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  }", "answer": "yes"}, {"question": "Ingrid Bergman won an Academy Award for Best Supporting Actress for which work?", "choices": ["Glory", "Murder on the Orient Express", "Avatar: Music from the Motion Picture", "American Playhouse", "Blank Space", "Top Hat", "Behind the Candelabra", "A Woman of Substance", "I Am... Sasha Fierce", "...And Justice for All"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Ingrid Bergman"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_2 <pred:name> \"Ingrid Bergman\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Murder on the Orient Express"}, {"question": "Which one has more elevation above sea level among the human settlements that shares border with Verona (the one that shares border with Montclair)?", "choices": ["North Hollywood", "Montclair", "Wexford", "West Orange", "Livingston", "Verona", "Belleville", "Whanganui", "Princeton", "Ridgewood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montclair"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Verona"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Verona\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Montclair\" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "West Orange"}, {"question": "Does Hercules, released 1958-01-01, clock in at 3.2 years ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1958-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["3.2 year", "="]}], "sparql": "ASK { ?e <pred:name> \"Hercules\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1958-01-01\"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"3.2\"^^xsd:double .  }", "answer": "no"}, {"question": "Does Alachua County or Lake County, a Florida admin division, occupy the larger space?", "choices": ["Lake County", "Polk County", "Alachua County", "Orange County", "Hillsborough County", "Putnam County", "Monroe County", "Marion County", "Broward County", "Citrus County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alachua County"]}, {"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lake County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alachua County\" .  } UNION { ?e <pred:name> \"Lake County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Florida\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lake County"}, {"question": "How many MTV Video Music Awards were either won by the Rolling Stones or associated with the official website http://www.mtv.com/ontv/vma/ ?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.mtv.com/ontv/vma/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Video Music Award"]}, {"function": "Find", "dependencies": [], "inputs": ["The Rolling Stones"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Video Music Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mtv.com/ontv/vma/\" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> \"The Rolling Stones\" .  } }", "answer": "13"}, {"question": "For the Washington county with the official website of http://www.co.grant.wa.us (the language of this statement is English), what is the time point for its population of 91878?", "choices": ["2016-11-30", "1823", "2009-06-25", "1811", "1533-01-01", "1926", "2015-07-09", "2013-07-01", "2015-12-03", "1981"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.grant.wa.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Washington"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "91878", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.grant.wa.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"91878\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "Is 0000 0000 5471 4149 the ISNI for Greg Kinnear?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greg Kinnear"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 5471 4149"]}], "sparql": "ASK { ?e <pred:name> \"Greg Kinnear\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5471 4149\" .  }", "answer": "no"}, {"question": "Did the legislative term begun in 1995 close out later than 1985 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1995", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1985", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 1995 . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1985 ) .  }", "answer": "yes"}, {"question": "What is the Dewey Decimal Classification of the capital whose WOEID is 96110?", "choices": ["808.82523", "2--4346262", "2--6883", "394.2663", "2--664", "2--729452", "2--6711", "2--44272", "2--79421", "2--431848"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "96110"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"96110\" . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--729452"}, {"question": "When did Adolph Deutsch die?", "choices": ["1994-04-22", "1999-11-03", "1978-10-28", "1980-01-01", "2018-04-01", "1978-08-28", "1996-02-02", "2012-12-11", "1945-07-17", "2012-02-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adolph Deutsch"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Adolph Deutsch\" . ?e <date_of_death> ?pv .  }", "answer": "1980-01-01"}, {"question": "Who has fewer children, Kid Cudi or Angelina Jolie?", "choices": ["James E. Reilly", "Kid Cudi", "William Henry Harrison", "Angelina Jolie", "Simon Cowell", "Paul Simon", "Richard Gere", "David Byrne", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kid Cudi"]}, {"function": "Find", "dependencies": [], "inputs": ["Angelina Jolie"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kid Cudi\" .  } UNION { ?e <pred:name> \"Angelina Jolie\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kid Cudi"}, {"question": "What is the relationship between psychedelic rock and Grateful Dead?", "choices": ["feast day", "item operated", "has immediate cause", "famous people", "organisation directed from the office or person", "replaces", "family", "opposite of", "mascot", "followed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["psychedelic rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Grateful Dead"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"psychedelic rock\" . ?e_2 <pred:name> \"Grateful Dead\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What organization is a CBS Corporation subsidiary?", "choices": ["UTV", "CBS Records", "CBS Radio", "Bath Iron Works", "Republic Pictures", "Hamas", "CBS News", "Canadian Armed Forces", "UPN", "The CW"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS Corporation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["subsidiary", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <subsidiary> ?e . ?e_1 <pred:name> \"CBS Corporation\" .   }", "answer": "CBS Radio"}, {"question": "What is the relationship between Kid Cudi and neo-psychedelia?", "choices": ["fabrication method", "participant of", "genre", "next lower rank", "time period", "depicted by", "partially contains", "operating area", "educated at", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kid Cudi"]}, {"function": "Find", "dependencies": [], "inputs": ["neo-psychedelia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kid Cudi\" . ?e_2 <pred:name> \"neo-psychedelia\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many historical countries have a dissolution date, not in 1974 or claim Bahamas' (has a diplomatic relationship with the People's Republic of China), territory?", "choices": ["22", "23", "24", "25", "26", "27", "28", "29", "30", "31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1974", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Relate", "dependencies": [3], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bahamas"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["territory claimed by", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["historical country"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" .  { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1974 ) .  } UNION { ?e <territory_claimed_by> ?e_1 . ?e_1 <pred:name> \"Bahamas\" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> \"People's Republic of China\" .  } }", "answer": "27"}, {"question": "Which occupies the least area of the countries with other than 6700 inhabitants?", "choices": ["Faroe Islands", "PFC Levski Sofia", "Logan International Airport", "Netherlands", "Scotland", "Wales", "Cook Islands", "Katowice", "Guardian Children's Fiction Prize", "Greenland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6700", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["country"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6700\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cook Islands"}, {"question": "How many comunes of Italy are there whose population is not 920000 or area is 2200000 square feet?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "920000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comune of Italy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["area", "2200000 square foot", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["comune of Italy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"920000\"^^xsd:double ) .  } UNION { ?e <area> ?pv . ?pv <pred:unit> \"square foot\" . ?pv <pred:value> \"2200000\"^^xsd:double .  } }", "answer": "5"}, {"question": "What is Hungarian's IAB code?", "choices": ["491", "1233", "1187", "334", "492", "121", "337", "1277", "1092", "1080"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungarian"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IAB code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Hungarian\" . ?e <IAB_code> ?pv .  }", "answer": "1092"}, {"question": "Was the population of Uppsala other than 770000 in 1970-11-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Uppsala"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "1970-11-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["770000", "!="]}], "sparql": "ASK { ?e <pred:name> \"Uppsala\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"770000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"1970-11-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "By which name is the ISNI 0000 0001 2129 6240 recorded in a database or mentioned as a contributor of a work for Hermann Hesse?", "choices": ["MORODER GIORGIO G", "AMOS M ELLEN", "Sinclair, Emil", "Holiday, Billie", "Fagan, Eleonora", "Hesse, Hermann", "General Electric Company", "Geffen Records", "LERNER ALAN JAY", "WILSON BRIAN"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hermann Hesse"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2129 6240", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hermann Hesse\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2129 6240\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISNI> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "Hesse, Hermann"}, {"question": "Which unitary state that is led by a monarch has the smallest land area?", "choices": ["Kazakhstan", "Lithuania", "Luxembourg", "Fiji", "Monaco", "Kosovo", "Finland", "Sweden", "Tajikistan", "Cuba"], "program": [{"function": "Find", "dependencies": [], "inputs": ["monarch"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"monarch\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monaco"}, {"question": "Which movie is shorter, Take Shelter (the one whose release region is Japan) or Bram Stoker's Dracula (the one whose duration is 100 minute)?", "choices": ["The Challenge", "All Quiet on the Western Front", "Bram Stoker's Dracula", "Shackleton", "Take Shelter", "A Streetcar Named Desire", "The Late Shift", "A Christmas Carol", "The Music Man", "The Three Musketeers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Take Shelter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bram Stoker's Dracula"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["duration", "100 minute", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Take Shelter\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Japan\" . } UNION { ?e <pred:name> \"Bram Stoker's Dracula\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"100\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bram Stoker's Dracula"}, {"question": "Which person's official website is http://www.seanonolennon.com/?", "choices": ["Alan Parker", "William Henry Harrison", "Max Fleischer", "Lupe Fiasco", "Sean Lennon", "David Copperfield", "Mona Marshall", "Clarence Brown", "Richard Gere", "Doris Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.seanonolennon.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.seanonolennon.com/\" .  }", "answer": "Sean Lennon"}, {"question": "Where was the film based on Contact authored by Carl Sagan published on 1997-07-11?", "choices": ["Indonesia", "Grauman's Chinese Theatre", "Sorrento", "North America", "Montreal World Film Festival", "Estonia", "Cannes", "1949 Cannes Film Festival", "United States of America", "Northern America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carl Sagan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["author", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Contact"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "1997-07-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Contact\" . ?e_1 <author> ?e_2 . ?e_2 <pred:name> \"Carl Sagan\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1997-07-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the Snapchat username of Rosenborg BK?", "choices": ["nextjenneration", "tomscottgo", "juventus", "livelybk", "thenytimes", "rosenborgbk", "therock", "ffksnap", "henrychurches", "girlshbo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rosenborg BK"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Snapchat username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rosenborg BK\" . ?e <Snapchat_username> ?pv .  }", "answer": "rosenborgbk"}, {"question": "Does Jennifer Aniston or Jennifer Lawrence have greater net worth?", "choices": ["Richard Gere", "Simon Cowell", "David Byrne", "Sylvester Stallone", "Max Fleischer", "Jennifer Aniston", "Jennifer Lawrence", "Paul Simon", "William Henry Harrison", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jennifer Aniston"]}, {"function": "Find", "dependencies": [], "inputs": ["Jennifer Lawrence"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jennifer Aniston\" .  } UNION { ?e <pred:name> \"Jennifer Lawrence\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jennifer Aniston"}, {"question": "How is hardcore hip hop related to Nicki Minaj?", "choices": ["performer", "contains administrative territorial entity", "lyrics by", "notable people with this condition", "famous people", "has quality", "start point", "lowest point", "sports season of league or competition", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hardcore hip hop"]}, {"function": "Find", "dependencies": [], "inputs": ["Nicki Minaj"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"hardcore hip hop\" . ?e_2 <pred:name> \"Nicki Minaj\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which weighs more, palmitoleic acid or L-Tyrosine?", "choices": ["palmitic acid", "L-Arginine", "L-Tyrosine", "thiamine ion", "L-Leucine", "capric acid", "sucrose", "palmitoleic acid", "L-alanine", "cis-oleic acid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["palmitoleic acid"]}, {"function": "Find", "dependencies": [], "inputs": ["L-Tyrosine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"palmitoleic acid\" .  } UNION { ?e <pred:name> \"L-Tyrosine\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "palmitoleic acid"}, {"question": "How many astronomicals object types contain a nebula or are a part of Solar System ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["nebula"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["astronomical object type"]}, {"function": "Find", "dependencies": [], "inputs": ["Solar System"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["astronomical object type"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"astronomical object type\" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> \"nebula\" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Solar System\" .  } }", "answer": "2"}, {"question": "What administrative territorial entity is the birthplace of the person whose CANTIC-ID is a10360311?", "choices": ["Argyll and Bute", "African Union", "The Bronx", "London Borough of Camden", "Fife", "Washoe County", "Antwerp", "County Tyrone", "Queens", "Norristown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10360311"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a10360311\" .   }", "answer": "The Bronx"}, {"question": "How many states are tere with over 610 percent of inflation ?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "610 percentage", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v > \"610\"^^xsd:double ) .  }", "answer": "5"}, {"question": "What person performed as the film character known as Dr. Merkw\u00fcrdigliebe?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Basil Rathbone", "James Hong", "Peter Sellers", "Matt Frewer", "Max Fleischer", "Dean Martin", "Richard Gere", "Tommy Lee Jones"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Dr. Merkw\u00fcrdigliebe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film character"]}, {"function": "Relate", "dependencies": [2], "inputs": ["performer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <performer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film character\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"Dr. Merkw\u00fcrdigliebe\" .   }", "answer": "Peter Sellers"}, {"question": "Frank Gehry's Toronto birthplace is in which administrative territorial entity?", "choices": ["Cape Colony", "Ontario", "sanjak of the Ottoman Empire", "Louisiana", "Los Angeles", "Pennsylvania", "Ohio", "Georgian Soviet Socialist Republic", "Maryland", "Rhine Province"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Gehry"]}, {"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Frank Gehry\" . ?e_2 <pred:name> \"Toronto\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Ontario"}, {"question": "Is bill_fichtner the Twitter username of the person with ISNI 0000 0000 8161 1372?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8161 1372"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["bill_fichtner"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8161 1372\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"bill_fichtner\" .  }", "answer": "yes"}, {"question": "What does Julie Benz have to do with Tisch School of the Arts?", "choices": ["nutrient", "this taxon is source of", "separated from", "registered with", "position held", "member of political party", "educated at", "game mode", "discoverer or inventor", "captain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julie Benz"]}, {"function": "Find", "dependencies": [], "inputs": ["Tisch School of the Arts"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Julie Benz\" . ?e_2 <pred:name> \"Tisch School of the Arts\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Is http://www.santosfc.com.br/ the official website of a TV station headquartered in Silver Spring, One Discovery Place ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Silver Spring"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["located at street address", "One Discovery Place"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television station"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.santosfc.com.br/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Silver Spring\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address> ?qpv . ?qpv <pred:value> \"One Discovery Place\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.santosfc.com.br/\" .  }", "answer": "no"}, {"question": "How many counties of Michigan border Washtenaw County or Saginaw County ?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washtenaw County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Saginaw County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Michigan"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Washtenaw County\" .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Saginaw County\" .  } }", "answer": "7"}, {"question": "What is the title of Sikkim (published on 1971-01-01)?", "choices": ["The Chronicles of Narnia: Prince Caspian", "Cagney & Lacey   hello Daisy cloud 31", "Wonder Boys", "Sikkim", "The Commitments", "The Kite Runner", "Blazing Saddles", "Genesis", "Tango & Cash", "Parks and Recreation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sikkim"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1971-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Sikkim\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1971-01-01\"^^xsd:date . ?e <title> ?pv .  }", "answer": "Sikkim"}, {"question": "Which area has higher elevation above sea level, Ravenna or Markham?", "choices": ["Abidjan", "Ravenna", "Bergen", "Santo Domingo", "Markham", "Trieste", "Dundee", "Cork", "Chihuahua", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ravenna"]}, {"function": "Find", "dependencies": [], "inputs": ["Markham"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ravenna\" .  } UNION { ?e <pred:name> \"Markham\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Markham"}, {"question": "Does Binghamton or Utica have the larger population?", "choices": ["Troy", "Auburn", "Binghamton", "Utica", "Yonkers", "Glen Cove", "Glens Falls", "Syracuse", "White Plains", "Elmira"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Binghamton"]}, {"function": "Find", "dependencies": [], "inputs": ["Utica"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Binghamton\" .  } UNION { ?e <pred:name> \"Utica\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Utica"}, {"question": "Is the movie from Lithuania titled Julia?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Julia"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Lithuania\" .  ?e <title> ?pv . ?pv <pred:value> \"Julia\" .  }", "answer": "yes"}, {"question": "Which one has more seasons, Working Girl (which ended on 1990-08-27) or Savannah (which was originally aired on the WB)", "choices": ["Seinfeld", "Six Feet Under", "Working Girl", "Dancing with the Stars", "Saturday Night's Main Event", "Phineas and Ferb", "Robot Chicken", "Game of Thrones", "Savannah", "Bleak House"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Working Girl"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1990-08-27", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The WB"]}, {"function": "Relate", "dependencies": [2], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Savannah"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Working Girl\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1990-08-27\"^^xsd:date . } UNION { ?e <pred:name> \"Savannah\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"The WB\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Savannah"}, {"question": "Which movie is shorter, Real Steel or Taxi (the one that has Ann-Margret as a cast member)?", "choices": ["Real Steel", "A Prairie Home Companion", "The Fifth Element", "Rebecca", "Curse of the Golden Flower", "Training Day", "The Towering Inferno", "Pleasantville", "The Hunchback of Notre Dame", "Taxi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Real Steel"]}, {"function": "Find", "dependencies": [], "inputs": ["Ann-Margret"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taxi"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Real Steel\" .  } UNION { ?e <pred:name> \"Taxi\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ann-Margret\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Taxi"}, {"question": "How is Billy Idol linked to the USA?", "choices": ["founded by", "destination point", "country of citizenship", "heritage designation", "work location", "officially opened by", "said to be the same as", "had as last meal", "film crew member", "architect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Idol"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billy Idol\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which has the shortest length among the islands whose length is more than 170 kilometres?", "choices": ["Crete", "Puerto Rico", "Cuba", "Honshu", "Tasmania", "Ireland", "Long Island", "Cyprus", "Trinidad", "Vancouver Island"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["length", "170 kilometre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["length", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <length> ?pv_1 . ?pv_1 <pred:unit> \"kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"170\"^^xsd:double ) . ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Long Island"}, {"question": "Is Kay Cannon born before 1905 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kay Cannon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1905", "<"]}], "sparql": "ASK { ?e <pred:name> \"Kay Cannon\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1905 ) .  }", "answer": "no"}, {"question": "Which genre of music is famously associated with The Doors, of the official website www.thedoors.com?", "choices": ["protopunk", "post-punk revival", "symphony", "hard rock", "jazz fusion", "experimental rock", "rapcore", "contemporary classical music", "modern rock", "Mandopop"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Doors"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thedoors.com"]}, {"function": "Relate", "dependencies": [1], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["music genre"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"The Doors\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.thedoors.com\" .   }", "answer": "protopunk"}, {"question": "Is 1186 the IAB code of Tamil?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tamil"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IAB code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["1186"]}], "sparql": "ASK { ?e <pred:name> \"Tamil\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"1186\" .  }", "answer": "yes"}, {"question": "What is the ARCHON code of Dalhousie University?", "choices": ["1308", "310", "1351", "277", "730", "725", "1514", "651", "1187", "946"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dalhousie University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ARCHON code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dalhousie University\" . ?e <ARCHON_code> ?pv .  }", "answer": "946"}, {"question": "What is the relation of Mighty Joe Young (that has Bill Paxton as a cast member) to Naveen Andrews?", "choices": ["worshipped by", "candidacy in election", "place of burial", "has effect", "cast member", "continent", "geography of topic", "does not have part", "grants", "operating area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Paxton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mighty Joe Young"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Naveen Andrews"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mighty Joe Young\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Bill Paxton\" . ?e_2 <pred:name> \"Naveen Andrews\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which ISNI identifies the person employed by Leipzig University?", "choices": ["0000 0001 1443 7893", "0000 0001 2148 4663", "0000 0001 0859 8447", "0000 0000 9428 6708", "0000 0001 2102 7489", "0000 0000 7882 0827", "0000 0000 7840 599X", "0000 0004 0419 8317", "0000 0000 9677 334X", "0000 0000 8140 0882"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leipzig University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"Leipzig University\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 0859 8447"}, {"question": "What work was produced by the person with  the Munzinger IBA of 00000020770?", "choices": ["28 Days Later", "Seeking a Friend for the End of the World", "The Alamo", "Hellboy II: The Golden Army", "The Fast and the Furious", "Pleasantville", "The Pianist", "From Dusk till Dawn", "Flags of Our Fathers", "Bedazzled"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020770"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000020770\" .   }", "answer": "Bedazzled"}, {"question": "Is The School House the street address of the private university where Alicia Keys studied?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alicia Keys"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["The School House"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"private university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Alicia Keys\" .  ?e <located_at_street_address> ?pv . ?pv <pred:value> \"The School House\" .  }", "answer": "no"}, {"question": "How was it determined that the Jamaica national football team was ranked 92?", "choices": ["Canada 2016 Census", "UIS estimation", "rated voltage", "census", "estimation process", "United States Census", "FIFA World Rankings", "Population registration in Sweden", "extrapolation", "2010 United States Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jamaica national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "92", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jamaica national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"92\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "Does the individual of Deutsche Synchronkartei actor-ID code 3831 also match with ISNI number 0000 0000 7823 7754?", "choices": ["Simon Cowell", "Lindsay Crouse", "William Henry Harrison", "Max Fleischer", "Sylvester Stallone", "James E. Reilly", "Babyface", "Richard Gere", "David Byrne", "Rahul Dev Burman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "3831"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 7823 7754"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"3831\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7823 7754\" .  }", "answer": "Lindsay Crouse"}, {"question": "What political party was established in 1917?", "choices": ["Pulitzer Prize for Biography or Autobiography", "First National", "United National Party", "Liberal Party of Canada", "Manhattan School of Music", "Russian Soviet Federative Socialist Republic", "Labour Party", "Nationalist Party of Australia", "Progressive Conservative Party of Canada", "New Zealand Labour Party"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1917", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <inception> ?pv . ?pv <pred:year> 1917 .  }", "answer": "Nationalist Party of Australia"}, {"question": "What studio album uses the person with the Twitter name of Neilyoung (having 446683 subscribers) as a performer?", "choices": ["The Believer", "Metallica", "Bedtime Stories", "Illinois", "Philadelphia", "Friends", "Alabama", "Pocahontas", "Led Zeppelin", "Neil Young"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Neilyoung"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "446683", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["studio album"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"studio album\" . ?e <performer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"Neilyoung\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"446683\"^^xsd:double .   }", "answer": "Neil Young"}, {"question": "Which filmmaking occupation whose ISCO occupation code is 2455 and is Brad Pitt's professions?", "choices": ["film director", "film producer", "West Side Story", "executive producer", "animation director", "\u03b3-tocopherol", "Happy Feet", "County Donegal", "Rory Gallagher", "costume designer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISCO occupation code", "2455"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["filmmaking occupation"]}, {"function": "Find", "dependencies": [], "inputs": ["Brad Pitt"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["filmmaking occupation"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"filmmaking occupation\" . ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> \"2455\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Brad Pitt\" .  }", "answer": "film director"}, {"question": "Was the person nominated for Academy Award for Best Supporting Actor (the award-winning work of this statement is The Green Mile) born before 1932?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Green Mile"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1932", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Green Mile\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1932 ) .  }", "answer": "no"}, {"question": "What language is associated with the organization that is the publisher of Happy Feet (whose game mode is multiplayer video game) and has the official website http://www.midway.com/", "choices": ["Slovene", "Indian English", "Austrian German", "Basque", "English", "Danish", "Norwegian", "Brazilian Portuguese", "Eastern Armenian", "Croatian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Happy Feet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["publisher", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://www.midway.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <publisher> ?e . ?e_1 <pred:name> \"Happy Feet\" . ?e_1 <game_mode> ?e_2 . ?e_2 <pred:name> \"multiplayer video game\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.midway.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "For the national-association football team, whose Twitter username is miseleccionmx, what is the time point for its ranking of 33?", "choices": ["2012-01-12", "1961-06-22", "2003-10-22", "2009-07-01", "1836-03-03", "2004-07-07", "1997-03-24", "1981-03-31", "2000-10-11", "1819"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "miseleccionmx"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "33", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"miseleccionmx\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"33\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2009-07-01"}, {"question": "Did the movie titled The Godfather Part II cost 13000000 United States dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Godfather Part II"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["13000000 United States dollar", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Godfather Part II\" . ?e <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"13000000\"^^xsd:double .  }", "answer": "yes"}, {"question": "Is date of birth of Robert Wyatt before 1958?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Wyatt"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1958", "<"]}], "sparql": "ASK { ?e <pred:name> \"Robert Wyatt\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1958 ) .  }", "answer": "yes"}, {"question": "tell me the amount of points in the match Ricardo Fuller is a member of Southampton FC.", "choices": ["2", "38", "54", "30", "41", "63", "9", "83", "28", "7"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ricardo Fuller"]}, {"function": "Find", "dependencies": [], "inputs": ["Southampton F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ricardo Fuller\" . ?e_2 <pred:name> \"Southampton F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "9"}, {"question": "Of all independent German cities with a population count other than 66000, which has the highest elevation?", "choices": ["Oxnard", "Georg Wilhelm Friedrich Hegel", "Bayreuth", "Coburg", "Baden-Baden", "Weimar", "Max Fleischer", "Frankfurt (Oder)", "Cairo University", "Elektra"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "66000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"66000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "Michael Ironside is a script writer for how many industries?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Ironside"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Michael Ironside\" .   }", "answer": "0"}, {"question": "What is the association between Roger Moore (whose birth name is Roger Addison Moore) and Doctor of Medicine?", "choices": ["license", "movement", "noble title", "distribution", "twinned administrative body", "killed by", "original film format", "child astronomical body", "academic degree", "feast day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roger Moore"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Roger Addison Moore"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor of Medicine"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Roger Moore\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Roger Addison Moore\" . ?e_2 <pred:name> \"Doctor of Medicine\" . ?e_1 ?p ?e_2 .  }", "answer": "academic degree"}, {"question": "Which one has less population, Saxony (the one whose country is Germany) or Kabul (the one that uses Pashto as the official language)?", "choices": ["Chiapas", "Punjab", "Greater Poland Voivodeship", "New South Wales", "Lublin Voivodeship", "Kabul", "Minas Gerais", "Upper Austria", "Saxony", "England"], "program": [{"function": "Find", "dependencies": [], "inputs": ["German Democratic Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Saxony"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pashto"]}, {"function": "Relate", "dependencies": [4], "inputs": ["official language", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kabul"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saxony\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"German Democratic Republic\" .   } UNION { ?e <pred:name> \"Kabul\" . ?e <official_language> ?e_2 . ?e_2 <pred:name> \"Pashto\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kabul"}, {"question": "Which movie made more at the box office, The X-Files (the one whose budget is 66000000 United States dollar) or The Lord of the Rings: The Return of the King (the one that was nominated for BAFTA Award for Best Actor in a Supporting Role)?", "choices": ["Talk to Her", "Rebecca", "The Towering Inferno", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Fifth Element", "Training Day", "Pleasantville", "A Prairie Home Companion", "The Lord of the Rings: The Return of the King"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The X-Files"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["budget", "66000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Supporting Role"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Return of the King"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The X-Files\" . ?e <budget> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"66000000\"^^xsd:double . } UNION { ?e <pred:name> \"The Lord of the Rings: The Return of the King\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Supporting Role\" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings: The Return of the King"}, {"question": "What mechanical wave is the genre of Flight of the Conchords (whose category is anti-folk) and has the well-known person Randy Newman?", "choices": ["comedy rock", "funk metal", "post-punk", "neo-progressive rock", "industrial rock", "Skate punk", "soft rock", "Cowpunk", "college rock", "crossover thrash"], "program": [{"function": "Find", "dependencies": [], "inputs": ["anti-folk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight of the Conchords"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mechanical wave"]}, {"function": "Find", "dependencies": [], "inputs": ["Randy Newman"]}, {"function": "Relate", "dependencies": [6], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["mechanical wave"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Flight of the Conchords\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"anti-folk\" .  ?e <famous_people> ?e_3 . ?e_3 <pred:name> \"Randy Newman\" .  }", "answer": "comedy rock"}, {"question": "Is the date of death not in 1973 for the person with ISNI 0000 0000 7357 3353?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7357 3353"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1973", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7357 3353\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1973 ) .  }", "answer": "yes"}, {"question": "Does the French speaking James Monroe or Christina Applegate have more children?", "choices": ["David Byrne", "Christina Applegate", "William Henry Harrison", "James E. Reilly", "Max Fleischer", "Sylvester Stallone", "James Monroe", "Simon Cowell", "Rahul Dev Burman", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Monroe"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Christina Applegate"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James Monroe\" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> \"French\" .   } UNION { ?e <pred:name> \"Christina Applegate\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "James Monroe"}, {"question": "Is Eternal Sunshine of the Spotless Mind the title of Stalag 17 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stalag 17"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Eternal Sunshine of the Spotless Mind"]}], "sparql": "ASK { ?e <pred:name> \"Stalag 17\" . ?e <title> ?pv . ?pv <pred:value> \"Eternal Sunshine of the Spotless Mind\" .  }", "answer": "no"}, {"question": "In which administrative territorial entity is New York City, the death place of Ludwig von Mises, located in?", "choices": ["Ohio", "Wisconsin", "Illinois", "Virginia", "New York", "Rome", "Stockholm County", "Texas", "Ontario", "Al Madinah Region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ludwig von Mises"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of death", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ludwig von Mises\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "New York"}, {"question": "If we know canonical SMILES is CCCCCCCCCCCCCC(=O)O of a particular chemical compound, while we also know that its MCN code is 2915.90.31, can we say what chemical compound is it?", "choices": ["capric acid", "sucrose", "L-Leucine", "L-alanine", "stearic acid", "myristic acid", "L-Arginine", "thiamine ion", "L-Valine", "cis-oleic acid"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["MCN code", "2915.90.31"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["canonical SMILES", "CCCCCCCCCCCCCC(=O)O"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["chemical compound"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <MCN_code> ?pv . ?pv <pred:value> \"2915.90.31\" . ?e <canonical_SMILES> ?pv_1 . ?pv_1 <pred:value> \"CCCCCCCCCCCCCC(=O)O\" .  }", "answer": "myristic acid"}, {"question": "How many action games are the genre of the entertainment whose official website is http://www.harrypotter.ea.com (this statement's language is English)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.harrypotter.ea.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["entertainment"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["action game"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"action game\" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"entertainment\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.harrypotter.ea.com\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "1"}, {"question": "What is the connection between Josh Groban to United States of America?", "choices": ["residence", "home port", "studies", "father", "operating system", "geographic distribution", "next lower rank", "writing system", "country of citizenship", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Josh Groban"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Josh Groban\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How many art there are whose Iconclass notation is 48C61 or whose Library of Congress Classification is PE?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "48C61"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Library of Congress Classification", "PE"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art\" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"48C61\" .  } UNION { ?e <Library_of_Congress_Classification> ?pv . ?pv <pred:value> \"PE\" .  } }", "answer": "2"}, {"question": "Is the official website of Rosie O'Donnell http://www.rosie.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rosie O'Donnell"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.rosie.com"]}], "sparql": "ASK { ?e <pred:name> \"Rosie O'Donnell\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.rosie.com\" .  }", "answer": "yes"}, {"question": "What is the ISNI of an university where Shabana Azmi used to study ?", "choices": ["0000 0001 0881 3493", "0000 0001 0668 0201", "0000 0001 2101 4127", "0000 0001 1497 3899", "0000 0001 2136 7037", "0000 0001 2278 4916", "0000 0001 1850 0730", "0000 0000 3629 1779", "0000 0001 0918 2128", "0000 0000 7141 4172"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shabana Azmi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Shabana Azmi\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 0668 0201"}, {"question": "How was it determiend that the county of Maine whose official website is http://www.co.hancock.me.us (the language of this statement is English) has a population of 54845?", "choices": ["United Kingdom Census 1971", "demographic balance", "estimation process", "register office", "Census", "middle", "Address Based Population Registration System", "Yemen General Census of Population, Housing and Establishments 2004", "1860 United States Census", "United Kingdom Census 2011"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.hancock.me.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Maine"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "54845", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.hancock.me.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"54845\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How is avant-garde metal related to Melvins ?", "choices": ["grants", "properties for this type", "official language", "worshipped by", "religious order", "exclave of", "home port", "famous people", "is a list of", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["avant-garde metal"]}, {"function": "Find", "dependencies": [], "inputs": ["Melvins"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"avant-garde metal\" . ?e_2 <pred:name> \"Melvins\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many public companies have the PermID of 4295877413?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4295877413"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public company"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <PermID> ?pv . ?pv <pred:value> \"4295877413\" .  }", "answer": "1"}, {"question": "Is ICD-10 for a symptom of cholera equal to R?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cholera"]}, {"function": "Relate", "dependencies": [0], "inputs": ["symptoms", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["symptom"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ICD-10"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["R"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"symptom\" . ?e_1 <symptoms> ?e . ?e_1 <pred:name> \"cholera\" .  ?e <ICD-10> ?pv . ?pv <pred:value> \"R\" .  }", "answer": "yes"}, {"question": "Is http://www.tuskegee.edu the official website of the land-grant university that is the educational place of Keenen Ivory Wayans?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Keenen Ivory Wayans"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["land-grant university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.tuskegee.edu"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Keenen Ivory Wayans\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tuskegee.edu\" .  }", "answer": "yes"}, {"question": "What is the association of The Good Wife with Josh Charles?", "choices": ["contributor(s) to the creative work", "named after", "famous people", "cast member", "ancestral home", "location of formation", "eye color", "home port", "distribution", "family name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Good Wife"]}, {"function": "Find", "dependencies": [], "inputs": ["Josh Charles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Good Wife\" . ?e_2 <pred:name> \"Josh Charles\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which area is smaller, Outagamie County or Columbia County (the one whose population is 56653)?", "choices": ["Columbia County", "Waukesha County", "Jefferson County", "Fond du Lac County", "Jackson County", "Pierce County", "Polk County", "Outagamie County", "La Crosse County", "Wood County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Outagamie County"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "56653", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Outagamie County\" . } UNION { ?e <pred:name> \"Columbia County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"56653\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Outagamie County"}, {"question": "Of counties of Alabama that comprise the administrative division of Alabama covering 131,365 square km, which one covers the largest area ?", "choices": ["Mobile County", "Montgomery County", "Shelby County", "Baldwin County", "Jefferson County", "Monroe County", "Dallas County", "Jackson County", "Madison County", "Washington County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "131365 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Alabama\" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"131365\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Baldwin County"}, {"question": "Which administrative territorial entity is Fukuoka's twinned administrative body Atlanta, the birth place of David Cross (who has the religion of atheism)?", "choices": ["Stockholm Municipality", "Wisconsin", "Oregon", "Puerto Rico", "British Columbia", "Utah", "Georgia", "Syria", "Rome", "Archbishopric of Salzburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["atheism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Cross"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Fukuoka"]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlanta"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Cross\" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> \"atheism\" . ?e_2 <pred:name> \"Atlanta\" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> \"Fukuoka\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Georgia"}, {"question": "How many subscribers does the user have for the administrative territorial entity of Canada that shares border with Toronto?", "choices": ["82941", "2762", "7633102", "1071", "2011", "953934", "28317", "1429", "22400", "294183"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "durham", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Toronto\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"durham\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1429"}, {"question": "Is Chesterfield Football Club the official name of Chesterfield F.C.?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chesterfield F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Chesterfield Football Club"]}], "sparql": "ASK { ?e <pred:name> \"Chesterfield F.C.\" . ?e <official_name> ?pv . ?pv <pred:value> \"Chesterfield Football Club\" .  }", "answer": "yes"}, {"question": "Is 2005 not the year of the release of Superman II whose release region is the United Kingdom?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman II"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "United Kingdom"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2005", "!="]}], "sparql": "ASK { ?e <pred:name> \"Superman II\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United Kingdom\" .  }", "answer": "yes"}, {"question": "Which cast member of Dogville has the official website of http://www.nicolekidmanofficial.com/?", "choices": ["John Hurt", "Sylvester Stallone", "Max Fleischer", "Rahul Dev Burman", "Lauren Bacall", "David Byrne", "Nicole Kidman", "James Caan", "William Henry Harrison", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dogville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.nicolekidmanofficial.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Dogville\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nicolekidmanofficial.com/\" .  }", "answer": "Nicole Kidman"}, {"question": "To which part of a sovereign state, which is the county of Genoa, does a demonym 'sardo' apply ?", "choices": ["masculine singular", "common gender", "Calhoun County", "editor's cut", "McNairy County", "renting", "Henry County", "Spanish Sahara", "Sullivan County", "Okaloosa County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Genoa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "sardo", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Genoa\" .  ?e <demonym> ?pv . ?pv <pred:value> \"sardo\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine singular"}, {"question": "The lowest number of students is either Phillips Academy or The Bronx High School of Science", "choices": ["London Academy of Music and Dramatic Art", "National School of Drama", "Royal Military Academy", "National Theatre School of Canada", "Phillips Academy", "Stuyvesant High School", "Fiorello H. LaGuardia High School", "Royal Academy of Dramatic Art", "Lee Strasberg Theatre and Film Institute", "The Bronx High School of Science"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phillips Academy"]}, {"function": "Find", "dependencies": [], "inputs": ["The Bronx High School of Science"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Phillips Academy\" .  } UNION { ?e <pred:name> \"The Bronx High School of Science\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Phillips Academy"}, {"question": "Which has a greater above sea level elevation, Colombo or Bergamo?", "choices": ["Dundee", "Chihuahua", "Santo Domingo", "Bergen", "Bergamo", "Abidjan", "Kingston", "Trieste", "Kilkenny", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colombo"]}, {"function": "Find", "dependencies": [], "inputs": ["Bergamo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Colombo\" .  } UNION { ?e <pred:name> \"Bergamo\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bergamo"}, {"question": "When was Falkirk F.C. founded?", "choices": ["1776-07-04", "1662", "1836-06-15", "1094", "1930-12-16", "1839-01-01", "1962-09-25", "1876", "1822-08-12", "1994-07-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Falkirk F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Falkirk F.C.\" . ?e <inception> ?pv .  }", "answer": "1876"}, {"question": "The United Kingdom and St Andrews are related how?", "choices": ["allegiance", "country", "medical treatment", "located in the administrative territorial entity", "official language", "appointed by", "family", "location", "narrative location", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Andrews"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St Andrews\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is the official website of Another Year http://www.wvu.edu/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Another Year"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.wvu.edu/"]}], "sparql": "ASK { ?e <pred:name> \"Another Year\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.wvu.edu/\" .  }", "answer": "no"}, {"question": "Which movie is longer, Savannah (the one whose start time is 1996-01-21) or The Incredible Hulk (the one whose publication date is 1977-11-04)?", "choices": ["Phineas and Ferb", "Six Feet Under", "Game of Thrones", "Saturday Night's Main Event", "Bleak House", "Savannah", "American Horror Story", "Seinfeld", "The Incredible Hulk", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Savannah"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1996-01-21", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Incredible Hulk"]}, {"function": "FilterDate", "dependencies": [2], "inputs": ["publication date", "1977-11-04", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Savannah\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1996-01-21\"^^xsd:date . } UNION { ?e <pred:name> \"The Incredible Hulk\" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> \"1977-11-04\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Savannah"}, {"question": "What is the elevation above the sea level of the city where Dan Schneider (the one whose ISNI is 0000 0000 7824 7178) was born?", "choices": ["150 metre", "612 metre", "343 metre", "490 metre", "39 foot", "148 metre", "240 metre", "350 foot", "72 metre", "103 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dan Schneider"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7824 7178"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Dan Schneider\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7824 7178\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "103 metre"}, {"question": "How much electronic dance music includes The Black Eyed Peas or is in the genre of Portishead?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Black Eyed Peas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic dance music"]}, {"function": "Find", "dependencies": [], "inputs": ["Portishead"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic dance music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic dance music\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"The Black Eyed Peas\" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"Portishead\" .  } }", "answer": "2"}, {"question": "What is the number of entertainments that have Warner Bros. interactive Entertainment as a distributor?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros. Interactive Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Warner Bros. Interactive Entertainment\" .   }", "answer": "19"}, {"question": "When did Colleen Dewhurst die?", "choices": ["2005-05-21", "2017-02-25", "1889-06-29", "1980-11-24", "1995-12-25", "1949-12-25", "1991-08-22", "1950-07-11", "2016-12-27", "2015-04-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colleen Dewhurst"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Colleen Dewhurst\" . ?e <date_of_death> ?pv .  }", "answer": "1991-08-22"}, {"question": "Is Irish American Freddie Prinze's native language name \u4e95\u4e0a\u548c\u5f66 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irish Americans"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Freddie Prinze"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["\u4e95\u4e0a\u548c\u5f66"]}], "sparql": "ASK { ?e <pred:name> \"Freddie Prinze\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Irish Americans\" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u4e95\u4e0a\u548c\u5f66\" .  }", "answer": "no"}, {"question": "Which form of government had a population count of 77709000 on 1984-01-01?", "choices": ["Namibia", "Colombia", "Bolivia", "Italy", "Malawi", "Germany", "Mozambique", "France", "Tunisia", "Sierra Leone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "77709000", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1984-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["form of government"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"77709000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"1984-01-01\"^^xsd:date .  }", "answer": "Germany"}, {"question": "How many albums did Louis XIV of France create?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louis XIV of France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Louis XIV of France\" .   }", "answer": "0"}, {"question": "Which website officially designates the person nominated in 2006 for the National Society of Film Critics Award for Best Supporting Actress?", "choices": ["http://www.jenniferhudson.com", "http://www.eastleighfc.com/", "http://www.fcuniversitatea.ro/", "http://jeffersoncounty.arkansas.gov/", "http://www.softbankhawks.co.jp/", "http://www.andydick.com/", "http://www.ajiththeactor.com/", "http://www.co.pierce.wi.us", "http://joshhutcherson.com", "http://www.brianwilson.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2006", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Supporting Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2006 . ?e <official_website> ?pv .  }", "answer": "http://www.jenniferhudson.com"}, {"question": "Did the 46th edition of the Academy Awards precede the 66th Academy Awards event?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["66th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["edition number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["46"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"66th Academy Awards\" .  ?e <edition_number> ?pv . ?pv <pred:value> \"46\" .  }", "answer": "no"}, {"question": "Which movie is longer, How Green Was My Valley or Leonard Cohen: I'm Your Man?", "choices": ["Talk to Her", "A Prairie Home Companion", "Leonard Cohen: I'm Your Man", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "How Green Was My Valley", "The Hunchback of Notre Dame", "Training Day", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How Green Was My Valley"]}, {"function": "Find", "dependencies": [], "inputs": ["Leonard Cohen: I'm Your Man"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"How Green Was My Valley\" .  } UNION { ?e <pred:name> \"Leonard Cohen: I'm Your Man\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "How Green Was My Valley"}, {"question": "Which individual born later than 1952 is denoted by ISNI 0000 0000 8329 9159?", "choices": ["Jared Harris", "Richard Gere", "Mare Winningham", "Tony Shalhoub", "Max Fleischer", "William Henry Harrison", "Orlando Bloom", "Clint Black", "Sylvester Stallone", "Bo Derek"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8329 9159"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1952", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8329 9159\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1952 ) .  }", "answer": "Mare Winningham"}, {"question": "Where was Austin Powers: The Spy Who Shagged Me, its publication date is 1999-10-14, published?", "choices": ["Greece", "Seattle International Film Festival", "France", "2004 Cannes Film Festival", "Singapore", "Indonesia", "Panama", "Germany", "Chicago", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austin Powers: The Spy Who Shagged Me"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1999-10-14", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Austin Powers: The Spy Who Shagged Me\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1999-10-14\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the IPI name number of the human that is in the movement of alternative rock equal to 00125325501?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["movement", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPI name number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00125325501"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <movement> ?e_1 . ?e_1 <pred:name> \"alternative rock\" .  ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00125325501\" .  }", "answer": "no"}, {"question": "Which movie is longer, Rhinestone or Jarhead?", "choices": ["Jarhead", "Talk to Her", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "The Towering Inferno", "Rhinestone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rhinestone"]}, {"function": "Find", "dependencies": [], "inputs": ["Jarhead"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rhinestone\" .  } UNION { ?e <pred:name> \"Jarhead\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jarhead"}, {"question": "When was the national association football team whose FIFA country code is TUV founded?", "choices": ["1768-01-01", "1805-03-17", "2007-06-30", "1920-01-01", "1979", "1993-10-26", "1936-01-01", "1738-08-01", "1972-05-22", "1901-06-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIFA country code", "TUV"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <FIFA_country_code> ?pv_1 . ?pv_1 <pred:value> \"TUV\" . ?e <inception> ?pv .  }", "answer": "1979"}, {"question": "Is the official website for the American football team with the Twitter username of Vikings http://www.ingmarbergman.se/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Vikings"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.ingmarbergman.se/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Vikings\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ingmarbergman.se/\" .  }", "answer": "no"}, {"question": "When did Rachel McAdams stop attending York University?", "choices": ["1784", "1776-01-01", "2007-09-24", "1959", "2003-05-20", "1874", "1898", "2011-12-15", "1945-04-12", "2001"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rachel McAdams"]}, {"function": "Find", "dependencies": [], "inputs": ["York University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Rachel McAdams\" . ?e_2 <pred:name> \"York University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2001"}, {"question": "Which sovereign state bordering Iran occupies the most area?", "choices": ["Kiribati", "Soviet Union", "Azerbaijan", "Iraq", "Pakistan", "Cambodia", "Switzerland", "Afghanistan", "Turkey", "Turkmenistan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Iran\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Soviet Union"}, {"question": "What is the connection between Yngwie Malmsteen to English?", "choices": ["film regional debut venue", "sponsor", "conflict", "mother", "significant event", "studied by", "languages spoken, written or signed", "narrator", "sidekick of", "medical treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yngwie Malmsteen"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Yngwie Malmsteen\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How many subscribers does the user whose Instagram username is rashidajones and Twitter username is iamrashidajones have?", "choices": ["4722524", "41570423", "140806", "15485", "1668845", "1172463", "223605", "1260225", "21642", "32733"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "rashidajones"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "iamrashidajones", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"rashidajones\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"iamrashidajones\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1172463"}, {"question": "what is the time point for the Republic that has citizen Arthur C Clarke human development index 0.752", "choices": ["2004-10-01", "1538", "2001-07-18", "2013", "2016-08-01", "1874", "2013-05-23", "2015-12-01", "1965-12-01", "1700"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arthur C. Clarke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Human Development Index", "0.752", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> \"Arthur C. Clarke\" .  ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.752\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "I want to know the relationship between St. Stephen's College and India (which has a citizen Farida Jalal)", "choices": ["cause of death", "broadcast by", "conferred by", "characters", "has cause", "copyright holder", "country", "capital", "product or material produced", "airline hub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Stephen's College"]}, {"function": "Find", "dependencies": [], "inputs": ["Farida Jalal"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of citizenship", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"St. Stephen's College\" . ?e_2 <pred:name> \"India\" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> \"Farida Jalal\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Munzinger IBA for Meg Ryan?", "choices": ["00000025423", "00000017656", "00000014906", "00000020926", "00000022444", "00000020993", "00000014618", "00000015305", "00000002241", "00000019657"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meg Ryan"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Meg Ryan\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000020926"}, {"question": "Is http://www.lornemichaels.com/ the official website of the person with ISNI 0000 0001 1574 3454?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1574 3454"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.lornemichaels.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1574 3454\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lornemichaels.com/\" .  }", "answer": "no"}, {"question": "What is the relationship between James Taylor who died in Edinburgh to World War II?", "choices": ["main food source", "replaced by", "located in time zone", "conflict", "librettist", "approved by", "filmography", "main subject", "given name", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["World War II"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Taylor\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Edinburgh\" . ?e_2 <pred:name> \"World War II\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "How is Labyrinth that is a notable work of Jennifer Connelly related to children's film?", "choices": ["office held by head of state", "religious order", "main subject", "theme music", "public holiday", "sponsor", "genre", "award disciplines or subjects", "residence", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jennifer Connelly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Labyrinth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["children's film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Labyrinth\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Jennifer Connelly\" . ?e_2 <pred:name> \"children's film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which movie is longer, Apache (the one whose producer is Burt Lancaster) or Hud?", "choices": ["Rebecca", "Pleasantville", "The Hunchback of Notre Dame", "Hud", "Curse of the Golden Flower", "A Prairie Home Companion", "Apache", "Talk to Her", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burt Lancaster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Apache"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Hud"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Apache\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Burt Lancaster\" .   } UNION { ?e <pred:name> \"Hud\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hud"}, {"question": "Which US city's elevation is 3623 feet?", "choices": ["Oxnard", "Stockton", "Huntington Beach", "Columbus", "Franklin", "Bend", "Waukegan", "Grand Forks", "Whittier", "New Haven"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "3623 foot", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"foot\" . ?pv <pred:value> \"3623\"^^xsd:double .  }", "answer": "Bend"}, {"question": "What is the connection between Harry Potter and the Philosopher's Stone (the one that origins from United States of America) to Geraldine Somerville?", "choices": ["domain of saint or deity", "home venue", "risk factor", "sibling", "cast member", "military rank", "mouth of the watercourse", "child astronomical body", "follows", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Philosopher's Stone"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Geraldine Somerville"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Potter and the Philosopher's Stone\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Geraldine Somerville\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Does Douglas County (the one that contains Omaha) have a population greater than 7400000000 (the point in time of this statement is 1920-01-01)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Omaha"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["population", "point in time", "1920-01-01"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["7400000000", ">"]}], "sparql": "ASK { ?e <pred:name> \"Douglas County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Omaha\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"7400000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"1920-01-01\"^^xsd:date .  }", "answer": "no"}, {"question": "How many subscribers does the agent whose headquarter location is New Brunswick (whose WOEID is 2458101) have under the Twitter username JNJCares?", "choices": ["231572", "266394", "91503", "49925", "9357265", "4848773", "226", "1728", "1432018", "610767"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "2458101"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "JNJCares", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New Brunswick\" . ?e_1 <WOEID> ?pv_1 . ?pv_1 <pred:value> \"2458101\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"JNJCares\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "91503"}, {"question": "When was The Pink Panther (that was nominated for a Golden Raspberry Award for Worst Supporting Actress) nominated for a Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel?", "choices": ["2004-08-01", "2012-01-31", "2010-09-24", "1911-05-28", "1984-12-01", "2006", "1977-01-01", "2002-09-18", "2004", "1664"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Pink Panther"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Pink Panther\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "How is Rob Paulsen related to voice actor?", "choices": ["country of origin", "publisher", "exported to", "place of birth", "contains administrative territorial entity", "producer", "discoverer or inventor", "penalty", "designed by", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob Paulsen"]}, {"function": "Find", "dependencies": [], "inputs": ["voice actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rob Paulsen\" . ?e_2 <pred:name> \"voice actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "The Governor of Kentucky heads how many Japanese prefectures?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Governor of Kentucky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> \"Governor of Kentucky\" .   }", "answer": "0"}, {"question": "Tell me the visual artwork called Milan and that has romance film as the genre", "choices": ["Milan", "Coming Home", "The End of the Affair", "A Prairie Home Companion", "Pleasantville", "The Three Musketeers", "Rebecca", "As Good as It Gets", "Cold War", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Milan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Milan\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"romance film\" .  }", "answer": "Milan"}, {"question": "What person, born before 1951, is the director of photography of Crossroads (whose composer is Ry Cooder)?", "choices": ["Max Fleischer", "William Henry Harrison", "Richard Gere", "Don Knotts", "Joseph Ruttenberg", "David Byrne", "John Bailey", "Sylvester Stallone", "Michael Ballhaus", "Tom Johnson"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1951", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Ry Cooder"]}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crossroads"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1951 ) . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> \"Crossroads\" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> \"Ry Cooder\" .  }", "answer": "John Bailey"}, {"question": "What is David Shire's ISNI identification?", "choices": ["0000 0001 2095 8599", "0000 0001 1446 3119", "0000 0001 2222 5399", "0000 0000 4301 4665", "0000 0001 0930 5677", "0000 0001 0018 360X", "0000 0004 1937 1370", "0000 0001 1395 7715", "0000 0001 1479 4233", "0000 0001 0690 0497"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Shire"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"David Shire\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0930 5677"}, {"question": "The country Kingdom of the Netherlands contains how many time zones?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of the Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["time zone"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"time zone\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Kingdom of the Netherlands\" .   }", "answer": "0"}, {"question": "What first-level administrative country subdivision has an ISNI of 0000 0004 0452 3343?", "choices": ["Khyber Pakhtunkhwa", "Podlaskie Voivodeship", "Catalonia", "Salzburg", "canton of Z\u00fcrich", "Tyrol", "Veracruz", "Oaxaca", "Upper Austria", "England"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0452 3343"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0452 3343\" .  }", "answer": "Salzburg"}, {"question": "What is the birth name of C. S. Lewis?", "choices": ["Natalie Maria Cole", "Pablo Diego Jos\u00e9 Francisco de Paula Juan Nepomuceno Mar\u00eda de los Remedios Cipriano de la Sant\u00edsima Trinidad Ruiz y Picasso", "Judith Olivia Dench", "Kylie Ann Minogue", "Walter Whitman", "Ernst Ingmar Bergman", "Clive Staples Lewis", "Julian Wyatt Glover", "Juan Esteban Aristiz\u00e1bal V\u00e1squez", "Anthony McMillan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["C. S. Lewis"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"C. S. Lewis\" . ?e <birth_name> ?pv .  }", "answer": "Clive Staples Lewis"}, {"question": "How many Canadian administrative territorial entities were established subsequent to 1792?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1792", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1792 ) .  }", "answer": "3"}, {"question": "Is http://www.juanmata10.com/ the official website for a county of Oregon named after Andrew Jackson (the one whose British Museum person-institution is 93312) ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andrew Jackson"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "93312"]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Oregon"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.juanmata10.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Andrew Jackson\" . ?e_1 <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> \"93312\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.juanmata10.com/\" .  }", "answer": "no"}, {"question": "How many subscribers does the Twitter username iHrithik have (which belongs to the 2007 winner of the Filmfare Award for Best Actor)?", "choices": ["17782", "1774796", "19004", "101653", "23545792", "765593", "97046", "293", "135980", "6753"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2007", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "iHrithik", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Filmfare Award for Best Actor\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2007 . ?e <Twitter_username> ?pv . ?pv <pred:value> \"iHrithik\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "23545792"}, {"question": "Was the person that received the Academy Award for Best Original Musical Score in the 16th Academy Awards born after 1757?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Musical Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "16th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1757", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Original Musical Score\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"16th Academy Awards\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1757 ) .  }", "answer": "yes"}, {"question": "Who has fewer children, Noah Wyle or Andrea Bocelli?", "choices": ["David Byrne", "Rahul Dev Burman", "Andrea Bocelli", "James E. Reilly", "Noah Wyle", "Simon Cowell", "Max Fleischer", "William Henry Harrison", "Richard Gere", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Noah Wyle"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrea Bocelli"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Noah Wyle\" .  } UNION { ?e <pred:name> \"Andrea Bocelli\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Andrea Bocelli"}, {"question": "Among the neighborhoods with an elevation (above sea level) less than 6000 metres, which one has the smallest elevation (above sea level)?", "choices": ["Northridge", "Hollywood", "San Pedro", "Monte Carlo", "Encino", "Van Nuys", "Astoria", "Pacific Palisades", "Roxbury", "Sherman Oaks"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "6000 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Pedro"}, {"question": "How many short films have a duration less than 580 minutes long?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "580 minute", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"580\"^^xsd:double ) .  }", "answer": "11"}, {"question": "Which area is larger, Lee County (the one that contains Tupelo) or Cache County?", "choices": ["Delaware County", "United States Virgin Islands", "Cache County", "Kent County", "Greene County", "Washoe County", "African Union", "San Juan County", "Orange County", "Cass County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tupelo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cache County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lee County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Tupelo\" .   } UNION { ?e <pred:name> \"Cache County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cache County"}, {"question": "What was the method used to determine that the fertility rate is 2.873 in Algeria-Bangladesh (capital Dhaka)?", "choices": ["estimation process", "resident registration", "United Kingdom Census 2011", "Family record booklet", "Pensky\u2013Martens closed-cup test", "2000 United States Census", "Canada 2016 Census", "average", "UIS estimation", "questionnaire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dhaka"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["statement is subject of", "Algeria\u2013Bangladesh relations"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["total fertility rate", "2.873", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Bangladesh\" . ?e_2 <capital_of> ?e_1 . ?e_2 <pred:name> \"Dhaka\" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Algeria\u2013Bangladesh relations\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2.873\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "When did the town that is the narrative location of Grimsby (the one whose box office is 25000000 United States dollar) have 88243 people?", "choices": ["2013-05-23", "2002-02-12", "2011", "1961-04-17", "2000-01-19", "2006-10-18", "1877", "2011-09-21", "2014-01-22", "1633-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grimsby"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "25000000 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["town"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "88243", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"Grimsby\" . ?e_1 <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"25000000\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"88243\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "Which has larger area, Hastings with TOID 4000000074545044 or Oldham with 96555 population?", "choices": ["Blackburn", "Colchester", "Hastings", "Macclesfield", "Edmonton", "Wimbledon", "South Shields", "Wigan", "Royal Tunbridge Wells", "Oldham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hastings"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074545044"]}, {"function": "Find", "dependencies": [], "inputs": ["Oldham"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "96555", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hastings\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"4000000074545044\" . } UNION { ?e <pred:name> \"Oldham\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"96555\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oldham"}, {"question": "Which has more people, North Norfolk or Kettering (the one whose inception time is 1974-04-01)?", "choices": ["Craven", "Woking", "Great Yarmouth", "Carlisle", "Kettering", "King's Lynn and West Norfolk", "Guildford", "West Dorset", "North Norfolk", "Chichester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Norfolk"]}, {"function": "Find", "dependencies": [], "inputs": ["Kettering"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["inception", "1974-04-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North Norfolk\" . } UNION { ?e <pred:name> \"Kettering\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1974-04-01\"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "North Norfolk"}, {"question": "When did the Netherlands municipality that contains Leiden University have 65108 households?", "choices": ["1891", "2014-01-01", "1821", "1963-04-08", "1937-05-23", "1870-12-01", "1936", "1980", "2013-04-08", "1825-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leiden University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of households", "65108", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Leiden University\" .  ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"65108\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_households> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What is the Dewey Decimal Classification of Port-au-Prince?", "choices": ["2--79478", "634.11", "2--729452", "974.0049755", "2--4663", "2--77178", "2--7434", "2--45385", "2--43642", "2--9364"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Port-au-Prince"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Port-au-Prince\" . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--729452"}, {"question": "When was Sal Buscema's sibling born?", "choices": ["1931-03-22", "1970-04-29", "1977-02-10", "1927-12-11", "1954-11-03", "1961-01-17", "1877-07-02", "1944-12-17", "1912-07-03", "1965-07-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sal Buscema"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sibling", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <sibling> ?e_1 . ?e_1 <pred:name> \"Sal Buscema\" .  ?e <date_of_birth> ?pv .  }", "answer": "1927-12-11"}, {"question": "Was the Taliban established on 1994-01-01 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taliban"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyDate", "dependencies": [1], "inputs": ["1994-01-01", "="]}], "sparql": "ASK { ?e <pred:name> \"Taliban\" . ?e <inception> ?pv . ?pv <pred:date> \"1994-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "Which has less area, South Korea or Myanmar?", "choices": ["Socialist Federal Republic of Yugoslavia", "Weimar Republic", "South Korea", "Russian Soviet Federative Socialist Republic", "Switzerland", "Myanmar", "Benin", "Kiribati", "Cambodia", "South Sudan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Korea"]}, {"function": "Find", "dependencies": [], "inputs": ["Myanmar"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Korea\" .  } UNION { ?e <pred:name> \"Myanmar\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "South Korea"}, {"question": "Which had a longer duratin, Cleopatra with Timothy Dalton in the cast, or America's Next Top Model?", "choices": ["The Ten Commandments", "The Diary of Anne Frank", "Edge of Darkness", "The Pacific", "Roots", "Cleopatra", "George Washington", "Battlestar Galactica", "The Stand", "America's Next Top Model"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Timothy Dalton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cleopatra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["America's Next Top Model"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cleopatra\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Timothy Dalton\" .   } UNION { ?e <pred:name> \"America's Next Top Model\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cleopatra"}, {"question": "What is the official website of the higher education institution whose headquarter location is Johannesburg?", "choices": ["http://www.wits.ac.za/", "https://www.pixar.com/feature-films/toy-story", "http://siouxsieandthebanshees.co.uk", "http://www.secretintheireyes.movie/", "http://channel.nationalgeographic.com/mars/", "http://www.junglee.org.in", "http://www.pku.edu.cn/", "http://www.foxsearchlight.com/quills/", "http://markknopfler.com", "http://www.cityftmyers.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johannesburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Johannesburg\" .  ?e <official_website> ?pv .  }", "answer": "http://www.wits.ac.za/"}, {"question": "What is the connection between Beauty and the Beast (the one that has Dan Stevens as a cast member) to Ian McKellen?", "choices": ["language of work or name", "doctoral advisor", "cast member", "country of origin", "killed by", "taxon rank", "culture", "platform", "league", "professorship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dan Stevens"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beauty and the Beast"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ian McKellen"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Beauty and the Beast\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Dan Stevens\" . ?e_2 <pred:name> \"Ian McKellen\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who composed the visual artwork titled Greenwich Village?", "choices": ["Leonard Cohen", "David Buttolph", "Joey Fatone", "Ted Danson", "George Gershwin", "Damon Albarn", "Marco Beltrami", "Terrence McNally", "Harold Faltermeyer", "Friedrich Hollaender"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Greenwich Village"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Greenwich Village\" .   }", "answer": "David Buttolph"}, {"question": "What is the connection between Frank Marshall (the one that is a member of Rotherham United F.C.) to association football?", "choices": ["manufacturer", "geographic distribution", "has quality", "soundtrack album", "child", "significant person", "draft pick from school", "convicted of", "narrative role", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rotherham United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Marshall"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Marshall\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Rotherham United F.C.\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Is the shorter work Cold Mountain, scripted by Anthony Minghella, or From Dusk till Dawn, originally in Spanish?", "choices": ["Pleasantville", "The Towering Inferno", "A Prairie Home Companion", "Talk to Her", "Curse of the Golden Flower", "The Fifth Element", "The Hunchback of Notre Dame", "From Dusk till Dawn", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anthony Minghella"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cold Mountain"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Spanish"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["From Dusk till Dawn"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cold Mountain\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Anthony Minghella\" .   } UNION { ?e <pred:name> \"From Dusk till Dawn\" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"Spanish\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "From Dusk till Dawn"}, {"question": "What is the date of birth of Chris Newman who received an Academy Award for Best Sound Mixing?", "choices": ["1949-08-31", "1949-10-06", "1970-06-26", "1952-02-23", "1940-02-17", "1910-03-18", "1972-05-08", "1800-01-01", "1963-07-15", "1972-11-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Newman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chris Newman\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Sound Mixing\" .  ?e <date_of_birth> ?pv .  }", "answer": "1940-02-17"}, {"question": "Among the rivers with a discharge not equal to 130 cubic metres per second, which one has the largest watershed area?", "choices": ["Hudson River", "Mississippi River", "Danube", "Columbia River", "River Thames", "Tuesday Weld", "Rhine", "Amazon", "Missouri River", "Ohio River"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["discharge", "130 cubic metre per second", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <discharge> ?pv_1 . ?pv_1 <pred:unit> \"cubic metre per second\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"130\"^^xsd:double ) . ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Amazon"}, {"question": "How many movie genres were released in Sweden?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Sweden\" .   }", "answer": "1"}, {"question": "Which movie is shorter, Big Daddy or The Merry Widow (the one whose publication date is 1952-01-01)?", "choices": ["The Towering Inferno", "Pleasantville", "Curse of the Golden Flower", "Rebecca", "Big Daddy", "The Merry Widow", "The Hunchback of Notre Dame", "Talk to Her", "Training Day", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Big Daddy"]}, {"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1952-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Big Daddy\" . } UNION { ?e <pred:name> \"The Merry Widow\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1952-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Big Daddy"}, {"question": "Does the visual artwork with the official website http://www.sonypictures.com/movies/radio have a duration of 4700 seconds?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonypictures.com/movies/radio"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4700 second", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sonypictures.com/movies/radio\" . ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> \"4700\"^^xsd:double .  }", "answer": "no"}, {"question": "What is the relationship between Glasgow School of Art and Art Nouveau?", "choices": ["has part", "award received", "architectural style", "seed team", "enclave within", "platform", "position played on team / speciality", "studies", "nutrient", "this taxon is source of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Glasgow School of Art"]}, {"function": "Find", "dependencies": [], "inputs": ["Art Nouveau"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Glasgow School of Art\" . ?e_2 <pred:name> \"Art Nouveau\" . ?e_1 ?p ?e_2 .  }", "answer": "architectural style"}, {"question": "What is the relationship between Nokia (the one whose population is 33210) and Nokia (the one whose headquarter location is Espoo)?", "choices": ["nutrient", "board member", "territory claimed by", "head of government", "different from", "developer", "occupation", "officially opened by", "editor", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nokia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "33210", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Espoo"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nokia"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nokia\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"33210\"^^xsd:double . ?e_2 <pred:name> \"Nokia\" . ?e_2 <headquarters_location> ?e_3 . ?e_3 <pred:name> \"Espoo\" . ?e_1 ?p ?e_2 .  }", "answer": "different from"}, {"question": "What is the connection between Tangled (the one whose release region is Turkey) to Lithuania?", "choices": ["family name", "director", "country of citizenship", "depicted by", "superhuman feature or ability", "lowest point", "sex or gender", "set in period", "film release region", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turkey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tangled"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tangled\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Turkey\" . ?e_2 <pred:name> \"Lithuania\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Which has a smaller population, the British Virgin Islands or the London Borough of Enfield?", "choices": ["Greene County", "British Virgin Islands", "London Borough of Enfield", "San Juan County", "Cass County", "African Union", "Kent County", "Delaware County", "Lee County", "Washoe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Virgin Islands"]}, {"function": "Find", "dependencies": [], "inputs": ["London Borough of Enfield"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"British Virgin Islands\" .  } UNION { ?e <pred:name> \"London Borough of Enfield\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "British Virgin Islands"}, {"question": "Does We Need to Talk About Kevin or Harlow (the one that has Leslie Nielsen as a cast member) have less duration?", "choices": ["Training Day", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Curse of the Golden Flower", "Harlow", "The Fifth Element", "The Towering Inferno", "Pleasantville", "Talk to Her", "We Need to Talk About Kevin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["We Need to Talk About Kevin"]}, {"function": "Find", "dependencies": [], "inputs": ["Leslie Nielsen"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harlow"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"We Need to Talk About Kevin\" .  } UNION { ?e <pred:name> \"Harlow\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Leslie Nielsen\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "We Need to Talk About Kevin"}, {"question": "Does Colin Powell (the one that is in the military branch United States Army), have an ISNI of 0000 0001 2284 3621?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Army"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military branch", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Colin Powell"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 2284 3621"]}], "sparql": "ASK { ?e <pred:name> \"Colin Powell\" . ?e <military_branch> ?e_1 . ?e_1 <pred:name> \"United States Army\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2284 3621\" .  }", "answer": "no"}, {"question": "Which area is smaller, Somerset County (the one that is located in Pennsylvania) or Cambria County?", "choices": ["Warren County", "Fayette County", "Lehigh County", "Somerset County", "Westmoreland County", "Cumberland County", "Allegheny County", "Bucks County", "Cambria County", "Franklin County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cambria County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Somerset County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Pennsylvania\" .   } UNION { ?e <pred:name> \"Cambria County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cambria County"}, {"question": "What is the language associated with the official website https://adodenhaag.nl/ for the association football club whose Twitter username is ADODenHaag?", "choices": ["Nynorsk", "\u01c0Xam language", "Basque", "Bokm\u00e5l", "Danish", "Dutch", "Afrikaans", "Macedonian", "Tlingit", "Polish"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ADODenHaag"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://adodenhaag.nl/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ADODenHaag\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://adodenhaag.nl/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Dutch"}, {"question": "How are Raoul Walsh and the profession of screenwriter related?", "choices": ["occupation", "candidacy in election", "terminus", "public holiday", "currency", "superhuman feature or ability", "has quality", "parent astronomical body", "depicted by", "is a list of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raoul Walsh"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Raoul Walsh\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which person was born in the Sarajevo that's the twinned administrative body of Stockholm?", "choices": ["Philip Roth", "Kasper Schmeichel", "Emir Kusturica", "Sylvester Stallone", "Anatole Litvak", "Max Fleischer", "William Henry Harrison", "Richard Gere", "Louis Armstrong", "Richard Masur"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stockholm"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sarajevo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Sarajevo\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Stockholm\" .   }", "answer": "Emir Kusturica"}, {"question": "When did Queen whose duration is 146 minutes receive a Filmfare Award for Best Film?", "choices": ["2018-10-25", "2007-04-18", "2016-10-23", "2015", "2008-07-01", "2006-04-01", "2010-05-01", "2013-07-01", "1814-01-01", "1956"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Queen"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "146 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Queen\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"146\"^^xsd:double . ?e_2 <pred:name> \"Filmfare Award for Best Film\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "What is the connection between Cheltenham Town F.C. to Cheltenham?", "choices": ["position played on team / speciality", "headquarters location", "public holiday", "copyright holder", "sponsor", "different from", "penalty", "creator", "conflict", "contributing factor of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cheltenham Town F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Cheltenham"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cheltenham Town F.C.\" . ?e_2 <pred:name> \"Cheltenham\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "When did Sergei Rachmaninoff become a citizen of the United States of America?", "choices": ["1943-02-01", "2012-01-06", "2004-05-27", "2007-09-19", "1861-07-02", "1990-12-01", "1995-09-08", "2010-08-31", "2011-12-19", "1966-07-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sergei Rachmaninoff"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["country of citizenship", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sergei Rachmaninoff\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1943-02-01"}, {"question": "Who was born in San Juan (the one whose ISNI is 0000 0001 2194 5191) and has the official website http://www.joaquin-phoenix.net/index2.html ?", "choices": ["Max Fleischer", "Rahul Dev Burman", "William Henry Harrison", "Sylvester Stallone", "Joaquin Phoenix", "Luis Miguel", "Daddy Yankee", "Javier Grillo-Marxuach", "David Byrne", "Ricky Martin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Juan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2194 5191"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["official website", "http://www.joaquin-phoenix.net/index2.html"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"San Juan\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2194 5191\" .  ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.joaquin-phoenix.net/index2.html\" .  }", "answer": "Joaquin Phoenix"}, {"question": "Ironclad was published on 2011-07-26 in what release location?", "choices": ["Iceland", "South Africa", "Charlotte Motor Speedway", "Spain", "Ireland", "Croatia", "People's Republic of China", "Davao City", "Park City", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ironclad"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2011-07-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ironclad\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-07-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Which area is larger, Chennai or Lagos?", "choices": ["Kilkenny", "Cork", "Dundee", "Kingston", "Chennai", "Trieste", "Bergen", "Lagos", "Chihuahua", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chennai"]}, {"function": "Find", "dependencies": [], "inputs": ["Lagos"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chennai\" .  } UNION { ?e <pred:name> \"Lagos\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lagos"}, {"question": "How many soundtrack albums are there whose release date is before 2018?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2018", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2018 ) .  }", "answer": "11"}, {"question": "Is the date of birth after 1960 for the person that is a member of San Juan Jabloteh?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Juan Jabloteh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1960", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"San Juan Jabloteh\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1960 ) .  }", "answer": "yes"}, {"question": "Which movie is longer, Tomorrow Never Dies (the one that is shot in Germany) or Oklahoma! (the one whose genre is musical film)?", "choices": ["Talk to Her", "Rebecca", "Oklahoma!", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "The Towering Inferno", "A Prairie Home Companion", "Curse of the Golden Flower", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tomorrow Never Dies"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["musical film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oklahoma!"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tomorrow Never Dies\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Germany\" .   } UNION { ?e <pred:name> \"Oklahoma!\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"musical film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Oklahoma!"}, {"question": "Which biology has the IPTC Newscode mediatopic/20000724 and the Iconclass notation 49F2?", "choices": ["Yellow Submarine", "choir", "electrical engineering", "English Studies", "graph theory", "ecology", "Philadelphia", "soprano", "zoology", "biochemistry"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20000724"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["biology"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Iconclass notation", "49F2"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["biology"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"biology\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000724\" . ?e <Iconclass_notation> ?pv_1 . ?pv_1 <pred:value> \"49F2\" .  }", "answer": "zoology"}, {"question": "What number of law schools were founded by the person with CANTIC-ID a12128843?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12128843"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["law school"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e_1 <found> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a12128843\" .   }", "answer": "1"}, {"question": "What is the connection between Akshay Kumar to Amritsar?", "choices": ["drug used for treatment", "filmography", "indigenous to", "political alignment", "has dialect (DEPRECATED)", "collection", "spouse", "copyright representative", "place of birth", "practiced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akshay Kumar"]}, {"function": "Find", "dependencies": [], "inputs": ["Amritsar"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Akshay Kumar\" . ?e_2 <pred:name> \"Amritsar\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What number of jazz originates from Yugoslavia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yugoslavia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["jazz"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Yugoslavia\" .   }", "answer": "0"}, {"question": "For the organization that is the production company of Management, what is the language associated with this creative work for its official website of http://www.watchimage.com?", "choices": ["Hindi", "Latin", "English", "Tahitian", "Italian", "Catalan", "Yaqui", "Ukrainian", "Atikamekw", "Belgian French"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Management"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.watchimage.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"Management\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.watchimage.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which one, Doug Flutie or Joe Jackson (the one that is related to sport basketball), has greater mass?", "choices": ["William Henry Harrison", "Joe Jackson", "Rahul Dev Burman", "Max Fleischer", "James E. Reilly", "Simon Cowell", "David Byrne", "Richard Gere", "Sylvester Stallone", "Doug Flutie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doug Flutie"]}, {"function": "Find", "dependencies": [], "inputs": ["basketball"]}, {"function": "Relate", "dependencies": [1], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Jackson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Doug Flutie\" .  } UNION { ?e <pred:name> \"Joe Jackson\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"basketball\" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Doug Flutie"}, {"question": "What does Guadalajara have to do with its twinned adminstrative body of Livorno?", "choices": ["programming language", "cause of death", "culture", "continent", "draft pick from school", "military conflicts", "twinned administrative body", "office held by head of the organisation", "after a work by", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Livorno"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Guadalajara"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Livorno"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Guadalajara\" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> \"Livorno\" . ?e_2 <pred:name> \"Livorno\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which animated feature film was composed by songwriter Sammy Cahn?", "choices": ["WALL\u00b7E", "Peter Pan", "Renaissance", "Lilo & Stitch", "Tarzan", "The Rescuers", "Winnie the Pooh", "Beauty and the Beast", "Shrek 2", "Robin Hood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sammy Cahn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["object has role", "songwriter"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["animated feature film"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Sammy Cahn\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_1 ] <object_has_role> ?qpv . ?qpv <pred:value> \"songwriter\" .  }", "answer": "Peter Pan"}, {"question": "How is William Powell whose CANTIC-ID is a11826745 related to Palm Springs where Darryl F. Zanuck died?", "choices": ["official color", "family name", "educated at", "director/manager", "sibling", "occupation", "theme music", "place of death", "contains administrative territorial entity", "organizer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Powell"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11826745"]}, {"function": "Find", "dependencies": [], "inputs": ["Darryl F. Zanuck"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Palm Springs"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William Powell\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11826745\" . ?e_2 <pred:name> \"Palm Springs\" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> \"Darryl F. Zanuck\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Born on 1870-07-02, James Joyce died at what time?", "choices": ["1912-04-20", "1990-12-26", "2018-03-14", "1979-02-27", "1959-11-20", "1994-01-01", "1931-03-25", "2008-02-15", "1972-05-23", "30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Joyce"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1870-07-02", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"James Joyce\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1870-07-02\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1931-03-25"}, {"question": "Is http://www.pennandteller.com the official website of the film that received a Palme d'Or on 1989-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Palme d'Or"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1989-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.pennandteller.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Palme d'Or\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1989-01-01\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pennandteller.com\" .  }", "answer": "no"}, {"question": "How many points did team member Seol Ki-hyeon score for Royal Antwerp F.C.?", "choices": ["13", "50", "0", "80", "15", "61", "3015", "51", "17", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seol Ki-hyeon"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Antwerp F.C"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seol Ki-hyeon\" . ?e_2 <pred:name> \"Royal Antwerp F.C\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "10"}, {"question": "Is the visual artwork featuring astronaut Wonder Woman titled Big Love ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["astronaut"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["present in work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["Big Love"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> \"Wonder Woman\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"astronaut\" .  ?e <title> ?pv . ?pv <pred:value> \"Big Love\" .  }", "answer": "no"}, {"question": "How many ice hockey teams whose parent club is the Providence Bruins or whose country is the U.S.?", "choices": ["34", "35", "36", "37", "38", "39", "40", "41", "42", "43"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Providence Bruins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent club", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ice hockey team"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ice hockey team"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" .  { ?e <parent_club> ?e_1 . ?e_1 <pred:name> \"Providence Bruins\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "37"}, {"question": "Of Irish counties where the population is below 29000000, which has the most inhabitants?", "choices": ["County Clare", "County Dublin", "County Limerick", "County Roscommon", "County Mayo", "County Donegal", "County Wicklow", "County Monaghan", "County Wexford", "County Waterford"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "29000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"29000000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "County Dublin"}, {"question": "Which county of Alabama that is located in Alabama (which contains Mobile County) has the smallest area?", "choices": ["Dallas County", "Mobile County", "Jackson County", "Baldwin County", "Madison County", "Jefferson County", "Shelby County", "Monroe County", "Washington County", "Montgomery County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mobile County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alabama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Alabama\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Mobile County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "Which city has the lesser area, Indore or Aarhus?", "choices": ["Santo Domingo", "Chihuahua", "Kilkenny", "Indore", "Dundee", "Trieste", "Aarhus", "Kingston", "Abidjan", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indore"]}, {"function": "Find", "dependencies": [], "inputs": ["Aarhus"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Indore\" .  } UNION { ?e <pred:name> \"Aarhus\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Aarhus"}, {"question": "What is the association between J-pop and Ryuichi Sakamoto?", "choices": ["statistical leader", "office held by head of state", "winner", "public holiday", "sibling", "update method", "famous people", "film crew member", "student of", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J-pop"]}, {"function": "Find", "dependencies": [], "inputs": ["Ryuichi Sakamoto"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"J-pop\" . ?e_2 <pred:name> \"Ryuichi Sakamoto\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What point in time did the organization that developed Windows Vista have 131300 employees?", "choices": ["1959", "1846-12-01", "1495-01-01", "2016-05-10", "2018", "1847-01-01", "2010", "1977-12-01", "2016-05-01", "2014-03-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Windows Vista"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["employees", "131300", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <developer> ?e . ?e_1 <pred:name> \"Windows Vista\" .  ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"131300\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2018"}, {"question": "Does the producer of the 2010-04-22 release of Kick-Ass have 00000013812 as their Munzinger IBA?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kick-Ass"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2010-04-22", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["00000013812"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Kick-Ass\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2010-04-22\"^^xsd:date . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000013812\" .  }", "answer": "no"}, {"question": "When did the county  of Pennsylvania that is named after James Monroe (the one that spoke French) has a population of 167148?", "choices": ["350", "2013-07-01", "1993-03-29", "1974-01-01", "2018-06-22", "2004-02-29", "2018-09-04", "2013-09-12", "2017-06-07", "1992-03-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Monroe"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "167148", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"James Monroe\" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> \"French\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"167148\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "When was the population equal to 111147 for the U.S. city where Kathy Baker was born?", "choices": ["1420", "2003-08-01", "2008-11-01", "1996-10-25", "1989-01-01", "1994-12-01", "2017-01-20", "2010", "1987-05-25", "1964-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathy Baker"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "111147", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Kathy Baker\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"111147\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Is jhutch1992 the Twitter username of the person whose native language name is \u09ac\u09bf\u09a6\u09cd\u09af\u09be \u09ac\u09be\u09b2\u09be\u09a8?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "\u09ac\u09bf\u09a6\u09cd\u09af\u09be \u09ac\u09be\u09b2\u09be\u09a8"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["jhutch1992"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"\u09ac\u09bf\u09a6\u09cd\u09af\u09be \u09ac\u09be\u09b2\u09be\u09a8\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"jhutch1992\" .  }", "answer": "no"}, {"question": "Which movie is longer, Joan of Arc (the one that was nominated for Academy Award for Best Actress) or American Psycho?", "choices": ["Pleasantville", "Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "The Fifth Element", "American Psycho", "A Prairie Home Companion", "Curse of the Golden Flower", "Joan of Arc", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joan of Arc"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["American Psycho"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Joan of Arc\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .   } UNION { ?e <pred:name> \"American Psycho\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Joan of Arc"}, {"question": "What is the of the visual artwork that received an Academy Award for Best Picture at the 80th Academy Awards?", "choices": ["Family Plot", "The Island of Dr. Moreau", "Bevolkingsontwikkeling; regio per maand", "No Country for Old Men", "\u5287\u5834\u7248BLEACH Fade to Black \u541b\u306e\u540d\u3092\u547c\u3076", "An Early Frost", "Las Vegas", "Final Fantasy: The Spirits Within", "Slaughterhouse-Five", "Cuba"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "80th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"80th Academy Awards\" . ?e <title> ?pv .  }", "answer": "No Country for Old Men"}, {"question": "For the business located in New Brunswick (the population is 55181) headquarters, when do its employees total 127100?", "choices": ["-4000000", "802701", "1976-01-01", "1965", "2016", "2004-12-31", "2007-10-24", "1997-02-27", "1991-09-11", "1942-02-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "55181", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["employees", "127100", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New Brunswick\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"55181\"^^xsd:double . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"127100\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "What is Etta James' Libris-URI?", "choices": ["sq47cxzb5dpg6qd", "tr579s2c2h617cd", "75kns0sr5sxb9d7", "97mppfct1lq47q5", "31fhlt7m5qkt3q7", "vs68894d5vgwt4p", "86lnnhfs0n6tfcl", "qn2591t858fdcnp", "nl036ld652bh7vf", "vs69f9vd088d0rl"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Etta James"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Etta James\" . ?e <Libris-URI> ?pv .  }", "answer": "sq47cxzb5dpg6qd"}, {"question": "How many written works either derive Mildred Pierce (the one that was nominated for Academy Award for Best Cinematography) or mainly depicts traffic collision?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mildred Pierce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "Find", "dependencies": [], "inputs": ["traffic collision"]}, {"function": "Relate", "dependencies": [6], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["written work"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" .  { ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Mildred Pierce\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" .  } UNION { ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"traffic collision\" .  } }", "answer": "2"}, {"question": "Does Wexford or Montclair have higher elevation above sea level?", "choices": ["Verona", "Ridgewood", "West Orange", "Wexford", "Princeton", "Belleville", "Red Bank", "Livingston", "Montclair", "Whanganui"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wexford"]}, {"function": "Find", "dependencies": [], "inputs": ["Montclair"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wexford\" .  } UNION { ?e <pred:name> \"Montclair\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Montclair"}, {"question": "Who was nominated for an Academy Award for Best Supporting Actor for A Farewell to Arms?", "choices": ["Roland Anderson", "Hans Dreier", "Arthur Kennedy", "Graham Greene", "Mark Wahlberg", "Max Fleischer", "Peter Falk", "Burgess Meredith", "Sylvester Stallone", "Vittorio De Sica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "A Farewell to Arms"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"A Farewell to Arms\" .  }", "answer": "Vittorio De Sica"}, {"question": "What visual artwork the official website http://www.goathemovie.com and the release date that is after 2005?", "choices": ["Goa", "A Prairie Home Companion", "The Water Horse", "Eastern Promises", "Unknown", "He's Just Not That into You", "Grey Gardens", "Rebecca", "Pleasantville", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.goathemovie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2005", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.goathemovie.com\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 2005 ) .  }", "answer": "Goa"}, {"question": "Did Universal Music Group begin before 2006?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Universal Music Group"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2006", "<"]}], "sparql": "ASK { ?e <pred:name> \"Universal Music Group\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }", "answer": "yes"}, {"question": "What does the fiddle have to do with actor Hal Smith ?", "choices": ["mouth of the watercourse", "eye color", "location of discovery", "collection", "political ideology", "famous people", "chief executive officer", "organisation directed from the office or person", "ancestral home", "dialect of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["fiddle"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hal Smith"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"fiddle\" . ?e_2 <pred:name> \"Hal Smith\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the relationship between Shame written by Ingmar Bergman, and black and white!", "choices": ["interests", "notable people with this condition", "has effect", "geography of topic", "takes place in fictional universe", "color", "position held", "narrative role", "symptom of", "archives at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ingmar Bergman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shame\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Ingmar Bergman\" . ?e_2 <pred:name> \"black-and-white\" . ?e_1 ?p ?e_2 .  }", "answer": "color"}, {"question": "What is the link between the North Carolina FC and association football?", "choices": ["sport", "cause of death", "voice actor", "superhuman feature or ability", "film distribute region", "theme music", "killed by", "indigenous to", "officeholder", "game mode"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Carolina FC"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"North Carolina FC\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the connection between Changeling (the one that has Colm Feore as a cast member) to Broadcast Film Critics Association Award for Best Actress?", "choices": ["programming paradigm", "sidekick of", "country of origin", "religion", "significant event", "military branch", "composer", "source of income", "located on terrain feature", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colm Feore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Changeling"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Actress"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Changeling\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Colm Feore\" . ?e_2 <pred:name> \"Broadcast Film Critics Association Award for Best Actress\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When did Gottfried Wilhelm Leibniz attend Leipzig University?", "choices": ["1992-01-17", "1975-09-20", "1953-01-01", "1861-03-29", "1988-04-30", "1934-01-01", "1992-05-23", "1836", "1661", "1797"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gottfried Wilhelm Leibniz"]}, {"function": "Find", "dependencies": [], "inputs": ["Leipzig University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Gottfried Wilhelm Leibniz\" . ?e_2 <pred:name> \"Leipzig University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1661"}, {"question": "How many subsidiary companies are either owned by Microsoft (whose net profit is 16798000000 USD) or use http://www.foxsearchlight.com/  as the official website ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Microsoft"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["net profit", "16798000000 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["owner of", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["subsidiary company"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["official website", "http://www.foxsearchlight.com/"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["subsidiary company"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"subsidiary company\" .  { ?e_1 <owner_of> ?e . ?e_1 <pred:name> \"Microsoft\" . ?e_1 <net_profit> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"16798000000\"^^xsd:double .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.foxsearchlight.com/\" .  } }", "answer": "2"}, {"question": "Does the free software license, whose short name is GNU LGPL, have the official website, http://www.att.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "GNU LGPL"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["free software license"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.att.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"free software license\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"GNU LGPL\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.att.com\" .  }", "answer": "no"}, {"question": "What is the ISNI of Niels Bohr?", "choices": ["0000 0001 1037 1444", "0000 0001 2142 1558", "0000 0000 8399 0345", "0000 0004 0393 9902", "0000 0001 2144 2412", "0000 0004 0414 9988", "0000 0001 1497 3944", "0000 0001 1028 1780", "0000 0001 2184 0672", "0000 0001 2023 1138"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Niels Bohr"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Niels Bohr\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1028 1780"}, {"question": "For which work was Ryan Tedder awarded the Grammy Award for Album of the Year?", "choices": ["Kagemusha", "An Ideal Husband", "21", "The Poet & Peasant", "Naked", "Seabiscuit", "Blue Crush", "Mr. Monk and the Actor", "Doubt", "Sandy Claws"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan Tedder"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Album of the Year"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ryan Tedder\" . ?e_2 <pred:name> \"Grammy Award for Album of the Year\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "21"}, {"question": "Did the person whose brith name is John William DiMaggio not start working in 2006?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "John William DiMaggio"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2006", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"John William DiMaggio\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2006 ) .  }", "answer": "yes"}, {"question": "Gordon Willis and Patrick McGoohan were both born in which neighborhood?", "choices": ["Astoria", "Monte Carlo", "Woodland Hills", "Van Nuys", "Encino", "Roxbury", "Studio City", "Northridge", "Sherman Oaks", "Jamaica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gordon Willis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "Find", "dependencies": [], "inputs": ["Patrick McGoohan"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["neighborhood"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Gordon Willis\" .  ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> \"Patrick McGoohan\" .  }", "answer": "Astoria"}, {"question": "When did Poul Anderson earn a Nebula Award for Best Novella?", "choices": ["1981", "1925-06-16", "2013-04-01", "2018-03-31", "1775-01-01", "1988-01-01", "1307-01-01", "1985-03-25", "2012", "1997"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Poul Anderson"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebula Award for Best Novella"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Poul Anderson\" . ?e_2 <pred:name> \"Nebula Award for Best Novella\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981"}, {"question": "Himesh Reshammiya composed what visual artwork?", "choices": ["Quo Vadis", "Rebecca", "Pleasantville", "Talk to Her", "The King's Speech", "Great Expectations", "Radio", "They Might Be Giants", "Cats & Dogs", "The Fisher King"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Himesh Reshammiya"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Himesh Reshammiya\" .   }", "answer": "Radio"}, {"question": "Where was Extremely Loud and Incredibly Close published on 2012-02-16?", "choices": ["South Africa", "Europe", "Slovenia", "Kazakhstan", "Ukraine", "New Amsterdam Theatre", "Colombia", "Taormina Film Fest", "Germany", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Extremely Loud and Incredibly Close"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2012-02-16", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Extremely Loud and Incredibly Close\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-02-16\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which film titled Queen of the Damned is represented online at http://queenofthedamned.warnerbros.com/?", "choices": ["The Fifth Element", "A Prairie Home Companion", "Curse of the Golden Flower", "Rope", "Talk to Her", "The Towering Inferno", "Pleasantville", "The Hunchback of Notre Dame", "Queen of the Damned", "Training Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Queen of the Damned"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://queenofthedamned.warnerbros.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Queen of the Damned\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://queenofthedamned.warnerbros.com/\" .  }", "answer": "Queen of the Damned"}, {"question": "How many subscribe to the Twitter account of the Man on the Moon composer, as the user m_millsey?", "choices": ["255", "12798", "387064", "59974", "155021", "7870", "50721", "113499", "20876", "25872"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Man on the Moon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "m_millsey", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Man on the Moon\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"m_millsey\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "25872"}, {"question": "John Williams of Darlington F.C. had how many match appearances as a member of that club?", "choices": ["157", "63", "61", "227", "82", "282", "111", "667", "24", "115"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Darlington F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Darlington F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Darlington F.C.\" . ?e_2 <pred:name> \"Darlington F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "24"}, {"question": "What is the connection between The Fugitive (the one whose genre is silent film) to English?", "choices": ["partially contains", "public holiday", "original language of film or TV show", "characters", "facet of", "draft pick from school", "practiced by", "exported to", "military branch", "vehicle normally used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["silent film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fugitive"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fugitive\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"silent film\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Regarding the city that has Punjab as a location (where Saeed Jaffrey was born) (this statement's end time is 1947-08-14), what is the UN/LOCODE?", "choices": ["USCMI", "ITBRC", "ITFRR", "ITMIL", "USCHI", "NZCAN", "ITPAV", "PKRWP", "ITBRI", "DEESS"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saeed Jaffrey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Punjab"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["end time", "1947-08-14", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["UN/LOCODE"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Punjab\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Saeed Jaffrey\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"1947-08-14\"^^xsd:date . ?e <UN/LOCODE> ?pv .  }", "answer": "PKRWP"}, {"question": "How many ethnic groups include the ethnic group KRS-One or are in the country of Kazakhstan?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["KRS-One"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "Find", "dependencies": [], "inputs": ["Kazakhstan"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic group"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" .  { ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"KRS-One\" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"Kazakhstan\" .  } }", "answer": "3"}, {"question": "What is the connection between Charlie Daniels (the one whose genre is country music) to Epic Records?", "choices": ["depicts", "named after", "office held by head of state", "captain", "military rank", "has quality", "record label", "next lower rank", "executive producer", "has cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["country music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Daniels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Epic Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charlie Daniels\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"country music\" . ?e_2 <pred:name> \"Epic Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "Who has ISNI value of 0000 0000 7102 2478?", "choices": ["Didier Six", "William Henry Harrison", "Richard Gere", "Jonathan Lethem", "Sylvester Stallone", "Michael Gladis", "Max Fleischer", "Irene Cara", "Burt Reynolds", "Michael Bay"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7102 2478"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7102 2478\" .  }", "answer": "Irene Cara"}, {"question": "How is the University of Idaho related to Moscow (founded in 1871)?", "choices": ["field of work", "sport", "sidekick of", "killed by", "producer", "main food source", "located in the administrative territorial entity", "culture", "home venue", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Idaho"]}, {"function": "Find", "dependencies": [], "inputs": ["Moscow"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1871", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Idaho\" . ?e_2 <pred:name> \"Moscow\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1871 . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "How is Tango & Cash related to the buddy film genre?", "choices": ["official religion", "manufacturer", "official language", "genre", "has immediate cause", "allegiance", "place of birth", "has part", "language of work or name", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tango & Cash"]}, {"function": "Find", "dependencies": [], "inputs": ["buddy film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tango & Cash\" . ?e_2 <pred:name> \"buddy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Martin Clunes is cast in what role on Shakespeare in Love?", "choices": ["Alastor Moody", "Christine Chapel", "Richard Burbage", "B.E.N.", "Alexander Conklin", "Pam Halpert", "King Jaffe", "Andrew Martin", "Vivien Leigh", "Shelby Forthright"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shakespeare in Love"]}, {"function": "Find", "dependencies": [], "inputs": ["Martin Clunes"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shakespeare in Love\" . ?e_2 <pred:name> \"Martin Clunes\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Richard Burbage"}, {"question": "Which jazz was conceived of in 1948?", "choices": ["The Third Man", "Lombardy", "free jazz", "University of Ghana", "Jazz piano", "Tony Award for Best Actor in a Musical", "swing music", "cool jazz", "vocal jazz", "avant-garde jazz"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1948", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["jazz"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e <inception> ?pv . ?pv <pred:year> 1948 .  }", "answer": "cool jazz"}, {"question": "Tell me the person that has the Munzinger IBA of 00000026507 and whose birth name is Javier \u00c1ngel Encinas Bardem", "choices": ["Sylvester Stallone", "Javier Bardem", "Simon Cowell", "William Henry Harrison", "Max Fleischer", "Paul Simon", "James E. Reilly", "David Byrne", "Babyface", "Rahul Dev Burman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000026507"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Javier \u00c1ngel Encinas Bardem"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000026507\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Javier \u00c1ngel Encinas Bardem\" .  }", "answer": "Javier Bardem"}, {"question": "Is scorpions the Instagram username of Asteras Tripoli F.C.?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asteras Tripoli F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["scorpions"]}], "sparql": "ASK { ?e <pred:name> \"Asteras Tripoli F.C.\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"scorpions\" .  }", "answer": "no"}, {"question": "For which work was John Houseman (the one that was nominated for Academy Award for Best Picture) awarded the Academy Award for Best Supporting Actor?", "choices": ["Casablanca", "Quartet", "The Day of the Dolphin", "Jean de Florette", "The Paper Chase", "Vs.", "Saturday Night Fever", "In the Mood for Love", "That's My Boy", "The Glass Menagerie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Houseman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Houseman\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Picture\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Paper Chase"}, {"question": "A 162-minute run-time applies to which part of the visual artwork titled Watchmen?", "choices": ["Metropolitan France", "Haywood County", "Northern Mariana Islands", "French Polynesia", "sport", "EU/EEA Citizen", "3rd arrondissement of Paris", "Bedford County", "theatrical version", "Slope County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Watchmen"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["duration", "162 minute", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Watchmen\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"162\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <duration> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "theatrical version"}, {"question": "Is the title of the film with the official website of http://constantinemovie.warnerbros.com/ Constantine?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://constantinemovie.warnerbros.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Constantine"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://constantinemovie.warnerbros.com/\" . ?e <title> ?pv . ?pv <pred:value> \"Constantine\" .  }", "answer": "yes"}, {"question": "When was Carlisle United F.C. founded?", "choices": ["1904", "1869", "1901-10-25", "1264", "2003-08-11", "1790-03-04", "1635", "1994", "1731", "1721-10-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carlisle United F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Carlisle United F.C.\" . ?e <inception> ?pv .  }", "answer": "1904"}, {"question": "What band has the ISNI of 0000 0001 1551 0669?", "choices": ["The Kinks", "Dixie Chicks", "Grateful Dead", "The Monkees", "Simply Red", "Band Aid", "Sonic Youth", "Roxy Music", "Funkadelic", "The Pretenders"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1551 0669"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1551 0669\" .  }", "answer": "Funkadelic"}, {"question": "Does Walmart or General Electric have greater market capitalization?", "choices": ["Skidmore Owings Merrill", "Silver Pictures", "General Electric", "McDonald's", "Adobe Inc.", "Walmart", "Sega", "Vodafone", "Entertainment One", "KLM"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walmart"]}, {"function": "Find", "dependencies": [], "inputs": ["General Electric"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["market capitalization", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Walmart\" .  } UNION { ?e <pred:name> \"General Electric\" .  } ?e <market_capitalization> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "General Electric"}, {"question": "Which independent city is the headquarter location of the university whose PermID is 4298207706 ?", "choices": ["Roanoke", "Winchester", "Alexandria", "Suffolk", "Hampton", "Danville", "Richmond", "Newport News", "Williamsburg", "Charlottesville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4298207706"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["independent city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"university\" . ?e_1 <PermID> ?pv . ?pv <pred:value> \"4298207706\" .   }", "answer": "Richmond"}, {"question": "Which is shorter, Crash composed by Howard Shore or Star Wars Episode II: Attack of the Clones?", "choices": ["Talk to Her", "Crash", "Training Day", "Star Wars Episode II: Attack of the Clones", "The Fifth Element", "Pleasantville", "The Towering Inferno", "Curse of the Golden Flower", "A Prairie Home Companion", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Howard Shore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crash"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode II: Attack of the Clones"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crash\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Howard Shore\" .   } UNION { ?e <pred:name> \"Star Wars Episode II: Attack of the Clones\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Crash"}, {"question": "What is the connection between MTV Video Music Award for Best Visual Effects to T-Pain?", "choices": ["league", "candidacy in election", "designed by", "collection", "subsidiary", "winner", "work location", "screenwriter", "military conflicts", "named after"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Visual Effects"]}, {"function": "Find", "dependencies": [], "inputs": ["T-Pain"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best Visual Effects\" . ?e_2 <pred:name> \"T-Pain\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "When was the teacher of Bruce Lee born?", "choices": ["1971-10-29", "1967-04-06", "1892-07-18", "1893-10-01", "1871-11-27", "1983-08-21", "1947-12-08", "1968-10-17", "1956-01-01", "1961-01-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruce Lee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["student", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <student> ?e_1 . ?e_1 <pred:name> \"Bruce Lee\" .  ?e <date_of_birth> ?pv .  }", "answer": "1893-10-01"}, {"question": "How are Germany and Haiti related?", "choices": ["signatory", "separated from", "tributary", "original network", "theme music", "officially opened by", "connects with", "diplomatic relation", "director/manager", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Haiti"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Germany\" . ?e_2 <pred:name> \"Haiti\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which religious building where Isaac Newton is interred has the native label Westminster Abbey?", "choices": ["Bill Wyman", "Basilica of Saint-Denis", "Raith Rovers F.C.", "Dr. Luke", "Westminster Abbey", "Touch and Go Records", "St George's Chapel", "programmer", "St. Augustine", "Jack Warner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Isaac Newton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of burial", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religious building"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["native label", "Westminster Abbey"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["religious building"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religious building\" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> \"Isaac Newton\" .  ?e <native_label> ?pv . ?pv <pred:value> \"Westminster Abbey\" .  }", "answer": "Westminster Abbey"}, {"question": "What work by director Ivan Reitman is not 100 minutes?", "choices": ["Contact", "Downton Abbey", "True Grit", "A Prairie Home Companion", "Into the West", "Ghostbusters", "Evolution", "Arizona", "Rebecca", "Pulp Fiction"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "100 minute", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Ivan Reitman"]}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"100\"^^xsd:double ) . ?e <director> ?e_1 . ?e_1 <pred:name> \"Ivan Reitman\" .  }", "answer": "Evolution"}, {"question": "For the province of the Philippines whose postal code is 6000\u20136053, what was the determination method used to get the value of its population of 2938982?", "choices": ["resident registration", "average", "register office", "gross floor area", "Russian Empire Census", "administrative division valid at the moment of publication", "population projection", "estimation", "census", "tradition"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "6000\u20136053"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Philippines"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "2938982", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Philippines\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"6000\u20136053\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2938982\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "What is the ISNI of Michael O'Neill (the one that has the occupation of poet)?", "choices": ["0000 0000 3600 3124", "0000 0001 2128 3693", "0000 0000 7823 3593", "0000 0001 2299 7436", "0000 0001 2119 6004", "0000 0000 9368 9708", "0000 0001 0912 7460", "0000 0000 8146 7200", "0000 0001 1075 4939", "0000 0001 1478 3817"], "program": [{"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael O'Neill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Michael O'Neill\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"poet\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1478 3817"}, {"question": "Which has less cost, Seven Psychopaths or Home Alone starring Hope Davis?", "choices": ["A Prairie Home Companion", "The Towering Inferno", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "Seven Psychopaths", "Home Alone", "Pleasantville", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seven Psychopaths"]}, {"function": "Find", "dependencies": [], "inputs": ["Hope Davis"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Home Alone"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seven Psychopaths\" .  } UNION { ?e <pred:name> \"Home Alone\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Hope Davis\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seven Psychopaths"}, {"question": "Which one of the video game consoles introduced after 1983 has the smallest number of sold units ?", "choices": ["Howl's Moving Castle", "Wii", "John Davis", "Champaign", "PlayStation 2", "PlayStation 3", "Nintendo Entertainment System", "Portugal national football team", "Xbox 360", "Howard the Duck"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1983", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1983 ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nintendo Entertainment System"}, {"question": "How is Looney Tunes: Back in Action (whose game mode is multiplayer video game) related to multiplayer video games?", "choices": ["broadcast by", "opposite of", "copyright representative", "legal form", "student of", "record label", "languages spoken, written or signed", "game mode", "drug used for treatment", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Looney Tunes: Back in Action"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["multiplayer video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Looney Tunes: Back in Action\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"multiplayer video game\" . ?e_2 <pred:name> \"multiplayer video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "What administrative territorial entity is Las Vegas, where B. B. King and Steve Gerber died, located in ?", "choices": ["British Raj", "Roer", "Habsburg Monarchy", "Los Angeles", "Nevada", "Minnesota", "Tennessee", "Kilo", "Kentucky", "Utah"], "program": [{"function": "Find", "dependencies": [], "inputs": ["B. B. King"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Gerber"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Las Vegas"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of death", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"B. B. King\" . ?e_2 <pred:name> \"Las Vegas\" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> \"Steve Gerber\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Nevada"}, {"question": "Which area is larger, Washington County (the one that partially contains Adirondack Mountains) or Wayne County (the one whose population is 93772)?", "choices": ["Jefferson County", "Cayuga County", "Warren County", "Orange County", "Albany County", "Niagara County", "Washington County", "Rensselaer County", "Clinton County", "Wayne County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adirondack Mountains"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partially contains", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wayne County"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "93772", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> \"Adirondack Mountains\" . } UNION { ?e <pred:name> \"Wayne County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"93772\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Wayne County"}, {"question": "When was Bruce Sterling an Arthur C. Clarke Award recipient?", "choices": ["1993-01-01", "1852-01-01", "2012-06-10", "2014-09-30", "1999-01-01", "2010-08-11", "2000", "2009-11-20", "2014-01-01", "1994-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruce Sterling"]}, {"function": "Find", "dependencies": [], "inputs": ["Arthur C. Clarke Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bruce Sterling\" . ?e_2 <pred:name> \"Arthur C. Clarke Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "Which one has less running time between Back to the Future Part III and Pirates of the Caribbean: On Stranger Tides?", "choices": ["National Treasure: Book of Secrets", "Pirates of the Caribbean: On Stranger Tides", "John Carter", "The Flintstones in Viva Rock Vegas", "Alvin and the Chipmunks: Chipwrecked", "Back to the Future Part III", "Holes", "Old Dogs", "G-Force", "The Flintstones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part III"]}, {"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: On Stranger Tides"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Back to the Future Part III\" .  } UNION { ?e <pred:name> \"Pirates of the Caribbean: On Stranger Tides\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Back to the Future Part III"}, {"question": "What is the series ordinal of Hercules (the one whose publication date is 1997-06-15) which features Matt Frewer as a voice actor?", "choices": ["114", "70", "64", "15", "25", "5", "49", "90", "4", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1997-06-15", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Matt Frewer"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["voice actor", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hercules\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1997-06-15\"^^xsd:date . ?e_2 <pred:name> \"Matt Frewer\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "15"}, {"question": "What is the relation between Estelle Harris and American Jews?", "choices": ["partially contains", "studies", "student", "official color", "native language", "licensed to broadcast to", "patron saint", "director", "appears in the form of", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Estelle Harris"]}, {"function": "Find", "dependencies": [], "inputs": ["American Jews"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Estelle Harris\" . ?e_2 <pred:name> \"American Jews\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Is the ISNI of an organization, whose PermID is 5000448942, 0000 0004 0627 1848 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5000448942"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0004 0627 1848"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5000448942\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0627 1848\" .  }", "answer": "yes"}, {"question": "Is there less area in the Province of Turin or in the Province of Cuneo ?", "choices": ["Province of Salerno", "Province of Palermo", "province of Milan", "Province of Cagliari", "Province of Naples", "Province of Como", "Province of Potenza", "Province of Cuneo", "Province of Turin", "Province of Rome"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Turin"]}, {"function": "Find", "dependencies": [], "inputs": ["Province of Cuneo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Province of Turin\" .  } UNION { ?e <pred:name> \"Province of Cuneo\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Province of Turin"}, {"question": "Which British Museum person-institution code corresponds to the individual with CANTIC-ID a11325446?", "choices": ["108453", "214383", "23975", "205078", "152225", "18828", "101159", "178608", "89087", "200775"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11325446"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11325446\" . ?e <British_Museum_person-institution> ?pv .  }", "answer": "200775"}, {"question": "Between Cook Islands or Faroe Islands, which one is smaller in area?", "choices": ["Cook Islands", "Greenland", "Academy Award for Best Supporting Actor", "Netherlands", "Scotland", "Edward Elgar", "colorectal cancer", "Wales", "Faroe Islands", "Chatham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cook Islands"]}, {"function": "Find", "dependencies": [], "inputs": ["Faroe Islands"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cook Islands\" .  } UNION { ?e <pred:name> \"Faroe Islands\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cook Islands"}, {"question": "Does Papua New Guinea or Finland have less total reserves?", "choices": ["Denmark", "Saint Vincent and the Grenadines", "Ukrainian Soviet Socialist Republic", "Papua New Guinea", "Lithuania", "Trinidad and Tobago", "Tajikistan", "Jamaica", "Kazakhstan", "Kosovo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Papua New Guinea"]}, {"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total reserves", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Papua New Guinea\" .  } UNION { ?e <pred:name> \"Finland\" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Papua New Guinea"}, {"question": "Which occupation includes winger (the one related to the sport ice hockey) and is the position of Pittsburgh Penguins member Mark Johnson?", "choices": ["small forward", "all-rounder", "lead vocalist", "forward", "samurai", "defenceman", "partner", "contestant", "singer-songwriter", "strongman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ice hockey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["winger"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["occupation"]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Penguins"]}, {"function": "Relate", "dependencies": [6], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Johnson"]}, {"function": "And", "dependencies": [7, 8], "inputs": []}, {"function": "Relate", "dependencies": [9], "inputs": ["position played on team / speciality", "forward"]}, {"function": "FilterConcept", "dependencies": [10], "inputs": ["occupation"]}, {"function": "And", "dependencies": [5, 11], "inputs": []}, {"function": "What", "dependencies": [12], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"winger\" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> \"ice hockey\" .  ?e_3 <position_played_on_team_/_speciality> ?e . ?e_3 <pred:name> \"Mark Johnson\" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> \"Pittsburgh Penguins\" .  }", "answer": "forward"}, {"question": "When was the person that was born in York (the one whose official website is http://www.yorkcity.org) born?", "choices": ["1949-07-22", "1969-10-12", "1966-10-26", "1968-02-16", "1968-01-02", "1973-05-04", "1901-08-04", "1964-11-11", "1899-08-28", "1940-06-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["York"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.yorkcity.org"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"York\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.yorkcity.org\" . ?e <date_of_birth> ?pv .  }", "answer": "1969-10-12"}, {"question": "Among TV shows who ran for less than 20 seasons, which one has the most episodes?", "choices": ["variety", "Monster House", "The Wire, season 2", "Peter Pan", "Lost, season 3", "The Larry Sanders Show", "The Wire, season 1", "The Wire, season 3", "The Wire, season 5", "Cold War"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "20", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television program"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"20\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Larry Sanders Show"}, {"question": "What is the LIBRIS-URI of Elvis Presley ?", "choices": ["qn2456981zw05zd", "42gjksfn1grm15p", "vs68bt2d349071c", "nl037st6321rf50", "86lnpgfs38q0gs4", "dbqt2c0x33rwzkp", "31fhlbnm59ldzjj", "b8nr0pjv2pznktn", "fcrtvnwz11lv92q", "qn2478x8130dbs8"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elvis Presley"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Elvis Presley\" . ?e <Libris-URI> ?pv .  }", "answer": "vs68bt2d349071c"}, {"question": "Is the Bristol Rovers football club nicknamed \u039f\u03b9 \u03c0\u03b5\u03b9\u03c1\u03b1\u03c4\u03ad\u03c2 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bristol Rovers F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["nickname"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u039f\u03b9 \u03c0\u03b5\u03b9\u03c1\u03b1\u03c4\u03ad\u03c2"]}], "sparql": "ASK { ?e <pred:name> \"Bristol Rovers F.C.\" . ?e <nickname> ?pv . ?pv <pred:value> \"\u039f\u03b9 \u03c0\u03b5\u03b9\u03c1\u03b1\u03c4\u03ad\u03c2\" .  }", "answer": "yes"}, {"question": "What is the connection between Suffolk (the one that shares border with Chesapeake) to Chesapeake?", "choices": ["use", "shares border with", "has edition", "taxon rank", "participant", "narrative role", "dedicated to", "has cause", "costume designer", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chesapeake"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Suffolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chesapeake"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Suffolk\" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"Chesapeake\" . ?e_2 <pred:name> \"Chesapeake\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which territorial jurisdiction applies to its official website at http://fshf.org/en/, for the national association football team whose ranking is not equal to 60 (the league points of this statement is 618)?", "choices": ["Oryol Oblast", "Chechen Republic", "Tver Oblast", "Tambov Oblast", "Brazil", "Novgorod Oblast", "United Kingdom", "Greece", "Khanty-Mansi Autonomous Okrug", "France"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "60", "!="]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["points for", "618", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://fshf.org/en/", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"60\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <points_for> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"618\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://fshf.org/en/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What is the beginning date of the geographic region that becomes the country of Haifa?", "choices": ["1965", "1902-05-26", "1911-03-27", "1721-04-04", "1428", "1817-12-10", "1920-07-01", "1906-01-01", "1722", "1503"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haifa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Haifa\" .  ?e <inception> ?pv .  }", "answer": "1920-07-01"}, {"question": "What is the connection between teacher to student?", "choices": ["inspired by", "illustrator", "license", "published in", "official color", "programming language", "relative", "opposite of", "director", "start point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["teacher"]}, {"function": "Find", "dependencies": [], "inputs": ["student"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"teacher\" . ?e_2 <pred:name> \"student\" . ?e_1 ?p ?e_2 .  }", "answer": "opposite of"}, {"question": "Was the population of Czechoslovakia above 0.6 in 1921?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Czechoslovakia"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "1921"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["0.6", ">"]}], "sparql": "ASK { ?e <pred:name> \"Czechoslovakia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0.6\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1921 .  }", "answer": "yes"}, {"question": "Who has more net worth, Ryan Seacrest or Mark Wahlberg?", "choices": ["Max Fleischer", "Richard Gere", "James E. Reilly", "Mark Wahlberg", "David Byrne", "Simon Cowell", "Ryan Seacrest", "Sylvester Stallone", "Rahul Dev Burman", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan Seacrest"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Wahlberg"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ryan Seacrest\" .  } UNION { ?e <pred:name> \"Mark Wahlberg\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ryan Seacrest"}, {"question": "tell me the one that is longer, The Matrix Reloaded or Heat (which has the cast member Jeremy Piven)", "choices": ["The Hunchback of Notre Dame", "Heat", "Training Day", "Talk to Her", "The Towering Inferno", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "The Matrix Reloaded", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Matrix Reloaded"]}, {"function": "Find", "dependencies": [], "inputs": ["Jeremy Piven"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heat"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Matrix Reloaded\" .  } UNION { ?e <pred:name> \"Heat\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jeremy Piven\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Heat"}, {"question": "How many time zones are the standard time of Pittsburgh (that contains the University of Pittsburgh)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Pittsburgh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["time zone"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"time zone\" . ?e_1 <located_in_time_zone> ?e . ?e_1 <pred:name> \"Pittsburgh\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"University of Pittsburgh\" .   }", "answer": "1"}, {"question": "Which has more students, University of St Andrews or Makerere University?", "choices": ["Makerere University", "Imperial College London", "University of Tehran", "McNeese State University", "McMaster University", "King's College London", "University of Manchester", "Pennsylvania State University", "Panjab University", "University of St Andrews"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of St Andrews"]}, {"function": "Find", "dependencies": [], "inputs": ["Makerere University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of St Andrews\" .  } UNION { ?e <pred:name> \"Makerere University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Makerere University"}, {"question": "When was the written work titled Goldfinger published?", "choices": ["2010-07-09", "2017-08-02", "2012-10-23", "2006-11-30", "2003-03-13", "2012-10-29", "2007-09-28", "1990-10-06", "1989-09-23", "1959-03-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Goldfinger"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Goldfinger\" . ?e <publication_date> ?pv .  }", "answer": "1959-03-23"}, {"question": "The density of how many chemical elements is different from 6.9 grams per cubic cm?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["density", "6.9 gram per cubic centimetre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <density> ?pv . ?pv <pred:unit> \"gram per cubic centimetre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"6.9\"^^xsd:double ) .  }", "answer": "2"}, {"question": "Did the person whose birth name is \u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447 \u042f\u043d\u043e\u0432\u0441\u043a\u0438\u0439 start working before 1827?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447 \u042f\u043d\u043e\u0432\u0441\u043a\u0438\u0439"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1827", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447 \u042f\u043d\u043e\u0432\u0441\u043a\u0438\u0439\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1827 ) .  }", "answer": "no"}, {"question": "Which university has the IPv4 routing prefix of 195.27.20.116/30", "choices": ["University of Glasgow", "University of Manchester", "Pennsylvania State University", "University of Leicester", "University of Exeter", "University of Oxford", "University of Birmingham", "University of Warwick", "McNeese State University", "University of North Dakota"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv4 routing prefix", "195.27.20.116/30"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"195.27.20.116/30\" .  }", "answer": "University of Warwick"}, {"question": "What is the Twitter username of the higher education institution whose native label is McGill University?", "choices": ["ReallyMarcia", "fcaugsburg", "LancasterUni", "KellyOsbourne", "official_brfc", "islamicmoqawama", "mcgillu", "terrygilliam", "bayer04fussball", "KaohsiungCity"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "McGill University"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"McGill University\" . ?e <Twitter_username> ?pv .  }", "answer": "mcgillu"}, {"question": "What is the formation date of the band whose official website is http://www.allmanbrothersband.com/?", "choices": ["1969-01-01", "1873-01-01", "1993-11-16", "1956-11-01", "1645", "-4527000000", "1901-11-28", "1559", "1838", "2006-03-11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.allmanbrothersband.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.allmanbrothersband.com/\" . ?e <inception> ?pv .  }", "answer": "1969-01-01"}, {"question": "How is Freddie Hubbard identified by ISNI?", "choices": ["0000 0001 1551 1290", "0000 0001 1468 4640", "0000 0001 1446 2300", "0000 0001 2122 4765", "0000 0001 2192 4040", "0000 0000 8121 0130", "0000 0001 2238 1674", "0000 0001 2142 0985", "0000 0004 1763 347X", "0000 0000 6304 3244"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freddie Hubbard"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Freddie Hubbard\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1446 2300"}, {"question": "Which movie, distinct from Mr. & Mrs. Smith with Robert Montgomery as a cast member, has a run-time under 640 minutes?", "choices": ["Mr. & Mrs. Smith", "Talk to Her", "The Towering Inferno", "Rebecca", "A Prairie Home Companion", "Training Day", "The Fifth Element", "You've Got Mail", "The Shining", "Mississippi Burning"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Montgomery"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mr. & Mrs. Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["duration", "640 minute", "<"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Mr. & Mrs. Smith\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Robert Montgomery\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"640\"^^xsd:double ) .  }", "answer": "Mr. & Mrs. Smith"}, {"question": "What person was born in Charlottesville?", "choices": ["Max Fleischer", "Rob Lowe", "Tom Waits", "Italo Calvino", "Kim Kardashian", "Robert Smith", "Sylvester Stallone", "Pete Postlethwaite", "Zachary Taylor", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlottesville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Charlottesville\" .   }", "answer": "Rob Lowe"}, {"question": "Was the production designer for Fiddler on the Roof born in a year other than 1968 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fiddler on the Roof"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1968", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <production_designer> ?e . ?e_1 <pred:name> \"Fiddler on the Roof\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1968 ) .  }", "answer": "yes"}, {"question": "Is the running time shorter for Out of Sight, with a story set in the Miami metro area, or for Ned Kelly ( published on 1970-01-01)?", "choices": ["The Towering Inferno", "Curse of the Golden Flower", "Rebecca", "Training Day", "Out of Sight", "Talk to Her", "Pleasantville", "Ned Kelly", "The Fifth Element", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miami metropolitan area"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Out of Sight"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ned Kelly"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1970-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Out of Sight\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Miami metropolitan area\" . } UNION { ?e <pred:name> \"Ned Kelly\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1970-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ned Kelly"}, {"question": "Which area is larger in size, Tianjin or Alexandria (the one whose population is 2926859)?", "choices": ["Fremantle", "The Go-Between", "Gibraltar", "\u0130zmir", "Odessa", "Busan", "Alexandria", "Basra", "Tianjin", "Barcelona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tianjin"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "2926859", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tianjin\" . } UNION { ?e <pred:name> \"Alexandria\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2926859\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tianjin"}, {"question": "What is the character role of Kelsey Grammer in Frasier?", "choices": ["Flamingoes", "Frasier Crane", "Cosmo Kramer", "Cleveland Brown", "Naomi", "Commodus", "Professor Lewis", "Lynette Scavo", "Ed Masterson", "George Villiers, 1st Duke of Buckingham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frasier"]}, {"function": "Find", "dependencies": [], "inputs": ["Kelsey Grammer"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Frasier\" . ?e_2 <pred:name> \"Kelsey Grammer\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Frasier Crane"}, {"question": "What is the connection between Frank Miller (the one whose ISNI is 0000 0000 5006 8805) to London (the one that is the filming location of Being Julia)?", "choices": ["location of formation", "field of work", "candidacy in election", "work location", "located on astronomical location", "language of work or name", "worshipped by", "place of birth", "place of origin (Switzerland)", "developer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Miller"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5006 8805"]}, {"function": "Find", "dependencies": [], "inputs": ["Being Julia"]}, {"function": "Relate", "dependencies": [2], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Miller\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5006 8805\" . ?e_2 <pred:name> \"London\" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> \"Being Julia\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What's the relationship between Awakenings and Peter Stormare?", "choices": ["penalty", "original network", "cast member", "screenwriter", "drafted by", "operating area", "officeholder", "successful candidate", "opposite of", "eye color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Awakenings"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Stormare"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Awakenings\" . ?e_2 <pred:name> \"Peter Stormare\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the birth name of David Brown who was born on 1978-10-02?", "choices": ["Timothy P. Minear", "Robert Carlyle Byrd", "Demetria Gene Guynes", "Armondo Munoz", "Joseph Philippe Pierre Yves Elliott Trudeau", "Charles Jonathan Mahoney", "David Alistair Brown", "Timothy Walter Burton", "Alanis Nadine Morissette", "Roger Addison Moore"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1978-10-02", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"David Brown\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1978-10-02\"^^xsd:date . ?e <birth_name> ?pv .  }", "answer": "David Alistair Brown"}, {"question": "Where is the film published that has the character Martin Heidegger and a publication date of 2013-01-10?", "choices": ["2008 Toronto International Film Festival", "Israel", "BFI London Film Festival", "United Arab Emirates", "Germany", "Bulgaria", "Moscow", "Romania", "Bahrain", "Lithuania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin Heidegger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["characters", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2013-01-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <characters> ?e_1 . ?e_1 <pred:name> \"Martin Heidegger\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2013-01-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did Richard M. Sherman receive the Academy Awards ceremony>", "choices": ["1935", "1798", "1601-01-01", "1980-01-01", "1965-04-05", "2012-05-09", "1961-01-01", "1571-01-01", "2001-01-01", "1933-01-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard M. Sherman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Richard M. Sherman\" .  ?e <point_in_time> ?pv .  }", "answer": "1965-04-05"}, {"question": "Regarding the agent that broadcasts Mobile Suit Gundam SEED Destiny originally, was the PermID exactly 4297147125 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mobile Suit Gundam SEED Destiny"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PermID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["4297147125"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Mobile Suit Gundam SEED Destiny\" .  ?e <PermID> ?pv . ?pv <pred:value> \"4297147125\" .  }", "answer": "no"}, {"question": "What language is associated with the official website http://www.atlantasilverbacks.com/fc/ for the association football club whose Twitter username is ATLSilverbacks?", "choices": ["Spanish", "Tamil", "Belgian French", "Albanian", "multiple languages", "Northern Sotho", "English", "Classical Latin", "Slavic languages", "Arabic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ATLSilverbacks"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.atlantasilverbacks.com/fc/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ATLSilverbacks\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.atlantasilverbacks.com/fc/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many MTV Movie Awards were nominated for Independence Day (the one that has Mae Whitman as a cast member) or have an inception time that is not in 1992?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mae Whitman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Independence Day"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["MTV Movie Awards"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [6], "inputs": ["inception", "1992", "!="]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["MTV Movie Awards"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Movie Awards\" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Independence Day\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Mae Whitman\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1992 ) .  } }", "answer": "4"}, {"question": "Did the person with ISNI 0000 0001 2117 5211 die after 1970?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2117 5211"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1970", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2117 5211\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1970 ) .  }", "answer": "no"}, {"question": "Among the former French Region Find the Smallest population whose population is less than 5100000.", "choices": ["Lorraine", "Burgundy", "Aquitaine", "Champagne-Ardenne", "Lower Normandy", "Upper Normandy", "Alsace", "Picardy", "Languedoc-Roussillon", "Nord-Pas-de-Calais"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5100000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"5100000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Champagne-Ardenne"}, {"question": "What proportion of The CW is owned by Warner Bros.?", "choices": ["0.8", "0.775", "0.998470129", "0.5", "0.033", "0.264", "0.126", "0.2", "0.821", "0.911"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The CW"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["owned by", "proportion"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The CW\" . ?e_2 <pred:name> \"Warner Bros.\" . ?e_1 <owned_by> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e_2 ] <proportion> ?qpv .  }", "answer": "0.5"}, {"question": "How many independent German cities officially named Weimar are at zip code 15236?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Weimar"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "15236"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent city of Germany"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <official_name> ?pv . ?pv <pred:value> \"Weimar\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"15236\" .  }", "answer": "0"}, {"question": "How many art movements succeeded by existentialism were influenced by modern architecture?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["existentialism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "Find", "dependencies": [], "inputs": ["modern architecture"]}, {"function": "Relate", "dependencies": [3], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art movement"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"existentialism\" .  ?e <influenced_by> ?e_2 . ?e_2 <pred:name> \"modern architecture\" .  }", "answer": "0"}, {"question": "Is there less real gross domestic product growth rate in Dominica or in Hungary?", "choices": ["Samoa", "Russian Soviet Federative Socialist Republic", "Kiribati", "Benin", "Switzerland", "Weimar Republic", "Socialist Federal Republic of Yugoslavia", "South Sudan", "Cambodia", "Dominica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dominica"]}, {"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["real gross domestic product growth rate", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dominica\" .  } UNION { ?e <pred:name> \"Hungary\" .  } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dominica"}, {"question": "What is the publication date for the entity of entertainment whose Nintendo GameID is GHLX69 ?", "choices": ["1967-04-28", "1974-12-28", "1998-09-07", "1998-04-23", "2010-06-24", "2001-11-15", "2005-05-04", "2005-12-16", "2000-05-25", "2006-06-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GHLX69"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"GHLX69\" . ?e <publication_date> ?pv .  }", "answer": "2001-11-15"}, {"question": "When did Visalia have a populaton of 124442?", "choices": ["2010-05-26", "1770-01-01", "1911-05-28", "2013-04-11", "2015-05-07", "1350-01-01", "2010", "1880-12-01", "2009-03-11", "1990"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Visalia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "124442", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Visalia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"124442\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "What is the date of birth for Sean Lennon?", "choices": ["1975-10-09", "1991-02-14", "1959-04-15", "1954-08-12", "1956-04-30", "1975-08-12", "1964-04-24", "1948-03-17", "1915-07-18", "1970-11-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sean Lennon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Sean Lennon\" . ?e <date_of_birth> ?pv .  }", "answer": "1975-10-09"}, {"question": "Which movie is longer, The Twilight Saga: New Moon or Maid in Manhattan?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her", "Maid in Manhattan", "The Twilight Saga: New Moon", "The Fifth Element", "Training Day", "Pleasantville", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Twilight Saga: New Moon"]}, {"function": "Find", "dependencies": [], "inputs": ["Maid in Manhattan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Twilight Saga: New Moon\" .  } UNION { ?e <pred:name> \"Maid in Manhattan\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Twilight Saga: New Moon"}, {"question": "What private not-for-profit learning institution's establishment date is after 1755 and official website is http://www.spelman.edu/?", "choices": ["Virginia Union University", "Union Theological Seminary", "Princeton Theological Seminary", "Abilene Christian University", "Culinary Institute of America", "Hobart and William Smith Colleges", "Teachers College", "Spelman College", "American Academy of Dramatic Arts", "Dallas Theological Seminary"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1755", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private not-for-profit educational institution"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.spelman.edu/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private not-for-profit educational institution"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private not-for-profit educational institution\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1755 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.spelman.edu/\" .  }", "answer": "Spelman College"}, {"question": "Which has the most area among the California counties established before 1893?", "choices": ["Alameda County", "Mariposa County", "San Bernardino County", "Marin County", "Kern County", "Tulare County", "Monterey County", "Merced County", "Humboldt County", "Mono County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1893", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1893 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Bernardino County"}, {"question": "Which person is a member of Tom Petty and the Heartbreakers?", "choices": ["Cat Stevens", "Max Fleischer", "Ritchie Blackmore", "Bill Fagerbakke", "Tom Petty", "Robert Plant", "Mars", "Sylvester Stallone", "William Henry Harrison", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Petty and the Heartbreakers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"Tom Petty and the Heartbreakers\" .   }", "answer": "Tom Petty"}, {"question": "What is the character role of Laura Linney as a cast member of John Adams (that has Danny Huston as a member of the cast)?", "choices": ["Homer Simpson", "Seth Gecko", "Pieter van Ruijven", "Abigail Adams", "Ford Prefect", "Paris Carver", "Matchmaker", "Anya", "Oafish Guard", "Bruce Banner / Hulk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danny Huston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Laura Linney"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Adams\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Danny Huston\" . ?e_2 <pred:name> \"Laura Linney\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Abigail Adams"}, {"question": "When was the Human Development Index 0.91 for the sovereign state which has the demonym of kanadai?", "choices": ["2017-01-12", "2014-12-18", "2012", "1994-12-01", "2011-03-31", "1995-10-17", "2001-12-19", "1996-03-25", "2001-03-25", "2001-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "kanadai"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Human Development Index", "0.91", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"kanadai\" . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.91\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "Which mountain range whose elevation above sea level is over 720 foot has the highest elevation above sea level?", "choices": ["Alps", "Blue Ridge Mountains", "Sierra Nevada", "Appalachian Mountains", "Pyrenees", "Adirondack Mountains", "Himalayas", "Pennine Alps", "Sandra Bernhard", "Cascade Range"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "720 foot", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"720\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sierra Nevada"}, {"question": "What is the date of birth for the person that won the Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series for their work on Seinfeld?", "choices": ["1986-06-03", "1931-01-29", "1947-12-29", "1885-11-17", "1948-05-19", "1961-08-24", "1949-07-24", "1955-05-16", "1942-09-01", "1969-05-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Seinfeld"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Seinfeld\" . ?e <date_of_birth> ?pv .  }", "answer": "1949-07-24"}, {"question": "Which person is a member of Raith Rovers F.C. (the end time of this statement is 2013)?", "choices": ["Neymar", "William Henry Harrison", "Rory Fallon", "Richard Gere", "Colin Wilson", "Max Fleischer", "Ray McKinnon", "Joe Jackson", "Kevin Smith", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raith Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2013", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Raith Rovers F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2013 .  }", "answer": "Colin Wilson"}, {"question": "What is the publication place of Wonder Boys whose release date is 2000-11-02?", "choices": ["Egypt", "Mexico", "Serbia", "Greek Theatre, Los Angeles", "Germany", "Brazil", "Beverly Hills", "Sweden", "58th Berlin International Film Festival", "Austria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wonder Boys"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2000-11-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Wonder Boys\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-11-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Emilio Estevez to United States of America?", "choices": ["narrative location", "religion", "military rank", "superhuman feature or ability", "film crew member", "mouth of the watercourse", "award received", "league", "country of citizenship", "office held by head of state"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emilio Estevez"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Emilio Estevez\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the phone number of Montmartre Cemetery?", "choices": ["+1-212-963-4475", "+1-845-452-9600", "+33-1-40-20-53-17", "+1-800-922-0204", "+33-1-53-42-36-30", "+49-89-699310", "+1-212-708-9400", "+44-844-335-1801", "+45-86-41-51-22", "+1-800-300-4184"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montmartre Cemetery"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["phone number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Montmartre Cemetery\" . ?e <phone_number> ?pv .  }", "answer": "+33-1-53-42-36-30"}, {"question": "What is the connection between Clint Eastwood (the one that has the occupation of film producer) to 62nd Golden Globe Awards?", "choices": ["next lower rank", "approved by", "month of the year", "had as last meal", "student of", "doctoral advisor", "award received", "dedicated to", "discoverer or inventor", "board member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clint Eastwood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["62nd Golden Globe Awards"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Clint Eastwood\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"film producer\" . ?e_2 <pred:name> \"62nd Golden Globe Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Who was nominated for an Academy Award for Best Original Score for Thoroughly Modern Millie?", "choices": ["William Edmondson", "Philippe Turlure", "Ivan Moffat", "Elmer Bernstein", "Robert Riskin", "Robert Stromberg", "Consolata Boyle", "James Coburn", "Gordon McCallum", "Ian Tapp"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thoroughly Modern Millie"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Thoroughly Modern Millie\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Elmer Bernstein"}, {"question": "What is Famke Janssen's role in GoldenEye starring Michael G. Wilson?", "choices": ["Donald Kaufman", "Damon Macready", "Nicholas Brody", "Hal Moore", "Lucius Fox", "Lenny (Shark Tale)", "Xenia Onatopp", "Cynric of Wessex", "Hamilton Jordan", "Guy Banister"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael G. Wilson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["GoldenEye"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Famke Janssen"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"GoldenEye\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michael G. Wilson\" . ?e_2 <pred:name> \"Famke Janssen\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Xenia Onatopp"}, {"question": "Since when is Jung Sung-ryong a member of Seongnam FC ?", "choices": ["1966-09-17", "1970-12-29", "1960-01-20", "2016-05-19", "1914-08-31", "2009-01-06", "2008-09-27", "2008-01-01", "1843-03-04", "2014-05-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jung Sung-ryong"]}, {"function": "Find", "dependencies": [], "inputs": ["Seongnam FC"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jung Sung-ryong\" . ?e_2 <pred:name> \"Seongnam FC\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2008-01-01"}, {"question": "Which writer is the occupation of Barbra Streisand and Paul Weller (who is famous for acoustic music)?", "choices": ["samurai", "playwright", "environmentalist", "record producer", "Gulzar", "poet", "lead vocalist", "all-rounder", "small forward", "singer-songwriter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barbra Streisand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["writer"]}, {"function": "Find", "dependencies": [], "inputs": ["acoustic music"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Weller"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["writer"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"writer\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Barbra Streisand\" .  ?e_2 <occupation> ?e . ?e_2 <pred:name> \"Paul Weller\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"acoustic music\" .  }", "answer": "singer-songwriter"}, {"question": "How is the English version of Starsky & Hutch connected to the United States of America?", "choices": ["start point", "owned by", "official color", "does not have part", "location of final assembly", "author", "practiced by", "country of origin", "source of income", "source of material"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Starsky & Hutch"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Starsky & Hutch\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "How is Daniel Radcliffe related to child actor?", "choices": ["main subject", "lyrics by", "participant", "writing system", "has part", "noble title", "sports season of league or competition", "depicts", "geographic distribution", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Radcliffe"]}, {"function": "Find", "dependencies": [], "inputs": ["child actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Daniel Radcliffe\" . ?e_2 <pred:name> \"child actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has the most students among the high schools whose student count is less than 7900?", "choices": ["Stuyvesant High School", "Royal Military Academy", "Lee Strasberg Theatre and Film Institute", "The Bronx High School of Science", "Phillips Academy", "National Theatre School of Canada", "Royal Academy of Dramatic Art", "London Academy of Music and Dramatic Art", "Fiorello H. LaGuardia High School", "National School of Drama"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "7900", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["high school"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"high school\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"7900\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Bronx High School of Science"}, {"question": "How many feature films were either published after 2010 or were inspired by Puss in Boots (the Taiwan release)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2010", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Relate", "dependencies": [3], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Puss in Boots"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["inspired by", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["feature film"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2010 ) .  } UNION { ?e <inspired_by> ?e_1 . ?e_1 <pred:name> \"Puss in Boots\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Taiwan\" .  } }", "answer": "9"}, {"question": "How many ice hockey teams are headquartered in Vancouver (the one that is the formation location of Lions Gate Entertainment) or include John Madden (the one that was born in Barrie) as the member ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lions Gate Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vancouver"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ice hockey team"]}, {"function": "Find", "dependencies": [], "inputs": ["Barrie"]}, {"function": "Relate", "dependencies": [6], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Madden"]}, {"function": "And", "dependencies": [7, 8], "inputs": []}, {"function": "Relate", "dependencies": [9], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [10], "inputs": ["ice hockey team"]}, {"function": "Or", "dependencies": [5, 11], "inputs": []}, {"function": "Count", "dependencies": [12], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ice hockey team\" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Vancouver\" . ?e_2 <location_of_formation> ?e_1 . ?e_2 <pred:name> \"Lions Gate Entertainment\" .  } UNION { ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"John Madden\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Barrie\" .  } }", "answer": "5"}, {"question": "What is the connection between soul music to Ben Harper (the one whose genre is rock music)?", "choices": ["used by", "chairperson", "famous people", "military branch", "fictional universe described in", "donated by", "filmography", "partially contains", "home venue", "make-up artist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["soul music"]}, {"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Harper"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"soul music\" . ?e_2 <pred:name> \"Ben Harper\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"rock music\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How are Breaker Morant, who died on 1902-02-27, and the profession of writer related?", "choices": ["has immediate cause", "editor", "season starts", "board member", "next lower rank", "occupation", "software engine", "work location", "organisation directed from the office or person", "terminus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Breaker Morant"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1902-02-27", "="]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Breaker Morant\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1902-02-27\"^^xsd:date . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "The USA is home to which private school(s)?", "choices": ["Staunton", "Italia Conti Academy of Theatre Arts", "Marlborough College", "Berkshire Hathaway", "Troy", "Castle Rock Entertainment", "Charterhouse School", "Dulwich College", "Waterbury", "John F. Kennedy School of Government"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private school"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private school\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   }", "answer": "John F. Kennedy School of Government"}, {"question": "Tell me the record label that is Ringo Starr's record label and that is KRS-One's record label", "choices": ["Hollywood Records", "Southern Lord Records", "Polydor Records", "Mercury Records", "United Artists Records", "Jive Records", "Epitaph Records", "Parlophone", "Atlantic Records", "Entertainment One Music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ringo Starr"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Find", "dependencies": [], "inputs": ["KRS-One"]}, {"function": "Relate", "dependencies": [3], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Ringo Starr\" .  ?e_2 <record_label> ?e . ?e_2 <pred:name> \"KRS-One\" .  }", "answer": "Entertainment One Music"}, {"question": "How many big cities have a population less than 70000 or a NUTS code of DEB35?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "70000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["NUTS code", "DEB35"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["big city"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"70000\"^^xsd:double ) .  } UNION { ?e <NUTS_code> ?pv . ?pv <pred:value> \"DEB35\" .  } }", "answer": "14"}, {"question": "For the political party that has a political ideology of Nazism, what is the reason that ultimately resulted in this effect for its dissolution, abolishment or demolition on 1945-10-10?", "choices": ["dissolution of the Soviet Union", "prefecture of Japan", "prohibition of a political party", "bankruptcy", "Louis XIV of France", "emigration", "Statute of Rhuddlan", "State of Vietnam referendum", "Meiji Restoration", "city"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nazism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["political ideology", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["dissolved, abolished or demolished", "1945-10-10", "has cause"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <political_ideology> ?e_1 . ?e_1 <pred:name> \"Nazism\" .  ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:date> \"1945-10-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <dissolved,_abolished_or_demolished> ; <pred:fact_t> ?pv ] <has_cause> ?qpv .  }", "answer": "prohibition of a political party"}, {"question": "How is Simran related to Mumbai?", "choices": ["organisation directed from the office or person", "place of birth", "narrative location", "taxon rank", "commissioned by", "time period", "this taxon is source of", "office held by head of the organisation", "mouth of the watercourse", "main food source"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Simran"]}, {"function": "Find", "dependencies": [], "inputs": ["Mumbai"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Simran\" . ?e_2 <pred:name> \"Mumbai\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Did the professional stage of the person with ISNI number 0000 0001 2099 3976 begin in a year other than 1940 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2099 3976"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1940", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2099 3976\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1940 ) .  }", "answer": "yes"}, {"question": "What is the time of the earliest written record for the city that is the headquarters of Bradford (Park Avenue) A.F.C.?", "choices": ["1086", "766", "742", "1831", "-782", "1536", "960", "-301", "1626", "301"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bradford (Park Avenue) A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["time of earliest written record"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Bradford (Park Avenue) A.F.C.\" .  ?e <time_of_earliest_written_record> ?pv .  }", "answer": "1086"}, {"question": "Which telephone area code indicates the city represented online at www.niagarafalls.ca?", "choices": ["01924", "913", "647", "0879", "732", "905 - 289", "01334", "515", "262", "390"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.niagarafalls.ca/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.niagarafalls.ca/\" . ?e <local_dialing_code> ?pv .  }", "answer": "905 - 289"}, {"question": "When did Joseph Campbell (the one that works as mythology) become an employee of Sarah Lawrence College?", "choices": ["1941-01-01", "1934", "1969-02-25", "2015-10-10", "1822", "1976-06-24", "1834-01-01", "1998-10-19", "2006-01-01", "1790-12-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mythology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Campbell"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sarah Lawrence College"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["employer", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joseph Campbell\" . ?e_1 <field_of_work> ?e_3 . ?e_3 <pred:name> \"mythology\" . ?e_2 <pred:name> \"Sarah Lawrence College\" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1934"}, {"question": "What is the postal code for the higher learning institution that is the educational site of John Frankenheimer?", "choices": ["99258-0001", "64050\u201364058", "CO1 \u2013 CO7", "01267", "49000", "90840-0115", "03400", "70329", "33146", "5000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Frankenheimer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"John Frankenheimer\" .  ?e <postal_code> ?pv .  }", "answer": "01267"}, {"question": "Which area has lower elevation above sea level, Sioux Falls or Middletown?", "choices": ["Columbus", "Boulder", "Sioux Falls", "Compton", "Lansing", "New Haven", "Middletown", "Greenville", "Franklin", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sioux Falls"]}, {"function": "Find", "dependencies": [], "inputs": ["Middletown"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sioux Falls\" .  } UNION { ?e <pred:name> \"Middletown\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Middletown"}, {"question": "Tell me the city in the USA that is located in a Massachusetts County that was named after Suffolk (which has a TOID of 7000000000015934)", "choices": ["Champaign", "Lawrence", "Columbus", "Franklin", "New Haven", "Fort Collins", "Frederick", "Newton", "Waukegan", "Boston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suffolk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000015934"]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Massachusetts"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Massachusetts\" . ?e_1 <named_after> ?e_2 . ?e_2 <pred:name> \"Suffolk\" . ?e_2 <TOID> ?pv_1 . ?pv_1 <pred:value> \"7000000000015934\" .   }", "answer": "Boston"}, {"question": "Which has less of an elevation above sea level, Lyon or Ontario (the one whose inception time is 1891-12-10)?", "choices": ["Lyon", "Dnipro", "Bordeaux", "Ontario", "Stuttgart", "Utrecht", "Fort Smith", "Wuppertal", "Aachen", "Regensburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lyon"]}, {"function": "Find", "dependencies": [], "inputs": ["Ontario"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["inception", "1891-12-10", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lyon\" . } UNION { ?e <pred:name> \"Ontario\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1891-12-10\"^^xsd:date . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lyon"}, {"question": "Regarding former French regions replaced by Normandyu (containing Calvados), which one covers the smallest area ?", "choices": ["Burgundy", "Upper Normandy", "Lower Normandy", "Picardy", "Alsace", "Languedoc-Roussillon", "Lorraine", "Nord-Pas-de-Calais", "Poitou-Charentes", "Champagne-Ardenne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calvados"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["replaces", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["former French region"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e_1 <replaces> ?e . ?e_1 <pred:name> \"Normandy\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Calvados\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Upper Normandy"}, {"question": "When did Bandung become the twinned administrative body of Brunswick, whose local dialing code is 05300?", "choices": ["2017-07-01", "1861-03-16", "1981-10-08", "1994-11-03", "1960-01-01", "1988-02-24", "1934", "1991", "1440", "2011-04-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bandung"]}, {"function": "Find", "dependencies": [], "inputs": ["Brunswick"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "05300"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bandung\" . ?e_2 <pred:name> \"Brunswick\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"05300\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1960-01-01"}, {"question": "Is http://www.rajacasablanca.com the official website for the business with ISNI 0000 0001 2179 3677?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2179 3677"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.rajacasablanca.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2179 3677\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.rajacasablanca.com\" .  }", "answer": "no"}, {"question": "Is Yellow Submarine's  (its distributor is United Artists) publication date not in 2010?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Yellow Submarine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2010", "!="]}], "sparql": "ASK { ?e <pred:name> \"Yellow Submarine\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"United Artists\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2010 ) .  }", "answer": "yes"}, {"question": "What is the native tongue name of the person who is the founder of 20th Century Fox?", "choices": ["Catherine Keener", "Richard Wright Nowels Jr.", "George Clinton", "Amanda Lear", "Jeanne d'Arc", "\u0905\u091c\u092f \u0926\u0947\u0935\u0917\u0928", "Joseph Michael Schenck", "Mickey Rourke", "Immanuel Kant", "Christopher Wren"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <found> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .  ?e <name_in_native_language> ?pv .  }", "answer": "Joseph Michael Schenck"}, {"question": "What is the political ideology that is the main subject of The Piano and whose Dewey Decimal Classification is 305.4209?", "choices": ["cavalier", "feminism", "anti-fascism", "Islamism", "racism", "socialism", "nationalism", "neo-Nazism", "far-right", "anarchism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Piano"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "305.4209"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["political ideology"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"The Piano\" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"305.4209\" .  }", "answer": "feminism"}, {"question": "What's the number of media franchises with the title \uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc and the website https://www.starwars.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.starwars.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "\uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["media franchise"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.starwars.com/\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\uf8d6\uf8dd\uf8e6 \uf8d9\uf8d4\uf8dc\" .  }", "answer": "0"}, {"question": "What is the connection between Activision Blizzard to Sierra Entertainment?", "choices": ["country of citizenship", "fabrication method", "owner of", "place served by transport hub", "religious order", "has immediate cause", "film release region", "replaced by", "airline hub", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Activision Blizzard"]}, {"function": "Find", "dependencies": [], "inputs": ["Sierra Entertainment"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Activision Blizzard\" . ?e_2 <pred:name> \"Sierra Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "owner of"}, {"question": "When did the taxonomy topic of The Birds originate?", "choices": ["1851", "1948-01-30", "1965", "1957-03-25", "1989-11-23", "1904-07-01", "-66000000", "1975-04-30", "1981-05-20", "1982-10-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Birds"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["taxon"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"taxon\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"The Birds\" .  ?e <start_time> ?pv .  }", "answer": "-66000000"}, {"question": "Was the US Forest Service founded on 1800-07-10 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Forest Service"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyDate", "dependencies": [1], "inputs": ["1800-07-10", "="]}], "sparql": "ASK { ?e <pred:name> \"United States Forest Service\" . ?e <inception> ?pv . ?pv <pred:date> \"1800-07-10\"^^xsd:date .  }", "answer": "no"}, {"question": "How many types of soul music were founded after 1967?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1967", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soul music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soul music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1967 ) .  }", "answer": "0"}, {"question": "Nine Lives from Indonesia is assigned which exploitation visa number?", "choices": ["25195", "118812", "142775", "92192", "126164", "132830", "101871", "116230", "112939", "116568"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indonesia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nine Lives"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Nine Lives\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Indonesia\" .  ?e <exploitation_visa_number> ?pv .  }", "answer": "142775"}, {"question": "How is Jerry Maguire related to Kelly Preston?", "choices": ["health specialty", "found", "uses", "located in the administrative territorial entity", "country of citizenship", "fictional universe described in", "hair color", "cast member", "basin country", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Maguire"]}, {"function": "Find", "dependencies": [], "inputs": ["Kelly Preston"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jerry Maguire\" . ?e_2 <pred:name> \"Kelly Preston\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is http://larrymillerhumor.com/ the official website for Marvel Comics?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marvel Comics"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://larrymillerhumor.com/"]}], "sparql": "ASK { ?e <pred:name> \"Marvel Comics\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://larrymillerhumor.com/\" .  }", "answer": "no"}, {"question": "What is the character role of Courteney Cox in  Scream 4?", "choices": ["Geordi La Forge", "Yakko Warner", "Wolverine", "Itzhak Stern", "Judah Ben-Hur", "Lucy Pevensie", "Alessandro Cagliostro", "Onus", "Connie Corleone", "Gale Weathers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scream 4"]}, {"function": "Find", "dependencies": [], "inputs": ["Courteney Cox"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Scream 4\" . ?e_2 <pred:name> \"Courteney Cox\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Gale Weathers"}, {"question": "When was the person famous for melodic death metal born?", "choices": ["1923-02-20", "1948-02-01", "1950-08-12", "1975-02-15", "1608-12-09", "1932-09-29", "1954-07-18", "1908-04-05", "1935-03-15", "1972-12-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["melodic death metal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"melodic death metal\" .  ?e <date_of_birth> ?pv .  }", "answer": "1975-02-15"}, {"question": "How are The Godfather Part II and Talia Shire linked?", "choices": ["family name", "parent astronomical body", "partially contains", "cast member", "narrative role", "place of death", "country for sport", "godparent", "patron saint", "relative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Godfather Part II"]}, {"function": "Find", "dependencies": [], "inputs": ["Talia Shire"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Godfather Part II\" . ?e_2 <pred:name> \"Talia Shire\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the relationship between Transamerica to Graham Greene (the one that has the occupation of actor)?", "choices": ["published in", "chief executive officer", "performer", "history of topic", "afflicts", "main food source", "mountain range", "spouse", "cast member", "official color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Transamerica"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Graham Greene"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Transamerica\" . ?e_2 <pred:name> \"Graham Greene\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many make-believe people were born in a year other than 1986?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1986", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1986 ) .  }", "answer": "4"}, {"question": "What is the street address of the university whose PermID is 5000428347?", "choices": ["212 E. Cullen Building, Houston, TX, 77204-2018", "\u6771\u4eac\u90fd\u5343\u4ee3\u7530\u533a\u795e\u7530\u9808\u7530\u753a 1-22", "5500 Campanile Dr, San Diego, CA, 92182", "2101 West End Avenue, Nashville, TN, 37240", "1726 Locust St, Philadelphia, PA, 19103", "202 Welch Hall, Ypsilanti, MI, 48197", "1400 Old Main Hill", "1027 Newport Ave", "East 5th Street, Greenville, NC, 27858-4353", "1600 Campus Rd, Los Angeles, CA, 90041-3392"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5000428347"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5000428347\" . ?e <located_at_street_address> ?pv .  }", "answer": "202 Welch Hall, Ypsilanti, MI, 48197"}, {"question": "how many subscribers does Trabzonsport with Twitter username Trabzonsport have?", "choices": ["25503", "1988", "1638221", "1690152", "4473122", "22400", "387", "17496", "197322", "21141"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trabzonspor"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "Trabzonspor", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Trabzonspor\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Trabzonspor\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1638221"}, {"question": "What number of US states have ISO 3166-2 code of US-NM", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "US-NM"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"US-NM\" .  }", "answer": "1"}, {"question": "How many male given names have a Soundex of L652 or are a common property of infection?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Soundex", "L652"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["male given name"]}, {"function": "Find", "dependencies": [], "inputs": ["infection"]}, {"function": "Relate", "dependencies": [3], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["male given name"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" .  { ?e <Soundex> ?pv . ?pv <pred:value> \"L652\" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"infection\" .  } }", "answer": "2"}, {"question": "For which work was William Joyce (the one whose work period (start) is 1981) nominated for Academy Award for Best Animated Short Film?", "choices": ["The Fantastic Flying Books of Mr. Morris Lessmore", "Damage", "Rabbit Hole", "A Little Romance", "Superbabies: Baby Geniuses 2", "The Hoaxters", "Flirting with Disaster", "Mediate", "Certified Copy", "The 40-Year-Old Virgin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Joyce"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["work period (start)", "1981", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Short Film"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"William Joyce\" . ?e_1 <work_period_(start)> ?pv . ?pv <pred:year> 1981 . ?e_2 <pred:name> \"Academy Award for Best Animated Short Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Fantastic Flying Books of Mr. Morris Lessmore"}, {"question": "What city's population is 6690432?", "choices": ["Colombo", "Victoria", "Dalian", "Trieste", "Kilkenny", "Sialkot", "Bangkok", "Cork", "Kingston", "Chennai"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6690432", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"6690432\"^^xsd:double .  }", "answer": "Dalian"}, {"question": "Was the person whose ISNI is 0000 0001 0928 9988 not born in 1958?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0928 9988"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1958", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0928 9988\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1958 ) .  }", "answer": "yes"}, {"question": "Is Nandamuri Taraka Rama Rao the native language name of the person with ISNI 0000 0001 1307 8008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1307 8008"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Nandamuri Taraka Rama Rao"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1307 8008\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Nandamuri Taraka Rama Rao\" .  }", "answer": "yes"}, {"question": "What is the character role of Nicolas Cage in  Astro Boy (the one that has Samuel L. Jackson as a voice actor)?", "choices": ["The Dragon Emperor", "Meg Griffin", "Dr. Tenma", "Mike Delfino", "Ares", "A.J. Frost", "Leonard McCoy", "Gordon Cole", "Story", "Saul Berenson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel L. Jackson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Astro Boy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nicolas Cage"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Astro Boy\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Samuel L. Jackson\" . ?e_2 <pred:name> \"Nicolas Cage\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Dr. Tenma"}, {"question": "What is the relationship between Salisbury (the one whose GSS code (2011) is E04012698) and the United Kingdom?", "choices": ["legislative body", "official language", "conferred by", "has dialect (DEPRECATED)", "seed team", "copyright holder", "characters", "country", "located in or next to body of water", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salisbury"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E04012698"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Salisbury\" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E04012698\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When was an association football club, whose official website is http://www.fcstpauli.com, founded ?", "choices": ["1790-07-16", "1847-01-01", "1910", "1836-06-15", "1895-11-15", "1703-05-27", "1870-07-20", "1857-12-02", "1876-02-02", "1864-08-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fcstpauli.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fcstpauli.com\" . ?e <inception> ?pv .  }", "answer": "1910"}, {"question": "Ginger Rogers birthplace was Independence, population 116830, in which country ?", "choices": ["United States of America", "Singapore", "Syria", "South Africa", "Kuwait", "Canada", "Burkina Faso", "Suriname", "Scotland", "Russian Empire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ginger Rogers"]}, {"function": "Find", "dependencies": [], "inputs": ["Independence"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "116830", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["place of birth", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ginger Rogers\" . ?e_2 <pred:name> \"Independence\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"116830\"^^xsd:double . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Was a person, whose Deutsche Synchronkartei actor-ID is 7886, born after 1943 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "7886"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1943", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"7886\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1943 ) .  }", "answer": "yes"}, {"question": "How many rock bands have ISNI 0000 0001 2337 3203 or founded Kings of Leon?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2337 3203"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "Find", "dependencies": [], "inputs": ["Kings of Leon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["founded by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2337 3203\" .  } UNION { ?e_1 <founded_by> ?e . ?e_1 <pred:name> \"Kings of Leon\" .  } }", "answer": "1"}, {"question": "Is the WOEID of the city that is the headquarter location of the Wolverhampton Wanderers F. C. 40859?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wolverhampton Wanderers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["WOEID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["40859"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Wolverhampton Wanderers F.C.\" .  ?e <WOEID> ?pv . ?pv <pred:value> \"40859\" .  }", "answer": "yes"}, {"question": "What Tour De France is a part of Tour de France and it is followed by 2009 Tour de France ?", "choices": ["Dark Horse Comics", "Harry Potter and the Half-Blood Prince", "2008 Tour de France", "Batman", "Guitar Hero 5", "Battleship", "2009 Tour de France", "journalism", "music video game", "rape"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2009 Tour de France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Tour de France"]}, {"function": "Find", "dependencies": [], "inputs": ["Tour de France"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Tour de France"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Tour de France\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"2009 Tour de France\" .  ?e_2 <has_part> ?e . ?e_2 <pred:name> \"Tour de France\" .  }", "answer": "2008 Tour de France"}, {"question": "Which area is larger, Alpes-Maritimes (the one that shares border with Liguria) or Calvados?", "choices": ["Bas-Rhin", "Calvados", "Manche", "Vaucluse", "Aisne", "Seine-et-Marne", "Somme", "Gironde", "Nord", "Haute-Savoie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liguria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alpes-Maritimes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Calvados"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alpes-Maritimes\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Liguria\" .   } UNION { ?e <pred:name> \"Calvados\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Calvados"}, {"question": "How is the title of In the Mood for Love, \u82b1\u6a23\u5e74\u83ef, transliterated?", "choices": ["ran", "\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440", "Fa yeung nin wa", "\u041b\u043e\u0440\u0430", "Sen to Chihiro no kamikakushi", "\u041b\u0430\u0443\u0440\u0430", "Shi mian mai fu", "Neta-Lee Hershlag", "Hauru no Ugoku Shiro", "Gongfu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In the Mood for Love"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["title", "\u82b1\u6a23\u5e74\u83ef", "transliteration"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"In the Mood for Love\" . ?e <title> ?pv . ?pv <pred:value> \"\u82b1\u6a23\u5e74\u83ef\" . [ <pred:fact_h> ?e ; <pred:fact_r> <title> ; <pred:fact_t> ?pv ] <transliteration> ?qpv .  }", "answer": "Fa yeung nin wa"}, {"question": "Does Maureen Stapleton have Deutsche Synchronkartei actor-ID 31428?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maureen Stapleton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["31428"]}], "sparql": "ASK { ?e <pred:name> \"Maureen Stapleton\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"31428\" .  }", "answer": "yes"}, {"question": "Which area is smaller, Rouen or Fort Smith?", "choices": ["Rouen", "Dnipro", "Halle (Saale)", "Fort Smith", "Wuppertal", "Stuttgart", "Lyon", "Utrecht", "Regensburg", "Aachen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rouen"]}, {"function": "Find", "dependencies": [], "inputs": ["Fort Smith"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rouen\" .  } UNION { ?e <pred:name> \"Fort Smith\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rouen"}, {"question": "Which Alabama county with a population different from 7000000 covers the least area?", "choices": ["Jackson County", "Mobile County", "Dallas County", "Monroe County", "Washington County", "Shelby County", "Madison County", "Baldwin County", "Jefferson County", "Montgomery County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"7000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "Is the edition number of the 26th Academy Awards 66?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["26th Academy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["edition number"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["66"]}], "sparql": "ASK { ?e <pred:name> \"26th Academy Awards\" . ?e <edition_number> ?pv . ?pv <pred:value> \"66\" .  }", "answer": "no"}, {"question": "ISNI # 0000 0001 0869 4316 corresponds to which person?", "choices": ["Ned Beatty", "William Henry Harrison", "Richard Gere", "Kristin Scott Thomas", "Adolph Zukor", "Juliette Binoche", "Rachel Portman", "Ravi Shankar", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0869 4316"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0869 4316\" .  }", "answer": "Rachel Portman"}, {"question": "What is the beginning date of the association football club whose short name is NAC Breda?", "choices": ["1837-12-29", "1812-03-19", "1448", "1912", "1593", "1914-05-24", "1800-03-03", "1922", "1844", "1856-03-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "NAC Breda"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"NAC Breda\" . ?e <inception> ?pv .  }", "answer": "1912"}, {"question": "How many facilities have the official website https://www.metmuseum.org/ or the ARCHON code 345?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.metmuseum.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["facility"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ARCHON code", "345"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["facility"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"facility\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.metmuseum.org/\" .  } UNION { ?e <ARCHON_code> ?pv . ?pv <pred:value> \"345\" .  } }", "answer": "2"}, {"question": "Does University College London or Concordia University have less employees?", "choices": ["Imperial College London", "Pennsylvania State University", "King's College London", "Presidency University", "McMaster University", "McNeese State University", "University of Manchester", "University College London", "University of Tehran", "Concordia University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University College London"]}, {"function": "Find", "dependencies": [], "inputs": ["Concordia University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University College London\" .  } UNION { ?e <pred:name> \"Concordia University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Concordia University"}, {"question": "Was Jamal Gray not born in 1935?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Jamal Gray"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1935", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Jamal Gray\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1935 ) .  }", "answer": "yes"}, {"question": "Among the counties of Washington that shares border with King County,which one has the smallest area ?", "choices": ["Snohomish County", "San Juan County", "King County", "Okanogan County", "Spokane County", "Douglas County", "Yakima County", "Clark County", "Pierce County", "Kitsap County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"King County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kitsap County"}, {"question": "Which theatrical producer has the Munzinger IBA of 00000024930?", "choices": ["Rahul Dev Burman", "Sylvester Stallone", "Mel Brooks", "Jodie Foster", "David Byrne", "Neve Campbell", "David Geffen", "Robert De Niro", "Max Fleischer", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000024930"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["theatrical producer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000024930\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"theatrical producer\" .  }", "answer": "Neve Campbell"}, {"question": "Did the industry which ended on 1941-12-05 start in 2006?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1941-12-05", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2006", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1941-12-05\"^^xsd:date . ?e <start_time> ?pv . ?pv <pred:year> 2006 .  }", "answer": "no"}, {"question": "Who is the person with a native-language name of Gene Reynolds?", "choices": ["Richard Gere", "Gene Reynolds", "Sylvester Stallone", "Anthony Quinn", "Carlos Alazraqui", "Max Fleischer", "Sunil Dutt", "Michael Kahn", "Clive Barker", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Gene Reynolds"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Gene Reynolds\" .  }", "answer": "Gene Reynolds"}, {"question": "How many taxon either have a UNII of UOI4FT57BZ or a NBN System Key of NBNSYS0000002249?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UNII", "UOI4FT57BZ"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["taxon"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["NBN System Key", "NBNSYS0000002249"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["taxon"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"taxon\" .  { ?e <UNII> ?pv . ?pv <pred:value> \"UOI4FT57BZ\" .  } UNION { ?e <NBN_System_Key> ?pv . ?pv <pred:value> \"NBNSYS0000002249\" .  } }", "answer": "2"}, {"question": "Which person's ISNI is 0000 0000 2016 7351?", "choices": ["Jay Kogen", "Richard Taylor", "Mark Ruffalo", "William Henry Harrison", "Trevor Rabin", "Sylvester Stallone", "Patricia Heaton", "Richard Gere", "Max Fleischer", "Bryan Forbes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 2016 7351"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 2016 7351\" .  }", "answer": "Richard Taylor"}, {"question": "Into the West, with Colm Meaney as a cast member, was released on 1993-04-01 in what location?", "choices": ["Indonesia", "Denmark", "John F. Kennedy Center for the Performing Arts", "Bolivia", "European Union", "Westwood", "Germany", "South Africa", "Jordan", "Ireland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colm Meaney"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Into the West"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1993-04-01", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Into the West\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Colm Meaney\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1993-04-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Where was the visual artwork whose Twitter username is kanddmovie, published 2010-07-15?", "choices": ["Lithuania", "Poland", "Hungary", "European Union", "Egypt", "Montreal World Film Festival", "Russia", "Indonesia", "Taiwan", "Turkey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "kanddmovie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-07-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"kanddmovie\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-07-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "What is the beginning date that Santa Cruz is the capital of Santa Cruz County (whose capital is Santa Cruz)", "choices": ["1812-06-18", "1961-12-11", "1995-05-31", "1850", "2009-04-15", "1988-01-01", "2015-01-21", "1996-12-01", "1989-11-23", "1930"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Cruz"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Cruz"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Cruz County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["capital of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Santa Cruz\" . ?e_2 <pred:name> \"Santa Cruz County\" . ?e_2 <capital> ?e_3 . ?e_3 <pred:name> \"Santa Cruz\" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1850"}, {"question": "Tell me the relationship with Norfolk (the one whose zip code is 23501-23515, 23517-23521, 23523, 23529, 23541, 23551) to Chesapeake.", "choices": ["color", "shares border with", "penalty", "mother", "official language", "cites", "designed to carry", "political alignment", "permanent resident of", "student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "23501-23515, 23517-23521, 23523, 23529, 23541, 23551"]}, {"function": "Find", "dependencies": [], "inputs": ["Chesapeake"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Norfolk\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"23501-23515, 23517-23521, 23523, 23529, 23541, 23551\" . ?e_2 <pred:name> \"Chesapeake\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which game system has sold more units, the Xbox 360 or the Nintendo Entertainment System?", "choices": ["PlayStation 3", "Bernie Mac", "PlayStation 2", "Kiss", "Lauryn Hill", "Wii", "Honolulu", "Xbox 360", "Michael McDonald", "Nintendo Entertainment System"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Xbox 360"]}, {"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment System"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["units sold", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Xbox 360\" .  } UNION { ?e <pred:name> \"Nintendo Entertainment System\" .  } ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Xbox 360"}, {"question": "What is the role of Jerry Goldsmith, Mulan (the one that has June Foray as a voice actor)'s composer?", "choices": ["three-phase electric power", "executive producer", "film score composer", "first overall draft pick", "official name", "minority language", "storyteller", "freshwater fish", "instrumentalist", "stage name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["June Foray"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mulan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["composer", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mulan\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"June Foray\" . ?e_2 <pred:name> \"Jerry Goldsmith\" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "film score composer"}, {"question": "how many philosophy belong to either the work field of Arthur Schopenhauer or that is a part of ethics", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arthur Schopenhauer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["philosophy"]}, {"function": "Find", "dependencies": [], "inputs": ["ethics"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["philosophy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"philosophy\" .  { ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"Arthur Schopenhauer\" .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> \"ethics\" .  } }", "answer": "2"}, {"question": "What is the connection between Water (the one whose official website is http://www.foxsearchlight.com/water/) to Genie Award for Best Achievement in Editing?", "choices": ["designed by", "place of origin (Switzerland)", "organizer", "vehicle normally used", "nominated for", "health specialty", "film regional debut venue", "sport", "talk show guest", "properties for this type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Water"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.foxsearchlight.com/water/"]}, {"function": "Find", "dependencies": [], "inputs": ["Genie Award for Best Achievement in Editing"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Water\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.foxsearchlight.com/water/\" . ?e_2 <pred:name> \"Genie Award for Best Achievement in Editing\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When did Skopje start being located in the Kingdom of Bulgaria?", "choices": ["2004-03-29", "1987-05-06", "1945-10-25", "1941", "2016-05-30", "2016-11-15", "1992-05-06", "1960-09-01", "1979-03-07", "1809-09-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skopje"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Bulgaria"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Skopje\" . ?e_2 <pred:name> \"Kingdom of Bulgaria\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1941"}, {"question": "Does Merck & Co. or Verizon have a lower total revenue?", "choices": ["Merck & Co.", "Silver Pictures", "KLM", "Adobe Inc.", "Entertainment One", "Skidmore Owings Merrill", "Pfizer", "Verizon", "Sega", "Vodafone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merck & Co."]}, {"function": "Find", "dependencies": [], "inputs": ["Verizon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total revenue", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Merck & Co.\" .  } UNION { ?e <pred:name> \"Verizon\" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Merck & Co."}, {"question": "How is Irving Thalberg related to the silent film \"The Hunchback of Notre Dame?\"", "choices": ["location of final assembly", "place of death", "designed to carry", "performer", "language used", "geography of topic", "producer", "dedicated to", "taxon rank", "signatory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["silent film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hunchback of Notre Dame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Irving Thalberg"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Hunchback of Notre Dame\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"silent film\" . ?e_2 <pred:name> \"Irving Thalberg\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "How is Antarctica published in 2008 related to Tel Aviv?", "choices": ["owner of", "exported to", "narrative location", "has immediate cause", "notable work", "twinned administrative body", "librettist", "designed by", "talk show guest", "main subject"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antarctica"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2008", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Tel Aviv"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Antarctica\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 2008 . ?e_2 <pred:name> \"Tel Aviv\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "How was determined that the Croatia national football team was 121 in the ranking??", "choices": ["de facto", "lead-lead dating", "United Kingdom Census 2001", "tradition", "United Kingdom Census 1971", "2010 United States Census", "estimation process", "Address Based Population Registration System", "FIFA World Rankings", "Sixth National Population Census of the People's Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatia national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "121", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Croatia national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"121\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "When did George Miller (the one that works in the location Washington, D.C.) finish his education at San Francisco State University?", "choices": ["1994", "1906-01-01", "1939-03-15", "2003-02-23", "1901-09-14", "1968", "1995-12-22", "1983-06-15", "1969-09-10", "1950"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Miller"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["San Francisco State University"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George Miller\" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> \"Washington, D.C.\" . ?e_2 <pred:name> \"San Francisco State University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1968"}, {"question": "Which person was born in the city located in Rhineland-Palatinate (the administrative location of this statement is Rhine Province)?", "choices": ["James E. Reilly", "David Byrne", "Sylvester Stallone", "Max Fleischer", "Richard Gere", "Paul Simon", "Karl Marx", "Rahul Dev Burman", "Babyface", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rhineland-Palatinate"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "Rhine Province"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Rhineland-Palatinate\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_1 ] <located_in_the_administrative_territorial_entity> ?qpv . ?qpv <pred:value> \"Rhine Province\" .  }", "answer": "Karl Marx"}, {"question": "What occupation that is the main topic of Pirates of the Caribbean: The Curse of the Black Pearl and Pirates of the Caribbean: At World's End (that was nominated for a Saturn Award for Best Costume)?", "choices": ["partner", "samurai", "contestant", "pirate", "all-rounder", "environmentalist", "singer-songwriter", "small forward", "defenceman", "lead vocalist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: The Curse of the Black Pearl"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["occupation"]}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Costume"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: At World's End"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["occupation"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Pirates of the Caribbean: The Curse of the Black Pearl\" .  ?e_2 <main_subject> ?e . ?e_2 <pred:name> \"Pirates of the Caribbean: At World's End\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Saturn Award for Best Costume\" .  }", "answer": "pirate"}, {"question": "Was the person with Munzinger IBA number 00000019014 born more recently than 1956 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000019014"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1956", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000019014\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1956 ) .  }", "answer": "no"}, {"question": "Which Oregon county that shares a boundary with Jackson County (whose ISNI is 0000 0004 4902 9365) has the most area?", "choices": ["Lake County", "Clackamas County", "Klamath County", "Marion County", "Linn County", "Lane County", "Douglas County", "Washington County", "Columbia County", "Tillamook County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackson County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 4902 9365"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Oregon"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Jackson County\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 4902 9365\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Klamath County"}, {"question": "Which show has more episodes, Titanic (the one whose start time is 1996-11-17) or L.A. Law?", "choices": ["Bleak House", "Saturday Night's Main Event", "L.A. Law", "Six Feet Under", "Phineas and Ferb", "American Horror Story", "Titanic", "Seinfeld", "Dancing with the Stars", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Titanic"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1996-11-17", "="]}, {"function": "Find", "dependencies": [], "inputs": ["L.A. Law"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Titanic\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1996-11-17\"^^xsd:date . } UNION { ?e <pred:name> \"L.A. Law\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "L.A. Law"}, {"question": "When did Belgium have an inflation rate of 1.6 percentage?", "choices": ["2002-07-03", "1945-12-01", "2003-01-01", "1821", "2005-12-16", "1914-01-01", "1836-01-01", "2016-02-09", "1737-01-01", "2017-02-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["inflation rate", "1.6 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Belgium\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"1.6\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2003-01-01"}, {"question": "For the distributor of Fullmetal Alchemist the Movie: Conqueror of Shamballa, what is the business' Corporate Number (Japan)?", "choices": ["4000020270008", "3010001008708", "1700150005025", "6000020422011", "6010001034809", "3120001077023", "6000020271004", "8000020131032", "4011101026805", "6010801003186"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fullmetal Alchemist the Movie: Conqueror of Shamballa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Corporate Number (Japan)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e_1 <distributor> ?e . ?e_1 <pred:name> \"Fullmetal Alchemist the Movie: Conqueror of Shamballa\" .  ?e <Corporate_Number_(Japan)> ?pv .  }", "answer": "6010001034809"}, {"question": "Does the person with ISNI 0000 0001 0800 408X not have 2 daughters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0800 408X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2 daughter", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0800 408X\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"daughter\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which area is smaller, Dakota County or Maui County?", "choices": ["San Juan County", "African Union", "Delaware County", "Lee County", "Maui County", "Orange County", "Washoe County", "Kent County", "Cass County", "Dakota County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dakota County"]}, {"function": "Find", "dependencies": [], "inputs": ["Maui County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dakota County\" .  } UNION { ?e <pred:name> \"Maui County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dakota County"}, {"question": "The administrative territorial entity corresponding to ISO 3166-1 alpha-3 code JEY is located in how many empires?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-1 alpha-3 code", "JEY"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["empire"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"administrative territorial entity\" . ?e_1 <ISO_3166-1_alpha-3_code> ?pv . ?pv <pred:value> \"JEY\" .   }", "answer": "1"}, {"question": "How is Scream 2 related to Selma Blair?", "choices": ["based on", "distributor", "set in period", "cast member", "country for sport", "significant person", "symptom of", "seed team", "art director", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scream 2"]}, {"function": "Find", "dependencies": [], "inputs": ["Selma Blair"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Scream 2\" . ?e_2 <pred:name> \"Selma Blair\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many law schools have ISNI 0000 0001 0945 3442 or that are registered with the Internal Revenue Service?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0945 3442"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["law school"]}, {"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "Relate", "dependencies": [3], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["law school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0945 3442\" .  } UNION { ?e <registered_with> ?e_1 . ?e_1 <pred:name> \"Internal Revenue Service\" .  } }", "answer": "4"}, {"question": "What is the local dialing code of Mississauga?", "choices": ["458", "252", "08842", "01639", "601", "61", "905 - 289", "0374", "07389", "08654"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mississauga"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Mississauga\" . ?e <local_dialing_code> ?pv .  }", "answer": "905 - 289"}, {"question": "Which movie is titled Die lustige Witwe?", "choices": ["Date Night", "We Need to Talk About Kevin", "A Prairie Home Companion", "Rebecca", "Bleach: Memories of Nobody", "Talk to Her", "Peter Pan", "The Merry Widow", "Pleasantville", "The King and I"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Die lustige Witwe"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Die lustige Witwe\" .  }", "answer": "The Merry Widow"}, {"question": "Which unitary state is known by the lowest point of water area and whose lowest point is Bosnia and Herzevogina?", "choices": ["Moldova", "Trinidad and Tobago", "Croatia", "Malta", "Greece", "Bosnia and Herzegovina", "Slovenia", "Cuba", "Monaco", "Albania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bosnia and Herzegovina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lowest point", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "Relate", "dependencies": [2], "inputs": ["lowest point", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["unitary state"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <lowest_point> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"water area\" . ?e_2 <lowest_point> ?e_1 . ?e_2 <pred:name> \"Bosnia and Herzegovina\" .   }", "answer": "Croatia"}, {"question": "What language is linked to the official website http://www.umass.edu/ for the University of Massachusetts Amherst?", "choices": ["Wolof", "Old English", "\u01c0Xam language", "Cornish", "Eastern Armenian", "Cook Islands M\u0101ori", "Indian English", "Malagasy", "English", "Indonesian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Massachusetts Amherst"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.umass.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"University of Massachusetts Amherst\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.umass.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which movie is shorter, Good Night, and Good Luck. or Hudson Hawk?", "choices": ["The Towering Inferno", "A Prairie Home Companion", "Training Day", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca", "The Fifth Element", "Good Night, and Good Luck.", "Hudson Hawk", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Good Night, and Good Luck."]}, {"function": "Find", "dependencies": [], "inputs": ["Hudson Hawk"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Good Night, and Good Luck.\" .  } UNION { ?e <pred:name> \"Hudson Hawk\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Good Night, and Good Luck."}, {"question": "When did the person with Chinese as a native language die?", "choices": ["1974-11-29", "1972-07-09", "1985-05-18", "1983-12-17", "1974-11-15", "1981-05-28", "1994-07-07", "2018-05-08", "2012-05-29", "1987-08-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chinese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["native language", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <native_language> ?e_1 . ?e_1 <pred:name> \"Chinese\" .  ?e <date_of_death> ?pv .  }", "answer": "1974-11-29"}, {"question": "Does James Buchanan, whose native language is English, or Lorraine Bracco have fewer kids?", "choices": ["Max Fleischer", "David Byrne", "Lorraine Bracco", "Simon Cowell", "Richard Gere", "William Henry Harrison", "James Buchanan", "Rahul Dev Burman", "Sylvester Stallone", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["native language", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Buchanan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lorraine Bracco"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James Buchanan\" . ?e <native_language> ?e_1 . ?e_1 <pred:name> \"English\" .   } UNION { ?e <pred:name> \"Lorraine Bracco\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lorraine Bracco"}, {"question": "what is the number of languages that use the Cyrillic script writing system or that is part of Vietnamese", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cyrillic script"]}, {"function": "Relate", "dependencies": [0], "inputs": ["writing system", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "Find", "dependencies": [], "inputs": ["Vietnamese"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" .  { ?e <writing_system> ?e_1 . ?e_1 <pred:name> \"Cyrillic script\" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Vietnamese\" .  } }", "answer": "1"}, {"question": "Which person's ISNI is 0000 0000 8140 0882?", "choices": ["John Keats", "Bob Hoskins", "Steve Howe", "Max Fleischer", "Sylvester Stallone", "Adam West", "Richard Gere", "Christopher Walken", "William Henry Harrison", "Aldo Nova"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8140 0882"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8140 0882\" .  }", "answer": "Adam West"}, {"question": "Does the website www.warnerbros.com/unknown represent Genesis, originally in Hindi ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hindi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Genesis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["https://www.warnerbros.com/unknown"]}], "sparql": "ASK { ?e <pred:name> \"Genesis\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Hindi\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.warnerbros.com/unknown\" .  }", "answer": "no"}, {"question": "Which one has a bigger area, Jiangsu or Zhejiang", "choices": ["Hunan", "Shaanxi", "Zhejiang", "Henan", "Guangdong", "Jiangsu", "Anhui", "Hubei", "Yunnan", "Fujian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jiangsu"]}, {"function": "Find", "dependencies": [], "inputs": ["Zhejiang"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jiangsu\" .  } UNION { ?e <pred:name> \"Zhejiang\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Zhejiang"}, {"question": "What is the relationship between Animal House and Tim Matheson?", "choices": ["after a work by", "allegiance", "worshipped by", "parent club", "main food source", "cast member", "exclave of", "candidacy in election", "found", "convicted of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Animal House"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Matheson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Animal House\" . ?e_2 <pred:name> \"Tim Matheson\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who is the person whose ISNI is 0000 0000 7139 7341 and is the screenwriter of Batman & Robin (the one whose script is wrote by Bob Kane)?", "choices": ["Bill Finger", "Simon Cowell", "Rahul Dev Burman", "Richard Gere", "Max Fleischer", "David Byrne", "William Henry Harrison", "Akiva Goldsman", "Sylvester Stallone", "James E. Reilly"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7139 7341"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Bob Kane"]}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman & Robin"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7139 7341\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Batman & Robin\" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> \"Bob Kane\" .  }", "answer": "Akiva Goldsman"}, {"question": "What is the connection between Felix Bastians to Gillingham F.C.?", "choices": ["place of publication", "territory claimed by", "participant of", "member of sports team", "derivative work", "office held by head of the organisation", "statistical leader", "native language", "languages spoken, written or signed", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Felix Bastians"]}, {"function": "Find", "dependencies": [], "inputs": ["Gillingham F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Felix Bastians\" . ?e_2 <pred:name> \"Gillingham F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Among the county of California having a population less than 28000, which one has the largest area?", "choices": ["Mariposa County", "Contra Costa County", "Butte County", "Los Angeles County", "Ventura County", "Inyo County", "Alameda County", "Tulare County", "Mono County", "Plumas County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "28000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"28000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Inyo County"}, {"question": "tell me the number of hardcore punk that comes from the sovereign state that has the external data URL https://www.data.gov/", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["external data available at", "https://www.data.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["hardcore punk"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hardcore punk\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <external_data_available_at> ?pv . ?pv <pred:value> \"https://www.data.gov/\" .   }", "answer": "8"}, {"question": "Where was West Side Story, which was nominated for the Academy Award for Best Film Editing, published on 1962-09-13?", "choices": ["Portugal", "Germany", "Uruguay", "Iceland", "Pakistan", "worldwide", "Cannes Film Festival", "Cannes", "South Africa", "Austria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["West Side Story"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1962-09-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"West Side Story\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Film Editing\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1962-09-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the relationship between Out of Africa (the one that received 58th Academy Awards) and the Golden Globe Award for Best Original Score?", "choices": ["permanent resident of", "film regional debut venue", "significant person", "convicted of", "seed team", "nominated for", "business division", "godparent", "ancestral home", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["58th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Out of Africa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Original Score"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Out of Africa\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"58th Academy Awards\" . ?e_2 <pred:name> \"Golden Globe Award for Best Original Score\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When was the English language production Battle Creek originally aired on CBS?", "choices": ["1992-01-04", "1816-12-11", "1952-09-12", "2003-07-01", "1821-06-01", "1915-06-12", "2002-04-29", "2015-03-01", "1949-11-29", "1999-06-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Battle Creek\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"CBS\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2015-03-01"}, {"question": "What is the subject of the statement that The Right Stuff (whose director of photography is Caleb Deschanel) was nominated for an Academy Award for Best Sound Mixing?", "choices": ["Malta\u2013Russia relations", "Jamaica\u2013Spain relations", "56th Academy Awards", "41st Academy Awards", "Belarus\u2013European Union relations", "Argentina\u2013Peru relations", "Indonesia\u2013Iran relations", "Australia\u2013Fiji relations", "China\u2013Libya relations", "73rd Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caleb Deschanel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Right Stuff"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Right Stuff\" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> \"Caleb Deschanel\" . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "56th Academy Awards"}, {"question": "Which film script was written by Clive Owen?", "choices": ["Silver Linings Playbook", "Talk to Her", "Children of Men", "I Now Pronounce You Chuck and Larry", "Antarctica", "The Wings of the Dove", "Indiana Jones and the Temple of Doom", "Atlantic City", "A Prairie Home Companion", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clive Owen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Clive Owen\" .   }", "answer": "Children of Men"}, {"question": "Does Loudoun County or Fairfax County cover a larger area?", "choices": ["Fairfax County", "Warren County", "Augusta County", "Albemarle County", "Frederick County", "Fauquier County", "Greene County", "Prince William County", "Henrico County", "Loudoun County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Loudoun County"]}, {"function": "Find", "dependencies": [], "inputs": ["Fairfax County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Loudoun County\" .  } UNION { ?e <pred:name> \"Fairfax County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Loudoun County"}, {"question": "What is the relationship between Woking F.C. to Woking (the one that is the headquarter location of Woking F.C.)?", "choices": ["commissioned by", "office held by head of state", "writing system", "director of photography", "language used", "founded by", "board member", "developer", "headquarters location", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Woking F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Woking F.C."]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Woking"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Woking F.C.\" . ?e_2 <pred:name> \"Woking\" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> \"Woking F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Winston Churchill, who took part in the Gallipoli Campaign, belonged to the Liberal Party until which date?", "choices": ["1949", "1953-01-01", "1954-11-28", "1870-10-12", "2009-09-18", "2015-08-06", "1976-02-26", "1918-11-09", "1996-08-04", "1924-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gallipoli Campaign"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Winston Churchill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Liberal Party"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of political party", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Winston Churchill\" . ?e_3 <participant> ?e_1 . ?e_3 <pred:name> \"Gallipoli Campaign\" . ?e_2 <pred:name> \"Liberal Party\" . ?e_1 <member_of_political_party> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_political_party> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1924-01-01"}, {"question": "Who was born in Dumfries and died before 1960?", "choices": ["Thomas Mann", "Arthur Wellesley, 1st Duke of Wellington", "William Henry Harrison", "Max Fleischer", "Nathanael Greene", "Julia", "Richard Gere", "Sylvester Stallone", "John Irving", "H. H. Asquith"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "1960", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Dumfries"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1960 ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Dumfries\" .  }", "answer": "John Irving"}, {"question": "What is the title of The Poseidon Adventure, whose duration is 178 minutes?", "choices": ["Der Mann mit der eisernen Maske", "3rd Rock from the Sun", "Damages", "Brothers & Sisters", "\u4e71", "The Poseidon Adventure", "The Lady", "Dead Poets Society", "Network", "Super"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Poseidon Adventure"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "178 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Poseidon Adventure\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"178\"^^xsd:double . ?e <title> ?pv .  }", "answer": "The Poseidon Adventure"}, {"question": "Which subreddit refers to the California county with a population size surpassing 8200000?", "choices": ["LACounty", "Sardegna", "BellevilleIL", "Kanye", "windowsxp", "curb", "google", "Kerala", "tasmania", "Libertarian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8200000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"8200000\"^^xsd:double ) . ?e <subreddit> ?pv .  }", "answer": "LACounty"}, {"question": "How many U.S. towns were establish after 1620 and whose population is less than 51000000?", "choices": ["20", "21", "22", "23", "24", "25", "26", "27", "28", "29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1620", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "51000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1620 ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"51000000\"^^xsd:double ) .  }", "answer": "20"}, {"question": "What's the connection between the Peter Frampton nominated for an Academy Award for Best Makeup and Hairstyling and the profession of make-up artist?", "choices": ["filmography", "home venue", "location of discovery", "location of formation", "languages spoken, written or signed", "film editor", "basic form of government", "family name", "occupation", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Frampton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["make-up artist"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Frampton\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . ?e_2 <pred:name> \"make-up artist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When was the detail map Mecklenburg-Vorpommern, administrative divisions - de - colored.svg valid for a state of Germany that matches a common property of human ?", "choices": ["1926", "2012", "1917-01-01", "2017-01-05", "2007-02-01", "2008-11-04", "1942-02-26", "1882", "2002-02-13", "1822"], "program": [{"function": "Find", "dependencies": [], "inputs": ["human"]}, {"function": "Relate", "dependencies": [0], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["detail map", "Mecklenburg-Vorpommern, administrative divisions - de - colored.svg", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"human\" .  ?e <detail_map> ?pv . ?pv <pred:value> \"Mecklenburg-Vorpommern, administrative divisions - de - colored.svg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <detail_map> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "Of the New York counties that do not have a population of 760,000, which has the smallest area?", "choices": ["Erie County", "Ontario County", "Putnam County", "Madison County", "Cattaraugus County", "Genesee County", "Rockland County", "Herkimer County", "Steuben County", "Montgomery County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "760000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"760000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "When was Kevin Smith (the one that is a member of Wrexham A.F.C) born?", "choices": ["1963-10-06", "1980-10-21", "1946-05-13", "1885-11-17", "1905-08-04", "1964-11-29", "1950-04-28", "1950-07-30", "1987-03-20", "1979-08-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wrexham A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kevin Smith\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Wrexham A.F.C.\" .  ?e <date_of_birth> ?pv .  }", "answer": "1987-03-20"}, {"question": "What is the WOEID of the city which is Senegal's capital?", "choices": ["2515434", "31889", "1411986", "33591", "1451962", "468739", "730138", "15178", "2344116", "1106143"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Senegal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["WOEID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Senegal\" .  ?e <WOEID> ?pv .  }", "answer": "1411986"}, {"question": "Is IrishEmbJapan the Twitter username of Al Roker?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al Roker"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["IrishEmbJapan"]}], "sparql": "ASK { ?e <pred:name> \"Al Roker\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"IrishEmbJapan\" .  }", "answer": "no"}, {"question": "Which area is smaller, Luton or Kirkcaldy?", "choices": ["Wimbledon", "Royal Tunbridge Wells", "Wigan", "Kirkcaldy", "Doncaster", "Blackburn", "Edmonton", "Macclesfield", "Luton", "Colchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luton"]}, {"function": "Find", "dependencies": [], "inputs": ["Kirkcaldy"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Luton\" .  } UNION { ?e <pred:name> \"Kirkcaldy\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kirkcaldy"}, {"question": "Joseph Stalin has what connection to the Russian Soviet Federative Socialist Republic, where Leon Trotsky has citizenship?", "choices": ["occupation", "country of citizenship", "legislative body", "parent organization", "cause of death", "cites", "from fictional universe", "home port", "place of origin (Switzerland)", "eye color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Stalin"]}, {"function": "Find", "dependencies": [], "inputs": ["Leon Trotsky"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of citizenship", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Russian Soviet Federative Socialist Republic"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Joseph Stalin\" . ?e_2 <pred:name> \"Russian Soviet Federative Socialist Republic\" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> \"Leon Trotsky\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Where was the release of Avatar, a recipient at the 2010 Australian Film Institute Awards that earned 2787965087 USD at the box office?", "choices": ["worldwide", "2005 Cannes Film Festival", "Latvia", "North America", "Sorrento", "Charlotte Motor Speedway", "Hollywood Bowl", "European Union", "2003 Cannes Film Festival", "Park City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2010 Australian Film Institute Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["box office", "2787965087 United States dollar", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Avatar\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"2010 Australian Film Institute Awards\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"2787965087\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <box_office> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "worldwide"}, {"question": "Which movie is longer, Platoon (nominated for National Society of Film Critics Award for Best Director) or Walk the Line?", "choices": ["Pleasantville", "Curse of the Golden Flower", "Walk the Line", "Platoon", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "The Fifth Element", "The Towering Inferno", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Platoon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Walk the Line"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Platoon\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Director\" .   } UNION { ?e <pred:name> \"Walk the Line\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Walk the Line"}, {"question": "Is Katy Perry's height greater than 55 inches?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katy Perry"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["55 inch", ">"]}], "sparql": "ASK { ?e <pred:name> \"Katy Perry\" . ?e <height> ?pv . ?pv <pred:unit> \"inch\" . ?pv <pred:value> ?v . FILTER ( ?v > \"55\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "The movie represented by the website www.thewrestlermovie.com was released in what location on 2009-05-21?", "choices": ["Davao City", "El Capitan Theatre", "R\u00e4ttvik", "Central Park", "France", "Kuwait", "Bahrain", "Hong Kong", "Hungary", "2008 Toronto International Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thewrestlermovie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2009-05-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.thewrestlermovie.com\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-05-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "The official website of the college alma mater of Ralph Waldo Emerson, college.harvard.edu, is published in which language ?", "choices": ["Basque", "Punjabi", "Putonghua", "Persian", "Cornish", "Galician", "Serbian", "English", "J\u00e8rriais", "Modern Greek"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ralph Waldo Emerson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://college.harvard.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Ralph Waldo Emerson\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://college.harvard.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How large in size is Brisbane (the one whose population is 4282)?", "choices": ["1047 square kilometre", "347.996293 square kilometre", "1596 square kilometre", "51.998941 square kilometre", "12.81678 square kilometre", "95.556043 square kilometre", "280.71 square kilometre", "3637 square kilometre", "24930000 square kilometre", "1875 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brisbane"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4282", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Brisbane\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4282\"^^xsd:double . ?e <area> ?pv .  }", "answer": "51.998941 square kilometre"}, {"question": "What has a longer duration, Step Up Revolution or Road Trip?", "choices": ["The Hunchback of Notre Dame", "Step Up Revolution", "Curse of the Golden Flower", "Talk to Her", "Rebecca", "The Towering Inferno", "Road Trip", "A Prairie Home Companion", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Step Up Revolution"]}, {"function": "Find", "dependencies": [], "inputs": ["Road Trip"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Step Up Revolution\" .  } UNION { ?e <pred:name> \"Road Trip\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Step Up Revolution"}, {"question": "What is the connection between Gordon Brown (the one that was born in Chesterfield) to United Kingdom?", "choices": ["country of citizenship", "draft pick from school", "subsidiary", "official symbol", "head of government", "founded by", "art director", "opposite of", "works in collection", "risk factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chesterfield"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gordon Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gordon Brown\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"Chesterfield\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the connection between Interview with the Vampire (the one that has Christian Slater as a cast member) to David Geffen?", "choices": ["head coach", "follows", "highest judicial authority", "superhuman feature or ability", "basic form of government", "has effect", "producer", "soundtrack album", "significant person", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christian Slater"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Interview with the Vampire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Geffen"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Interview with the Vampire\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Christian Slater\" . ?e_2 <pred:name> \"David Geffen\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "Jon Voight has won how many film awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Voight"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Jon Voight\" .   }", "answer": "3"}, {"question": "Does Colorado College or University of Strathclyde have fewer students?", "choices": ["Colorado College", "Barnard College", "Trinity College", "Grinnell College", "Wheaton College", "Scottish Church College", "Denison University", "University of Strathclyde", "Clark University", "Williams College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colorado College"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Strathclyde"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Colorado College\" .  } UNION { ?e <pred:name> \"University of Strathclyde\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Colorado College"}, {"question": "What fictional profession was created by Frank Miller whose official website is http://frankmillerink.com?", "choices": ["Rogue", "Darwin", "Superman", "Daredevil", "Batman", "Ghost Rider", "Frankenstein", "Michelangelo", "Havok", "Elektra"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Miller"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://frankmillerink.com"]}, {"function": "Relate", "dependencies": [1], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["fictional profession"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Frank Miller\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://frankmillerink.com\" .   }", "answer": "Batman"}, {"question": "When did the administrative territorial entity whose inception time is in 1773 have a population of less than 570000000 (the point in time of this statement is 1939)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1773", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "1939"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["570000000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1773 . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"570000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1939 .  }", "answer": "yes"}, {"question": "How many nonprofit organizations have an ISNI of 0000 0004 0405 8787 or are the education place of Megan Mullally?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0405 8787"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["nonprofit organization"]}, {"function": "Find", "dependencies": [], "inputs": ["Megan Mullally"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["nonprofit organization"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"nonprofit organization\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0405 8787\" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Megan Mullally\" .  } }", "answer": "2"}, {"question": "What relationship does Cold Mountain starring Brendan Gleeson have to the BAFTA Award for Best Sound?", "choices": ["relative", "language of work or name", "notable people with this condition", "practiced by", "film crew member", "nominated for", "software engine", "diplomatic relation", "rector", "had as last meal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brendan Gleeson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cold Mountain"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Sound"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cold Mountain\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Brendan Gleeson\" . ?e_2 <pred:name> \"BAFTA Award for Best Sound\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which chemical compound has the Gmelin number of 27744?", "choices": ["cholesterol", "L-Leucine", "sucrose", "palmitic acid", "L-Tyrosine", "stearic acid", "L-aspartic Acid", "L-Arginine", "L-Threonine", "capric acid"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Gmelin number", "27744"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <Gmelin_number> ?pv . ?pv <pred:value> \"27744\" .  }", "answer": "L-Tyrosine"}, {"question": "Which comune of Italy whose area is under 19000 square kilometers has the smallest area?", "choices": ["Hannibal", "Talk to Me", "aesthetics", "Cremona", "Mantua", "English American", "University of Oslo", "Lucca", "Treviso", "Pavia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "19000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comune of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comune of Italy\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"19000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Treviso"}, {"question": "How tall is the member of Crystal Palace F.C. (the number of games played of this statement is 26)?", "choices": ["173 centimetre", "73 metre", "1.64 metre", "78 inch", "1.68 metre", "185 centimetre", "196 centimetre", "1.81 metre", "1.73 metre", "176 centimetre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crystal Palace F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of matches played/races/starts", "26", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Crystal Palace F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"26\"^^xsd:double . ?e <height> ?pv .  }", "answer": "185 centimetre"}, {"question": "Who is heavier in weight: Chris Wood of Bristol City F.C. or Chuck Connors, whose ISNI is 0000 0001 2133 6759?", "choices": ["Chris Wood", "Chuck Connors", "Max Fleischer", "William Henry Harrison", "Simon Cowell", "Rahul Dev Burman", "Richard Gere", "Paul Simon", "Sylvester Stallone", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bristol City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Wood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chuck Connors"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISNI", "0000 0001 2133 6759"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chris Wood\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Bristol City F.C.\" . } UNION { ?e <pred:name> \"Chuck Connors\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2133 6759\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chuck Connors"}, {"question": "Which movie is shorter, Bolero (the one whose publication date is 1934-01-01) or Ordinary People (the one that was nominated for Academy Award for Best Supporting Actor)?", "choices": ["The Towering Inferno", "Talk to Her", "Bolero", "Pleasantville", "Curse of the Golden Flower", "Training Day", "The Hunchback of Notre Dame", "The Fifth Element", "A Prairie Home Companion", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bolero"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1934-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ordinary People"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bolero\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1934-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Ordinary People\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bolero"}, {"question": "Who has fewer children, Marlee Matlin or Gillian Anderson?", "choices": ["William Henry Harrison", "Sylvester Stallone", "James E. Reilly", "Simon Cowell", "Max Fleischer", "Rahul Dev Burman", "David Byrne", "Paul Simon", "Gillian Anderson", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marlee Matlin"]}, {"function": "Find", "dependencies": [], "inputs": ["Gillian Anderson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marlee Matlin\" .  } UNION { ?e <pred:name> \"Gillian Anderson\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gillian Anderson"}, {"question": "Does the Twitter account name MaggieGrace belong to someone with the Instagram handle adamlevine ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "adamlevine"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["MaggieGrace"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"adamlevine\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"MaggieGrace\" .  }", "answer": "no"}, {"question": "Does the person with an ISNI of  0000 0001 1073 1497 have a birth date in 1942?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1073 1497"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1942", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1073 1497\" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1942 .  }", "answer": "yes"}, {"question": "Which one, Jackie Robinson (the one that is a member of Maccabi Tel Aviv B.C.) or Alan Bennett (the one that is a member of Brentford F.C.), has less mass?", "choices": ["Simon Cowell", "Paul Simon", "Max Fleischer", "Jackie Robinson", "William Henry Harrison", "David Byrne", "Rahul Dev Burman", "Alan Bennett", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maccabi Tel Aviv B.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Robinson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Brentford F.C."]}, {"function": "Relate", "dependencies": [4], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Bennett"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jackie Robinson\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Maccabi Tel Aviv B.C.\" .   } UNION { ?e <pred:name> \"Alan Bennett\" . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Brentford F.C.\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alan Bennett"}, {"question": "Which one among New York counties, being an administrative division of  New York (the one that is the narrative location of Taking Woodstock), is the smallest by area?", "choices": ["Allegany County", "Oneida County", "Broome County", "Rockland County", "Delaware County", "Suffolk County", "Herkimer County", "Chautauqua County", "Madison County", "Clinton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taking Woodstock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"New York\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"Taking Woodstock\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "Which has more students, University of Toronto or Boston College?", "choices": ["University of Manchester", "Presidency University", "McNeese State University", "McMaster University", "Pennsylvania State University", "King's College London", "University of Toronto", "University of Tehran", "Boston College", "Panjab University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Toronto"]}, {"function": "Find", "dependencies": [], "inputs": ["Boston College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Toronto\" .  } UNION { ?e <pred:name> \"Boston College\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Toronto"}, {"question": "When did 172.216.0.0/16 become the IPv4 routing prefix for the organization whose official website is https://www.aol.com (in English)?", "choices": ["1956-12-18", "2015-08-12", "2000-10-10", "2010-07-20", "1995-09-12", "1945-10-24", "1998-06-06", "2002-02-13", "1955-12-14", "1982-09-19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.aol.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["IPv4 routing prefix", "172.216.0.0/16", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.aol.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"172.216.0.0/16\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPv4_routing_prefix> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2002-02-13"}, {"question": "When did George R. R. Martin win a World Fantasy Award for Best Novella?", "choices": ["2005-05-01", "1525", "1989", "1961-04-17", "2000-03-26", "1957-12-01", "1610", "2017-01-31", "2006-11-22", "1650"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World Fantasy Award for Best Novella"]}, {"function": "Find", "dependencies": [], "inputs": ["George R. R. Martin"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"World Fantasy Award for Best Novella\" . ?e_2 <pred:name> \"George R. R. Martin\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1989"}, {"question": "Is Baku's postal code 91200?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baku"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["91200"]}], "sparql": "ASK { ?e <pred:name> \"Baku\" . ?e <postal_code> ?pv . ?pv <pred:value> \"91200\" .  }", "answer": "no"}, {"question": "For the New Jersey county that is located in or next to the Atlantic Ocean, what is the determination method of this value for its population of 95897?", "choices": ["estimation process", "hearth tax", "2010 United States Census", "Yemen General Census of Population, Housing and Establishments 2004", "population projection", "Population registration in Sweden", "tradition", "2000 United States Census", "United Kingdom Census 1991", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "95897", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Atlantic Ocean\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"95897\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Which video game developer was founded before 2005 with the official website of https://www.ubisoft.com/en-us/?", "choices": ["PopCap Games", "Sonic Team", "Ubisoft", "Atari", "id Software", "Enix", "Irem", "U.S. Gold", "Eidos Interactive", "SNK"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "2005", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.ubisoft.com/en-us/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game developer"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.ubisoft.com/en-us/\" .  }", "answer": "Ubisoft"}, {"question": "Is the establishment date of the city that is the capital of Guyana after 1816?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guyana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1816", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Guyana\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1816 ) .  }", "answer": "no"}, {"question": "Is the birth name for the person whose notable work is Beloved (the one whose ISBN-10 is 1-58060-120-0), Richard John Thompson?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beloved"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN-10", "1-58060-120-0"]}, {"function": "Relate", "dependencies": [1], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Richard John Thompson"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> \"Beloved\" . ?e_1 <ISBN-10> ?pv_1 . ?pv_1 <pred:value> \"1-58060-120-0\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Richard John Thompson\" .  }", "answer": "no"}, {"question": "Did Calaveras County have fewer than 630000000 inhabitants on 2013-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calaveras County"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2013-07-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["630000000", "<"]}], "sparql": "ASK { ?e <pred:name> \"Calaveras County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"630000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2013-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "Is the the title of Star Trek: The Animated Series the same as Heavy Metal?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Animated Series"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Heavy Metal"]}], "sparql": "ASK { ?e <pred:name> \"Star Trek: The Animated Series\" . ?e <title> ?pv . ?pv <pred:value> \"Heavy Metal\" .  }", "answer": "no"}, {"question": "What is the connection between Overseas Chinese to Angola?", "choices": ["film regional debut venue", "location", "donated by", "present in work", "main food source", "geographic distribution", "commissioned by", "season starts", "industry", "product or material produced"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Overseas Chinese"]}, {"function": "Find", "dependencies": [], "inputs": ["Angola"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Overseas Chinese\" . ?e_2 <pred:name> \"Angola\" . ?e_1 ?p ?e_2 .  }", "answer": "geographic distribution"}, {"question": "Which show has fewer seasons, City of Angels (the one that is originally aired on CBS) or Batman (the one whose duration is 25 minute)?", "choices": ["Saturday Night's Main Event", "Bleak House", "Phineas and Ferb", "Batman", "Seinfeld", "Game of Thrones", "Dancing with the Stars", "Robot Chicken", "City of Angels", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["City of Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["duration", "25 minute", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"City of Angels\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"CBS\" . } UNION { ?e <pred:name> \"Batman\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"25\"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "City of Angels"}, {"question": "Is the box office for the visual artwork that succeeds Flags of Our Fathers more than 470000000 United States dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flags of Our Fathers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["470000000 United States dollar", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Flags of Our Fathers\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v > \"470000000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Kingston (dialing code 613) has a population greater than 2100: true or false?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingston"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "613"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["2100", ">"]}], "sparql": "ASK { ?e <pred:name> \"Kingston\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"613\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2100\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "The Sting, with director of photography Robert L. Surtees, had what release location on 1974-04-11?", "choices": ["Taormina Film Fest", "United Kingdom", "Hong Kong", "Hollywood Bowl", "Venezuela", "Mexico", "Grauman's Chinese Theatre", "2003 Cannes Film Festival", "Germany", "Bolivia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert L. Surtees"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sting"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1974-04-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Sting\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Robert L. Surtees\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1974-04-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was Togo's national association football team ranked at 102?", "choices": ["1980-05-01", "2014-07-01", "1974-03-01", "2014-01-01", "2011-03-09", "2014-01-22", "2013-10-06", "2019-01-24", "2011-08-09", "1999-03-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Togo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "102", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Togo\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"102\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-03-09"}, {"question": "Which had more episodes The Three Musketeers (the one whose start time is 1987-10-09) or Yu-Gi-Oh! GX?", "choices": ["Dragon Ball", "The Three Musketeers", "Mobile Suit Gundam 00", "Digimon Adventure 02", "Digimon Adventure", "Mobile Suit Gundam SEED", "Yu-Gi-Oh! GX", "RahXephon", "Yu-Gi-Oh! Duel Monsters", "Speed Racer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1987-10-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Yu-Gi-Oh! GX"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1987-10-09\"^^xsd:date . } UNION { ?e <pred:name> \"Yu-Gi-Oh! GX\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Yu-Gi-Oh! GX"}, {"question": "At what time point was Charles S. Dutton nominated for a Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie?", "choices": ["1993-10-22", "1986-01-01", "1970-05-27", "1965-11-01", "1999-03-21", "1991-03-01", "2001-11-21", "2017-06-01", "1995", "2007-09-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles S. Dutton"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Charles S. Dutton\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1995"}, {"question": "What is the number of United States colleges and universities that have the street address 3410 Beardshear Hall, Ames, IA, 50011-2030", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "3410 Beardshear Hall, Ames, IA, 50011-2030"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <located_at_street_address> ?pv . ?pv <pred:value> \"3410 Beardshear Hall, Ames, IA, 50011-2030\" .  }", "answer": "1"}, {"question": "What is the connection between John Adams (the one whose date of birth is 1772-09-18) to head teacher?", "choices": ["stated in", "mother", "notable people with this condition", "symptoms", "operating area", "relative", "position held", "instrument", "broadcast by", "material used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Adams"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1772-09-18", "="]}, {"function": "Find", "dependencies": [], "inputs": ["head teacher"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Adams\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1772-09-18\"^^xsd:date . ?e_2 <pred:name> \"head teacher\" . ?e_1 ?p ?e_2 .  }", "answer": "position held"}, {"question": "If we know of a person whose CANTIC-ID is a11826630, what liberal arts college served as the education place for this person ?", "choices": ["Ohio Wesleyan University", "Scottish Church College", "Hampshire College", "Williams College", "Grinnell College", "Colorado College", "Denison University", "Trinity College", "Carleton College", "Barnard College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11826630"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["liberal arts college"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11826630\" .   }", "answer": "Grinnell College"}, {"question": "Which Christianity is the religion of the higher education institution located at street address 24255 Pacific Coast Hwy, Malibu, CA, 90263?", "choices": ["Seventh-day Adventist Church", "Churches of Christ", "Pentecostalism", "Evangelical Christianity", "Baptists", "United Church of Christ", "Nondenominational Christianity", "Presbyterianism", "Lutheranism", "Russian Orthodox Church"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "24255 Pacific Coast Hwy, Malibu, CA, 90263"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "Relate", "dependencies": [2], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Christianity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Christianity\" . ?e_1 <religion> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"higher education institution\" . ?e_1 <located_at_street_address> ?pv . ?pv <pred:value> \"24255 Pacific Coast Hwy, Malibu, CA, 90263\" .   }", "answer": "Churches of Christ"}, {"question": "Where was the film that is based on South Park that has 297 episodes published on 2000-01-20?", "choices": ["2004 Cannes Film Festival", "Russia", "Belgium", "Germany", "British Hong Kong", "Norway", "Cannes Film Festival", "Park City", "Washington, D.C.", "Greek Theatre, Los Angeles"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Park"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "297", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2000-01-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"South Park\" . ?e_1 <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"297\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-01-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which human has the ISNI 0000 0000 4014 9919?", "choices": ["Max Fleischer", "Paul Dano", "Richard Gere", "Kevin Michael Richardson", "David Zucker", "Sylvester Stallone", "Michael Balcon", "k.d. lang", "Nancy Marchand", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4014 9919"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 4014 9919\" .  }", "answer": "David Zucker"}, {"question": "Which movie is titled The Edge ?", "choices": ["Weeds", "The Hobbit: An Unexpected Journey", "W.", "The Count of Monte Cristo", "Pleasantville", "Another Year", "Rebecca", "Alfie", "Talk to Her", "The Edge"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Edge"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"The Edge\" .  }", "answer": "The Edge"}, {"question": "What animated feature film with a duration under 160 minutes is the longest?", "choices": ["Winnie the Pooh", "Madagascar 3: Europe's Most Wanted", "The SpongeBob SquarePants Movie", "Mobile Suit Gundam: Char's Counterattack", "Toy Story 2", "Puss in Boots", "Cars", "Finding Nemo", "The Lord of the Rings", "Ice Age"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "160 minute", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"160\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings"}, {"question": "Which visual artwork titled The Guard was publicly released prior to 2014?", "choices": ["The Guard", "Rebecca", "Moonstruck", "The Good, the Bad, the Weird", "A Prairie Home Companion", "Amadeus", "Do the Right Thing", "Pleasantville", "Bolero", "Android"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2014", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "The Guard"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Guard\" .  }", "answer": "The Guard"}, {"question": "What is the connection between Natalie Wood (the one whose official website is http://iamnataliewood.blogspot.com/) to University of Toronto?", "choices": ["movement", "general manager", "instrument", "native language", "illustrator", "signatory", "educated at", "penalty", "airline alliance", "software engine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natalie Wood"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://iamnataliewood.blogspot.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Toronto"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Natalie Wood\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://iamnataliewood.blogspot.com/\" . ?e_2 <pred:name> \"University of Toronto\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How are Syria and Taiwan related?", "choices": ["diplomatic relation", "hair color", "sports season of league or competition", "office contested", "art director", "quotes work", "game mode", "position played on team / speciality", "conferred by", "position held"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Syria\" . ?e_2 <pred:name> \"Taiwan\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "When did Erie County (the one whose official website is http://www.eriecounty.oh.gov) have a population of 76048?", "choices": ["2015-12-31", "2011-09-21", "1838-01-01", "1989", "2013-07-01", "1993-09-25", "2006-07-14", "1993-03-29", "2010-06-07", "1996-07-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Erie County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.eriecounty.oh.gov"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "76048", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Erie County\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.eriecounty.oh.gov\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"76048\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "When did the New York county with ISNI 0000 0004 0405 4508 have a population totaling 99,250?", "choices": ["1926", "2011-07-01", "2006-12-31", "1946-04-21", "1600-01-01", "2016-07-01", "1798", "1836-01-01", "1955", "2015-08-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0405 4508"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "99250", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0405 4508\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"99250\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Which ethnic group with under 61,000,000 members has the biggest population?", "choices": ["Puerto Ricans", "Iroquois", "Ashkenazi Jews", "Austrians", "Indian American", "Irish migration to Great Britain", "Italians", "Koreans", "German Americans", "Hungarians"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "61000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"61000000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hungarians"}, {"question": "Among the neighborhoods whose elevation (above sea level) is not equal to 140 metres, which one has the largest elevation (above sea level)?", "choices": ["Encino", "Sherman Oaks", "Hollywood", "Monte Carlo", "Northridge", "San Pedro", "Woodland Hills", "Van Nuys", "Astoria", "Pacific Palisades"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "140 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"140\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Northridge"}, {"question": "Jim Sheridan who is the screenwriter of In the Name of the Father was nominated for an Academy Award for Best Picture for which work?", "choices": ["The Sin of Madelon Claudet", "In the Name of the Father", "The Witches of Eastwick", "Audrey Hepburn's Enchanted Tales", "Will & Grace", "Loud", "Dead Poets Society", "The Man in the Glass Booth", "Cry Freedom", "Pete 'n' Tillie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In the Name of the Father"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Sheridan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jim Sheridan\" . ?e_3 <screenwriter> ?e_1 . ?e_3 <pred:name> \"In the Name of the Father\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "In the Name of the Father"}, {"question": "Which has the most episodes among the anime television series whose original language is Japanese?", "choices": ["Yu-Gi-Oh! Duel Monsters", "Yu-Gi-Oh! GX", "Digimon Adventure 02", "Digimon Adventure", "Mobile Suit Gundam 00", "Dragon Ball", "Mobile Suit Gundam SEED", "Speed Racer", "The Three Musketeers", "RahXephon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Japanese\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Yu-Gi-Oh! Duel Monsters"}, {"question": "Which person is in the cast of Harry Potter and the Half-Blood Prince (the one that has Alan Rickman as a cast member) (the character role of this statement is Albus Dumbledore)?", "choices": ["Helena Bonham Carter", "Richard Harris", "Michael Gambon", "Geraldine Somerville", "William Henry Harrison", "Timothy Spall", "Sylvester Stallone", "Alan Rickman", "Julie Walters", "David Thewlis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Rickman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Half-Blood Prince"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "Albus Dumbledore"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Harry Potter and the Half-Blood Prince\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Alan Rickman\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Albus Dumbledore\" .  }", "answer": "Michael Gambon"}, {"question": "What is the street address of Christ's College that is headquartered in Cambridge, the birthplace of John Ruddy?", "choices": ["1570 E Colorado Blvd., Pasadena, CA, 91106-2003", "300 College St NE, Orangeburg, SC, 29117-0001", "2130 Fulton St, San Francisco, CA, 94117-1080", "64 Mercer St, Princeton, NJ, 08542-0803", "Trinity Lane", "105 Jamestown Road", "St Andrew's Street", "45 Francis Avenue", "1250 W Wisconsin Avenue, Milwaukee, WI, 53233", "11021 East Blvd, Cleveland, OH, 44106-1776"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christ's College"]}, {"function": "Find", "dependencies": [], "inputs": ["John Ruddy"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Christ's College\" . ?e_2 <pred:name> \"Cambridge\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"John Ruddy\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "St Andrew's Street"}, {"question": "How many visual artworks contain an activity published by Paramount Pictures?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of the series", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"activity\" . ?e_1 <publisher> ?e_2 . ?e_2 <pred:name> \"Paramount Pictures\" .   }", "answer": "1"}, {"question": "When was Dabney Coleman educated at the Virginia Military Institute?", "choices": ["1721", "1989-11-09", "1949-01-01", "2010-05-27", "2013-05-13", "2006-06-28", "2002-07-09", "1966-10-17", "2000-05-25", "1912-02-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dabney Coleman"]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia Military Institute"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dabney Coleman\" . ?e_2 <pred:name> \"Virginia Military Institute\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1949-01-01"}, {"question": "What does the Fender Precision Bass have to do with Mike Oldfield?", "choices": ["distribution", "film editor", "famous people", "different from", "time period", "distributor", "instrument", "model item", "derivative work", "designed to carry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fender Precision Bass"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Oldfield"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fender Precision Bass\" . ?e_2 <pred:name> \"Mike Oldfield\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Is the inception time of the agent whose official website is http://www.avalonhill.com/ (the language of this statement is English) 1324 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.avalonhill.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1324", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.avalonhill.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv . ?pv <pred:year> 1324 .  }", "answer": "no"}, {"question": "Which human is the screenwriter of Election (whose production company is Paramount Pictures) and is the director of The Descendants?", "choices": ["James E. Reilly", "Simon Cowell", "William Henry Harrison", "Sylvester Stallone", "Rahul Dev Burman", "Paul Simon", "Jim Taylor", "Alexander Payne", "Max Fleischer", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Election"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["The Descendants"]}, {"function": "Relate", "dependencies": [6], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Election\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"Paramount Pictures\" .  ?e_3 <director> ?e . ?e_3 <pred:name> \"The Descendants\" .  }", "answer": "Alexander Payne"}, {"question": "When was Robert Ryan, who works in Ottawa, born?", "choices": ["1976-05-19", "1978-10-14", "1979-07-16", "1919-11-04", "1962-10-13", "1975-09-20", "1878-07-09", "1919-10-22", "1971-10-05", "1964-10-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ottawa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Ryan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Robert Ryan\" . ?e <work_location> ?e_1 . ?e_1 <pred:name> \"Ottawa\" .  ?e <date_of_birth> ?pv .  }", "answer": "1878-07-09"}, {"question": "What quantity of University of Cambridge colleges are situated in Cambridge, where Magdalene College is located?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Magdalene College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Cambridge"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Cambridge\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Magdalene College\" .   }", "answer": "17"}, {"question": "Where was the film published, which was released on 2012-09-13 with a story set in Manila?", "choices": ["France", "Hong Kong", "2004 Cannes Film Festival", "Denmark", "Turkey", "Germany", "Russia", "Hollywood Bowl", "New Zealand", "Lebanon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manila"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2012-09-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Manila\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2012-09-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the soccer club headquartered in Jeddah officially named City of Toronto ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeddah"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["City of Toronto"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Jeddah\" .  ?e <official_name> ?pv . ?pv <pred:value> \"City of Toronto\" .  }", "answer": "no"}, {"question": "Which area is smaller, Thuringia (the one whose official name is Th\u00fcringen) or Australian Capital Territory?", "choices": ["Upper Austria", "Australian Capital Territory", "Thuringia", "Podlaskie Voivodeship", "Chiapas", "Greater Poland Voivodeship", "England", "New South Wales", "Lublin Voivodeship", "Punjab"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thuringia"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Th\u00fcringen"]}, {"function": "Find", "dependencies": [], "inputs": ["Australian Capital Territory"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thuringia\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Th\u00fcringen\" . } UNION { ?e <pred:name> \"Australian Capital Territory\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Australian Capital Territory"}, {"question": "Who has more children, Elizabeth Hurley or Kathleen Kennedy?", "choices": ["James E. Reilly", "Rahul Dev Burman", "William Henry Harrison", "Richard Gere", "Sylvester Stallone", "Max Fleischer", "Elizabeth Hurley", "Paul Simon", "Kathleen Kennedy", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth Hurley"]}, {"function": "Find", "dependencies": [], "inputs": ["Kathleen Kennedy"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Elizabeth Hurley\" .  } UNION { ?e <pred:name> \"Kathleen Kennedy\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kathleen Kennedy"}, {"question": "When did the geographic region that is the narrative location of Master and Commander: The Far Side of the World have a number of out-of-school children of 852890?", "choices": ["2016-03-21", "1982-02-24", "2016-03-03", "1874-01-01", "2001-01-01", "1966-01-01", "2016-11-12", "2011-06-12", "1976-03-29", "1927-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Master and Commander: The Far Side of the World"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of out-of-school children", "852890", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"Master and Commander: The Far Side of the World\" .  ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"852890\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2001-01-01"}, {"question": "Did the movie titled Armageddon make less than 700000000 United States dollars at the box office?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Armageddon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["700000000 United States dollar", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Armageddon\" . ?e <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"700000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the connection between Lake Michigan to Illinois (the one whose demonym is Illinoisan)?", "choices": ["located in the administrative territorial entity", "film regional debut venue", "twinned administrative body", "platform", "honorific suffix", "place of publication", "operator", "basin country", "said to be the same as", "movement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["demonym", "Illinoisan"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lake Michigan\" . ?e_2 <pred:name> \"Illinois\" . ?e_2 <demonym> ?pv . ?pv <pred:value> \"Illinoisan\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Who has more mass, Mauricio Pinilla of U.S. Grosseto F.C. or Juan Mata?", "choices": ["Paul Simon", "Sylvester Stallone", "William Henry Harrison", "Simon Cowell", "Richard Gere", "Juan Mata", "James E. Reilly", "Mauricio Pinilla", "Max Fleischer", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["U.S. Grosseto F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mauricio Pinilla"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Juan Mata"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mauricio Pinilla\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"U.S. Grosseto F.C.\" .   } UNION { ?e <pred:name> \"Juan Mata\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mauricio Pinilla"}, {"question": "How many mythical creatures are stallions and succeed Rogue (the one that is the citizen of United States of America) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rogue"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mythical creature"]}, {"function": "Find", "dependencies": [], "inputs": ["stallion"]}, {"function": "Relate", "dependencies": [6], "inputs": ["sex or gender", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["mythical creature"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mythical creature\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"Rogue\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <sex_or_gender> ?e_3 . ?e_3 <pred:name> \"stallion\" .  }", "answer": "0"}, {"question": "How many Summer Olympic Games were officially opened by the person whose Munzinger IBA is 00000000073?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000000073"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["officially opened by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Summer Olympic Games"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <officially_opened_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000000073\" .   }", "answer": "2"}, {"question": "Was 2012 not the year of the edition of the film festival succeeded by the 2010 Sundance Film Festival?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2010 Sundance Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival edition"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2012", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"2010 Sundance Film Festival\" .  ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) .  }", "answer": "yes"}, {"question": "I need to know the number of musical instruments that have famous people who is person who has official website http://www.bucketheadland.com", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bucketheadland.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["musical instrument"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical instrument\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.bucketheadland.com\" .   }", "answer": "2"}, {"question": "Which movie is shorter, Ferris Bueller's Day Off or Harry Potter and the Order of the Phoenix (the one whose production company is Warner Bros.)?", "choices": ["The Hunchback of Notre Dame", "Ferris Bueller's Day Off", "Talk to Her", "A Prairie Home Companion", "Training Day", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "The Fifth Element", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ferris Bueller's Day Off"]}, {"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Order of the Phoenix"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ferris Bueller's Day Off\" .  } UNION { ?e <pred:name> \"Harry Potter and the Order of the Phoenix\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Warner Bros.\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ferris Bueller's Day Off"}, {"question": "Which territorial jurisdiction does a comics character, whose official website is http://mickey.disney.com/mickey and whose public domain date is 1st January 2024, apply to ?", "choices": ["Chelyabinsk Oblast", "Ryazan Oblast", "Chukotka Autonomous Okrug", "Austria", "Tambov Oblast", "Taiwan", "New Zealand", "People's Republic of China", "Turkey", "United States of America"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://mickey.disney.com/mickey"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comics character"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["public domain date", "2024-01-01", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comics character\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://mickey.disney.com/mickey\" . ?e <public_domain_date> ?pv . ?pv <pred:date> \"2024-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <public_domain_date> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "United States of America"}, {"question": "How is Jon Bon Jovi related to the pop rock band Bon Jovi?", "choices": ["follows", "has quality", "military rank", "employer", "member of", "official color", "spouse", "league", "appointed by", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Bon Jovi"]}, {"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bon Jovi"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jon Bon Jovi\" . ?e_2 <pred:name> \"Bon Jovi\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"pop rock\" . ?e_1 ?p ?e_2 .  }", "answer": "member of"}, {"question": "What organization comes before the organization with ISIN CA5359192039?", "choices": ["McDonald's", "Academy of Television Arts & Sciences", "Digital Equipment Corporation", "Society of Jesus", "Artisan Entertainment", "Activision Blizzard", "JPMorgan Chase", "MCA Inc.", "West Indies cricket team", "Pfizer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "CA5359192039"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["organization"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <followed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <ISIN> ?pv . ?pv <pred:value> \"CA5359192039\" .   }", "answer": "MCA Inc."}, {"question": "What language is associated with http://www.sonypictures.com/, the official website of a movie production company whose British Museum person-institution is 105933 ?", "choices": ["Chinese", "Canadian English", "Yaqui", "Portuguese", "French", "Latvian", "Putonghua", "English", "British English", "Bokm\u00e5l"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "105933"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.sonypictures.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> \"105933\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonypictures.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Charlie's Angels (that has Farrah Fawcett as a cast member) or Degrassi: The Next Generation have the longer running time?", "choices": ["Game of Thrones", "Bleak House", "Degrassi: The Next Generation", "Six Feet Under", "American Horror Story", "Charlie's Angels", "Phineas and Ferb", "Seinfeld", "Dancing with the Stars", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Farrah Fawcett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Degrassi: The Next Generation"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlie's Angels\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Farrah Fawcett\" .   } UNION { ?e <pred:name> \"Degrassi: The Next Generation\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Charlie's Angels"}, {"question": "How many New Jersey counties have a population less than 72000000 and border New York City?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "72000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New Jersey"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"72000000\"^^xsd:double ) . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"New York City\" .  }", "answer": "3"}, {"question": "Which is shorter, Earth published on 1930-04-08 or Wilson starring Douglas Fairbanks?", "choices": ["Paris", "The Last of the Mohicans", "Rebecca", "Hamlet", "Pleasantville", "Little Women", "Earth", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Scarlet Letter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1930-04-08", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Douglas Fairbanks"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wilson"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Earth\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1930-04-08\"^^xsd:date . } UNION { ?e <pred:name> \"Wilson\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Douglas Fairbanks\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Earth"}, {"question": "What is the association between Riverside and Erlangen?", "choices": ["edition or translation of", "sponsor", "distribution", "used by", "producer", "twinned administrative body", "genre", "product or material produced", "captain", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Riverside"]}, {"function": "Find", "dependencies": [], "inputs": ["Erlangen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Riverside\" . ?e_2 <pred:name> \"Erlangen\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What number of wars started after 1947?", "choices": ["13", "14", "15", "16", "17", "18", "19", "20", "21", "22"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1947", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["war"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1947 ) .  }", "answer": "13"}, {"question": "Which is longer, Crouching Tiger, Hidden Dragon or Chocolat published on 2016-11-11?", "choices": ["Chocolat", "Training Day", "The Towering Inferno", "Talk to Her", "Pleasantville", "Curse of the Golden Flower", "Crouching Tiger, Hidden Dragon", "Rebecca", "The Hunchback of Notre Dame", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crouching Tiger, Hidden Dragon"]}, {"function": "Find", "dependencies": [], "inputs": ["Chocolat"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2016-11-11", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crouching Tiger, Hidden Dragon\" . } UNION { ?e <pred:name> \"Chocolat\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2016-11-11\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Crouching Tiger, Hidden Dragon"}, {"question": "Who is taller, David Carney or Scarlett Johansson?", "choices": ["Scarlett Johansson", "David Carney", "Richard Gere", "Sylvester Stallone", "Rahul Dev Burman", "William Henry Harrison", "David Byrne", "Paul Simon", "Simon Cowell", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Carney"]}, {"function": "Find", "dependencies": [], "inputs": ["Scarlett Johansson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Carney\" .  } UNION { ?e <pred:name> \"Scarlett Johansson\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "David Carney"}, {"question": "Does Dijon or Lille have less area?", "choices": ["Dnipro", "Stuttgart", "Bordeaux", "Halle (Saale)", "Dijon", "Lille", "Wuppertal", "Fort Smith", "Lyon", "Utrecht"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dijon"]}, {"function": "Find", "dependencies": [], "inputs": ["Lille"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dijon\" .  } UNION { ?e <pred:name> \"Lille\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lille"}, {"question": "Which US state is the location of the administrative division Wood County, with the capital Parkersburg?", "choices": ["Wisconsin", "Illinois", "Florida", "Massachusetts", "West Virginia", "Iowa", "Kentucky", "Tennessee", "Missouri", "Ohio"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Parkersburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wood County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Wood County\" . ?e_2 <capital_of> ?e_1 . ?e_2 <pred:name> \"Parkersburg\" .   }", "answer": "West Virginia"}, {"question": "Which is longer, Cheaper by the Dozen released in the USA or Kiss of the Spider Woman?", "choices": ["Training Day", "Talk to Her", "Cheaper by the Dozen", "A Prairie Home Companion", "The Fifth Element", "Curse of the Golden Flower", "The Towering Inferno", "Kiss of the Spider Woman", "The Hunchback of Notre Dame", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cheaper by the Dozen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kiss of the Spider Woman"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cheaper by the Dozen\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Kiss of the Spider Woman\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kiss of the Spider Woman"}, {"question": "What is the title of the visual artwork whose composer is Warren Ellis who has the occupation of composer?", "choices": ["Ghost Rider", "The Proposition", "The Cat in the Hat", "Requiem for a Dream", "The Weather Man", "Sherlock Holmes", "The Birds", "Life of Pi", "Cry Freedom", "Lincoln"], "program": [{"function": "Find", "dependencies": [], "inputs": ["composer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Warren Ellis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Warren Ellis\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"composer\" .  ?e <title> ?pv .  }", "answer": "The Proposition"}, {"question": "What is the relationship between Star Trek (the one that has Zachary Quinto as a cast member) and Spyglass Entertainment?", "choices": ["office held by head of government", "programming language", "publisher", "lifestyle", "symptoms", "official religion", "main food source", "production company", "permanent resident of", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zachary Quinto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Spyglass Entertainment"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Trek\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Zachary Quinto\" . ?e_2 <pred:name> \"Spyglass Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "How is Trainspotting (exploitation visa number 90005) related to Jonny Lee Miller?", "choices": ["sport", "filming location", "writing system", "cast member", "has edition", "geographic distribution", "legislative body", "spouse", "business division", "commissioned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trainspotting"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "90005"]}, {"function": "Find", "dependencies": [], "inputs": ["Jonny Lee Miller"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Trainspotting\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"90005\" . ?e_2 <pred:name> \"Jonny Lee Miller\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the relationship of Omar Sharif to Greek (that is the official language of Greece)?", "choices": ["sex or gender", "relative", "position held", "territory claimed by", "honorific suffix", "product or material produced", "had as last meal", "director/manager", "languages spoken, written or signed", "operator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Omar Sharif"]}, {"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Relate", "dependencies": [1], "inputs": ["official language", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Greek"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Omar Sharif\" . ?e_2 <pred:name> \"Greek\" . ?e_3 <official_language> ?e_2 . ?e_3 <pred:name> \"Greece\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Which movie published after 1999 is titled Great Expectations?", "choices": ["A Prairie Home Companion", "Great Expectations", "Talk to Her", "The Da Vinci Code", "Pleasantville", "Rebecca", "Gosford Park", "Rise of the Planet of the Apes", "The 40-Year-Old Virgin", "Super"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1999", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Great Expectations"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1999 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Great Expectations\" .  }", "answer": "Great Expectations"}, {"question": "Which one, The Brothers Bloom or As Good as It Gets, has a higher box office?", "choices": ["The Towering Inferno", "As Good as It Gets", "The Hunchback of Notre Dame", "Talk to Her", "Pleasantville", "The Fifth Element", "A Prairie Home Companion", "The Brothers Bloom", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Brothers Bloom"]}, {"function": "Find", "dependencies": [], "inputs": ["As Good as It Gets"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Brothers Bloom\" .  } UNION { ?e <pred:name> \"As Good as It Gets\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "As Good as It Gets"}, {"question": "What is the title of The Witches of Eastwick (the one that has Jack Nicholson as a cast member)?", "choices": ["Caravaggio, il pittore maledetto", "24", "Cheaper by the Dozen", "Men in Black 3", "The Ghost and the Darkness", "Swept Away", "A Star Is Born", "Genesis", "Dredd", "The Witches of Eastwick"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Nicholson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Witches of Eastwick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Witches of Eastwick\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jack Nicholson\" .  ?e <title> ?pv .  }", "answer": "The Witches of Eastwick"}, {"question": "Is the larger area occupied by Petaluma or by Manhattan (official website www.ci.manhattan.ks.us)?", "choices": ["Franklin", "Boulder", "Compton", "Lansing", "Columbus", "Greenville", "New Haven", "Oakland", "Petaluma", "Manhattan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Petaluma"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.ci.manhattan.ks.us/"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Petaluma\" . } UNION { ?e <pred:name> \"Manhattan\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.manhattan.ks.us/\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Manhattan"}, {"question": "What is the relationship between Alastair Reynolds (the one that is related to sport association football) and association football manager?", "choices": ["doctoral student", "draft pick from school", "parent club", "home venue", "narrative location", "basic form of government", "occupation", "country", "political alignment", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alastair Reynolds"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["association football manager"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alastair Reynolds\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"association football manager\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Where is Mountain View, the headquarter location of Google (the one that sponsors Wikimedia Foundation, Inc.)?", "choices": ["Googleplex", "Apple Campus", "Waldorf-Astoria Hotel", "Adobe World Headquarters", "Yorba Linda", "Westminster Abbey", "worldwide", "Brevard County", "Rome", "Tokyo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wikimedia Foundation, Inc."]}, {"function": "Relate", "dependencies": [0], "inputs": ["sponsor", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Google"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mountain View"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["headquarters location", "location"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Google\" . ?e_3 <sponsor> ?e_1 . ?e_3 <pred:name> \"Wikimedia Foundation, Inc.\" . ?e_2 <pred:name> \"Mountain View\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <location> ?qpv .  }", "answer": "Googleplex"}, {"question": "What is the Dewey Decimal Classification of the city located in North Macedonia?", "choices": ["2--451821", "2--54912", "2--434313", "2--79499", "2--969", "2--755", "2--4976", "2--489718", "2--79483", "2--74731"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Macedonia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1991", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"North Macedonia\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1991 . ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--4976"}, {"question": "How many cable channels are either in the United States of America or operate in the United States of America?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cable channel"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["operating area", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["cable channel"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <operating_area> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "5"}, {"question": "Does the person with Twitter handle lilkim have fewer than 5 kids?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "lilkim"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"lilkim\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"5\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the postal code of the University of Western Australia, which is located in Perth with a dialing code of 08637?", "choices": ["26506-6201", "45601", "6009", "10001-5992", "15705-1098", "060-8611", "5600\u20135658", "39762", "71601\u201371603", "47727"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Western Australia"]}, {"function": "Find", "dependencies": [], "inputs": ["Perth"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "08637"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Western Australia\" . ?e_2 <pred:name> \"Perth\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"08637\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "6009"}, {"question": "What is Jaco Pastorius's ISNI?", "choices": ["0000 0001 2120 5126", "0000 0004 0639 9286", "0000 0001 1466 6389", "0000 0000 8185 5297", "0000 0001 1470 3186", "0000 0000 6355 6015", "0000 0000 8376 3038", "0000 0003 6861 5389", "0000 0001 2243 5417", "0000 0001 0881 8091"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jaco Pastorius"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jaco Pastorius\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 8376 3038"}, {"question": "Which ISNI belongs to the person married to Richie Sambora until 2007-04-11?", "choices": ["0000 0001 1018 7663", "0000 0001 0693 8428", "0000 0001 1439 1784", "0000 0001 0941 5921", "0000 0001 0921 7183", "0000 0000 7842 404X", "0000 0001 1480 4729", "0000 0001 1476 1773", "0000 0004 1936 8227", "0000 0000 7823 7631"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richie Sambora"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2007-04-11", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Richie Sambora\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> \"2007-04-11\"^^xsd:date . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0921 7183"}, {"question": "What is the connection between Jill Scott (the one that is a participant of 2012 Summer Olympics) to Loughborough University?", "choices": ["educated at", "organisation directed from the office or person", "used by", "award disciplines or subjects", "officially opened by", "next lower rank", "quotes work", "chief executive officer", "legislative body", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2012 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jill Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Loughborough University"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jill Scott\" . ?e_1 <participant_of> ?e_3 . ?e_3 <pred:name> \"2012 Summer Olympics\" . ?e_2 <pred:name> \"Loughborough University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "For animated series which had start times other than the year 2005, which one had the least number of seasons?", "choices": ["Star Trek: The Animated Series", "The Cleveland Show", "Phineas and Ferb", "Adrian", "King of the Hill", "Disney's House of Mouse", "Animaniacs", "The Simpsons", "South Park", "Hercules"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2005", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2005 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adrian"}, {"question": "When did Laurence Olivier win the BAFTA Award for Best Actor in a Supporting Role?", "choices": ["2008-07-02", "1912-01-01", "1970", "1980-05-01", "2018-07-06", "2005-11-21", "1944-01-01", "2003-09-01", "1980", "2012-06-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Supporting Role"]}, {"function": "Find", "dependencies": [], "inputs": ["Laurence Olivier"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Supporting Role\" . ?e_2 <pred:name> \"Laurence Olivier\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1970"}, {"question": "What is the county of Florida that has the Dewey Decimal Classification of 2--75944?", "choices": ["Collier County", "Marion County", "Putnam County", "Volusia County", "Citrus County", "Naples", "Broward County", "Orange County", "Hillsborough County", "Duval County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--75944"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--75944\" .  }", "answer": "Collier County"}, {"question": "Is robzombieofficial the Instagram username of Dakota Fanning?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dakota Fanning"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["robzombieofficial"]}], "sparql": "ASK { ?e <pred:name> \"Dakota Fanning\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"robzombieofficial\" .  }", "answer": "no"}, {"question": "How many estates in land usually have Uzbekistan as a property?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Uzbekistan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["properties for this type", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["estate in land"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"estate in land\" . ?e <properties_for_this_type> ?e_1 . ?e_1 <pred:name> \"Uzbekistan\" .   }", "answer": "0"}, {"question": "How many news programs were Peabody Award recipients or were first broadcast on Comedy Central?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peabody Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "Find", "dependencies": [], "inputs": ["Comedy Central"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["news"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Peabody Award\" .  } UNION { ?e <original_network> ?e_1 . ?e_1 <pred:name> \"Comedy Central\" .  } }", "answer": "2"}, {"question": "What is the area of the administrative territorial entity whose FIPS 10-4 (countries and regions) is UKC4?", "choices": ["261.8 square kilometre", "21.8 square kilometre", "16107 square kilometre", "61.2 square kilometre", "63.998715 square kilometre", "1723 square kilometre", "22.437067 square kilometre", "570000 square kilometre", "728.26 square kilometre", "36.989153 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKC4"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"UKC4\" . ?e <area> ?pv .  }", "answer": "21.8 square kilometre"}, {"question": "When was the person nominated for an Academy Award for Best Actress for Tommy born?", "choices": ["1976-07-15", "1969-03-27", "1941-04-28", "1977-07-30", "1966-06-07", "1967-07-16", "1968-03-03", "1963-03-15", "1973-03-26", "1961-10-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Tommy"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Tommy\" . ?e <date_of_birth> ?pv .  }", "answer": "1941-04-28"}, {"question": "What number of secondary schools specialize in dance?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"dance\" .   }", "answer": "0"}, {"question": "What school was the person with the ISNI of 0000 0001 0916 0906 educated at?", "choices": ["Harvard Business School", "Phillips Academy", "Harrow School", "Punahou School", "Royal Academy of Dramatic Art", "Royal Military Academy Sandhurst", "Royal Military Academy", "John F. Kennedy School of Government", "Marlborough College", "Dulwich College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0916 0906"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["school"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0916 0906\" .   }", "answer": "Royal Academy of Dramatic Art"}, {"question": "What is the ISNI of the producer of Sunshine (the one that was nominated for Genie Award for Best Achievement in Overall Sound)?", "choices": ["0000 0000 7357 8648", "0000 0001 1681 3522", "0000 0001 1639 4751", "0000 0003 6862 8358", "0000 0000 7102 0712", "0000 0001 0920 3646", "0000 0000 7777 8604", "0000 0001 0801 2194", "0000 0001 2359 4874", "0000 0001 1522 9973"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Genie Award for Best Achievement in Overall Sound"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sunshine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Sunshine\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Genie Award for Best Achievement in Overall Sound\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 7357 8648"}, {"question": "What Swedish Literature Bank AuthorID is associated with the person born in 1483?", "choices": ["BenjaminW", "MarxK", "WhitmanW", "JungCG", "Rafael", "MozartWA", "TolstojLN", "AlighieriD", "KantI", "FlaubertG"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1483", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Swedish Literature Bank AuthorID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 1483 . ?e <Swedish_Literature_Bank_AuthorID> ?pv .  }", "answer": "Rafael"}, {"question": "How many organizations have the official name House of Commons or have ISNI 0000 0000 8895 0553?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "House of Commons"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 8895 0553"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" .  { ?e <official_name> ?pv . ?pv <pred:value> \"House of Commons\" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8895 0553\" .  } }", "answer": "2"}, {"question": "Which has lower elevation above sea level, Carlisle (the one whose official website is http://www.carlisle.gov.uk/carlislecc/) or Kampala?", "choices": ["Dundee", "Trieste", "Kingston", "Santo Domingo", "Abidjan", "Cork", "Kilkenny", "Carlisle", "Chihuahua", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carlisle"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.carlisle.gov.uk/carlislecc/"]}, {"function": "Find", "dependencies": [], "inputs": ["Kampala"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carlisle\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.carlisle.gov.uk/carlislecc/\" . } UNION { ?e <pred:name> \"Kampala\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Carlisle"}, {"question": "Does Macon or Greenwood have lower elevation above sea level?", "choices": ["Lansing", "Columbus", "Greenwood", "Greenville", "Waukegan", "New Haven", "Oakland", "Macon", "Boulder", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macon"]}, {"function": "Find", "dependencies": [], "inputs": ["Greenwood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Macon\" .  } UNION { ?e <pred:name> \"Greenwood\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Greenwood"}, {"question": "Who composed House of Wax, about a serial killer?", "choices": ["Carter Burwell", "Max Fleischer", "William Henry Harrison", "Sylvester Stallone", "John Ottman", "David Buttolph", "Jean Passanante", "Hans Zimmer", "David Shire", "Todd McFarlane"], "program": [{"function": "Find", "dependencies": [], "inputs": ["serial killer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["House of Wax"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"House of Wax\" . ?e_1 <main_subject> ?e_2 . ?e_2 <pred:name> \"serial killer\" .   }", "answer": "John Ottman"}, {"question": "What language is associated with the official website http://www.parks.ca.gov for the California Department of Parks and Recreation?", "choices": ["Chinese", "Latin", "Traditional Chinese", "Dutch", "English", "Norwegian", "American English", "Greek", "British English", "Cornish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California Department of Parks and Recreation"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.parks.ca.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"California Department of Parks and Recreation\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.parks.ca.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Tell me the one with less employees, Loughborough University of Georgia State University.", "choices": ["University of Manchester", "Imperial College London", "Loughborough University", "Pennsylvania State University", "Georgia State University", "Presidency University", "King's College London", "University of Tehran", "Panjab University", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Loughborough University"]}, {"function": "Find", "dependencies": [], "inputs": ["Georgia State University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Loughborough University\" .  } UNION { ?e <pred:name> \"Georgia State University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Georgia State University"}, {"question": "Which coat more, Dredd or Airplane!?", "choices": ["Dredd", "Airplane!", "The Fifth Element", "Rebecca", "Curse of the Golden Flower", "A Prairie Home Companion", "Training Day", "Talk to Her", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dredd"]}, {"function": "Find", "dependencies": [], "inputs": ["Airplane!"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dredd\" .  } UNION { ?e <pred:name> \"Airplane!\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dredd"}, {"question": "When did the Maine county with official website http://washingtoncountymaine.com/ have a population of 32856?", "choices": ["2018-05-17", "2009", "1771-01-01", "1871-12-01", "1975-12-01", "1963-01-01", "2010-04-01", "1998-07-15", "2015-04-09", "2013-02-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://washingtoncountymaine.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maine"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "32856", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://washingtoncountymaine.com/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"32856\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Which has less mains voltage, Saint Lucia or San Marino whose demonym is sammarinesi?", "choices": ["Kiribati", "South Sudan", "San Marino", "Switzerland", "Saint Lucia", "Benin", "Russian Soviet Federative Socialist Republic", "Samoa", "Cambodia", "Socialist Federal Republic of Yugoslavia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Lucia"]}, {"function": "Find", "dependencies": [], "inputs": ["San Marino"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["demonym", "sammarinesi"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["mains voltage", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saint Lucia\" . } UNION { ?e <pred:name> \"San Marino\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"sammarinesi\" . } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Marino"}, {"question": "What is the connection between David Copperfield (the one that is originally aired on NBC) to Sheena Easton?", "choices": ["voice actor", "operating system", "conferred by", "creator", "narrative role", "cast member", "seed team", "official religion", "vehicle normally used", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sheena Easton"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"NBC\" . ?e_2 <pred:name> \"Sheena Easton\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "When did the film with the official website of http://www.restlessmovie.com and the exploitation number of 129890 start?", "choices": ["2013-07-12", "2006-06-28", "2011-09-09", "1912-02-14", "1983-08-09", "2001-01-13", "2015-02-24", "1859-11-10", "1987-03-25", "1993-01-20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.restlessmovie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["exploitation visa number", "129890", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.restlessmovie.com\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"129890\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2011-09-09"}, {"question": "Which New Jersey city in Passaic County covers the least area?", "choices": ["Paterson", "Jersey City", "Atlantic City", "Plainfield", "Elizabeth", "Perth Amboy", "Passaic", "Bayonne", "Trenton", "Hoboken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Passaic County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Passaic County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Passaic"}, {"question": "What film has the person with ISNI 0000 0000 8136 0817 as a cast member?", "choices": ["Amour", "Shutter Island", "Catch-22", "Alexander the Great", "About Schmidt", "The Expendables", "Unfaithful", "Moulin Rouge!", "Wag the Dog", "Bruce Almighty"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8136 0817"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8136 0817\" .   }", "answer": "Wag the Dog"}, {"question": "What is the association between Amman and Istanbul (the narrative location of Argo)?", "choices": ["member of", "legislative body", "replaced by", "twinned administrative body", "occupant", "feast day", "platform", "source of material", "influenced by", "political alignment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amman"]}, {"function": "Find", "dependencies": [], "inputs": ["Argo"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Istanbul"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amman\" . ?e_2 <pred:name> \"Istanbul\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"Argo\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the link between the University of California, Davis and the United States of America?", "choices": ["symptoms", "presenter", "sexual orientation", "distribution", "country", "lifestyle", "subsidiary", "twinned administrative body", "eye color", "religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Davis"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of California, Davis\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Who has fewer children, Gillian Anderson or Freddie Prinze (the one that has the occupation of screenwriter)?", "choices": ["Max Fleischer", "Gillian Anderson", "David Byrne", "Simon Cowell", "James E. Reilly", "Rahul Dev Burman", "Richard Gere", "Sylvester Stallone", "Freddie Prinze", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gillian Anderson"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Freddie Prinze"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gillian Anderson\" .  } UNION { ?e <pred:name> \"Freddie Prinze\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"screenwriter\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Freddie Prinze"}, {"question": "Who received the Academy Award for Best Writing, Adapted Screenplay for The Bridge on the River Kwa?", "choices": ["Cuba\u2013Pakistan relations", "Israel\u2013United Arab Emirates relations", "Pakistan\u2013United Kingdom relations", "Pakistan\u2013Thailand relations", "Jordan\u2013Saudi Arabia border", "Bahrain\u2013United States relations", "30th Academy Awards", "C\u00f4te d'Ivoire\u2013Liberia border", "death of Mao Zedong", "Portugal\u2013Serbia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Bridge on the River Kwai"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Bridge on the River Kwai\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "30th Academy Awards"}, {"question": "What is the official website of the Academy Award for Best Original Musical Score?", "choices": ["http://hurricanes.nhl.com/", "http://www.cityofpassaic.com/", "http://www.oscars.org", "http://www.sonypictures.jp/special/bewitched/index.html", "http://www.fai.ie/", "http://www.sva.edu", "http://www.lee-county.com", "http://www.megadeth.com/", "http://www.duq.edu", "http://www.barclayagency.com/sendak.html"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Musical Score"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Academy Award for Best Original Musical Score\" . ?e <official_website> ?pv .  }", "answer": "http://www.oscars.org"}, {"question": "When was Guam's population 157823?", "choices": ["1603", "1980-05-01", "2014-01-01", "1994-05-17", "2016-04-24", "1912-01-01", "2014-08-28", "2003", "1631-01-01", "1974-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guam"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "157823", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Guam\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"157823\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2003"}, {"question": "Does the New Jersey city with the English-language website www.plainfield.com occupy other than 7200 square km ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.plainfield.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city in New Jersey"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["7200 square kilometre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.plainfield.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"7200\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Tell me the person that has the ISNI of 0000 0001 1628 777X", "choices": ["Jean-Paul Sartre", "William Henry Harrison", "David Watkin", "Max Fleischer", "DMX", "Richard Gere", "Bridget Fonda", "Rick James", "Alan Rickman", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1628 777X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1628 777X\" .  }", "answer": "David Watkin"}, {"question": "What is the marriage date that Swizz Beatz is the spouse of Alicia Keys?", "choices": ["1981-05-20", "1974-01-15", "1898", "2010-01-01", "1984", "1660-05-08", "1963-12-16", "1980-09-16", "1991-05-13", "1931-12-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swizz Beatz"]}, {"function": "Find", "dependencies": [], "inputs": ["Alicia Keys"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Swizz Beatz\" . ?e_2 <pred:name> \"Alicia Keys\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "How many art movements are located in Paris (the one that is the main subject of An American in Paris) or have the Dewey Decimal Classification of 142.78?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["An American in Paris"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art movement"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["Dewey Decimal Classification", "142.78"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["art movement"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Paris\" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> \"An American in Paris\" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"142.78\" .  } }", "answer": "2"}, {"question": "When did Cebu have an electorate of 1903740?", "choices": ["1501-12-01", "2011-07-27", "2002-10-23", "2014-03-02", "2006-12-01", "2018-11-14", "2016", "2018", "1882", "1902-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cebu"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["electorate", "1903740", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cebu\" . ?e <electorate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1903740\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <electorate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "In the action movie Shrek the Third, what character does voice actor Maya Rudolph play?", "choices": ["Izzie Stevens", "Peter Florrick", "Maximilian Veers", "Walter Bishop", "Ari Gold", "Georges Duroy", "Marv", "Angel Batista", "Rapunzel", "Fred Jones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shrek the Third"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Maya Rudolph"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shrek the Third\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"action film\" . ?e_2 <pred:name> \"Maya Rudolph\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Rapunzel"}, {"question": "Which area has more people, Chandler (the one whose elevation (above sea level) is 370 metre) or Waukegan?", "choices": ["Greenville", "Oakland", "New Haven", "Columbus", "Franklin", "Chandler", "Lansing", "Boulder", "New Britain", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chandler"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "370 metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Waukegan"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chandler\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"370\"^^xsd:double . } UNION { ?e <pred:name> \"Waukegan\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Chandler"}, {"question": "Does Savannah whose start date is 1996-01-21 or Sleepy Hollow whose start date is 2013-09-16 have more episodes?", "choices": ["Sleepy Hollow", "Dancing with the Stars", "Phineas and Ferb", "Six Feet Under", "Savannah", "Bleak House", "Robot Chicken", "Saturday Night's Main Event", "Game of Thrones", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Savannah"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1996-01-21", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sleepy Hollow"]}, {"function": "FilterDate", "dependencies": [2], "inputs": ["start time", "2013-09-16", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Savannah\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1996-01-21\"^^xsd:date . } UNION { ?e <pred:name> \"Sleepy Hollow\" . ?e <start_time> ?pv_2 . ?pv_2 <pred:date> \"2013-09-16\"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sleepy Hollow"}, {"question": "What person received the Tony Award for Best Actress in a Play (the subject of this statement is 44th Tony Awards)?", "choices": ["Lily Tomlin", "Maggie Smith", "Max Fleischer", "Robert Morse", "Charles Durning", "Joan Plowright", "Sylvester Stallone", "Helen Hayes", "William Henry Harrison", "Ellen Burstyn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actress in a Play"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "44th Tony Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Tony Award for Best Actress in a Play\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"44th Tony Awards\" .  }", "answer": "Maggie Smith"}, {"question": "When was Resident Evil: Extinction, with the exploitation visa number of 118892 released?", "choices": ["1992-09-21", "1945-06-29", "2008-03-03", "1978-08-02", "2015-04-10", "1852", "1538-02-24", "2001-03-27", "1992-04-29", "1823-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Extinction"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["exploitation visa number", "118892", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Resident Evil: Extinction\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"118892\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2008-03-03"}, {"question": "Is the official website for Inception https://www.warnerbros.com/inception ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Inception"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.warnerbros.com/inception"]}], "sparql": "ASK { ?e <pred:name> \"Inception\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.warnerbros.com/inception\" .  }", "answer": "yes"}, {"question": "Was Nine Years' War not started in 2009?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nine Years' War"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2009", "!="]}], "sparql": "ASK { ?e <pred:name> \"Nine Years' War\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2009 ) .  }", "answer": "yes"}, {"question": "What number of film awards originated in times other than 1951?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1951", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1951 ) .  }", "answer": "10"}, {"question": "How many conservatories are affiliated with Monash University or are a part of Oberlin College?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monash University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["affiliation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["conservatory"]}, {"function": "Find", "dependencies": [], "inputs": ["Oberlin College"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["conservatory"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"conservatory\" .  { ?e <affiliation> ?e_1 . ?e_1 <pred:name> \"Monash University\" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Oberlin College\" .  } }", "answer": "1"}, {"question": "When did Bangkok become the twinned administrative body of Tianjin?", "choices": ["1978-04-02", "2003-12-07", "2012-07-24", "1775", "1976-08-31", "1990-04-23", "2012-02-27", "1989-11-08", "1961-09-27", "1988-12-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangkok"]}, {"function": "Find", "dependencies": [], "inputs": ["Tianjin"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bangkok\" . ?e_2 <pred:name> \"Tianjin\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2012-02-27"}, {"question": "What language is this official website, http://co.cheshire.nh.us, for the county sharing a border with Franklin County (shares border with Berkshire County)?", "choices": ["multiple languages", "France", "Punjabi", "Atikamekw", "Chinese", "Luxembourgish", "English", "Breton", "Croatian", "Armenian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berkshire County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "http://co.cheshire.nh.us", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Franklin County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Berkshire County\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://co.cheshire.nh.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did Minsk have a population of 238948?", "choices": ["1467-01-01", "1942-02-26", "1939-01-01", "1950-01-01", "1917-09-13", "1961-12-01", "2017-01-01", "1989-12-01", "1766", "1967-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minsk"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "238948", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Minsk\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"238948\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1939-01-01"}, {"question": "Which organization does the official French-language website, www.montrealalouettes.com, belong to?", "choices": ["Hamburger SV", "World Bank", "E. W. Scripps Company", "Pfizer", "Academy of Television Arts & Sciences", "NATO", "McDonald's", "United States Department of the Air Force", "NBCUniversal", "Montreal Alouettes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.montrealalouettes.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "French"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["organization"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.montrealalouettes.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"French\" .  }", "answer": "Montreal Alouettes"}, {"question": "Of chemical elements whose discovery occurred in the UK, which has the least standard molar entropy?", "choices": ["manganese", "John Lee Hooker", "selenium", "Valencia", "calcium", "sodium", "magnesium", "Marc Anthony", "phosphorus", "zinc"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of discovery", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["standard molar entropy", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <location_of_discovery> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <standard_molar_entropy> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "magnesium"}, {"question": "When did Sofia Coppola win an Independent Spirit Award for Best Director?", "choices": ["2006-12-01", "2016-02-13", "1482", "1861", "1981", "1969-01-01", "1970-04-01", "2003", "2008-02-13", "1923-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Director"]}, {"function": "Find", "dependencies": [], "inputs": ["Sofia Coppola"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Independent Spirit Award for Best Director\" . ?e_2 <pred:name> \"Sofia Coppola\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2003"}, {"question": "Which movie is shorter, Almost Famous or Bruce Almighty?", "choices": ["Talk to Her", "Rebecca", "Pleasantville", "Training Day", "Bruce Almighty", "The Fifth Element", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Almost Famous"]}, {"function": "Find", "dependencies": [], "inputs": ["Bruce Almighty"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Almost Famous\" .  } UNION { ?e <pred:name> \"Bruce Almighty\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bruce Almighty"}, {"question": "Tell me the one with more kids, Evan Rachel Wood or Steve Blum.", "choices": ["James E. Reilly", "William Henry Harrison", "Steve Blum", "Simon Cowell", "Richard Gere", "Sylvester Stallone", "Evan Rachel Wood", "Paul Simon", "Rahul Dev Burman", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evan Rachel Wood"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Blum"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Evan Rachel Wood\" .  } UNION { ?e <pred:name> \"Steve Blum\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Steve Blum"}, {"question": "Which studio album whose number of tracks is not 8.5 has the shortest running time?", "choices": ["David Bowie", "The Beatles", "Friends", "Neil Young", "Metallica", "Bedtime Stories", "Led Zeppelin", "Peter Gabriel", "Illinois", "Shakira"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of parts of this work of art", "8.5 audio track", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["studio album"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"studio album\" . ?e <number_of_parts_of_this_work_of_art> ?pv_1 . ?pv_1 <pred:unit> \"audio track\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"8.5\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Neil Young"}, {"question": "What color goes by G short name and it is also the official color of AC Omonia ?", "choices": ["black-and-white", "gray", "bay", "black", "green", "white", "burgundy", "brown", "garnet", "gold"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "G"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["color"]}, {"function": "Find", "dependencies": [], "inputs": ["AC Omonia"]}, {"function": "Relate", "dependencies": [3], "inputs": ["official color", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["color"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"color\" . ?e <short_name> ?pv . ?pv <pred:value> \"G\" . ?e_1 <official_color> ?e . ?e_1 <pred:name> \"AC Omonia\" .  }", "answer": "green"}, {"question": "What high school , not founded in 1904, did Adrian Grenier attend?", "choices": ["Stuyvesant High School", "Fiorello H. LaGuardia High School", "Phillips Academy", "Royal Academy of Dramatic Art", "Lee Strasberg Theatre and Film Institute", "Royal Military Academy Sandhurst", "National School of Drama", "Royal Military Academy", "National Theatre School of Canada", "Bard College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1904", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["high school"]}, {"function": "Find", "dependencies": [], "inputs": ["Adrian Grenier"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["high school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"high school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1904 ) . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Adrian Grenier\" .  }", "answer": "Fiorello H. LaGuardia High School"}, {"question": "How is The Longest Yard starring Sean McNamara related to Burt Reynolds?", "choices": ["production designer", "discoverer or inventor", "month of the year", "parent organization", "office held by head of government", "cast member", "official language", "narrative role", "home port", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sean McNamara"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Longest Yard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Burt Reynolds"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Longest Yard\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Sean McNamara\" . ?e_2 <pred:name> \"Burt Reynolds\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Where was the work that was narrated by Will Smith, the cast member of Men In Black 3, published on 2007-01-18?", "choices": ["Rio de Janeiro", "West Germany", "Israel", "Japan", "Mexico", "Bulgaria", "Germany", "People's Republic of China", "Slovenia", "Chile"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Men in Black 3"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Will Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrator", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "2007-01-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrator> ?e_1 . ?e_1 <pred:name> \"Will Smith\" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> \"Men in Black 3\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2007-01-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the one with the smaller area Chongqing or Kamloops", "choices": ["Kilkenny", "Cork", "Trieste", "Kamloops", "Abidjan", "Dundee", "Chihuahua", "Kingston", "Bergen", "Chongqing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chongqing"]}, {"function": "Find", "dependencies": [], "inputs": ["Kamloops"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chongqing\" .  } UNION { ?e <pred:name> \"Kamloops\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kamloops"}, {"question": "When did the administrative territorial entity with the English-language website www.bernco.gov record a population figure of 664,099?", "choices": ["1662", "1871-12-01", "1937-12-01", "2010-02-11", "2010-07-01", "2002-06-01", "2010-02-01", "2010-10-01", "1963-12-01", "1920-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bernco.gov/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "664099", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.bernco.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"664099\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "What is the connection between Mila Kunis to Macaulay Culkin?", "choices": ["statistical leader", "partner", "creator", "language of work or name", "platform", "religion", "official language", "child", "narrative role", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mila Kunis"]}, {"function": "Find", "dependencies": [], "inputs": ["Macaulay Culkin"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mila Kunis\" . ?e_2 <pred:name> \"Macaulay Culkin\" . ?e_1 ?p ?e_2 .  }", "answer": "partner"}, {"question": "What is Michael Gough's character role as a cast member in the work Batman (the one whose duration is 121 minute)?", "choices": ["Fix-it Felix", "Paris Carver", "Liam Tobin", "Alfred Pennyworth", "Pretty Boy Floyd", "Connor", "Sayid Jarrah", "The Peddler", "Anya", "Anamaria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "121 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Gough"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Batman\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"121\"^^xsd:double . ?e_2 <pred:name> \"Michael Gough\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Alfred Pennyworth"}, {"question": "for Ryan O'Neal, who has a Twitter username Ryan_O_Neal, what is the number of subscribers for this user?", "choices": ["586", "3248607", "17782", "1570", "31585", "1160", "156845", "330052", "28301", "387"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan O'Neal"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "Ryan_O_Neal", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ryan O'Neal\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Ryan_O_Neal\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "17782"}, {"question": "What is the character role of Colm Meaney in Star Trek: Deep Space Nine?", "choices": ["RoboCop", "Bullseye", "Miles O'Brien", "Tiffany", "Cindy Campbell", "Jack Ryan", "Speckles", "Professor Frink", "Eliot Ness", "Laurie Strode"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: Deep Space Nine"]}, {"function": "Find", "dependencies": [], "inputs": ["Colm Meaney"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek: Deep Space Nine\" . ?e_2 <pred:name> \"Colm Meaney\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Miles O'Brien"}, {"question": "What agent is related to the sport of cricket and has Barbados as a country?", "choices": ["E. W. Scripps Company", "New Zealand national cricket team", "Pfizer", "England and Wales cricket team", "Australia national cricket team", "West Indies cricket team", "Sri Lanka national cricket team", "McDonald's", "BBC", "Academy of Television Arts & Sciences"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cricket"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "Find", "dependencies": [], "inputs": ["Barbados"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["agent"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"cricket\" .  ?e <country> ?e_2 . ?e_2 <pred:name> \"Barbados\" .  }", "answer": "West Indies cricket team"}, {"question": "Does someone with ISNI code 0000 0000 0138 385X have fewer than 2.8 sons ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0138 385X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2.8 son", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 0138 385X\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"son\" . ?pv <pred:value> ?v . FILTER ( ?v < \"2.8\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What television series is titled Missing?", "choices": ["Batman: The Animated Series", "Game of Thrones", "Dallas", "Missing", "Twin Peaks", "Sesame Street", "Robot Chicken", "Bleak House", "American Horror Story", "Friends"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Missing"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv . ?pv <pred:value> \"Missing\" .  }", "answer": "Missing"}, {"question": "About the United States city that is the twinned administrative bodoy of Seine-et-Marne, is jeffersonairplane the Giphy username?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seine-et-Marne"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["jeffersonairplane"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Seine-et-Marne\" .  ?e <Giphy_username> ?pv . ?pv <pred:value> \"jeffersonairplane\" .  }", "answer": "no"}, {"question": "What is the ISNI of the person whose official website is http://www.tim-roth.com/ ?", "choices": ["0000 0001 1944 6473", "0000 0001 2321 1781", "0000 0001 1497 5640", "0000 0000 2911 9655", "0000 0001 3160 5772", "0000 0004 0391 0819", "0000 0003 6864 3101", "0000 0001 1476 7024", "0000 0001 0670 4875", "0000 0001 2142 9496"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tim-roth.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tim-roth.com/\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2321 1781"}, {"question": "Which has more people, Nottingham or Srinagar?", "choices": ["Cork", "Trieste", "Nottingham", "Bergen", "Santo Domingo", "Kilkenny", "Kingston", "Dundee", "Srinagar", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nottingham"]}, {"function": "Find", "dependencies": [], "inputs": ["Srinagar"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nottingham\" .  } UNION { ?e <pred:name> \"Srinagar\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Srinagar"}, {"question": "Which soccer club has the official Italian-language website www.calciocesena.com?", "choices": ["Brisbane Roar FC", "Middlesbrough F.C.", "Cagliari Calcio", "Stade Brestois 29", "Racing Club de Avellaneda", "A.C. Cesena", "Atalanta B.C.", "Hibernian F.C.", "Roda JC Kerkrade", "Preston North End F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.calciocesena.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "Italian"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.calciocesena.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Italian\" .  }", "answer": "A.C. Cesena"}, {"question": "Which human has a date of death before 2010 and the official website http://www.michaelbrecker.com?", "choices": ["Hans Christian Andersen", "William Henry Harrison", "Richard Gere", "Michael Brecker", "Ingrid Bergman", "Charlie Parker", "Sylvester Stallone", "Jack Palance", "Thomas Little", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "2010", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.michaelbrecker.com"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.michaelbrecker.com\" .  }", "answer": "Michael Brecker"}, {"question": "In what country is Pasadena, which is the headquarter location of the Art Center College of Design?", "choices": ["Japan", "international", "Prussia", "Poland", "German Democratic Republic", "Egypt", "Nepal", "Orange Free State", "United States of America", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Art Center College of Design"]}, {"function": "Find", "dependencies": [], "inputs": ["Art Center College of Design"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pasadena"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Art Center College of Design\" . ?e_2 <pred:name> \"Pasadena\" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> \"Art Center College of Design\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Which university's official website is http://www.acadiau.ca?", "choices": ["Drake University", "University of Manchester", "McNeese State University", "Imperial College London", "Pennsylvania State University", "University of Ghana", "George Washington University", "University of Durham", "Northeastern University", "Acadia University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.acadiau.ca"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.acadiau.ca\" .  }", "answer": "Acadia University"}, {"question": "Which has a larger population, Anderson, with the local dialing code of 765, or Olympic, located in Washington?", "choices": ["Franklin", "Waukegan", "Compton", "Greenville", "Lansing", "Columbus", "Olympia", "New Haven", "Anderson", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anderson"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "765"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Olympia"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anderson\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"765\" . } UNION { ?e <pred:name> \"Olympia\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Washington\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anderson"}, {"question": "Which one, Death on the Nile (the one that has Jack Warden as a cast member) or Topsy-Turvy, has less duration?", "choices": ["Death on the Nile", "Training Day", "Curse of the Golden Flower", "Topsy-Turvy", "The Towering Inferno", "Rebecca", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Warden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Death on the Nile"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Topsy-Turvy"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Death on the Nile\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jack Warden\" .   } UNION { ?e <pred:name> \"Topsy-Turvy\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Death on the Nile"}, {"question": "Was the record label that is the child organization of DreamWorks created before 2006 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DreamWorks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2006", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <parent_organization> ?e_1 . ?e_1 <pred:name> \"DreamWorks\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }", "answer": "yes"}, {"question": "Which New Jersey county had a population of 809858 in 2010?", "choices": ["Cape May County", "Monmouth County", "Sussex County", "Morris County", "Hudson County", "Passaic County", "Gloucester County", "Camden County", "Hunterdon County", "Middlesex County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "809858", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2010", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New Jersey"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"809858\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .  }", "answer": "Middlesex County"}, {"question": "The population of how many Oregon counties is something other than 160000 inhabitants?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "160000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"160000\"^^xsd:double ) .  }", "answer": "14"}, {"question": "When did soft rock artist Amy Grant marry Vince Gill?", "choices": ["1949-12-31", "2005-08-17", "1987-03-23", "2000-03-10", "2012-02-24", "1861-07-02", "2016-01-03", "1870", "2009-12-04", "1988-05-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["soft rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amy Grant"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Vince Gill"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Amy Grant\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"soft rock\" . ?e_2 <pred:name> \"Vince Gill\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2000-03-10"}, {"question": "What association football team's official website is http://www.eastleighfc.com/?", "choices": ["San Luis F.C.", "Eastleigh F.C.", "O.G.C. Nice", "Stade Brestois 29", "Brisbane Roar FC", "A.F.C. Ajax", "Zamalek SC", "Portsmouth F.C.", "Middlesbrough F.C.", "R. Charleroi S.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.eastleighfc.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.eastleighfc.com/\" .  }", "answer": "Eastleigh F.C."}, {"question": "Who is the person with ISNI 0000 0001 2278 4190?", "choices": ["Sven Nykvist", "Richard Gere", "Michael McDonald", "William Henry Harrison", "Max Fleischer", "James Taylor", "Sylvester Stallone", "Georg Wilhelm Friedrich Hegel", "John Abraham", "Mary Steenburgen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2278 4190"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2278 4190\" .  }", "answer": "Sven Nykvist"}, {"question": "What administrative territorial entity is in the country of the Palestinian National Authority?", "choices": ["Kent County", "African Union", "West Bank", "Fayette County", "Washoe County", "Madison County", "Jefferson County", "New Caledonia", "Charleston County", "Cobb County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Palestinian National Authority"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Palestinian National Authority\" .   }", "answer": "West Bank"}, {"question": "Which border does Wisconsin have in common with Michigan?", "choices": ["Morocco\u2013Tunisia relations", "Algeria\u2013Mauritania border", "Australia\u2013Sri Lanka relations", "Latvia\u2013Ukraine relations", "Michigan\u2013Wisconsin border", "Saudi Arabia\u2013Sudan relations", "Cyprus\u2013Norway relations", "Tanzania\u2013Uganda border", "Germany-Lesotho relations", "Switzerland\u2013European Union relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wisconsin"]}, {"function": "Find", "dependencies": [], "inputs": ["Michigan"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Wisconsin\" . ?e_2 <pred:name> \"Michigan\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Michigan\u2013Wisconsin border"}, {"question": "What is the run time for the film Galileo?", "choices": ["96 minute", "164 minute", "74 minute", "193 minute", "239 second", "45 minute", "95 minute", "154 minute", "5615 second", "2240 second"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Galileo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Galileo\" . ?e <duration> ?pv .  }", "answer": "95 minute"}, {"question": "Which movie is longer, Quebec (the one whose original language is English) or Blood Diamond?", "choices": ["The Fifth Element", "The Towering Inferno", "Talk to Her", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Pleasantville", "A Prairie Home Companion", "Quebec", "Blood Diamond", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Quebec"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Blood Diamond"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quebec\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .   } UNION { ?e <pred:name> \"Blood Diamond\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Blood Diamond"}, {"question": "How is actor Salman Khan related to the movie Wanted which stars Vinod Khanna?", "choices": ["organizer", "item operated", "start point", "cast member", "diaspora", "eye color", "followed by", "author", "season starts", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vinod Khanna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wanted"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [4], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Salman Khan"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wanted\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Vinod Khanna\" . ?e_2 <pred:name> \"Salman Khan\" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How was it determined that Augsburg has a population of 185177?", "choices": ["census", "Address Based Population Registration System", "population projection", "1860 United States Census", "administrative division valid at the time point of history to which the data relates", "estimation", "tradition", "hearth tax", "Canada 2016 Census", "United Kingdom Census 1991"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augsburg"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "185177", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Augsburg\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"185177\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Is the number of urban inhabitants lower for, Manipur (male population 1438586) or Rajasthan (male population 35550997)?", "choices": ["Maharashtra", "Manipur", "Rajasthan", "Karnataka", "Punjab", "Andhra Pradesh", "Jharkhand", "Haryana", "Odisha", "Kerala"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manipur"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["male population", "1438586", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Rajasthan"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["male population", "35550997", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["urban population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Manipur\" . ?e <male_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1438586\"^^xsd:double . } UNION { ?e <pred:name> \"Rajasthan\" . ?e <male_population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"35550997\"^^xsd:double . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Manipur"}, {"question": "Which show has more seasons, Julia (the one whose distributor is 20th Century Fox Television) or Indian Idol?", "choices": ["Game of Thrones", "Indian Idol", "Phineas and Ferb", "Bleak House", "Seinfeld", "Saturday Night's Main Event", "Six Feet Under", "Robot Chicken", "American Horror Story", "Julia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox Television"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Julia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Indian Idol"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Julia\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"20th Century Fox Television\" .   } UNION { ?e <pred:name> \"Indian Idol\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Indian Idol"}, {"question": "What is the connection between Spain and euro?", "choices": ["currency", "child astronomical body", "composer", "basin country", "replaces", "located in time zone", "professional or sports partner", "parent club", "location of formation", "film distribute region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Find", "dependencies": [], "inputs": ["euro"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spain\" . ?e_2 <pred:name> \"euro\" . ?e_1 ?p ?e_2 .  }", "answer": "currency"}, {"question": "What is the relationship between Rockingham County (the one whose official website is http://co.rockingham.nh.us) and Merrimack County?", "choices": ["sexual orientation", "editor", "home venue", "follows", "diaspora", "opposite of", "shares border with", "different from", "replaces", "head of government"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rockingham County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://co.rockingham.nh.us"]}, {"function": "Find", "dependencies": [], "inputs": ["Merrimack County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rockingham County\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://co.rockingham.nh.us\" . ?e_2 <pred:name> \"Merrimack County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Was the song having the genre of spoken work not published in 1998?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["spoken word"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["song"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1998", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"song\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"spoken word\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) .  }", "answer": "yes"}, {"question": "Grey DeLisle, a voice actor in The Last Airbender nominated for a Primetime Emmy Award for Outstanding Animated Program, played what character role in the work?", "choices": ["Azula", "Abraham Whistler", "Sylvester", "Harry Dunne", "Peter Benton", "Hugo \"Hurley\" Reyes", "Thomas Wolsey", "Walter Skinner", "Zefram Cochrane", "Taffyta Muttonfudge"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Animated Program"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar: The Last Airbender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grey DeLisle"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Avatar: The Last Airbender\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Primetime Emmy Award for Outstanding Animated Program\" . ?e_2 <pred:name> \"Grey DeLisle\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Azula"}, {"question": "What is the connection between John Adams (the one that uses the language English) to Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie?", "choices": ["director of photography", "work location", "family", "broadcast by", "contributing factor of", "field of this occupation", "geographic distribution", "nominated for", "penalty", "subsidiary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Adams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Adams\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When did the Arizona county with ISNI code 0000 0004 0646 2089 have a population numbering 72349?", "choices": ["2017-04-01", "2017-05-01", "1996-03-25", "1491", "2006-11-01", "2014-11-30", "2001-06-22", "2011-07-01", "1986-11-17", "1999-08-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0646 2089"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "72349", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0646 2089\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"72349\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "When was the 99-minute Iris assigned exploitation visa number 144278?", "choices": ["1987-03-30", "1997-01-03", "1999-03-28", "1997-07-01", "1960-08-20", "1760", "2004-05-27", "1938-03-01", "1426-01-01", "2016-11-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iris"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "99 minute", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["exploitation visa number", "144278", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Iris\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"99\"^^xsd:double . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"144278\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2016-11-15"}, {"question": "What is the release region of No Country for Old Men that has Stephen Root as a cast member and the release date 2008-02-29?", "choices": ["Taormina Film Fest", "2003 Cannes Film Festival", "Park City", "European Union", "Sundance Film Festival", "Lebanon", "Panama", "Sweden", "Telluride Film Festival", "Romania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Root"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["No Country for Old Men"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2008-02-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"No Country for Old Men\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Stephen Root\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2008-02-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "What is the official website of North Holland?", "choices": ["http://www.chennaicorporation.gov.in/", "http://www.lancaster.ac.uk/", "http://www.boulognebillancourt.com", "http://www.spiderwickchronicles.com/", "http://www.yngwiemalmsteen.com", "http://www.cityofvalletta.org", "https://www.noord-holland.nl/", "http://www.pinellascounty.org", "http://www.jorjafox.org/", "http://www.groton.org"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Holland"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"North Holland\" . ?e <official_website> ?pv .  }", "answer": "https://www.noord-holland.nl/"}, {"question": "Is the SOC Code (2010) of 29-1067 correct for the profession in which John Stephenson, who died of natural causes, was occupied?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Stephenson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["SOC Code (2010)"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["29-1067"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"John Stephenson\" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> \"natural causes\" .  ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> \"29-1067\" .  }", "answer": "yes"}, {"question": "Which band's record label is Fontana, which was established 1954-01-01?", "choices": ["NOFX", "Jonas Brothers", "Devo", "Renaissance", "The Fall", "Dixie Chicks", "The Monkees", "Steve Winwood", "USA for Africa", "The Kinks"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fontana"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1954-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Fontana\" . ?e_1 <inception> ?pv . ?pv <pred:date> \"1954-01-01\"^^xsd:date .   }", "answer": "The Fall"}, {"question": "Between James Cromwell or Republican Party member Fred Thompson, who is shorter?", "choices": ["Fred Thompson", "Max Fleischer", "David Byrne", "Paul Simon", "Simon Cowell", "James Cromwell", "James E. Reilly", "Richard Gere", "William Henry Harrison", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Cromwell"]}, {"function": "Find", "dependencies": [], "inputs": ["Republican Party"]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fred Thompson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James Cromwell\" .  } UNION { ?e <pred:name> \"Fred Thompson\" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> \"Republican Party\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fred Thompson"}, {"question": "When was University of California, Berkeley alumnus Jerry Nelson a recipient of the Benjamin Franklin Medal (native label Benjamin Franklin Medal)?", "choices": ["2017-02-13", "2018-08-16", "1908", "2002-02-25", "2014-11-30", "2015-09-20", "2016-01-04", "2006-01-29", "2012-01-01", "2017-02-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Berkeley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jerry Nelson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin Medal"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["native label", "Benjamin Franklin Medal"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jerry Nelson\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"University of California, Berkeley\" . ?e_2 <pred:name> \"Benjamin Franklin Medal\" . ?e_2 <native_label> ?pv . ?pv <pred:value> \"Benjamin Franklin Medal\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "How long is Ithaca with Melanie Griffith?", "choices": ["236 minute", "209 minute", "11 minute", "188 minute", "19 minute", "133 minute", "107 minute", "88 minute", "4896 second", "87 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melanie Griffith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ithaca"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ithaca\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Melanie Griffith\" .  ?e <duration> ?pv .  }", "answer": "88 minute"}, {"question": "What human won the Academy Award for Best Costume Design in Alice in Wonderland?", "choices": ["Rahul Dev Burman", "Max Fleischer", "Simon Cowell", "Colleen Atwood", "Lindy Hemming", "Sandy Powell", "Sylvester Stallone", "Richard Gere", "William Henry Harrison", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Alice in Wonderland"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Alice in Wonderland\" .  }", "answer": "Colleen Atwood"}, {"question": "Is Little Children or Spy Game (shot in Budapest) longer in duration?", "choices": ["Talk to Her", "Little Children", "The Hunchback of Notre Dame", "The Towering Inferno", "Pleasantville", "Training Day", "Rebecca", "Curse of the Golden Flower", "The Fifth Element", "Spy Game"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Little Children"]}, {"function": "Find", "dependencies": [], "inputs": ["Budapest"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spy Game"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Little Children\" .  } UNION { ?e <pred:name> \"Spy Game\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Budapest\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Little Children"}, {"question": "What is the relationship between The SpongeBob SquarePants Movie (the one that is a derivative work of SpongeBob SquarePants) and buddy film?", "choices": ["original network", "genre", "vehicle normally used", "educated at", "terminus", "depicted by", "draft pick from school", "creator", "permanent resident of", "designed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SpongeBob SquarePants"]}, {"function": "Relate", "dependencies": [0], "inputs": ["derivative work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The SpongeBob SquarePants Movie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["buddy film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The SpongeBob SquarePants Movie\" . ?e_3 <derivative_work> ?e_1 . ?e_3 <pred:name> \"SpongeBob SquarePants\" . ?e_2 <pred:name> \"buddy film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many islands with mains voltage less than 240 volts did the poet John Keats reside in?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mains voltage", "240 volt", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Keats"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["island"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <mains_voltage> ?pv . ?pv <pred:unit> \"volt\" . ?pv <pred:value> ?v . FILTER ( ?v < \"240\"^^xsd:double ) . ?e_1 <residence> ?e . ?e_1 <pred:name> \"John Keats\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"poet\" .  }", "answer": "0"}, {"question": "Is https://www.canterbury.gov.uk/ Peter Facinelli's official website?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Facinelli"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.canterbury.gov.uk/"]}], "sparql": "ASK { ?e <pred:name> \"Peter Facinelli\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.canterbury.gov.uk/\" .  }", "answer": "no"}, {"question": "At what point in time is 1.4746 United States dollars the price of the currency that is the legal tender used by England (whose capital is Westminster)?", "choices": ["2013-05-23", "1996-01-01", "1925-06-16", "1937-12-01", "2015-12-31", "1891", "1396", "1819", "1903-01-01", "2018-09-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Westminster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["currency", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["currency"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["price", "1.4746 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"currency\" . ?e_1 <currency> ?e . ?e_1 <pred:name> \"England\" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> \"Westminster\" .  ?e <price> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"1.4746\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <price> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-12-31"}, {"question": "Does Agora or Schindler's List (the one that was nominated for Academy Award for Best Original Score) have greater duration ?", "choices": ["Schindler's List", "Curse of the Golden Flower", "Pleasantville", "Talk to Her", "The Towering Inferno", "Training Day", "The Fifth Element", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Agora"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Schindler's List"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Agora\" .  } UNION { ?e <pred:name> \"Schindler's List\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Original Score\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Schindler's List"}, {"question": "Does the Twitter user bruces have http://www.neiljordan.com as an official site?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "bruces"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.neiljordan.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"bruces\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.neiljordan.com/\" .  }", "answer": "no"}, {"question": "Is the establishment date of the university whose Twitter username is UniofNewcastle with 30268 subscribers not in the year 1819?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "UniofNewcastle"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "30268", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1819", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"UniofNewcastle\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"30268\"^^xsd:double . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1819 ) .  }", "answer": "yes"}, {"question": "How many empires participated in Second Crusade and also German-Soviet War?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second Crusade"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "Find", "dependencies": [], "inputs": ["German-Soviet War"]}, {"function": "Relate", "dependencies": [3], "inputs": ["participant of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["empire"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"Second Crusade\" .  ?e <participant_of> ?e_2 . ?e_2 <pred:name> \"German-Soviet War\" .  }", "answer": "0"}, {"question": "What is the official website of the administrative territorial entity whose population is equal to 43153?", "choices": ["http://www.annerice.com", "http://www.thebluesmobile.com/", "http://cityofsantacruz.com", "http://www.christophercross.com", "http://www.sullivancountynh.gov", "http://gov.spb.ru", "http://www.nationalbook.org/index.html", "http://www.countyofriverside.us", "http://www.anthonyhead.org/", "http://www.concordma.gov/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "43153", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"43153\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "http://www.sullivancountynh.gov"}, {"question": "Which movie has Alan Ladd in the cast and titled Saskatchewan?", "choices": ["Citizen Kane", "Rebecca", "Talk to Her", "The Great Gatsby", "Shane", "The Fifth Element", "A Prairie Home Companion", "Saskatchewan", "Pleasantville", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Ladd"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Saskatchewan"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Alan Ladd\" .  ?e <title> ?pv . ?pv <pred:value> \"Saskatchewan\" .  }", "answer": "Saskatchewan"}, {"question": "Which movie is longer, Murder by Decree or The Truman Show?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "The Towering Inferno", "A Prairie Home Companion", "Rebecca", "The Truman Show", "Murder by Decree", "Training Day", "Curse of the Golden Flower", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Murder by Decree"]}, {"function": "Find", "dependencies": [], "inputs": ["The Truman Show"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Murder by Decree\" .  } UNION { ?e <pred:name> \"The Truman Show\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Murder by Decree"}, {"question": "How many areas of London are either the death place of Carol Reed or have a postal code of W4?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carol Reed"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["area of London"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "W4"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["area of London"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" .  { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Carol Reed\" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> \"W4\" .  } }", "answer": "2"}, {"question": "How many metropolitan boroughs are there whose FIPS 10-4 for countries and regions is UKC1 or 2011 GSS code is E08000021?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKC1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan borough"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["GSS code (2011)", "E08000021"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan borough"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" .  { ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"UKC1\" .  } UNION { ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E08000021\" .  } }", "answer": "2"}, {"question": "How is the English-speaking Bill Wyman related to the bass guitar?", "choices": ["has effect", "award received", "voice type", "residence", "founded by", "location of final assembly", "filmography", "diaspora", "instrument", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Wyman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["bass guitar"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bill Wyman\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"bass guitar\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "How many military branches have 'Through Adversity to the Stars' as their motto, or, belong to Rick Springfield's allegiance?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rick Springfield"]}, {"function": "Relate", "dependencies": [0], "inputs": ["allegiance", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["military branch"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["motto text", "Through adversity to the stars"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["military branch"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"military branch\" .  { ?e <allegiance> ?e_1 . ?e_1 <pred:name> \"Rick Springfield\" .  } UNION { ?e <motto_text> ?pv . ?pv <pred:value> \"Through adversity to the stars\" .  } }", "answer": "1"}, {"question": "Is http://www.abs-cbn.com/ the official website of ABS-CBN (TV Network)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ABS-CBN (TV Network)"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.abs-cbn.com/"]}], "sparql": "ASK { ?e <pred:name> \"ABS-CBN (TV Network)\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.abs-cbn.com/\" .  }", "answer": "yes"}, {"question": "What is the title of the short film written by Charles Dickens?", "choices": ["Oliver Twist", "Zookeeper", "Les Maudits", "Istanbul", "Midnight Express", "Madagascar 3: Europe's Most Wanted", "Tehran", "The New-York Times", "Der Vorleser", "Big Miracle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Dickens"]}, {"function": "Relate", "dependencies": [0], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"Charles Dickens\" .  ?e <title> ?pv .  }", "answer": "Oliver Twist"}, {"question": "Among the film series longer than 300 minutes, which has the longest duration?", "choices": ["Dumb and Dumber", "The Smurfs", "Final Destination", "Die Hard", "The Mummy", "Ice Age", "Carry On", "The Fast and the Furious", "Star Wars", "Rugrats"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "300 minute", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"300\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Fast and the Furious"}, {"question": "Does an animated character, whose number of children is more than 0, have more than 2.1 daughters ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of children", "0", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated character"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2.1 daughter", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated character\" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"0\"^^xsd:double ) . ?e <number_of_children> ?pv . ?pv <pred:unit> \"daughter\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2.1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Of the two, does Algiers -- Tunis' twinned administrative body -- or Dunedin occupy a bigger area?", "choices": ["Bergen", "Dunedin", "Algiers", "Trieste", "Abidjan", "Dundee", "Kingston", "Santo Domingo", "Chihuahua", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Algiers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dunedin"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Algiers\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Tunis\" .   } UNION { ?e <pred:name> \"Dunedin\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dunedin"}, {"question": "I want to know the relationship between association football and Jermaine Easter.", "choices": ["sport", "place of birth", "father", "sexual orientation", "software engine", "said to be the same as", "programming language", "location of formation", "quotes work", "winner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jermaine Easter"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jermaine Easter\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "The demonym umbro applies to which part of the Italian region with the capital Perugia?", "choices": ["Hamilton County", "centre", "12th arrondissement of Paris", "Cannon County", "rest", "water", "Hickman County", "2nd arrondissement of Paris", "Southern Ontario", "masculine singular"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Perugia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "umbro", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Perugia\" .  ?e <demonym> ?pv . ?pv <pred:value> \"umbro\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine singular"}, {"question": "Is Dwevin Townsend a tenor?", "choices": ["member of", "doctoral student", "superhuman feature or ability", "conferred by", "drug used for treatment", "academic degree", "sponsor", "has parts of the class", "voice type", "eye color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Devin Townsend"]}, {"function": "Find", "dependencies": [], "inputs": ["tenor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Devin Townsend\" . ?e_2 <pred:name> \"tenor\" . ?e_1 ?p ?e_2 .  }", "answer": "voice type"}, {"question": "How long is Requiem for a Dream?", "choices": ["4 year", "91 minute", "91.0 minute", "97 minute", "181 minute", "58 minute", "1 academic term", "264 second", "123 minute", "7 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Requiem for a Dream"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Requiem for a Dream\" . ?e <duration> ?pv .  }", "answer": "97 minute"}, {"question": "When was Robert Pattinson nominated for a Golden Raspberry Award for Worst Supporting Actor?", "choices": ["2008-04-09", "2005-07-01", "2014-04-30", "1875-12-01", "2012-12-19", "2009", "2012-02-16", "2018-10-01", "2004-09-19", "1996-01-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Pattinson"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Pattinson\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "What is the connection between Saudi Arabia to Serbia?", "choices": ["doctoral student", "registered with", "series spin-off", "editor", "producer", "studies", "significant event", "interests", "tributary", "diplomatic relation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saudi Arabia"]}, {"function": "Find", "dependencies": [], "inputs": ["Serbia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saudi Arabia\" . ?e_2 <pred:name> \"Serbia\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Was the person with the official website www.heyhorns.com born more recently than 1926 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.heyhorns.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1926", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.heyhorns.com/\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1926 ) .  }", "answer": "yes"}, {"question": "How many private schools have the official website www.hks.harvard.edu or have a founding year besides 1611?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hks.harvard.edu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1611", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private school\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.hks.harvard.edu\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1611 ) .  } }", "answer": "5"}, {"question": "In what language is associated with the creative work with the band whose Twitter username is theblackkeys and official website is http://www.theblackkeys.com?", "choices": ["Bavarian", "Spanish", "Dutch", "English", "Lower Sorbian", "Atikamekw", "Corsican", "Slovak", "Bashkir", "Toki Pona"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "theblackkeys"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.theblackkeys.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"theblackkeys\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theblackkeys.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Did the person whose ISNI is 0000 0001 1584 4415 die after 1930?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1584 4415"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1930", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1584 4415\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1930 ) .  }", "answer": "yes"}, {"question": "Is 4000000074555832 the TOID for the town whose WOEID is 37818?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "37818"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["TOID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["4000000074555832"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"37818\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074555832\" .  }", "answer": "yes"}, {"question": "Is 1781 not the beginning year of the academic discipline whose Iconclass notation is 48C7552?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "48C7552"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1781", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <Iconclass_notation> ?pv_1 . ?pv_1 <pred:value> \"48C7552\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1781 ) .  }", "answer": "yes"}, {"question": "How many rivers are not 59.6 km long?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["length", "59.6 kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <length> ?pv . ?pv <pred:unit> \"kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"59.6\"^^xsd:double ) .  }", "answer": "8"}, {"question": "Was Harry Andrews born before 1917?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Andrews"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1917", "<"]}], "sparql": "ASK { ?e <pred:name> \"Harry Andrews\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1917 ) .  }", "answer": "yes"}, {"question": "Of the former French regions that shared a border with Picardy, what had the smallest population?", "choices": ["Picardy", "Aquitaine", "Upper Normandy", "Poitou-Charentes", "Nord-Pas-de-Calais", "Alsace", "Champagne-Ardenne", "Lorraine", "Burgundy", "Lower Normandy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Picardy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Picardy\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Champagne-Ardenne"}, {"question": "For the Hong Kong Film Award for Best Film (the point in time is 1987), where is the winning film published on its 1993-07-21 publication date?", "choices": ["India", "Croatia", "Sweden", "John F. Kennedy Center for the Performing Arts", "Sorrento", "Moscow", "Taormina Film Fest", "France", "Toronto", "2004 Cannes Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hong Kong Film Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1987", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1993-07-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Hong Kong Film Award for Best Film\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 1987 . ?e <publication_date> ?pv . ?pv <pred:date> \"1993-07-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "France"}, {"question": "How is writer Russ Meyer related to Alzheimer's disease?", "choices": ["medical condition", "maintained by", "follows", "illustrator", "patron saint", "family", "military rank", "appears in the form of", "part of", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Russ Meyer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alzheimer's disease"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Russ Meyer\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"writer\" . ?e_2 <pred:name> \"Alzheimer's disease\" . ?e_1 ?p ?e_2 .  }", "answer": "medical condition"}, {"question": "Is the box office record for a visual artwork, titled Jack and Jill, under 4,210,000 EUR ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Jack and Jill"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4210000 euro", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Jack and Jill\" . ?e <box_office> ?pv . ?pv <pred:unit> \"euro\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4210000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What animated series has the lowest number of seasons of those not published in 2008?", "choices": ["Adrian", "Back to the Future", "The Fairly OddParents", "Ben 10", "SpongeBob SquarePants", "Avatar: The Last Airbender", "Batman Beyond", "The Boondocks", "Aladdin", "Disney's House of Mouse"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2008", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2008 ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adrian"}, {"question": "What is William Demarest's name in his native tongue?", "choices": ["Estelle Harris", "James Madison, Jr.", "Brian Austin Green", "William Demarest", "Raffael S. Da Urbino", "Bernard Herrmann", "\u6df1\u4f5c\u6b23\u4e8c", "Don Rickles", "\u0623\u064e\u0628\u064f\u0648 \u0627\u0644\u0652\u0642\u064e\u0627\u0633\u0650\u0645\u0650 \u0645\u064f\u062d\u064e\u0645\u064e\u0651\u062f\u064f \u0628\u0652\u0646\u064f \u0639\u064e\u0628\u0652\u062f\u0650 \u0627\u0644\u0644\u0647\u0650 \u0628\u0652\u0646\u0650 \u0639\u064e\u0628\u0652\u062f\u0650 \u0627\u0644\u0652\u0645\u064f\u0637\u064e\u0651\u0644\u0650\u0628\u0650", "James Francis Cameron"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Demarest"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"William Demarest\" . ?e <name_in_native_language> ?pv .  }", "answer": "William Demarest"}, {"question": "How many islands are there that are either less than 560 kilometers long or are have a residence owned by Steven Tyler?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Tyler"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["length", "560 kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["island"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" .  { ?e_1 <residence> ?e . ?e_1 <pred:name> \"Steven Tyler\" .  } UNION { ?e <length> ?pv . ?pv <pred:unit> \"kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"560\"^^xsd:double ) .  } }", "answer": "10"}, {"question": "How many counties of Ireland are the birthplace of John Barry (who was born in County Cork) or have the official website https://monaghan.ie/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Cork"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Barry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Ireland"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["official website", "https://monaghan.ie/"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Ireland"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" .  { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"John Barry\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"County Cork\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"https://monaghan.ie/\" .  } }", "answer": "2"}, {"question": "What is the connection between 2003 NCAA Men's Division I Basketball Tournament to Duke Blue Devils men's basketball?", "choices": ["after a work by", "family", "seed team", "feast day", "relative", "filming location", "original film format", "subsidiary", "make-up artist", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2003 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["Duke Blue Devils men's basketball"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2003 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"Duke Blue Devils men's basketball\" . ?e_1 ?p ?e_2 .  }", "answer": "seed team"}, {"question": "Which has fewer employees, Lafayette College or Santa Monica College?", "choices": ["Trinity College", "Hampshire College", "Williams College", "Colorado College", "Lafayette College", "Barnard College", "Clark University", "Grinnell College", "Denison University", "Scottish Church College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lafayette College"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Monica College"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lafayette College\" .  } UNION { ?e <pred:name> \"Santa Monica College\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lafayette College"}, {"question": "What is the number of liberal arts colleges in the United States that have the official website http://www.gettysburg.edu or the ISNI 0000 0001 0664 1974?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.gettysburg.edu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 0664 1974"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["liberal arts college in the United States"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.gettysburg.edu\" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0664 1974\" .  } }", "answer": "2"}, {"question": "What is the official website of the city whose native label is Venesia?", "choices": ["http://taylorswift.com/", "https://www.nelly.net/", "http://www.chrisbotti.com", "http://www.jackbenny.org/", "http://www.spain.info/", "http://www.trinity.utoronto.ca/", "http://www.hangzhou.gov.cn/", "http://www.cornwall.gov.uk/", "http://www.melora.com/", "http://www.comune.venezia.it/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Venesia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Venesia\" . ?e <official_website> ?pv .  }", "answer": "http://www.comune.venezia.it/"}, {"question": "Which show has more seasons, Iron Man (the one whose distributor is New World Pictures) or One Life to Live?", "choices": ["One Life to Live", "Game of Thrones", "Dancing with the Stars", "Phineas and Ferb", "Seinfeld", "Bleak House", "Robot Chicken", "Saturday Night's Main Event", "Iron Man", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New World Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["One Life to Live"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iron Man\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"New World Pictures\" .   } UNION { ?e <pred:name> \"One Life to Live\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "One Life to Live"}, {"question": "What is the connection between Prem Chopra to Lahore?", "choices": ["headquarters location", "place of birth", "followed by", "make-up artist", "organisation directed from the office or person", "penalty", "donated by", "located in or next to body of water", "fictional universe described in", "notable people with this condition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prem Chopra"]}, {"function": "Find", "dependencies": [], "inputs": ["Lahore"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Prem Chopra\" . ?e_2 <pred:name> \"Lahore\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What television series' narrative location is the United States city that is the filming location of Selma (whose distributor is Paramount Pictures)?", "choices": ["Driving Miss Daisy", "Paris", "Chicago Hope", "Chuck", "Julia", "3rd Rock from the Sun", "Scarlett", "Six Feet Under", "Atlanta", "ABC Afterschool Special"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Selma"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [5], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["television series"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> \"Selma\" . ?e_3 <distributor> ?e_4 . ?e_4 <pred:name> \"Paramount Pictures\" .   }", "answer": "Atlanta"}, {"question": "How many islands have an area not equal to 360000 hectares or share a border with Brooklyn (the birthplace of Jessica Walter)?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "360000 hectare", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "Find", "dependencies": [], "inputs": ["Jessica Walter"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["island"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" .  { ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> ?v . FILTER ( ?v != \"360000\"^^xsd:double ) .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Brooklyn\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Jessica Walter\" .  } }", "answer": "1"}, {"question": "Is the box office for Oscar, which was released in the US, not equal to 49000000 Hong Kong dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["49000000 Hong Kong dollar", "!="]}], "sparql": "ASK { ?e <pred:name> \"Oscar\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"Hong Kong dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"49000000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Does ISBN-13 number 978-0-395-38949-2 match with The Witches of Eastwick, which has OCLC number 10183130?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Witches of Eastwick"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OCLC control number", "10183130"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ISBN-13"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["978-0-395-38949-2"]}], "sparql": "ASK { ?e <pred:name> \"The Witches of Eastwick\" . ?e <OCLC_control_number> ?pv_1 . ?pv_1 <pred:value> \"10183130\" . ?e <ISBN-13> ?pv . ?pv <pred:value> \"978-0-395-38949-2\" .  }", "answer": "no"}, {"question": "How many US liberal arts colleges were founded in any year but 1853?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1853", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1853 ) .  }", "answer": "16"}, {"question": "Does the person with a CANTIC-ID of a10038486 have 86lnpgfs38q0gs4 as their Libris-URI?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10038486"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["86lnpgfs38q0gs4"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10038486\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"86lnpgfs38q0gs4\" .  }", "answer": "yes"}, {"question": "Is the official website of the media franchise with the character Son Goku http://db30th.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Son Goku"]}, {"function": "Relate", "dependencies": [0], "inputs": ["characters", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://db30th.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <characters> ?e_1 . ?e_1 <pred:name> \"Son Goku\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://db30th.com/\" .  }", "answer": "yes"}, {"question": "How many businesses received a Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel or whose Twitter username is Xerox?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "Xerox"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel\" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> \"Xerox\" .  } }", "answer": "2"}, {"question": "Which Juilliard School alumnus was cast in The Pink Panther, a Golden Raspberry nominee for Worst Prequel, Remake, Rip-off or Sequel?", "choices": ["Steve Martin", "William Hurt", "Kevin Kline", "Johnny Mandel", "Matt Servitto", "Kristin Chenoweth", "John Davis", "Clive Owen", "Frances Conroy", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juilliard School"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Pink Panther"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Juilliard School\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"The Pink Panther\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel\" .  }", "answer": "Kevin Kline"}, {"question": "What is the publication date for the visual artwork whose production company is Christine Vachon?", "choices": ["2010-01-01", "2014-03-08", "2000-09-08", "1987-11-25", "1979-06-15", "2000-01-27", "1988-01-15", "1998", "2010-11-04", "1990-07-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christine Vachon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Christine Vachon\" .  ?e <publication_date> ?pv .  }", "answer": "2010-01-01"}, {"question": "Among the landforms that are a part of New Zealand, which has the smallest population?", "choices": ["Puerto Rico", "South Island", "Hawaii", "Maui", "Ireland", "Tasmania", "Long Island", "Newfoundland", "Cyprus", "North Island"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Zealand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"New Zealand\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "South Island"}, {"question": "Which movie is shorter, The Man in the Iron Mask (the one whose release region is United States of America) or Walk Hard: The Dewey Cox Story?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "Training Day", "The Fifth Element", "Walk Hard: The Dewey Cox Story", "The Towering Inferno", "Rebecca", "The Man in the Iron Mask"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man in the Iron Mask"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Walk Hard: The Dewey Cox Story"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Man in the Iron Mask\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Walk Hard: The Dewey Cox Story\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Walk Hard: The Dewey Cox Story"}, {"question": "Is the smaller area occupied by San Mateo or by Lawrence, of the official website www.cityoflawrence.com?", "choices": ["Columbus", "Lawrence", "San Mateo", "Greenville", "New Haven", "Compton", "Lansing", "Boulder", "Franklin", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Mateo"]}, {"function": "Find", "dependencies": [], "inputs": ["Lawrence"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.cityoflawrence.com/"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Mateo\" . } UNION { ?e <pred:name> \"Lawrence\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityoflawrence.com/\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lawrence"}, {"question": "Is the timezone offset of the time zone whose short name is CET equal to 1 hour ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "CET"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["time zone"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["timezone offset"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1 hour", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"time zone\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"CET\" . ?e <timezone_offset> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> \"1\"^^xsd:double .  }", "answer": "yes"}, {"question": "Is the run-time shorter for House of Flying Daggers or for Limitless, released in Chile?", "choices": ["Talk to Her", "Pleasantville", "Curse of the Golden Flower", "A Prairie Home Companion", "Limitless", "The Hunchback of Notre Dame", "House of Flying Daggers", "Training Day", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Flying Daggers"]}, {"function": "Find", "dependencies": [], "inputs": ["Chile"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Limitless"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"House of Flying Daggers\" .  } UNION { ?e <pred:name> \"Limitless\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Chile\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Limitless"}, {"question": "Is LiberalPH the correct Twitter username for the association football club with the offical website of http://www.chivasdecorazon.com.mx?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.chivasdecorazon.com.mx"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["LiberalPH"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.chivasdecorazon.com.mx\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"LiberalPH\" .  }", "answer": "no"}, {"question": "Which national association football team is ranked 98 (the league points of this statement is 348)?", "choices": ["North Korea national football team", "Equatorial Guinea national football team", "Guinea national football team", "Angola national football team", "Panama national football team", "Israel national football team", "Estonia national football team", "North Macedonia national football team", "El Salvador national football team", "Moldova national football team"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "98", "="]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["points for", "348", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"98\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <points_for> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"348\"^^xsd:double .  }", "answer": "North Korea national football team"}, {"question": "Does the agent with a New Brunswick headquarter location (the one that is the birthplace of Heather O'Reilly), have its total equity less than 170000000000 United States dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heather O'Reilly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["total equity"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["170000000000 United States dollar", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New Brunswick\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Heather O'Reilly\" .  ?e <total_equity> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"170000000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Did the  Primetime Emmy Award annual ceremony, that was not published in 2012, take place not in 1991 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2012", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1991", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award annual ceremony\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2012 ) . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  }", "answer": "yes"}, {"question": "What number of cities have a population larger than 3900000?", "choices": ["44", "45", "46", "47", "48", "49", "50", "51", "52", "53"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3900000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"3900000\"^^xsd:double ) .  }", "answer": "47"}, {"question": "What is the connection between Mike Nawrocki to English?", "choices": ["enclave within", "month of the year", "author", "child", "participant", "member of", "language used", "distributor", "languages spoken, written or signed", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Nawrocki"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mike Nawrocki\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "To which part of a higher education institution, ISNI 0000 0001 0674 042X. does its fee of 0 Danish Krones apply?", "choices": ["Lower Austria", "mean", "Cumberland County", "Ad\u00e9lie Land", "EU/EEA Citizen", "Grundy County", "list of countries where Russian is an official language", "municipal council", "Dickinson County", "governor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0674 042X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["fee", "0 Danish krone", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0674 042X\" . ?e <fee> ?pv . ?pv <pred:unit> \"Danish krone\" . ?pv <pred:value> \"0\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <fee> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "EU/EEA Citizen"}, {"question": "How many television films have a publication date not in 2005?", "choices": ["119", "120", "121", "122", "123", "124", "125", "126", "127", "128"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2005", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  }", "answer": "126"}, {"question": "What does The Price Is Right (whose official website is http://www.priceisright.com/) have to do with CBS?", "choices": ["studies", "sponsor", "original network", "notable work", "tributary", "basin country", "narrative role", "academic degree", "place of publication", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Price Is Right"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.priceisright.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Price Is Right\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.priceisright.com/\" . ?e_2 <pred:name> \"CBS\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "How many Texas counties bordering Tarrant County are the location of the Fort Worth with zip code 76140?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tarrant County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "Find", "dependencies": [], "inputs": ["Fort Worth"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "76140"]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Texas"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Tarrant County\" .  ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> \"Fort Worth\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"76140\" .  }", "answer": "1"}, {"question": "How many awards events are the 10th edition or precede the 51st Annual Grammy Awards?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["51st Annual Grammy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "10"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> \"51st Annual Grammy Awards\" .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> \"10\" .  } }", "answer": "2"}, {"question": "How are Tuscany and Lazio related?", "choices": ["candidate", "librettist", "ancestral home", "discoverer or inventor", "mascot", "shares border with", "stated in", "occupation", "languages spoken, written or signed", "nutrient"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuscany"]}, {"function": "Find", "dependencies": [], "inputs": ["Lazio"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tuscany\" . ?e_2 <pred:name> \"Lazio\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What is the name of Ed Lauter's character in Thirteen Days?", "choices": ["General Pushkin", "Gimli", "Mistress Quickly", "Remus Lupin", "Meg Griffin", "Alicia Masters", "Lightning McQueen", "Marshall Carter", "Dexter Morgan", "Ted's son"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thirteen Days"]}, {"function": "Find", "dependencies": [], "inputs": ["Ed Lauter"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Thirteen Days\" . ?e_2 <pred:name> \"Ed Lauter\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Marshall Carter"}, {"question": "When was Dorchester (the one whose population is 91982) founded?", "choices": ["1981", "1736", "1683-11-01", "1945-08-19", "1790", "1630", "1921-05-12", "1854-05-01", "1931-01-01", "1900-03-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dorchester"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "91982", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dorchester\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"91982\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1630"}, {"question": "What is the relationship between Game Change and Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie?", "choices": ["executive producer", "family", "father", "contributor(s) to the creative work", "nominated for", "rector", "item operated", "located on terrain feature", "narrative role", "candidacy in election"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Game Change"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Game Change\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What human biblical figure was born in Jerusalem, which itself has a Twitter username of Jlm_city?", "choices": ["Jack Kemp", "The African Queen", "Code Geass", "Birmingham", "Yul Brynner", "Palm Springs", "Edward Said", "Jesus Christ", "Natalie Portman", "Virgin Mary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerusalem"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Jlm_city"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human biblical figure"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human biblical figure\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Jerusalem\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"Jlm_city\" .   }", "answer": "Virgin Mary"}, {"question": "What is the official website of the specialty channel whose country is Canada?", "choices": ["http://www.sc.edu/", "http://www.vilnius.lt/", "http://www.ytv.com", "http://juno-jp.net/", "http://www.alasu.edu", "http://www.baku-ih.gov.az/", "http://www.turku.fi/", "http://www.s-pulse.co.jp/", "http://www.wheninrome-themovie.com/", "http://www.avrillavigne.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["specialty channel"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"specialty channel\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Canada\" .  ?e <official_website> ?pv .  }", "answer": "http://www.ytv.com"}, {"question": "The person designated by ISNI number 0000 0000 7839 7803 works for how many University of Oxford colleges?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7839 7803"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e_1 <employer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7839 7803\" .   }", "answer": "0"}, {"question": "Which movie is shorter, Evangelion: 1.0 You Are (Not) Alone or Road to Perdition?", "choices": ["Talk to Her", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Fifth Element", "Rebecca", "Pleasantville", "Road to Perdition", "Evangelion: 1.0 You Are (Not) Alone", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evangelion: 1.0 You Are (Not) Alone"]}, {"function": "Find", "dependencies": [], "inputs": ["Road to Perdition"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Evangelion: 1.0 You Are (Not) Alone\" .  } UNION { ?e <pred:name> \"Road to Perdition\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Evangelion: 1.0 You Are (Not) Alone"}, {"question": "How is Harry Potter and the Goblet of Fire, with Michael Gambon, related to Shirley Henderson?", "choices": ["director/manager", "allegiance", "lifestyle", "political ideology", "chairperson", "public holiday", "different from", "sibling", "takes place in fictional universe", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Gambon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Goblet of Fire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shirley Henderson"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harry Potter and the Goblet of Fire\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michael Gambon\" . ?e_2 <pred:name> \"Shirley Henderson\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When did Christine Baranski win the Broadcast Film Critics Association Award for Best Cast?", "choices": ["1664-02-07", "2015-03-01", "2014-12-31", "2002", "2015-05-06", "1990-04-01", "2015-05-01", "1965-11-01", "1705", "1838"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Cast"]}, {"function": "Find", "dependencies": [], "inputs": ["Christine Baranski"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Cast\" . ?e_2 <pred:name> \"Christine Baranski\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2002"}, {"question": "Which one is longer, The Contender (the one whose production company is Warner Home Video) or Crossroads (the one whose duration is 89 minute)   ?", "choices": ["Talk to Her", "Pleasantville", "Training Day", "Rebecca", "The Fifth Element", "A Prairie Home Companion", "The Contender", "The Hunchback of Notre Dame", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Home Video"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Contender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Crossroads"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["duration", "89 minute", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Contender\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Warner Home Video\" . } UNION { ?e <pred:name> \"Crossroads\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"89\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Contender"}, {"question": "What human has a birth date on 1961-08-14 and is an Indian people ethnic group ?", "choices": ["Juhi Chawla", "Yunus Parvez", "Richard Gere", "Satish Kaushik", "Amjad Khan", "Suresh Oberoi", "Max Fleischer", "Mohnish Bahl", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1961-08-14", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Indian people"]}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1961-08-14\"^^xsd:date . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Indian people\" .  }", "answer": "Mohnish Bahl"}, {"question": "Does Istanbul (the one that is the twinned administrative body of Kazan), have its population greater than 560000 (the point in time of this statement is 2000)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kazan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Istanbul"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["population", "point in time", "2000"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["560000", ">"]}], "sparql": "ASK { ?e <pred:name> \"Istanbul\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Kazan\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"560000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2000 .  }", "answer": "yes"}, {"question": "Who is shorter, Anupam Kher or Michael Jeter?", "choices": ["Rahul Dev Burman", "William Henry Harrison", "Anupam Kher", "Michael Jeter", "Sylvester Stallone", "David Byrne", "Paul Simon", "Richard Gere", "Simon Cowell", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anupam Kher"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jeter"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anupam Kher\" .  } UNION { ?e <pred:name> \"Michael Jeter\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Michael Jeter"}, {"question": "What is the name of the character role of Michael Richards in Seinfeld has  (the one that has the occupation of film producer) as a cast member?", "choices": ["Norman Bates", "Edward Cullen", "Tina Modotti", "Vernita Yvonne Green", "Elastigirl", "Cosmo Kramer", "Mia Dolan", "Johnny Ringo", "Balian of Ibelin", "Sandy Cohen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seinfeld"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Richards"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seinfeld\" . ?e_2 <pred:name> \"Michael Richards\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"film producer\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Cosmo Kramer"}, {"question": "Is the Munzinger IBA for the person who's Twitter name is ringostarrmusic and has 1868802 subscribers 00000021594?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "ringostarrmusic"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "1868802", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["00000021594"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"ringostarrmusic\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"1868802\"^^xsd:double . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000021594\" .  }", "answer": "no"}, {"question": "When was trip hop founded?", "choices": ["1903-02-07", "1994-04-27", "1787-04-30", "479", "1918-11-12", "1795-08-03", "1971", "1584", "0990-01-01", "1992-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["trip hop"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"trip hop\" . ?e <inception> ?pv .  }", "answer": "1992-01-01"}, {"question": "How is Anastasia, released in the United States of America, related to Kelsey Grammer?", "choices": ["notable people with this condition", "art director", "public holiday", "head of state", "military casualty classification", "superhuman feature or ability", "voice actor", "cites", "territory overlaps", "interests"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anastasia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kelsey Grammer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anastasia\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Kelsey Grammer\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "When did Canterbury become a part of England (the one that has military conflicts with Spanish Empire)?", "choices": ["1946-01-01", "1804", "1933-01-30", "1989-02-17", "1947-06-21", "2007-01-01", "1707-04-30", "2008-09-07", "1988-02-28", "2012-01-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canterbury"]}, {"function": "Find", "dependencies": [], "inputs": ["Spanish Empire"]}, {"function": "Relate", "dependencies": [1], "inputs": ["military conflicts", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["country", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Canterbury\" . ?e_2 <pred:name> \"England\" . ?e_3 <military_conflicts> ?e_2 . ?e_3 <pred:name> \"Spanish Empire\" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1707-04-30"}, {"question": "Of the theatrical genre, which that has had less than 7000 episodes has had the least seasons?", "choices": ["Mr. Smith Goes to Washington", "The Monkees", "coconut milk", "stand-up comedy", "Natalie Wood", "The Golden Girls", "farce", "An Education", "Long Island", "comedy of manners"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "7000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"7000\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "When did the establishment of an agent, whose number of employees is 15,000, take place ?", "choices": ["1905-03-10", "1795-04-13", "1904-08-15", "1776-09-06", "1864-10-30", "1966-11-01", "1962", "1927", "1911-01-01", "988"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["employees", "15000", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <employees> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"15000\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1927"}, {"question": "What is the official website of University of Northern Colorado?", "choices": ["http://www.raymanzarek.com/", "https://www.raf.mod.uk/", "http://www.unco.edu", "http://www.touchandgorecords.com", "http://www.lboro.ac.uk", "http://www.donniedarkofilm.com/", "http://www.dorisday.com/", "http://www.worthing.gov.uk/", "http://www.cityofjackson.net/", "http://www.wbgames.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Northern Colorado"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of Northern Colorado\" . ?e <official_website> ?pv .  }", "answer": "http://www.unco.edu"}, {"question": "Who is worth less in terms of net worth, Tom Hanks or Robert Downey Jr.?", "choices": ["William Henry Harrison", "Robert Downey Jr.", "James E. Reilly", "Max Fleischer", "Simon Cowell", "David Byrne", "Sylvester Stallone", "Richard Gere", "Tom Hanks", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Downey Jr."]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tom Hanks\" .  } UNION { ?e <pred:name> \"Robert Downey Jr.\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Robert Downey Jr."}, {"question": "What is the street address for the  RMIT University's headquarters in Melbourne, with the dialing code of 0383?", "choices": ["6363 Saint Charles Ave, New Orleans, LA, 70118-6143", "13 Oak Dr, Hamilton, NY, 13346-1398", "100 Hofstra University, Hempstead, NY, 11549", "20 Watauga Club Drive", "2400 Sixth St NW", "Elm St, Northampton, MA, 01063", "124 La Trobe Street", "880 Main St, Williamstown, MA, 01267", "2900 Bedford Ave, Brooklyn, NY, 11210", "3300 S Federal St, Chicago, IL, 60616"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RMIT University"]}, {"function": "Find", "dependencies": [], "inputs": ["Melbourne"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "0383"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located at street address"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"RMIT University\" . ?e_2 <pred:name> \"Melbourne\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"0383\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }", "answer": "124 La Trobe Street"}, {"question": "Which has the smallest area among the Ireland counties that border County Kerry?", "choices": ["County Cork", "County Sligo", "County Donegal", "County Dublin", "County Tipperary", "County Kildare", "County Galway", "County Monaghan", "County Limerick", "County Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Kerry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"County Kerry\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Limerick"}, {"question": "Is 135 the local dialing code of Bruges?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruges"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["135"]}], "sparql": "ASK { ?e <pred:name> \"Bruges\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"135\" .  }", "answer": "no"}, {"question": "Is the run-time shorter for The Wicker Man, with Nicolas Cage as a cast member, or Sweeney Todd: The Demon Barber of Fleet Street, a Broadcast Film Critics Association nominee for Best Film?", "choices": ["Sweeney Todd: The Demon Barber of Fleet Street", "The Towering Inferno", "The Fifth Element", "Training Day", "Pleasantville", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "The Wicker Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicolas Cage"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Wicker Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sweeney Todd: The Demon Barber of Fleet Street"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Wicker Man\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Nicolas Cage\" .   } UNION { ?e <pred:name> \"Sweeney Todd: The Demon Barber of Fleet Street\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Broadcast Film Critics Association Award for Best Film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Wicker Man"}, {"question": "Does Catalonia or Rio de Janeiro, with the motto \"Recte rem publicam gerere,\" possess the higher Human Development Index value?", "choices": ["New South Wales", "Punjab", "Catalonia", "Minas Gerais", "England", "Upper Austria", "Rio de Janeiro", "Chiapas", "Lublin Voivodeship", "Podlaskie Voivodeship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catalonia"]}, {"function": "Find", "dependencies": [], "inputs": ["Rio de Janeiro"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["motto text", "Recte rem publicam gerere"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["Human Development Index", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Catalonia\" . } UNION { ?e <pred:name> \"Rio de Janeiro\" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> \"Recte rem publicam gerere\" . } ?e <Human_Development_Index> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Catalonia"}, {"question": "For England's ceremonial county, FIPS 10-4 (countries and regions) UKC5, how many of England's historic counties are located in it?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKC5"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["historic county of England"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historic county of England\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"ceremonial county of England\" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"UKC5\" .   }", "answer": "0"}, {"question": "What is the INSEE region code for Normandy that has 12482 weddings annually?", "choices": ["26", "72", "54", "25", "41", "22", "28", "42", "31", "94"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["annual number of weddings", "12482", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["INSEE region code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Normandy\" . ?e <annual_number_of_weddings> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"12482\"^^xsd:double . ?e <INSEE_region_code> ?pv .  }", "answer": "28"}, {"question": "Which movie is shorter, The Artist or High Noon (the one whose producer is Carl Foreman)?", "choices": ["Curse of the Golden Flower", "Talk to Her", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Training Day", "The Artist", "The Fifth Element", "High Noon", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Artist"]}, {"function": "Find", "dependencies": [], "inputs": ["Carl Foreman"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["High Noon"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Artist\" .  } UNION { ?e <pred:name> \"High Noon\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Carl Foreman\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "High Noon"}, {"question": "Is the release date of the visual artwork, that is directed by Scott Rudin and released in the United State of America, after 1981?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott Rudin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1981", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Scott Rudin\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1981 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "yes"}, {"question": "Who is heavier in weight, Priyanka Chopra Jonas or Venus Williams?", "choices": ["David Byrne", "James E. Reilly", "Rahul Dev Burman", "Simon Cowell", "William Henry Harrison", "Richard Gere", "Priyanka Chopra Jonas", "Sylvester Stallone", "Paul Simon", "Venus Williams"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Priyanka Chopra Jonas"]}, {"function": "Find", "dependencies": [], "inputs": ["Venus Williams"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Priyanka Chopra Jonas\" .  } UNION { ?e <pred:name> \"Venus Williams\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Venus Williams"}, {"question": "How are Wild Wild West and Michael Ballhaus related?", "choices": ["designed by", "partially contains", "student of", "official symbol", "place of burial", "political ideology", "director of photography", "copyright representative", "exclave of", "located on astronomical location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wild Wild West"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Ballhaus"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wild Wild West\" . ?e_2 <pred:name> \"Michael Ballhaus\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "When was Cher, which concluded its run on 1976-01-04, the Primetime Emmy nominee for Outstanding Writing for a Variety, Music or Comedy Program?", "choices": ["1500-01-01", "1963-01-01", "1975", "1833-09-18", "1999-05-05", "1965-08-01", "2011-05-01", "1250-01-01", "1930-01-01", "1823"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cher"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1976-01-04", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cher\" . ?e_1 <end_time> ?pv . ?pv <pred:date> \"1976-01-04\"^^xsd:date . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1975"}, {"question": "What is the ISNI of Chris O'Donnell?", "choices": ["0000 0001 2180 1673", "0000 0001 2121 7741", "0000 0000 8374 4179", "0000 0001 0724 8613", "0000 0004 0638 923X", "0000 0004 0377 5792", "0000 0001 0922 2740", "0000 0001 1717 1322", "0000 0001 1021 3083", "0000 0001 0904 5529"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris O'Donnell"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chris O'Donnell\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0904 5529"}, {"question": "Which area has higher elevation above sea level, Kansas (the one whose native label is State of Kansas) or New York (the one that overlaps New York metropolitan area)?", "choices": ["Iowa", "New Mexico", "Colorado", "New Jersey", "Massachusetts", "Kansas", "Illinois", "Florida", "New York", "Hawaii"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kansas"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "State of Kansas"]}, {"function": "Find", "dependencies": [], "inputs": ["New York metropolitan area"]}, {"function": "Relate", "dependencies": [2], "inputs": ["territory overlaps", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kansas\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"State of Kansas\" . } UNION { ?e <pred:name> \"New York\" . ?e_1 <territory_overlaps> ?e . ?e_1 <pred:name> \"New York metropolitan area\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kansas"}, {"question": "Who is a person who died from a disease known by notable people like Abraham Lincoln (one of the notable people with smallpox) ?", "choices": ["John Carter", "Pocahontas", "Billy Bletcher", "Baruch Spinoza", "William Baldwin", "Jacques Derrida", "Tim Robbins", "James Monroe", "John Candy", "Friedrich Schiller"], "program": [{"function": "Find", "dependencies": [], "inputs": ["smallpox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable people with this condition", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Abraham Lincoln"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["notable people with this condition", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["disease"]}, {"function": "Relate", "dependencies": [5], "inputs": ["cause of death", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"disease\" . ?e_1 <notable_people_with_this_condition> ?e_2 . ?e_2 <pred:name> \"Abraham Lincoln\" . ?e_3 <notable_people_with_this_condition> ?e_2 . ?e_3 <pred:name> \"smallpox\" .   }", "answer": "Pocahontas"}, {"question": "With its publication date on 1994-10-20, where is the film that received the MTV Movie Award for Most Desirable Female published?", "choices": ["Seattle International Film Festival", "2008 Toronto International Film Festival", "Montreal World Film Festival", "Johannesburg", "Mexico", "Croatia", "Finland", "Germany", "Telluride Film Festival", "Hollywood Bowl"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Most Desirable Female"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1994-10-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"MTV Movie Award for Most Desirable Female\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1994-10-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was Adam Sandler a Golden Raspberry Award winner for Worst Screenplay?", "choices": ["900", "2011-01-01", "2013-01-17", "2016-03-31", "1955-09-24", "2018-07-06", "1999-12-22", "2015-12-26", "1941-01-01", "2010-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam Sandler"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Adam Sandler\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Which border does the European Union have in common with Czechoslovakia?", "choices": ["China\u2013Israel relations", "Iceland\u2013India relations", "Brazil\u2013Italy relations", "Moldova\u2013Romania relations", "China\u2013Rwanda relations", "11th Academy Awards", "European Union\u2013Czechoslovakia border", "84th Academy Awards", "Georgia (country)\u2013Persia relations", "Belarus\u2013China relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["European Union"]}, {"function": "Find", "dependencies": [], "inputs": ["Czechoslovakia"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"European Union\" . ?e_2 <pred:name> \"Czechoslovakia\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "European Union\u2013Czechoslovakia border"}, {"question": "Was Shining Through published before 1996 (the place of publication of this statement is Sweden)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shining Through"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Sweden"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1996", "<"]}], "sparql": "ASK { ?e <pred:name> \"Shining Through\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Sweden\" .  }", "answer": "yes"}, {"question": "Does the native name Meryl Streep belong to someone with ISNI # 0000 0001 1441 9281?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1441 9281"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Meryl Streep"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1441 9281\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Meryl Streep\" .  }", "answer": "no"}, {"question": "Does the Cherokee (Glottolog code cher1273) or Welsh language have more speakers?", "choices": ["Scots", "Welsh", "Gujarati", "Tamil", "Romanian", "Irish", "Croatian", "Indonesian", "Cherokee", "Marathi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cherokee"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Glottolog code", "cher1273"]}, {"function": "Find", "dependencies": [], "inputs": ["Welsh"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of speakers", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cherokee\" . ?e <Glottolog_code> ?pv_1 . ?pv_1 <pred:value> \"cher1273\" . } UNION { ?e <pred:name> \"Welsh\" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Welsh"}, {"question": "How many TV production companies have official website https://20thtv.com/ or Instagram username is fxnetworks?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://20thtv.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["TV production company"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Instagram username", "fxnetworks"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["TV production company"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"TV production company\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://20thtv.com/\" .  } UNION { ?e <Instagram_username> ?pv . ?pv <pred:value> \"fxnetworks\" .  } }", "answer": "2"}, {"question": "What is the date of death for the person with the ISNI of 0000 0000 6302 5740 ?", "choices": ["1854-04-19", "1942-11-20", "1982-03-08", "1995-01-21", "1973-12-20", "1959-01-01", "1992-09-12", "1982-02-22", "2012-09-25", "1997-03-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6302 5740"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 6302 5740\" . ?e <date_of_death> ?pv .  }", "answer": "1973-12-20"}, {"question": "What is the connection between Long Beach (the one whose official website is http://www.longbeachny.org) to United States of America?", "choices": ["genre", "narrative location", "registered with", "mouth of the watercourse", "presenter", "military branch", "country", "creator", "spouse", "cites"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Long Beach"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.longbeachny.org"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Long Beach\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.longbeachny.org\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What has Clinton County of Ohio in common with Warren County (with 83 as a license plate code)?", "choices": ["mouth of the watercourse", "time period", "official residence", "tributary", "product or material produced", "shares border with", "make-up artist", "penalty", "approved by", "place of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clinton County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Warren County"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["licence plate code", "83"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Clinton County\" . ?e_3 <contains_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"Ohio\" . ?e_2 <pred:name> \"Warren County\" . ?e_2 <licence_plate_code> ?pv . ?pv <pred:value> \"83\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which one, Bellingham or Lansing,  has greater population?", "choices": ["Bellingham", "New Haven", "Compton", "Waukegan", "Boulder", "Greenville", "Lansing", "Franklin", "Oakland", "New Britain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bellingham"]}, {"function": "Find", "dependencies": [], "inputs": ["Lansing"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bellingham\" .  } UNION { ?e <pred:name> \"Lansing\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lansing"}, {"question": "What organization has the genre ska and the genre jazz fusion?", "choices": ["Red Hot Chili Peppers", "E. W. Scripps Company", "United States Department of the Air Force", "McDonald's", "Vigor Shipyards", "Pfizer", "BBC", "Hamburger SV", "Academy of Television Arts & Sciences", "Bravo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ska"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Find", "dependencies": [], "inputs": ["jazz fusion"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"ska\" .  ?e <genre> ?e_2 . ?e_2 <pred:name> \"jazz fusion\" .  }", "answer": "Bravo"}, {"question": "Does British Museum person-institution # 210104 correspond to someone born in Amsterdam (officially called Amsterdam)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amsterdam"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Amsterdam"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["British Museum person-institution"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["210104"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Amsterdam\" . ?e_1 <official_name> ?pv_1 . ?pv_1 <pred:value> \"Amsterdam\" . ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> \"210104\" .  }", "answer": "no"}, {"question": "Regarding Richard Taylor, who has a birth name of Richard Lawrence Taylor, is his or her Erdos number under 2.4?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Taylor"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Richard Lawrence Taylor"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Erd\u0151s number"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["2.4", "<"]}], "sparql": "ASK { ?e <pred:name> \"Richard Taylor\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Richard Lawrence Taylor\" . ?e <Erd\u0151s_number> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"2.4\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the native language name of the presenter of 54th Annual Grammy Awards?", "choices": ["\u9ce5\u5c71 \u660e", "Jeff Beck", "Agnes Moorehead", "Robert Smith", "LL Cool J", "Catherine O'Hara", "Tony Blair", "Sylvia Sidney", "Tom DeLonge", "William Brian James"], "program": [{"function": "Find", "dependencies": [], "inputs": ["54th Annual Grammy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["presenter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <presenter> ?e . ?e_1 <pred:name> \"54th Annual Grammy Awards\" .  ?e <name_in_native_language> ?pv .  }", "answer": "LL Cool J"}, {"question": "For which project did Gary Barber get the Golden Raspberry Award for Worst Picture?", "choices": ["Top Hat", "Across the Universe", "True Blood", "Marvin's Room", "Anne Frank: The Whole Story", "King", "Lost Horizon", "The Love Guru", "In the Name of the Father", "The Brink's Job"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary Barber"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Golden Raspberry Award for Worst Picture\" . ?e_2 <pred:name> \"Gary Barber\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Love Guru"}, {"question": "Which one, Scrubs or Around the World in 80 Days (the one that is originally aired on BBC One), has less number of episodes?", "choices": ["Game of Thrones", "Saturday Night's Main Event", "Dancing with the Stars", "American Horror Story", "Six Feet Under", "Around the World in 80 Days", "Bleak House", "Phineas and Ferb", "Robot Chicken", "Scrubs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scrubs"]}, {"function": "Find", "dependencies": [], "inputs": ["BBC One"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Scrubs\" .  } UNION { ?e <pred:name> \"Around the World in 80 Days\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"BBC One\" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Around the World in 80 Days"}, {"question": "What does The Day After Tomorrow have to do with Dennis Quaid?", "choices": ["opposite of", "political alignment", "contains administrative territorial entity", "has edition", "cast member", "country for sport", "sibling", "killed by", "located in time zone", "cites"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Day After Tomorrow"]}, {"function": "Find", "dependencies": [], "inputs": ["Dennis Quaid"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Day After Tomorrow\" . ?e_2 <pred:name> \"Dennis Quaid\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Were box office proceeds of Sleepers under 1400000000 USD?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sleepers"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["1400000000 United States dollar", "<"]}], "sparql": "ASK { ?e <pred:name> \"Sleepers\" . ?e <box_office> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1400000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is S12000030 the GSS code (2011) of the non-metropolitan county that is different from Cambridgeshire (the one that shares border with Northamptonshire)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northamptonshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridgeshire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["non-metropolitan county"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["GSS code (2011)"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["S12000030"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan county\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Cambridgeshire\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Northamptonshire\" .  ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> \"S12000030\" .  }", "answer": "no"}, {"question": "When did the county of Oregon whose ISNI is 0000 0004 0419 9432 have a population of 25250?", "choices": ["1700", "1996-05-22", "1958-01-01", "2005-09-12", "2010-04-01", "2018-01-08", "1850", "2014-04-30", "2001-02-15", "1715"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0419 9432"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "25250", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0419 9432\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"25250\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Which person's ISNI is 0000 0000 7823 1344?", "choices": ["Jon Lovitz", "David Hume", "William Joyce", "Barbara Walters", "Richard Gere", "Sylvester Stallone", "Cam Clarke", "Larry Charles", "William Henry Harrison", "Michael O'Neill"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7823 1344"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7823 1344\" .  }", "answer": "Jon Lovitz"}, {"question": "What is the connection between Asteras Tripoli F.C. to Greece?", "choices": ["country", "characters", "indigenous to", "chairperson", "terminus", "country of citizenship", "territory claimed by", "award received", "sex or gender", "family name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asteras Tripoli F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Asteras Tripoli F.C.\" . ?e_2 <pred:name> \"Greece\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the language of Bayonne's official website http://www.bayonnenj.org/?", "choices": ["Canadian French", "English", "Belarusian", "Spanish", "Hindi", "Indonesian", "National language of Republic of China", "Afrikaans", "Slovak", "Esperanto"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bayonne"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.bayonnenj.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bayonne\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bayonnenj.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which has fewer seasons, Cranford or Monster House that uses English?", "choices": ["Peter Pan", "Cold War", "variety", "Monster House", "The Wire, season 3", "The Wire, season 1", "Lost, season 3", "The Larry Sanders Show", "Cranford", "The Wire, season 5"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cranford"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [1], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Monster House"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cranford\" .  } UNION { ?e <pred:name> \"Monster House\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monster House"}, {"question": "Which one sold more tickets between  The Insider or The Bodyguard (the one that has Richard Schiff as a cast member)?", "choices": ["Talk to Her", "Rebecca", "The Insider", "The Fifth Element", "The Towering Inferno", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "A Prairie Home Companion", "The Bodyguard", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Insider"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Schiff"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Bodyguard"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Insider\" .  } UNION { ?e <pred:name> \"The Bodyguard\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Richard Schiff\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Bodyguard"}, {"question": "What film's script was written by the person with an INSI of 0000 0001 1557 4910?", "choices": ["A Fish Called Wanda", "Searching for Debra Winger", "Tuvalu", "The Good Shepherd", "The Star Wars Holiday Special", "Genesis", "The Scarlet Letter", "Adaptation", "Judge Dredd", "127 Hours"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1557 4910"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1557 4910\" .   }", "answer": "Judge Dredd"}, {"question": "Which has greater area, Gloucester County or Middlesex County (which is located in New Jersey)?", "choices": ["Hudson County", "Middlesex County", "Morris County", "Bergen County", "Monmouth County", "Burlington County", "Hunterdon County", "Gloucester County", "Essex County", "Cumberland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gloucester County"]}, {"function": "Find", "dependencies": [], "inputs": ["New Jersey"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Middlesex County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gloucester County\" .  } UNION { ?e <pred:name> \"Middlesex County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"New Jersey\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gloucester County"}, {"question": "Was Bolt (the one whose Nintendo GameID is RLUR4Q) not published in Europe in 2019 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bolt"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "RLUR4Q"]}, {"function": "QueryAttrUnderCondition", "dependencies": [1], "inputs": ["publication date", "place of publication", "Europe"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["2019", "!="]}], "sparql": "ASK { ?e <pred:name> \"Bolt\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"RLUR4Q\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2019 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Europe\" .  }", "answer": "yes"}, {"question": "How many subscribers does Joseph Gordon-Levitt have to his Twitter account called hitRECordJoe?", "choices": ["132915", "885", "11594", "744", "4314192", "43648", "111212", "15729", "5741414", "820918"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Gordon-Levitt"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "hitRECordJoe", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Joseph Gordon-Levitt\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"hitRECordJoe\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "4314192"}, {"question": "What number of activities have the Nintendo GameID R5AP8P?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "R5AP8P"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv . ?pv <pred:value> \"R5AP8P\" .  }", "answer": "1"}, {"question": "What is the subscriber count of the person whose native language name is Viola Davis for her Twitter username violadavis?", "choices": ["12214", "72110", "30268", "526904", "1141232", "215358", "13564601", "39", "1402215", "26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Viola Davis"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "violadavis", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Viola Davis\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"violadavis\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1141232"}, {"question": "What county is the University of Wales's headquarters location of Cardiff located in?", "choices": ["Aruba", "Papal States", "Cambodia", "United Kingdom", "Kingdom of Saxony", "Czech Republic", "Singapore", "Thailand", "Hong Kong", "Iran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Wales"]}, {"function": "Find", "dependencies": [], "inputs": ["Cardiff"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Wales\" . ?e_2 <pred:name> \"Cardiff\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Does Aladdin (produced by The Walt Disney Company) or Back to the Future (in the United States of America) have more seasons?", "choices": ["Aladdin", "Fantastic Four", "Batman Beyond", "South Park", "Robot Chicken", "The Cleveland Show", "Phineas and Ferb", "The Venture Bros.", "Back to the Future", "American Dad!"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Walt Disney Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Aladdin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Back to the Future"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Aladdin\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"The Walt Disney Company\" .   } UNION { ?e <pred:name> \"Back to the Future\" . ?e <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aladdin"}, {"question": "Harry Stradling, director of photography of My Fair Lady, was a recipient at the Academy Awards held on which date?", "choices": ["1664-02-07", "1995-01-01", "2010-12-31", "1965-04-05", "2008-11-04", "1888-12-01", "1960-04-04", "1900", "1834-12-01", "1948-05-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Fair Lady"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Stradling"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Harry Stradling\" . ?e_2 <director_of_photography> ?e_1 . ?e_2 <pred:name> \"My Fair Lady\" .  ?e <point_in_time> ?pv .  }", "answer": "1965-04-05"}, {"question": "What award ceremony did Alexandre Desplat receive?", "choices": ["66th Tony Awards", "39th Daytime Emmy Awards", "38th People's Choice Awards", "2000 Grammy Awards", "54th Annual Grammy Awards", "Satellite Awards 2008", "64th Golden Globe Awards", "Academy Award for Best Original Score", "1997 Grammy Awards", "Grammy Award for Best Score Soundtrack for Visual Media"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexandre Desplat"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Alexandre Desplat\" .   }", "answer": "54th Annual Grammy Awards"}, {"question": "Does the Caribbean have a smaller population size, or does the Kansai region?", "choices": ["South America", "Pacific Ocean", "Lake District", "Southern California", "Piedmont", "Caribbean", "Kansai region", "Transylvania", "Antarctica", "Africa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caribbean"]}, {"function": "Find", "dependencies": [], "inputs": ["Kansai region"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Caribbean\" .  } UNION { ?e <pred:name> \"Kansai region\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kansai region"}, {"question": "Among the unitary state that is the release region of The Impossible, which has the smallest mains voltage?", "choices": ["Tajikistan", "Kosovo", "Lithuania", "Greece", "Finland", "Cuba", "Fiji", "Croatia", "Bulgaria", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Impossible"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mains voltage", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> \"The Impossible\" .  ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lithuania"}, {"question": "Which among Ogden and Pine Bluff has greater elevation above sealevel?", "choices": ["Greenville", "Compton", "Columbus", "Lansing", "New Haven", "Oakland", "Boulder", "Pine Bluff", "Ogden", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ogden"]}, {"function": "Find", "dependencies": [], "inputs": ["Pine Bluff"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ogden\" .  } UNION { ?e <pred:name> \"Pine Bluff\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ogden"}, {"question": "How many chemical compounds are considered to be a nutrient of the food ingredient with an UNII of L56Z1JK48B?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UNII", "L56Z1JK48B"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["chemical compound"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e_1 <nutrient> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"food ingredient\" . ?e_1 <UNII> ?pv . ?pv <pred:value> \"L56Z1JK48B\" .   }", "answer": "29"}, {"question": "Was the city in the US having the subreddit of Appleton not founded in 1964?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "Appleton"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1964", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"Appleton\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1964 ) .  }", "answer": "yes"}, {"question": "Regarding EMI that has a net profit of 211023000 pound sterling, tell me its time point.", "choices": ["1995-12-19", "1919-01-01", "1984", "1925", "1956", "2016", "2011-08-24", "1933-06-16", "1700", "2007-05-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["EMI"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["net profit", "211023000 pound sterling", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"EMI\" . ?e <net_profit> ?pv . ?pv <pred:unit> \"pound sterling\" . ?pv <pred:value> \"211023000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_profit> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "How is Amelia related to Oceania?", "choices": ["narrative location", "series spin-off", "source of material", "legal form", "stated in", "health specialty", "significant person", "film editor", "country of origin", "conflict"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amelia"]}, {"function": "Find", "dependencies": [], "inputs": ["Oceania"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amelia\" . ?e_2 <pred:name> \"Oceania\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "What is the connection between 2004 NFL Draft to Denver Broncos?", "choices": ["presenter", "had as last meal", "screenwriter", "participant", "collection", "participant of", "candidacy in election", "enclave within", "relative", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2004 NFL Draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Denver Broncos"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2004 NFL Draft\" . ?e_2 <pred:name> \"Denver Broncos\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "Is http://www.bryanbros.com the official website of a person whose KLfG Critical Dictionary of foreign contemporary literature is 18000000309 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["KLfG Critical Dictionary of foreign contemporary literature", "18000000309"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.bryanbros.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <KLfG_Critical_Dictionary_of_foreign_contemporary_literature> ?pv_1 . ?pv_1 <pred:value> \"18000000309\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bryanbros.com/\" .  }", "answer": "no"}, {"question": "Is Warner Media Group's market capitalization not equal to 630000000000 United States dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Media Group"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["market capitalization"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["630000000000 United States dollar", "!="]}], "sparql": "ASK { ?e <pred:name> \"Warner Media Group\" . ?e <market_capitalization> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"630000000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Tell me the one with the biggest area within the New York county that has an inception time other than 1805.", "choices": ["Cattaraugus County", "Genesee County", "Washington County", "Cayuga County", "Hamilton County", "St. Lawrence County", "Monroe County", "Onondaga County", "Putnam County", "Essex County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1805", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1805 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "On the subject of the Gemany-Niger relationship, name the time point for the republic with a population of 4291280 that enjoys a diplomatic relationship with Germany.", "choices": ["1889", "2003-03-01", "2005-08-01", "1989", "1770", "1800", "1969", "1889-12-31", "1960", "1990-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Germany-Niger relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["republic"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "4291280", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Germany\" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Germany-Niger relations\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4291280\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1969"}, {"question": "What visual artwork is titled Reversal of Fortune?", "choices": ["Jurassic Park", "Julius Caesar", "teen film", "American History X", "Reversal of Fortune", "Talk to Her", "A Prairie Home Companion", "Nine Lives", "Almost Famous", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Reversal of Fortune"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Reversal of Fortune\" .  }", "answer": "Reversal of Fortune"}, {"question": "Which one has a smaller population, Orange (which has a border with East Orange) or Belleville (the one having the postal code 07109)?", "choices": ["North Hollywood", "West Orange", "Orange", "Ridgewood", "Montclair", "Princeton", "Livingston", "Belleville", "Verona", "Whanganui"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Orange"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Belleville"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["postal code", "07109"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Orange\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"East Orange\" . } UNION { ?e <pred:name> \"Belleville\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"07109\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Orange"}, {"question": "Is abcmodernfam the Instagram username for the association football club whose Twitter username is sufcofficial?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "sufcofficial"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["abcmodernfam"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"sufcofficial\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"abcmodernfam\" .  }", "answer": "no"}, {"question": "Which area is larger, Sedona (the one whose country is United States of America) or Pontiac?", "choices": ["New Haven", "Franklin", "Columbus", "Boulder", "Pontiac", "Sedona", "Oakland", "Lansing", "Greenville", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sedona"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pontiac"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sedona\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Pontiac\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pontiac"}, {"question": "Does Jefferson County which borders Armstrong County or Armstrong County have greater area?", "choices": ["Lehigh County", "Fayette County", "Bucks County", "Armstrong County", "Franklin County", "Cumberland County", "York County", "Jefferson County", "Allegheny County", "Westmoreland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armstrong County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Armstrong County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jefferson County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Armstrong County\" .   } UNION { ?e <pred:name> \"Armstrong County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Armstrong County"}, {"question": "Is the run-time of the visual artwork preceding Austin Powers: The Spy Who Shagged Me under 10 weeks?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austin Powers: The Spy Who Shagged Me"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["10 week", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Austin Powers: The Spy Who Shagged Me\" .  ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v < \"10\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the connection between Jim Brown (the one whose date of birth is 1908-12-31) to Kilmarnock?", "choices": ["contributor(s) to the creative work", "sponsor", "place of birth", "instrumentation", "properties for this type", "conferred by", "original language of film or TV show", "place of origin (Switzerland)", "partially contains", "newspaper format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1908-12-31", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Kilmarnock"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jim Brown\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1908-12-31\"^^xsd:date . ?e_2 <pred:name> \"Kilmarnock\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How many religious buildings were established before 1963?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1963", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religious building"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religious building\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1963 ) .  }", "answer": "2"}, {"question": "What is the box office of Flight which was nominated for an Academy Award for Best Actor?", "choices": ["2186772302 United States dollar", "331900000 United States dollar", "8093074 United States dollar", "5122737 United States dollar", "152159461 United States dollar", "4000000 United States dollar", "161800000 United States dollar", "5400000 United States dollar", "133821816 United States dollar", "17000000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Flight\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  ?e <box_office> ?pv .  }", "answer": "161800000 United States dollar"}, {"question": "When was John Cleese born?", "choices": ["1909-06-14", "1939-10-27", "1850-11-13", "1953-05-24", "1904-12-05", "1789-08-11", "1986-01-03", "1964-04-07", "1985-01-04", "1947-03-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cleese"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Cleese\" . ?e <date_of_birth> ?pv .  }", "answer": "1939-10-27"}, {"question": "Which area is smaller, Somerset County (the one that shares border with Cambria County) or Lancaster County (the one whose PermID is 5035885149)?", "choices": ["Westmoreland County", "Cumberland County", "Franklin County", "Bucks County", "Fayette County", "Warren County", "Lehigh County", "Allegheny County", "Lancaster County", "Somerset County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cambria County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lancaster County"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["PermID", "5035885149"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Somerset County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Cambria County\" . } UNION { ?e <pred:name> \"Lancaster County\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5035885149\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lancaster County"}, {"question": "How many political ideologies are different from government or are characteristic of Nazism?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["government"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "Find", "dependencies": [], "inputs": ["Nazism"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has quality", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["political ideology"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> \"government\" .  } UNION { ?e_1 <has_quality> ?e . ?e_1 <pred:name> \"Nazism\" .  } }", "answer": "2"}, {"question": "Which has a lesser area, Monroe County (whose population is 22236) or Madison County (whose population is 346892)?", "choices": ["Mobile County", "Madison County", "Dallas County", "Washington County", "Monroe County", "Montgomery County", "Jefferson County", "Baldwin County", "Shelby County", "Jackson County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monroe County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "22236", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "346892", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Monroe County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"22236\"^^xsd:double . } UNION { ?e <pred:name> \"Madison County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"346892\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Madison County"}, {"question": "Which is the smallest region in the Canadian province located in the Atlantic Time Zone", "choices": ["Prince Edward Island", "Ontario", "Quebec", "New Brunswick", "British Columbia", "Manitoba", "Alberta", "Saskatchewan", "Nova Scotia", "Newfoundland and Labrador"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Canada"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Canada\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Atlantic Time Zone\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Prince Edward Island"}, {"question": "Who won an Academy Award for Best Actor for Sergeant York?", "choices": ["Coti", "Aaron Rochin", "Robert Short", "Theoni V. Aldredge", "Pete Docter", "Chris Corbould", "Frank Butler", "Bob Balaban", "Edward Stewart", "Gary Cooper"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sergeant York"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sergeant York\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Gary Cooper"}, {"question": "For Dir en grey, is the official website exactly http://www.direngrey.co.jp?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dir en grey"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.direngrey.co.jp"]}], "sparql": "ASK { ?e <pred:name> \"Dir en grey\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.direngrey.co.jp\" .  }", "answer": "yes"}, {"question": "Is The Life and Death of Peter Sellers or The Red Violin shorter?", "choices": ["Shackleton", "The Goodbye Girl", "The Life and Death of Peter Sellers", "A Streetcar Named Desire", "The Music Man", "The Three Musketeers", "The Late Shift", "The Challenge", "The Red Violin", "All Quiet on the Western Front"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Life and Death of Peter Sellers"]}, {"function": "Find", "dependencies": [], "inputs": ["The Red Violin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Life and Death of Peter Sellers\" .  } UNION { ?e <pred:name> \"The Red Violin\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Life and Death of Peter Sellers"}, {"question": "What is the official website of the American football team that has a member named Kevin Smith (whose date of birth is 1986-12-17)?", "choices": ["http://www.activisionblizzard.com/", "http://www.richmondindiana.gov/", "http://www.detroitlions.com", "http://www.burnley.gov.uk/", "http://www.rcgov.org/", "http://www.paulwilliamsconnection.org/", "http://www.cwtv.com/shows/the-vampire-diaries", "http://www.warnerbros.com/#/page=movies&pid=f-5990906c/DEMOLITION_MAN&asset=057174/Demolition_Man_-_Trailer_2&type=video/", "http://www.foxsearchlight.com/ihearthuckabees/", "https://www.nintendo.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kevin Smith"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1986-12-17", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["American football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Kevin Smith\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1986-12-17\"^^xsd:date . ?e <official_website> ?pv .  }", "answer": "http://www.detroitlions.com"}, {"question": "What is the start date that Jalisco became a twin administrative body to Shanghai (that is the twin administrative body to Lille)?", "choices": ["1969-11-11", "1956-12-10", "2007-10-25", "1899-10-11", "1928-03-26", "1356", "1998-01-01", "1887-01-01", "1974-08-09", "2007-09-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jalisco"]}, {"function": "Find", "dependencies": [], "inputs": ["Lille"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shanghai"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jalisco\" . ?e_2 <pred:name> \"Shanghai\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Lille\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1998-01-01"}, {"question": "The founding in 1207 of the city officially named Liverpool is what kind of special case?", "choices": ["sovereign state", "Republic of Quito", "country code", "statement with Gregorian date earlier than 1584", "New Hampshire Democratic Party", "plural", "dynastic union", "Spanish Constitution of 1812", "dynasty", "vehicle registration plates of Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Liverpool"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inception", "1207", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Liverpool\" . ?e <inception> ?pv . ?pv <pred:year> 1207 . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "What is the official website of the 1980 Grammy Awards?", "choices": ["http://www.tau.ac.il", "http://www.staffordshire.gov.uk/", "http://www.chrispaul3.com", "https://www.apple.com/ca/ios/", "http://www.serjtankian.com", "http://www.grammy.com/", "http://www.crawley.gov.uk/", "http://www.jumperthemovie.com/", "http://greggallman.com/", "http://www.ucc.ie/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1980", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Grammy Award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Grammy Award\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1980 . ?e <official_website> ?pv .  }", "answer": "http://www.grammy.com/"}, {"question": "What is the connection between Pablo Picasso to graphic designer?", "choices": ["voice type", "honorific prefix", "presenter", "film release region", "destination point", "occupation", "father", "continent", "instrument", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pablo Picasso"]}, {"function": "Find", "dependencies": [], "inputs": ["graphic designer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pablo Picasso\" . ?e_2 <pred:name> \"graphic designer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which region has the lower population, Wexford County or Meath County?", "choices": ["County Galway", "County Kilkenny", "County Limerick", "County Kildare", "County Monaghan", "County Donegal", "County Wexford", "County Dublin", "County Meath", "County Tipperary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Wexford"]}, {"function": "Find", "dependencies": [], "inputs": ["County Meath"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"County Wexford\" .  } UNION { ?e <pred:name> \"County Meath\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Wexford"}, {"question": "Does Herkimer County or Albany County have less land area?", "choices": ["Herkimer County", "Orange County", "Greene County", "Warren County", "Cayuga County", "Albany County", "Chautauqua County", "Niagara County", "Clinton County", "Jefferson County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Herkimer County"]}, {"function": "Find", "dependencies": [], "inputs": ["Albany County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Herkimer County\" .  } UNION { ?e <pred:name> \"Albany County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Albany County"}, {"question": "Which has lower elevation above sea level, Fort Worth whose area is 909.611027 square kilometres or Gary where The Jackson 5 were formed?", "choices": ["Boulder", "Lansing", "Greenville", "Columbus", "New Haven", "Waukegan", "Compton", "Franklin", "Fort Worth", "Gary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Worth"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "909.611027 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Jackson 5"]}, {"function": "Relate", "dependencies": [2], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fort Worth\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"909.611027\"^^xsd:double . } UNION { ?e <pred:name> \"Gary\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"The Jackson 5\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gary"}, {"question": "Since when has India (the one whose population is 1174662334) contained the administrative division Punjab (the one whose urban population is 10399146)?", "choices": ["1890", "1994-01-17", "1426-01-01", "1919", "1980-11-21", "1664-05-04", "1997-01-03", "1992-09-11", "1950-01-26", "1930-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["India"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1174662334", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Punjab"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["urban population", "10399146", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["contains administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"India\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1174662334\"^^xsd:double . ?e_2 <pred:name> \"Punjab\" . ?e_2 <urban_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"10399146\"^^xsd:double . ?e_1 <contains_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <contains_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1950-01-26"}, {"question": "What is the postal code of Bandai Co., Ltd.'s headquarter location in Tokyo that borders Kanagawa Prefecture?", "choices": ["111-8081", "Dublin 4", "90405-1628", "50090", "06511", "52075", "07503", "10039", "1202", "00118\u201300199"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bandai Co., Ltd."]}, {"function": "Find", "dependencies": [], "inputs": ["Kanagawa Prefecture"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tokyo"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bandai Co., Ltd.\" . ?e_2 <pred:name> \"Tokyo\" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"Kanagawa Prefecture\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "111-8081"}, {"question": "Is 00000021814 the Munzinger IBA for the person who was nominated for a Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series involving the award-winning work Ray Donovan?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Ray Donovan"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["00000021814"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Ray Donovan\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000021814\" .  }", "answer": "no"}, {"question": "When was the currency with TeX string \\officialeuro valued at 1.12565 USD?", "choices": ["2009-04-08", "2009-12-01", "1998", "2001-02-15", "2016-02-13", "2018-03-20", "1932-01-01", "2006-01-29", "1920-12-31", "2006-08-16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TeX string", "\\officialeuro"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["currency"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["price", "1.12565 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"currency\" . ?e <TeX_string> ?pv_1 . ?pv_1 <pred:value> \"\\\\officialeuro\" . ?e <price> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"1.12565\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <price> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-02-13"}, {"question": "What is the Libris-URI of the person that has the ISNI of 0000 0001 0783 2836?", "choices": ["ljx01rd432x86fs", "42gjl5hn4mbnxwz", "42gknt6n1m6s83l", "b8nqtl6v32cldkl", "31fhj7hm1w1m1l6", "c9prsjvw3tr44fk", "sq4689gb45brxpv", "b8nrx1jv4vtf2d9", "sq466m3b5p8f33b", "zw9cd5qh0p6pk52"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0783 2836"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0783 2836\" . ?e <Libris-URI> ?pv .  }", "answer": "sq466m3b5p8f33b"}, {"question": "What is the connection between Pat Benatar to rock music?", "choices": ["genre", "interested in", "diplomatic relation", "nutrient", "candidate", "located in or next to body of water", "mascot", "subsidiary", "registered with", "librettist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pat Benatar"]}, {"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pat Benatar\" . ?e_2 <pred:name> \"rock music\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does the person with ISNI 0000 0001 1483 8590, have a number of children not equal to 15?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1483 8590"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["15", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1483 8590\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"15\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many award categories belong to the USA or have a creation year other than 1954?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1954", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["class of award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1954 ) .  } }", "answer": "7"}, {"question": "Since when was Homeland aired on Showtime (the one that is the product or material produced by CBS Corporation), its original broadcasting place ?", "choices": ["2015-03-01", "1874", "1244", "-57000", "2011-10-02", "1960-10-07", "2000-10-10", "1980-09-16", "1957-01-01", "1990-11-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Homeland"]}, {"function": "Find", "dependencies": [], "inputs": ["CBS Corporation"]}, {"function": "Relate", "dependencies": [1], "inputs": ["product or material produced", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Showtime"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Homeland\" . ?e_2 <pred:name> \"Showtime\" . ?e_3 <product_or_material_produced> ?e_2 . ?e_3 <pred:name> \"CBS Corporation\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2011-10-02"}, {"question": "How is CNN worker Tom Johnson related to Harvard University?", "choices": ["officeholder", "production company", "cast member", "student of", "heritage designation", "statistical leader", "killed by", "educated at", "business division", "use"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CNN"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Harvard University"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tom Johnson\" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> \"CNN\" . ?e_2 <pred:name> \"Harvard University\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How many soul musics began before 1957 and are the genre of Robert Taylor (who is related to the sport cricket)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cricket"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soul music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [6], "inputs": ["inception", "1957", "<"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["soul music"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soul music\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Robert Taylor\" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> \"cricket\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1957 ) .  }", "answer": "0"}, {"question": "Is h1701 the BMLO of Frederick II of Prussia?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frederick II of Prussia"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["BMLO"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["h1701"]}], "sparql": "ASK { ?e <pred:name> \"Frederick II of Prussia\" . ?e <BMLO> ?pv . ?pv <pred:value> \"h1701\" .  }", "answer": "yes"}, {"question": "Is jpx the ISO 639-5 code for Japanese?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISO 639-5 code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["jpx"]}], "sparql": "ASK { ?e <pred:name> \"Japanese\" . ?e <ISO_639-5_code> ?pv . ?pv <pred:value> \"jpx\" .  }", "answer": "yes"}, {"question": "What country does the national association football team with ranking equal to 1 in 1994-09-13 and Twitter username cbf_futebol belong to ?", "choices": ["German Democratic Republic", "Slovakia", "Netherlands", "British Empire", "Iran", "Romania", "Brazil", "Holy Roman Empire", "Taiwan", "Ontario"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "1", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1994-09-13", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "cbf_futebol", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:date> \"1994-09-13\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"cbf_futebol\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "Brazil"}, {"question": "The Hitchhiker's Guide to the Galaxy, executive produced by Douglas Adams, was released on 2005-04-29 in which region?", "choices": ["Taiwan", "Europe", "Bolivia", "France", "Toronto International Film Festival", "Latvia", "Serbia", "United States of America", "People's Republic of China", "Beverly Hills"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas Adams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hitchhiker's Guide to the Galaxy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2005-04-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Hitchhiker's Guide to the Galaxy\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Douglas Adams\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2005-04-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Does the video game developer with the official website www.hallab.co.jp employ a staff of more than 40 members?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hallab.co.jp/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["40", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hallab.co.jp/\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"40\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Did the Weimar Republic not dissolve in 1969?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Weimar Republic"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1969", "!="]}], "sparql": "ASK { ?e <pred:name> \"Weimar Republic\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1969 ) .  }", "answer": "yes"}, {"question": "What is the state in India whose GDP is equal to 8003407902796.51 Geary\u2013Khamis dollars?", "choices": ["Himachal Pradesh", "Odisha", "Arunachal Pradesh", "Haryana", "Gujarat", "Assam", "Maharashtra", "Karnataka", "Andhra Pradesh", "Kerala"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["GDP (PPP)", "8003407902796.51 Geary\u2013Khamis dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state of India"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"democracy\" . ?e_1 <GDP_(PPP)> ?pv . ?pv <pred:unit> \"Geary\u2013Khamis dollar\" . ?pv <pred:value> \"8003407902796.51\"^^xsd:double .   }", "answer": "Kerala"}, {"question": "Does the longer run-time belong to Thunderball, distributed by United Artists, or to Halloween, featuring cast member Danny Trejo ?", "choices": ["Halloween", "Training Day", "Talk to Her", "Curse of the Golden Flower", "The Fifth Element", "Rebecca", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Thunderball", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thunderball"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Danny Trejo"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Halloween"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Thunderball\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"United Artists\" .   } UNION { ?e <pred:name> \"Halloween\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Danny Trejo\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Thunderball"}, {"question": "Which one has more area between Kozhikode and Kinshasa?", "choices": ["Kinshasa", "Trieste", "Cork", "Santo Domingo", "Abidjan", "Kilkenny", "Bergen", "Kingston", "Dundee", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kozhikode"]}, {"function": "Find", "dependencies": [], "inputs": ["Kinshasa"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kozhikode\" .  } UNION { ?e <pred:name> \"Kinshasa\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kinshasa"}, {"question": "How is the United Kingdom originated Eve related to the United States of America?", "choices": ["sexual orientation", "conferred by", "filming location", "official symbol", "connects with", "theme music", "country of origin", "officially opened by", "field of work", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Eve"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eve\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Which movie is longer, Dressed to Kill (the one whose duration is 72 minute) or Public Enemies (the one that has Alyssa Milano as a cast member)?", "choices": ["Training Day", "Talk to Her", "Rebecca", "Dressed to Kill", "Public Enemies", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "The Towering Inferno", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dressed to Kill"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "72 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Alyssa Milano"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Public Enemies"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dressed to Kill\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"72\"^^xsd:double . } UNION { ?e <pred:name> \"Public Enemies\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Alyssa Milano\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Public Enemies"}, {"question": "How many college towns have an elevation of less than 810 metres above sea level?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "810 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"810\"^^xsd:double ) .  }", "answer": "3"}, {"question": "What is the mass of Art Carney who died on 1962-03-24?", "choices": ["67 kilogram", "242 pound", "94 kilogram", "69 kilogram", "73.477 yottagram", "180.16 gram per mole", "117.079 atomic mass unit", "230 pound", "282.256 atomic mass unit", "70 kilogram"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Art Carney"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1962-03-24", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["mass"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Art Carney\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1962-03-24\"^^xsd:date . ?e <mass> ?pv .  }", "answer": "230 pound"}, {"question": "The narrator of The Royal Tenenbaums is a voice in how many animated feature films?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Royal Tenenbaums"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["animated feature film"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <narrator> ?e_1 . ?e_2 <pred:name> \"The Royal Tenenbaums\" .   }", "answer": "3"}, {"question": "Which area is larger, Jackson County (the one whose population is 20554) or Pierce County (the one whose FIPS 6-4 (US counties) is 55093)?", "choices": ["Columbia County", "Jackson County", "Jefferson County", "Pierce County", "Polk County", "Washington County", "La Crosse County", "Waukesha County", "Wood County", "Fond du Lac County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "20554", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Pierce County"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)", "55093"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jackson County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"20554\"^^xsd:double . } UNION { ?e <pred:name> \"Pierce County\" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> \"55093\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jackson County"}, {"question": "For the market town that is Bob Hoskins' birthplace, what is the start time for its GSS code (2011) of E04012710?", "choices": ["2008-03-03", "1946-06-18", "1997-04-27", "2017-04-01", "1923-07-06", "1996-02-28", "1990-09-18", "1787-12-12", "2021-07-01", "1971-03-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Hoskins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["market town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["GSS code (2011)", "E04012710", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"market town\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Bob Hoskins\" .  ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> \"E04012710\" . [ <pred:fact_h> ?e ; <pred:fact_r> <GSS_code_(2011)> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2017-04-01"}, {"question": "What is the relationship between chicken (the one whose water volume needed is 4325 cubic metre per ton) to zinc?", "choices": ["license", "found", "filmography", "next higher rank", "has immediate cause", "territory claimed by", "head coach", "basic form of government", "source of material", "nutrient"], "program": [{"function": "Find", "dependencies": [], "inputs": ["chicken"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["water footprint", "4325 cubic metre per ton", "="]}, {"function": "Find", "dependencies": [], "inputs": ["zinc"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"chicken\" . ?e_1 <water_footprint> ?pv . ?pv <pred:unit> \"cubic metre per ton\" . ?pv <pred:value> \"4325\"^^xsd:double . ?e_2 <pred:name> \"zinc\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "What is the cost of For War and Peace written by Leo Tolstoy?", "choices": ["207000000 United States dollar", "105000000 United States dollar", "65000000 United States dollar", "325000 United States dollar", "237000000 United States dollar", "7000000 United States dollar", "103000000 United States dollar", "8291712 Russian ruble", "102000000 United States dollar", "1200000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leo Tolstoy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"War and Peace\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Leo Tolstoy\" .  ?e <cost> ?pv .  }", "answer": "8291712 Russian ruble"}, {"question": "How is Northampton County whose FIPS 6-4 (US counties) is 51131 related to Virginia whose FIPS 5-2 numeric code (US states) is 51?", "choices": ["source of material", "office held by head of the organisation", "subject has role", "has effect", "contains administrative territorial entity", "art director", "located in the administrative territorial entity", "head coach", "medical condition", "child"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northampton County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "51131"]}, {"function": "Find", "dependencies": [], "inputs": ["Virginia"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["FIPS 5-2 numeric code (US states)", "51"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Northampton County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"51131\" . ?e_2 <pred:name> \"Virginia\" . ?e_2 <FIPS_5-2_numeric_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> \"51\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What is the postal code for the East India Company's (the one whose ISNI is 0000 0001 2187 2375) headquarter location in London (the one that is the filming location of Octopussy)?", "choices": ["86300\u201386399", "OL9 6AA", "75002", "98225\u201398229", "47708", "17401", "52077", "OX1 3JP", "92200", "95602\u201395604"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East India Company"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2187 2375"]}, {"function": "Find", "dependencies": [], "inputs": ["Octopussy"]}, {"function": "Relate", "dependencies": [2], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"East India Company\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2187 2375\" . ?e_2 <pred:name> \"London\" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> \"Octopussy\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "OL9 6AA"}, {"question": "When did Belarus have a life expectancy of 71.96585 years?", "choices": ["1917-09-13", "1997-08-20", "2018-07-06", "1944-12-01", "1973-03-27", "2005-06-01", "1881-01-01", "2012", "2016-03-03", "1992-03-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belarus"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["life expectancy", "71.96585 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Belarus\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"71.96585\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "What is the PermID of the higher education institution whose postal code is 17013-2896?", "choices": ["4296796097", "4295874870", "4297864009", "4298216425", "4295948972", "4296840216", "4298219167", "4296175137", "4297986494", "4297740389"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "17013-2896"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PermID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"17013-2896\" . ?e <PermID> ?pv .  }", "answer": "4297986494"}, {"question": "Someone with ISNI # 0000 0000 3100 8321 is a voice actor on which animated feature film?", "choices": ["How to Train Your Dragon", "The Incredibles", "Alice in Wonderland", "Arthur Christmas", "Sailor Moon S: The Movie", "Cars", "Finding Nemo", "Renaissance", "Peter Pan", "Ratatouille"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3100 8321"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["animated feature film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3100 8321\" .   }", "answer": "Finding Nemo"}, {"question": "How many record labels are owned by Fueled by Ramen and Warner Music Group?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Music Group"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official name", "Fueled by Ramen"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" .  { ?e_1 <owner_of> ?e . ?e_1 <pred:name> \"Warner Music Group\" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> \"Fueled by Ramen\" .  } }", "answer": "8"}, {"question": "What is the box office of Midnight in Paris?", "choices": ["83453539 United States dollar", "2734044 United States dollar", "161800000 United States dollar", "218340595 United States dollar", "96165091 United States dollar", "311312624 United States dollar", "250288523 United States dollar", "73200000 United States dollar", "758200000 United States dollar", "151100000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midnight in Paris"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Midnight in Paris\" . ?e <box_office> ?pv .  }", "answer": "151100000 United States dollar"}, {"question": "How many Illinois counties have under 95000000 inhabitants or border McLean County?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "95000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "Find", "dependencies": [], "inputs": ["McLean County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Illinois"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"95000000\"^^xsd:double ) .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"McLean County\" .  } }", "answer": "18"}, {"question": "What is the Twitter username for the organization that is the creator of Transformers (whose official website is https://transformers.hasbro.com/en-us)?", "choices": ["Syfy", "tomcruise", "HasbroNews", "morganspurlock", "Inter_id", "NaomiCampbell", "sethgreen", "doctorgraffin", "felicityhuffman", "nytimes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Transformers"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://transformers.hasbro.com/en-us"]}, {"function": "Relate", "dependencies": [1], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"Transformers\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://transformers.hasbro.com/en-us\" . ?e <Twitter_username> ?pv .  }", "answer": "HasbroNews"}, {"question": "The person who joined Wrexham A.F.C. in 1988 died on which date?", "choices": ["1950-03-24", "1855-03-29", "1954-11-28", "2008-02-13", "1993-05-30", "2003-09-28", "2014-02-10", "2010-09-08", "2015-04-12", "1957-12-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wrexham A.F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1888", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Wrexham A.F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1888 . ?e <date_of_death> ?pv .  }", "answer": "1950-03-24"}, {"question": "When did  Diane Keaton receive the BAFTA Award for Best Actress in a Leading Role?", "choices": ["2013-05-01", "1576-01-01", "1978", "1938-12-01", "2009-09-01", "2009-12-31", "2004-02-18", "1814", "1900-01-05", "1993-10-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Diane Keaton"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actress in a Leading Role"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Diane Keaton\" . ?e_2 <pred:name> \"BAFTA Award for Best Actress in a Leading Role\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1978"}, {"question": "Was Russi Taylor born after 1896?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russi Taylor"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1896", ">"]}], "sparql": "ASK { ?e <pred:name> \"Russi Taylor\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1896 ) .  }", "answer": "yes"}, {"question": "How is Cinderella, the one that originates from Japan, related to the United States of America?", "choices": ["place of publication", "country of origin", "student", "used by", "fictional universe described in", "named after", "killed by", "airline hub", "kit supplier", "main subject"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cinderella"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cinderella\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"Japan\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "When did Surrey (the one whose FIPS 10-4 (countries and regions) is UKN7) ceased to be incorporated into England (the residence of Lewis Carroll) ?", "choices": ["2016-06-03", "1911", "1961", "1950-01-01", "2013-09-04", "1992", "1994", "1957-01-01", "1917-03-01", "2016-06-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Surrey"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKN7"]}, {"function": "Find", "dependencies": [], "inputs": ["Lewis Carroll"]}, {"function": "Relate", "dependencies": [2], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["located in the administrative territorial entity", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Surrey\" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"UKN7\" . ?e_2 <pred:name> \"England\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"Lewis Carroll\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1994"}, {"question": "When did the independent city whose ISNI is 0000 0004 0391 0958 have a population of 23933?", "choices": ["250", "30000000", "1819", "1857-01-01", "1450-01-01", "2008-11-12", "2004-05-01", "2012-01-29", "2012-07-01", "1904-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0391 0958"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "23933", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0391 0958\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"23933\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "How many chemical compounds whose UNII is 27YG812J1I?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["UNII", "27YG812J1I"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <UNII> ?pv . ?pv <pred:value> \"27YG812J1I\" .  }", "answer": "1"}, {"question": "Does 50 Cent or John Denver have a greater number of children?", "choices": ["Simon Cowell", "David Byrne", "Paul Simon", "James E. Reilly", "Rahul Dev Burman", "Sylvester Stallone", "Max Fleischer", "Richard Gere", "William Henry Harrison", "John Denver"], "program": [{"function": "Find", "dependencies": [], "inputs": ["50 Cent"]}, {"function": "Find", "dependencies": [], "inputs": ["John Denver"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"50 Cent\" .  } UNION { ?e <pred:name> \"John Denver\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "John Denver"}, {"question": "For the person who is the executive producer of National Security (the one whose release region is Canada), what is the time point for his/her net worth of 110000000 U.S. dollars?", "choices": ["2012-07-04", "1754-01-01", "2014-12-31", "2006-03-01", "2014", "1979", "2010-09-15", "1994-12-20", "2011-09-21", "2009-02-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["National Security"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["net worth", "110000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:name> \"National Security\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Canada\" .  ?e <net_worth> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"110000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_worth> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014"}, {"question": "What is the connection between Hearts and Minds (the one that received 47th Academy Awards) to documentary film?", "choices": ["genre", "designed by", "fabrication method", "legal form", "political ideology", "successful candidate", "doctoral student", "sex or gender", "work location", "military conflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["47th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hearts and Minds"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["documentary film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hearts and Minds\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"47th Academy Awards\" . ?e_2 <pred:name> \"documentary film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many historical countries dissolved subsequent to 1976?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1976", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1976 ) .  }", "answer": "2"}, {"question": "What is the relationship between Cries and Whispers and National Society of Film Critics Award for Best Director?", "choices": ["nominated for", "this taxon is source of", "nutrient", "uses", "inspired by", "voice type", "professorship", "award received", "notable people with this condition", "located on terrain feature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cries and Whispers"]}, {"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Director"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cries and Whispers\" . ?e_2 <pred:name> \"National Society of Film Critics Award for Best Director\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Were the American cities with the zip code 94536\u201394539 and 94555, established before 1996?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "94536\u201394539, 94555"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1996", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"94536\u201394539, 94555\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) .  }", "answer": "yes"}, {"question": "Which university has fewer students, San Diego or University of Southern California?", "choices": ["Pennsylvania State University", "University of California, San Diego", "McMaster University", "University of Southern California", "McNeese State University", "Panjab University", "University of Manchester", "University of Tehran", "Imperial College London", "Presidency University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, San Diego"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Southern California"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of California, San Diego\" .  } UNION { ?e <pred:name> \"University of Southern California\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of California, San Diego"}, {"question": "What does Kansas City (which has Steve Buscemi as a cast member) have to do with Harry Belafonte?", "choices": ["cast member", "has immediate cause", "work location", "model item", "destination point", "manufacturer", "next lower rank", "military casualty classification", "location", "sibling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Buscemi"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kansas City"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Harry Belafonte"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kansas City\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Steve Buscemi\" . ?e_2 <pred:name> \"Harry Belafonte\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which ISNI belongs to the person who composed Giant, which clocks in at 196 minutes?", "choices": ["0000 0000 7704 0933", "0000 0004 0512 087X", "0000 0001 2173 1150", "0000 0004 0639 9286", "0000 0001 2123 6985", "0000 0001 1964 1412", "0000 0001 1475 8830", "0000 0001 1494 8191", "0000 0001 2289 9107", "0000 0001 1061 2949"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giant"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "196 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Giant\" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"196\"^^xsd:double . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1964 1412"}, {"question": "Is Sporting Kansas City the official name for Yugoslavia ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yugoslavia"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Sporting Kansas City"]}], "sparql": "ASK { ?e <pred:name> \"Yugoslavia\" . ?e <official_name> ?pv . ?pv <pred:value> \"Sporting Kansas City\" .  }", "answer": "no"}, {"question": "How many seasons does the television series whose official website is http://www.nbc.com/classic-tv/miami-vice have?", "choices": ["29", "54", "13", "32", "5", "34", "21", "36", "53", "30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nbc.com/classic-tv/miami-vice"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nbc.com/classic-tv/miami-vice\" . ?e <number_of_seasons> ?pv .  }", "answer": "5"}, {"question": "What language is linked to the official website http://www.hollywoodfl.org for the United States city whose ISNI is 0000 0004 0424 3632?", "choices": ["English", "Occitan", "Atikamekw", "Estonian", "Tahitian", "Latin script", "Spanish", "Modern Greek", "Nynorsk", "Montenegrin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0424 3632"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.hollywoodfl.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0424 3632\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.hollywoodfl.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is Fayetteville, with telephone area code 910, or Sioux City at the higher elevation relative to sea level?", "choices": ["Lansing", "Compton", "Columbus", "Greenville", "Sioux City", "Franklin", "Waukegan", "Boulder", "Fayetteville", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fayetteville"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "910"]}, {"function": "Find", "dependencies": [], "inputs": ["Sioux City"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fayetteville\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"910\" . } UNION { ?e <pred:name> \"Sioux City\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sioux City"}, {"question": "Is 0000 0001 0730 0709 the ISNI of the Parliament of Canada?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Parliament of Canada"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 0730 0709"]}], "sparql": "ASK { ?e <pred:name> \"Parliament of Canada\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0730 0709\" .  }", "answer": "yes"}, {"question": "When was the MTV VMA for Video of the Year awarded to hip hop musicians TLC?", "choices": ["1954-01-01", "2012-01-11", "1996-09-25", "1895-12-01", "1995", "2011-02-27", "2006-05-18", "1926-01-01", "2007-03-14", "1836"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Video of the Year"]}, {"function": "Find", "dependencies": [], "inputs": ["hip hop music"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["TLC"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Video of the Year\" . ?e_2 <pred:name> \"TLC\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"hip hop music\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1995"}, {"question": "For the Netherlands municipality that is the headquarter location of AZ Alkmaar, at what time point is its number of households 49778?", "choices": ["2014-01-01", "1682", "1961-01-01", "1925-12-01", "2014-10-23", "1974-03-01", "2016-08-09", "2000-05-01", "1925-06-16", "1861-12-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AZ Alkmaar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of households", "49778", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"AZ Alkmaar\" .  ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"49778\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_households> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "When did the Liverpool in Merseyside become part of Merseyside?", "choices": ["1960-02-18", "1992-01-29", "1776-09-06", "1885", "1995-11-30", "2006-04-04", "2008", "1803-07-22", "1922-12-05", "1974-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merseyside"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Merseyside"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Liverpool\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Merseyside\" . ?e_2 <pred:name> \"Merseyside\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1974-04-01"}, {"question": "Does Benin or Barbados have the lower PPP GDP?", "choices": ["South Sudan", "Benin", "Cambodia", "Samoa", "People's Republic of China", "Weimar Republic", "Kiribati", "Russian Soviet Federative Socialist Republic", "Barbados", "Switzerland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benin"]}, {"function": "Find", "dependencies": [], "inputs": ["Barbados"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["GDP (PPP)", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Benin\" .  } UNION { ?e <pred:name> \"Barbados\" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Barbados"}, {"question": "What is the official website of S.L. Benfica?", "choices": ["http://www.calvados.gouv.fr/", "http://www.nbc.com/hannibal/", "http://cosmopolisthefilm.com", "https://www.slbenfica.pt/", "http://www.fs.fed.us/", "http://www.asimovonline.com/", "http://www.revelationrecords.com", "http://www.rockvillemd.gov/", "http://www.sonicteam.com/sonicx/", "http://www.loureed.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S.L. Benfica"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"S.L. Benfica\" . ?e <official_website> ?pv .  }", "answer": "https://www.slbenfica.pt/"}, {"question": "What's the link between Everybody Loves Raymond and Doris Roberts?", "choices": ["family name", "dedicated to", "time period", "Wikidata property", "winner", "cast member", "subject has role", "main subject", "member of political party", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everybody Loves Raymond"]}, {"function": "Find", "dependencies": [], "inputs": ["Doris Roberts"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Everybody Loves Raymond\" . ?e_2 <pred:name> \"Doris Roberts\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is 57 Kassel's license plate code?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kassel"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["licence plate code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["57"]}], "sparql": "ASK { ?e <pred:name> \"Kassel\" . ?e <licence_plate_code> ?pv . ?pv <pred:value> \"57\" .  }", "answer": "no"}, {"question": "When did the US state with the subreddit NewHampshire record a population count of 491524?", "choices": ["1995-12-19", "2017-11-28", "2015-02-01", "1940", "2011-01-12", "2017-01-05", "2014-09-18", "1986-09-06", "1992-01-01", "2015-12-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "NewHampshire"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "491524", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"NewHampshire\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"491524\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1940"}, {"question": "What is the Twitter username of Chris Bauer?", "choices": ["CelticFC", "jhaletweets", "dynamokyiven", "realchrisbauer", "uidaho", "fclitex", "parmafc", "Pirates", "phoenixlp", "cityofhighpoint"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Bauer"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chris Bauer\" . ?e <Twitter_username> ?pv .  }", "answer": "realchrisbauer"}, {"question": "Which had more episodes, Game of Thrones with Aidan Gillen or WWE Superstars?", "choices": ["Robot Chicken", "Six Feet Under", "Babylon 5", "Saturday Night's Main Event", "Bleak House", "Phineas and Ferb", "American Horror Story", "Seinfeld", "WWE Superstars", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aidan Gillen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Game of Thrones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["WWE Superstars"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Game of Thrones\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Aidan Gillen\" .   } UNION { ?e <pred:name> \"WWE Superstars\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "WWE Superstars"}, {"question": "What legislative term commenced on 1847-03-04 and was in the United States of America?", "choices": ["106th United States Congress", "7th United States Congress", "109th United States Congress", "110th United States Congress", "105th United States Congress", "32nd United States Congress", "31st United States Congress", "25th United States Congress", "30th United States Congress", "35th Canadian Parliament"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1847-03-04", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <start_time> ?pv . ?pv <pred:date> \"1847-03-04\"^^xsd:date . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  }", "answer": "30th United States Congress"}, {"question": "Does the agent whose ISNI is 0000 0004 1936 8745 have less than 310000 employees?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 1936 8745"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["310000", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 1936 8745\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"310000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Who is the predecessor to Toni Braxton (the one whose ISNI is 0000 0000 7998 222X) who received the Grammy Award for Best New Artist?", "choices": ["The Wire, season 1", "Perth", "The Fast and the Furious", "2008 NCAA Men's Division I Basketball Tournament", "The Wire, season 2", "X-Men: The Last Stand", "Star Trek: First Contact", "Star Wars Episode IV: A New Hope", "Arrested Development", "Bobby Darin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toni Braxton"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7998 222X"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best New Artist"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "follows"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Toni Braxton\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7998 222X\" . ?e_2 <pred:name> \"Grammy Award for Best New Artist\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <follows> ?qpv .  }", "answer": "Arrested Development"}, {"question": "What is the smallest area among the county of Texas it is located in Texas contains the population of 16986510?", "choices": ["Travis County", "Johnson County", "McLennan County", "Galveston County", "Jefferson County", "El Paso County", "Denton County", "Dallas County", "Brazoria County", "Montgomery County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "16986510", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Texas\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"16986510\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Johnson County"}, {"question": "Who has fewer children, Kathleen Quinlan or George Washington (the one that is the participant of French and Indian War)?", "choices": ["Kathleen Quinlan", "Paul Simon", "James E. Reilly", "Simon Cowell", "Richard Gere", "David Byrne", "Max Fleischer", "Rahul Dev Burman", "George Washington", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathleen Quinlan"]}, {"function": "Find", "dependencies": [], "inputs": ["French and Indian War"]}, {"function": "Relate", "dependencies": [1], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kathleen Quinlan\" .  } UNION { ?e <pred:name> \"George Washington\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"French and Indian War\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "George Washington"}, {"question": "What is the connection between private equity to privately held company?", "choices": ["location of final assembly", "executive producer", "location of formation", "owner of", "said to be the same as", "country", "manufacturer", "godparent", "successful candidate", "winner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["private equity"]}, {"function": "Find", "dependencies": [], "inputs": ["privately held company"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"private equity\" . ?e_2 <pred:name> \"privately held company\" . ?e_1 ?p ?e_2 .  }", "answer": "said to be the same as"}, {"question": "How is Anthrax related to heavy metal?", "choices": ["connects with", "sibling", "culture", "legislative body", "depicts", "genre", "located on astronomical location", "narrative location", "commander of", "voice actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anthrax"]}, {"function": "Find", "dependencies": [], "inputs": ["heavy metal"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anthrax\" . ?e_2 <pred:name> \"heavy metal\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How many film festival editions come after the 61st Berlin International Film Festival or are the 35th edition?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["61st Berlin International Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival edition"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "35"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film festival edition"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival edition\" .  { ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"61st Berlin International Film Festival\" .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> \"35\" .  } }", "answer": "3"}, {"question": "What language is the website for the baseball team with the Instagram username rangers?", "choices": ["English", "Danish", "Romanian", "Greek", "Bavarian", "Lower Sorbian", "Japanese", "Bulgarian", "Malagasy", "Breton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "rangers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://texas.rangers.mlb.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"rangers\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://texas.rangers.mlb.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What number of theatrical genres ended after 1992?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1992", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1992 ) .  }", "answer": "0"}, {"question": "What is the ISNI of the person that was in One Life to Live?", "choices": ["0000 0001 1765 5933", "0000 0001 0921 736X", "0000 0000 8402 7606", "0000 0001 2270 6467", "0000 0001 0888 665X", "0000 0001 0784 0254", "0000 0001 1887 525X", "0000 0001 1440 635X", "0000 0001 1631 6964", "0000 0001 1691 7735"], "program": [{"function": "Find", "dependencies": [], "inputs": ["One Life to Live"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"One Life to Live\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1440 635X"}, {"question": "Which area is smaller, New Rochelle or Enid (the one whose inception time is 1893)?", "choices": ["New Haven", "Oakland", "Greenville", "Waukegan", "Columbus", "Compton", "New Rochelle", "Lansing", "Franklin", "Enid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Rochelle"]}, {"function": "Find", "dependencies": [], "inputs": ["Enid"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1893", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New Rochelle\" . } UNION { ?e <pred:name> \"Enid\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1893 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New Rochelle"}, {"question": "Which movie is shorter, Shark Tale (the one that has Michael Imperioli as a voice actor) or Rise of the Guardians?", "choices": ["WALL\u00b7E", "Aladdin", "Shark Tale", "Rise of the Guardians", "Shrek 2", "Renaissance", "Beauty and the Beast", "Peter Pan", "Lilo & Stitch", "Winnie the Pooh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Imperioli"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shark Tale"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rise of the Guardians"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shark Tale\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Michael Imperioli\" .   } UNION { ?e <pred:name> \"Rise of the Guardians\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Shark Tale"}, {"question": "Which university has more employees, Northeastern University or Furman University?", "choices": ["Furman University", "Pennsylvania State University", "Northeastern University", "McMaster University", "Presidency University", "University of Tehran", "King's College London", "McNeese State University", "Panjab University", "University of Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northeastern University"]}, {"function": "Find", "dependencies": [], "inputs": ["Furman University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Northeastern University\" .  } UNION { ?e <pred:name> \"Furman University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Northeastern University"}, {"question": "Which area is smaller, , Monroe County (the one whose population is 168436) or Beaver County?", "choices": ["Allegheny County", "Fayette County", "Bucks County", "York County", "Beaver County", "Franklin County", "Cumberland County", "Warren County", "Monroe County", "Westmoreland County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monroe County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "168436", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Beaver County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Monroe County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"168436\"^^xsd:double . } UNION { ?e <pred:name> \"Beaver County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Beaver County"}, {"question": "When was the film production company with ISNI 0000 0001 1882 0099 established?", "choices": ["1000", "1889-01-01", "1809-08-16", "1926-07-02", "1921-06-01", "1836-08-01", "1896-01-01", "1865-01-01", "1929", "1620"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1882 0099"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1882 0099\" . ?e <inception> ?pv .  }", "answer": "1929"}, {"question": "What is the start date that Taj Football Club is the name of Esteghlal F.C.?", "choices": ["2006-10-01", "1945-12-10", "1866-10-12", "1949", "1861-01-01", "1994-07-01", "1990-04-24", "1992-08-01", "1796-06-01", "1998-06-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Esteghlal F.C."]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["name", "Taj Football Club", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Esteghlal F.C.\" . ?e <name> ?pv . ?pv <pred:value> \"Taj Football Club\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1949"}, {"question": "What does 24 (whose number of episodes is 48) have to do with political thriller?", "choices": ["contains administrative territorial entity", "taxon rank", "genre", "practiced by", "tributary", "public holiday", "film distribute region", "chief executive officer", "mother", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["24"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "48", "="]}, {"function": "Find", "dependencies": [], "inputs": ["political thriller"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"24\" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"48\"^^xsd:double . ?e_2 <pred:name> \"political thriller\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "When did the city with NUTS code UKG23 record a population amounting to 249008?", "choices": ["1552-01-01", "1917-09-13", "2003-07-01", "1985-03-05", "2011-01-01", "1929-01-01", "2001-08-22", "2011-06-01", "1495-01-01", "1960-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKG23"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "249008", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKG23\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"249008\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "What is the relation between Thelma & Louise and Geena Davis?", "choices": ["occupation", "grants", "registered with", "licensed to broadcast to", "performer", "member of political party", "officeholder", "cast member", "languages spoken, written or signed", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thelma & Louise"]}, {"function": "Find", "dependencies": [], "inputs": ["Geena Davis"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thelma & Louise\" . ?e_2 <pred:name> \"Geena Davis\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Tell me the time point when Anna Camp got nominated for Screen Actors Guild award for outstanding performance by an ensemble in a drama series.", "choices": ["1907", "2016-02-09", "2004-07-01", "850", "1870-12-01", "2010", "1893-01-01", "1825-01-01", "1885-12-01", "1871-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anna Camp"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Anna Camp\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "When was Days of Heaven honored by the National Film Registry?", "choices": ["1979-01-01", "1971", "2007-01-01", "1976-03-29", "1829-01-01", "2004-09-01", "2011", "2010-10-20", "2018-06-22", "2006-05-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Days of Heaven"]}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Days of Heaven\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2007-01-01"}, {"question": "What movie was produced by Anna Faris ?", "choices": ["Lemony Snicket's A Series of Unfortunate Events", "The House Bunny", "Resident Evil", "Shanghai Knights", "Talk to Her", "Pleasantville", "A Prairie Home Companion", "Transylvania", "Jersey Girl", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anna Faris"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Anna Faris\" .   }", "answer": "The House Bunny"}, {"question": "How is sports commentator James Brown linked to the USA?", "choices": ["grants", "source of material", "family", "country of citizenship", "location of final assembly", "nominated for", "director of photography", "dialect of", "stated in", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["sports commentator"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"sports commentator\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "When did Joe Jackson born on 1993-02-03 become a member of Burnley F.C.?", "choices": ["1992-01-17", "1973-12-06", "1815-08-07", "2011-01-01", "2004", "1992-05-11", "1987-10-09", "1859-11-10", "1983-10-31", "1943"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joe Jackson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1993-02-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Burnley F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joe Jackson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1993-02-03\"^^xsd:date . ?e_2 <pred:name> \"Burnley F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Is the Wakefield released on 2016-09-02 titled Wakefield ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wakefield"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2016-09-02", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["Wakefield"]}], "sparql": "ASK { ?e <pred:name> \"Wakefield\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2016-09-02\"^^xsd:date . ?e <title> ?pv . ?pv <pred:value> \"Wakefield\" .  }", "answer": "yes"}, {"question": "Which has fewer people, Exeter (the one whose WOEID is 19792) or Chelmsford?", "choices": ["Kilkenny", "Cork", "Trieste", "Abidjan", "Kingston", "Bergen", "Chihuahua", "Santo Domingo", "Chelmsford", "Exeter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Exeter"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "19792"]}, {"function": "Find", "dependencies": [], "inputs": ["Chelmsford"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Exeter\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"19792\" . } UNION { ?e <pred:name> \"Chelmsford\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chelmsford"}, {"question": "How many public educational institutions in the United States have an establishment that is before 1954 and are the educational site of Robert E. Lee?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1954", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public educational institution of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert E. Lee"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public educational institution of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public educational institution of the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1954 ) . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Robert E. Lee\" .  }", "answer": "1"}, {"question": "Did Kathryn Bigelow receive her Academy Award subsequent to the year 2008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathryn Bigelow"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2008", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Kathryn Bigelow\" .  ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2008 ) .  }", "answer": "yes"}, {"question": "When was 64.113 years the life expectancy of a republic that has a diplomatic relation with  Georgia (the one whose demonym was \u062c\u0648\u0631\u062c\u064a\u0648\u0646 until 1998) ?", "choices": ["1818-12-01", "1839", "1975-05-01", "2002-01-01", "1919-12-01", "2006", "1955-02-01", "2017-11-12", "2018-08-15", "2013-10-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgia"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u062c\u0648\u0631\u062c\u064a\u0648\u0646"]}, {"function": "Relate", "dependencies": [1], "inputs": ["diplomatic relation", "forward"]}, {"function": "QFilterYear", "dependencies": [2], "inputs": ["start time", "1998", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["republic"]}, {"function": "QueryAttrQualifier", "dependencies": [4], "inputs": ["life expectancy", "64.113 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Georgia\" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> \"\u062c\u0648\u0631\u062c\u064a\u0648\u0646\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1998 . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"64.113\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "Which Washington County with a population over 61000 has the smallest area?", "choices": ["Whatcom County", "Clallam County", "Pierce County", "Spokane County", "Grant County", "Kitsap County", "Grays Harbor County", "Skagit County", "King County", "Clark County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "61000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"61000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kitsap County"}, {"question": "How many sports come from Styria?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Styria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sport discipline"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport discipline\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Styria\" .   }", "answer": "0"}, {"question": "What language is used for https://alamedaca.gov, the official website for a city in the US whose area equals 59,466,127 square meters ?", "choices": ["Swedish", "Canadian English", "Catalan", "Indonesian", "English", "Slavic languages", "Putonghua", "American English", "Azerbaijani", "Icelandic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "59466127 square metre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://alamedaca.gov", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square metre\" . ?pv_1 <pred:value> \"59466127\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"https://alamedaca.gov\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which is shorter in length, Antichrist or Husbands and Wives?", "choices": ["Husbands and Wives", "Rebecca", "The Towering Inferno", "The Fifth Element", "Talk to Her", "Pleasantville", "Antichrist", "Training Day", "Curse of the Golden Flower", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antichrist"]}, {"function": "Find", "dependencies": [], "inputs": ["Husbands and Wives"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Antichrist\" .  } UNION { ?e <pred:name> \"Husbands and Wives\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Antichrist"}, {"question": "What\u2019s the birthdate of the person that's the producer of The Prize?", "choices": ["1977", "1948-01-10", "1944-07-05", "1862-08-22", "1950-12-05", "1905-03-28", "1879-12-09", "1982-08-10", "1952-05-14", "1944-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Prize"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"The Prize\" .  ?e <date_of_birth> ?pv .  }", "answer": "1905-03-28"}, {"question": "What is the official name of the higher education institution that holds the archives of Thomas Mann whose Munzinger IBA is 00000000153?", "choices": ["Heracles Almelo", "Baltimore", "Portugalsk\u00e1 republika", "\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd \u0ba4\u0bc7\u0b9a\u0bbf\u0baf \u0baa\u0bb2\u0bcd\u0b95\u0bb2\u0bc8\u0b95\u0bcd\u0b95\u0bb4\u0b95\u0bae\u0bcd", "An tAontas Eorpach", "OS X", "The Master and Fellows of the College of the Great Hall of the University of Oxford", "Eidgen\u00f6ssische Technische Hochschule", "The Rolling Stones", "chambre des communes du Canada"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Mann"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000000153"]}, {"function": "Relate", "dependencies": [1], "inputs": ["archives at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <archives_at> ?e . ?e_1 <pred:name> \"Thomas Mann\" . ?e_1 <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000000153\" . ?e <official_name> ?pv .  }", "answer": "Eidgen\u00f6ssische Technische Hochschule"}, {"question": "Where was Fast Five published on 2011-04-29?", "choices": ["Bahrain", "Slovakia", "Philippines", "Indonesia", "France", "Los Angeles", "Taormina Film Fest", "El Capitan Theatre", "United States of America", "West Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Fast Five"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-04-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Fast Five\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-04-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Which University's headquarters are in Munich and in postal code 81929?", "choices": ["King's College London", "University of Michigan", "FC Bayern Munich", "Ariola", "McMaster University", "Southern Illinois University Carbondale", "Royal College of Music", "San Diego State University", "Moscow State University", "Technical University of Munich"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "81929"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Munich\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"81929\" .   }", "answer": "Technical University of Munich"}, {"question": "When was Daniel Handler nominated for the Carnegie Medal?", "choices": ["2009-12-31", "1994-05-17", "2002-11-01", "2016-01-04", "1867-12-01", "2018", "1866", "1964-04-13", "1529-01-01", "2002"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Handler"]}, {"function": "Find", "dependencies": [], "inputs": ["Carnegie Medal"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Daniel Handler\" . ?e_2 <pred:name> \"Carnegie Medal\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2002"}, {"question": "Was South America's out-of-school children number equal to 980000 on 2003-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South America"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["number of out-of-school children", "point in time", "2003-01-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["980000", "="]}], "sparql": "ASK { ?e <pred:name> \"South America\" . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"980000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2003-01-01\"^^xsd:date .  }", "answer": "no"}, {"question": "Are there not 360 episodes of the film whose start date is 1995-11-27?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1995-11-27", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["360", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1995-11-27\"^^xsd:date . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"360\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How many subscribers does the Twitter username destinyschild (for the band that included Kelly Rowland until 2006) have?", "choices": ["97", "1234679", "58605", "25028", "568300", "5067410", "43720", "156820", "7705278", "487184"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kelly Rowland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2006", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "destinyschild", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"Kelly Rowland\" . [ <pred:fact_h> ?e ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:year> 2006 . ?e <Twitter_username> ?pv . ?pv <pred:value> \"destinyschild\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "43720"}, {"question": "Which agent's British Museum person-institution is 169287 ?", "choices": ["E. W. Scripps Company", "BBC", "FC Vaslui", "United States Department of the Treasury", "Academy of Television Arts & Sciences", "Wehrmacht", "Sega", "Pfizer", "Hamburger SV", "McDonald's"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "169287"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> \"169287\" .  }", "answer": "Wehrmacht"}, {"question": "What is the relationship between Harvey Fierstein and Ridgefield?", "choices": ["operator", "professional or sports partner", "designated as terrorist by", "residence", "shares border with", "location of discovery", "hair color", "film distribute region", "history of topic", "symptom of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harvey Fierstein"]}, {"function": "Find", "dependencies": [], "inputs": ["Ridgefield"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harvey Fierstein\" . ?e_2 <pred:name> \"Ridgefield\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "Above the sea level What city has the smallest elevation that's population is not as same as 2800000000 among the independent city of Germany?", "choices": ["Napalm Records", "Stevie Nicks", "Lindsay Lohan", "Weimar", "Coburg", "Chandigarh", "Frankfurt (Oder)", "Baden-Baden", "Juliette Binoche", "Bayreuth"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2800000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"2800000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "What name of the character role of David Thewlis in Harry Potter and the Prisoner of Azkaban (the one that is designed by Stuart Craig)?", "choices": ["Stannis Baratheon", "Peter Pan", "Niles Crane", "Paris Carver", "Remus Lupin", "Stanley Goodspeed", "Harry Morgan", "Zuko", "Nigel Tufnel", "Freddy Lounds"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stuart Craig"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Prisoner of Azkaban"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Thewlis"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harry Potter and the Prisoner of Azkaban\" . ?e_1 <production_designer> ?e_3 . ?e_3 <pred:name> \"Stuart Craig\" . ?e_2 <pred:name> \"David Thewlis\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Remus Lupin"}, {"question": "What language is  http://www.spvggunterhaching.de, the official website of an association football club whose Twitter username is haching_1925?", "choices": ["Modern Greek", "American English", "Occitan", "Norwegian", "German", "Arabic", "Yaqui", "Persian", "Indonesian", "Punjab"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "haching_1925"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.spvggunterhaching.de/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"haching_1925\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.spvggunterhaching.de/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "German"}, {"question": "John Hurt is cast as what character on Doctor Who, of the Instagram handle bbcdoctorwho?", "choices": ["Deadpool", "War Doctor", "Rita Bennett", "Bigweld", "Chandler Bing", "George Shapiro", "Captain Teague", "April O'Neil", "Banzai", "Fernand Mondego"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doctor Who"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "bbcdoctorwho"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hurt"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Doctor Who\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"bbcdoctorwho\" . ?e_2 <pred:name> \"John Hurt\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "War Doctor"}, {"question": "What is the connection between Norman Foster (the one whose birth name is Norman Robert Foster) to Norman (the one whose Cologne phonetic code is 6766)?", "choices": ["place of birth", "instrument", "filmography", "given name", "mother", "item operated", "head of government", "award disciplines or subjects", "talk show guest", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norman Foster"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Norman Robert Foster"]}, {"function": "Find", "dependencies": [], "inputs": ["Norman"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["Cologne phonetics", "6766"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Norman Foster\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Norman Robert Foster\" . ?e_2 <pred:name> \"Norman\" . ?e_2 <Cologne_phonetics> ?pv_1 . ?pv_1 <pred:value> \"6766\" . ?e_1 ?p ?e_2 .  }", "answer": "given name"}, {"question": "How many official use the official website http://www.pm.gc.ca and were estabished before 1789 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.pm.gc.ca/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["official"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1789", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["official"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"official\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pm.gc.ca/\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1789 ) .  }", "answer": "0"}, {"question": "Is http://www.sachsen-coburg-gotha.de/ the official website of the social group that includes the House of Windsor?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Windsor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["social group"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.sachsen-coburg-gotha.de/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"social group\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"House of Windsor\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sachsen-coburg-gotha.de/\" .  }", "answer": "yes"}, {"question": "The Battle Creek titled Battle Creek that first aired on CBS finished airing on that network on which date?", "choices": ["2015-05-24", "2015-03-20", "1845-03-04", "1941-06-24", "2016-02-01", "2016-01-16", "1973-02-08", "1964", "2014-09-21", "1801-03-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Battle Creek"]}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["original network", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Battle Creek\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Battle Creek\" . ?e_2 <pred:name> \"CBS\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2015-05-24"}, {"question": "For the island group whose country-calling code is +1441, what is the time point of its total fertility rate of 1.74?", "choices": ["2015-12-03", "2012-01-01", "1408-01-01", "1960-12-31", "2003-09-24", "2000", "1840-12-01", "2012-06-01", "1995-08-22", "2016-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["country calling code", "+1441"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island group"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["total fertility rate", "1.74", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island group\" . ?e <country_calling_code> ?pv_1 . ?pv_1 <pred:value> \"+1441\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.74\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "What is the connection between Macquarie University to Sydney?", "choices": ["sports season of league or competition", "follows", "mountain range", "film crew member", "parent organization", "located in the administrative territorial entity", "characters", "symptoms", "screenwriter", "has quality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macquarie University"]}, {"function": "Find", "dependencies": [], "inputs": ["Sydney"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Macquarie University\" . ?e_2 <pred:name> \"Sydney\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Is the official website of the band whose ISNI is 0000 0001 1240 2443 http://www.adele.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1240 2443"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.adele.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1240 2443\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.adele.com\" .  }", "answer": "no"}, {"question": "How many saxophones used by people have an ISNI of  0000 0001 1476 3904?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1476 3904"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["saxophone"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"saxophone\" . ?e_1 <instrument> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1476 3904\" .   }", "answer": "0"}, {"question": "Which movie is longer, Raiders of the Lost Ark or War of the Worlds?", "choices": ["Curse of the Golden Flower", "Talk to Her", "War of the Worlds", "Pleasantville", "Rebecca", "The Towering Inferno", "Raiders of the Lost Ark", "The Hunchback of Notre Dame", "The Fifth Element", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raiders of the Lost Ark"]}, {"function": "Find", "dependencies": [], "inputs": ["War of the Worlds"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Raiders of the Lost Ark\" .  } UNION { ?e <pred:name> \"War of the Worlds\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "War of the Worlds"}, {"question": "What is the nickname of a person that was named Edward Thomas Hardy at birth ?", "choices": ["Air", "\u03a4\u03b1 \u03a3\u03c6\u03c5\u03c1\u03b9\u03ac", "Gaga", "The Magic Show", "\u039f\u03b9 \u039a\u03b1\u03bd\u03bf\u03bd\u03b9\u03ad\u03c1\u03b7\u03b4\u03b5\u03c2", "Mr. J", "Worm", "\u0394\u03b9\u03ba\u03ad\u03c6\u03b1\u03bb\u03bf\u03c2", "\u039f\u03b9 \u039a\u03cc\u03ba\u03ba\u03b9\u03bd\u03bf\u03b9", "Tom"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Edward Thomas Hardy"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["nickname"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Edward Thomas Hardy\" . ?e <nickname> ?pv .  }", "answer": "Tom"}, {"question": "Which has fewer employees, \u201cLa Sapienza\u201d University of Rome or University of Madras?", "choices": ["University of Michigan", "Birkbeck, University of London", "University of Melbourne", "McMaster University", "Panjab University", "San Diego State University", "University of Madras", "\u201cLa Sapienza\u201d University of Rome", "University of Queensland", "University of Hamburg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u201cLa Sapienza\u201d University of Rome"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Madras"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"\u201cLa Sapienza\u201d University of Rome\" .  } UNION { ?e <pred:name> \"University of Madras\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Madras"}, {"question": "What is the connection between Gulliver's Travels (the one whose publication date is 2010-12-25) to Billy Connolly?", "choices": ["cast member", "ancestral home", "contains settlement", "filming location", "distributor", "native language", "parent organization", "author", "taxon rank", "director"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gulliver's Travels"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2010-12-25", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Billy Connolly"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gulliver's Travels\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2010-12-25\"^^xsd:date . ?e_2 <pred:name> \"Billy Connolly\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "For which work was Gabriel Yared awarded the Broadcast Film Critics Association Award for Best Composer?", "choices": ["The Dirty Picture", "Behind the Candelabra", "Romeo and Juliet", "Bridesmaids", "The Story of Qiu Ju", "The Merry Monahans", "The Prisoner of Zenda", "The Talented Mr. Ripley", "Far from the Madding Crowd", "That's My Boy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Composer"]}, {"function": "Find", "dependencies": [], "inputs": ["Gabriel Yared"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Composer\" . ?e_2 <pred:name> \"Gabriel Yared\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Talented Mr. Ripley"}, {"question": "Did the city corresponding to RIA Novosti reference 41069870 have a population of 100000000 on 2005-12-31?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["RIA Novosti reference", "41069870"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2005-12-31"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["100000000", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <RIA_Novosti_reference> ?pv_1 . ?pv_1 <pred:value> \"41069870\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"100000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2005-12-31\"^^xsd:date .  }", "answer": "no"}, {"question": "I want to know which criterion is used For March, its name being marca.", "choices": ["with parental consent", "genitive case", "family name", "independence recognized by another country", "circa", "Criminal Code of Indonesia", "estimation process", "declaration of independence", "Grito de Dolores", "with court consent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["March"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["name", "marca", "criterion used"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"March\" . ?e <name> ?pv . ?pv <pred:value> \"marca\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv ] <criterion_used> ?qpv .  }", "answer": "genitive case"}, {"question": "Which movie's official website is http://www.Super8-Movie.com?", "choices": ["Rebecca", "Talk to Her", "A Prairie Home Companion", "Super 8", "Dead Man", "Pleasantville", "Rang De Basanti", "Men in Black 3", "Scream 2", "Elite Squad: The Enemy Within"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.Super8-Movie.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.Super8-Movie.com\" .  }", "answer": "Super 8"}, {"question": "Is the official website of Bologna F.C.1909, https://www.bolognafc.it/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bologna F.C. 1909"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.bolognafc.it/"]}], "sparql": "ASK { ?e <pred:name> \"Bologna F.C. 1909\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.bolognafc.it/\" .  }", "answer": "yes"}, {"question": "What is the connection between AC Sparta Prague to association football?", "choices": ["twinned administrative body", "winner", "home venue", "language used", "head of government", "quotes work", "candidacy in election", "ancestral home", "honorific prefix", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AC Sparta Prague"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"AC Sparta Prague\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "When did Vodafone adopt the slogan, \"The future is exciting. Ready?\"", "choices": ["2014", "1985", "1954-12-30", "2004-05-27", "2017-10-06", "2013-07-07", "-45", "1981", "1844", "1973"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vodafone"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["motto text", "The future is exciting. Ready?", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Vodafone\" . ?e <motto_text> ?pv . ?pv <pred:value> \"The future is exciting. Ready?\" . [ <pred:fact_h> ?e ; <pred:fact_r> <motto_text> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2017-10-06"}, {"question": "Which movie is longer, Miracle at St. Anna or Thor (the one that is shot in Los Angeles)?", "choices": ["Miracle at St. Anna", "A Prairie Home Companion", "Talk to Her", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miracle at St. Anna"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [1], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thor"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Miracle at St. Anna\" .  } UNION { ?e <pred:name> \"Thor\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Miracle at St. Anna"}, {"question": "How many republics have under 72000000000 euros nominal GDP or are an Inside Deep Throat distribution location?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "72000000000 euro", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "Find", "dependencies": [], "inputs": ["Inside Deep Throat"]}, {"function": "Relate", "dependencies": [3], "inputs": ["film distribute region", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["republic"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"euro\" . ?pv <pred:value> ?v . FILTER ( ?v < \"72000000000\"^^xsd:double ) .  } UNION { ?e_1 <film_distribute_region> ?e . ?e_1 <pred:name> \"Inside Deep Throat\" .  } }", "answer": "2"}, {"question": "for the person who died on 1987-05-31, was he or she born not in 1968?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1987-05-31", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1968", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1987-05-31\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1968 ) .  }", "answer": "yes"}, {"question": "For which project did Ernest Borgnine receive a nomination for a Best Actor Oscar?", "choices": ["A River Runs Through It", "Alice Doesn't Live Here Anymore", "Wilson", "The Pawnbroker", "A Study in Emerald", "Merry Christmas, Mr. Lawrence", "Les Mis\u00e9rables", "All the President's Men", "Tinker Tailor Soldier Spy", "Marty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ernest Borgnine"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ernest Borgnine\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Marty"}, {"question": "What industry is part of the North African Campaign?", "choices": ["Western Desert Campaign", "arms industry", "Orange", "Battle of Britain", "Microsoft Windows", "Second Intifada", "fast food", "Today", "Napoleonic Wars", "Battle of France"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North African Campaign"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"North African Campaign\" .   }", "answer": "Western Desert Campaign"}, {"question": "Of the counties of Maine bordering Washington County (that borders Penobscot county), which one covers the largest area ?", "choices": ["Penobscot County", "York County", "Somerset County", "Washington County", "Oxford County", "Kennebec County", "Cumberland County", "Franklin County", "Hancock County", "Aroostook County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Penobscot County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Maine"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Washington County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Penobscot County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aroostook County"}, {"question": "Which one is lighter, Lee Grant (the one that is a member of Derby County F.C.) or Stephen Graham (the one whose mass is 98 kilograms) ?", "choices": ["David Byrne", "Paul Simon", "James E. Reilly", "Max Fleischer", "Lee Grant", "William Henry Harrison", "Sylvester Stallone", "Rahul Dev Burman", "Stephen Graham", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Derby County F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lee Grant"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Graham"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["mass", "98 kilogram", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lee Grant\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Derby County F.C.\" . } UNION { ?e <pred:name> \"Stephen Graham\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"kilogram\" . ?pv_1 <pred:value> \"98\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lee Grant"}, {"question": "Which is shorter, World Trade Center or Android originally in English?", "choices": ["Android", "World Trade Center", "Training Day", "Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "Pleasantville", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World Trade Center"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Android"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"World Trade Center\" .  } UNION { ?e <pred:name> \"Android\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Android"}, {"question": "How is Corbin Bernsen linked to UCLA?", "choices": ["notable people with this condition", "educated at", "facet of", "does not have part", "sibling", "geography of topic", "sport", "broadcast by", "military rank", "given name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Corbin Bernsen"]}, {"function": "Find", "dependencies": [], "inputs": ["University of California, Los Angeles"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Corbin Bernsen\" . ?e_2 <pred:name> \"University of California, Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "How many superheroes are at home on Earth (the one whose population is 3,021,475,000) or partner Batham (the one that forms the basis for Batman: Gotham Knight) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3021475000", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["home world", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["superhero"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman: Gotham Knight"]}, {"function": "Relate", "dependencies": [4], "inputs": ["derivative work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "Relate", "dependencies": [7], "inputs": ["partner", "backward"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["superhero"]}, {"function": "Or", "dependencies": [3, 9], "inputs": []}, {"function": "Count", "dependencies": [10], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"superhero\" .  { ?e <home_world> ?e_1 . ?e_1 <pred:name> \"Earth\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3021475000\"^^xsd:double .  } UNION { ?e <partner> ?e_1 . ?e_1 <pred:name> \"Batman\" . ?e_1 <derivative_work> ?e_2 . ?e_2 <pred:name> \"Batman: Gotham Knight\" .  } }", "answer": "3"}, {"question": "Is Russell Brand or Salma Hayek shorter?", "choices": ["Paul Simon", "Russell Brand", "Sylvester Stallone", "James E. Reilly", "Max Fleischer", "William Henry Harrison", "Rahul Dev Burman", "Simon Cowell", "David Byrne", "Salma Hayek"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russell Brand"]}, {"function": "Find", "dependencies": [], "inputs": ["Salma Hayek"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Russell Brand\" .  } UNION { ?e <pred:name> \"Salma Hayek\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salma Hayek"}, {"question": "Is the date of birth of the person with ISNI 0000 0000 7246 2061 before 1968 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7246 2061"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1968", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7246 2061\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1968 ) .  }", "answer": "no"}, {"question": "Who is a member of Tranmere Rovers F.C. and Wigan Athletic F.C.?", "choices": ["Richard Gere", "William Henry Harrison", "Sylvester Stallone", "Max Fleischer", "Delroy Facey", "Roy Carroll", "John Williams", "Peter Jackson", "Michael O'Neill", "Jason Roberts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tranmere Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Wigan Athletic F.C."]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Tranmere Rovers F.C.\" .  ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Wigan Athletic F.C.\" .  }", "answer": "John Williams"}, {"question": "What relation exists between Ally Sheedy and the National Society of Film Critics Best Actress Award?", "choices": ["winner", "symptom of", "employer", "instrument", "programming paradigm", "instrumentation", "award disciplines or subjects", "famous people", "operating system", "original language of film or TV show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Ally Sheedy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"National Society of Film Critics Award for Best Actress\" . ?e_2 <pred:name> \"Ally Sheedy\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "In what U.S. city did the person who won the Academy Award for Best Supporting Actor for his work in The Last Picture Show die?", "choices": ["Mesa", "Malibu", "Chico", "Boston", "Inglewood", "Oxnard", "Huntsville", "Los Angeles", "Greensboro", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "The Last Picture Show"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Last Picture Show\" .   }", "answer": "Mesa"}, {"question": "What language is associated with the official website https://www.xbox.com/it-it/xbox-game-studios for the organization whose ISNI is 0000 0000 9016 2038?", "choices": ["Bashkir", "Nynorsk", "Modern Greek", "Macedonian", "Maltese", "Franco-Proven\u00e7al", "Hebrew", "Italian", "Traditional Chinese", "Ewe"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 9016 2038"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.xbox.com/it-it/xbox-game-studios", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 9016 2038\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.xbox.com/it-it/xbox-game-studios\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Italian"}, {"question": "What film festival presented the award when Mira Nair won in 2001?", "choices": ["Sundance Film Festival", "Venice Film Festival", "A Christmas Carol", "Toronto International Film Festival", "Berlin International Film Festival", "Michael Lerner", "Cannes Film Festival", "Breda", "Sex and the City 2", "Karen Black"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mira Nair"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2001", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["award"]}, {"function": "Relate", "dependencies": [3], "inputs": ["conferred by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film festival"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival\" . ?e_1 <conferred_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award\" . ?e_1 <winner> ?e_2 . ?e_2 <pred:name> \"Mira Nair\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv . ?qpv <pred:year> 2001 .   }", "answer": "Venice Film Festival"}, {"question": "Is Danville (300 meters above sea level) or Tuscaloosa lower in elevation above sea level?", "choices": ["New Haven", "Lansing", "Waukegan", "Oakland", "Franklin", "Tuscaloosa", "Boulder", "Danville", "Greenville", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danville"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "300 metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Tuscaloosa"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Danville\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"300\"^^xsd:double . } UNION { ?e <pred:name> \"Tuscaloosa\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tuscaloosa"}, {"question": "How many high schools have a student enrollment above 380 or below 540?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "380", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["high school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["students count", "540", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["high school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"high school\" .  { ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"380\"^^xsd:double ) .  } UNION { ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"540\"^^xsd:double ) .  } }", "answer": "2"}, {"question": "By what method was Cache County's population of 115729 ascertained?", "choices": ["United Kingdom Census 2011", "Yemen General Census of Population, Housing and Establishments 2004", "de facto", "administrative division valid at the moment of publication", "United Kingdom Census 1981", "estimation process", "administrative division valid at the time point of history to which the data relates", "UIS estimation", "United States Census", "national estimation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cache County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "115729", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cache County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"115729\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Is http://indianarmy.nic.in/ the official website of the army whose number of employees is greater than 690 (the involved part of this statement is active duty)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["employees", "690", ">"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "active duty"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["army"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://indianarmy.nic.in/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"army\" . ?e <employees> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"690\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv . ?qpv <pred:value> \"active duty\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://indianarmy.nic.in/\" .  }", "answer": "yes"}, {"question": "What is the administrative territorial entity with FIPS 6-4 (US counties) 09005 ?", "choices": ["Litchfield County", "Washoe County", "Orange County", "Limburg", "Weld County", "Kent County", "Fulton County", "Douglas County", "Aachen", "New London County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "09005"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"09005\" .  }", "answer": "Litchfield County"}, {"question": "Heat, with Danny Trejo as a cast member, has what connection to Amy Brenneman?", "choices": ["operator", "instrumentation", "source of material", "place of birth", "dialect of", "position played on team / speciality", "place of death", "next higher rank", "official language", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danny Trejo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heat"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Amy Brenneman"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Heat\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Danny Trejo\" . ?e_2 <pred:name> \"Amy Brenneman\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many follow the Memphis Grizzlies on its Twitter account as memgrizz?", "choices": ["51815", "752118", "344361", "15868", "23318", "169131", "938319", "716199", "113499", "8"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Memphis Grizzlies"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "memgrizz", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Memphis Grizzlies\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"memgrizz\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "938319"}, {"question": "What is the subreddit of Ratatouille (whose composer is Michael Giacchino)?", "choices": ["Suzhou", "Sardegna", "disney", "Ratatouille", "italodisco", "srilanka", "udub", "Saskatchewan", "sydney", "drumandbass"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Giacchino"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ratatouille"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ratatouille\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Michael Giacchino\" .  ?e <subreddit> ?pv .  }", "answer": "Ratatouille"}, {"question": "How is Stephen Moyer related to the U.S. production of Priest?", "choices": ["located in time zone", "subsidiary", "art director", "basin country", "stated in", "doctoral student", "cast member", "dedicated to", "manufacturer", "heritage designation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Priest"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Moyer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Priest\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Stephen Moyer\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which state of the United States whose establishment date is after 1837 has the lowest percent of water area?", "choices": ["New Mexico", "Wisconsin", "Montana", "Arizona", "Nevada", "Utah", "Washington", "West Virginia", "Iowa", "Minnesota"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1837", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["water as percent of area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1837 ) . ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New Mexico"}, {"question": "Who is the founder of the record label corresponding to the English-language website www.deathrowmusic.com?", "choices": ["Dr. Dre", "Jude Law", "Max Fleischer", "Frank Sinatra", "Steven Spielberg", "William Henry Harrison", "Sylvester Stallone", "Michael Brecker", "Madonna", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.deathrowmusic.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["record label"]}, {"function": "Relate", "dependencies": [3], "inputs": ["found", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <found> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"record label\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.deathrowmusic.com/\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "Dr. Dre"}, {"question": "How many London areas are designated by TOID numeric code 4000000074580402 or OS grid reference TQ255755?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074580402"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["area of London"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OS grid reference", "TQ255755"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["area of London"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" .  { ?e <TOID> ?pv . ?pv <pred:value> \"4000000074580402\" .  } UNION { ?e <OS_grid_reference> ?pv . ?pv <pred:value> \"TQ255755\" .  } }", "answer": "2"}, {"question": "Which language is associated with http://www.townofpalmbeach.com, the official website of the United States town that is the death place of Harold Rosson?", "choices": ["Occitan", "Romanian", "Latvian", "Belarusian", "Serbian", "Icelandic", "J\u00e8rriais", "English", "French", "Standard Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harold Rosson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.townofpalmbeach.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Harold Rosson\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.townofpalmbeach.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between Japan to Singapore (the one whose ISO 3166-1 alpha-2 code is SG)?", "choices": ["librettist", "stated in", "medical condition", "office contested", "model item", "diplomatic relation", "political ideology", "filming location", "manner of death", "creator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Find", "dependencies": [], "inputs": ["Singapore"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISO 3166-1 alpha-2 code", "SG"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Japan\" . ?e_2 <pred:name> \"Singapore\" . ?e_2 <ISO_3166-1_alpha-2_code> ?pv . ?pv <pred:value> \"SG\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Does David Guetta or Brandy Norwood have more children?", "choices": ["William Henry Harrison", "David Byrne", "Paul Simon", "Sylvester Stallone", "David Guetta", "Richard Gere", "Max Fleischer", "Brandy Norwood", "James E. Reilly", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Guetta"]}, {"function": "Find", "dependencies": [], "inputs": ["Brandy Norwood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Guetta\" .  } UNION { ?e <pred:name> \"Brandy Norwood\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "David Guetta"}, {"question": "Does The Purple Rose of Cairo or Ted have the longer running time?", "choices": ["The Hunchback of Notre Dame", "A Prairie Home Companion", "The Fifth Element", "Curse of the Golden Flower", "Training Day", "Ted", "Rebecca", "Pleasantville", "Talk to Her", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Purple Rose of Cairo"]}, {"function": "Find", "dependencies": [], "inputs": ["Ted"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Purple Rose of Cairo\" .  } UNION { ?e <pred:name> \"Ted\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ted"}, {"question": "What is the relationship between Billie Joe Armstrong and alternative rock?", "choices": ["designed to carry", "genre", "winner", "publisher", "place of burial", "designated as terrorist by", "killed by", "has parts of the class", "commander of", "Wikidata property"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billie Joe Armstrong"]}, {"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billie Joe Armstrong\" . ?e_2 <pred:name> \"alternative rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the title of the film that received an award at the 63rd Primetime Emmy Awards?", "choices": ["Nick and Norah's Infinite Playlist", "Silent Hill", "Tough Guys Don't Dance", "The Lost Weekend", "\u0412\u043e\u0439\u043d\u0430 \u0438 \u043c\u0438\u0440\u044a", "Gettysburg", "Die lustige Witwe", "Fight Club", "The Mask", "The Cleveland Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["63rd Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"63rd Primetime Emmy Awards\" .  ?e <title> ?pv .  }", "answer": "Gettysburg"}, {"question": "When did the electorate, related to a big city, with the population equal to 12,612 from 1918, reach 399,726 ?", "choices": ["2017-04-20", "2001-12-31", "2006-06-28", "1897-01-28", "2013-01-11", "1837-01-01", "1823", "2001-04-11", "2011-12-01", "1993-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "12612", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1918", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["electorate", "399726", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"12612\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 1918 . ?e <electorate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"399726\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <electorate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-01-11"}, {"question": "Is the Libris-URI of a spouse of William Shakespeare (the one whose Google Doodle is celebrating-william-shakespeare), married to him until 23th April 1616, equal to sq468n7b43xn9sl ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Shakespeare"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Google Doodle", "celebrating-william-shakespeare"]}, {"function": "Relate", "dependencies": [1], "inputs": ["spouse", "forward"]}, {"function": "QFilterDate", "dependencies": [2], "inputs": ["end time", "1616-04-23", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [4], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [5], "inputs": ["sq468n7b43xn9sl"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"William Shakespeare\" . ?e_1 <Google_Doodle> ?pv_1 . ?pv_1 <pred:value> \"celebrating-william-shakespeare\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> \"1616-04-23\"^^xsd:date . ?e <Libris-URI> ?pv . ?pv <pred:value> \"sq468n7b43xn9sl\" .  }", "answer": "no"}, {"question": "Was The Ideas of March published in Germany before 1936 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ides of March"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1936", "<"]}], "sparql": "ASK { ?e <pred:name> \"The Ides of March\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1936 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "no"}, {"question": "Which person is Luis Miguel's (the one that received Latin Grammy Award for Best Male Pop Vocal Album) partner?", "choices": ["David Byrne", "Salma Hayek", "Carla Gugino", "Rahul Dev Burman", "John Wood", "Richard Gere", "Max Fleischer", "Sylvester Stallone", "Zhang Yimou", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin Grammy Award for Best Male Pop Vocal Album"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Luis Miguel"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["partner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <partner> ?e_1 . ?e_1 <pred:name> \"Luis Miguel\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Latin Grammy Award for Best Male Pop Vocal Album\" .   }", "answer": "Salma Hayek"}, {"question": "How are Nazi Germany and Poland related?", "choices": ["head of government", "office held by head of the organisation", "conflict", "movement", "original film format", "military conflicts", "film regional debut venue", "currency", "game mode", "godparent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nazi Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Poland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nazi Germany\" . ?e_2 <pred:name> \"Poland\" . ?e_1 ?p ?e_2 .  }", "answer": "military conflicts"}, {"question": "What is the connection between Chichester (the one whose official website is http://www.chichester.gov.uk/) to Chichester (the one whose population is 30925)?", "choices": ["has immediate cause", "father", "enclave within", "official religion", "location of discovery", "feast day", "languages spoken, written or signed", "military conflicts", "depicts", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chichester"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.chichester.gov.uk/"]}, {"function": "Find", "dependencies": [], "inputs": ["Chichester"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "30925", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chichester\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.chichester.gov.uk/\" . ?e_2 <pred:name> \"Chichester\" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"30925\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "capital"}, {"question": "What is the relationship between Lars Ulrich and Denmark?", "choices": ["lyrics by", "penalty", "country of citizenship", "cause of death", "affiliation", "update method", "replaces", "lifestyle", "next higher rank", "voice actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lars Ulrich"]}, {"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lars Ulrich\" . ?e_2 <pred:name> \"Denmark\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which higher education institution's street address is 1250 Bellflower Blvd, Long Beach, CA, 90840-0115?", "choices": ["Western Illinois University", "Howard University", "California State University, Long Beach", "Simon Fraser University", "Transylvania University", "University of Manchester", "Furman University", "Syracuse University", "Pennsylvania State University", "McNeese State University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "1250 Bellflower Blvd, Long Beach, CA, 90840-0115"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_at_street_address> ?pv . ?pv <pred:value> \"1250 Bellflower Blvd, Long Beach, CA, 90840-0115\" .  }", "answer": "California State University, Long Beach"}, {"question": "What number of fake professions involve Alexander Summers or the native language name of Rogue?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Alexander Summers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "Rogue"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional profession"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" .  { ?e <birth_name> ?pv . ?pv <pred:value> \"Alexander Summers\" .  } UNION { ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Rogue\" .  } }", "answer": "2"}, {"question": "What is the connection between Ethiopia to African Development Bank?", "choices": ["member of", "foundational text", "general manager", "seed team", "illustrator", "military conflicts", "position held", "award received", "subsidiary", "use"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ethiopia"]}, {"function": "Find", "dependencies": [], "inputs": ["African Development Bank"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ethiopia\" . ?e_2 <pred:name> \"African Development Bank\" . ?e_1 ?p ?e_2 .  }", "answer": "member of"}, {"question": "What is the relationship between the 1995 Major League Baseball draft and Rice University?", "choices": ["territory overlaps", "language of work or name", "winner", "designed to carry", "occupation", "hair color", "owner of", "practiced by", "architect", "draft pick from school"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1995 Major League Baseball draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Rice University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1995 Major League Baseball draft\" . ?e_2 <pred:name> \"Rice University\" . ?e_1 ?p ?e_2 .  }", "answer": "draft pick from school"}, {"question": "What city is located in Manchester that is an administrative division of Greater Manchester?", "choices": ["Mysore", "Manchester City F.C.", "Buenos Aires", "Kingston", "Manchester Metropolitan University", "Trieste", "Kilkenny", "University of Manchester", "Cork", "Manchester"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greater Manchester"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manchester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Manchester\" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Greater Manchester\" .   }", "answer": "Manchester"}, {"question": "Regarding the person who is named Patrick Bruce Metheny in their native language tell me his or her Twitter username.", "choices": ["astralwerks", "OrientExpress", "Inter_ar", "CityLuxembourg", "HearstCorp", "CairoUniversity", "randytravis", "TeamRussia", "patmetheny", "StevenWright"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Patrick Bruce Metheny"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Patrick Bruce Metheny\" . ?e <Twitter_username> ?pv .  }", "answer": "patmetheny"}, {"question": "When was founded the city of the United States that is the capital of Champaign County (the one that contains Urbana)?", "choices": ["1916-05-06", "1330", "1833", "1991-02-20", "1634", "1873-01-01", "1660-11-01", "1956-11-01", "1912-03-22", "1836-06-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Urbana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Champaign County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Champaign County\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Urbana\" .  ?e <inception> ?pv .  }", "answer": "1833"}, {"question": "Regarding the person who is educated at University of Stratchclyde, does he or she have an official website exactly http://abc.go.com/primetime/pushingdaisies/index ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Strathclyde"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://abc.go.com/primetime/pushingdaisies/index"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"University of Strathclyde\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://abc.go.com/primetime/pushingdaisies/index\" .  }", "answer": "no"}, {"question": "Who is the person with CANTIC-ID a11654314 and that died in Los Angeles?", "choices": ["Lana Turner", "William Henry Harrison", "Max Fleischer", "Richard Gere", "Orson Welles", "Ricky Jay", "Maurice Jarre", "Sylvester Stallone", "Franz Waxman", "Ida Lupino"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11654314"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11654314\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .  }", "answer": "Lana Turner"}, {"question": "Soccer's Michael Moore belonged to Ayr United F.C. until what date?", "choices": ["2005-12-26", "1877-03-04", "1961", "1799-07-26", "2008-01-01", "2008-07-19", "1803-03-04", "1992-04-30", "1797-10-11", "2017-09-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Moore"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ayr United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Moore\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"Ayr United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2008-01-01"}, {"question": "Tell me the film with the exploitation visa number 14514 (this statement's start time is 1953-08-25).", "choices": ["Curse of the Golden Flower", "Rope", "The Hunchback of Notre Dame", "The Fifth Element", "A Prairie Home Companion", "Talk to Her", "The Towering Inferno", "Training Day", "Rebecca", "Julius Caesar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "14514"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1953-08-25", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"14514\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> \"1953-08-25\"^^xsd:date .  }", "answer": "Julius Caesar"}, {"question": "How does Alpine skiing relate to the Alps?", "choices": ["member of political party", "public holiday", "office contested", "named after", "family name", "field of this occupation", "designed by", "original film format", "organizer", "replaced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alpine skiing"]}, {"function": "Find", "dependencies": [], "inputs": ["Alps"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"alpine skiing\" . ?e_2 <pred:name> \"Alps\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "What is the connection between Harrison Ford (the one whose ISNI is 0000 0000 8045 6817) to Harrison Ford (the one that is a cast member of Indiana Jones and the Kingdom of the Crystal Skull)?", "choices": ["child astronomical body", "military casualty classification", "manufacturer", "family name", "presenter", "religious order", "cites", "military rank", "partner", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harrison Ford"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8045 6817"]}, {"function": "Find", "dependencies": [], "inputs": ["Indiana Jones and the Kingdom of the Crystal Skull"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harrison Ford"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harrison Ford\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8045 6817\" . ?e_2 <pred:name> \"Harrison Ford\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Indiana Jones and the Kingdom of the Crystal Skull\" . ?e_1 ?p ?e_2 .  }", "answer": "different from"}, {"question": "Which made less at the box office, The Mummy, with Jerry Goldsmith in the cast, or You Don't Mess with the Zohan?", "choices": ["The Fifth Element", "The Hunchback of Notre Dame", "Training Day", "Rebecca", "The Mummy", "Talk to Her", "You Don't Mess with the Zohan", "Pleasantville", "The Towering Inferno", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Mummy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["You Don't Mess with the Zohan"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Mummy\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Jerry Goldsmith\" .   } UNION { ?e <pred:name> \"You Don't Mess with the Zohan\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "You Don't Mess with the Zohan"}, {"question": "How is the John Wood who died on 1971-09-09 related to the United Kingdom?", "choices": ["country of citizenship", "territory claimed by", "significant event", "found", "takes place in fictional universe", "license", "official residence", "commander of", "terminus", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Wood"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1971-09-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Wood\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1971-09-09\"^^xsd:date . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which one, Slumdog Millionaire or Chicago (the one that was nominated for Academy Award for Best Film Editing), has less cost?", "choices": ["Training Day", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Slumdog Millionaire", "The Fifth Element", "A Prairie Home Companion", "Chicago", "Rebecca", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Slumdog Millionaire"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Slumdog Millionaire\" .  } UNION { ?e <pred:name> \"Chicago\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Film Editing\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Slumdog Millionaire"}, {"question": "Nicholas Tse is cast in which visual artwork?", "choices": ["The Unbearable Lightness of Being", "All About Eve", "Rebecca", "Pleasantville", "The Virgin Suicides", "A Prairie Home Companion", "Grindhouse", "The Count of Monte Cristo", "Bodyguards and Assassins", "The League of Extraordinary Gentlemen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicholas Tse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Nicholas Tse\" .   }", "answer": "Bodyguards and Assassins"}, {"question": "What is Toshiyuki Morikawa's name in kana, which is \u68ee\u5ddd \u667a\u4e4b in native language?", "choices": ["\u3080\u3089\u304b\u307f \u306f\u308b\u304d", "\u304a\u304a\u3055\u304b\u3057", "\u3060\u3044\u306b\u3063\u307d\u3093\u3066\u3044\u3053\u304f\u308a\u304f\u3050\u3093", "\u3082\u308a\u304b\u308f \u3068\u3057\u3086\u304d", "\u30cb\u30f3\u30c6\u30f3\u30c9\u30fc\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30f3\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0", "\u30d9\u30f3\u30b8\u30fc\u30fb\u30de\u30c3\u30c7\u30f3", "\u304b\u306a\u304c\u308f\u3051\u3093", "\u307f\u3064\u3044\u3057 \u3053\u3068\u306e", "\u30c1\u30e3\u30f3\u30fb\u30a4\u30fc\u30e2\u30a6", "\u304b\u307f\u3084 \u3042\u304d\u3089"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toshiyuki Morikawa"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["name in native language", "\u68ee\u5ddd \u667a\u4e4b", "name in kana"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Toshiyuki Morikawa\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u68ee\u5ddd \u667a\u4e4b\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name_in_native_language> ; <pred:fact_t> ?pv ] <name_in_kana> ?qpv .  }", "answer": "\u3082\u308a\u304b\u308f \u3068\u3057\u3086\u304d"}, {"question": "What is the relationship between Star Trek: The Animated Series and Star Trek: The Next Generation (the one that was nominated for Primetime Emmy Award for Outstanding Drama Series)?", "choices": ["work location", "candidate", "followed by", "main food source", "chief executive officer", "place of death", "employer", "godparent", "partner", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Animated Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Drama Series"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Next Generation"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Trek: The Animated Series\" . ?e_2 <pred:name> \"Star Trek: The Next Generation\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Primetime Emmy Award for Outstanding Drama Series\" . ?e_1 ?p ?e_2 .  }", "answer": "followed by"}, {"question": "Does the individual, who is a notable person with an esophageal-cancer condition, have a native-language name of George Bernard Shaw?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["esophageal cancer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable people with this condition", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["George Bernard Shaw"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <notable_people_with_this_condition> ?e . ?e_1 <pred:name> \"esophageal cancer\" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> \"George Bernard Shaw\" .  }", "answer": "no"}, {"question": "What is the connection between Morocco (the one that received National Film Registry) to Travis Banton?", "choices": ["dialect of", "editor", "costume designer", "partner", "start point", "legal form", "found", "material used", "film release region", "main subject"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Morocco"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Travis Banton"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Morocco\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"National Film Registry\" . ?e_2 <pred:name> \"Travis Banton\" . ?e_1 ?p ?e_2 .  }", "answer": "costume designer"}, {"question": "What is the draft of Royal Navy run-Canberra?", "choices": ["200000000 United States dollar", "\u041a\u041e\u0420", "18", "9.97 metre", "2012-10-24", "Shigeru_Miyamoto", "1547-10-09", "pbr125", "10021", "124534767"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Royal Navy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["operator", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Canberra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["draft"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Canberra\" . ?e <operator> ?e_1 . ?e_1 <pred:name> \"Royal Navy\" .  ?e <draft> ?pv .  }", "answer": "9.97 metre"}, {"question": "Which movie is longer, Dark Shadows (the one whose producer is Graham King) or Tarzan (the one whose distributor is Constantin Film)?", "choices": ["Rebecca", "Curse of the Golden Flower", "Talk to Her", "The Hunchback of Notre Dame", "Training Day", "Dark Shadows", "The Towering Inferno", "The Fifth Element", "A Prairie Home Companion", "Tarzan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Graham King"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dark Shadows"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Constantin Film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dark Shadows\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Graham King\" .   } UNION { ?e <pred:name> \"Tarzan\" . ?e <distributor> ?e_2 . ?e_2 <pred:name> \"Constantin Film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dark Shadows"}, {"question": "What's the relationship between Red Hot Chili Peppers and Flea?", "choices": ["destination point", "honorific prefix", "mountain range", "platform", "native language", "newspaper format", "capital", "has part", "game mode", "derivative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Hot Chili Peppers"]}, {"function": "Find", "dependencies": [], "inputs": ["Flea"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Red Hot Chili Peppers\" . ?e_2 <pred:name> \"Flea\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "What number of constitutional monarchies have the total of children out of school at less than 960 or have a population which doesn't equal 97000000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of out-of-school children", "960", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["constitutional monarchy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "97000000", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["constitutional monarchy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" .  { ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"960\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"97000000\"^^xsd:double ) .  } }", "answer": "4"}, {"question": "What is Theofanis Gekas's start time as a member of VfL Bochum?", "choices": ["2013-01-21", "1989-10-06", "1968-09-24", "2006-01-01", "2006-07-31", "2009-06-22", "1889-04-20", "1966-01-01", "1996-09-17", "1995-11-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Theofanis Gekas"]}, {"function": "Find", "dependencies": [], "inputs": ["VfL Bochum"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Theofanis Gekas\" . ?e_2 <pred:name> \"VfL Bochum\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "What is John Logan's (military rank major) association  to judge?", "choices": ["student of", "hair color", "professional or sports partner", "director", "had as last meal", "edition or translation of", "occupation", "chairperson", "conflict", "lowest point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["major"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military rank", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Logan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["judge"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Logan\" . ?e_1 <military_rank> ?e_3 . ?e_3 <pred:name> \"major\" . ?e_2 <pred:name> \"judge\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which show has more episodes, Somerset (the one that origins from United States of America) or I Spy (the one whose distributor is Republic Pictures)?", "choices": ["Phineas and Ferb", "I Spy", "Seinfeld", "Dancing with the Stars", "Bleak House", "Six Feet Under", "American Horror Story", "Somerset", "Game of Thrones", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Republic Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["I Spy"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Somerset\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"I Spy\" . ?e <distributor> ?e_2 . ?e_2 <pred:name> \"Republic Pictures\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Somerset"}, {"question": "What is the number of national association football teams that have a ranking other than 0", "choices": ["101", "102", "103", "104", "105", "106", "107", "108", "109", "110"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "0", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0\"^^xsd:double ) .  }", "answer": "102"}, {"question": "Did the fictional character of Lois Joanne Lane born in a date different than 1906?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Lois Joanne Lane"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1906", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Lois Joanne Lane\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1906 ) .  }", "answer": "yes"}, {"question": "How long is the move whose official website is http://www.stevejobsthefilm.com?", "choices": ["174 minute", "122.0 minute", "4439 second", "238 second", "187 minute", "46 minute", "15 minute", "62 minute", "114.0 minute", "86 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.stevejobsthefilm.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.stevejobsthefilm.com\" . ?e <duration> ?pv .  }", "answer": "122.0 minute"}, {"question": "Does Christ Church have a IPv4 routing prefix of 129.234.0.0/16?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christ Church"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IPv4 routing prefix"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["129.234.0.0/16"]}], "sparql": "ASK { ?e <pred:name> \"Christ Church\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"129.234.0.0/16\" .  }", "answer": "no"}, {"question": "When was the movie titled The Quiet Man published?", "choices": ["2012-04-12", "2010-09-01", "1952-06-06", "2014-01-01", "1990-11-18", "1997-04-03", "1919-01-01", "2003-11-21", "2008-11-18", "1993-08-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Quiet Man"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Quiet Man\" . ?e <publication_date> ?pv .  }", "answer": "1952-06-06"}, {"question": "What is the date of birth of the person with the Deutsche Synchronkartei actor-ID equal to 4753?", "choices": ["1968-02-11", "1963-03-11", "1966-10-26", "1951-09-02", "1945-02-28", "1980-05-02", "1958-09-03", "1952-11-14", "1987-09-28", "1970-08-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "4753"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"4753\" . ?e <date_of_birth> ?pv .  }", "answer": "1987-09-28"}, {"question": "How is Seven, who is a citizen of the United States of America, related to the profession of record producer?", "choices": ["used by", "award disciplines or subjects", "color", "occupation", "designed by", "different from", "set in period", "newspaper format", "film regional debut venue", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Seven"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Seven\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the U.S. town where Peter Dinklage was born?", "choices": ["Ridgefield", "Morristown", "Uxbridge", "Bryn Mawr", "Amherst", "Chapel Hill", "Brookline", "Westport", "Greenwich", "Plymouth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Dinklage"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Peter Dinklage\" .   }", "answer": "Morristown"}, {"question": "What is the title of A Christmas Carol whose genre is children's film?", "choices": ["Tango & Cash", "Rear Window", "A Christmas Carol", "Aprile", "Coming Home", "Erin Brockovich", "American Beauty", "Montana", "The Rum Diary", "Little Women"], "program": [{"function": "Find", "dependencies": [], "inputs": ["children's film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Christmas Carol"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"A Christmas Carol\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"children's film\" .  ?e <title> ?pv .  }", "answer": "A Christmas Carol"}, {"question": "Regarding the United States city which is where Eli Roth was born and that has official website http://www.newtonma.gov/, tell me the language associated with this creative work.", "choices": ["Romanian", "Lithuanian", "Bokm\u00e5l", "O'odham", "Yue Chinese", "French", "Putonghua", "Old English", "English", "Lower Sorbian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eli Roth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.newtonma.gov/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Eli Roth\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.newtonma.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the official website of Reno (the one that is the capital of Washoe County)?", "choices": ["http://www.vicksburg.org/", "http://www.bernie-the-movie.com", "http://www.viacom.com/", "http://www.gunsnroses.com", "http://robert-patrick.ws/", "http://www.midlandtexas.gov", "http://reno.gov/", "http://www.theinterpretermovie.com/", "http://www.michelangeloantonioni.it/", "http://www.mikewatt.com"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washoe County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Reno"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Reno\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Washoe County\" .  ?e <official_website> ?pv .  }", "answer": "http://reno.gov/"}, {"question": "Does Norfolk (the one that contains the administrative division North Norfolk) or Dorset (the one whose population is 744041) have less area?", "choices": ["West Midlands", "Warwickshire", "East Riding of Yorkshire", "Derbyshire", "Cumbria", "Somerset", "Staffordshire", "Essex", "Dorset", "Northumberland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Norfolk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norfolk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dorset"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "744041", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Norfolk\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"North Norfolk\" . } UNION { ?e <pred:name> \"Dorset\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"744041\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dorset"}, {"question": "Which has a larger population, Chesterfield or Hitchin?", "choices": ["Bury St Edmunds", "Hitchin", "TVT Records", "Socialist Federal Republic of Yugoslavia", "Chesterfield", "Carmarthen", "American International Pictures", "Burnley", "Pontefract", "John Wood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chesterfield"]}, {"function": "Find", "dependencies": [], "inputs": ["Hitchin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chesterfield\" .  } UNION { ?e <pred:name> \"Hitchin\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hitchin"}, {"question": "What is the relationship between Peter Pan (the one that mainly depicts adolescence) and London (the one that is the birthplace of Ben Cross)?", "choices": ["member of", "product or material produced", "vehicle normally used", "narrative location", "set in period", "given name", "characters", "movement", "heritage designation", "producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adolescence"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Pan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ben Cross"]}, {"function": "Relate", "dependencies": [4], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Pan\" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> \"adolescence\" . ?e_2 <pred:name> \"London\" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> \"Ben Cross\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "If we know a basketball team identified by its official website http://www.nba.com/rockets/, is its subreddit equal to PEI ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nba.com/rockets/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["PEI"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nba.com/rockets/\" . ?e <subreddit> ?pv . ?pv <pred:value> \"PEI\" .  }", "answer": "no"}, {"question": "Among all the states in the Eastern European Time zone, which has the highest unemployment rate?", "choices": ["Lithuania", "Fiji", "Kosovo", "Sweden", "Finland", "Tajikistan", "Kazakhstan", "Greece", "Bulgaria", "Cuba"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern European Time"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["unemployment rate", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern European Time\" .  ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greece"}, {"question": "How many California counties have an establishment date of 1889-03-11 or a population that is not 2700?", "choices": ["36", "37", "38", "39", "40", "41", "42", "43", "44", "45"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1889-03-11", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "2700", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of California"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" .  { ?e <inception> ?pv . ?pv <pred:date> \"1889-03-11\"^^xsd:date .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2700\"^^xsd:double ) .  } }", "answer": "40"}, {"question": "What movie was the director of She's Having a Baby a cast member of?", "choices": ["I Now Pronounce You Chuck and Larry", "A Prairie Home Companion", "All Quiet on the Western Front", "50 First Dates", "Four Rooms", "Flags of Our Fathers", "Ferris Bueller's Day Off", "Coriolanus", "Ragtime", "Shadowlands"], "program": [{"function": "Find", "dependencies": [], "inputs": ["She's Having a Baby"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_3 <director> ?e_1 . ?e_3 <pred:name> \"She's Having a Baby\" .   }", "answer": "Ferris Bueller's Day Off"}, {"question": "How many episodes does the animated series titled Futurama have?", "choices": ["152", "479", "202", "220", "156", "101", "200", "10415", "21", "140"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Futurama"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Futurama\" . ?e <number_of_episodes> ?pv .  }", "answer": "140"}, {"question": "Tell me the character role of Enrique Iglesias as a cast member of How I Met Your Mother.", "choices": ["Abigail Whistler", "Black Knight", "War Doctor", "Gael", "Doug Ross", "Gr\u00edma Wormtongue", "Freddy Lounds", "Jane Porter", "King Harold", "Cindy Campbell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How I Met Your Mother"]}, {"function": "Find", "dependencies": [], "inputs": ["Enrique Iglesias"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"How I Met Your Mother\" . ?e_2 <pred:name> \"Enrique Iglesias\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Gael"}, {"question": "Which is the death date for the member of Shamrock Rovers F.C. (the number of points of this statement is 7)", "choices": ["2003-11-18", "1952-06-01", "1988-07-16", "2008-12-12", "1981-05-24", "1990-05-01", "1982-12-23", "2007-11-13", "1804-01-01", "1955-04-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shamrock Rovers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of points/goals/set scored", "7", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Shamrock Rovers F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"7\"^^xsd:double . ?e <date_of_death> ?pv .  }", "answer": "1990-05-01"}, {"question": "Which ISNI corresponds to the team member who belonged to Sheffield United F.C. until 1996-01-01?", "choices": ["0000 0000 9560 654X", "0000 0001 0656 223X", "0000 0001 0920 987X", "0000 0001 1573 9471", "0000 0004 1217 7655", "0000 0001 1458 2441", "0000 0001 1934 6763", "0000 0000 7111 0689", "0000 0000 7056 5550", "0000 0001 2033 1518"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheffield United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1996-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Sheffield United F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"1996-01-01\"^^xsd:date . ?e <ISNI> ?pv .  }", "answer": "0000 0000 7111 0689"}, {"question": "Is 0000 0000 7246 2061 the ISNI of Phil Collinson?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phil Collinson"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 7246 2061"]}], "sparql": "ASK { ?e <pred:name> \"Phil Collinson\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7246 2061\" .  }", "answer": "yes"}, {"question": "Who has more children, John C. Calhoun or Harry Gregson-Williams?", "choices": ["Richard Gere", "Harry Gregson-Williams", "Sylvester Stallone", "David Byrne", "John C. Calhoun", "Max Fleischer", "Simon Cowell", "Rahul Dev Burman", "James E. Reilly", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John C. Calhoun"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Gregson-Williams"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"John C. Calhoun\" .  } UNION { ?e <pred:name> \"Harry Gregson-Williams\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "John C. Calhoun"}, {"question": "When was Francis Ford Coppola born?", "choices": ["1957-05-13", "1939-04-07", "1895-07-12", "1909-03-28", "1963-01-04", "1936-06-22", "1812-02-07", "1962-10-02", "1959-10-07", "1959-03-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Francis Ford Coppola"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Francis Ford Coppola\" . ?e <date_of_birth> ?pv .  }", "answer": "1939-04-07"}, {"question": "Which area has lower elevation above sea level, Wexford or Subiaco?", "choices": ["Princeton", "Montclair", "Belleville", "Wexford", "Subiaco", "Ridgewood", "Verona", "North Hollywood", "Livingston", "Whanganui"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wexford"]}, {"function": "Find", "dependencies": [], "inputs": ["Subiaco"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wexford\" .  } UNION { ?e <pred:name> \"Subiaco\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wexford"}, {"question": "What is Bob Weinstein's ISNI?", "choices": ["0000 0000 8422 9224", "0000 0001 0806 2909", "0000 0000 4223 7779", "0000 0003 6850 278X", "0000 0004 0504 2170", "0000 0001 1872 1111", "0000 0001 2142 8792", "0000 0003 8585 0831", "0000 0001 3884 3749", "0000 0000 8115 8176"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Weinstein"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Bob Weinstein\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 8422 9224"}, {"question": "What is the connection between bass guitar to Bill Nelson (the one whose genre is experimental music)?", "choices": ["currency", "officeholder", "appears in the form of", "series spin-off", "rector", "general manager", "honorific suffix", "sport", "famous people", "subject has role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bass guitar"]}, {"function": "Find", "dependencies": [], "inputs": ["experimental music"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Nelson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"bass guitar\" . ?e_2 <pred:name> \"Bill Nelson\" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> \"experimental music\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the tie-in between J-pop and Minami Takayama?", "choices": ["contributing factor of", "published in", "famous people", "founded by", "sibling", "filmography", "child", "followed by", "occupant", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J-pop"]}, {"function": "Find", "dependencies": [], "inputs": ["Minami Takayama"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"J-pop\" . ?e_2 <pred:name> \"Minami Takayama\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "When was Shelby County, counting 44,371 people, founded?", "choices": ["1971-01-01", "1987-06-19", "1906-03-06", "1891", "1821", "1884-02-05", "1609", "1693-03-29", "1196", "1961-04-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shelby County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "44371", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Shelby County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"44371\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1821"}, {"question": "Does Allen Iverson or Doug Flutie have more mass?", "choices": ["Richard Gere", "Doug Flutie", "Rahul Dev Burman", "Sylvester Stallone", "Paul Simon", "David Byrne", "Max Fleischer", "James E. Reilly", "William Henry Harrison", "Allen Iverson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Allen Iverson"]}, {"function": "Find", "dependencies": [], "inputs": ["Doug Flutie"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Allen Iverson\" .  } UNION { ?e <pred:name> \"Doug Flutie\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Doug Flutie"}, {"question": "Which city has the local dialing code of 210?", "choices": ["Kingston", "Turin", "Athens", "Wagga Wagga", "Durham", "San Antonio", "Cork", "Patna", "Trieste", "Kitchener"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "210"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"210\" .  }", "answer": "Athens"}, {"question": "Who has the Munzinger IBA of 00000003415?", "choices": ["Thelonious Monk", "Joe Walsh", "Joan Collins", "Jackie Brown", "Richard Gere", "David O. Selznick", "Michael Powell", "Max Fleischer", "Timothy Dalton", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000003415"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000003415\" .  }", "answer": "David O. Selznick"}, {"question": "How are is the genre of biographical film and the 98 minute long Oscar Wilde related?", "choices": ["part of the series", "office held by head of government", "cause of death", "partially contains", "has immediate cause", "edition or translation of", "doctoral advisor", "genre", "connects with", "manufacturer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oscar Wilde"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "98 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["biographical film"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oscar Wilde\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"98\"^^xsd:double . ?e_2 <pred:name> \"biographical film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which has a greater area, Siena or Kozhikode?", "choices": ["Cork", "Siena", "Kozhikode", "Dundee", "Kingston", "Chihuahua", "Santo Domingo", "Kilkenny", "Trieste", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Siena"]}, {"function": "Find", "dependencies": [], "inputs": ["Kozhikode"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Siena\" .  } UNION { ?e <pred:name> \"Kozhikode\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kozhikode"}, {"question": "Which record label has the official website of http://www.concordrecords.com?", "choices": ["SM Entertainment", "Southern Lord Records", "EMI Music Japan", "Century Media Records", "American Recordings", "Reprise Records", "Hollywood Records", "Epic Records", "Concord Records", "Warner Music Group"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.concordrecords.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.concordrecords.com\" .  }", "answer": "Concord Records"}, {"question": "Which one of the Texas counties, that is the administrative division of Texas (where Texas A&M University is located), covers the largest area ?", "choices": ["Montgomery County", "Bexar County", "McLennan County", "Hidalgo County", "Travis County", "Jefferson County", "Harris County", "Dallas County", "Denton County", "Fort Bend County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Texas A&M University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Texas\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Texas A&M University\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Harris County"}, {"question": "Among the first-level administrative country subdivisions which began after 1851, which has the smallest area?", "choices": ["Saxony", "Rio Grande do Sul", "Queensland", "KwaZulu-Natal", "Balochistan", "Australian Capital Territory", "Saxony-Anhalt", "Eastern Cape", "Sindh", "Melaka"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1851", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1851 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Melaka"}, {"question": "Which ISNI designates Thoroughly Modern Millie's director of photography?", "choices": ["0000 0001 2157 2540", "0000 0001 1773 1596", "0000 0001 1775 0359", "0000 0001 1038 8166", "0000 0001 2148 9907", "0000 0001 0653 9048", "0000 0000 6671 4306", "0000 0001 2144 5058", "0000 0001 0784 5477", "0000 0001 2142 3078"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thoroughly Modern Millie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> \"Thoroughly Modern Millie\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2142 3078"}, {"question": "Does the movie based on the French-language War and Peace not last 230 minutes ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["230 minute", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"War and Peace\" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> \"French\" .  ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"230\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Of all animated series with under 25 seasons, which has the lowest episode count?", "choices": ["The Boondocks", "Adrian", "Tiny Toon Adventures", "Fantastic Four", "The Fairly OddParents", "Star Trek: The Animated Series", "Phineas and Ferb", "Batman Beyond", "The Smurfs", "Family Guy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "25", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"25\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adrian"}, {"question": "Which movie cost less to make, Slumdog Millionaire or Murder on the Orient Express (the one whose production company is 20th Century Fox)?", "choices": ["A Prairie Home Companion", "Talk to Her", "The Hunchback of Notre Dame", "Training Day", "The Towering Inferno", "Murder on the Orient Express", "Rebecca", "Curse of the Golden Flower", "Slumdog Millionaire", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Slumdog Millionaire"]}, {"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [1], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Murder on the Orient Express"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Slumdog Millionaire\" .  } UNION { ?e <pred:name> \"Murder on the Orient Express\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Slumdog Millionaire"}, {"question": "What contemporary folk music originates in the sovereign state that is the operating area of Sky 1?", "choices": ["Skyfall", "The Muppet Show", "Irish traditional music", "Inkheart", "folktronica", "Being Julia", "electronic body music", "freak folk", "country blues", "The Diary of Anne Frank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sky 1"]}, {"function": "Relate", "dependencies": [0], "inputs": ["operating area", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["contemporary folk music"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"contemporary folk music\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <operating_area> ?e_1 . ?e_2 <pred:name> \"Sky 1\" .   }", "answer": "folktronica"}, {"question": "Which area is higher above sea level, Tuscaloosa or Kankakee?", "choices": ["Boulder", "Franklin", "Oakland", "Compton", "Lansing", "Greenville", "New Haven", "Kankakee", "Waukegan", "Tuscaloosa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuscaloosa"]}, {"function": "Find", "dependencies": [], "inputs": ["Kankakee"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tuscaloosa\" .  } UNION { ?e <pred:name> \"Kankakee\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kankakee"}, {"question": "Is 2--7982 the Dewey Decimal Classification for Freetown ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freetown"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["2--7982"]}], "sparql": "ASK { ?e <pred:name> \"Freetown\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--7982\" .  }", "answer": "no"}, {"question": "When was the person with ISNI 0000 0003 8248 1196 born?", "choices": ["1905-05-26", "1967-01-08", "1888-09-26", "1967-05-05", "1938-05-19", "1563-01-01", "1925-09-11", "1923-10-04", "1943-01-01", "1968-10-10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 8248 1196"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 8248 1196\" . ?e <date_of_birth> ?pv .  }", "answer": "1943-01-01"}, {"question": "Is http://www.chargers.com the official website for the visual artwork whose exploitation visa number is 127904?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "127904"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.chargers.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"127904\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.chargers.com\" .  }", "answer": "no"}, {"question": "Does the lower episode count belong to the cartoon Tiny Toon Adventures or to Frank Herbert's Dune?", "choices": ["George Washington", "Battlestar Galactica", "The Pacific", "Tiny Toon Adventures", "Frank Herbert's Dune", "Roots", "The Stand", "The Diary of Anne Frank", "The Civil War", "Edge of Darkness"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cartoon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tiny Toon Adventures"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Frank Herbert's Dune"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tiny Toon Adventures\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"cartoon\" .   } UNION { ?e <pred:name> \"Frank Herbert's Dune\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frank Herbert's Dune"}, {"question": "Rick Rubin is founder of how many agencies?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rick Rubin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <founded_by> ?e_1 . ?e_1 <pred:name> \"Rick Rubin\" .   }", "answer": "1"}, {"question": "What person is a member of the association football club whose SIREN number is 382357721 and number of games played is 32?", "choices": ["Sylvester Stallone", "Neymar", "Chris Waddle", "Delroy Facey", "Thiago Silva", "Richard Gere", "Mark Williams", "William Henry Harrison", "David Beckham", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["SIREN number", "382357721"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [3], "inputs": ["number of matches played/races/starts", "32", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"association football club\" . ?e_1 <SIREN_number> ?pv . ?pv <pred:value> \"382357721\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"32\"^^xsd:double .  }", "answer": "Neymar"}, {"question": "How many subscribers does the record label located in San Diego and has a twitter username as theend have?", "choices": ["9", "107657", "20556", "357714", "47318", "608015", "1346", "541183", "1684171", "205543"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Diego"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "theend", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"San Diego\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"theend\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "20556"}, {"question": "What is the official website for the association football club whose headquarters location is Bury (whose population is 78729)?", "choices": ["http://www.vh1.com/shows/americas-next-top-model", "http://yalecollege.yale.edu", "https://www.buryfc.co.uk/", "http://www.chuckberry.com/", "http://markknopfler.com", "http://www.ateneo.edu/", "http://www.austinpowers.com/", "http://www.alphasigmaphi.org", "https://www.oxnard.org/", "http://www.mcclatchy.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bury"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "78729", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Bury\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"78729\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "https://www.buryfc.co.uk/"}, {"question": "When did the city whose official website is http://www.sansalvador.gob.sv/ have a population of 567698?", "choices": ["2017-05-20", "1497-01-01", "1910-12-31", "-4000", "2002-05-15", "1989-12-01", "1823", "2014", "1697", "2011-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sansalvador.gob.sv/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "567698", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sansalvador.gob.sv/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"567698\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Which visual artwork released on 1990-06-01 is titled Total Recall?", "choices": ["Training Day", "Pleasantville", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Rope", "Total Recall", "Rebecca", "Talk to Her", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1990-06-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Total Recall"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1990-06-01\"^^xsd:date . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Total Recall\" .  }", "answer": "Total Recall"}, {"question": "What is the FIPS 6-4 (US counties) for the Virginia county whose population was 80296 on 2012-07-01?", "choices": ["53063", "06013", "42021", "29077", "39153", "51069", "06027", "26075", "39041", "55093"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "80296", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2012-07-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Virginia"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Virginia\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"80296\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "51069"}, {"question": "How many miniseries do not have 330 episodes and ended after 2008?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "330", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["end time", "2008", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"330\"^^xsd:double ) . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2008 ) .  }", "answer": "7"}, {"question": "How many match appearances did Giuseppe Colucci have for his team, A.C. ChievoVerona?", "choices": ["90", "31", "77", "43", "255", "82", "12", "71", "138", "120"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giuseppe Colucci"]}, {"function": "Find", "dependencies": [], "inputs": ["A.C. ChievoVerona"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Giuseppe Colucci\" . ?e_2 <pred:name> \"A.C. ChievoVerona\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "12"}, {"question": "Which has lower elevation above sea level, Leiden or Dordrecht?", "choices": ["Dordrecht", "Delft", "Alkmaar", "Leiden", "Groningen", "Rotterdam", "Nijmegen", "Arnhem", "Amsterdam", "Hilversum"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leiden"]}, {"function": "Find", "dependencies": [], "inputs": ["Dordrecht"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Leiden\" .  } UNION { ?e <pred:name> \"Dordrecht\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Leiden"}, {"question": "Which movie is shorter, Kaboom or Shaun of the Dead?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville", "Shaun of the Dead", "The Fifth Element", "The Hunchback of Notre Dame", "Training Day", "Rebecca", "The Towering Inferno", "Kaboom"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kaboom"]}, {"function": "Find", "dependencies": [], "inputs": ["Shaun of the Dead"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kaboom\" .  } UNION { ?e <pred:name> \"Shaun of the Dead\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kaboom"}, {"question": "Does the video game developer with official website http://www.idsoftware.com have less than 2.2 employees?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.idsoftware.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2.2", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.idsoftware.com\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"2.2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Of all chemical elements with the UK as their place of discovery, which possesses the highest atomic number?", "choices": ["sodium", "calcium", "Olympia", "Natalie Portman", "Wedding Crashers", "selenium", "magnesium", "zinc", "manganese", "phosphorus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of discovery", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["atomic number", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e <location_of_discovery> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "magnesium"}, {"question": "Which has fewer season, The Golden Girls or The Monkees with Peter Tork in the cast?", "choices": ["Steve Jobs", "Mr. Smith Goes to Washington", "Epitaph Records", "The Golden Girls", "farce", "blue", "Nigeria", "The Monkees", "stand-up comedy", "comedy of manners"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Golden Girls"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Tork"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Monkees"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Golden Girls\" .  } UNION { ?e <pred:name> \"The Monkees\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Peter Tork\" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Monkees"}, {"question": "What person has 00000021114 as their Munzinger IBA?", "choices": ["Winona Ryder", "Jeremy Irons", "Brian Wilson", "Sylvester Stallone", "Max Fleischer", "Richard Gere", "Zhang Ziyi", "Clifton Collins", "Cybill Shepherd", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000021114"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000021114\" .  }", "answer": "Cybill Shepherd"}, {"question": "When did Chris Brown (the one whose date of birth is 1962-04-11 become a member of the Pittsburgh Steelers?", "choices": ["1815-03-04", "1985", "2014-03-31", "1968-04-01", "1999-03-01", "1964-06-19", "1983-02-28", "1200", "1999-05-26", "1991-04-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Brown"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1962-04-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh Steelers"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chris Brown\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1962-04-11\"^^xsd:date . ?e_2 <pred:name> \"Pittsburgh Steelers\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1985"}, {"question": "How long is the animated movie distributed by Constantin Film?", "choices": ["83 minute", "186 minute", "162 minute", "94 minute", "5615 second", "128 minute", "220 minute", "50 minute", "3108 second", "9 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Constantin Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Constantin Film\" .  ?e <duration> ?pv .  }", "answer": "94 minute"}, {"question": "Is 162123 the British Museum person-institution of Jonathan Swift?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Swift"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["British Museum person-institution"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["162123"]}], "sparql": "ASK { ?e <pred:name> \"Jonathan Swift\" . ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> \"162123\" .  }", "answer": "no"}, {"question": "What is the connection between Auburn (the one whose local dialing code is 530) to United States of America?", "choices": ["organisation directed from the office or person", "office held by head of government", "country", "based on", "military branch", "parent astronomical body", "production designer", "territory claimed by", "game mode", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Auburn"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "530"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Auburn\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"530\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is the ARCHON code for the University of Cambridge , where Oliver Cromwell was educated, 277?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oliver Cromwell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Cambridge"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ARCHON code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["277"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Oliver Cromwell\" .  ?e <ARCHON_code> ?pv . ?pv <pred:value> \"277\" .  }", "answer": "yes"}, {"question": "Which New Jersey county shares a border with Essex County and has a population of 784476?", "choices": ["Gloucester County", "Essex County", "Monmouth County", "Bergen County", "Morris County", "Hudson County", "Burlington County", "Hunterdon County", "Cumberland County", "Union County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Essex County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "784476", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New Jersey"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Essex County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"784476\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Morris County"}, {"question": "How is Water starring Waheeda Rehman related to A. R. Rahman?", "choices": ["symptom of", "programming language", "subject has role", "owner of", "office held by head of state", "statistical leader", "author", "has quality", "composer", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waheeda Rehman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Water"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["A. R. Rahman"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Water\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Waheeda Rehman\" . ?e_2 <pred:name> \"A. R. Rahman\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "What's the relationship between David Hume and librarian?", "choices": ["culture", "place of origin (Switzerland)", "original language of film or TV show", "country of citizenship", "occupation", "domain of saint or deity", "significant event", "has edition", "place of burial", "copyright representative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Hume"]}, {"function": "Find", "dependencies": [], "inputs": ["librarian"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Hume\" . ?e_2 <pred:name> \"librarian\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Who is the person with CANTIC-ID a11882542?", "choices": ["A. R. Rahman", "Mike Barker", "Max Fleischer", "Sean Connery", "William Henry Harrison", "Richard Gere", "Piper Laurie", "Kyle MacLachlan", "Joseph Stalin", "Takeshi Kitano"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11882542"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11882542\" .  }", "answer": "Kyle MacLachlan"}, {"question": "What is the association of Scott McDonald with association football?", "choices": ["voice actor", "terminus", "soundtrack album", "symptoms", "sport", "public holiday", "legislative body", "territory overlaps", "parent club", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scott McDonald"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Scott McDonald\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What drug is the main topic of Dazed and Confused?", "choices": ["American football", "Brian Wilson", "cannabis", "Texas", "Rush", "Melvin Frank", "tubular bells", "high school", "Gossip Girl", "Chicago Bulls"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dazed and Confused"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["drug"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drug\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Dazed and Confused\" .   }", "answer": "cannabis"}, {"question": "Who has more children, Tobey Maguire or Patricia Heaton?", "choices": ["James E. Reilly", "Patricia Heaton", "Simon Cowell", "William Henry Harrison", "David Byrne", "Richard Gere", "Sylvester Stallone", "Tobey Maguire", "Paul Simon", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tobey Maguire"]}, {"function": "Find", "dependencies": [], "inputs": ["Patricia Heaton"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tobey Maguire\" .  } UNION { ?e <pred:name> \"Patricia Heaton\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Patricia Heaton"}, {"question": "Regarding the association football club that has the Instagram username of gfcofficial does it have a Twitter username of exactly thegillsfc ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "gfcofficial"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["thegillsfc"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"gfcofficial\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"thegillsfc\" .  }", "answer": "yes"}, {"question": "How is the University of Minnesota associated with John Davis, who was a student at Iowa State University?", "choices": ["sidekick of", "film distribute region", "model item", "educated at", "software engine", "seed team", "godparent", "product or material produced", "librettist", "office held by head of government"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iowa State University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Minnesota"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Davis\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Iowa State University\" . ?e_2 <pred:name> \"University of Minnesota\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "The person with the native tongue name Simon Phillip Cowell created which TV series?", "choices": ["Only Fools and Horses", "X-Men", "One Life to Live", "All in the Family", "Game of Thrones", "Great Expectations", "Robot Chicken", "American Horror Story", "Saturday Night's Main Event", "America's Got Talent"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Simon Phillip Cowell"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <creator> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Simon Phillip Cowell\" .   }", "answer": "America's Got Talent"}, {"question": "What character is Michelle Yeoh, cast in Tomorrow Never Dies (the one that has Michelle Yeoh as a cast member), playing in Tomorrow Never Dies?", "choices": ["T. E. Lawrence", "Egon Spengler", "Sao Feng", "Faith", "Tai Lung", "Herman Boone", "Vernon Schillinger", "Percy Alleline", "Lancelot", "Wai Lin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michelle Yeoh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tomorrow Never Dies"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Michelle Yeoh"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tomorrow Never Dies\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michelle Yeoh\" . ?e_2 <pred:name> \"Michelle Yeoh\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Wai Lin"}, {"question": "Did G.D. Estoril Praia originate before 1991?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["G.D. Estoril Praia"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1991", "<"]}], "sparql": "ASK { ?e <pred:name> \"G.D. Estoril Praia\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) .  }", "answer": "yes"}, {"question": "Does Libris-URI 20dghpwl18w4tz7 identify Van Morrison ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Van Morrison"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["20dghpwl18w4tz7"]}], "sparql": "ASK { ?e <pred:name> \"Van Morrison\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"20dghpwl18w4tz7\" .  }", "answer": "no"}, {"question": "Which has lower elevation above sea level, Cambridge (the one that is the birthplace of Olivia Newton-John) or Kelowna?", "choices": ["Chihuahua", "Kilkenny", "Cambridge", "Trieste", "Kelowna", "Abidjan", "Cork", "Bergen", "Santo Domingo", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Olivia Newton-John"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kelowna"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cambridge\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Olivia Newton-John\" .   } UNION { ?e <pred:name> \"Kelowna\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cambridge"}, {"question": "Is the net profit of the business that employs Shakira (who received a Latin Grammy Award for Song of the Year) under 26000000000 United States dollars on the date 2012-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin Grammy Award for Song of the Year"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shakira"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["business"]}, {"function": "QueryAttrUnderCondition", "dependencies": [5], "inputs": ["net profit", "point in time", "2012-01-01"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["26000000000 United States dollar", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Shakira\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Latin Grammy Award for Song of the Year\" .  ?e <net_profit> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"26000000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <net_profit> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "About the person who is famous for the dark wave, and has a Twitter username of numanofficial, what is the number of subscribers?", "choices": ["608015", "59834", "54149", "480", "2937322", "4959560", "331161", "516289", "46957", "17817"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dark wave"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "numanofficial", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"dark wave\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"numanofficial\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "54149"}, {"question": "Which movie cost less to make, The Edge (the one whose title is \u041a\u0440\u0430\u0439) or Four Rooms?", "choices": ["Talk to Her", "The Edge", "Training Day", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Pleasantville", "Four Rooms", "Rebecca", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Edge"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u041a\u0440\u0430\u0439"]}, {"function": "Find", "dependencies": [], "inputs": ["Four Rooms"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Edge\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u041a\u0440\u0430\u0439\" . } UNION { ?e <pred:name> \"Four Rooms\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Four Rooms"}, {"question": "How many states of the United States are whose area is not equal to 2900 hectares?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2900 hectare", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2900\"^^xsd:double ) .  }", "answer": "0"}, {"question": "How many subscribers does SK Brann have under their skbrann Twitter account?", "choices": ["92948", "9895", "414557", "51027", "876", "2241", "92726", "13999", "90826", "182"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SK Brann"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "skbrann", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"SK Brann\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"skbrann\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "13999"}, {"question": "Which has the smallest width among the mountain ranges whose elevation above sea level is greater than 240 feet?", "choices": ["Pyrenees", "Adirondack Mountains", "Pacific Ocean", "Sierra Nevada", "Alps", "Himalayas", "Pennine Alps", "Appalachian Mountains", "Blue Ridge Mountains", "Cascade Range"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "240 foot", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["width", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"240\"^^xsd:double ) . ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sierra Nevada"}, {"question": "What person's ISNI is 0000 0004 0358 4726?", "choices": ["Sylvester Stallone", "Brian McKnight", "Curtis Hanson", "Andrea Martin", "Gabriel Byrne", "Richard D. Zanuck", "Max Fleischer", "Alain Johannes", "Richard Gere", "Mo'Nique"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0358 4726"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0358 4726\" .  }", "answer": "Alain Johannes"}, {"question": "What Louisiana parish's area is 1663 square kilometers and population is over 3.3 in the year 2015?", "choices": ["Life Is Beautiful", "South Yorkshire", "The Sixth Sense", "Tasmania", "The Crying Game", "Jefferson Parish", "Joseph Conrad", "Ian Bryce", "Alien", "Ashanti"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1663 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["parish of Louisiana"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "3.3", ">"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["point in time", "2015", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["parish of Louisiana"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"parish of Louisiana\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"1663\"^^xsd:double . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v > \"3.3\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2015 .  }", "answer": "Jefferson Parish"}, {"question": "How many states of India have a female population count higher than 1,900,000?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["female population", "1900000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <female_population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1900000\"^^xsd:double ) .  }", "answer": "19"}, {"question": "What is the relationship between Preston, which contains Preston North End F.C., and Lancashire?", "choices": ["original network", "distributor", "member of political party", "narrative role", "symptom of", "capital of", "board member", "head of state", "lyrics by", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Preston North End F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Preston"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lancashire"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Preston\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"Preston North End F.C.\" . ?e_2 <pred:name> \"Lancashire\" . ?e_1 ?p ?e_2 .  }", "answer": "capital of"}, {"question": "Is Calgary or Skopje larger by area?", "choices": ["Dundee", "Kilkenny", "Abidjan", "Skopje", "Kingston", "Calgary", "Santo Domingo", "Trieste", "Cork", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calgary"]}, {"function": "Find", "dependencies": [], "inputs": ["Skopje"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Calgary\" .  } UNION { ?e <pred:name> \"Skopje\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Calgary"}, {"question": "About the United States city that is where Hal B Wallis died, and that has a population of 17218, tell me it's time point", "choices": ["1889-12-31", "1994-12-20", "1782", "2015-08-06", "2012-07-01", "1937", "1999-03-21", "2010-04-01", "2003-12-15", "2009-10-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hal B. Wallis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "17218", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Hal B. Wallis\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"17218\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What is the connection between The Sea Inside to Javier Bardem?", "choices": ["performer", "official religion", "cast member", "drafted by", "sponsor", "opposite of", "depicted by", "participant of", "heritage designation", "narrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Sea Inside"]}, {"function": "Find", "dependencies": [], "inputs": ["Javier Bardem"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sea Inside\" . ?e_2 <pred:name> \"Javier Bardem\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When did Earth (the one whose out-of-school children number is 265000000) reach the population of 3334874000?", "choices": ["1955-01-01", "2014-04-05", "2015-03-31", "1919-12-01", "1915", "1960", "1965-01-01", "1981-01-01", "2016-01-01", "2011-09-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of out-of-school children", "265000000", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "3334874000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Earth\" . ?e <number_of_out-of-school_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"265000000\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3334874000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1965-01-01"}, {"question": "When did the Russian Soviet Federative Socialist Republic (the one that has a citizen Vladimir Lenin) change its official name to \u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0424\u0435\u0434\u0435\u0440\u0430\u0446\u0438\u044f?", "choices": ["1821-06-01", "1863-09-10", "1631", "2005-11-17", "1991-12-25", "1955-04-04", "1966-09-28", "1974-04-01", "1854", "1957-03-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vladimir Lenin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Russian Soviet Federative Socialist Republic"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official name", "\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0424\u0435\u0434\u0435\u0440\u0430\u0446\u0438\u044f", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Russian Soviet Federative Socialist Republic\" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> \"Vladimir Lenin\" .  ?e <official_name> ?pv . ?pv <pred:value> \"\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0424\u0435\u0434\u0435\u0440\u0430\u0446\u0438\u044f\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1991-12-25"}, {"question": "Is 0000 0004 1794 1384 the ISNI of African Development Bank?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["African Development Bank"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0004 1794 1384"]}], "sparql": "ASK { ?e <pred:name> \"African Development Bank\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 1794 1384\" .  }", "answer": "yes"}, {"question": "Does Yiddish or Dutch (whose GOST 7.75\u201397 code is \u043d\u0438\u0434 495) have more speakers?", "choices": ["Tamil", "Croatian", "Romanian", "Indonesian", "Dutch", "Gujarati", "Irish", "Yiddish", "German", "Scots"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yiddish"]}, {"function": "Find", "dependencies": [], "inputs": ["Dutch"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["GOST 7.75\u201397 code", "\u043d\u0438\u0434 495"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of speakers", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Yiddish\" . } UNION { ?e <pred:name> \"Dutch\" . ?e <GOST_7.75\u201397_code> ?pv_1 . ?pv_1 <pred:value> \"\u043d\u0438\u0434 495\" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dutch"}, {"question": "Which US city does Igor Stravinsky reside?", "choices": ["West Hollywood", "Columbus", "Franklin", "Waukegan", "Orange", "Saint Petersburg", "Lansing", "Tulsa", "Macon", "Nice"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Igor Stravinsky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <residence> ?e . ?e_1 <pred:name> \"Igor Stravinsky\" .   }", "answer": "West Hollywood"}, {"question": "Does the person who was born on 1954-05-25 have a date of death before 2015?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1954-05-25", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2015", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1954-05-25\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2015 ) .  }", "answer": "yes"}, {"question": "Which one of Californian counties, located in Pacific Time Zone, covers the largest area ?", "choices": ["Santa Barbara County", "Los Angeles County", "Butte County", "San Mateo County", "Contra Costa County", "Alameda County", "Orange County", "Solano County", "Ventura County", "Tulare County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Pacific Time Zone\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Los Angeles County"}, {"question": "Which movie is shorter, Bewitched (the one that was nominated for Golden Raspberry Award for Worst Screenplay) or Inception?", "choices": ["Curse of the Golden Flower", "Pleasantville", "A Prairie Home Companion", "Training Day", "Inception", "Talk to Her", "The Towering Inferno", "Rebecca", "The Fifth Element", "Bewitched"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bewitched"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Inception"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bewitched\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" .   } UNION { ?e <pred:name> \"Inception\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bewitched"}, {"question": "How many forms of soul music were created prior to 1965 or later than 1950?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1950", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soul music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1965", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soul music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soul music\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1950 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  } }", "answer": "4"}, {"question": "Does Florida or Vermont have more percent of water area?", "choices": ["Hawaii", "Colorado", "Vermont", "Massachusetts", "New Jersey", "Iowa", "Illinois", "Florida", "Kansas", "New Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Find", "dependencies": [], "inputs": ["Vermont"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["water as percent of area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Florida\" .  } UNION { ?e <pred:name> \"Vermont\" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Florida"}, {"question": "What is the Deutsche Synchronkartei actor-ID of the person whose Libris-URI is vs69htfd3qwcdk7?", "choices": ["33161", "4789", "4398", "11921", "19518", "18", "8777", "242", "296", "656"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "vs69htfd3qwcdk7"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Deutsche Synchronkartei actor-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"vs69htfd3qwcdk7\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv .  }", "answer": "242"}, {"question": "How is On the Waterfront related to the Sicilian Mafia?", "choices": ["office held by head of government", "chairperson", "mother", "properties for this type", "said to be the same as", "main subject", "indigenous to", "publisher", "general manager", "located in or next to body of water"], "program": [{"function": "Find", "dependencies": [], "inputs": ["On the Waterfront"]}, {"function": "Find", "dependencies": [], "inputs": ["Sicilian Mafia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"On the Waterfront\" . ?e_2 <pred:name> \"Sicilian Mafia\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "Does Zookeeper or Blue Velvet have less box office?", "choices": ["The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "A Prairie Home Companion", "Rebecca", "The Towering Inferno", "Blue Velvet", "Training Day", "Talk to Her", "Zookeeper"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zookeeper"]}, {"function": "Find", "dependencies": [], "inputs": ["Blue Velvet"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Zookeeper\" .  } UNION { ?e <pred:name> \"Blue Velvet\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Blue Velvet"}, {"question": "What college or university in the Eastern Time Zone of the United States has the most students?", "choices": ["Montana State University - Bozeman", "North Carolina Agricultural and Technical State University", "University of Idaho", "North Dakota State University", "Iowa State University", "University of Vermont", "Virginia Tech", "University of Maine", "University of Arkansas", "South Carolina State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eastern Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern Time Zone\" .  ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Virginia Tech"}, {"question": "Does the written work that is derived from About a Boy (the one that was nominated for BAFTA Award for Best Adapted Screenplay), have the title About a Boy?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Adapted Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["About a Boy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["About a Boy"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"About a Boy\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"BAFTA Award for Best Adapted Screenplay\" .  ?e <title> ?pv . ?pv <pred:value> \"About a Boy\" .  }", "answer": "yes"}, {"question": "Is Akiva Goldsman's date of birth after 1919?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akiva Goldsman"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1919", ">"]}], "sparql": "ASK { ?e <pred:name> \"Akiva Goldsman\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1919 ) .  }", "answer": "yes"}, {"question": "How many forms of hip hop music have roots in the USA or a creation year other than 1997?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hip hop music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1997", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hip hop music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1997 ) .  } }", "answer": "12"}, {"question": "a10117842 is the CANTIC-ID of whom", "choices": ["Sylvester Stallone", "David Mamet", "George Miller", "William Henry Harrison", "Paul Auster", "Richard Gere", "Max Fleischer", "Rabindranath Tagore", "Laurie Metcalf", "Frank Marshall"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10117842"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10117842\" .  }", "answer": "David Mamet"}, {"question": "How many different authors were either born before 1934 or whose ROME Occupation Code (v3) is E1102?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1934", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["author"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "E1102"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["author"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"author\" .  { ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1934 ) .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"E1102\" .  } }", "answer": "2"}, {"question": "What is the duration of the film directed by Michael Winterbottom (born 1961-03-29)?", "choices": ["58 minute", "11 minute", "169 minute", "181 minute", "786 minute", "66 minute", "108 minute", "100 minute", "5615 second", "164 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Winterbottom"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1961-03-29", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Michael Winterbottom\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1961-03-29\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "108 minute"}, {"question": "Which governor's office was held by George Clinton (whose date of death is 1812-04-20) beginning in 1777?", "choices": ["Governor of New York", "attorney general", "The Proposal", "Governor of Massachusetts", "Temple University", "Governor of Kentucky", "mayor", "Restless", "Governor of Texas", "Governor of New Jersey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Clinton"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1812-04-20", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["officeholder", "backward"]}, {"function": "QFilterYear", "dependencies": [2], "inputs": ["start time", "1777", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["governor"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"governor\" . ?e <officeholder> ?e_1 . ?e_1 <pred:name> \"George Clinton\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1812-04-20\"^^xsd:date .  [ <pred:fact_h> ?e ; <pred:fact_r> <officeholder> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1777 .  }", "answer": "Governor of New York"}, {"question": "What is the official website of the basketball team that has Jason Kidd as the head coach?", "choices": ["http://www.nba.com/bucks/", "http://www.williamtravilla.com", "http://www.heisman.com", "http://www.sheilae.com/", "http://www.klaasjanhuntelaar.com", "http://www.bufc.co.uk", "http://www.kolumbus.fi/timrei/lre.htm", "http://www.snowfallingoncedars.com", "http://www.muni.org", "http://www.kenanthompson.net"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jason Kidd"]}, {"function": "Relate", "dependencies": [0], "inputs": ["head coach", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <head_coach> ?e_1 . ?e_1 <pred:name> \"Jason Kidd\" .  ?e <official_website> ?pv .  }", "answer": "http://www.nba.com/bucks/"}, {"question": "Is the call sign SOUTHWEST that of Southwest Airlines?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Southwest Airlines"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["callsign of airline"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["SOUTHWEST"]}], "sparql": "ASK { ?e <pred:name> \"Southwest Airlines\" . ?e <callsign_of_airline> ?pv . ?pv <pred:value> \"SOUTHWEST\" .  }", "answer": "yes"}, {"question": "Which movie made more at the box office, The Truman Show or Waterworld (the one whose genre is action film)?", "choices": ["A Prairie Home Companion", "Training Day", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Truman Show", "The Towering Inferno", "Waterworld", "Rebecca", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Truman Show"]}, {"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Waterworld"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Truman Show\" .  } UNION { ?e <pred:name> \"Waterworld\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"action film\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Truman Show"}, {"question": "Which city's postal code is 1100\u20131138?", "choices": ["Beijing", "Quezon City", "Dehradun", "Caracas", "Kilkenny", "Guadalajara", "Cork", "Rockhampton", "Chengdu", "Trieste"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "1100\u20131138"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv . ?pv <pred:value> \"1100\u20131138\" .  }", "answer": "Quezon City"}, {"question": "Is An Inconvenient Truth or Reversal of Fortune the longer of the two?", "choices": ["Rebecca", "Reversal of Fortune", "The Towering Inferno", "The Fifth Element", "Talk to Her", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["An Inconvenient Truth"]}, {"function": "Find", "dependencies": [], "inputs": ["Reversal of Fortune"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"An Inconvenient Truth\" .  } UNION { ?e <pred:name> \"Reversal of Fortune\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Reversal of Fortune"}, {"question": "Which has the larger area, Scarborough, which is part of Toronto, or Belfast?", "choices": ["Santo Domingo", "Kilkenny", "Belfast", "Trieste", "Scarborough", "Dundee", "Kingston", "Chihuahua", "Abidjan", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scarborough"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Belfast"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Scarborough\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Toronto\" .   } UNION { ?e <pred:name> \"Belfast\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Scarborough"}, {"question": "Is the Hornbostel-Sachs classification of the class of instruments used by Nelson Riddle 423.22?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nelson Riddle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of instruments"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Hornbostel-Sachs classification"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["423.22"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Nelson Riddle\" .  ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"423.22\" .  }", "answer": "yes"}, {"question": "Of the New Jersey cities with a population count that is not 5.0, which covers the largest area?", "choices": ["Bayonne", "Jersey City", "Hoboken", "East Orange", "Newark", "Hackensack", "Camden", "Passaic", "Perth Amboy", "Trenton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5.0", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5.0\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Newark"}, {"question": "Who is the nominee of the Academy award for Best Director that was a nomination for the film Juno that was nominated for an Academy Award for Best Writing, Original Screenplay?", "choices": ["Pierre Bismuth", "Lisa Fruchtman", "Bruce A. Evans", "Stephen Mirrione", "Charles Knode", "Margaret Leighton", "Jason Reitman", "Jane Alexander", "Stanley Shapiro", "Faye Dunaway"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Juno"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Juno\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Jason Reitman"}, {"question": "Is Fred Astaire the native language name of the person who was nominated for an Academy Award for Best Supporting Actor on the date 1974-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1974-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Fred Astaire"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1974-01-01\"^^xsd:date . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Fred Astaire\" .  }", "answer": "yes"}, {"question": "How is the single player video game The Quiet Man related to Japan?", "choices": ["country of origin", "item operated", "has dialect (DEPRECATED)", "convicted of", "patron saint", "taxon rank", "theme music", "official symbol", "founded by", "office held by head of the organisation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Quiet Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Quiet Man\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"single-player video game\" . ?e_2 <pred:name> \"Japan\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the number of heavy metals that are a part of heartland or whose start date is prior to 1995?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["heartland rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["heavy metal"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1995", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["heavy metal"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"heavy metal\" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"heartland rock\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  } }", "answer": "13"}, {"question": "Which has a greater runtime, Tulsa (published 1950-01-01) or Cairo (runtime of 100 minutes)?", "choices": ["Pleasantville", "Tulsa", "The Towering Inferno", "The Fifth Element", "Cairo", "Curse of the Golden Flower", "A Prairie Home Companion", "Training Day", "Rebecca", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tulsa"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1950-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Cairo"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["duration", "100 minute", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tulsa\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1950-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Cairo\" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> \"minute\" . ?pv_2 <pred:value> \"100\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cairo"}, {"question": "Which is longer, The Last Picture Show or He's Just Not That into You?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "The Last Picture Show", "Rebecca", "Training Day", "He's Just Not That into You", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Picture Show"]}, {"function": "Find", "dependencies": [], "inputs": ["He's Just Not That into You"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Last Picture Show\" .  } UNION { ?e <pred:name> \"He's Just Not That into You\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "He's Just Not That into You"}, {"question": "What is the CANTIC-ID of Alexandre Dumas, who was the victim of a fatal stroke?", "choices": ["a10309901", "a10594152", "a10458438", "a11866366", "a1178698x", "a1005506x", "a10624430", "a10808255", "a11856270", "a10303480"], "program": [{"function": "Find", "dependencies": [], "inputs": ["stroke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandre Dumas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Alexandre Dumas\" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> \"stroke\" .  ?e <CANTIC-ID> ?pv .  }", "answer": "a10303480"}, {"question": "What big city has postal code 59160?", "choices": ["Lyon", "Utrecht", "Fort Smith", "Magdeburg", "Halle (Saale)", "Stuttgart", "Aachen", "Kiel", "Lille", "Dnipro"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "59160"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <postal_code> ?pv . ?pv <pred:value> \"59160\" .  }", "answer": "Lille"}, {"question": "What is the determination method of 791896, the population of Rhode Island?", "choices": ["UIS estimation", "Canada 2016 Census", "FIFA World Rankings", "administrative division valid at the time point of history to which the data relates", "United Kingdom Census 2001", "Census", "Population registration in Sweden", "administrative division valid at the moment of publication", "census", "lead-lead dating"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rhode Island"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "791896", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Rhode Island\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"791896\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Which landform, with an elevation (above sea level) greater than 3700 metres, has the largest width?", "choices": ["Guernsey", "Ireland", "Maui", "Cyprus", "Puerto Rico", "Trinidad", "Honshu", "Newfoundland", "Tasmania", "Long Island"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "3700 metre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["width", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"3700\"^^xsd:double ) . ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Honshu"}, {"question": "How many anime television series (mainly depicting Japanese mythology) have less than 8800 episodes?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese mythology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of episodes", "8800", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anime television series"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"Japanese mythology\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"8800\"^^xsd:double ) .  }", "answer": "1"}, {"question": "How many Summer Olympic Games are there whose country is the sovereign state having the FIPS 10-4 (countries and regions) UK?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UK"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Summer Olympic Games"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"UK\" .   }", "answer": "3"}, {"question": "What is the Twitter username for the human whose official website is http://www.ricardoantoniochavira.com?", "choices": ["ricardoachavira", "fred_tatasciore", "doctorgraffin", "Bethesda_jpn", "MiraSorvino", "rogerwaters", "BryanCranston", "missjillscott", "GhostPanther", "acsienaofficial"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ricardoantoniochavira.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ricardoantoniochavira.com\" . ?e <Twitter_username> ?pv .  }", "answer": "ricardoachavira"}, {"question": "When was the official website at https://www.atari.com/ retrieved for the video game developer that set up in New York City?", "choices": ["2017-06-05", "2015-07-10", "2017-05-19", "2018-10-13", "2017-08-13", "2019-03-03", "2018-03-12", "2017-06-17", "2018-07-25", "2018-01-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.atari.com/", "retrieved"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"New York City\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.atari.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv .  }", "answer": "2017-06-17"}, {"question": "When did Columbia County (the one that shares border with Rensselaer County) have a population of 47044?", "choices": ["2012-10-30", "1408-01-01", "1870", "1897", "2002-03-24", "2012-01-18", "1999-12-22", "2007-10-24", "1858-12-03", "1982-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rensselaer County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "47044", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Columbia County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Rensselaer County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"47044\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1870"}, {"question": "How many Winter Olympic Games were located in The Hague or were a significant event that happened in Japan?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Hague"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Winter Olympic Games"]}, {"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [3], "inputs": ["significant event", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Winter Olympic Games"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Winter Olympic Games\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"The Hague\" .  } UNION { ?e_1 <significant_event> ?e . ?e_1 <pred:name> \"Japan\" .  } }", "answer": "2"}, {"question": "Is the number of seasons of TV series, directed by Lars von Trier, equal to 50 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lars von Trier"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["50", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Lars von Trier\" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"50\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Regarding colleges and universities in the United States that is where Kristen Wiig was educated, and the official website is http://www.arizona.edu, tell me the language associated with his creative work", "choices": ["Korean", "Yue Chinese", "Standard Chinese", "Luxembourgish", "Ewe", "Cornish", "Lithuanian", "English", "Swedish", "Azerbaijani"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kristen Wiig"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.arizona.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Kristen Wiig\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.arizona.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which show had more episodes The Little Mermaid (the one whose genre is television comedy) or St. Elsewhere?", "choices": ["Saturday Night's Main Event", "Game of Thrones", "Seinfeld", "Bleak House", "American Horror Story", "Six Feet Under", "St. Elsewhere", "Robot Chicken", "Dancing with the Stars", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["television comedy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Little Mermaid"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["St. Elsewhere"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Little Mermaid\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"television comedy\" .   } UNION { ?e <pred:name> \"St. Elsewhere\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Elsewhere"}, {"question": "What is the Libris-URI for George V?", "choices": ["pm1335k72l4947q", "53hlr48p168bkx0", "97mpqf2t3vr5r3g", "hftx1w2132mr31q", "hftwxp012dlpnlv", "hftx2qk13z2p344", "vs69g65d16s04s2", "qn25bf184s8pwj9", "c9prsmdw2h9vwnb", "c9prvw9w2lbkdsv"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George V"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"George V\" . ?e <Libris-URI> ?pv .  }", "answer": "hftx2qk13z2p344"}, {"question": "How is chemotherapy related to anemia?", "choices": ["from fictional universe", "member of sports team", "director", "cast member", "instrumentation", "risk factor", "collection", "military branch", "screenwriter", "candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["chemotherapy"]}, {"function": "Find", "dependencies": [], "inputs": ["anemia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"chemotherapy\" . ?e_2 <pred:name> \"anemia\" . ?e_1 ?p ?e_2 .  }", "answer": "risk factor"}, {"question": "How does Hornbostel-Sachs classify the didgeridoo?", "choices": ["423.233", "422.211.2-71", "211.212.1", "422.212-71", "112.1", "211.212.11", "314.122-6-8", "423.121.11", "321.321", "321.322"], "program": [{"function": "Find", "dependencies": [], "inputs": ["didgeridoo"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"didgeridoo\" . ?e <Hornbostel-Sachs_classification> ?pv .  }", "answer": "423.121.11"}, {"question": "How many types of sport have a video that is Freeride Skateboarding & Downhill Slides.webm and have the OSM tag or key that is Tag:sport=golf?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["video", "Freeride Skateboarding & Downhill Slides.webm"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OSM tag or key", "Tag:sport=golf"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["type of sport"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <video> ?pv . ?pv <pred:value> \"Freeride Skateboarding & Downhill Slides.webm\" . ?e <OSM_tag_or_key> ?pv_1 . ?pv_1 <pred:value> \"Tag:sport=golf\" .  }", "answer": "0"}, {"question": "For Everton FC, the official website is http://www.evertonfc.com/ , tell me the language associated with the creative work.", "choices": ["Danish", "British English", "Standard Chinese", "Toki Pona", "English", "Austrian German", "Croatian", "Persian", "Arabic", "Ewe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everton F.C."]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.evertonfc.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Everton F.C.\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.evertonfc.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the inception time of Network Ten?", "choices": ["1008", "1903-06-12", "1764-01-01", "1912-09-01", "1987-10-20", "1964-08-01", "1838-05-09", "1860", "1788-01-01", "1765"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Network Ten"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Network Ten\" . ?e <inception> ?pv .  }", "answer": "1964-08-01"}, {"question": "What is the character role of Daredevil (the one that is a notable work of Michael Clarke Duncan) which has Joe Pantoliano as a cast member?", "choices": ["Tess Ocean", "Josephine Earp", "Seth Gecko", "Medusa", "Izzie Stevens", "Jimmy Bond", "Grace Adler", "Billy Flynn", "Ben Urich", "Q"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Clarke Duncan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Daredevil"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Joe Pantoliano"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Daredevil\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Michael Clarke Duncan\" . ?e_2 <pred:name> \"Joe Pantoliano\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Ben Urich"}, {"question": "What band is a performer of Iron Man 2 that has AC/DC as a performer?", "choices": ["The Pretenders", "Jonas Brothers", "The Kinks", "Cradle of Filth", "Marillion", "Queens of the Stone Age", "Yes", "Dixie Chicks", "AC/DC", "Renaissance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AC/DC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man 2"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e_1 <performer> ?e . ?e_1 <pred:name> \"Iron Man 2\" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> \"AC/DC\" .   }", "answer": "AC/DC"}, {"question": "Which one has fewer kids, James A. Garfield or Liam Neeson ?", "choices": ["David Byrne", "Simon Cowell", "James E. Reilly", "Sylvester Stallone", "William Henry Harrison", "Rahul Dev Burman", "James A. Garfield", "Paul Simon", "Max Fleischer", "Liam Neeson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James A. Garfield"]}, {"function": "Find", "dependencies": [], "inputs": ["Liam Neeson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James A. Garfield\" .  } UNION { ?e <pred:name> \"Liam Neeson\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Liam Neeson"}, {"question": "Which PhilPapers topic designates the art movement classified by Dewey Decimal Classification as 142.78?", "choices": ["edmund-husserl", "existentialism", "mahatma-gandhi", "sigmund-freud", "thomas-hobbes", "ethics", "michel-foucault", "ralph-waldo-emerson", "architecture", "jacques-lacan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "142.78"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art movement"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PhilPapers topic"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art movement\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"142.78\" . ?e <PhilPapers_topic> ?pv .  }", "answer": "existentialism"}, {"question": "Is the shorter of the two Chris Cooper, at 180-centimetres in height, or Roger Taylor, with a record of 188\u2013140 in doubles?", "choices": ["Roger Taylor", "David Byrne", "William Henry Harrison", "Simon Cowell", "Max Fleischer", "Rahul Dev Burman", "Richard Gere", "Paul Simon", "Chris Cooper", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Cooper"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "180 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Roger Taylor"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["doubles record", "188\u2013140"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chris Cooper\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"180\"^^xsd:double . } UNION { ?e <pred:name> \"Roger Taylor\" . ?e <doubles_record> ?pv_2 . ?pv_2 <pred:value> \"188\u2013140\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chris Cooper"}, {"question": "Do the Scorpions have a Twitter username of officialasroma?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scorpions"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["officialasroma"]}], "sparql": "ASK { ?e <pred:name> \"Scorpions\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"officialasroma\" .  }", "answer": "no"}, {"question": "Which Patricia Neal work earned her a National Board of Review Award for Best Actress?", "choices": ["The Producers", "Beat It", "Entrapment", "The Asphalt Jungle", "Dirty Love", "Hud", "The Secret of My Success", "Wunderkind", "Diva Las Vegas", "Air Force One"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Board of Review Award for Best Actress"]}, {"function": "Find", "dependencies": [], "inputs": ["Patricia Neal"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"National Board of Review Award for Best Actress\" . ?e_2 <pred:name> \"Patricia Neal\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Hud"}, {"question": "Which human died in Perth (whose local dialing code is 08925) and was born in Melbourne (the birthplace of Scott McDonald)?", "choices": ["Sylvester Stallone", "Peter Cook", "Rahul Dev Burman", "Simon Baker", "Max Fleischer", "Richard Gere", "Simon Cowell", "David Byrne", "Flea", "Cate Blanchett"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Perth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "08925"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott McDonald"]}, {"function": "Relate", "dependencies": [4], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Melbourne"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "Relate", "dependencies": [7], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Perth\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"08925\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Melbourne\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Scott McDonald\" .  }", "answer": "Peter Cook"}, {"question": "Which person has ISNI 0000 0000 6387 673X?", "choices": ["William Henry Harrison", "Tsui Hark", "Sylvester Stallone", "Phil Ramone", "Peter Frampton", "Richard Gere", "Jessye Norman", "Craig Robinson", "Theodore Bikel", "Friedrich Nietzsche"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6387 673X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6387 673X\" .  }", "answer": "Phil Ramone"}, {"question": "What is the connection between Pyrus to polyunsaturated fat?", "choices": ["organizer", "writing system", "participant of", "followed by", "officeholder", "nutrient", "season starts", "main food source", "editor", "dedicated to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pyrus"]}, {"function": "Find", "dependencies": [], "inputs": ["polyunsaturated fat"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pyrus\" . ?e_2 <pred:name> \"polyunsaturated fat\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "Bryce Dallas Howard is cast as which character on Spider-Man 3, released on 2007-05-04?", "choices": ["Gwen Stacy", "Benjamin Gates", "Vincent Dwyer", "Tyrone C. Love", "Gus", "Angel Batista", "Owen Lars", "John Doggett", "Commodus", "cameo appearance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spider-Man 3"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-05-04", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bryce Dallas Howard"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Spider-Man 3\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2007-05-04\"^^xsd:date . ?e_2 <pred:name> \"Bryce Dallas Howard\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Gwen Stacy"}, {"question": "Is the weight of the person who was born in Camden under 115 kilograms?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Camden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["mass"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["115 kilogram", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Camden\" .  ?e <mass> ?pv . ?pv <pred:unit> \"kilogram\" . ?pv <pred:value> ?v . FILTER ( ?v < \"115\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "For what was In Bruges nominated for an Academy Award for Best Writing, Original Screenplay?", "choices": ["Cuba\u2013Soviet Union relations", "Brazil\u2013Nigeria relations", "Guinea\u2013Guinea-Bissau border", "Georgia\u2013Saudi Arabia relations", "Pakistan\u2013Taiwan relations", "81st Academy Awards", "Singapore\u2013Taiwan relations", "Monaco\u2013United States relations", "Canada\u2013Morocco relations", "Denmark\u2013Lithuania relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["In Bruges"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"In Bruges\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "81st Academy Awards"}, {"question": "Does Sony or the Internal Revenue Service employ a larger staff?", "choices": ["Sony", "Sega", "KLM", "Silver Pictures", "Skidmore Owings Merrill", "Pfizer", "Adobe Inc.", "Internal Revenue Service", "Vodafone", "McDonald's"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony"]}, {"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sony\" .  } UNION { ?e <pred:name> \"Internal Revenue Service\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sony"}, {"question": "When was Ben Foster of Manchester United F.C. born?", "choices": ["1916-11-16", "1987-11-05", "1956-11-27", "1983-04-03", "1910-07-04", "1905-04-28", "1956-02-20", "1948-07-12", "1939-02-03", "1965-12-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manchester United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ben Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ben Foster\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Manchester United F.C.\" .  ?e <date_of_birth> ?pv .  }", "answer": "1983-04-03"}, {"question": "When was the US city that is the capital of Monroe County (population 141255) founded?", "choices": ["1907-06-04", "1709-10-12", "1863-04-10", "1791-01-01", "1818", "1892-12-09", "1592", "1792-01-01", "1886-01-01", "1790-04-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monroe County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "141255", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Monroe County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"141255\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1818"}, {"question": "Is warriors the subreddit of a basketball team whose official website is http://www.nba.com/warriors/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nba.com/warriors/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["warriors"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nba.com/warriors/\" . ?e <subreddit> ?pv . ?pv <pred:value> \"warriors\" .  }", "answer": "yes"}, {"question": "What is the time period that 132624 is the population of the administrative territorial entity whose official website is http://www.douglascountygeorgia.com?", "choices": ["2010-07-01", "2805", "2018-06-22", "1891-01-01", "1858-12-01", "2010-01-17", "1958-03-26", "1840", "2014-12-31", "1983-04-11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.douglascountygeorgia.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "132624", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.douglascountygeorgia.com\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"132624\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Where was The Untouchables (the one that has Sean Connery as a cast member), published 1987-10-15, published?", "choices": ["Jordan", "Rio de Janeiro", "2003 Cannes Film Festival", "Germany", "2008 Toronto International Film Festival", "Taiwan", "Hong Kong", "Moscow", "Canada", "Bulgaria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sean Connery"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Untouchables"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1987-10-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Untouchables\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sean Connery\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1987-10-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was the silent film Vanity Fair published?", "choices": ["2007-10-18", "1996-11-20", "2004-08-27", "1996-12-27", "2005-12-22", "2016-07-28", "2007-08-14", "2002-01-03", "1923-03-25", "2001-09-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["silent film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vanity Fair"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Vanity Fair\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"silent film\" .  ?e <publication_date> ?pv .  }", "answer": "1923-03-25"}, {"question": "Where was the visual artwork whose official website is http://www.weboughtazoo.com/ published on 2012-05-03?", "choices": ["Colombia", "Germany", "Chile", "Toronto", "Slovakia", "Uruguay", "Japan", "Spain", "Portugal", "Toronto International Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.weboughtazoo.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2012-05-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.weboughtazoo.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-05-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When did the state whose demonym is gr\u00e6ker have a life expectancy of 79.93902 years?", "choices": ["2006-05-17", "1920-08-31", "1450", "2001-03-25", "1880-01-01", "1900-12-31", "2008", "1777", "2012-05-09", "1852-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "gr\u00e6ker"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["life expectancy", "79.93902 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"gr\u00e6ker\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"79.93902\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2008"}, {"question": "When did Steve Jobs (who is in the group of notable people with the condition of pancreatic cancer) stop being educated at Reed College?", "choices": ["1192", "2006-04-14", "1942-01-07", "1974", "1858", "1980-08-03", "1998-05-14", "1954-06-18", "1943", "2003-06-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pancreatic cancer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable people with this condition", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Jobs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Reed College"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Steve Jobs\" . ?e_3 <notable_people_with_this_condition> ?e_1 . ?e_3 <pred:name> \"pancreatic cancer\" . ?e_2 <pred:name> \"Reed College\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1974"}, {"question": "When was the person distinct from Pro Football Hall of Famer Jim Brown born?", "choices": ["1952-11-07", "1861-06-19", "1922-04-03", "1971-08-31", "1953-07-29", "1967-10-05", "1956-08-14", "1897-12-05", "1969-09-04", "1957-10-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pro Football Hall of Fame"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Jim Brown\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Pro Football Hall of Fame\" .  ?e <date_of_birth> ?pv .  }", "answer": "1956-08-14"}, {"question": "What person was nominated for the BAFTA Award for Best Film Music in 2003?", "choices": ["Sylvester Stallone", "James Horner", "Robbie Robertson", "Halle Berry", "Cory Doctorow", "Maurice Jarre", "Nino Rota", "Tony Shalhoub", "Max Fleischer", "Herbie Hancock"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Film Music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Film Music\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2003 .  }", "answer": "Robbie Robertson"}, {"question": "Which person has ISNI 0000 0000 0888 5545?", "choices": ["Jack Thompson", "John Stephenson", "Al Green", "Max Fleischer", "Neil Gaiman", "Dean Semler", "Thomas Hardy", "Elliott Smith", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0888 5545"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 0888 5545\" .  }", "answer": "Thomas Hardy"}, {"question": "What is the number of chemical elements that are different than selenium", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["selenium"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"selenium\" .   }", "answer": "0"}, {"question": "What is the California county whose Dewey Decimal Classification is 2--79446?", "choices": ["Butte County", "Lake County", "Orange County", "Kern County", "Solano County", "Alameda County", "Tulare County", "Mariposa County", "Contra Costa County", "San Bernardino County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--79446"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--79446\" .  }", "answer": "Mariposa County"}, {"question": "Which silent film set in Paris, whose IATA airport code is PAR, has the longest run-time?", "choices": ["The Last of the Mohicans", "Paris", "Rebecca", "Hamlet", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Talk to Her", "The Scarlet Letter", "Little Women"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IATA airport code", "PAR"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["silent film"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Paris\" . ?e_1 <IATA_airport_code> ?pv_1 . ?pv_1 <pred:value> \"PAR\" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Hunchback of Notre Dame"}, {"question": "Was a person, included among Tottenham Hotspur F.C.'s members until 1995, born after 1941?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tottenham Hotspur F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "1995", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1941", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Tottenham Hotspur F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1995 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1941 ) .  }", "answer": "yes"}, {"question": "How many users does a person, whose official website is  http://www.williamorbit.com, have on his Twitter username WilliamOrbit ?", "choices": ["876", "2837353", "197526", "9", "2627525", "89032", "34450", "124408", "553", "50721"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.williamorbit.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "WilliamOrbit", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.williamorbit.com\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"WilliamOrbit\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "9"}, {"question": "Which Iconclass notation denotes the product with the pronunciation audio Be-\u0446\u0443\u043a\u0430\u0440.ogg?", "choices": ["44F553", "48C2", "14A", "25H199", "44B151211", "24C19", "11P221", "46C162", "11F", "41C63"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Be-\u0446\u0443\u043a\u0430\u0440.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Iconclass notation"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"Be-\u0446\u0443\u043a\u0430\u0440.ogg\" . ?e <Iconclass_notation> ?pv .  }", "answer": "41C63"}, {"question": "When was Everett with a population of 732962 in Washington county started?", "choices": ["2002-01-01", "2017-02-13", "2013-04-13", "1851-12-31", "1849-12-01", "2001-04-11", "2005-11-01", "1821", "2016-07-01", "2012-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "732962", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Everett\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"732962\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Who was born in Oakville and weighs over 180 pounds?", "choices": ["John Abraham", "John Hughes", "David Byrne", "Sylvester Stallone", "Scott Wilson", "William Henry Harrison", "James Brown", "Richard Gere", "Michael Jackson", "Kevin McCarthy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "180 pound", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Oakville"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <mass> ?pv . ?pv <pred:unit> \"pound\" . ?pv <pred:value> ?v . FILTER ( ?v > \"180\"^^xsd:double ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Oakville\" .  }", "answer": "Scott Wilson"}, {"question": "Which language is associated with http://www.ea.com/harry-potter, the official website of the activity whose Nintendo GameID is R5PX69?", "choices": ["Montenegrin", "Navajo", "Canadian French", "French", "Latin script", "Russian", "Serbian", "Latin", "English", "Irish"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "R5PX69"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.ea.com/harry-potter", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv_1 . ?pv_1 <pred:value> \"R5PX69\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ea.com/harry-potter\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is Don McKellar related to Toronto?", "choices": ["set in period", "father", "genre", "political alignment", "applies to jurisdiction", "voice actor", "dialect of", "place of birth", "officeholder", "is a list of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don McKellar"]}, {"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Don McKellar\" . ?e_2 <pred:name> \"Toronto\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How was the population of 114234 determined for Mercer County in Pennsylvania?", "choices": ["demographic balance", "extrapolation", "administrative division valid at the time point of history to which the data relates", "administrative division valid at the moment of publication", "population projection", "Yemen General Census of Population, Housing and Establishments 2004", "de facto", "average", "de jure", "Canada 2011 Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mercer County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "114234", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Mercer County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Pennsylvania\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"114234\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "Is Alexander's (the one whose Dictionary of Medieval Names from European Sources entry is Alexander),  Caverphone, ANTSN1?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexander"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dictionary of Medieval Names from European Sources entry", "Alexander"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Caverphone"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["ANTSN1"]}], "sparql": "ASK { ?e <pred:name> \"Alexander\" . ?e <Dictionary_of_Medieval_Names_from_European_Sources_entry> ?pv_1 . ?pv_1 <pred:value> \"Alexander\" . ?e <Caverphone> ?pv . ?pv <pred:value> \"ANTSN1\" .  }", "answer": "no"}, {"question": "Where was For the Island, whose script was written by Roberto Orci, published on 2005-07-22?", "choices": ["Lithuania", "Latvia", "Bolivia", "Spain", "United States of America", "Taiwan", "New York City", "Belgium", "Telluride Film Festival", "Philippines"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roberto Orci"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Island"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2005-07-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Island\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Roberto Orci\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2005-07-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Which has the longest event distance among the activities whose event distance is not 3460 kilometers?", "choices": ["rape", "music video game", "2009 Tour de France", "2008 Tour de France", "Guitar Hero 5", "Batman", "journalism", "kidnapping", "Dark Horse Comics", "Harry Potter and the Half-Blood Prince"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["event distance", "3460 kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["event distance", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <event_distance> ?pv_1 . ?pv_1 <pred:unit> \"kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"3460\"^^xsd:double ) . ?e <event_distance> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "2008 Tour de France"}, {"question": "Which mountain range whose elevation above sea level is over 80 meters has the highest elevation above sea level?", "choices": ["Graham Greene", "Sierra Nevada", "Alps", "Cascade Range", "Pyrenees", "Himalayas", "Pennine Alps", "Appalachian Mountains", "Blue Ridge Mountains", "Adirondack Mountains"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "80 metre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"80\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Himalayas"}, {"question": "What have The Kinks to do with pop rock?", "choices": ["follows", "operating system", "exported to", "general manager", "approved by", "godparent", "famous people", "worshipped by", "feast day", "original film format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "Find", "dependencies": [], "inputs": ["The Kinks"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"pop rock\" . ?e_2 <pred:name> \"The Kinks\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What U.S. liberal-arts college is David Mamet's school and registered with the IRS?", "choices": ["St. Olaf College", "Sarah Lawrence College", "Antioch College", "Colby College", "Manhattan College", "Centre College", "Washington & Jefferson College", "Franklin & Marshall College", "Goddard College", "Earlham College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Mamet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college in the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Internal Revenue Service"]}, {"function": "Relate", "dependencies": [3], "inputs": ["registered with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["liberal arts college in the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college in the United States\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"David Mamet\" .  ?e <registered_with> ?e_2 . ?e_2 <pred:name> \"Internal Revenue Service\" .  }", "answer": "Goddard College"}, {"question": "Hellboy that was released in Norway is followed by what visual artwork?", "choices": ["Pleasantville", "Kiss", "The Hangover Part II", "Angel", "Rebecca", "Hellboy II: The Golden Army", "Blues Brothers 2000", "The Damned", "The Dark Knight Rises", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norway"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hellboy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Hellboy\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Norway\" .   }", "answer": "Hellboy II: The Golden Army"}, {"question": "How long is the movie Carnage?", "choices": ["2713 second", "101 minute", "196 minute", "2477 second", "90 minute", "2396 second", "139.0 minute", "80 minute", "143 minute", "15 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Carnage"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Carnage\" . ?e <duration> ?pv .  }", "answer": "80 minute"}, {"question": "What is the role of Guernsey on the English Channel, which is distinct from the Guernsey occupying 63.4 square kilometers?", "choices": ["winter sport", "island", "three-phase electric power", "touring band member", "location identifier part of a library identifier code", "player character", "lower house", "uncredited appearance", "band member", "leading actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English Channel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located on terrain feature", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Guernsey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Guernsey"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["area", "63.4 square kilometre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["different from", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Guernsey\" . ?e_1 <located_on_terrain_feature> ?e_3 . ?e_3 <pred:name> \"English Channel\" . ?e_2 <pred:name> \"Guernsey\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"63.4\"^^xsd:double . ?e_1 <different_from> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <different_from> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "island"}, {"question": "Which is longer, War and Peace with Henry Fonda or Armageddon with Ben Affleck?", "choices": ["Armageddon", "Rebecca", "War and Peace", "Curse of the Golden Flower", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Towering Inferno", "Pleasantville", "Talk to Her", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry Fonda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ben Affleck"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Armageddon"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"War and Peace\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Henry Fonda\" .   } UNION { ?e <pred:name> \"Armageddon\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Ben Affleck\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "War and Peace"}, {"question": "What is the platform of the Blu-ray Disc distribution format of Shrek Forever After (that uses the English language)?", "choices": ["PlayStation 3", "Cleveland Cavaliers", "Nintendo Entertainment System", "16277", "Xbox 360", "988", "PlayStation 2", "Orthodox Christianity", "Microsoft Windows", "Gibson Flying V"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shrek Forever After"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Blu-ray Disc"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["distribution", "platform"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shrek Forever After\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Blu-ray Disc\" . ?e_1 <distribution> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <distribution> ; <pred:fact_t> ?e_2 ] <platform> ?qpv .  }", "answer": "PlayStation 3"}, {"question": "How many counties of maryland are there whose population is not equal to 0.3?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "0.3", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maryland"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0.3\"^^xsd:double ) .  }", "answer": "13"}, {"question": "Which area is larger, Salzburg (the one that is the headquarter location of FC Red Bull Salzburg) or Marseille?", "choices": ["Stuttgart", "Bordeaux", "Fort Smith", "Dnipro", "Aachen", "Halle (Saale)", "Wuppertal", "Salzburg", "Marseille", "Lyon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Red Bull Salzburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Salzburg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Marseille"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Salzburg\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"FC Red Bull Salzburg\" .   } UNION { ?e <pred:name> \"Marseille\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marseille"}, {"question": "Which movie is shorter, Ice Age: Dawn of the Dinosaurs (the one that has Denis Leary as a voice actor) or Mobile Suit Gundam: Char's Counterattack?", "choices": ["Ice Age: Dawn of the Dinosaurs", "Renaissance", "Shrek 2", "The Rescuers", "WALL\u00b7E", "Beauty and the Beast", "Peter Pan", "Lilo & Stitch", "Winnie the Pooh", "Mobile Suit Gundam: Char's Counterattack"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denis Leary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ice Age: Dawn of the Dinosaurs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mobile Suit Gundam: Char's Counterattack"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ice Age: Dawn of the Dinosaurs\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Denis Leary\" .   } UNION { ?e <pred:name> \"Mobile Suit Gundam: Char's Counterattack\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ice Age: Dawn of the Dinosaurs"}, {"question": "Tell me the video game developer that has the Twitter username bnam_jp.", "choices": ["Blizzard Entertainment", "Atari", "FromSoftware", "Bandai Namco Amusement", "Natsume", "Interplay Entertainment", "Sonic Team", "Majesco Entertainment", "U.S. Gold", "Irem"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "bnam_jp"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"bnam_jp\" .  }", "answer": "Bandai Namco Amusement"}, {"question": "What method is used to determine that 607111 is the population of the Texas county whose capital is Richmond (that is the capital of Fort Bend County)?", "choices": ["Population registration in Sweden", "register office", "United Kingdom Census 1991", "rated voltage", "Family record booklet", "United Kingdom Census 2001", "2000 United States Census", "estimation process", "extrapolation", "national estimation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Bend County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richmond"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "607111", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Richmond\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"Fort Bend County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"607111\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the ISNI of the person born in Dehradun?", "choices": ["0000 0001 1452 3898", "0000 0001 2128 3781", "0000 0001 1450 1541", "0000 0001 2147 5994", "0000 0001 2238 1295", "0000 0003 8345 9388", "0000 0000 4534 2937", "0000 0001 1451 2662", "0000 0000 8085 9077", "0000 0004 0470 5905"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dehradun"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Dehradun\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 4534 2937"}, {"question": "What's the connection between Even Cowgirls Get the Blues and Pat Morita?", "choices": ["winner", "set in period", "educated at", "doctoral advisor", "studies", "patron saint", "film release region", "location of final assembly", "cast member", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Even Cowgirls Get the Blues"]}, {"function": "Find", "dependencies": [], "inputs": ["Pat Morita"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Even Cowgirls Get the Blues\" . ?e_2 <pred:name> \"Pat Morita\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is the MCN code of a product, whose pronunciation audio in French is Fr-viande bovine.ogg, 1702.40.10 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "Fr-viande bovine.ogg"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "French"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["product"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["MCN code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["1702.40.10"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> \"Fr-viande bovine.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"French\" . ?e <MCN_code> ?pv . ?pv <pred:value> \"1702.40.10\" .  }", "answer": "no"}, {"question": "When was the Nebula Award for Best Short Story established?", "choices": ["1800-03-12", "1650", "1978", "1965-04-08", "1967", "-782", "1913-03-15", "1966", "1818-12-15", "1895-11-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nebula Award for Best Short Story"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Nebula Award for Best Short Story\" . ?e <inception> ?pv .  }", "answer": "1966"}, {"question": "What is the ISNI of the person whose birth name is \u0ba8\u0bbe\u0b95\u0bc7\u0bb8\u0bcd\u0bb5\u0bb0\u0ba9\u0bcd?", "choices": ["0000 0003 6857 1283", "0000 0001 2295 5703", "0000 0001 2282 5749", "0000 0004 0555 6964", "0000 0004 0508 6616", "0000 0001 0672 1122", "0000 0004 0509 5547", "0000 0001 1456 7807", "0000 0000 4833 9303", "0000 0001 2117 5211"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "\u0ba8\u0bbe\u0b95\u0bc7\u0bb8\u0bcd\u0bb5\u0bb0\u0ba9\u0bcd"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"\u0ba8\u0bbe\u0b95\u0bc7\u0bb8\u0bcd\u0bb5\u0bb0\u0ba9\u0bcd\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 4833 9303"}, {"question": "What is the Instagram username of the person whose birth name is Paris Whitney Hilton?", "choices": ["kobebryant", "acmilan", "equipedefrance", "parishilton", "katebeckinsale", "johnmellencampofficial", "ceelogreen", "sixers", "zenit_spb", "arsenal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Paris Whitney Hilton"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Paris Whitney Hilton\" . ?e <Instagram_username> ?pv .  }", "answer": "parishilton"}, {"question": "Is the FIPS 6-4 (US counties) of Windsor County equal to 50027?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Windsor County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["50027"]}], "sparql": "ASK { ?e <pred:name> \"Windsor County\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"50027\" .  }", "answer": "yes"}, {"question": "Is a10072470 the CANTIC-ID of the person who was born on 1904-07-24?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1904-07-24", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["a10072470"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1904-07-24\"^^xsd:date . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10072470\" .  }", "answer": "yes"}, {"question": "What is Lebanon's time point, Lebanon being a country with a 2.225 total fertility rate and a life expectancy of 74.934 years?", "choices": ["1869", "2010-04-01", "1777", "1939-01-01", "2016-02-13", "2010-02-01", "1981", "2003-06-26", "2000", "1963"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lebanon"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "74.934 year", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["total fertility rate", "2.225", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Lebanon\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> \"74.934\"^^xsd:double . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2.225\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "At what point in time is 977129 the population of the administrative territorial entity whose capital is Atlanta (the birthplace of Lil Jon)?", "choices": ["2015-08-01", "1981-01-01", "1966-01-01", "1781", "2017-07-06", "-1000", "2012-06-06", "2012-07-01", "2019-03-02", "1996-02-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lil Jon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlanta"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "977129", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Atlanta\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Lil Jon\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"977129\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Is 5100 not the population as of the date 2010-04-01 for the California county containing Richmond (whose year of establishment is 1905)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richmond"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1905", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of California"]}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["population", "point in time", "2010-04-01"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["5100", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Richmond\" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:year> 1905 . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5100\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2010-04-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "Does the real property that is the narrative location of King Kong (the one whose production company is RKO Pictures), have its inception time not in 1870?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RKO Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["King Kong"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["real property"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1870", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"real property\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"King Kong\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"RKO Pictures\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1870 ) .  }", "answer": "yes"}, {"question": "What is the site of the diplomatic mission of Germany that has a diplomatic association with Guyana?", "choices": ["Embassy of Germany, Abidjan", "Embassy of Germany, Maputo", "Embassy of South Korea, Tokyo", "Embassy of Ukraine, New Delhi", "Embassy of Germany, Port of Spain", "Embassy of Ukraine, Baghdad", "Australian Consulate-General in Bogota, Colombia", "Embassy of Ukraine, Yerevan", "Embassy of France, Rome", "Australian Consulate in Sofia, Bulgaria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Guyana"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "diplomatic mission sent"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Germany\" . ?e_2 <pred:name> \"Guyana\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <diplomatic_mission_sent> ?qpv .  }", "answer": "Embassy of Germany, Port of Spain"}, {"question": "When did Santa Rosa have a population of 167815?", "choices": ["1840", "2003-08-01", "1967-12-01", "1975-05-19", "2005-02-01", "1808", "1975-10-01", "1993-11-19", "1977-01-01", "2010-04-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Rosa"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "167815", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Santa Rosa\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"167815\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Which metropolitan borough's official website is http://www.bury.gov.uk?", "choices": ["Sheffield", "Birmingham", "Rochdale", "Bury", "St Helens", "Leeds", "Solihull", "Newcastle upon Tyne", "Stockport", "Bradford"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.bury.gov.uk"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["metropolitan borough"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan borough\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.bury.gov.uk\" .  }", "answer": "Bury"}, {"question": "Which border does South Dakota have in common with Minnesota, where Saint Paul is the capital?", "choices": ["Minnesota\u2013South Dakota border", "Denmark\u2013Nicaragua relations", "Laos\u2013Malaysia relations", "30th Tony Awards", "Australia\u2013Malaysia relations", "Denmark\u2013Italy relations", "Slovakia\u2013United States relations", "China\u2013Iraq relations", "Liechtenstein\u2013Switzerland relations", "Australia\u2013Netherlands relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Paul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["South Dakota"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Minnesota\" . ?e_1 <capital> ?e_3 . ?e_3 <pred:name> \"Saint Paul\" . ?e_2 <pred:name> \"South Dakota\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Minnesota\u2013South Dakota border"}, {"question": "In what language is the official website for Prince William County at http://www.pwcgov.org/?", "choices": ["Icelandic", "Montenegrin", "English", "Georgian", "Slavic languages", "Tamil", "Austrian German", "Hindi", "Armenian", "Ukrainian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prince William County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.pwcgov.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Prince William County\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pwcgov.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is 049 the Finnish municipality number of the city whose population is 32056?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "32056", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Finnish municipality number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["049"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"32056\"^^xsd:double . ?e <Finnish_municipality_number> ?pv . ?pv <pred:value> \"049\" .  }", "answer": "no"}, {"question": "What is the relation between James Garner (the one that was nominated for the Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie) and the Korean War?", "choices": ["conflict", "occupant", "award received", "does not have part", "signatory", "hair color", "programming language", "drafted by", "territory claimed by", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Garner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Korean War"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James Garner\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie\" . ?e_2 <pred:name> \"Korean War\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "Of New York cities in Nassau County, which has the lowest population count?", "choices": ["White Plains", "Yonkers", "Troy", "Ithaca", "Elmira", "Utica", "Syracuse", "Auburn", "Glens Falls", "Glen Cove"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nassau County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Nassau County\" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Glen Cove"}, {"question": "Is the movie titled \u7121\u9593\u9053III\uff1a\u7d42\u6975\u7121\u9593, 0.9 academic terms long ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u7121\u9593\u9053III\uff1a\u7d42\u6975\u7121\u9593"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0.9 academic term", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u7121\u9593\u9053III\uff1a\u7d42\u6975\u7121\u9593\" . ?e <duration> ?pv . ?pv <pred:unit> \"academic term\" . ?pv <pred:value> \"0.9\"^^xsd:double .  }", "answer": "no"}, {"question": "How many video game developers whose operating income are not 70,000,000 Czech Koruna?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["operating income", "70000000 Czech koruna", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <operating_income> ?pv . ?pv <pred:unit> \"Czech koruna\" . ?pv <pred:value> ?v . FILTER ( ?v != \"70000000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "How is Ryan's Daughter related to Robert Bolt?", "choices": ["member of", "contributor(s) to the creative work", "capital of", "game mode", "sibling", "screenwriter", "edition or translation of", "narrative location", "followed by", "home world"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan's Daughter"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Bolt"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ryan's Daughter\" . ?e_2 <pred:name> \"Robert Bolt\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "What is the date of birth for the person who died in Frankfort?", "choices": ["1954-06-20", "1976-12-29", "1949-11-28", "1941-05-19", "1907-10-05", "1989-09-17", "1917-06-07", "1747-01-01", "1959-04-30", "1967-12-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankfort"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Frankfort\" .  ?e <date_of_birth> ?pv .  }", "answer": "1747-01-01"}, {"question": "Regarding the animated feature film that has official website https://www.pixar.com/feature-films/toy-story, and was published on 1995-11-22, where was it published?", "choices": ["2008 Toronto International Film Festival", "Sweden", "Johannesburg", "United States of America", "Berlin International Film Festival", "Hungary", "Panama", "Belgium", "Toronto International Film Festival", "Washington, D.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.pixar.com/feature-films/toy-story"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1995-11-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.pixar.com/feature-films/toy-story\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1995-11-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "When did  Queen (the one whose genre is adventure film) receive the Filmfare Award for Best Film?", "choices": ["1829-01-01", "1944-03-02", "2002-05-01", "2006-01-18", "1840", "2017-02-01", "1880-01-01", "2015", "2018-12-31", "2014-06-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Queen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Queen\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"adventure film\" . ?e_2 <pred:name> \"Filmfare Award for Best Film\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Is the soundtrack album with a playing time exceeding 30 minutes titled S\u00fct ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "30 minute", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["S\u00fct"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"30\"^^xsd:double ) . ?e <title> ?pv . ?pv <pred:value> \"S\u00fct\" .  }", "answer": "no"}, {"question": "Which website represents the movie with Alicia Keys in its cast?", "choices": ["http://www.smokinaces.net", "http://www.presidencia.gob.ec/", "http://www.hns-cff.hr", "http://richardpryor.com", "http://www.whip-it.net/", "http://www.ewashtenaw.org", "http://www.mariettaga.gov", "http://www.smtown.com", "http://www.ofc.de/", "http://www.roughtraderecords.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alicia Keys"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Alicia Keys\" .  ?e <official_website> ?pv .  }", "answer": "http://www.smokinaces.net"}, {"question": "Is 1962 not the correct birth date for the person who's known as Nelson Riddle in native language?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Nelson Riddle"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1962", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Nelson Riddle\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1962 ) .  }", "answer": "yes"}, {"question": "How is Warner Bros. related to UPN?", "choices": ["notable people with this condition", "genre", "copyright representative", "has quality", "works in collection", "next lower rank", "owner of", "designed by", "programming language", "musical conductor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Find", "dependencies": [], "inputs": ["UPN"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Warner Bros.\" . ?e_2 <pred:name> \"UPN\" . ?e_1 ?p ?e_2 .  }", "answer": "owner of"}, {"question": "What is Jared Harris's date of birth?", "choices": ["1907-03-26", "1940-11-15", "1916-07-27", "1975-05-26", "1940-11-12", "1946-10-18", "1924-02-19", "1916-02-26", "1962-09-29", "1961-08-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jared Harris"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jared Harris\" . ?e <date_of_birth> ?pv .  }", "answer": "1961-08-24"}, {"question": "When was U2 member The Edge born?", "choices": ["1891-05-28", "1922-04-03", "1969-08-10", "1895-03-11", "1956-11-19", "1964-02-08", "1885-02-11", "1770-12-17", "1981-05-18", "1961-08-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["U2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Edge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Edge\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"U2\" .  ?e <date_of_birth> ?pv .  }", "answer": "1961-08-08"}, {"question": "Does the visual artwork that has the website http://www.sonyclassics.com/orlando/ have an exploitation Visa exactly 100436?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonyclassics.com/orlando/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["exploitation visa number"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["100436"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sonyclassics.com/orlando/\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"100436\" .  }", "answer": "no"}, {"question": "What is the street address of the iHeartMedia's headquarter which has located at San Antonio with population of 1327407?", "choices": ["200 East Basse Road", "101 Jessup Hall", "Cowley Place", "Southern Avenue, Memphis, TN, 38152", "Columbia-Campus, Columbia, SC, 29208", "409 Prospect Street", "Massachusetts Hall", "8000 York Rd, Towson, MD, 21252-0001", "Malet Street, Bloomsbury", "1501 W.Chestnut Ave., Denton, TX, 76203-1277"], "program": [{"function": "Find", "dependencies": [], "inputs": ["iHeartMedia"]}, {"function": "Find", "dependencies": [], "inputs": ["San Antonio"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "1327407", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"iHeartMedia\" . ?e_2 <pred:name> \"San Antonio\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1327407\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "200 East Basse Road"}, {"question": "How is Carroll County that shares border with Grafton County related to New Hampshire?", "choices": ["movement", "exclave of", "uses", "residence", "next higher rank", "highest judicial authority", "manner of death", "located in the administrative territorial entity", "famous people", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grafton County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carroll County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New Hampshire"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Carroll County\" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> \"Grafton County\" . ?e_2 <pred:name> \"New Hampshire\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What is the official website for the basketball team that runs the Twitter account \"celtics\"?", "choices": ["http://www.ucsb.edu", "http://www.billwyman.com/", "http://www.enid.org", "http://www.celtics.com/", "http://www.dundee.ac.uk/", "http://www.epicgames.com/", "http://www.fultoncountyga.gov", "http://www.skidmore.edu/", "http://www.sarahpolley.org/", "http://www.co.jefferson.ny.us"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "celtics"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"celtics\" . ?e <official_website> ?pv .  }", "answer": "http://www.celtics.com/"}, {"question": "Which character is Peter Gallagher cast as on The O.C.?", "choices": ["Poison Ivy", "Vito Corleone", "Sandy Cohen", "Krusty the Clown", "Storm", "Maid Marian", "Dieter Reinhardt", "D'Artagnan", "Bud Fox", "Izzie Stevens"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The O.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Gallagher"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The O.C.\" . ?e_2 <pred:name> \"Peter Gallagher\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Sandy Cohen"}, {"question": "Which person earned an Academy Award for Best Actor for work on Stalag 17?", "choices": ["Colin Firth", "Spencer Tracy", "Max Fleischer", "William Holden", "Richard Gere", "Al Pacino", "Lionel Barrymore", "Daniel Day-Lewis", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Stalag 17"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Stalag 17\" .  }", "answer": "William Holden"}, {"question": "What city's official name is Nassau?", "choices": ["Nassau", "Santiago de Cuba", "Madrid", "Kilkenny", "Rawalpindi", "Bonn", "Trieste", "Pisa", "Kingston", "Cork"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Nassau"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_name> ?pv . ?pv <pred:value> \"Nassau\" .  }", "answer": "Nassau"}, {"question": "How many subscribers does the Twitter username London2012 which is associated with the Summer Olympic Games have?", "choices": ["751", "156845", "56966", "1958519", "106576", "39668", "1531870", "80556", "72802", "1276502"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of participants", "11000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "London2012", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <number_of_participants> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"11000\"^^xsd:double ) . ?e <Twitter_username> ?pv . ?pv <pred:value> \"London2012\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1276502"}, {"question": "Which ISNI corresponds to the cast member of Sailor Moon Super S: The Movie in the role of Usagi Tsukino?", "choices": ["0000 0001 0736 549X", "0000 0004 0521 5764", "0000 0000 8700 0572", "0000 0004 0423 2167", "0000 0000 4703 1104", "0000 0004 2757 0951", "0000 0001 1568 7085", "0000 0004 0439 4713", "0000 0001 2188 3760", "0000 0001 0877 4113"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sailor Moon Super S: The Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["character role", "Usagi Tsukino"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Sailor Moon Super S: The Movie\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"Usagi Tsukino\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0736 549X"}, {"question": "When was Kiefer Sutherland up for a Primetime Emmy as the nominee for Outstanding Lead Actor in a Miniseries or a Movie?", "choices": ["2008-12-31", "2016-03-31", "2009", "1980-01-01", "2004-02-29", "2016-04-07", "1975-04-08", "2002-07-08", "1997-10-17", "2009-05-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kiefer Sutherland"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kiefer Sutherland\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Georgia, with a 1.592 total fertility rate, has what connection to Mexico?", "choices": ["is a list of", "feast day", "film distribute region", "has edition", "distribution", "basin country", "sexual orientation", "quotes work", "cast member", "diplomatic relation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "1.592", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Georgia\" . ?e_1 <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.592\"^^xsd:double . ?e_2 <pred:name> \"Mexico\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "What person died on 2000-04-06?", "choices": ["Sylvester Stallone", "Aasif Mandvi", "Arthur Rankin Jr.", "Max Fleischer", "Erich Wolfgang Korngold", "Don Johnson", "Paul Gross", "Richard Gere", "Douglas Fairbanks", "Dr. John"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2000-04-06", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:date> \"2000-04-06\"^^xsd:date .  }", "answer": "Don Johnson"}, {"question": "What visual artwork has the official website http://www.novembermovie.com/ and the distributor Sony Pictures Classics?", "choices": ["Talk to Her", "Rachel Getting Married", "Pleasantville", "A Prairie Home Companion", "November", "The Fifth Element", "Take Shelter", "Training Day", "Rebecca", "The Last Station"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.novembermovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Sony Pictures Classics"]}, {"function": "Relate", "dependencies": [3], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.novembermovie.com/\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Sony Pictures Classics\" .  }", "answer": "November"}, {"question": "What person is a member of Port Vale F.C. having scored 0 points and was born on 1962-07-29?", "choices": ["David Byrne", "Andy Williams", "Sylvester Stallone", "Rahul Dev Burman", "Dean Martin", "William Henry Harrison", "Chris Martin", "Simon Cowell", "Richard Gere", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Port Vale F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of points/goals/set scored", "0", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [4], "inputs": ["date of birth", "1962-07-29", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Port Vale F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"0\"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1962-07-29\"^^xsd:date .  }", "answer": "Andy Williams"}, {"question": "How was a population size of 24416 figured for the independent city bordering Augusta County?", "choices": ["estimation", "FIFA World Rankings", "average", "demographic balance", "administrative division valid at the moment of publication", "2016 Australian census", "United Kingdom Census 1971", "Taqdir", "questionnaire", "middle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Augusta County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "24416", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Augusta County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"24416\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "Which person has less children, Giovanni Ribisi or Lucy Lawless?", "choices": ["James E. Reilly", "Lucy Lawless", "Paul Simon", "Simon Cowell", "Max Fleischer", "David Byrne", "William Henry Harrison", "Sylvester Stallone", "Giovanni Ribisi", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giovanni Ribisi"]}, {"function": "Find", "dependencies": [], "inputs": ["Lucy Lawless"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Giovanni Ribisi\" .  } UNION { ?e <pred:name> \"Lucy Lawless\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Giovanni Ribisi"}, {"question": "Which movie is longer, The Mummy (the one whose publication date is 1959-01-01) or Luther (the one whose production company is Australian Broadcasting Corporation)?", "choices": ["The Late Shift", "All Quiet on the Western Front", "The Challenge", "The Three Musketeers", "Shackleton", "A Streetcar Named Desire", "A Christmas Carol", "The Mummy", "The Goodbye Girl", "Luther"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mummy"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1959-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Australian Broadcasting Corporation"]}, {"function": "Relate", "dependencies": [2], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Luther"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Mummy\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1959-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Luther\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Australian Broadcasting Corporation\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Luther"}, {"question": "The person with ISNI # 0000 0000 7845 0862 was a recipient at which awards ceremony?", "choices": ["Broadcast Film Critics Association Award for Best Young Performer", "Broadcast Film Critics Association Awards 2001", "Satellite Awards 2009", "16th Screen Actors Guild Awards", "MTV Movie Award for Best Scared-As-S**t Performance", "38th People's Choice Awards", "13th Screen Actors Guild Awards", "Broadcast Film Critics Association Awards 2009", "2010 Australian Film Institute Awards", "2001 Grammy Awards"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7845 0862"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["award ceremony"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7845 0862\" .   }", "answer": "Broadcast Film Critics Association Awards 2001"}, {"question": "Carrie-Anne Moss is cast as what character on The Matrix?", "choices": ["Donkey", "Norman Bates", "Principal Skinner", "Heimdall", "Luca the Octopus", "Trinity", "Hikaru Sulu", "Uhura", "Doctor Doppler", "V"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Matrix"]}, {"function": "Find", "dependencies": [], "inputs": ["Carrie-Anne Moss"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Matrix\" . ?e_2 <pred:name> \"Carrie-Anne Moss\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Trinity"}, {"question": "Is duranduran the Twitter username for Duran Duran?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duran Duran"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["duranduran"]}], "sparql": "ASK { ?e <pred:name> \"Duran Duran\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"duranduran\" .  }", "answer": "yes"}, {"question": "Which language is used on the pronunciation audio LL-Q5146 (por)-NMaia-T\u00f3quio.wav, corresponding to the city that occupies 622 square km?", "choices": ["Bashkir", "Danish", "Portuguese", "Croatian", "Hungarian", "Indian English", "Chinese", "Macedonian", "Serbian", "Atikamekw"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "622 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pronunciation audio", "LL-Q5146 (por)-NMaia-T\u00f3quio.wav", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"622\"^^xsd:double . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"LL-Q5146 (por)-NMaia-T\u00f3quio.wav\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Portuguese"}, {"question": "Is The People vs. Larry Flynt or Lara Croft: Tomb Raider shorter?", "choices": ["Training Day", "Curse of the Golden Flower", "A Prairie Home Companion", "The People vs. Larry Flynt", "The Fifth Element", "The Hunchback of Notre Dame", "Talk to Her", "Rebecca", "Lara Croft: Tomb Raider", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The People vs. Larry Flynt"]}, {"function": "Find", "dependencies": [], "inputs": ["Lara Croft: Tomb Raider"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The People vs. Larry Flynt\" .  } UNION { ?e <pred:name> \"Lara Croft: Tomb Raider\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lara Croft: Tomb Raider"}, {"question": "What is the connection between Oldham Athletic A.F.C. to United Kingdom?", "choices": ["subject has role", "employer", "country", "spouse", "nutrient", "theme music", "position held", "professorship", "filmography", "student of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oldham Athletic A.F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oldham Athletic A.F.C.\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between guitar to Steve Winwood?", "choices": ["sibling", "doctoral advisor", "has quality", "exported to", "conferred by", "military casualty classification", "copyright holder", "famous people", "located on astronomical location", "legislative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Winwood"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"guitar\" . ?e_2 <pred:name> \"Steve Winwood\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the connection between The Aristocrats to Billy Connolly?", "choices": ["cast member", "participant", "rector", "location", "archives at", "shares border with", "official symbol", "legislative body", "award disciplines or subjects", "part of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Aristocrats"]}, {"function": "Find", "dependencies": [], "inputs": ["Billy Connolly"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Aristocrats\" . ?e_2 <pred:name> \"Billy Connolly\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is dbacks the Instagram username of Politecnico di Milano?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Politecnico di Milano"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["dbacks"]}], "sparql": "ASK { ?e <pred:name> \"Politecnico di Milano\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"dbacks\" .  }", "answer": "no"}, {"question": "What is the official website for the person with CANTIC-ID a11158451?", "choices": ["http://www.pulitzer.org/", "http://www.bfa.bh/bfa.bh/en/club/national-team/senior-team", "http://www.johncusack.net", "http://www.umich.edu", "https://www.nhl.com/blues", "http://catherinezetajones.com/", "http://www.law.umich.edu/", "http://www.royorbison.com", "http://miguelferrer.com", "http://www.fig-gymnastics.com/site/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11158451"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11158451\" . ?e <official_website> ?pv .  }", "answer": "http://miguelferrer.com"}, {"question": "Is richardbranson the Twitter username of the person whose CANTIC-ID is a11092075?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11092075"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["richardbranson"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11092075\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"richardbranson\" .  }", "answer": "yes"}, {"question": "What is the Stack Exchange Tag for the class of instruments where an instrument used by Nelson Riddle falls into ?", "choices": ["https://stackoverflow.com/tags/unix", "https://travel.stackexchange.com/tags/canada", "https://stackoverflow.com/tags/gpl", "https://wordpress.stackexchange.com/tags/windows", "https://stackoverflow.com/tags/havok", "https://tex.stackexchange.com/tags/windows", "https://music.stackexchange.com/tags/trombone", "https://unix.stackexchange.com/tags/php", "https://anime.stackexchange.com/tags/osamu-tezuka", "https://stackoverflow.com/tags/c%2B%2B"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nelson Riddle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of instruments"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Stack Exchange tag"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Nelson Riddle\" .  ?e <Stack_Exchange_tag> ?pv .  }", "answer": "https://music.stackexchange.com/tags/trombone"}, {"question": "which work was awarded for Michelangelo antonioni who was nominated for National Society of film critics Award for best director.", "choices": ["Love Theme from Romeo and Juliet", "Palestine", "Johnny Eager", "Funny How Time Slips Away", "The Silence of the Lambs", "The Snake Pit", "Blowup", "The Judge", "Babel", "The Pink Panther"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michelangelo Antonioni"]}, {"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michelangelo Antonioni\" . ?e_2 <pred:name> \"National Society of Film Critics Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Blowup"}, {"question": "What is the elevation (above sea level) of the capital of Fiji?", "choices": ["925 metre", "170 metre", "72 foot", "22 metre", "7 metre", "0 metre", "454 metre", "892 metre", "56 foot", "243 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fiji"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Fiji\" .  ?e <elevation_above_sea_level> ?pv .  }", "answer": "0 metre"}, {"question": "Is the official website of the literary award that was nominated to No Country for Old Men (which was nominated for an International IMPAC Dublin Literary Award) in 2007 http://www.montgomeryal.gov/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["International IMPAC Dublin Literary Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["No Country for Old Men"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["point in time", "2007", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["literary award"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["http://www.montgomeryal.gov/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"No Country for Old Men\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"International IMPAC Dublin Literary Award\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2007 . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.montgomeryal.gov/\" .  }", "answer": "no"}, {"question": "Which area has a bigger population, Kochi or Lima (the one that is the twinned administrative body of Cleveland)?", "choices": ["Bergen", "Abidjan", "Trieste", "Chihuahua", "Santo Domingo", "Kochi", "Dundee", "Kingston", "Cork", "Lima"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kochi"]}, {"function": "Find", "dependencies": [], "inputs": ["Cleveland"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lima"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kochi\" .  } UNION { ?e <pred:name> \"Lima\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Cleveland\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lima"}, {"question": "What is the relationship between The Station Agent and the Independent Spirit Award for Best First Screenplay?", "choices": ["place of birth", "official color", "convicted of", "candidacy in election", "depicts", "season starts", "child astronomical body", "student of", "nominated for", "industry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Station Agent"]}, {"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best First Screenplay"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Station Agent\" . ?e_2 <pred:name> \"Independent Spirit Award for Best First Screenplay\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What visual artwork is derivative of an Ian McEwan written work?", "choices": ["Rebecca", "The Time Machine", "The Da Vinci Code", "A Prairie Home Companion", "The Great Gatsby", "Harry Potter and the Order of the Phoenix", "The Help", "Stardust", "Spellbound", "Atonement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian McEwan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["author", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "Relate", "dependencies": [2], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"written work\" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> \"Ian McEwan\" .   }", "answer": "Atonement"}, {"question": "Does the person with the ISNI of 0000 0003 6859 3263 have the Munzinger IBA of 00000025699 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6859 3263"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000025699"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6859 3263\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000025699\" .  }", "answer": "yes"}, {"question": "Tell me the movie that was nominated for Academy Award for best picture and that has Bugsy as the title", "choices": ["Shine", "The Lord of the Rings: The Two Towers", "Precious", "Rebecca", "A Prairie Home Companion", "The Towering Inferno", "Bugsy", "Pleasantville", "A Streetcar Named Desire", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Bugsy"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .  ?e <title> ?pv . ?pv <pred:value> \"Bugsy\" .  }", "answer": "Bugsy"}, {"question": "What is the date of birth of the person who is the screenwriter of Children of Men?", "choices": ["1921-11-03", "1964-10-03", "1974-06-26", "1969-08-18", "1933-02-18", "1920-02-26", "1946-08-06", "1944-06-24", "1961-11-20", "1953-02-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Children of Men"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Children of Men\" .  ?e <date_of_birth> ?pv .  }", "answer": "1964-10-03"}, {"question": "How many arts are unlike the musical piece having ISWC T-010.434.240-6 (the recorded name is YELLOW SUBMARINE)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISWC", "T-010.434.240-6"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["named as", "YELLOW SUBMARINE"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["musical composition"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art\" . ?e <different_from> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"musical composition\" . ?e_1 <ISWC> ?pv_1 . ?pv_1 <pred:value> \"T-010.434.240-6\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ISWC> ; <pred:fact_t> ?pv_1 ] <named_as> ?qpv . ?qpv <pred:value> \"YELLOW SUBMARINE\" .   }", "answer": "0"}, {"question": "Which jam band whose ISNI is 0000 0001 0667 3175 has the official website of http://www.dead.net/?", "choices": ["Coldplay", "Dixie Chicks", "Grateful Dead", "Jonas Brothers", "Phish", "Phoenix", "The Pretenders", "Renaissance", "The Kinks", "Marillion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0667 3175"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["jam band"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.dead.net/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["jam band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jam band\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0667 3175\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.dead.net/\" .  }", "answer": "Grateful Dead"}, {"question": "Which company has more total assets, Cisco Systems or AT&T?", "choices": ["KLM", "Cisco Systems", "Entertainment One", "AT&T", "Pfizer", "Adobe Inc.", "Skidmore Owings Merrill", "McDonald's", "Vodafone", "Sega"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cisco Systems"]}, {"function": "Find", "dependencies": [], "inputs": ["AT&T"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total assets", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cisco Systems\" .  } UNION { ?e <pred:name> \"AT&T\" .  } ?e <total_assets> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "AT&T"}, {"question": "How many big cities have a population not 0.3?", "choices": ["64", "65", "66", "67", "68", "69", "70", "71", "72", "73"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "0.3", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"0.3\"^^xsd:double ) .  }", "answer": "66"}, {"question": "Which has the largest duration among the animated series that have Steven Spielberg as an executive producer?", "choices": ["The Venture Bros.", "American Dad!", "The Cleveland Show", "South Park", "Freakazoid!", "Animaniacs", "Tiny Toon Adventures", "Robot Chicken", "Batman Beyond", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Spielberg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Steven Spielberg\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Freakazoid!"}, {"question": "What television program has the fewest number of episodes among those with less than 6100?", "choices": ["The Wire, season 5", "The Larry Sanders Show", "Lost, season 3", "Cold War", "The Wire, season 1", "The Wire, season 4", "The Wire, season 2", "Monster House", "The Wire, season 3", "Cranford"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "6100", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television program"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6100\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cranford"}, {"question": "When did Neil Simon win the Pulitzer Prize for Drama?", "choices": ["2019-03-02", "1705", "1991", "1994-04-19", "1825", "1975-04-08", "2003-09-01", "1960-01-01", "1859-01-01", "2010-02-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Neil Simon"]}, {"function": "Find", "dependencies": [], "inputs": ["Pulitzer Prize for Drama"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Neil Simon\" . ?e_2 <pred:name> \"Pulitzer Prize for Drama\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1991"}, {"question": "How many high schools are in the country where Shrek (Malaysian release) originated?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malaysia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shrek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["high school"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"high school\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> \"Shrek\" . ?e_2 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Malaysia\" .   }", "answer": "4"}, {"question": "In what city in the United Kingdom is the University of Lancaster located?", "choices": ["Cork", "Worcester", "Cardiff", "Trieste", "Southampton", "London", "Lancaster", "Kingston", "Gloucester", "Glasgow"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Lancaster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"University of Lancaster\" .  ?e <country> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .  }", "answer": "Lancaster"}, {"question": "What language is associated with this creative work at http://kingston-ny.gov/, the official website for Kingston (the one whose country is United States of America)?", "choices": ["multiple languages", "Latin", "Czech", "Chinese", "Afrikaans", "Brazilian Portuguese", "English", "Putonghua", "Esperanto", "Irish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingston"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://kingston-ny.gov/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Kingston\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://kingston-ny.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Regarding major depressive order and UMLS CUI of C0154409 what type of relation does it map to?", "choices": ["narrow match", "close match", "109179", "10005900", "cubism", "east", "SC005336", "exact match", "cym", "broad match"], "program": [{"function": "Find", "dependencies": [], "inputs": ["major depressive disorder"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["UMLS CUI", "C0154409", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"major depressive disorder\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0154409\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "What is the singles record for the person who is Mike Bryan's sibling?", "choices": ["924\u2013190", "343\u2013244", "796\u2013235", "5\u201311", "1183\u2013261", "101\u201399", "85\u2013118", "846\u2013176", "805\u2013137", "21\u201340"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Bryan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sibling", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["singles record"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <sibling> ?e . ?e_1 <pred:name> \"Mike Bryan\" .  ?e <singles_record> ?pv .  }", "answer": "21\u201340"}, {"question": "How many works of literature are titled Dune or inspired Sense and Sensibility, which clocks in at 136 minutes?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Dune"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary work"]}, {"function": "Find", "dependencies": [], "inputs": ["Sense and Sensibility"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["duration", "136 minute", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["literary work"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary work\" .  { ?e <title> ?pv . ?pv <pred:value> \"Dune\" .  } UNION { ?e_1 <based_on> ?e . ?e_1 <pred:name> \"Sense and Sensibility\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"136\"^^xsd:double .  } }", "answer": "2"}, {"question": "What is the gender of an ethnic group containing Victor Garber (the one whose ISNI is 0000 0001 1477 3838), while its demonym is \u05e8\u05d5\u05e1\u05d9\u05d4,?", "choices": ["masculine", "female", "GENT", "2111.2", "male", "124534767", "333500000000 United States dollar", "1995", "Ji\u0101ng W\u00e9n", "feminine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victor Garber"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1477 3838"]}, {"function": "Relate", "dependencies": [1], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ethnic group"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["demonym", "\u05e8\u05d5\u05e1\u05d9\u05d4", "sex or gender"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"Victor Garber\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1477 3838\" . ?e <demonym> ?pv . ?pv <pred:value> \"\u05e8\u05d5\u05e1\u05d9\u05d4\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <sex_or_gender> ?qpv .  }", "answer": "feminine"}, {"question": "Which is shortest among the feature films that were published after 1993?", "choices": ["Earth", "The Three Musketeers", "John Carter", "The Santa Clause 3: The Escape Clause", "Wallace & Gromit: The Curse of the Were-Rabbit", "National Treasure: Book of Secrets", "Around the World in 80 Days", "The Muppets", "The Chronicles of Narnia: Prince Caspian", "Pirates of the Caribbean: At World's End"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1993", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1993 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wallace & Gromit: The Curse of the Were-Rabbit"}, {"question": "How many currencies with PermID 500186 are valued differently than 0.4 USD?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "500186"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["currency"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["price", "0.4 United States dollar", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["currency"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"currency\" . ?e <PermID> ?pv . ?pv <pred:value> \"500186\" . ?e <price> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> ?v . FILTER ( ?v != \"0.4\"^^xsd:double ) .  }", "answer": "1"}, {"question": "How many Chinese provinces have a China administrative division code of 43?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["China administrative division code", "43"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e <China_administrative_division_code> ?pv . ?pv <pred:value> \"43\" .  }", "answer": "1"}, {"question": "Which Arizona county with a population surpassing 48000 takes up the least area?", "choices": ["Coconino County", "Pinal County", "Gila County", "Cochise County", "Apache County", "Maricopa County", "Yavapai County", "Pima County", "Mohave County", "Navajo County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "48000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"48000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gila County"}, {"question": "Winston Churchill, who died on 1688-03-26, has what connection to England, which warred with France?", "choices": ["lifestyle", "set in period", "location of discovery", "organizer", "original film format", "place served by transport hub", "country of citizenship", "appears in the form of", "start point", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winston Churchill"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1688-03-26", "="]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [2], "inputs": ["military conflicts", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Winston Churchill\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1688-03-26\"^^xsd:date . ?e_2 <pred:name> \"England\" . ?e_2 <military_conflicts> ?e_3 . ?e_3 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What MTV Video Music Award did Nicki Minaj receive (the point in time of this statement is 2011)?", "choices": ["MTV Video Music Award for Best New Artist", "MTV Video Music Award for Best Dance Video", "MTV Video Music Award for Best Cinematography", "MTV Video Music Award for Best Group Video", "MTV Video Music Award for Best Choreography", "MTV Video Music Award for Best Video from a Film", "MTV Video Music Award for Best Hip-Hop Video", "MTV Video Music Award for Best Editing", "MTV Video Music Award for Best Female Video", "MTV Video Music Award for Best Rock Video"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicki Minaj"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2011", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["MTV Video Music Award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"MTV Video Music Award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Nicki Minaj\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2011 .  }", "answer": "MTV Video Music Award for Best Hip-Hop Video"}, {"question": "When was Robert Loggia nominated for a Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series?", "choices": ["1561", "1970-05-06", "2001", "2017-11-24", "1927-01-01", "2017-01-01", "1997-03-24", "1941", "1986-12-01", "1839"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Loggia"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Loggia\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "For which work did Jerry Goldsmith receive an Academy Award for Best Original Score?", "choices": ["Ing\u00e9nue", "The Omen", "Finest Hour", "The Turning", "Raintree County", "Three... Extremes", "The Road", "Siesta", "Earthquake", "Mouse Trouble"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jerry Goldsmith\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Omen"}, {"question": "What is the relationship between Marty Stuart and musician?", "choices": ["successful candidate", "father", "legal form", "exclave of", "lowest point", "official religion", "works in collection", "game mode", "occupation", "mouth of the watercourse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marty Stuart"]}, {"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marty Stuart\" . ?e_2 <pred:name> \"musician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "For the university whose ISNI is 0000 0001 0674 042X, its fee of 0 Danish krone applies to which part?", "choices": ["3rd arrondissement of Lyon", "member of parliament", "city", "EU/EEA Citizen", "Kivalliq Region", "Quebec", "magazine", "feminine singular", "Corson County", "Northern Borders Region"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0674 042X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["fee", "0 Danish krone", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0674 042X\" . ?e <fee> ?pv . ?pv <pred:unit> \"Danish krone\" . ?pv <pred:value> \"0\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <fee> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "EU/EEA Citizen"}, {"question": "Which film has the longer running time, Quills or The Three Musketeers (whose producer is Joseph Barbera)?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "Pleasantville", "The Three Musketeers", "Training Day", "The Towering Inferno", "The Fifth Element", "A Prairie Home Companion", "Quills", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quills"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Barbera"]}, {"function": "Relate", "dependencies": [1], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quills\" .  } UNION { ?e <pred:name> \"The Three Musketeers\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Joseph Barbera\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Quills"}, {"question": "Does The Fly (whose distributor is 20th Century Fox) or Hilary and Jackie have the longer runtime?", "choices": ["Curse of the Golden Flower", "The Towering Inferno", "The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "Rebecca", "Training Day", "The Fly", "A Prairie Home Companion", "Hilary and Jackie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fly"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Hilary and Jackie"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Fly\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .   } UNION { ?e <pred:name> \"Hilary and Jackie\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hilary and Jackie"}, {"question": "Is ClubTiburones the Twitter username for the association football club, headquartered in Veracruz, whose official website is http://www.veracruzmunicipio.gob.mx/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Veracruz"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.veracruzmunicipio.gob.mx/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["ClubTiburones"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Veracruz\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.veracruzmunicipio.gob.mx/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ClubTiburones\" .  }", "answer": "yes"}, {"question": "What is the general public university this is faculty where the sports activities season that is picked from faculty University of Florida is picked from,", "choices": ["University of Adelaide", "Georgia Institute of Technology", "Rice University", "University of North Carolina at Chapel Hill", "University of Florida", "College of William & Mary", "University of Washington", "University of Nottingham", "University of California, Riverside", "North Carolina State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Florida"]}, {"function": "Relate", "dependencies": [0], "inputs": ["draft pick from school", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "Relate", "dependencies": [2], "inputs": ["draft pick from school", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["public university"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <draft_pick_from_school> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sports season\" . ?e_1 <draft_pick_from_school> ?e_2 . ?e_2 <pred:name> \"University of Florida\" .   }", "answer": "Georgia Institute of Technology"}, {"question": "How many public education institutions in the US are located in a sovereign state counting Don Johnson, the actor, as one of its citizens ?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Don Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of citizenship", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["public educational institution of the United States"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public educational institution of the United States\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> \"Don Johnson\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" .   }", "answer": "4"}, {"question": "Which movie's official website is http://www.allaboutstevemovie.com/?", "choices": ["A Prairie Home Companion", "All About Steve", "Marmaduke", "Talk to Her", "Moonrise Kingdom", "Munich", "Rogue", "Genesis", "Rebecca", "A Single Man"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.allaboutstevemovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.allaboutstevemovie.com/\" .  }", "answer": "All About Steve"}, {"question": "Which is the shortest among the feature films published after 2010?", "choices": ["Alvin and the Chipmunks: Chipwrecked", "G-Force", "John Carter", "Prince of Persia: The Sands of Time", "Secretariat", "Cinderella", "Beauty and the Beast", "Old Dogs", "Pirates of the Caribbean: On Stranger Tides", "Tron: Legacy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2010", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2010 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alvin and the Chipmunks: Chipwrecked"}, {"question": "How is the University of Texas at Arlington identified by ISNI?", "choices": ["0000 0001 2238 5560", "0000 0000 5369 0763", "0000 0000 3800 9263", "0000 0001 1758 4637", "0000 0000 6387 3432", "0000 0000 1976 9750", "0000 0001 2181 9515", "0000 0001 2099 3562", "0000 0001 0661 0166", "0000 0001 2160 0409"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Texas at Arlington"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of Texas at Arlington\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2181 9515"}, {"question": "How many theatre awards have the official website http://www.tonyawards.com/en_US/index.html or began after 1947?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tonyawards.com/en_US/index.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatre award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1947", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["theatre award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tonyawards.com/en_US/index.html\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1947 ) .  } }", "answer": "17"}, {"question": "What is Billy Wilder's Libris-URI?", "choices": ["gdsvwng02fdsq4t", "dbqstspx5rk2t80", "wt79cf4f0scj1fn", "jgvz3m922jv9m0l", "1zcfh30k0gr4zxt", "ljx03xf431l7xbw", "0xbfk7kj2zfg4z1", "sq46976b21s4bbn", "31fhhlwm46clncx", "31fhk0qm57xf738"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Wilder"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Billy Wilder\" . ?e <Libris-URI> ?pv .  }", "answer": "31fhk0qm57xf738"}, {"question": "Which geographic region that warred with the Dutch Republic covers the most area?", "choices": ["Pacific Ocean", "Africa", "Bohemia", "Transylvania", "Southern California", "Lake District", "Caribbean", "Atlantic Canada", "Antarctica", "Piedmont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dutch Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> \"Dutch Republic\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Transylvania"}, {"question": "Does Iain Glen or Bridget Fonda have more children?", "choices": ["David Byrne", "Rahul Dev Burman", "Paul Simon", "Max Fleischer", "Sylvester Stallone", "Iain Glen", "Bridget Fonda", "William Henry Harrison", "Simon Cowell", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iain Glen"]}, {"function": "Find", "dependencies": [], "inputs": ["Bridget Fonda"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Iain Glen\" .  } UNION { ?e <pred:name> \"Bridget Fonda\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Iain Glen"}, {"question": "Which movie is longer, Transamerica or Mr. Smith Goes to Washington (the one whose color is black-and-white)?", "choices": ["Rebecca", "The Towering Inferno", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Transamerica", "Training Day", "A Prairie Home Companion", "Mr. Smith Goes to Washington", "Talk to Her", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Transamerica"]}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [1], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mr. Smith Goes to Washington"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Transamerica\" .  } UNION { ?e <pred:name> \"Mr. Smith Goes to Washington\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "What is the publication date of The Lost Weekend which was nominated for an Academy Award for Best Picture?", "choices": ["1965-08-23", "1948-10-19", "2006-01-12", "1982-02-12", "1998-06-19", "1945-01-01", "2012-10-02", "1990-09-27", "1958-01-24", "1999-12-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lost Weekend"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Lost Weekend\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .  ?e <publication_date> ?pv .  }", "answer": "1945-01-01"}, {"question": "How is Dennis Hopper linked to Venice, which borders Santa Monica?", "choices": ["dedicated to", "place served by transport hub", "mountain range", "registered with", "publisher", "country of citizenship", "eye color", "opposite of", "place of death", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dennis Hopper"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Monica"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Venice"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dennis Hopper\" . ?e_2 <pred:name> \"Venice\" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> \"Santa Monica\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Who is the founder of the film production company with the official website workingtitlefilms.com?", "choices": ["Darryl F. Zanuck", "John Wells", "Brian Grazer", "Roger Birnbaum", "Tim Bevan", "Sylvester Stallone", "Yash Chopra", "Francis Ford Coppola", "Doug Savant", "Joan of Arc"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://workingtitlefilms.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "Relate", "dependencies": [2], "inputs": ["founded by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <founded_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film production company\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://workingtitlefilms.com\" .   }", "answer": "Tim Bevan"}, {"question": "Is 46244 the correct postal code for the neighborhood where Charlie Daniels, who died in Boston, was born?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Daniels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["neighborhood"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["46244"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Charlie Daniels\" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> \"Boston\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"46244\" .  }", "answer": "no"}, {"question": "Which one has fewer kids, Lily Allen or Jimmy Carter (the one that uses English) ?", "choices": ["Jimmy Carter", "Max Fleischer", "James E. Reilly", "Richard Gere", "Simon Cowell", "David Byrne", "Paul Simon", "Rahul Dev Burman", "Lily Allen", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lily Allen"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [1], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jimmy Carter"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lily Allen\" .  } UNION { ?e <pred:name> \"Jimmy Carter\" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> \"English\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lily Allen"}, {"question": "How many Maryland counties whose population is not 62000?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "62000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maryland"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"62000\"^^xsd:double ) .  }", "answer": "13"}, {"question": "For Arizona counties with populations not equaling 8200, which one has the most area?", "choices": ["Coconino County", "Apache County", "Mohave County", "Gila County", "Navajo County", "Maricopa County", "Yavapai County", "Santa Cruz County", "Cochise County", "Pima County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8200", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"8200\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coconino County"}, {"question": "When did Shanxi become the twinned administrative body of Saitama Prefecture?", "choices": ["1997-07-12", "1973-10-06", "2016-01-01", "1982-08-30", "1815", "2001-06-03", "1972-10-04", "1982-10-01", "2009-10-21", "1929-02-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shanxi"]}, {"function": "Find", "dependencies": [], "inputs": ["Saitama Prefecture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Shanxi\" . ?e_2 <pred:name> \"Saitama Prefecture\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1982-10-01"}, {"question": "Regarding the person who was born in Solihull (which has the OS grid reference of SP1579) tell me his or her birth name.", "choices": ["John Winston Lennon", "Edward Kennedy Ellington", "Tara Lyn Charendoff-Strong", "Naomi Elaine Campbell", "Susannah Yolande Fletcher", "Richard Mark Hammond", "Juan Esteban Aristiz\u00e1bal V\u00e1squez", "Cynthia Michele Watros", "Judith Therese Evans", "Val Edward Kilmer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Solihull"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OS grid reference", "SP1579"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Solihull\" . ?e_1 <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> \"SP1579\" . ?e <birth_name> ?pv .  }", "answer": "Richard Mark Hammond"}, {"question": "How is 2003 Major League Baseball related to the New York Yankees?", "choices": ["located in time zone", "official symbol", "mother", "draft pick from school", "archives at", "this taxon is source of", "godparent", "participant", "ancestral home", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2003 Major League Baseball season"]}, {"function": "Find", "dependencies": [], "inputs": ["New York Yankees"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2003 Major League Baseball season\" . ?e_2 <pred:name> \"New York Yankees\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "When did  American Dad! stop airing on the Fox Broadcasting Company?", "choices": ["1997-05-01", "1616-04-23", "1985-12-09", "1999-09-01", "2013-05-16", "1945-04-30", "2014-09-21", "1995-11-23", "1942", "1991-06-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Dad!"]}, {"function": "Find", "dependencies": [], "inputs": ["Fox Broadcasting Company"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["original network", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"American Dad!\" . ?e_2 <pred:name> \"Fox Broadcasting Company\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2014-09-21"}, {"question": "What is the date of birth for the  person with official website of  http://brianposehn.com/?", "choices": ["1944-04-11", "1964-12-23", "1981-03-03", "1966-07-06", "1969-03-25", "1941-05-24", "1961-07-08", "1965-11-02", "1941-10-21", "1885-10-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://brianposehn.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://brianposehn.com/\" . ?e <date_of_birth> ?pv .  }", "answer": "1966-07-06"}, {"question": "How is Volver related to the Goya Award for Best Actress?", "choices": ["practiced by", "field of work", "voice actor", "successful candidate", "depicts", "nominated for", "mouth of the watercourse", "substitute/deputy/replacement of office/officeholder", "month of the year", "seed team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Volver"]}, {"function": "Find", "dependencies": [], "inputs": ["Goya Award for Best Actress"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Volver\" . ?e_2 <pred:name> \"Goya Award for Best Actress\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Is the number of episodes greater for Mildred Pierce, whose composer is Carter Burwell, or Fear the Walking Dead?", "choices": ["Game of Thrones", "Dancing with the Stars", "Robot Chicken", "Saturday Night's Main Event", "American Horror Story", "Mildred Pierce", "Fear the Walking Dead", "Bleak House", "Seinfeld", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carter Burwell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mildred Pierce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Fear the Walking Dead"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mildred Pierce\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Carter Burwell\" .   } UNION { ?e <pred:name> \"Fear the Walking Dead\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fear the Walking Dead"}, {"question": "What is the number of silent films in the drama film genre whose video is The Hunchback of Notre Dame 1923.webm?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["silent film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["video", "The Hunchback of Notre Dame 1923.webm"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["silent film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"silent film\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"drama film\" .  ?e <video> ?pv . ?pv <pred:value> \"The Hunchback of Notre Dame 1923.webm\" .  }", "answer": "0"}, {"question": "Which one of seas belonging to Atlantic Ocean have the lowest vertical depth ?", "choices": ["Aegean Sea", "Green Bay", "Maroon 5", "North Sea", "Freddy Got Fingered", "Caribbean Sea", "Adriatic Sea", "Kalamazoo", "English Channel", "Mediterranean Sea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sea"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sea\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Atlantic Ocean\" .  ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "English Channel"}, {"question": "Mary Tyler Moore died in which US town?", "choices": ["Huntington", "Greenwich", "Westport", "Uxbridge", "Chapel Hill", "Bedford", "Litchfield", "West Hartford", "Brookline", "Amherst"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Tyler Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Mary Tyler Moore\" .   }", "answer": "Greenwich"}, {"question": "What is the official website for the human who is the producer of Niagara Falls (the one whose producer is Hal Roach)?", "choices": ["http://www.hal-roach.com/", "http://www.co.livingston.mi.us", "http://www.dakota-fanning.org", "http://www.duq.edu", "http://www.judaspriest.com", "http://www.tfmdistribution.com/lamome/lamome.htm", "http://www.co.cambria.pa.us", "http://www.city.kyoto.lg.jp/", "https://www.apple.com/gr/ios/", "http://www.frederikpohl.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hal Roach"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Niagara Falls"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Niagara Falls\" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> \"Hal Roach\" .  ?e <official_website> ?pv .  }", "answer": "http://www.hal-roach.com/"}, {"question": "Which university has more students, University of Amsterdam or Makerere University?", "choices": ["University of Manchester", "King's College London", "Presidency University", "University of Tehran", "Pennsylvania State University", "Makerere University", "McMaster University", "University of Amsterdam", "Imperial College London", "McNeese State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Amsterdam"]}, {"function": "Find", "dependencies": [], "inputs": ["Makerere University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Amsterdam\" .  } UNION { ?e <pred:name> \"Makerere University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Makerere University"}, {"question": "What is the relationship between Wayne's World and Robert Patrick, who belongs to the United States of America?", "choices": ["voice type", "notable people with this condition", "location", "color", "newspaper format", "depicted by", "located in the administrative territorial entity", "cast member", "time period", "published in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wayne's World"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country for sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Patrick"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wayne's World\" . ?e_2 <pred:name> \"Robert Patrick\" . ?e_2 <country_for_sport> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many EDM entities were created subsequent to 1995 in a year excluding 1990?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1995", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic dance music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1990", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["electronic dance music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic dance music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1995 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1990 ) .  }", "answer": "3"}, {"question": "Which location has the higher above-sea-level elevation, Valencia, which is 520 meters above sea level, or San Marino, which has a FIPS 10-4 (counties and regions) or SM07?", "choices": ["Abidjan", "Kingston", "Bergen", "Santo Domingo", "San Marino", "Chihuahua", "Valencia", "Dundee", "Trieste", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Marino"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "SM07"]}, {"function": "Find", "dependencies": [], "inputs": ["Valencia"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["elevation above sea level", "520 metre", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Marino\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"SM07\" . } UNION { ?e <pred:name> \"Valencia\" . ?e <elevation_above_sea_level> ?pv_2 . ?pv_2 <pred:unit> \"metre\" . ?pv_2 <pred:value> \"520\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Marino"}, {"question": "What is the connection between Aurora (the one whose name in native language is Aurora) to Marvel Universe?", "choices": ["father", "headquarters location", "educated at", "owner of", "derivative work", "next higher rank", "parent astronomical body", "used by", "part of", "from fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aurora"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Aurora"]}, {"function": "Find", "dependencies": [], "inputs": ["Marvel Universe"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Aurora\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Aurora\" . ?e_2 <pred:name> \"Marvel Universe\" . ?e_1 ?p ?e_2 .  }", "answer": "from fictional universe"}, {"question": "What is Halle Berry's connection to the MTV Movie Award for Best Breakthrough Performance?", "choices": ["noble title", "honorific prefix", "game mode", "stated in", "interested in", "academic degree", "official language", "located on astronomical location", "nominated for", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Halle Berry"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Breakthrough Performance"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Halle Berry\" . ?e_2 <pred:name> \"MTV Movie Award for Best Breakthrough Performance\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What method determines that Australia (that has a diplomatic relationship with Russia) uses the Gujarati language?", "choices": ["Canada 2016 Census", "de jure", "average", "national estimation", "2016 Australian census", "2010 United States Census", "population projection", "rated voltage", "administrative division valid at the time point of history to which the data relates", "United States Census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gujarati"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["language used", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Australia\" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> \"Russia\" . ?e_2 <pred:name> \"Gujarati\" . ?e_1 <language_used> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <language_used> ; <pred:fact_t> ?e_2 ] <determination_method> ?qpv .  }", "answer": "2016 Australian census"}, {"question": "Is Imogen Heap's Instagram username dodgers?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Imogen Heap"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["dodgers"]}], "sparql": "ASK { ?e <pred:name> \"Imogen Heap\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"dodgers\" .  }", "answer": "no"}, {"question": "What work did Patrizia von Brandenstein receive Academy Award for Best Production Design for?", "choices": ["Life, the Universe and Everything", "Taklamakan", "Letter from America", "Amadeus", "Bugsy Malone", "A Single Man", "Top Hat", "The Bad and the Beautiful", "Adrift Just Off the Islets of Langerhans", "The Vanishing Prairie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patrizia von Brandenstein"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Patrizia von Brandenstein\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Amadeus"}, {"question": "What is the connection between Ray Stark to natural causes?", "choices": ["collection", "manner of death", "signatory", "illustrator", "capital", "depicts", "inspired by", "mother", "residence", "this taxon is source of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Stark"]}, {"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ray Stark\" . ?e_2 <pred:name> \"natural causes\" . ?e_1 ?p ?e_2 .  }", "answer": "manner of death"}, {"question": "What method was used to determine that the county of Alabama, which shares a border with Marion County (US counties FIPS 6-4 is 47115), has a population of 53159?", "choices": ["Russian Empire Census", "de jure", "Canada 2011 Census", "Address Based Population Registration System", "middle", "1860 United States Census", "Taqdir", "Canada 2016 Census", "lead-lead dating", "estimation process"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marion County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "47115"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Alabama"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "53159", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Marion County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"47115\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"53159\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Which movie is longer, A Star Is Born (the one that was nominated for Academy Award for Best Production Design) or Meet Dave?", "choices": ["A Prairie Home Companion", "The Fifth Element", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Towering Inferno", "Meet Dave", "Training Day", "A Star Is Born", "Talk to Her", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Star Is Born"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Meet Dave"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Star Is Born\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Production Design\" .   } UNION { ?e <pred:name> \"Meet Dave\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "A Star Is Born"}, {"question": "What is the RIA Novosti reference for the marketing whose first flight is before 1969?", "choices": ["54395272", "58831264", "57906872", "58576160", "42861256", "57215154", "45112143", "52444112", "55731386", "61684885"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["first flight", "1969", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["marketing"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["RIA Novosti reference"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"marketing\" . ?e <first_flight> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1969 ) . ?e <RIA_Novosti_reference> ?pv .  }", "answer": "61684885"}, {"question": "Where was Winter's Bone published on 31st March 2011 ?", "choices": ["Pakistan", "West Germany", "British Hong Kong", "New York City", "Montreal World Film Festival", "Germany", "Greek Theatre, Los Angeles", "Northern America", "John F. Kennedy Center for the Performing Arts", "Quebec"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winter's Bone"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2011-03-31", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Winter's Bone\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-03-31\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does the actor Michael Dobson have more kids, or does J. J. Abrams?", "choices": ["Michael Dobson", "David Byrne", "J. J. Abrams", "Simon Cowell", "Paul Simon", "Max Fleischer", "James E. Reilly", "William Henry Harrison", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Dobson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["J. J. Abrams"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Michael Dobson\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"actor\" .   } UNION { ?e <pred:name> \"J. J. Abrams\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Michael Dobson"}, {"question": "What has Bernalillo County in common with Sandoval County?", "choices": ["organisation directed from the office or person", "collection", "natural product of taxon", "place served by transport hub", "country for sport", "penalty", "ancestral home", "shares border with", "has cause", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bernalillo County"]}, {"function": "Find", "dependencies": [], "inputs": ["Sandoval County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bernalillo County\" . ?e_2 <pred:name> \"Sandoval County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is http://www.madtv.com/ the official website of Frosinone Calcio?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frosinone Calcio"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.madtv.com/"]}], "sparql": "ASK { ?e <pred:name> \"Frosinone Calcio\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.madtv.com/\" .  }", "answer": "no"}, {"question": "What was it determined that the New Jersey county containing Jersey City has a population of 660282?", "choices": ["extrapolation", "United Kingdom Census 2001", "resident registration", "estimation process", "middle", "administrative division valid at the moment of publication", "Canada 2011 Census", "questionnaire", "Pensky\u2013Martens closed-cup test", "average"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jersey City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "660282", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Jersey City\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"660282\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Regarding the city with the postal ccode DH1 tell me its TOID", "choices": ["4000000074572911", "7000000000016726", "4000000074543263", "7000000000018825", "4000000074559702", "7000000000044674", "4000000074550625", "7000000000041882", "4000000074574465", "4000000074577087"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "DH1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["TOID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"DH1\" . ?e <TOID> ?pv .  }", "answer": "4000000074559702"}, {"question": "How many Academy Awards whose official website is https://www.oscars.org/ or that is conferred by the American Academy of Arts and Letters?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.oscars.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Find", "dependencies": [], "inputs": ["American Academy of Arts and Letters"]}, {"function": "Relate", "dependencies": [3], "inputs": ["conferred by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.oscars.org/\" .  } UNION { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> \"American Academy of Arts and Letters\" .  } }", "answer": "2"}, {"question": "What is the run-time of the visual artwork with the official website www.miramax.com/movie/frida?", "choices": ["137 minute", "90 minute", "103.0 minute", "123 minute", "91.0 minute", "10 hour", "148 minute", "224 minute", "139.0 minute", "127 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/frida"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.miramax.com/movie/frida\" . ?e <duration> ?pv .  }", "answer": "123 minute"}, {"question": "What is the end time for when Johann Wolfgang von Goethe's was educated at Leipzig University?", "choices": ["2013-05-19", "1768", "1900-01-01", "2010-01-01", "1656", "1564-01-01", "1784", "1931-04-11", "1936-07-10", "2006-02-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johann Wolfgang von Goethe"]}, {"function": "Find", "dependencies": [], "inputs": ["Leipzig University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Johann Wolfgang von Goethe\" . ?e_2 <pred:name> \"Leipzig University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1768"}, {"question": "Which US city is the capital of Maryland, where Cecil County is located?", "choices": ["Lansing", "Franklin", "Annapolis", "Salem", "Compton", "Pensacola", "Columbus", "New Haven", "Boulder", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cecil County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Maryland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Maryland\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Cecil County\" .   }", "answer": "Annapolis"}, {"question": "Is the review score of Iron Man (the one released in Denmark), done by Metacritic, 79/100 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["review score", "review score by", "Metacritic"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["79/100"]}], "sparql": "ASK { ?e <pred:name> \"Iron Man\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Denmark\" .  ?e <review_score> ?pv . ?pv <pred:value> \"79/100\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv . ?qpv <pred:value> \"Metacritic\" .  }", "answer": "yes"}, {"question": "Which has a greater nominal GDP per capita, Guinea-Bissau or Belgium?", "choices": ["Belgium", "Switzerland", "Weimar Republic", "South Sudan", "Cambodia", "Samoa", "Kiribati", "Benin", "Socialist Federal Republic of Yugoslavia", "Guinea-Bissau"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guinea-Bissau"]}, {"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["nominal GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Guinea-Bissau\" .  } UNION { ?e <pred:name> \"Belgium\" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Belgium"}, {"question": "Which person is a  member of The Smashing Pumpkins?", "choices": ["Sylvester Stallone", "Richard Gere", "Tim Bevan", "Noel Gallagher", "William Henry Harrison", "Billy Corgan", "Max Fleischer", "Robert Smith", "Sanjay Dutt", "Jack Bruce"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Smashing Pumpkins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of> ?e_1 . ?e_1 <pred:name> \"The Smashing Pumpkins\" .   }", "answer": "Billy Corgan"}, {"question": "How many Pennsylvania counties contains the administrative division Bethlehem (the one whose population is 74982) or named after Somerset (the one whose FIPS 10-4 (countries and regions) is UKM3)?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bethlehem"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "74982", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Pennsylvania"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["FIPS 10-4 (countries and regions)", "UKM3"]}, {"function": "Relate", "dependencies": [5], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["county of Pennsylvania"]}, {"function": "Or", "dependencies": [3, 7], "inputs": []}, {"function": "Count", "dependencies": [8], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Bethlehem\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"74982\"^^xsd:double .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Somerset\" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"UKM3\" .  } }", "answer": "1"}, {"question": "The empire that started on 1526-01-01 and concluded on 1857-01-01 is a unique example of what class?", "choices": ["vehicle registration plates of Germany", "statement with Gregorian date earlier than 1584", "Constitution of Spain", "fixed exchange rate", "archipelago", "Nueva Planta decrees", "maritime boundary", "Minority religion", "Luz de Am\u00e9rica", "Republic of Quito"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1857-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inception", "1526-01-01", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" . ?e <dissolved,_abolished_or_demolished> ?pv_1 . ?pv_1 <pred:date> \"1857-01-01\"^^xsd:date . ?e <inception> ?pv . ?pv <pred:date> \"1526-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "How are the South Korean national football team and Ki Sung-yueng related?", "choices": ["developer", "sports season of league or competition", "member of sports team", "studied by", "noble title", "symptom of", "genre", "employer", "member of", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ki Sung-yueng"]}, {"function": "Find", "dependencies": [], "inputs": ["South Korea national football team"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ki Sung-yueng\" . ?e_2 <pred:name> \"South Korea national football team\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the number of singles that use English language and that were published other than 1987", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1987", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["single"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1987 ) .  }", "answer": "16"}, {"question": "What is Martin McDonagh's ISNI number?", "choices": ["0000 0000 4128 1743", "0000 0001 1030 2705", "0000 0000 9993 4153", "0000 0000 8167 7849", "0000 0000 8932 0174", "0000 0000 8188 8304", "0000 0001 2179 6907", "0000 0004 1763 1167", "0000 0004 0600 2226", "0000 0001 1763 1157"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin McDonagh"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Martin McDonagh\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1030 2705"}, {"question": "Which high school with other than 5500 students has the highest enrollment?", "choices": ["National School of Drama", "Fiorello H. LaGuardia High School", "Royal Military Academy", "The Bronx High School of Science", "Royal Academy of Dramatic Art", "Stuyvesant High School", "Royal Military Academy Sandhurst", "London Academy of Music and Dramatic Art", "National Theatre School of Canada", "Lee Strasberg Theatre and Film Institute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "5500", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["high school"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"high school\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5500\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Bronx High School of Science"}, {"question": "Does the Twitter handle easyJet belong to the organization with ISIN code GB00B7KR2P84?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "GB00B7KR2P84"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["easyJet"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <ISIN> ?pv_1 . ?pv_1 <pred:value> \"GB00B7KR2P84\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"easyJet\" .  }", "answer": "yes"}, {"question": "I want to know the title of the television series produced by Brannon Braga", "choices": ["Lara Croft: Tomb Raider", "Kramer vs. Kramer", "Paterson", "Life as We Know It", "Salem", "\u30b9\u30c8\u30ea\u30fc\u30c8\u30d5\u30a1\u30a4\u30bf\u30fcII MOVIE", "It's a Mad, Mad, Mad, Mad World", "Twister", "Conspiracy Theory", "Shadowlands"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brannon Braga"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Brannon Braga\" .  ?e <title> ?pv .  }", "answer": "Salem"}, {"question": "Which of the following works, The Wrestler (with USA as its country) or Great Expectations (with a Czech Reublic region of release), has the longer length?", "choices": ["The Hunchback of Notre Dame", "Great Expectations", "The Wrestler", "Training Day", "The Fifth Element", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her", "A Prairie Home Companion", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Czech Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Great Expectations"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Wrestler"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Great Expectations\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Czech Republic\" .   } UNION { ?e <pred:name> \"The Wrestler\" . ?e <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Great Expectations"}, {"question": "What is the link between S. Epatha Merkerson and atheism?", "choices": ["shares border with", "uses", "taxon rank", "religion", "place of burial", "foundational text", "time period", "cause of death", "programming paradigm", "lyrics by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S. Epatha Merkerson"]}, {"function": "Find", "dependencies": [], "inputs": ["atheism"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"S. Epatha Merkerson\" . ?e_2 <pred:name> \"atheism\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "What is the ISNI of the person whose Twitter username is MCHammer (the subscription number of this statement is 3699803)?", "choices": ["0000 0000 8367 3390", "0000 0001 0921 7183", "0000 0004 0638 8288", "0000 0000 8115 081X", "0000 0001 1447 3229", "0000 0001 0796 3991", "0000 0001 0945 500X", "0000 0001 0922 0032", "0000 0000 7823 879X", "0000 0003 6464 8802"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "MCHammer"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "3699803", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"MCHammer\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"3699803\"^^xsd:double . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0796 3991"}, {"question": "What is the link between Milton Friedman and the job of statistician?", "choices": ["software engine", "military conflicts", "sponsor", "month of the year", "director", "contains settlement", "doctoral student", "operator", "occupation", "home venue"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milton Friedman"]}, {"function": "Find", "dependencies": [], "inputs": ["statistician"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Milton Friedman\" . ?e_2 <pred:name> \"statistician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is the area of Delaware County, which is located in Indiana, greater than 2300000 square feet?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indiana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Delaware County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["2300000 square foot", ">"]}], "sparql": "ASK { ?e <pred:name> \"Delaware County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Indiana\" .  ?e <area> ?pv . ?pv <pred:unit> \"square foot\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2300000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many Washington counties contain the Vancouver administrative division that is located in the Pacific Time Zone?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pacific Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vancouver"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Washington"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Vancouver\" . ?e_1 <located_in_time_zone> ?e_2 . ?e_2 <pred:name> \"Pacific Time Zone\" .   }", "answer": "1"}, {"question": "What is the Giphy username for the person whose Instagram username is teamcoco?", "choices": ["disney", "20thcenturyfox", "thehungergames", "nbc", "henrymancini", "teamcoco", "spongebob", "marvel", "om_officiel", "venturebros"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "teamcoco"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"teamcoco\" . ?e <Giphy_username> ?pv .  }", "answer": "teamcoco"}, {"question": "What is the number of award ceremonies with the edition number 9 or that has point in time after 2009?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "9"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["point in time", "2009", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" .  { ?e <edition_number> ?pv . ?pv <pred:value> \"9\" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2009 ) .  } }", "answer": "13"}, {"question": "Is 15 the edition number of the 2010 Satellite Awards?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Awards 2010"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["edition number"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["15"]}], "sparql": "ASK { ?e <pred:name> \"Satellite Awards 2010\" . ?e <edition_number> ?pv . ?pv <pred:value> \"15\" .  }", "answer": "yes"}, {"question": "How many cemeteries were first recorded in writing pre-1939 or have the official website www.arlingtoncemetery.mil?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["time of earliest written record", "1939", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cemetery"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.arlingtoncemetery.mil/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["cemetery"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cemetery\" .  { ?e <time_of_earliest_written_record> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1939 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.arlingtoncemetery.mil/\" .  } }", "answer": "3"}, {"question": "How many forms of government have a Human Development Index less than 0.7?", "choices": ["26", "27", "28", "29", "30", "31", "32", "33", "34", "35"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Human Development Index", "0.7", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"0.7\"^^xsd:double ) .  }", "answer": "30"}, {"question": "Does Natalie Portman or William Baldwin (who is a member of political party called the Democratic Party) have fewer children?", "choices": ["Natalie Portman", "Paul Simon", "Simon Cowell", "James E. Reilly", "Richard Gere", "William Baldwin", "Max Fleischer", "David Byrne", "William Henry Harrison", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natalie Portman"]}, {"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Baldwin"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Natalie Portman\" .  } UNION { ?e <pred:name> \"William Baldwin\" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> \"Democratic Party\" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Natalie Portman"}, {"question": "When did Margaret Atwood finish her education at Radcliffe College?", "choices": ["1990-10-17", "1814", "1867-01-01", "1975", "1822", "2011-09-11", "1923-10-28", "1962", "1835-03-04", "1871-01-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Margaret Atwood"]}, {"function": "Find", "dependencies": [], "inputs": ["Radcliffe College"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Margaret Atwood\" . ?e_2 <pred:name> \"Radcliffe College\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1962"}, {"question": "How many public companies boast a market capitalization surpassing 17000000000 euros?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["market capitalization", "17000000000 euro", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public company"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <market_capitalization> ?pv . ?pv <pred:unit> \"euro\" . ?pv <pred:value> ?v . FILTER ( ?v > \"17000000000\"^^xsd:double ) .  }", "answer": "1"}, {"question": "Which has fewer people, Northridge or Jamaica (the one whose population is 217000)?", "choices": ["Pacific Palisades", "Van Nuys", "Jamaica", "Astoria", "Northridge", "Encino", "Woodland Hills", "Monte Carlo", "Studio City", "Roxbury"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northridge"]}, {"function": "Find", "dependencies": [], "inputs": ["Jamaica"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "217000", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Northridge\" . } UNION { ?e <pred:name> \"Jamaica\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"217000\"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Northridge"}, {"question": "Which movie from France was nominated for Academy Award for Best Visual Effects (the nominee of this statement is Paul Wilson)?", "choices": ["Training Day", "The Fifth Element", "Pleasantville", "Rebecca", "Moonraker", "Rope", "Talk to Her", "Curse of the Golden Flower", "A Prairie Home Companion", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["nominee", "Paul Wilson"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"France\" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv . ?qpv <pred:value> \"Paul Wilson\" .  }", "answer": "Moonraker"}, {"question": "What is the time period that 441290 is the number of visitors per year for the award that was received by Jefferson Airplane?", "choices": ["1961-06-22", "2005-02-16", "2009-10-14", "1837-12-01", "2013", "1955-02-01", "1877", "2016", "1964-01-01", "1994-02-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson Airplane"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["visitors per year", "441290", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Jefferson Airplane\" .  ?e <visitors_per_year> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"441290\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <visitors_per_year> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "When did the city affiliated with the website www.tampere.fi have a population numbering 231853?", "choices": ["2018-08-03", "2011-05-18", "2017-12-31", "1994-07-21", "2003-09-21", "1840-01-01", "2010-12-15", "2013-03-11", "1985-03-25", "2018-09-26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tampere.fi"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "231853", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tampere.fi\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"231853\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-12-31"}, {"question": "Which mountain range whose elevation is under 4000 meters above sea level has the lowest elevation above sea level?", "choices": ["Sierra Nevada", "Cascade Range", "Appalachian Mountains", "Blue Ridge Mountains", "Pennine Alps", "Himalayas", "Adirondack Mountains", "Pyrenees", "Hiroshima", "Alps"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "4000 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"4000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Adirondack Mountains"}, {"question": "Which Washington county shares border with the Washington county which contains Yakima?", "choices": ["King County", "Douglas County", "Kitsap County", "San Juan County", "Okanogan County", "Pierce County", "Grays Harbor County", "Jefferson County", "Skagit County", "Snohomish County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yakima"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Washington"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Washington\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Yakima\" .   }", "answer": "Pierce County"}, {"question": "What is the relation of Lost, season 3 with English?", "choices": ["conflict", "headquarters location", "has edition", "official language", "operator", "used by", "employer", "original language of film or TV show", "location of discovery", "member of political party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost, season 3"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lost, season 3\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When did the US city that is the working location of Charles B. Rangel have a population of 278718?", "choices": ["1900-01-01", "2015-10-28", "1655-01-01", "1671-01-01", "2007-10-01", "1982-01-01", "2006-11-17", "1656-01-01", "1650", "1810"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles B. Rangel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "278718", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <work_location> ?e . ?e_1 <pred:name> \"Charles B. Rangel\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"278718\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1900-01-01"}, {"question": "What is the association between Thomas Alva Edison and the United States of America?", "choices": ["seed team", "set in period", "language used", "used by", "league", "game mode", "country of citizenship", "indigenous to", "lifestyle", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Alva Edison"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thomas Alva Edison\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the official website of the literary award that was nominated to Dan Simmons (the award-winning work of this statement is Olympos)?", "choices": ["http://www.cumbria.gov.uk/", "http://www.plainfield.com/", "http://www.locusmag.com/SFAwards/Db/Locus.html", "http://www.johnbarrowman.com", "http://www.stadtluzern.ch", "https://www.nobelprize.org/", "http://www.annemccaffrey.net/", "http://larryniven.net/", "http://www.chittagong.gov.bd", "http://www.ucsb.edu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dan Simmons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Olympos"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["literary award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Dan Simmons\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Olympos\" . ?e <official_website> ?pv .  }", "answer": "http://www.locusmag.com/SFAwards/Db/Locus.html"}, {"question": "Who died in Northridge?", "choices": ["Carmine Coppola", "Max Fleischer", "Pier Paolo Pasolini", "Molly Parker", "Sylvester Stallone", "John Quincy Adams", "Richard Gere", "Joe Shuster", "William Henry Harrison", "Deborah Kerr"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northridge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Northridge\" .   }", "answer": "Carmine Coppola"}, {"question": "Was the visual artwork, with the official website http://empereur.luc-jacquet.com, published in Germany after 2002 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://empereur.luc-jacquet.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2002", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://empereur.luc-jacquet.com\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2002 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "Who is taller, Seol Ki-hyeon or Natalie Portman?", "choices": ["Paul Simon", "Rahul Dev Burman", "David Byrne", "Sylvester Stallone", "Seol Ki-hyeon", "Simon Cowell", "Natalie Portman", "William Henry Harrison", "James E. Reilly", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seol Ki-hyeon"]}, {"function": "Find", "dependencies": [], "inputs": ["Natalie Portman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seol Ki-hyeon\" .  } UNION { ?e <pred:name> \"Natalie Portman\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Seol Ki-hyeon"}, {"question": "How many constitutional monarchies are a release region of Silent Hill published on 2006-05-11 and whose Human Development Index is greater than 0.9?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Silent Hill"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2006-05-11", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["constitutional monarchy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["Human Development Index", "0.9", ">"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["constitutional monarchy"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> \"Silent Hill\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2006-05-11\"^^xsd:date .  ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v > \"0.9\"^^xsd:double ) .  }", "answer": "0"}, {"question": "What is the official website of United States Secretary of State ?", "choices": ["http://www.silverliningsplaybookmovie.com", "http://www.czech.cz/", "https://www.state.gov/secretary/index.htm", "http://www.criticschoice.com/", "http://www.hasbro.com", "http://www.haut-rhin.gouv.fr/", "http://republican.assembly.ca.gov/member/AD71/", "http://www1.kmt.org.tw/english/index.aspx", "http://www.faw.org.uk/", "http://www.co.hidalgo.tx.us/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Secretary of State"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"United States Secretary of State\" . ?e <official_website> ?pv .  }", "answer": "https://www.state.gov/secretary/index.htm"}, {"question": "What is the title of the written work that derives The Sum of All Fears (the one that is shot in Baltimore)?", "choices": ["The Commitments", "The 40-Year-Old Virgin", "The Sum of All Fears", "The People vs. Larry Flynt", "Babylon 5", "Harry Potter and the Goblet of Fire", "S\u00e8, Ji\u00e8", "Entourage", "Get Shorty", "Priest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sum of All Fears"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["written work"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"The Sum of All Fears\" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> \"Baltimore\" .  ?e <title> ?pv .  }", "answer": "The Sum of All Fears"}, {"question": "What is the number of albums that had a duration of not exactly 6 months", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "6 month", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v != \"6\"^^xsd:double ) .  }", "answer": "0"}, {"question": "When was the person with the Twitter handle davidalangrier born?", "choices": ["1957-03-14", "1944-09-13", "1982-03-19", "1946-10-31", "1916-09-13", "1974-12-04", "1928-03-19", "1977-09-25", "1887-11-26", "1956-06-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "davidalangrier"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"davidalangrier\" . ?e <date_of_birth> ?pv .  }", "answer": "1956-06-30"}, {"question": "How many genres have IAB code 642 and are originally in Canadian English?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "642"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["genre"]}, {"function": "Find", "dependencies": [], "inputs": ["Canadian English"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["genre"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"genre\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"642\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Canadian English\" .  }", "answer": "0"}, {"question": "Was the film, whose official website is http://www.wkw-inthemoodforlove.com/eng/homepg/homepg.asp, published in Germany before 1996 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.wkw-inthemoodforlove.com/eng/homepg/homepg.asp"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1996", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.wkw-inthemoodforlove.com/eng/homepg/homepg.asp\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "no"}, {"question": "Is Gilbert Keith Chesterton the native language name of the person whose British Museum person-institution is 22698?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "22698"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Gilbert Keith Chesterton"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> \"22698\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Gilbert Keith Chesterton\" .  }", "answer": "yes"}, {"question": "Of US cities in or next to Lake Michigan, which occupies the least area?", "choices": ["Oakland", "Franklin", "Boulder", "Greenville", "Compton", "Racine", "Columbus", "Lansing", "Chicago", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake Michigan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Lake Michigan\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Racine"}, {"question": "What is politician Amy Grant's connection to the University of Pittsburgh?", "choices": ["characters", "is a list of", "material used", "main subject", "license", "permanent resident of", "cites", "culture", "sport", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amy Grant"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["University of Pittsburgh"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amy Grant\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"politician\" . ?e_2 <pred:name> \"University of Pittsburgh\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Did the Jefferson County bordering Kitsap County have a population other than 92000000 on 2012-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kitsap County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["population", "point in time", "2012-07-01"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["92000000", "!="]}], "sparql": "ASK { ?e <pred:name> \"Jefferson County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Kitsap County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"92000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "Which Louisiana parish reports the population greater than 21,000, based on a census, and it is the administrative division of Louisiana (the population of 2,363,880) ?", "choices": ["Jefferson Parish", "Russian Empire", "Coming Home", "East Java", "Persian", "Jon Anderson", "Mao Zedong", "From Hell", "Grammy Award for Best Latin Pop Album", "John Schlesinger"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "21000", ">"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["determination method", "census"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["parish of Louisiana"]}, {"function": "Find", "dependencies": [], "inputs": ["Louisiana"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "2363880", "="]}, {"function": "Relate", "dependencies": [5], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["parish of Louisiana"]}, {"function": "And", "dependencies": [3, 7], "inputs": []}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"parish of Louisiana\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"21000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"census\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Louisiana\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2363880\"^^xsd:double .  }", "answer": "Jefferson Parish"}, {"question": "What is the connection between Four Weddings and a Funeral to Rowan Atkinson?", "choices": ["office held by head of state", "vehicle normally used", "this taxon is source of", "source of material", "famous people", "quotes work", "located on astronomical location", "narrator", "mascot", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Four Weddings and a Funeral"]}, {"function": "Find", "dependencies": [], "inputs": ["Rowan Atkinson"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Four Weddings and a Funeral\" . ?e_2 <pred:name> \"Rowan Atkinson\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which ceremonial county of England is the birthplace of Kate Walsh (whose date of birth is 1981-06-17)?", "choices": ["Warwickshire", "Derbyshire", "Norfolk", "Somerset", "Essex", "Cumbria", "Cheshire", "Northumberland", "Cornwall", "Staffordshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kate Walsh"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1981-06-17", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ceremonial county of England"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Kate Walsh\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1981-06-17\"^^xsd:date .   }", "answer": "Staffordshire"}, {"question": "For the sovereign state whose demonym is checoslovaca (the involved part of this statement is feminine singular), what is the time point for its population is 13607385?", "choices": ["1753", "2016-08-01", "2002", "1952-01-01", "1792", "2003-01-15", "1435", "1998-03-18", "1921", "1815-12-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "checoslovaca"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "feminine singular"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "13607385", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"checoslovaca\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"feminine singular\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"13607385\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1921"}, {"question": "Which movie is shorter, The Ides of March or Little Women (the one whose distributor is RKO Pictures)?", "choices": ["A Prairie Home Companion", "Little Women", "The Ides of March", "Pleasantville", "Talk to Her", "Rebecca", "Training Day", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ides of March"]}, {"function": "Find", "dependencies": [], "inputs": ["RKO Pictures"]}, {"function": "Relate", "dependencies": [1], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Little Women"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Ides of March\" .  } UNION { ?e <pred:name> \"Little Women\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"RKO Pictures\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Ides of March"}, {"question": "When did Henri Bergson receive the Nobel Prize in Literature?", "choices": ["1500", "1832-01-01", "2007-06-28", "1915", "1927", "1998", "1910", "2001-03-11", "2002-03-20", "1737-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henri Bergson"]}, {"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Literature"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Henri Bergson\" . ?e_2 <pred:name> \"Nobel Prize in Literature\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1927"}, {"question": "Gladiator, an Academy Award nominee for Best Writing, Original Screenplay, is about which capital?", "choices": ["Budapest", "Rome", "Sarajevo", "Doha", "Mexico City", "Paris", "Lausanne", "Nicosia", "Riga", "Moscow"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gladiator"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["capital"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> \"Gladiator\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" .   }", "answer": "Rome"}, {"question": "Is the date of death after 1957 for the person with ISNI 0000 0001 1780 4660?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1780 4660"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1957", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1780 4660\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1957 ) .  }", "answer": "yes"}, {"question": "What is Hornbostel-Sachs classification of the class of instruments whose Iconclass notation is 48C73411?", "choices": ["421.121.12", "421.221.12", "211.11", "211.212.11", "422.22", "531.1", "111.212", "131.22", "112.1", "321.321-72"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "48C73411"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of instruments"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Hornbostel-Sachs classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e <Iconclass_notation> ?pv_1 . ?pv_1 <pred:value> \"48C73411\" . ?e <Hornbostel-Sachs_classification> ?pv .  }", "answer": "112.1"}, {"question": "Does Shadowlands (whose length is 92 minutes) or Brazil (whose color is black-and-white) have the shorter runtime?", "choices": ["A Prairie Home Companion", "The Fifth Element", "Training Day", "Talk to Her", "Brazil", "Shadowlands", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shadowlands"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "92 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [2], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brazil"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shadowlands\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"92\"^^xsd:double . } UNION { ?e <pred:name> \"Brazil\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brazil"}, {"question": "Which person's Munzinger IBA is 00000023865?", "choices": ["Joely Richardson", "Max Fleischer", "Linda Ronstadt", "Dick Clark", "Richard Gere", "J. J. Abrams", "William Henry Harrison", "Jude Law", "Sylvester Stallone", "Shahrukh Khan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000023865"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000023865\" .  }", "answer": "Jude Law"}, {"question": "How is  P.S. I Love You (the one whose publication date is 2013-02-04) related to Pamela Fryman ?", "choices": ["talk show guest", "next lower rank", "member of sports team", "voice type", "discoverer or inventor", "season starts", "language of work or name", "director", "office held by head of government", "father"], "program": [{"function": "Find", "dependencies": [], "inputs": ["P.S. I Love You"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2013-02-04", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Pamela Fryman"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"P.S. I Love You\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2013-02-04\"^^xsd:date . ?e_2 <pred:name> \"Pamela Fryman\" . ?e_1 ?p ?e_2 .  }", "answer": "director"}, {"question": "Which person was the screenwriter of Raiders of the Lost Ark and whose Libris-URI is dbqst2bx0zm0q7p?", "choices": ["Rahul Dev Burman", "Lawrence Kasdan", "Paul Simon", "David Byrne", "William Henry Harrison", "Max Fleischer", "Richard Gere", "James E. Reilly", "Sylvester Stallone", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raiders of the Lost Ark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Libris-URI", "dbqst2bx0zm0q7p"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Raiders of the Lost Ark\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"dbqst2bx0zm0q7p\" .  }", "answer": "Lawrence Kasdan"}, {"question": "Of New Jersey cities with an elevation under 840 meters, which has the highest elevation?", "choices": ["Newark", "Hackensack", "Paterson", "Plainfield", "Trenton", "Bayonne", "Perth Amboy", "East Orange", "Passaic", "Jersey City"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "840 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"840\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "East Orange"}, {"question": "How many arts festivals are there that get started prior 1946?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1946", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["arts festival"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"arts festival\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1946 ) .  }", "answer": "1"}, {"question": "What is the Giphy username of Linkin Park ?", "choices": ["ebay", "bluejacketsnhl", "eddieizzard", "nickjonas", "nyjets", "nickelodeon", "uofnh", "polydorrecords", "prisonbreakonfox", "linkinpark"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Linkin Park"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Linkin Park\" . ?e <Giphy_username> ?pv .  }", "answer": "linkinpark"}, {"question": "When was James Whitmore born?", "choices": ["1977-11-10", "1712-01-24", "1956-01-27", "1893-01-12", "1966-12-05", "1885-10-07", "1996-04-14", "1967-10-17", "1921-10-01", "1921-07-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Whitmore"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"James Whitmore\" . ?e <date_of_birth> ?pv .  }", "answer": "1921-10-01"}, {"question": "Was the basketball team whose official website is http://www.maccabi.co.il/ founded after 1709?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.maccabi.co.il/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1709", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.maccabi.co.il/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1709 ) .  }", "answer": "yes"}, {"question": "Which one has the smallest duration among the characteristic movie that particularly depicts pirate.", "choices": ["G-Force", "Pirates of the Caribbean: The Curse of the Black Pearl", "The Muppets", "Holes", "The Flintstones in Viva Rock Vegas", "Pirates of the Caribbean: Dead Man's Chest", "National Treasure: Book of Secrets", "John Carter", "Alvin and the Chipmunks: Chipwrecked", "Old Dogs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pirate"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"pirate\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pirates of the Caribbean: The Curse of the Black Pearl"}, {"question": "How many Italian provinces are located in Piedmond which partially contains Pennine Alps ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennine Alps"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partially contains", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Piedmont"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of Italy"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Piedmont\" . ?e_1 <partially_contains> ?e_2 . ?e_2 <pred:name> \"Pennine Alps\" .   }", "answer": "2"}, {"question": "Which person's ISNI is 0000 0001 0927 4524?", "choices": ["Augustine of Hippo", "Dan Aykroyd", "Nancy Cartwright", "Trevor Howard", "William Henry Harrison", "Danny Smith", "Bobby McFerrin", "Sylvester Stallone", "Max Fleischer", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0927 4524"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0927 4524\" .  }", "answer": "Nancy Cartwright"}, {"question": "How many programming languages are the programming language of Solaris (which was developed by Oracle Corporation)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oracle Corporation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Solaris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["programming language", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["programming language"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"programming language\" . ?e_1 <programming_language> ?e . ?e_1 <pred:name> \"Solaris\" . ?e_1 <developer> ?e_2 . ?e_2 <pred:name> \"Oracle Corporation\" .   }", "answer": "2"}, {"question": "Is the population, determined via census, of an administrative territorial entity that contains the administrative division Cranston, 1,100,000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cranston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "determination method", "census"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1100000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Cranston\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1100000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> \"census\" .  }", "answer": "no"}, {"question": "What is the Giphy username of the media franchise whose Instagram username is starwars?", "choices": ["blizzard_ent", "coloradoavalanche", "epitaphrecords", "robinthicke", "nfl", "om_officiel", "southamptonfc", "weezer", "uofnh", "starwars"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "starwars"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"starwars\" . ?e <Giphy_username> ?pv .  }", "answer": "starwars"}, {"question": "Where was The End of the Affair (which was nominated for a Golden Globe Award for Best Original Score) published on 2000-02-24?", "choices": ["South Africa", "Northern America", "Germany", "Colombia", "Turkey", "Sydney", "Hollywood", "Estonia", "Venice Film Festival", "Malaysia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Original Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The End of the Affair"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2000-02-24", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The End of the Affair\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Globe Award for Best Original Score\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2000-02-24\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is a11056496 the CANTIC-ID of the person whose Google Doodle is robert-schumanns-200th-birthday?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Google Doodle", "robert-schumanns-200th-birthday"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["a11056496"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Google_Doodle> ?pv_1 . ?pv_1 <pred:value> \"robert-schumanns-200th-birthday\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11056496\" .  }", "answer": "no"}, {"question": "What media franchise derives The Transformers: The Movie and has the official website https://transformers.hasbro.com/en-us under the jurisdiction of the United States of America?", "choices": ["Transformers", "Mighty Morphin Power Rangers", "Jurassic Park", "Shrek", "Dragon Ball", "Law & Order", "From Dusk till Dawn", "Star Trek", "The Little Mermaid", "Star Wars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Transformers: The Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["based on", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["media franchise"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://transformers.hasbro.com/en-us"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["applies to jurisdiction", "United States of America"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["media franchise"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"media franchise\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"The Transformers: The Movie\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://transformers.hasbro.com/en-us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "Transformers"}, {"question": "Is Reims or Eindhoven at a lower elevation?", "choices": ["Eindhoven", "Aachen", "Lyon", "Bordeaux", "Dnipro", "Reims", "Halle (Saale)", "Fort Smith", "Stuttgart", "Wuppertal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Reims"]}, {"function": "Find", "dependencies": [], "inputs": ["Eindhoven"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Reims\" .  } UNION { ?e <pred:name> \"Eindhoven\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Eindhoven"}, {"question": "What is the association between John Mills (who died from a stroke) and Buckinghamshire?", "choices": ["substitute/deputy/replacement of office/officeholder", "place of death", "notable work", "basic form of government", "diaspora", "candidate", "godparent", "film editor", "award received", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["stroke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Mills"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Buckinghamshire"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Mills\" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> \"stroke\" . ?e_2 <pred:name> \"Buckinghamshire\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "What is the postal code of a town in Australia (the one that is the release region of The House of Mirth) ?", "choices": ["49001, 49003, 49004, 49005, 49006, 49007, 49008, 49009, 49019, 49048", "81001\u201381012", "48121\u201348125", "90220\u201390224", "700 073", "3010, 3015", "52242", "15282", "2100 K\u00f8benhavn \u00d8", "4350"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The House of Mirth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Australia\" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> \"The House of Mirth\" .  ?e <postal_code> ?pv .  }", "answer": "4350"}, {"question": "How many unitary states are the twinned administrative body of the city whose postal code is S3000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "S3000"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["unitary state"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"S3000\" .   }", "answer": "1"}, {"question": "What is the date of birth for the person who has an ISNI of 0000 0003 6111 0767", "choices": ["1961-11-20", "1926-07-08", "1942-10-05", "1905-04-28", "1875-04-08", "1799-06-06", "1954-10-26", "1947-09-11", "1966-12-05", "1936-02-27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6111 0767"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6111 0767\" . ?e <date_of_birth> ?pv .  }", "answer": "1961-11-20"}, {"question": "What is the connection between County Tyrone to County Antrim?", "choices": ["replaces", "legislative body", "season starts", "original language of film or TV show", "official language", "narrator", "shares border with", "editor", "practiced by", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Tyrone"]}, {"function": "Find", "dependencies": [], "inputs": ["County Antrim"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"County Tyrone\" . ?e_2 <pred:name> \"County Antrim\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "what is Tsui Hark's CANTIC-ID?", "choices": ["a11604190", "a11028920", "a11589176", "a11162508", "a10574359", "a11327856", "a10490383", "a10916921", "a10432097", "a10043706"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tsui Hark"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tsui Hark\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11162508"}, {"question": "When was Watchmen (run-time 186 minutes) a Saturn Award nominee for Best Costume?", "choices": ["2004-02-18", "1497-01-01", "1998-10-21", "1993-11-19", "2016-10-01", "2000-06-07", "2013-09-12", "2009", "2004-09-19", "1830-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Watchmen"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "186 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Costume"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Watchmen\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"186\"^^xsd:double . ?e_2 <pred:name> \"Saturn Award for Best Costume\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "What is the official website of the person whose pseudonym is Stephen Bury?", "choices": ["http://www.regione.sardegna.it", "https://www.bbc.co.uk/programmes/b09s7hcl", "http://oscars.org/", "http://novakdjokovic.com/", "http://www.nealstephenson.com/", "http://www.sussexcountyde.gov", "http://www.iamrogue.com/limitless/fullsite", "http://www.voiceofmichelleruff.com/", "https://www.thebeatles.com", "http://www.brasil.gov.br"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Stephen Bury"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> \"Stephen Bury\" . ?e <official_website> ?pv .  }", "answer": "http://www.nealstephenson.com/"}, {"question": "What is the relationship between Clive A. Smith and the United Kingdom?", "choices": ["programming paradigm", "country of citizenship", "place of origin (Switzerland)", "record label", "languages spoken, written or signed", "penalty", "noble title", "broadcast by", "color", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clive A. Smith"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Clive A. Smith\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the connection between Andy Hallett to Angel (the one that has David Fury as a cast member)?", "choices": ["characters", "notable work", "superhuman feature or ability", "license", "opposite of", "child astronomical body", "ancestral home", "language of work or name", "official symbol", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andy Hallett"]}, {"function": "Find", "dependencies": [], "inputs": ["David Fury"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Angel"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Andy Hallett\" . ?e_2 <pred:name> \"Angel\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"David Fury\" . ?e_1 ?p ?e_2 .  }", "answer": "notable work"}, {"question": "Which US city in Washoe County occupies over 100 square km ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washoe County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["100 square kilometre", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Washoe County\" .  ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"100\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "When did  Peter Boyle (the one whose date of death is 1939-06-24) stop becoming  a member of Leyton Orient F.C.?", "choices": ["1906-01-01", "2011-01-03", "1991-08-24", "1950-01-01", "2013-01-18", "1926-01-01", "2014-06-02", "2016-07-29", "1918-01-01", "1974"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Boyle"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1939-06-24", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Leyton Orient F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Boyle\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1939-06-24\"^^xsd:date . ?e_2 <pred:name> \"Leyton Orient F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1906-01-01"}, {"question": "Does the person corresponding to ISNI 0000 0001 1576 5928 have 4 kids?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1576 5928"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1576 5928\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"4\"^^xsd:double .  }", "answer": "yes"}, {"question": "What is the connection between roots rock to Tom Petty?", "choices": ["use", "position played on team / speciality", "stated in", "had as last meal", "presenter", "famous people", "from fictional universe", "make-up artist", "medical treatment", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["roots rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Petty"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"roots rock\" . ?e_2 <pred:name> \"Tom Petty\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "At what point in time is 334162 the population of the state in the United States that is the narrative location of Rambo (that has Richard Crenna as a cast member)?", "choices": ["1819-12-01", "2015-06-30", "2008-05-01", "1976-05-17", "1998-02-18", "2006-05-01", "1920", "2012-07-01", "1987-07-07", "1865"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Crenna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rambo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "334162", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"Rambo\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Richard Crenna\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"334162\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1920"}, {"question": "What is the number of newscasts that are the series spin-off of Today (whose Instagram username is todayshow) and have an establishment that is before 1975?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Today"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "todayshow"]}, {"function": "Relate", "dependencies": [1], "inputs": ["series spin-off", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["newscast"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1975", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["newscast"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> \"Today\" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> \"todayshow\" .  ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1975 ) .  }", "answer": "0"}, {"question": "In what administrative territorial body is Dallas located, Dallas being where Aaron Spelling was born, as well as Vanilla Ice?", "choices": ["Georgian Soviet Socialist Republic", "Ramenki District", "New York", "Texas", "Syria", "Kingdom of Lombardy\u2013Venetia", "Russian Soviet Federative Socialist Republic", "Germany", "British Raj", "Oregon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vanilla Ice"]}, {"function": "Find", "dependencies": [], "inputs": ["Aaron Spelling"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dallas"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Vanilla Ice\" . ?e_2 <pred:name> \"Dallas\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Aaron Spelling\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Texas"}, {"question": "How many bowed string instruments have Hornbostel-Sachs classification 513 or whose famous people is Penn Jillette?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "513"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["bowed string instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Penn Jillette"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["bowed string instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"bowed string instrument\" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"513\" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Penn Jillette\" .  } }", "answer": "2"}, {"question": "Which work was awarded when Jacob Vargas won the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture?", "choices": ["The Hole Man", "Lucky Numbers", "Constant Craving", "Justin Bieber: Never Say Never", "Traffic", "The Client", "Ferdinand the Bull", "Dr. Jekyll and Mr. Hyde", "Roe vs. Wade", "The Trip to Bountiful"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Find", "dependencies": [], "inputs": ["Jacob Vargas"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_2 <pred:name> \"Jacob Vargas\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Traffic"}, {"question": "How many follow the Twitter username montypython, which belongs to the satire agency?", "choices": ["257", "534634", "1232397", "2726075", "64310", "219713", "3697", "66010440", "111098", "15589"], "program": [{"function": "Find", "dependencies": [], "inputs": ["satire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "montypython", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"satire\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"montypython\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "111098"}, {"question": "Did the 46th Academy Awards not take place in 2018?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["46th Academy Awards"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["point in time"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2018", "!="]}], "sparql": "ASK { ?e <pred:name> \"46th Academy Awards\" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2018 ) .  }", "answer": "yes"}, {"question": "Is Milla Jovovich or Brad Pitt taller in height?", "choices": ["Milla Jovovich", "James E. Reilly", "Richard Gere", "Max Fleischer", "Rahul Dev Burman", "Sylvester Stallone", "Paul Simon", "Brad Pitt", "David Byrne", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Milla Jovovich"]}, {"function": "Find", "dependencies": [], "inputs": ["Brad Pitt"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Milla Jovovich\" .  } UNION { ?e <pred:name> \"Brad Pitt\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Brad Pitt"}, {"question": "How many job positions are shortened as prof. or designated by ROME Occupation Code (v3) C1503?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "prof."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["occupation"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "C1503"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["occupation"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" .  { ?e <short_name> ?pv . ?pv <pred:value> \"prof.\" .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"C1503\" .  } }", "answer": "2"}, {"question": "What is the ISNI of the band that has the official website of http://whoismgmt.com/?", "choices": ["0000 0000 8601 0285", "0000 0001 1470 0727", "0000 0001 0661 0166", "0000 0003 8487 2342", "0000 0001 2177 0977", "0000 0001 1031 8352", "0000 0001 2121 4196", "0000 0004 0453 0770", "0000 0001 2315 0309", "0000 0000 8398 4762"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://whoismgmt.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://whoismgmt.com/\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0661 0166"}, {"question": "Who is the producer of the single published in 1981?", "choices": ["Phil Spector", "Jared Leto", "Peter Lawford", "Vangelis", "Freddie Mercury", "Robert Evans", "Warren Beatty", "Robert Chartoff", "Madonna", "George Lucas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1981", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"single\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1981 .   }", "answer": "Vangelis"}, {"question": "Billy Crudup was a Tony Award winner for Best Featured Actor in which Play?", "choices": ["Mexico\u2013Tanzania relations", "Iowa\u2013Minnesota border", "Kyrgyzstan\u2013Russia relations", "Tajikistan\u2013Turkey relations", "Bangladesh\u2013Indonesia relations", "China\u2013Malawi relations", "Kenya\u2013South Korea relations", "61st Tony Awards", "ministry of Jesus", "Haiti\u2013Israel relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billy Crudup"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Billy Crudup\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actor in a Play\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "61st Tony Awards"}, {"question": "Tell me the nominee of They Shoot Horses, Don't They? was nominated for Academy Award for Best Director", "choices": ["Angelo P. Graham", "Eiko Ishioka", "Lee Garmes", "Harry W. Tetrick", "Peter Boyle", "John M. Dwyer", "John Foreman", "Sydney Pollack", "Pedro Almod\u00f3var", "Shirley MacLaine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["They Shoot Horses, Don't They?"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"They Shoot Horses, Don't They?\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Sydney Pollack"}, {"question": "How is The Fifth Element published by Hudson Soft related to single-player video game?", "choices": ["student of", "diplomatic relation", "legal form", "licensed to broadcast to", "editor", "location of formation", "narrative role", "Wikidata property", "located in time zone", "game mode"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hudson Soft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fifth Element"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fifth Element\" . ?e_1 <publisher> ?e_3 . ?e_3 <pred:name> \"Hudson Soft\" . ?e_2 <pred:name> \"single-player video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "What is the role of Johnny Mercer (the one that died of natural causes) as the composer in the 83-minute long Robin Hood ?", "choices": ["cameo appearance", "region of France", "uncredited appearance", "minority language", "songwriter", "X-Men: The Last Stand", "vocal arranger", "LAU 1", "X2", "lead vocalist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robin Hood"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "83 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "Relate", "dependencies": [2], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Johnny Mercer"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["composer", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robin Hood\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"83\"^^xsd:double . ?e_2 <pred:name> \"Johnny Mercer\" . ?e_2 <manner_of_death> ?e_3 . ?e_3 <pred:name> \"natural causes\" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "songwriter"}, {"question": "John Cho is cast as what character on the Star Trek with a budget of 150000000 USD?", "choices": ["Hikaru Sulu", "Gabrielle Solis", "Felicity Shagwell", "Baldwin IV of Jerusalem", "Regis Philbin", "First Ancestor", "Archdeacon", "Feyd-Rautha", "Jim Brass", "Peter Venkman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["budget", "150000000 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["John Cho"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek\" . ?e_1 <budget> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"150000000\"^^xsd:double . ?e_2 <pred:name> \"John Cho\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Hikaru Sulu"}, {"question": "Does Antigua and Barbuda or Fiji have the higher PPP GDP per capita?", "choices": ["Lithuania", "Fiji", "Saint Vincent and the Grenadines", "Jamaica", "Trinidad and Tobago", "Kosovo", "Finland", "Kazakhstan", "Antigua and Barbuda", "Tajikistan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Antigua and Barbuda"]}, {"function": "Find", "dependencies": [], "inputs": ["Fiji"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["PPP GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Antigua and Barbuda\" .  } UNION { ?e <pred:name> \"Fiji\" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Antigua and Barbuda"}, {"question": "What is the connection between George Washington University to George Washington University Law School?", "choices": ["has part", "official color", "parent astronomical body", "member of political party", "exclave of", "lowest point", "doctoral student", "mascot", "located in the administrative territorial entity", "from fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Washington University"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington University Law School"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Washington University\" . ?e_2 <pred:name> \"George Washington University Law School\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "When did Mauricio Pinilla (who's a member of Cagliari Calcio) join CR Vasco da Gama?", "choices": ["1999-07-17", "2008-01-01", "1945-12-10", "2009-08-07", "1954-02-19", "2011-12-12", "1978-09-11", "1936-08-01", "1990-07-12", "2014-08-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cagliari Calcio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mauricio Pinilla"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["CR Vasco da Gama"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mauricio Pinilla\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Cagliari Calcio\" . ?e_2 <pred:name> \"CR Vasco da Gama\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2008-01-01"}, {"question": "Diane Keaton received a New York Film Critics Circle Award for Best Actress for which work?", "choices": ["Freedom", "The Beguiled", "Velvet Goldmine", "Transformers: Revenge of the Fallen", "Annie Hall", "The Imitation Game", "Crazy in Love", "Moulin Rouge!", "You Don't Know Me: The Songs of Cindy Walker", "Match Point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Diane Keaton"]}, {"function": "Find", "dependencies": [], "inputs": ["New York Film Critics Circle Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Diane Keaton\" . ?e_2 <pred:name> \"New York Film Critics Circle Award for Best Actress\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Annie Hall"}, {"question": "How many former French regions were replaced by Normandy whose population is 3339131 or whose SIREN number is 232100016?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3339131", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["replaces", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["former French region"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["SIREN number", "232100016"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["former French region"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" .  { ?e_1 <replaces> ?e . ?e_1 <pred:name> \"Normandy\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3339131\"^^xsd:double .  } UNION { ?e <SIREN_number> ?pv . ?pv <pred:value> \"232100016\" .  } }", "answer": "3"}, {"question": "Is the ISNI 0000 0001 0983 4464 for the university whose official website is http://www.sva.edu?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sva.edu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0983 4464"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sva.edu\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0983 4464\" .  }", "answer": "no"}, {"question": "What person's genre is disco whose famous individual is Benny Andersson?", "choices": ["Alan Jay Lerner", "Michael Stipe", "Giorgio Moroder", "Paris Hilton", "Max Fleischer", "Robert F. McGowan", "Amanda Lear", "Wanda Sykes", "Max Martin", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benny Andersson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disco"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"disco\" . ?e_1 <famous_people> ?e_2 . ?e_2 <pred:name> \"Benny Andersson\" .   }", "answer": "Amanda Lear"}, {"question": "What visual artwork is narrated by Ray Liotta?", "choices": ["The Graduate", "North", "Pleasantville", "The Fifth Element", "Talk to Her", "The Right Stuff", "Goodfellas", "The Rainmaker", "Attack the Block", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Liotta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrator", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrator> ?e_1 . ?e_1 <pred:name> \"Ray Liotta\" .   }", "answer": "Goodfellas"}, {"question": "What method determines that 364920 is the population of the big city whose name is Bm for short?", "choices": ["Pensky\u2013Martens closed-cup test", "average", "United Kingdom Census 2011", "national estimation", "administrative division valid at the moment of publication", "lead-lead dating", "Canada 2011 Census", "resident registration", "estimation", "Address Based Population Registration System"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "Bm"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "364920", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"Bm\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"364920\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation"}, {"question": "Tell me which one has the smaller populatoin, Marrakesh or Mogadishu.", "choices": ["Chihuahua", "Dundee", "Kingston", "Bergen", "Santo Domingo", "Trieste", "Marrakesh", "Mogadishu", "Kilkenny", "Cork"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mogadishu"]}, {"function": "Find", "dependencies": [], "inputs": ["Marrakesh"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mogadishu\" .  } UNION { ?e <pred:name> \"Marrakesh\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Marrakesh"}, {"question": "What is the number of political parties that have a dissolution date other than 2003", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "2003", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2003 ) .  }", "answer": "14"}, {"question": "How is Halle (Saale) related to German Democratic Republic?", "choices": ["territory overlaps", "contains administrative territorial entity", "academic degree", "designated as terrorist by", "owned by", "professorship", "country", "studies", "cast member", "captain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Halle (Saale)"]}, {"function": "Find", "dependencies": [], "inputs": ["German Democratic Republic"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Halle (Saale)\" . ?e_2 <pred:name> \"German Democratic Republic\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "The person with CANTIC-ID a11850747 was born in which Pennsylvania county?", "choices": ["Monroe County", "Cumberland County", "Westmoreland County", "Clinton County", "Lehigh County", "Allegheny County", "Fayette County", "Warren County", "Cambria County", "Mercer County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11850747"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Pennsylvania"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11850747\" .   }", "answer": "Cambria County"}, {"question": "Which Primetime Emmy Award has the inception time in 1953 and was nominated for Friends (the one that was nominated for Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series)?", "choices": ["Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series", "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series", "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series", "Primetime Emmy Award for Outstanding Writing for a Drama Series", "Primetime Emmy Award for Outstanding Writing for a Comedy Series", "Primetime Emmy Award for Outstanding Directing for a Comedy Series", "Primetime Emmy Award for Outstanding Animated Program", "Primetime Emmy Award for Outstanding Comedy Series", "Primetime Emmy Award for Individual Performance in a Variety or Music Program", "Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1953", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Friends"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["Primetime Emmy Award"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e <inception> ?pv . ?pv <pred:year> 1953 . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Friends\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series\" .  }", "answer": "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series"}, {"question": "Which has more episodes, WWE Superstars or Tiny Toon Adventures (the one whose date of first performance is 1990-09-14)?", "choices": ["Phineas and Ferb", "Batman Beyond", "Tiny Toon Adventures", "Fantastic Four", "WWE Superstars", "Aladdin", "American Dad!", "The Venture Bros.", "Robot Chicken", "The Cleveland Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WWE Superstars"]}, {"function": "Find", "dependencies": [], "inputs": ["Tiny Toon Adventures"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["date of first performance", "1990-09-14", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"WWE Superstars\" . } UNION { ?e <pred:name> \"Tiny Toon Adventures\" . ?e <date_of_first_performance> ?pv_1 . ?pv_1 <pred:date> \"1990-09-14\"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tiny Toon Adventures"}, {"question": "Does Ninotchka clock in at over 8.2 hours ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ninotchka"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["8.2 hour", ">"]}], "sparql": "ASK { ?e <pred:name> \"Ninotchka\" . ?e <duration> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> ?v . FILTER ( ?v > \"8.2\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the language one can hear in Pl-Laura.ogg, the pronunciation audio for Laura Carmichael, a name given to females ?", "choices": ["Yaqui", "Thai", "Polish", "Occitan", "Cornish", "National language of Republic of China", "Old English", "Bokm\u00e5l", "Northern Sotho", "Japanese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laura Carmichael"]}, {"function": "Relate", "dependencies": [0], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["female given name"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pronunciation audio", "Pl-Laura.ogg", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"female given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Laura Carmichael\" .  ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Pl-Laura.ogg\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Polish"}, {"question": "What is the relationship between American Beauty (the one that has Mena Suvari as a cast member) to Alan Ball (the one that uses the language English)?", "choices": ["occupation", "mouth of the watercourse", "official color", "Wikidata property", "part of", "eye color", "screenwriter", "model item", "quotes work", "has contributing factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mena Suvari"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Beauty"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [4], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Ball"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"American Beauty\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Mena Suvari\" . ?e_2 <pred:name> \"Alan Ball\" . ?e_2 <languages_spoken,_written_or_signed> ?e_4 . ?e_4 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "Which website represents Genesee County, which borders Niagara County?", "choices": ["http://www.westportct.gov", "http://www.cityofgainesville.org/", "http://www.clive-owen.org", "http://www.stlouisco.com", "http://www.sonypictures.com/movies/olivertwist/", "https://www.chemnitz.de/", "http://DavidJonline.com", "http://www.charlesbronson.info/", "http://www.co.genesee.ny.us", "http://www.co.northampton.va.us"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Niagara County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Genesee County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Genesee County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Niagara County\" .  ?e <official_website> ?pv .  }", "answer": "http://www.co.genesee.ny.us"}, {"question": "Was Men in Black 3 released in the USA prior to 2011?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Men in Black 3"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "United States of America"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2011", "<"]}], "sparql": "ASK { ?e <pred:name> \"Men in Black 3\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" .  }", "answer": "no"}, {"question": "Which human won an Academy Award for Best Actor in 1933?", "choices": ["F. Murray Abraham", "Laurence Olivier", "Richard Gere", "Gary Cooper", "Max Fleischer", "Charles Laughton", "Humphrey Bogart", "William Henry Harrison", "Ray Milland", "Daniel Day-Lewis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1933", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1933 .  }", "answer": "Charles Laughton"}, {"question": "What is the official website for the Seattle Sounders FC?", "choices": ["http://www.vvv-venlo.nl/", "http://www.miramax.com/movie/the-english-patient", "http://www.ronniejamesdio.com", "http://www.comune.cremona.it", "http://www.sam-shepard.com/", "http://www.rolfekent.com/", "https://www.soundersfc.com", "http://pfclitex.com", "http://disney.go.com/brave/index.html", "http://www.mtv.com/ontv/movieawards/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seattle Sounders FC"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Seattle Sounders FC\" . ?e <official_website> ?pv .  }", "answer": "https://www.soundersfc.com"}, {"question": "Which movie is longer, The Squid and the Whale or The Cable Guy?", "choices": ["Training Day", "Pleasantville", "A Prairie Home Companion", "The Squid and the Whale", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "The Fifth Element", "The Cable Guy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Squid and the Whale"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cable Guy"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Squid and the Whale\" .  } UNION { ?e <pred:name> \"The Cable Guy\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Cable Guy"}, {"question": "Which anime television series that is originally aired on TV Tokyo has the smallest number of episodes?", "choices": ["Mobile Suit Gundam SEED", "Dragon Ball", "Mobile Suit Gundam 00", "Digimon Adventure 02", "Digimon Adventure", "Yu-Gi-Oh! Duel Monsters", "Yu-Gi-Oh! GX", "The Three Musketeers", "Speed Racer", "RahXephon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TV Tokyo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"TV Tokyo\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Yu-Gi-Oh! GX"}, {"question": "Which Hornbostel-Sachs designation applies to the class of instruments including the one Clint Black plays?", "choices": ["322", "211.221.1", "422.120", "412.132", "321.321-72", "112.1", "531.1", "111.222", "321.322-5", "421.121.12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clint Black"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of instruments"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Hornbostel-Sachs classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Clint Black\" .  ?e <Hornbostel-Sachs_classification> ?pv .  }", "answer": "412.132"}, {"question": "Where was Wayne's World published on 1992-07-02?", "choices": ["Hong Kong", "London", "Greek Theatre, Los Angeles", "Tribeca Film Festival", "Portugal", "Germany", "New York", "Argentina", "Grauman's Chinese Theatre", "BFI London Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wayne's World"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1992-07-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Wayne's World\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1992-07-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which has less students, the Moscow Conservatory or the Manhattan School of Music?", "choices": ["Oberlin Conservatory of Music", "Moscow Conservatory", "Saint Petersburg Conservatory", "Royal Conservatoire of Scotland", "Curtis Institute of Music", "Milan Conservatory", "New England Conservatory of Music", "Conservatoire de Paris", "Cleveland Institute of Music", "Manhattan School of Music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moscow Conservatory"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan School of Music"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Moscow Conservatory\" .  } UNION { ?e <pred:name> \"Manhattan School of Music\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Moscow Conservatory"}, {"question": "Is June Allyson\u2019s birth name Kristin Scott Thomas ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["June Allyson"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Kristin Scott Thomas"]}], "sparql": "ASK { ?e <pred:name> \"June Allyson\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Kristin Scott Thomas\" .  }", "answer": "no"}, {"question": "How many electronic musics have an inception time, not in 1988?", "choices": ["24", "25", "26", "27", "28", "29", "30", "31", "32", "33"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1988", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  }", "answer": "25"}, {"question": "For the national-association football team whose official name is \u00f6sterreichische Fu\u00dfballnationalmannschaft, who is the reviewer for its ranking of 91?", "choices": ["Charity Navigator", "Innovation, Science and Economic Development Canada", "Internet Movie Database", "International Congress of Distinguished Awards", "Roger Ebert", "FIFA", "Empire", "James Berardinelli", "Metacritic", "AlloCin\u00e9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u00f6sterreichische Fu\u00dfballnationalmannschaft"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "91", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u00f6sterreichische Fu\u00dfballnationalmannschaft\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"91\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "How many Indiana counties are the namesake of Allen Covert or have a population exceeding 5400000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Allen Covert"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "5400000", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Indiana"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Allen Covert\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"5400000\"^^xsd:double ) .  } }", "answer": "0"}, {"question": "IS the official website for Icon Productions  http://www.iconmovies.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Icon Productions"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.iconmovies.com/"]}], "sparql": "ASK { ?e <pred:name> \"Icon Productions\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.iconmovies.com/\" .  }", "answer": "yes"}, {"question": "Which industry participant's historical country shares a border with the Soviet Union?", "choices": ["Invasion of Normandy", "Android", "conglomerate", "Second Sino-Japanese War", "2003 invasion of Iraq", "Operation Barbarossa", "Boxer Rebellion", "North African Campaign", "Napoleonic Wars", "Gallipoli Campaign"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Soviet Union"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Relate", "dependencies": [2], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["industry"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <participant> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"historical country\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Soviet Union\" .   }", "answer": "Boxer Rebellion"}, {"question": "Is \u0414\u044a\u0436\u0434 the motto text for the non-metropolitan district whose TOID is 7000000000014002?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "7000000000014002"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan district"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["motto text"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["\u0414\u044a\u0436\u0434"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> \"7000000000014002\" . ?e <motto_text> ?pv . ?pv <pred:value> \"\u0414\u044a\u0436\u0434\" .  }", "answer": "no"}, {"question": "Who is the person that was in the cast of Spider-Man 3, in which J.K. Simmons also appeared, and has the Twitter username LucyLiu?", "choices": ["Richard Gere", "Lucy Liu", "William Henry Harrison", "Max Fleischer", "Topher Grace", "James Cromwell", "David Byrne", "Elizabeth Banks", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. K. Simmons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man 3"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["Twitter username", "LucyLiu"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["human"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Spider-Man 3\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"J. K. Simmons\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"LucyLiu\" .  }", "answer": "Lucy Liu"}, {"question": "What is the title of Futurama, (the one that has William Shatner as a voice actor)?", "choices": ["Mary and Max", "Tom and Jerry", "Un mundo nuevo", "Futurama", "Game of Thrones", "Out of Sight", "The Jackal", "The Holiday", "\u5357\u6975\u7269\u8a9e", "Frida"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Shatner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Futurama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Futurama\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"William Shatner\" .  ?e <title> ?pv .  }", "answer": "Futurama"}, {"question": "What is the Twitter username of the person who is the composer of New York (the one whose publication date is 2009-01-01) ?", "choices": ["yunjinkim1", "davidsoncollege", "anmlcollective", "HillaryClinton", "RCSA", "DanniiMinogue", "TheJohnDiMaggio", "meganfox", "selenagomez", "ipritamofficial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"New York\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-01-01\"^^xsd:date . ?e <Twitter_username> ?pv .  }", "answer": "ipritamofficial"}, {"question": "Who is the person that has the ISNI of 0000 0000 6387 5876   ?", "choices": ["Satyajit Ray", "Sylvester Stallone", "Paul Williams", "William Henry Harrison", "Alexandre Desplat", "Will Ferrell", "Richard Gere", "Bryan Burk", "Max Fleischer", "Ronnie Screwvala"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 6387 5876"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6387 5876\" .  }", "answer": "Ronnie Screwvala"}, {"question": "Was the soccer club in Freiburg im Breisgau founded in a year excluding 1880 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freiburg im Breisgau"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1880", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Freiburg im Breisgau\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1880 ) .  }", "answer": "yes"}, {"question": "How is West Virginia related to Wood County, which was established on 1798-12-21?", "choices": ["had as last meal", "religious order", "contains administrative territorial entity", "head of government", "office held by head of the organisation", "office held by head of government", "sexual orientation", "replaces", "hair color", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Virginia"]}, {"function": "Find", "dependencies": [], "inputs": ["Wood County"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["inception", "1798-12-21", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"West Virginia\" . ?e_2 <pred:name> \"Wood County\" . ?e_2 <inception> ?pv . ?pv <pred:date> \"1798-12-21\"^^xsd:date . ?e_1 ?p ?e_2 .  }", "answer": "contains administrative territorial entity"}, {"question": "Tell me the number of airlines that has New York City has a headquarter location or that has the legal form limited company.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "Find", "dependencies": [], "inputs": ["limited company"]}, {"function": "Relate", "dependencies": [3], "inputs": ["legal form", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["airline"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"New York City\" .  } UNION { ?e <legal_form> ?e_1 . ?e_1 <pred:name> \"limited company\" .  } }", "answer": "3"}, {"question": "How many secondary schools are there that belong to the allegiance of the United Kingdom and whose official website is https://www.rada.ac.uk?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["allegiance", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.rada.ac.uk"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["secondary school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" . ?e <allegiance> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.rada.ac.uk\" .  }", "answer": "0"}, {"question": "How many subscribers does Hugh Bonneville have on his Twitter username hughbon?", "choices": ["20975", "2104311", "23318", "6824", "143161", "1000", "159778", "324121", "38498", "2007762"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Bonneville"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "hughbon", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Hugh Bonneville\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"hughbon\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "143161"}, {"question": "How was a population count of 12731 established for the independent city where University of Pittsburgh employee Donald Trump worked?", "choices": ["estimation", "hearth tax", "population projection", "demographic balance", "United Kingdom Census 1991", "United States Census", "2016 Australian census", "United Kingdom Census 1981", "questionnaire", "estimation process"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Pittsburgh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Donald Trump"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["work location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "12731", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <work_location> ?e . ?e_1 <pred:name> \"Donald Trump\" . ?e_1 <employer> ?e_2 . ?e_2 <pred:name> \"University of Pittsburgh\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"12731\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Is the inception time of the association football club whose Twitter username is S04 after 479 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "S04"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["479", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"S04\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 479 ) .  }", "answer": "yes"}, {"question": "Which state differs from Guernsey (the one whose area is 63.4 square kilometre)?", "choices": ["Tajikistan", "Finland", "Fiji", "Trinidad and Tobago", "Saint Vincent and the Grenadines", "Papua New Guinea", "Lithuania", "Guernsey", "Kosovo", "Jamaica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guernsey"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "63.4 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Guernsey\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"63.4\"^^xsd:double .   }", "answer": "Guernsey"}, {"question": "When did the democracy whose demonym is Sri Lanker have a nominal GDP of 5978460972.01767 USD?", "choices": ["1844", "2002-02-13", "1985-01-01", "1964", "1946-12-01", "1992", "1966-01-01", "1681", "2018-06-01", "1846"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Sri Lanker"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "5978460972.01767 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Sri Lanker\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"5978460972.01767\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1985-01-01"}, {"question": "For feature films after 2006 which one has the largest duration?", "choices": ["National Treasure: Book of Secrets", "Tron: Legacy", "Pirates of the Caribbean: On Stranger Tides", "Prince of Persia: The Sands of Time", "Pirates of the Caribbean: At World's End", "John Carter", "The Sorcerer's Apprentice", "G-Force", "The Chronicles of Narnia: Prince Caspian", "Old Dogs"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2006", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 2006 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pirates of the Caribbean: At World's End"}, {"question": "When did the work period start for the director of Nebraska (the one that was nominated for Academy Award for Best Director)?", "choices": ["1979", "2017", "1918", "1974", "1960", "1985", "1976", "2002", "1944", "1953"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Nebraska\" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Director\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1985"}, {"question": "Which was more expensive, The Amazing Spider-Man released on 2012-07-03 or Dogma?", "choices": ["A Prairie Home Companion", "The Fifth Element", "Curse of the Golden Flower", "Talk to Her", "Training Day", "Dogma", "The Amazing Spider-Man", "Rebecca", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Amazing Spider-Man"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2012-07-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Dogma"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Amazing Spider-Man\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2012-07-03\"^^xsd:date . } UNION { ?e <pred:name> \"Dogma\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Amazing Spider-Man"}, {"question": "Tell me between Ninotchka and Africa that was published in 1999-01-01 which has a smaller duration", "choices": ["Training Day", "Pleasantville", "Talk to Her", "A Prairie Home Companion", "Ninotchka", "Rebecca", "The Fifth Element", "Africa", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ninotchka"]}, {"function": "Find", "dependencies": [], "inputs": ["Africa"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1999-01-01", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ninotchka\" . } UNION { ?e <pred:name> \"Africa\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1999-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Africa"}, {"question": "what big city is known by Woolongong as its native label?", "choices": ["Bruges", "Toulouse", "Lyon", "Wollongong", "Utrecht", "Stuttgart", "Wiesbaden", "Kassel", "Linz", "Halle (Saale)"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Wollongong"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <native_label> ?pv . ?pv <pred:value> \"Wollongong\" .  }", "answer": "Wollongong"}, {"question": "Who is the director of the visual artwork All That Jazz?", "choices": ["Jeremy Northam", "Alan J. Pakula", "Trisha Krishnan", "Bob Fosse", "William Shatner", "Meg Ryan", "Andy Warhol", "Henry James", "Quentin Tarantino", "Charlton Heston"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "All That Jazz"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"All That Jazz\" .   }", "answer": "Bob Fosse"}, {"question": "Where was released the film that is part of Star Trek in 1996-12-19?", "choices": ["2003 Cannes Film Festival", "Finland", "Washington, D.C.", "British Hong Kong", "Berlin", "Bulgaria", "Germany", "Cannes Film Festival", "Rio de Janeiro", "Westwood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: Nemesis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of the series", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["series ordinal", "8"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["publication date", "1996-12-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> \"Star Trek\" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> \"Star Trek: Nemesis\" . [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv_1 . ?qpv_1 <pred:value> \"8\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1996-12-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was parish of Louisiana whose population is greater than 24000 founded?", "choices": ["1846-03-01", "1825", "1826-12-15", "1971-04-16", "1792-06-01", "1960-06-03", "1901-03-01", "1094", "2008-07-10", "1851-02-08"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "24000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["parish of Louisiana"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"parish of Louisiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"24000\"^^xsd:double ) . ?e <inception> ?pv .  }", "answer": "1825"}, {"question": "Tell me the movie that mainly depicts the doors (which has a part containing Ray Manzarek)", "choices": ["Happy Days", "The Departed", "The Doors", "The Towering Inferno", "A Prairie Home Companion", "Pleasantville", "The Fifth Element", "Talk to Her", "Rebecca", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ray Manzarek"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Doors"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"The Doors\" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> \"Ray Manzarek\" .   }", "answer": "The Doors"}, {"question": "Natalie Portman was cast as which character on Black Swan?", "choices": ["singer", "leading actor", "film score composer", "vocal arranger", "guitarist", "territorial collectivity of France", "European Communities", "X-Men", "freshwater fish", "initialism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Black Swan"]}, {"function": "Find", "dependencies": [], "inputs": ["Natalie Portman"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "object has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Black Swan\" . ?e_2 <pred:name> \"Natalie Portman\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }", "answer": "leading actor"}, {"question": "How many followers have the Twitter username of the American International Group: AIGinsurance?", "choices": ["414851", "142248", "430", "6263848", "2765033", "493185", "59626", "774211", "36849", "13968866"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American International Group"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "AIGinsurance", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"American International Group\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AIGinsurance\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "36849"}, {"question": "Is http://www.fangoria.es/ the official website of a person whose birth name is Olvido Gara Jova ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Olvido Gara Jova"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.fangoria.es/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Olvido Gara Jova\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fangoria.es/\" .  }", "answer": "yes"}, {"question": "Which demonym applies to the US state where American Reunion was filmed?", "choices": ["Georgian", "guatemaltechi", "\u0628\u062d\u0627\u0631\u0646\u0629", "lombarda", "\u0430\u0440\u0433\u0435\u043d\u0442\u0438\u043d\u0435\u0446\u044c", "\u0431\u0440\u0438\u0442\u0430\u043d\u0446\u0456", "Indien", "muntenegrean", "Kansan", "Engelse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Reunion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["demonym"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"American Reunion\" .  ?e <demonym> ?pv .  }", "answer": "Georgian"}, {"question": "How many counties in Washington have a population different from 29000000 and have a population of less than 79000000?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "29000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "79000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Washington"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"29000000\"^^xsd:double ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"79000000\"^^xsd:double ) .  }", "answer": "16"}, {"question": "What is the connection between S.S.C. Napoli to association football?", "choices": ["source of material", "uses", "father", "residence", "feast day", "copyright holder", "sport", "draft pick from school", "fabrication method", "fictional universe described in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S.S.C. Napoli"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"S.S.C. Napoli\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the CANTIC-ID of the person whose official website is http://johncage.org/?", "choices": ["a1008910x", "a11024392", "a10100817", "a11919863", "a10972341", "a10449954", "a12013250", "a10946469", "a10056610", "a11585560"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://johncage.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://johncage.org/\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a10056610"}, {"question": "Among the Indiana counties whose population is not equal to 4100, which has the largest area?", "choices": ["Marion County", "Monroe County", "Madison County", "Shelby County", "Johnson County", "Delaware County", "Lake County", "Allen County", "Wayne County", "Franklin County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4100", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"4100\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allen County"}, {"question": "How many Golden Raspberry Awards either belong to the United States of America or were founded after 1981?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Raspberry Awards"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1981", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Golden Raspberry Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Raspberry Awards\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1981 ) .  } }", "answer": "10"}, {"question": "What is the number of New York counties that have country the sovereign state with the Dewey Decimal Classification is 2--73", "choices": ["42", "43", "44", "45", "46", "47", "48", "49", "50", "51"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--73"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of New York"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--73\" .   }", "answer": "45"}, {"question": "which is part is the film(the language of this statement is English),its duration is 137 miniute in  http://www.sonypictures.com/movies/spider-man3/?", "choices": ["highest point", "Henderson County", "Polk County", "White County", "Pelagie Islands", "Sumedang", "editor's cut", "Never Knew I Needed", "apogee", "Europe"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sonypictures.com/movies/spider-man3/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["duration", "137 minute", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sonypictures.com/movies/spider-man3/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"137\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <duration> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "editor's cut"}, {"question": "Does University of Toronto not have 89000 students?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Toronto"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["students count"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["89000", "!="]}], "sparql": "ASK { ?e <pred:name> \"University of Toronto\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"89000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "For the instrument used by the person whose Artists in Canada record number is 42907, what class of instruments is it?", "choices": ["celesta", "guitar", "harmonica", "bassoon", "acoustic bass guitar", "mellotron", "alto saxophone", "bass guitar", "piano", "baritone saxophone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Artists in Canada record number", "42907"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["class of instruments"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of instruments\" . ?e_1 <instrument> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Artists_in_Canada_record_number> ?pv . ?pv <pred:value> \"42907\" .   }", "answer": "harmonica"}, {"question": "What is the soundtrack album that has Jerry Goldsmith as a performer and was not published in 2016?", "choices": ["Tangled", "Mulan", "The Hunchback of Notre Dame", "Dune", "Twin Peaks: Fire Walk with Me", "Air Force One", "Into the Wild", "Pocahontas", "Alien", "Basic Instinct"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2016", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soundtrack album"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Jerry Goldsmith\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2016 ) .  }", "answer": "Alien"}, {"question": "Regarding the ethnic group that has an official website of https://www.beardstyles.website/2018/12/beard-styles.html, tell me its population", "choices": ["110000000", "5258317", "1104147", "199311", "63015", "441815", "44327", "66090", "10119835", "816328792"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.beardstyles.website/2018/12/beard-styles.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.beardstyles.website/2018/12/beard-styles.html\" . ?e <population> ?pv .  }", "answer": "110000000"}, {"question": "Which is taller, Alfred Hitchcock or Jim Brown who is related to basketball?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Rahul Dev Burman", "Simon Cowell", "Paul Simon", "James E. Reilly", "Jim Brown", "Richard Gere", "David Byrne", "Alfred Hitchcock"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alfred Hitchcock"]}, {"function": "Find", "dependencies": [], "inputs": ["basketball"]}, {"function": "Relate", "dependencies": [1], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alfred Hitchcock\" .  } UNION { ?e <pred:name> \"Jim Brown\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"basketball\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jim Brown"}, {"question": "Which has a smaller mains voltage, Trinidad and Tobago or Sweden?", "choices": ["Trinidad and Tobago", "Fiji", "Tajikistan", "Bulgaria", "Kazakhstan", "Cuba", "Lithuania", "Finland", "Greece", "Kosovo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trinidad and Tobago"]}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mains voltage", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Trinidad and Tobago\" .  } UNION { ?e <pred:name> \"Sweden\" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Trinidad and Tobago"}, {"question": "Who is shorter, Stephen Graham (the one whose date of birth is 1982-06-11) or Aishwarya Rai?", "choices": ["David Byrne", "Stephen Graham", "Aishwarya Rai", "Rahul Dev Burman", "Paul Simon", "Max Fleischer", "James E. Reilly", "Sylvester Stallone", "William Henry Harrison", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Graham"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1982-06-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Aishwarya Rai"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stephen Graham\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1982-06-11\"^^xsd:date . } UNION { ?e <pred:name> \"Aishwarya Rai\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Aishwarya Rai"}, {"question": "Does R. Kelly or Bill Fagerbakke have more offspring?", "choices": ["Simon Cowell", "James E. Reilly", "Sylvester Stallone", "Max Fleischer", "R. Kelly", "Rahul Dev Burman", "William Henry Harrison", "Bill Fagerbakke", "David Byrne", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["R. Kelly"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Fagerbakke"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"R. Kelly\" .  } UNION { ?e <pred:name> \"Bill Fagerbakke\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "R. Kelly"}, {"question": "Who is cast on the TV series composed by John Ottman?", "choices": ["Naomi Watts", "Idris Elba", "George Segal", "Jaime Pressly", "Bruce Davison", "Gary Sinise", "Kal Penn", "David Cross", "Chris Claremont", "Bernard Hill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Ottman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> \"John Ottman\" .   }", "answer": "Kal Penn"}, {"question": "What is the relationship between Viola Davis and Hope Davis?", "choices": ["had as last meal", "has immediate cause", "country of origin", "twinned administrative body", "head coach", "risk factor", "programming paradigm", "located on astronomical location", "family name", "main subject"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Viola Davis"]}, {"function": "Find", "dependencies": [], "inputs": ["Hope Davis"]}, {"function": "Relate", "dependencies": [1], "inputs": ["family name", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Davis"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Viola Davis\" . ?e_2 <pred:name> \"Davis\" . ?e_3 <family_name> ?e_2 . ?e_3 <pred:name> \"Hope Davis\" . ?e_1 ?p ?e_2 .  }", "answer": "family name"}, {"question": "Which has a greater timezone offset, the Atlantic Time Zone or Philippine Standard Time?", "choices": ["Newfoundland Standard time", "Eastern European Time", "Alaska Time Zone", "Pacific Time Zone", "East Africa Time", "Mountain Time Zone", "Greenwich Mean Time", "Philippine Standard Time", "Central European Time", "Eastern Time Zone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlantic Time Zone"]}, {"function": "Find", "dependencies": [], "inputs": ["Philippine Standard Time"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["timezone offset", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Atlantic Time Zone\" .  } UNION { ?e <pred:name> \"Philippine Standard Time\" .  } ?e <timezone_offset> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Philippine Standard Time"}, {"question": "What is the run-time of the movie assigned exploitation visa number 38869 on 1971-09-28?", "choices": ["2576 second", "165 minute", "115.0 minute", "20 minute", "65 minute", "189 minute", "110 minute", "239 second", "2982 second", "55.5 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "38869"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1971-09-28", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"38869\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1971-09-28\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "110 minute"}, {"question": "What is the postal code for the Art Center College of Design's headquarters that is located in Pasadena (that is the birthplace of Jamey Sheridan)?", "choices": ["20124", "91103", "76129\u201376137", "95052", "35487", "47735", "98195-4550", "KY1", "98201", "SR3"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Art Center College of Design"]}, {"function": "Find", "dependencies": [], "inputs": ["Jamey Sheridan"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pasadena"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Art Center College of Design\" . ?e_2 <pred:name> \"Pasadena\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Jamey Sheridan\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "91103"}, {"question": "What method is used to determine that the population of Buncombe County is 253178?", "choices": ["2016 Australian census", "Canada 2016 Census", "demographic balance", "United States Census", "average", "Pensky\u2013Martens closed-cup test", "resident registration", "national estimation", "FIFA World Rankings", "United Kingdom Census 1981"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buncombe County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "253178", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Buncombe County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"253178\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "0000 0000 4548 5460 is the ISNI for which individual?", "choices": ["Richard Gere", "Lindy Hemming", "Scott Lobdell", "Max Fleischer", "William H. Macy", "Edward Lachman", "William Henry Harrison", "Jackie Cooper", "Jon Favreau", "Mary Elizabeth Winstead"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4548 5460"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 4548 5460\" .  }", "answer": "Lindy Hemming"}, {"question": "What is the street address of the private university having the ISNI 0000 0001 2285 171X?", "choices": ["8000 Utopia Pky, Queens, NY, 11439", "6363 Saint Charles Ave, New Orleans, LA, 70118-6143", "University Park, Los Angeles", "1928 Saint Marys Road, Moraga, CA, 94575", "499 Washington Blvd", "3009 Broadway, New York, NY, 10027-6598", "1 Kingdom Street, paddington", "2 College St, Providence, RI, 02903-2784", "One Silber Way", "2065 Hamilton Avenue"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2285 171X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2285 171X\" . ?e <located_at_street_address> ?pv .  }", "answer": "2 College St, Providence, RI, 02903-2784"}, {"question": "Which sovereign state use ES code on license plates ?", "choices": ["Czech Republic", "Malaysia", "Laos", "Armenia", "Weimar Republic", "El Salvador", "Equatorial Guinea", "Switzerland", "Kiribati", "United States of America"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "ES"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <licence_plate_code> ?pv . ?pv <pred:value> \"ES\" .  }", "answer": "El Salvador"}, {"question": "Was Enchanted or Wallace & Gromit: The Curse of the Were-Rabbit (exploitation visa number 113661) cheaper to make?", "choices": ["Alvin and the Chipmunks: Chipwrecked", "National Treasure: Book of Secrets", "Old Dogs", "The Flintstones in Viva Rock Vegas", "The Muppets", "Holes", "G-Force", "John Carter", "Wallace & Gromit: The Curse of the Were-Rabbit", "The Flintstones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enchanted"]}, {"function": "Find", "dependencies": [], "inputs": ["Wallace & Gromit: The Curse of the Were-Rabbit"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["exploitation visa number", "113661"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Enchanted\" . } UNION { ?e <pred:name> \"Wallace & Gromit: The Curse of the Were-Rabbit\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"113661\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wallace & Gromit: The Curse of the Were-Rabbit"}, {"question": "What number of Florida counties have a population larger than 4500?", "choices": ["11", "12", "13", "14", "15", "16", "17", "18", "19", "20"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4500", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"4500\"^^xsd:double ) .  }", "answer": "19"}, {"question": "Who is worth less, Taylor Swift or Mariah Carey?", "choices": ["Taylor Swift", "Sylvester Stallone", "Simon Cowell", "Rahul Dev Burman", "Mariah Carey", "David Byrne", "Max Fleischer", "Richard Gere", "James E. Reilly", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taylor Swift"]}, {"function": "Find", "dependencies": [], "inputs": ["Mariah Carey"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Taylor Swift\" .  } UNION { ?e <pred:name> \"Mariah Carey\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Taylor Swift"}, {"question": "Is The Adventures of Pluto Nash or The Rose the longer work?", "choices": ["Curse of the Golden Flower", "The Adventures of Pluto Nash", "Rebecca", "Training Day", "Talk to Her", "The Fifth Element", "The Towering Inferno", "The Hunchback of Notre Dame", "Pleasantville", "The Rose"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Adventures of Pluto Nash"]}, {"function": "Find", "dependencies": [], "inputs": ["The Rose"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Adventures of Pluto Nash\" .  } UNION { ?e <pred:name> \"The Rose\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Rose"}, {"question": "Which part of an Italian province, being a part of Tyrol (licence plate code BZ) is the largest?", "choices": ["Province of Naples", "Province of Como", "Province of Cagliari", "Province of Salerno", "Trentino", "South Tyrol", "Province of Potenza", "province of Milan", "Province of Turin", "Province of Cuneo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tyrol"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "BZ"]}, {"function": "Relate", "dependencies": [1], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Tyrol\" . ?e_1 <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"BZ\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "South Tyrol"}, {"question": "How is The Practice related to 55th Primetime Emmy Awards ?", "choices": ["designated as terrorist by", "official symbol", "official color", "territory claimed by", "librettist", "publisher", "parent astronomical body", "convicted of", "award received", "depicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Practice"]}, {"function": "Find", "dependencies": [], "inputs": ["55th Primetime Emmy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Practice\" . ?e_2 <pred:name> \"55th Primetime Emmy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Does the person connected to SpongeBob SquarePants have an ISNI of 0000 0000 7980 4298 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SpongeBob SquarePants"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 7980 4298"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> \"SpongeBob SquarePants\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7980 4298\" .  }", "answer": "no"}, {"question": "How many food ingredients are from Persea americana?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Persea americana"]}, {"function": "Relate", "dependencies": [0], "inputs": ["this taxon is source of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" . ?e_1 <this_taxon_is_source_of> ?e . ?e_1 <pred:name> \"Persea americana\" .   }", "answer": "0"}, {"question": "How is Adam Smith who works in Washington, D.C. related to English?", "choices": ["languages spoken, written or signed", "location of final assembly", "part of", "conflict", "distributor", "contains settlement", "kit supplier", "located in the administrative territorial entity", "voice actor", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adam Smith\" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> \"Washington, D.C.\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Which has a shorter duration, 15 Minutes or An Inconvenient Truth?", "choices": ["Talk to Her", "The Towering Inferno", "Rebecca", "Training Day", "Pleasantville", "The Hunchback of Notre Dame", "The Fifth Element", "An Inconvenient Truth", "A Prairie Home Companion", "15 Minutes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["15 Minutes"]}, {"function": "Find", "dependencies": [], "inputs": ["An Inconvenient Truth"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"15 Minutes\" .  } UNION { ?e <pred:name> \"An Inconvenient Truth\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "An Inconvenient Truth"}, {"question": "What is the number of products that are the natural result of Golden Retriever and have the pronunciation audio Mg-ronono.ogg?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Retriever"]}, {"function": "Relate", "dependencies": [0], "inputs": ["natural product of taxon", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["product"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["pronunciation audio", "Mg-ronono.ogg"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["product"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"product\" . ?e <natural_product_of_taxon> ?e_1 . ?e_1 <pred:name> \"Golden Retriever\" .  ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Mg-ronono.ogg\" .  }", "answer": "0"}, {"question": "Temple Grandin is connected in what way to the Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie?", "choices": ["indigenous to", "narrative location", "nominated for", "based on", "religious order", "production company", "political alignment", "office held by head of state", "fabrication method", "production designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Temple Grandin"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Temple Grandin\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which has the largest elevation above sea level among the big cities whose population is less than 3000?", "choices": ["Hamburg", "Lyon", "Halle (Saale)", "Aachen", "Kiel", "Makati", "Erlangen", "Stuttgart", "Mannheim", "Utrecht"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"3000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Erlangen"}, {"question": "How is Maximilian Schell related to Innsbruck?", "choices": ["archives at", "works in collection", "seed team", "dialect of", "operator", "place of death", "cause of death", "fictional universe described in", "position held", "mouth of the watercourse"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maximilian Schell"]}, {"function": "Find", "dependencies": [], "inputs": ["Innsbruck"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Maximilian Schell\" . ?e_2 <pred:name> \"Innsbruck\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "How much computer programming has the media type application/javascript?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["media type", "application/javascript"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["computer programming"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"computer programming\" . ?e <media_type> ?pv . ?pv <pred:value> \"application/javascript\" .  }", "answer": "1"}, {"question": "How many pop music presentations are a facet of Gong or have a beginning date that is not in 1963?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gong"]}, {"function": "Relate", "dependencies": [0], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["pop music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1963", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["pop music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"pop music\" .  { ?e <facet_of> ?e_1 . ?e_1 <pred:name> \"Gong\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1963 ) .  } }", "answer": "13"}, {"question": "What is the Instagram username for the person whose Twitter username is danielwuyanzu (the subscription number of this statement is 247167)?", "choices": ["therealalil", "pohang.steelers", "asmonaco", "dixie_chicks", "wwe", "jenniferlovehewitt", "cnbc", "thatdanielwu", "myfabolouslife", "buffalobills"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "danielwuyanzu"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "247167", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"danielwuyanzu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"247167\"^^xsd:double . ?e <Instagram_username> ?pv .  }", "answer": "thatdanielwu"}, {"question": "How many American cities are in the Central Time Zone?", "choices": ["23", "24", "25", "26", "27", "28", "29", "30", "31", "32"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Central Time Zone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Central Time Zone\" .  ?e <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  }", "answer": "24"}, {"question": "Is the height of the person named Keith Lionel Urban equal to 1.5 metres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Keith Lionel Urban"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1.5 metre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Keith Lionel Urban\" . ?e <height> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1.5\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which Libris-URI designates the person who is a citizen of the Second French Empire?", "choices": ["75kmq5gr2blh7lb", "dbqtz28x1blcskg", "khwzzv2345wgz5h", "20dgjqfl56hp56m", "86lnrlbs2txzl4v", "gdsvw2l03gnlq6f", "64jlgg5q502wmgq", "42gjlt5n5pt0nf0", "ljx168l430z18p1", "20dhljbl4707gzv"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second French Empire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"Second French Empire\" .  ?e <Libris-URI> ?pv .  }", "answer": "khwzzv2345wgz5h"}, {"question": "When did the person whose ISNI is 0000 0001 1765 5933 die?", "choices": ["1984-06-26", "1961-07-02", "1870-06-09", "2018-01-19", "2002-10-25", "1964-09-15", "1967-05-30", "1998-07-21", "1942-10-22", "2011-02-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1765 5933"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1765 5933\" . ?e <date_of_death> ?pv .  }", "answer": "2011-02-12"}, {"question": "Is the birth name of Lloyd Bridges the same as Lloyd Vernet Bridges?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lloyd Bridges"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Lloyd Vernet Bridges"]}], "sparql": "ASK { ?e <pred:name> \"Lloyd Bridges\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Lloyd Vernet Bridges\" .  }", "answer": "yes"}, {"question": "How many colleges of the University of Oxford are located in the county town whose postal code is OX postcode area in the country of the United Kingdom?", "choices": ["22", "23", "24", "25", "26", "27", "28", "29", "30", "31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "OX postcode area"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["country", "United Kingdom"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county town"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county town\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"OX postcode area\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> \"United Kingdom\" .   }", "answer": "24"}, {"question": "Which person cast in Jackass Number Two has the birthplace West Chester?", "choices": ["Johnny Knoxville", "Richard Gere", "Rahul Dev Burman", "William Henry Harrison", "Max Fleischer", "Stephen Gilchrist Glover", "Sylvester Stallone", "Luke Wilson", "Bam Margera", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackass Number Two"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["West Chester"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Jackass Number Two\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"West Chester\" .  }", "answer": "Bam Margera"}, {"question": "Who has a smaller net worth, Bill Cosby or Paul McCartney?", "choices": ["James E. Reilly", "Richard Gere", "Max Fleischer", "Paul McCartney", "Paul Simon", "Rahul Dev Burman", "William Henry Harrison", "Simon Cowell", "Sylvester Stallone", "Bill Cosby"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Cosby"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul McCartney"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bill Cosby\" .  } UNION { ?e <pred:name> \"Paul McCartney\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bill Cosby"}, {"question": "Tell me the person who wins the film award that Neil Jordan won, with this statemet's award-winning work being The Player.", "choices": ["William Henry Harrison", "Paul Thomas Anderson", "Robert Altman", "Sylvester Stallone", "Costa-Gavras", "Stanley Kubrick", "Richard Gere", "Max Fleischer", "Curtis Hanson", "Peter Weir"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Neil Jordan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "The Player"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film award\" . ?e_1 <winner> ?e_2 . ?e_2 <pred:name> \"Neil Jordan\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"The Player\" .  }", "answer": "Robert Altman"}, {"question": "What film stars Zach Braff?", "choices": ["Superman II: The Richard Donner Cut", "300", "\u5341\u9762\u57cb\u4f0f", "Journey", "Garden State", "Stargate SG-1", "Louisiana", "\u0ba4\u0bbe\u0b9c\u0bcd\u0bae\u0b95\u0bbe\u0bb2\u0bcd", "The Song of Bernadette", "The Prestige"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zach Braff"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Zach Braff\" .  ?e <title> ?pv .  }", "answer": "Garden State"}, {"question": "What is the character role of Adam West (whose official website is http://www.adamwest.com) as a cast member in Batman (that has Joan Collins as a cast member)?", "choices": ["Samantha Jones", "\"Priest\" Vallon", "Nicky", "Sue Sylvester", "Betty Draper", "Clara Clayton", "Batman", "Superman", "Storm", "Ethan Kanin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joan Collins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Adam West"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["official website", "http://www.adamwest.com"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Batman\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Joan Collins\" . ?e_2 <pred:name> \"Adam West\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://www.adamwest.com\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Batman"}, {"question": "To which territorial jurisdiction does dcunited Twitter username, connected to an association football club headquartered in Washington, D.C., apply?", "choices": ["United States of America", "Brazil", "Albania", "Netherlands", "Chelyabinsk Oblast", "Mexico", "Vologda Oblast", "Norway", "Italy", "New Zealand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "dcunited", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Washington, D.C.\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"dcunited\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "United States of America"}, {"question": "Is the elevation other than 45 ft at the land-grant university in Wyoming, where Rocky IV was filmed?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rocky IV"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wyoming"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["land-grant university"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["45 foot", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Wyoming\" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> \"Rocky IV\" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"foot\" . ?pv <pred:value> ?v . FILTER ( ?v != \"45\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Who was the 121-minute Chocolat Academy Award nominee for Best Writing, Adapted Screenplay?", "choices": ["Robert Nelson Jacobs", "Graham Leader", "Alan Rankin", "Monique Prudhomme", "Harry Lange", "Sam Waterston", "Trevor Wood", "Debra Winger", "Stephen E. Rivkin", "Clint Eastwood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chocolat"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "121 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chocolat\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"121\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Robert Nelson Jacobs"}, {"question": "Which sports has IAB code of 538?", "choices": ["auto racing", "taekwondo", "rowing", "rugby league", "diving", "table tennis", "skateboarding", "tennis", "American football", "biathlon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "538"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"538\" .  }", "answer": "table tennis"}, {"question": "In what language is the official website for the association football club nicknamed The Hatters at https://www.lutontown.co.uk/?", "choices": ["Belgian French", "Korean", "Hungarian", "Navajo", "English", "Catalan", "Esperanto", "Czech", "Tlingit", "Latin script"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "The \u0397atters"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.lutontown.co.uk/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"The \u0397atters\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.lutontown.co.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did Carleton College (which is officially known as Carleton College) begin?", "choices": ["1920-05-01", "1958-02-02", "1945-12-21", "1997-10-08", "1871", "1910-05-31", "1998-07-03", "1830-10-04", "2012-06-25", "1996-07-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carleton College"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official name", "Carleton College", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Carleton College\" . ?e <official_name> ?pv . ?pv <pred:value> \"Carleton College\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1871"}, {"question": "Did the capital that is Basra's twinned administrative body have a population greater than 1100000000 in 1979?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Basra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "1979"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1100000000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Basra\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1100000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1979 .  }", "answer": "no"}, {"question": "Are there less people in the Republic of Venice or in Slovakia?", "choices": ["Tunisia", "Italy", "Germany", "Colombia", "Slovakia", "Republic of Venice", "Bolivia", "Mozambique", "Sierra Leone", "Zimbabwe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Republic of Venice"]}, {"function": "Find", "dependencies": [], "inputs": ["Slovakia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Republic of Venice\" .  } UNION { ?e <pred:name> \"Slovakia\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Republic of Venice"}, {"question": "Which river's lowest area is Nebraska (the one whose Dewey Decimal Classification is 2--782)?", "choices": ["Missouri River", "River Thames", "Amazon", "Mississippi River", "Danube", "Columbia River", "Ohio River", "Larry Miller", "Rhine", "Hudson River"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--782"]}, {"function": "Relate", "dependencies": [1], "inputs": ["lowest point", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["river"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e_1 <lowest_point> ?e . ?e_1 <pred:name> \"Nebraska\" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--782\" .   }", "answer": "Missouri River"}, {"question": "Which TV series features the person whose ISNI is 0000 0000 3526 8729 as executive producer?", "choices": ["The Shining", "Bleak House", "Fringe", "Watchmen", "Robot Chicken", "Game of Thrones", "CSI: Crime Scene Investigation", "Madison", "Boardwalk Empire", "Lost"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3526 8729"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3526 8729\" .   }", "answer": "Boardwalk Empire"}, {"question": "Does the person whose Twitter username is limmj87 (the subscription number of this statement is 52101), have an Instagram username of fckssamara?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "limmj87"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "52101", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["fckssamara"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"limmj87\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"52101\"^^xsd:double . ?e <Instagram_username> ?pv . ?pv <pred:value> \"fckssamara\" .  }", "answer": "no"}, {"question": "How many rock bands have a genre of rock music in the genre of Randy Jackson (the one whose date of birth is 1955-02-28)?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Randy Jackson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1955-02-28", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock band"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"rock music\" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> \"Randy Jackson\" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> \"1955-02-28\"^^xsd:date .   }", "answer": "23"}, {"question": "What is the connection between Peter Bogdanovich to journalist?", "choices": ["allegiance", "penalty", "seed team", "production designer", "exclave of", "occupation", "coextensive with", "location", "contributor(s) to the creative work", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Bogdanovich"]}, {"function": "Find", "dependencies": [], "inputs": ["journalist"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Bogdanovich\" . ?e_2 <pred:name> \"journalist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the connection between Paris (the one that has Juliette Binoche as a cast member) to French?", "choices": ["successful candidate", "model item", "member of sports team", "original language of film or TV show", "part of", "broadcast by", "feast day", "domain of saint or deity", "cites", "convicted of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Juliette Binoche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paris\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Juliette Binoche\" . ?e_2 <pred:name> \"French\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When was Ken Loach the BAFTA Academy Fellowship Award winner?", "choices": ["2013-10-01", "2018-04-13", "2007-10-24", "2002-01-16", "2012-06-06", "1966-04-18", "2006", "1994", "1839", "1986-01-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Academy Fellowship Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Ken Loach"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Academy Fellowship Award\" . ?e_2 <pred:name> \"Ken Loach\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "What is the title for Nelson (the one whose publication date is 1918-01-01)?", "choices": ["Cars", "Burn After Reading", "Volver", "\u0428\u0435\u0440\u043b\u043e\u043a \u0425\u043e\u043b\u043c\u0441", "Grimsby", "The Flintstones in Viva Rock Vegas", "Nelson", "Le Comte de Monte-Cristo", "Easy Rider", "Troy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nelson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1918-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Nelson\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1918-01-01\"^^xsd:date . ?e <title> ?pv .  }", "answer": "Nelson"}, {"question": "How are Will Arnett and the profession of voice actor related?", "choices": ["continent", "location of formation", "foundational text", "lifestyle", "editor", "occupation", "next higher rank", "heritage designation", "this taxon is source of", "location of discovery"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will Arnett"]}, {"function": "Find", "dependencies": [], "inputs": ["voice actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Will Arnett\" . ?e_2 <pred:name> \"voice actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has the largest population among the Italy provinces that are a part of Tyrol?", "choices": ["Trentino", "Province of Cuneo", "province of Milan", "Province of Cagliari", "Province of Rome", "Province of Naples", "South Tyrol", "Province of Potenza", "Province of Turin", "Province of Salerno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tyrol"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1140-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Tyrol\" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> \"1140-01-01\"^^xsd:date . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "South Tyrol"}, {"question": "How many woodwind instruments include famous people Joshua Redman or have a Hornbostel-Sachs classification of 422.212-71?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joshua Redman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["woodwind instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Hornbostel-Sachs classification", "422.212-71"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["woodwind instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"woodwind instrument\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Joshua Redman\" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"422.212-71\" .  } }", "answer": "4"}, {"question": "What is Jerry Goldsmith's link to Los Angeles City College?", "choices": ["movement", "educated at", "geography of topic", "medical treatment", "child astronomical body", "exclave of", "has effect", "work location", "owned by", "appointed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles City College"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jerry Goldsmith\" . ?e_2 <pred:name> \"Los Angeles City College\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Which is shorter, Veer-Zaara or Around the World in 80 Days which was nominated for an Academy Award for Best Production Design?", "choices": ["Around the World in 80 Days", "Rebecca", "The Towering Inferno", "Talk to Her", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Training Day", "A Prairie Home Companion", "Pleasantville", "Veer-Zaara"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Veer-Zaara"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Veer-Zaara\" .  } UNION { ?e <pred:name> \"Around the World in 80 Days\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Production Design\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Around the World in 80 Days"}, {"question": "What is the connection between University of Dundee to Brian Cox (the one that has the occupation of actor)?", "choices": ["material used", "business division", "residence", "rector", "distributor", "language used", "practiced by", "killed by", "genre", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Dundee"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Cox"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Dundee\" . ?e_2 <pred:name> \"Brian Cox\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "rector"}, {"question": "What is the ISNI of Goldfinger (whose official website is http://www.goldfingermusic.com)?", "choices": ["0000 0001 0674 2281", "0000 0001 1349 4669", "0000 0001 2110 2389", "0000 0001 1451 5687", "0000 0001 1940 3051", "0000 0001 1449 9592", "0000 0004 0632 3708", "0000 0001 2028 5224", "0000 0001 2073 6240", "0000 0001 2248 733X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Goldfinger"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.goldfingermusic.com"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Goldfinger\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.goldfingermusic.com\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0674 2281"}, {"question": "Beverly Hills, 90210 and Shannen Doherty have what relationship?", "choices": ["cast member", "instrument", "language used", "operating area", "organizer", "medical condition", "candidate", "coextensive with", "residence", "cites"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beverly Hills, 90210"]}, {"function": "Find", "dependencies": [], "inputs": ["Shannen Doherty"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Beverly Hills, 90210\" . ?e_2 <pred:name> \"Shannen Doherty\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which has more students, the University of Minnesota or Iowa State University?", "choices": ["North Dakota State University", "Iowa State University", "University of Minnesota", "University of Maine", "University of Arkansas", "Virginia Tech", "North Carolina Agricultural and Technical State University", "South Carolina State University", "University of Idaho", "Montana State University - Bozeman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Minnesota"]}, {"function": "Find", "dependencies": [], "inputs": ["Iowa State University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Minnesota\" .  } UNION { ?e <pred:name> \"Iowa State University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Minnesota"}, {"question": "How is the Virgin Group related to the United Kingdom?", "choices": ["sport", "genre", "sex or gender", "home venue", "occupation", "country", "languages spoken, written or signed", "partially contains", "operating area", "participant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Virgin Group"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Virgin Group\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which movie is shorter, The Time Machine (the one that is shot in New York City) or The Nutty Professor (the one that has Drake Bell as a cast member)?", "choices": ["Curse of the Golden Flower", "Rebecca", "The Time Machine", "The Hunchback of Notre Dame", "Talk to Her", "A Prairie Home Companion", "The Nutty Professor", "Pleasantville", "The Towering Inferno", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Time Machine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Drake Bell"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Time Machine\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"New York City\" .   } UNION { ?e <pred:name> \"The Nutty Professor\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Drake Bell\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Nutty Professor"}, {"question": "Does New Brunswick (whose population is 754260) or Manitoba have the greater area?", "choices": ["Quebec", "British Columbia", "Prince Edward Island", "Nova Scotia", "Manitoba", "Newfoundland and Labrador", "Saskatchewan", "Alberta", "New Brunswick", "Ontario"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "754260", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Manitoba"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New Brunswick\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"754260\"^^xsd:double . } UNION { ?e <pred:name> \"Manitoba\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Manitoba"}, {"question": "What is Matthew Lillard's role in Scooby-Doo?", "choices": ["Borat Sagdiyev", "Jamal Malik", "Hans Landa", "Mr. Smee", "Lancelot", "Shrek", "Alexis Colby", "Shaggy Rogers", "Saavik", "Fiedler"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scooby-Doo"]}, {"function": "Find", "dependencies": [], "inputs": ["Matthew Lillard"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Scooby-Doo\" . ?e_2 <pred:name> \"Matthew Lillard\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Shaggy Rogers"}, {"question": "Which human has the ISNI 0000 0003 8252 4176 and the occupation of songwriter?", "choices": ["William Henry Harrison", "Dave Brubeck", "Annie", "Jeff Beck", "Bill Berry", "Meshell Ndegeocello", "Draco Rosa", "Richard Gere", "Sylvester Stallone", "Gary"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 8252 4176"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["songwriter"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0003 8252 4176\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"songwriter\" .  }", "answer": "Draco Rosa"}, {"question": "What is the character role of Emilie de Ravin in Lost?", "choices": ["Pit", "Chauncey Eskridge", "Cleveland Brown", "Headless Horseman", "Claire Littleton", "Tenth Doctor", "Gabriel Van Helsing", "Guy Banister", "Time Traveller", "Emile Mondavarious"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost"]}, {"function": "Find", "dependencies": [], "inputs": ["Emilie de Ravin"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lost\" . ?e_2 <pred:name> \"Emilie de Ravin\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Claire Littleton"}, {"question": "Which film nominated for an Academy Award for Best Costume Design won an Academy Award for Best Makeup and Hairstyling at the 62nd Academy Awards?", "choices": ["Elizabeth", "Rebecca", "Talk to Her", "Henry V", "Topsy-Turvy", "Driving Miss Daisy", "Frida", "The Lord of the Rings: The Fellowship of the Ring", "A Prairie Home Companion", "Lemony Snicket's A Series of Unfortunate Events"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["statement is subject of", "62nd Academy Awards"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .  ?e <award_received> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"62nd Academy Awards\" .  }", "answer": "Driving Miss Daisy"}, {"question": "What is the connection between Ben Cross to English people?", "choices": ["season starts", "office held by head of government", "followed by", "copyright holder", "registered with", "main food source", "geography of topic", "facet of", "member of political party", "ethnic group"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Cross"]}, {"function": "Find", "dependencies": [], "inputs": ["English people"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ben Cross\" . ?e_2 <pred:name> \"English people\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Was Nathan H. Juran's date of death before 1790?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nathan H. Juran"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1790", "<"]}], "sparql": "ASK { ?e <pred:name> \"Nathan H. Juran\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1790 ) .  }", "answer": "no"}, {"question": "As of 1954, what is the title of the work that received the Golden Lion?", "choices": ["A Prairie Home Companion", "Hot Fuzz", "Quo Vadis", "The Help", "The Deer Hunter", "Shattered Glass", "Romeo and Juliet", "The Losers", "Orange County", "The Pride of the Yankees"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1954", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Golden Lion\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1954 . ?e <title> ?pv .  }", "answer": "Romeo and Juliet"}, {"question": "What is the local dialing code for the city at http://www.nelsoncitycouncil.co.nz/?", "choices": ["307", "2203", "045", "08721", "0735", "6122", "03", "08730", "570", "08715"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nelsoncitycouncil.co.nz/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nelsoncitycouncil.co.nz/\" . ?e <local_dialing_code> ?pv .  }", "answer": "03"}, {"question": "How much was the prize money Richard Feynman received with Nobel Prize in Physics ?", "choices": ["8000000 Swedish krona", "143010 Swedish krona", "257220 Swedish krona", "175293 Swedish krona", "94000 Swedish krona", "181647 Swedish krona", "159773 Swedish krona", "159850 Swedish krona", "7200000 Swedish krona", "138796 Swedish krona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Feynman"]}, {"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Physics"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "prize money"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Feynman\" . ?e_2 <pred:name> \"Nobel Prize in Physics\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <prize_money> ?qpv .  }", "answer": "94000 Swedish krona"}, {"question": "Was the association football club headquarterd in Dortmund founded after 1907?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dortmund"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1907", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Dortmund\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1907 ) .  }", "answer": "yes"}, {"question": "What is the connection between  X-Men: The Last Stand to Ian McKellen?", "choices": ["time period", "student of", "country", "model item", "cast member", "performer", "home venue", "found", "director/manager", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["X-Men: The Last Stand"]}, {"function": "Find", "dependencies": [], "inputs": ["Ian McKellen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"X-Men: The Last Stand\" . ?e_2 <pred:name> \"Ian McKellen\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Crohn's disease connected to abdominal pain?", "choices": ["symptoms", "facet of", "has dialect (DEPRECATED)", "legal form", "military conflicts", "said to be the same as", "cause of death", "place of burial", "geographic distribution", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crohn's disease"]}, {"function": "Find", "dependencies": [], "inputs": ["abdominal pain"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Crohn's disease\" . ?e_2 <pred:name> \"abdominal pain\" . ?e_1 ?p ?e_2 .  }", "answer": "symptoms"}, {"question": "Which person was nominated for the Academy Awards where Kirk Douglas (the award-winning work of this statement is The Man with the Golden Arm) received the prize ?", "choices": ["Bryan Cranston", "William Henry Harrison", "Michael Douglas", "Mickey Rourke", "Richard Gere", "Frank Sinatra", "Geoffrey Rush", "Kenneth Branagh", "Paul Newman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kirk Douglas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "The Man with the Golden Arm"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Academy Awards\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"Kirk Douglas\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"The Man with the Golden Arm\" .  }", "answer": "Frank Sinatra"}, {"question": "Did the member of the cast of Oliver! die in a year other than 1974 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oliver!"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1974", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Oliver!\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1974 ) .  }", "answer": "yes"}, {"question": "Guitarist Robert Young executive produced how many animated feature films?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Young"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated feature film"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Robert Young\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"guitarist\" .   }", "answer": "0"}, {"question": "When was the conclusion of the TV series that includes the English-language Tin Man?", "choices": ["1946-06-02", "1913-03-04", "2014-12-09", "1994-05-23", "1964-06-19", "1977-01-20", "1948", "1974-06-26", "1812-04-20", "1931-06-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tin Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of the series", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"Tin Man\" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e <end_time> ?pv .  }", "answer": "1994-05-23"}, {"question": "Jackson, of the Brazilian national football team, had how many match appearances as a member of Sport Club do Recife?", "choices": ["66", "53", "109", "58", "46", "51", "121", "151", "114", "60"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brazil national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sport Club do Recife"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jackson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Brazil national football team\" . ?e_2 <pred:name> \"Sport Club do Recife\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "46"}, {"question": "How many kids does a winner of Saturn Award of Best Actress from 2003 have?", "choices": ["5", "6", "9", "11", "20", "7", "3 son", "1 son", "12", "3"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of children"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Saturn Award for Best Actress\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2003 . ?e <number_of_children> ?pv .  }", "answer": "3"}, {"question": "What is the founding date of the first-level administrative country subdivision designated by ISO 3166-2 code ZA-EC?", "choices": ["1863-06-20", "1707-05-01", "1769-01-01", "1800", "1682-01-01", "1870-06-15", "1916-07-07", "1807", "1994", "1788-01-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 3166-2 code", "ZA-EC"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> \"ZA-EC\" . ?e <inception> ?pv .  }", "answer": "1994"}, {"question": "About the person with the ISNI of 0000 0001 1067 7304, does he or she have name and native language equal to Ulysses S. Grant ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1067 7304"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Ulysses S. Grant"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1067 7304\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Ulysses S. Grant\" .  }", "answer": "no"}, {"question": "Among Germany's independent cities, with a population not equal to 7200000000, which one has the smallest elevation (above sea level)?", "choices": ["musculoskeletal disorder", "GNU Lesser General Public License", "Bayreuth", "Colby College", "Frankfurt (Oder)", "Baden-Baden", "Sirius Satellite Radio", "Antilles", "Coburg", "Weimar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7200000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"7200000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "What is the connection between Gilles Deleuze to musical saw?", "choices": ["does not have part", "has effect", "filmography", "programming language", "home port", "twinned administrative body", "film crew member", "instrument", "eye color", "afflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gilles Deleuze"]}, {"function": "Find", "dependencies": [], "inputs": ["musical saw"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gilles Deleuze\" . ?e_2 <pred:name> \"musical saw\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Where was the visual artwork titled The Weather Man published on 2006-03-02?", "choices": ["Berlin", "Italy", "Sweden", "Hollywood Bowl", "Montreal World Film Festival", "New York", "Peru", "Germany", "Latvia", "El Capitan Theatre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Weather Man"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2006-03-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Weather Man\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-03-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who is taller in height, The Notorious B.I.G. or David Boreanaz?", "choices": ["The Notorious B.I.G.", "Richard Gere", "Sylvester Stallone", "William Henry Harrison", "David Byrne", "David Boreanaz", "Max Fleischer", "Simon Cowell", "Rahul Dev Burman", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Notorious B.I.G."]}, {"function": "Find", "dependencies": [], "inputs": ["David Boreanaz"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Notorious B.I.G.\" .  } UNION { ?e <pred:name> \"David Boreanaz\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Notorious B.I.G."}, {"question": "Which movie is shorter, The Transformers: The Movie or Madagascar: Escape 2 Africa (the one whose genre is children's film)?", "choices": ["Madagascar: Escape 2 Africa", "The Rescuers", "Peter Pan", "WALL\u00b7E", "Aladdin", "Beauty and the Beast", "Shrek 2", "Lilo & Stitch", "Winnie the Pooh", "The Transformers: The Movie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Transformers: The Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["children's film"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Madagascar: Escape 2 Africa"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Transformers: The Movie\" .  } UNION { ?e <pred:name> \"Madagascar: Escape 2 Africa\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"children's film\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Transformers: The Movie"}, {"question": "What administrative territorial entity was Andrea Bowen born in in Columbus (the one that is the twinned administrative body of Odense)?", "choices": ["Ohio", "Connecticut", "Saint Petersburg", "London", "Kilo", "Nebraska", "Puerto Rico", "Michigan", "British Columbia", "City of Westminster"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andrea Bowen"]}, {"function": "Find", "dependencies": [], "inputs": ["Odense"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbus"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Andrea Bowen\" . ?e_2 <pred:name> \"Columbus\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Odense\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Ohio"}, {"question": "What male given name equals the given name of the person who is the composer of Sherlock Holmes (the one whose publication date is 1932-01-01)?", "choices": ["Frederick", "Hugo", "Lawrence", "August", "Ray", "Gary", "Bobby", "Paul", "Alexander", "Christian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sherlock Holmes"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1932-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["male given name"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" . ?e_1 <given_name> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> \"Sherlock Holmes\" . ?e_2 <publication_date> ?pv . ?pv <pred:date> \"1932-01-01\"^^xsd:date .   }", "answer": "Hugo"}, {"question": "What is the subject of Lebanon (whose population is 2676593) having a diplomatic relation with Bangladesh (whose population is 117369492)?", "choices": ["Bangladesh\u2013Lebanon relations", "Burkina Faso\u2013Ghana relations", "Uruguay\u2013Venezuela relations", "Israel\u2013Syria border", "Central African Republic\u2013North Korea relations", "Germany\u2013South Africa relations", "Bosnia and Herzegovina\u2013Republic of Macedonia relations", "Greece\u2013Nigeria relations", "Benin\u2013Togo border", "United States\u2013Uzbekistan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lebanon"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2676593", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "117369492", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lebanon\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2676593\"^^xsd:double . ?e_2 <pred:name> \"Bangladesh\" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"117369492\"^^xsd:double . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Bangladesh\u2013Lebanon relations"}, {"question": "What part does the demonym of beninezi refer to in reference to Benin?", "choices": ["labour", "Hickman County", "Pelagie Islands", "13th arrondissement of Paris", "water", "3rd arrondissement of Paris", "world", "plural", "feminine singular", "Bogor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benin"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["demonym", "beninezi", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Benin\" . ?e <demonym> ?pv . ?pv <pred:value> \"beninezi\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "plural"}, {"question": "What is the box office of the film whose exploitation visa number is 98226?", "choices": ["151668774 United States dollar", "15946321 United States dollar", "383257136 United States dollar", "33000000 United States dollar", "100853753 United States dollar", "117086251 United States dollar", "84254167 United States dollar", "391081192 United States dollar", "415933406 United States dollar", "20158808 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "98226"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"98226\" . ?e <box_office> ?pv .  }", "answer": "100853753 United States dollar"}, {"question": "How many subscribers does the University that Tom Ruegger attended have on its Twitter (username dartmouth)?", "choices": ["145509", "1402789", "398248", "1429", "123535", "33", "59471", "75099", "11258215", "773963"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Ruegger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "dartmouth", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Tom Ruegger\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"dartmouth\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "59471"}, {"question": "What island located in or next to the Indian Ocean has the largest area?", "choices": ["Java", "Maui", "Tasmania", "Newfoundland", "Bali", "Cyprus", "Long Island", "Trinidad", "Puerto Rico", "Ireland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indian Ocean"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Indian Ocean\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Java"}, {"question": "How many boarding schools did the person with ISNI 0000 0000 2904 2379 found?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 2904 2379"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["founded by", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["boarding school"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"boarding school\" . ?e <founded_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 2904 2379\" .   }", "answer": "0"}, {"question": "What art institute has the ARCHON code 2753 and the official website http://www.csm.arts.ac.uk/?", "choices": ["Chelsea College of Art and Design", "Art Students League of New York", "Black Mountain College", "Otis College of Art and Design", "National Institute of Dramatic Art", "Columbia College Chicago", "Central Saint Martins", "Camberwell College of Arts", "Architectural Association School of Architecture", "Pennsylvania Academy of the Fine Arts"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "2753"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.csm.arts.ac.uk/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art school\" . ?e <ARCHON_code> ?pv . ?pv <pred:value> \"2753\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.csm.arts.ac.uk/\" .  }", "answer": "Central Saint Martins"}, {"question": "Which actor has ISNI 0000 0000 5936 7836?", "choices": ["Martin Donovan", "Max Fleischer", "William Henry Harrison", "Richard Gere", "Michael Stipe", "Ringo Starr", "Sylvester Stallone", "Gene Kelly", "Ben Foster", "Jack Elam"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5936 7836"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5936 7836\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"actor\" .  }", "answer": "Jack Elam"}, {"question": "Is the dissolution date of the video game developer that is the subsidiary of Midway Games after the year 1980?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midway Games"]}, {"function": "Relate", "dependencies": [0], "inputs": ["subsidiary", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1980", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e_1 <subsidiary> ?e . ?e_1 <pred:name> \"Midway Games\" .  ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1980 ) .  }", "answer": "yes"}, {"question": "How many landforms exist with an area greater than 90000000 square meters or with a population less than 43000000?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "90000000 square metre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "43000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["landform"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" .  { ?e <area> ?pv . ?pv <pred:unit> \"square metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"90000000\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"43000000\"^^xsd:double ) .  } }", "answer": "25"}, {"question": "Which one among the businesses, producing consumer electronics as a product or material, has the highest number of employees?", "choices": ["Vodafone", "McDonald's", "Samsung Electronics", "Pfizer", "Silver Pictures", "Sega", "Adobe Inc.", "Entertainment One", "Sony", "Skidmore Owings Merrill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["consumer electronics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["product or material produced", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["employees", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <product_or_material_produced> ?e_1 . ?e_1 <pred:name> \"consumer electronics\" .  ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Samsung Electronics"}, {"question": "Do less people live in  Topeka or Portsmouth (the one whose postal code is 03804)   ?", "choices": ["Greenville", "Waukegan", "Columbus", "Boulder", "Lansing", "Portsmouth", "Compton", "Oakland", "Franklin", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Topeka"]}, {"function": "Find", "dependencies": [], "inputs": ["Portsmouth"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "03804"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Topeka\" . } UNION { ?e <pred:name> \"Portsmouth\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"03804\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Portsmouth"}, {"question": "What is the character role of Jennifer Morrison as a cast member in the film How I Met Your Mother?", "choices": ["Syndrome", "Peter Weyland", "Rubeus Hagrid", "Zoey Pierson", "Feyd-Rautha", "Daffy Duck", "Franz-Otto Dietrich", "Castor Troy", "Eric Lamonsoff", "Honey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How I Met Your Mother"]}, {"function": "Find", "dependencies": [], "inputs": ["Jennifer Morrison"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"How I Met Your Mother\" . ?e_2 <pred:name> \"Jennifer Morrison\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Zoey Pierson"}, {"question": "What is the subject of 'nominated for' in ' Schindler's List (the one whose genre is drama film) was nominated for Academy Award for Best Director' ?", "choices": ["Denmark\u2013Malaysia relations", "Ecuador\u2013Iran relations", "Brazil\u2013Nigeria relations", "Somalia\u2013United Kingdom relations", "66th Academy Awards", "Panama\u2013United States relations", "Bangladesh\u2013Nigeria relations", "China\u2013Croatia relations", "Canada\u2013Mali relations", "Bangladesh\u2013Sri Lanka relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Schindler's List"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Schindler's List\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"drama film\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "66th Academy Awards"}, {"question": "What form of government reached a population of 5762673 in 1983, and is known by having its nominal GDP per capital of 7500 USD?", "choices": ["Bolivia", "Namibia", "Uganda", "Mozambique", "Tunisia", "Colombia", "Sierra Leone", "Zimbabwe", "Morocco", "Italy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5762673", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1983", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["form of government"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["nominal GDP per capita", "7500 United States dollar", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["form of government"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"5762673\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1983 . ?e <nominal_GDP_per_capita> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"7500\"^^xsd:double ) .  }", "answer": "Bolivia"}, {"question": "What film was nominated for Independent Spirit Award for Best Screenplay and uses Maryland (the official website https://www.maryland.gov/) as the narrative location?", "choices": ["Talk to Her", "Rebecca", "Capote", "Book of Shadows: Blair Witch 2", "Live Free or Die Hard", "Pleasantville", "Drugstore Cowboy", "The X-Files", "A Prairie Home Companion", "Shattered Glass"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Maryland"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.maryland.gov/"]}, {"function": "Relate", "dependencies": [4], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Independent Spirit Award for Best Screenplay\" .  ?e <narrative_location> ?e_2 . ?e_2 <pred:name> \"Maryland\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"https://www.maryland.gov/\" .  }", "answer": "Shattered Glass"}, {"question": "Which has fewer seasons, Barney Miller or Working Girl whose season count is 1?", "choices": ["Bleak House", "Barney Miller", "American Horror Story", "Working Girl", "Dancing with the Stars", "Robot Chicken", "Six Feet Under", "Seinfeld", "Saturday Night's Main Event", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barney Miller"]}, {"function": "Find", "dependencies": [], "inputs": ["Working Girl"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of seasons", "1", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barney Miller\" . } UNION { ?e <pred:name> \"Working Girl\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Working Girl"}, {"question": "How many musical compositions have the composer Barry Gibb or have the title Wuthering Heights?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barry Gibb"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical composition"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Wuthering Heights"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical composition"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical composition\" .  { ?e <composer> ?e_1 . ?e_1 <pred:name> \"Barry Gibb\" .  } UNION { ?e <title> ?pv . ?pv <pred:value> \"Wuthering Heights\" .  } }", "answer": "3"}, {"question": "Which area is smaller, Marrakesh or Melbourne (the one that contains University of Melbourne)?", "choices": ["Chihuahua", "Dundee", "Abidjan", "Santo Domingo", "Cork", "Marrakesh", "Kilkenny", "Kingston", "Trieste", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marrakesh"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Melbourne"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Melbourne"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marrakesh\" .  } UNION { ?e <pred:name> \"Melbourne\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"University of Melbourne\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Marrakesh"}, {"question": "What is the title of Manhattan (the one whose publication date is 1924-10-28)?", "choices": ["Beauty and the Beast", "Who Framed Roger Rabbit", "L.A. Law", "Halloween", "Manhattan", "Anna Karenina", "G.I. Joe: Retaliation", "Star Trek: Nemesis", "Evita", "Dutch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1924-10-28", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Manhattan\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1924-10-28\"^^xsd:date . ?e <title> ?pv .  }", "answer": "Manhattan"}, {"question": "Who has a Regensburg Classification identifier of BF 3785?", "choices": ["Martin Clunes", "Chris Lebenzon", "Martin Heidegger", "Bertolt Brecht", "Galileo Galilei", "Sylvester Stallone", "John Byrne", "William Henry Harrison", "Richard Gere", "Immanuel Kant"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Regensburg Classification", "BF 3785"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Regensburg_Classification> ?pv . ?pv <pred:value> \"BF 3785\" .  }", "answer": "Galileo Galilei"}, {"question": "What is the relationship between Mangalore to Hamilton (the one whose subreddit is Hamilton)?", "choices": ["draft pick from school", "country of citizenship", "office held by head of government", "depicts", "twinned administrative body", "notable work", "home port", "interested in", "composer", "seed team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mangalore"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamilton"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["subreddit", "Hamilton"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mangalore\" . ?e_2 <pred:name> \"Hamilton\" . ?e_2 <subreddit> ?pv . ?pv <pred:value> \"Hamilton\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which language is associated with LL-Q150 (fra)-Fhala.K-Charlotte Gainsbourg.wav, the pronunciation audio of the human whose CANTIC-ID is a11029560?", "choices": ["Luxembourgish", "Italian", "Korean", "Maltese", "Nynorsk", "Tahitian", "French", "Russian", "Indonesian", "Wolof"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11029560"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["pronunciation audio", "LL-Q150 (fra)-Fhala.K-Charlotte Gainsbourg.wav", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11029560\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"LL-Q150 (fra)-Fhala.K-Charlotte Gainsbourg.wav\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "French"}, {"question": "What is the Giphy username for the record label whose Twitter username is 4ad_official?", "choices": ["gameloft", "southamptonfc", "parlophone", "dartmouth", "etredcarpet", "washugifs", "psg_inside", "universityofga", "seal", "4ad"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "4ad_official"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"4ad_official\" . ?e <Giphy_username> ?pv .  }", "answer": "4ad"}, {"question": "Is the lower elevation in Columbus, twinned administrative body of Genoa, or in Mesa, which belongs to the USA?", "choices": ["Mesa", "New Britain", "Compton", "Greenville", "Franklin", "New Haven", "Boulder", "Columbus", "Lansing", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Genoa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mesa"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Columbus\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Genoa\" .   } UNION { ?e <pred:name> \"Mesa\" . ?e <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Columbus"}, {"question": "John Abraham (the one whose mass is 263 pound) or Jack Kemp?", "choices": ["Max Fleischer", "David Byrne", "Paul Simon", "John Abraham", "Jack Kemp", "Rahul Dev Burman", "Richard Gere", "James E. Reilly", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Abraham"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "263 pound", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Kemp"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"John Abraham\" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> \"pound\" . ?pv_1 <pred:value> \"263\"^^xsd:double . } UNION { ?e <pred:name> \"Jack Kemp\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jack Kemp"}, {"question": "How many sciences are practiced by a geologist or whose Stack Exchange tag is https://stackoverflow.com/tags/geography?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["geologist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["practiced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["science"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Stack Exchange tag", "https://stackoverflow.com/tags/geography"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["science"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science\" .  { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> \"geologist\" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://stackoverflow.com/tags/geography\" .  } }", "answer": "2"}, {"question": "What is the connection between Cook County to DuPage County?", "choices": ["office held by head of the organisation", "talk show guest", "domain of saint or deity", "affiliation", "publisher", "make-up artist", "geographic distribution", "candidacy in election", "shares border with", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cook County"]}, {"function": "Find", "dependencies": [], "inputs": ["DuPage County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cook County\" . ?e_2 <pred:name> \"DuPage County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "What point in time is 59.911 the life expectancy in Gambia?", "choices": ["1631", "1999-01-27", "2016-11-24", "1987-01-01", "2009-12-16", "2003-03-23", "2018-06-30", "2000-01-01", "2011", "1807-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gambia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["life expectancy", "59.911 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Gambia\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"59.911\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "What is the start time of the television series that has Arthur Miller as a cast member?", "choices": ["1920-05-07", "1942-11-27", "1974-12-08", "1972-09-30", "1984-07-28", "1963-05-14", "2012-03-21", "1989-12-27", "1969-07-18", "1990-09-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arthur Miller"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Arthur Miller\" .  ?e <start_time> ?pv .  }", "answer": "1990-09-23"}, {"question": "What is the connection between Neil Young (the one that uses the language English) to folk rock?", "choices": ["position held", "chief executive officer", "set in period", "make-up artist", "indigenous to", "field of this occupation", "genre", "author", "screenwriter", "commissioned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Neil Young"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["folk rock"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Neil Young\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"folk rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Tell me the relationship between San Juan Jabloteh to association football", "choices": ["original language of film or TV show", "relative", "legal form", "collection", "political ideology", "capital of", "honorific suffix", "donated by", "military branch", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Juan Jabloteh"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"San Juan Jabloteh\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is Rhineland-Palatinate's ISO 3166-2 code?", "choices": ["IE-MH", "GB-BKM", "DE-RP", "MA-RAB", "GB-EDH", "CN-34", "UA-43", "CA-NT", "AU-NSW", "GB-WLL"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rhineland-Palatinate"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISO 3166-2 code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rhineland-Palatinate\" . ?e <ISO_3166-2_code> ?pv .  }", "answer": "DE-RP"}, {"question": "Of independent cities with population exceeding 5800, which has the least area?", "choices": ["Falls Church", "Winchester", "Carson City", "Portsmouth", "Lexington", "Fredericksburg", "Chesapeake", "Staunton", "Alexandria", "Charlottesville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5800", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"5800\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falls Church"}, {"question": "When did San Joaquin County have a population of 701151?", "choices": ["1926-01-01", "1911-05-28", "1904", "2012-05-09", "1960-01-01", "1998-04-18", "2012-07-01", "1697", "1777", "2010-08-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Joaquin County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "701151", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"San Joaquin County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"701151\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "What does Mexico City have to do with Monterrey?", "choices": ["archives at", "lowest point", "office contested", "takes place in fictional universe", "twinned administrative body", "hair color", "field of this occupation", "series spin-off", "architectural style", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mexico City"]}, {"function": "Find", "dependencies": [], "inputs": ["Monterrey"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mexico City\" . ?e_2 <pred:name> \"Monterrey\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "How is X-Men Origins: Wolverine released in Armenia related to Kuwait?", "choices": ["parent astronomical body", "source of material", "subsidiary", "language used", "uses", "said to be the same as", "replaced by", "has part", "film release region", "taxon rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armenia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["X-Men Origins: Wolverine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kuwait"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"X-Men Origins: Wolverine\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Armenia\" . ?e_2 <pred:name> \"Kuwait\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Is http://www.davidwain.com/ the official website of David Wain?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Wain"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.davidwain.com/"]}], "sparql": "ASK { ?e <pred:name> \"David Wain\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.davidwain.com/\" .  }", "answer": "yes"}, {"question": "Is the title of a visual artwork, published on 17th March 2005 in Germany, The Life Aquatic with Steve Zissou ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2005-03-17", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "Germany"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["The Life Aquatic with Steve Zissou"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2005-03-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" . ?e <title> ?pv . ?pv <pred:value> \"The Life Aquatic with Steve Zissou\" .  }", "answer": "yes"}, {"question": "Which individual was Ted's composer?", "choices": ["Richard Gere", "Vangelis", "Ian MacKaye", "Max Fleischer", "Malcolm McDowell", "John Carpenter", "Edward Burns", "Walter Murphy", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ted"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Ted\" .   }", "answer": "Walter Murphy"}, {"question": "When was Manche, an administrative division in Normandy, founded?", "choices": ["2001-09-26", "2001-10-10", "1941", "1945-09-19", "1936-02-19", "2016-01-01", "2017", "1814-05-25", "1946-07-04", "1976-09-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manche"]}, {"function": "Find", "dependencies": [], "inputs": ["Manche"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Manche\" . ?e_2 <pred:name> \"Normandy\" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Manche\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "When did the national soccer team corresponding to FIFA country code RUS rank at 64?", "choices": ["2013-04-01", "2005-01-19", "2018-11-14", "2013-01-04", "2017-09-14", "2006-04-19", "2011-02-02", "1964-04-13", "1867", "2017-06-07"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIFA country code", "RUS"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "64", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <FIFA_country_code> ?pv_1 . ?pv_1 <pred:value> \"RUS\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"64\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-09-14"}, {"question": "Which academic discipline has the genre rock music?", "choices": ["Billy Joel", "big band", "Iron Man 2", "natural history", "Dave Matthews Band", "The Hollies", "Bon Jovi", "Philadelphia", "Yellow Submarine", "London Symphony Orchestra"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"rock music\" .   }", "answer": "Yellow Submarine"}, {"question": "Which area is larger, Mississauga or K\u014dbe?", "choices": ["Cork", "Abidjan", "Mississauga", "Trieste", "Dundee", "Kingston", "K\u014dbe", "Santo Domingo", "Kilkenny", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mississauga"]}, {"function": "Find", "dependencies": [], "inputs": ["K\u014dbe"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mississauga\" .  } UNION { ?e <pred:name> \"K\u014dbe\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "K\u014dbe"}, {"question": "Is 1909-02-03, the date of birth of the human that is a film editor of Heaven Can Wait (whose genre is comedy-drama), after 1885?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["comedy-drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heaven Can Wait"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["film editor", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttrUnderCondition", "dependencies": [5], "inputs": ["date of birth", "date of birth", "1909-02-03"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1885", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <film_editor> ?e . ?e_1 <pred:name> \"Heaven Can Wait\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"comedy-drama\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1885 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <date_of_birth> ; <pred:fact_t> ?pv ] <date_of_birth> ?qpv . ?qpv <pred:date> \"1909-02-03\"^^xsd:date .  }", "answer": "yes"}, {"question": "Bethesda Softworks is the developer of the activity released at which time?", "choices": ["2003-05-30", "2004-09-14", "2014-05-15", "2010-08-05", "2009-10-29", "2002-06-17", "1992-01-01", "2010-07-08", "2002-05-30", "2011-09-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bethesda Softworks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["developer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <developer> ?e_1 . ?e_1 <pred:name> \"Bethesda Softworks\" .  ?e <publication_date> ?pv .  }", "answer": "1992-01-01"}, {"question": "How many albums do we know that were not published in 1998 and that were published after 1970 ?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1998", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1970", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["album"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1970 ) .  }", "answer": "17"}, {"question": "Special example of what instance is R, the short name for Rostock ?", "choices": ["Tor hidden service", "archipelago", "ISO standard", "official minority languages of Sweden", "Luz de Am\u00e9rica", "location identifier part of a library identifier code", "war", "Committee on Government Operations", "Masculine ending", "dynasty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rostock"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["short name", "R", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Rostock\" . ?e <short_name> ?pv . ?pv <pred:value> \"R\" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "location identifier part of a library identifier code"}, {"question": "What is the connection between The Last Emperor (that was released in Los Angeles) and Vittorio Storaro?", "choices": ["vehicle normally used", "director of photography", "film crew member", "partner", "part of the series", "public holiday", "location of final assembly", "official color", "penalty", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Last Emperor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Vittorio Storaro"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Last Emperor\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Los Angeles\" . ?e_2 <pred:name> \"Vittorio Storaro\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "Which area is smaller, Polk County (the one that is an administrative division of Wisconsin) or Columbia County (the one whose population is 56833)?", "choices": ["Pierce County", "La Crosse County", "Polk County", "Wood County", "Outagamie County", "Jefferson County", "Columbia County", "Jackson County", "Fond du Lac County", "Waukesha County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wisconsin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Polk County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Columbia County"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "56833", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Polk County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Wisconsin\" . } UNION { ?e <pred:name> \"Columbia County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"56833\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Columbia County"}, {"question": "What country does 90058, the postal code of the city of the United States whose native label is El Pueblo de Nuestra Se\u00f1ora la Reina de los \u00c1ngeles del R\u00edo de Porci\u00fancula (literally translated 'The town of Our Lady the Queen of the Angels of the Little Portion') belong to?", "choices": ["United States of America", "Slovenia", "Norway", "Kingdom of Prussia", "Poland", "Uruguay", "Singapore", "South Korea", "Saudi Arabia", "Roman Republic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "El Pueblo de Nuestra Se\u00f1ora la Reina de los \u00c1ngeles del R\u00edo de Porci\u00fancula"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["literal translation", "The town of Our Lady the Queen of the Angels of the Little Portion"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["postal code", "90058", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"El Pueblo de Nuestra Se\u00f1ora la Reina de los \u00c1ngeles del R\u00edo de Porci\u00fancula\" . [ <pred:fact_h> ?e ; <pred:fact_r> <native_label> ; <pred:fact_t> ?pv_1 ] <literal_translation> ?qpv_1 . ?qpv_1 <pred:value> \"The town of Our Lady the Queen of the Angels of the Little Portion\" . ?e <postal_code> ?pv . ?pv <pred:value> \"90058\" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Is the publication date of Giant (the one whose release region is France) not in 1998 (the place of publication of this statement is West Germany)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Giant"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrUnderCondition", "dependencies": [3], "inputs": ["publication date", "place of publication", "West Germany"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1998", "!="]}], "sparql": "ASK { ?e <pred:name> \"Giant\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"France\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"West Germany\" .  }", "answer": "yes"}, {"question": "What is the connection between Target Corporation to retail?", "choices": ["works in collection", "lifestyle", "commissioned by", "had as last meal", "organisation directed from the office or person", "draft pick from school", "present in work", "performer", "industry", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Target Corporation"]}, {"function": "Find", "dependencies": [], "inputs": ["retail"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Target Corporation\" . ?e_2 <pred:name> \"retail\" . ?e_1 ?p ?e_2 .  }", "answer": "industry"}, {"question": "Which rock bands have a member whose British Musem's person-institution is 169901?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "169901"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["rock band"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <has_part> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> \"169901\" .   }", "answer": "1"}, {"question": "Is 0000 0001 2184 7583 the ISNI of the person whose Twitter username is SelmaBlair?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "SelmaBlair"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2184 7583"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"SelmaBlair\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2184 7583\" .  }", "answer": "no"}, {"question": "What is the relationship between Ned Kelly (the one that origins from United Kingdom) and Mick Jagger?", "choices": ["follows", "sport", "student", "cast member", "dialect of", "language used", "this taxon is source of", "military casualty classification", "head of state", "item operated"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ned Kelly"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mick Jagger"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ned Kelly\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Mick Jagger\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "When was the release of the visual artwork that earned 5000000 USD at the box office?", "choices": ["1993-01-14", "1983-02-18", "2014-10-05", "1968-07-26", "2005-01-01", "2000-08-31", "2007-02-08", "1980-08-15", "2000-07-08", "1952-09-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "5000000 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"5000000\"^^xsd:double . ?e <publication_date> ?pv .  }", "answer": "2005-01-01"}, {"question": "Does British Museum person-institution number 112023 signify the US state where Brandeis University is located ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brandeis University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["112023"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Brandeis University\" .  ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> \"112023\" .  }", "answer": "yes"}, {"question": "What is the relationship between David Copperfield (the one whose distributor is NBC) and Howie Mandel?", "choices": ["manner of death", "student", "edition or translation of", "practiced by", "penalty", "make-up artist", "voice actor", "killed by", "depicts", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Howie Mandel"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"NBC\" . ?e_2 <pred:name> \"Howie Mandel\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Which movie is longer, Flight (the one that has Walter Brennan as a cast member) or Christopher Columbus: The Discovery?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "Talk to Her", "The Fifth Element", "Rebecca", "The Towering Inferno", "Training Day", "Christopher Columbus: The Discovery", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter Brennan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Columbus: The Discovery"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flight\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Walter Brennan\" .   } UNION { ?e <pred:name> \"Christopher Columbus: The Discovery\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Christopher Columbus: The Discovery"}, {"question": "What role did Kristin Davis play in Sex and the City that ended on 2004-02-22?", "choices": ["F.B.I. Assistant Director Kendall", "Charlotte York Goldenblatt", "Helen of Troy", "Mephisto", "Puss in Boots", "Blair Waldorf", "Jamie Williams", "Sebastian Shaw", "ACME Chairman", "Jorah Mormont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sex and the City"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "2004-02-22", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Kristin Davis"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sex and the City\" . ?e_1 <end_time> ?pv . ?pv <pred:date> \"2004-02-22\"^^xsd:date . ?e_2 <pred:name> \"Kristin Davis\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Charlotte York Goldenblatt"}, {"question": "What is the British Museum person-institution for the Pennsylvania city that is the filming location of Confessions of a Dangerous Mind?", "choices": ["102799", "197566", "112856", "154736", "188447", "185164", "88716", "21931", "187797", "161688"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Confessions of a Dangerous Mind"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Confessions of a Dangerous Mind\" .  ?e <British_Museum_person-institution> ?pv .  }", "answer": "88716"}, {"question": "What is the relationship between Randy Newman and David Newman (the one that is the composer of Scooby-Doo)?", "choices": ["honorific prefix", "mother", "contains administrative territorial entity", "license", "chief executive officer", "vehicle normally used", "significant person", "chairperson", "relative", "mascot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Randy Newman"]}, {"function": "Find", "dependencies": [], "inputs": ["Scooby-Doo"]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Newman"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Randy Newman\" . ?e_2 <pred:name> \"David Newman\" . ?e_3 <composer> ?e_2 . ?e_3 <pred:name> \"Scooby-Doo\" . ?e_1 ?p ?e_2 .  }", "answer": "relative"}, {"question": "What is the postal code for the headquarters location of the University of Louisiana at Lafayette in Lafayette (whose elevation is 11 meters above sea)?", "choices": ["24122", "14901", "43210", "10154", "93962", "01307", "70503", "91101", "70372", "08618"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Louisiana at Lafayette"]}, {"function": "Find", "dependencies": [], "inputs": ["Lafayette"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "11 metre", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Louisiana at Lafayette\" . ?e_2 <pred:name> \"Lafayette\" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"11\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "70503"}, {"question": "How many activities' external data URL is http://data.europa.eu/euodp/en/data/group/eurovoc_domain_100146 or whose software engine is Havok (whose Stack Exchange tag is https://stackoverflow.com/tags/havok)?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["external data available at", "http://data.europa.eu/euodp/en/data/group/eurovoc_domain_100146"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Find", "dependencies": [], "inputs": ["Havok"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Stack Exchange tag", "https://stackoverflow.com/tags/havok"]}, {"function": "Relate", "dependencies": [4], "inputs": ["software engine", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["activity"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" .  { ?e <external_data_available_at> ?pv . ?pv <pred:value> \"http://data.europa.eu/euodp/en/data/group/eurovoc_domain_100146\" .  } UNION { ?e <software_engine> ?e_1 . ?e_1 <pred:name> \"Havok\" . ?e_1 <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://stackoverflow.com/tags/havok\" .  } }", "answer": "3"}, {"question": "When was the release of the movie titled Le fatiche di Ercole?", "choices": ["1958-01-01", "2006-08-17", "1940-02-23", "2012-03-15", "2013-02-28", "2010-01-21", "1957-03-12", "1993-12-15", "2010-03-12", "2006-05-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Le fatiche di Ercole"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Le fatiche di Ercole\" . ?e <publication_date> ?pv .  }", "answer": "1958-01-01"}, {"question": "How many North Carolina counties contain the administrative division Charlotte whose population is 34014 and whose area is less than 2300000 square feet?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "34014", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of North Carolina"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["area", "2300000 square foot", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of North Carolina"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Charlotte\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"34014\"^^xsd:double .  ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square foot\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"2300000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "Which midfielder played 2 games as a member of Stalybridge Celtic F.C.?", "choices": ["Dido", "Simon Cowell", "Richard Gere", "William Henry Harrison", "Kevin James", "Paul Weller", "David Byrne", "Craig Rocastle", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["midfielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Stalybridge Celtic F.C."]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of matches played/races/starts", "2", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> \"midfielder\" .  ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Stalybridge Celtic F.C.\" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"2\"^^xsd:double .  }", "answer": "Paul Weller"}, {"question": "How many television genres have either originally aired on NBC or have an official website of http://www.priceisright.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television genre"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.priceisright.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television genre\" .  { ?e <original_network> ?e_1 . ?e_1 <pred:name> \"NBC\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.priceisright.com/\" .  } }", "answer": "2"}, {"question": "Which person has the birth name Pamela Denise Anderson?", "choices": ["Sylvester Stallone", "Richard Gere", "Patti LaBelle", "William Henry Harrison", "Pamela Anderson", "Leonard Cohen", "Joseph Conrad", "Zac Efron", "George Burns", "Vanessa Williams"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Pamela Denise Anderson"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Pamela Denise Anderson\" .  }", "answer": "Pamela Anderson"}, {"question": "Was the film that mainly depicts George W. Bush published before 2011?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George W. Bush"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2011", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"George W. Bush\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  }", "answer": "yes"}, {"question": "When was the public company whose official website is http://www.tv5.com.ph/ conceived?", "choices": ["1820-01-10", "1975-05-16", "1992", "1973-10-01", "1909", "1999-09-09", "1870-07-15", "1953", "1956-09-16", "1887"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tv5.com.ph/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public company"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tv5.com.ph/\" . ?e <inception> ?pv .  }", "answer": "1992"}, {"question": "What is cast member Cate Blanchett's character role in The Lord of the Rings: The Fellowship of the Ring (which received an Academy Award for Best Makeup and Hairstyling)?", "choices": ["Valerie Veran", "Chief Wiggum", "Principal Skinner", "Jonathan Kent", "Thomson and Thompson", "Marmaduke", "Franz-Otto Dietrich", "Josephine Earp", "Galadriel", "Elliot Carver"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Makeup and Hairstyling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lord of the Rings: The Fellowship of the Ring"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cate Blanchett"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Lord of the Rings: The Fellowship of the Ring\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Makeup and Hairstyling\" . ?e_2 <pred:name> \"Cate Blanchett\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Galadriel"}, {"question": "What is the association of the Montreal Alouettes with American football?", "choices": ["military casualty classification", "named after", "political alignment", "significant event", "stated in", "composer", "sex or gender", "present in work", "art director", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montreal Alouettes"]}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Montreal Alouettes\" . ?e_2 <pred:name> \"American football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the relationship between Julia Roberts and film producer?", "choices": ["sponsor", "update method", "part of", "uses", "risk factor", "honorific suffix", "studies", "architectural style", "family", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julia Roberts"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Julia Roberts\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has less area, Burlington County or Mercer County that has the captital Trenton?", "choices": ["Bergen County", "Hunterdon County", "Cumberland County", "Hudson County", "Gloucester County", "Burlington County", "Mercer County", "Essex County", "Monmouth County", "Morris County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Burlington County"]}, {"function": "Find", "dependencies": [], "inputs": ["Trenton"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mercer County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Burlington County\" .  } UNION { ?e <pred:name> \"Mercer County\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Trenton\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mercer County"}, {"question": "Which ISCO occupation code designates the job of sports announcer?", "choices": ["2453", "2455", "2460", "3434", "2211", "2454", "2451", "2432", "3431", "3117"], "program": [{"function": "Find", "dependencies": [], "inputs": ["sport"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of this occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["announcer"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISCO occupation code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"announcer\" . ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> \"sport\" .  ?e <ISCO_occupation_code> ?pv .  }", "answer": "2451"}, {"question": "Where in an independent city was Stewart Copeland born?", "choices": ["69700 square kilometre", "14.901519 square kilometre", "2535 square kilometre", "2105 square kilometre", "20.97 square kilometre", "40.104859 square kilometre", "93793 square kilometre", "2130800 square kilometre", "19.24 square mile", "4861.0 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stewart Copeland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Stewart Copeland\" .  ?e <area> ?pv .  }", "answer": "40.104859 square kilometre"}, {"question": "Who weighs more, Dwyane Wade or Marc Anthony (the one whose position is midfielder)?", "choices": ["David Byrne", "James E. Reilly", "William Henry Harrison", "Simon Cowell", "Rahul Dev Burman", "Dwyane Wade", "Paul Simon", "Sylvester Stallone", "Marc Anthony", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dwyane Wade"]}, {"function": "Find", "dependencies": [], "inputs": ["midfielder"]}, {"function": "Relate", "dependencies": [1], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Marc Anthony"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dwyane Wade\" .  } UNION { ?e <pred:name> \"Marc Anthony\" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> \"midfielder\" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dwyane Wade"}, {"question": "When did the Texas county whose Dewey Decimal Classification is 2--76435 have a population of 1785787?", "choices": ["2016-09-15", "2008-03-12", "2003-06-26", "1969-12-01", "1992", "1871-01-01", "1846-12-01", "2012-07-01", "1939", "1837-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--76435"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1785787", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--76435\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1785787\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Who is shorter, Naomi Watts or Pamela Anderson?", "choices": ["Rahul Dev Burman", "Naomi Watts", "Simon Cowell", "Pamela Anderson", "James E. Reilly", "David Byrne", "William Henry Harrison", "Sylvester Stallone", "Max Fleischer", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Naomi Watts"]}, {"function": "Find", "dependencies": [], "inputs": ["Pamela Anderson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Naomi Watts\" .  } UNION { ?e <pred:name> \"Pamela Anderson\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Naomi Watts"}, {"question": "How many awards were established before 1962?", "choices": ["55", "56", "57", "58", "59", "60", "61", "62", "63", "64"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1962", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }", "answer": "57"}, {"question": "Is the native language name of the human whose official website is http://www.manbow.com/ equal to Virginia Madsen?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.manbow.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Virginia Madsen"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.manbow.com/\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Virginia Madsen\" .  }", "answer": "no"}, {"question": "Does the documentary film series have other than 1300 episodes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["documentary film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1300", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"documentary film\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1300\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the dedicated website for the association football club with its HQ in Leeds and a TOID of 4000000074572682?", "choices": ["http://www.seanonolennon.com/", "http://www.hamilton.govt.nz", "http://www.gouv.nc", "http://www.liamobrien.biz", "http://oakland.athletics.mlb.com", "https://www.leedsunited.com/", "http://jennifersway.org/", "http://www.cityofcharleston.org", "http://www.collateral-themovie.com/", "https://www.cluesareeverywhere.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leeds"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074572682"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Leeds\" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> \"4000000074572682\" . ?e <official_website> ?pv .  }", "answer": "https://www.leedsunited.com/"}, {"question": "How is Legend of the Guardians: The Owls of Ga'Hoole (the one whose publisher is Warner Bros. Interactive Entertainment) related to platform game ?", "choices": ["part of the series", "tributary", "military casualty classification", "godparent", "manner of death", "genre", "founded by", "public holiday", "stated in", "political alignment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros. Interactive Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Legend of the Guardians: The Owls of Ga'Hoole"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["platform game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Legend of the Guardians: The Owls of Ga'Hoole\" . ?e_1 <publisher> ?e_3 . ?e_3 <pred:name> \"Warner Bros. Interactive Entertainment\" . ?e_2 <pred:name> \"platform game\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How is Rihanna related to Def Jam Recordings?", "choices": ["enclave within", "creator", "director", "child", "record label", "has immediate cause", "production designer", "operating system", "uses", "designed to carry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rihanna"]}, {"function": "Find", "dependencies": [], "inputs": ["Def Jam Recordings"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rihanna\" . ?e_2 <pred:name> \"Def Jam Recordings\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "What is the exploitation visa number of the movie whose video is The African Queen?", "choices": ["93544", "146745", "32038", "12653", "113661", "141419", "60687", "89440", "110221", "100251"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["video", "The African Queen - trailer.ogv"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <video> ?pv_1 . ?pv_1 <pred:value> \"The African Queen - trailer.ogv\" . ?e <exploitation_visa_number> ?pv .  }", "answer": "12653"}, {"question": "Screenwriter David Byrne was nominated for an Academy Award for Best Original Score of which work?", "choices": ["Turkmenistan\u2013Uzbekistan border", "France\u2013Vanuatu relations", "Dominican Republic\u2013United States border", "East Germany\u2013Soviet Union relations", "Brunei\u2013Thailand relations", "17th Academy Awards", "Kazakhstan\u2013United Kingdom relations", "60th Academy Awards", "Philippines\u2013European Union relations", "Brazil\u2013Cape Verde relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Byrne\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"screenwriter\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "60th Academy Awards"}, {"question": "What language is associated with the official website http://www.lebronjames.com for the person whose Twitter username is KingJames with 41570423 subscribers?", "choices": ["English", "Tamil", "Cornish", "Bokm\u00e5l", "Malagasy", "Albanian", "Bashkir", "Danish", "Chinese", "Montenegrin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "KingJames"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "41570423", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.lebronjames.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"KingJames\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"41570423\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lebronjames.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the name of the music which has Everything but the  girl as its famous people and whose subreddit is dub?", "choices": ["psychedelic trance", "electronica", "glitch", "breakbeat", "post-punk", "smooth jazz", "bubblegum pop", "ambient music", "electro house", "dub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Everything but the Girl"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["subreddit", "dub"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Everything but the Girl\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"dub\" .  }", "answer": "dub"}, {"question": "Which is the 67th edition of the Academy Awards?", "choices": ["48th Academy Awards", "64th Academy Awards", "77th Academy Awards", "67th Golden Globe Awards", "42nd Academy Awards", "67th Academy Awards", "81st Academy Awards", "51st Academy Awards", "25th Academy Awards", "43rd Academy Awards"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "67"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e <edition_number> ?pv . ?pv <pred:value> \"67\" .  }", "answer": "67th Academy Awards"}, {"question": "How are Erwin Rommel and suicide related?", "choices": ["make-up artist", "manner of death", "parent club", "executive producer", "mountain range", "home port", "penalty", "narrator", "material used", "political alignment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Erwin Rommel"]}, {"function": "Find", "dependencies": [], "inputs": ["suicide"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Erwin Rommel\" . ?e_2 <pred:name> \"suicide\" . ?e_1 ?p ?e_2 .  }", "answer": "manner of death"}, {"question": "What does Fender Precision Bass have in common with Pete Wentz?", "choices": ["vehicle normally used", "filming location", "doctoral student", "located in time zone", "editor", "based on", "head of state", "famous people", "patron saint", "time period"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fender Precision Bass"]}, {"function": "Find", "dependencies": [], "inputs": ["Pete Wentz"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fender Precision Bass\" . ?e_2 <pred:name> \"Pete Wentz\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many anime TV shows debuted earlier than 1987 or were published prior to 1999?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1987", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1999", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anime television series"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1987 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1999 ) .  } }", "answer": "3"}, {"question": "Which show has fewer seasons, Law & Order: Criminal Intent (the one whose number of episodes is 197) or Freakazoid!?", "choices": ["Batman Beyond", "South Park", "Aladdin", "American Dad!", "Phineas and Ferb", "Law & Order: Criminal Intent", "Freakazoid!", "Robot Chicken", "Tiny Toon Adventures", "The Venture Bros."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Law & Order: Criminal Intent"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "197", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Freakazoid!"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Law & Order: Criminal Intent\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"197\"^^xsd:double . } UNION { ?e <pred:name> \"Freakazoid!\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Freakazoid!"}, {"question": "What is the scope of 'performer' in the sentence Catwoman (the one that presents in work The Dark Knight Rises) has Anne Hathaway (the one that is educated at New York University) as a performer ?", "choices": ["Charles Dickens", "United States Senate", "The Dark Knight Rises", "Shrek Forever After", "Hulk", "Jonah Hex", "Catwoman", "Giuseppe Verdi", "Hercules", "Saturday Night Live"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Dark Knight Rises"]}, {"function": "Relate", "dependencies": [0], "inputs": ["present in work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catwoman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York University"]}, {"function": "Relate", "dependencies": [4], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anne Hathaway"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["performer", "of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Catwoman\" . ?e_1 <present_in_work> ?e_3 . ?e_3 <pred:name> \"The Dark Knight Rises\" . ?e_2 <pred:name> \"Anne Hathaway\" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> \"New York University\" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <of> ?qpv .  }", "answer": "The Dark Knight Rises"}, {"question": "What is the topic of the statement that Cyrano de Bergerac (having received an Academy Award for Best Actor) was the recipient of an Academy Award for Best Actor?", "choices": ["Tennis at the 2008 Summer Olympics \u2013 Men's singles", "China\u2013Eritrea relations", "23rd Academy Awards", "Malta\u2013Pakistan relations", "85th Academy Awards", "Germany\u2013Namibia relations", "Treaty of Jeddah", "New Zealand\u2013United Kingdom relations", "New York\u2013Vermont border", "Last Supper"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cyrano de Bergerac"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cyrano de Bergerac\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Actor\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "23rd Academy Awards"}, {"question": "Jonathan Demme was cast in the movie published on 1997-01-23 in which place?", "choices": ["West Germany", "Singapore", "Stockholm", "Thailand", "Panama", "worldwide", "Chicago", "Venezuela", "Germany", "Toronto"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Demme"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1997-01-23", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jonathan Demme\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1997-01-23\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does the animated feature film released on 1988-01-01 have a runtime different from 15 weeks ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1988-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["15 week", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1988-01-01\"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v != \"15\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which one has fewer children, Jason Bateman or Julian Fellowes ?", "choices": ["Sylvester Stallone", "Julian Fellowes", "James E. Reilly", "Jason Bateman", "Richard Gere", "William Henry Harrison", "Max Fleischer", "Paul Simon", "Rahul Dev Burman", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jason Bateman"]}, {"function": "Find", "dependencies": [], "inputs": ["Julian Fellowes"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jason Bateman\" .  } UNION { ?e <pred:name> \"Julian Fellowes\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Julian Fellowes"}, {"question": "Is http://www.eaglecounty.us the official website of the first-level administrative country subdivision with a NUTS code of AT33?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "AT33"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.eaglecounty.us"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"AT33\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.eaglecounty.us\" .  }", "answer": "no"}, {"question": "Temple University is related in what way to the USA?", "choices": ["student", "headquarters location", "country", "voice type", "sexual orientation", "stated in", "has edition", "next lower rank", "edition or translation of", "appointed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Temple University"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Temple University\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many theatrical genres are known to mainly depict what is in Ice Age: Dawn of the Dinosaurs (the one whose Nintendo GameID is RIAE52) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ice Age: Dawn of the Dinosaurs"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "RIAE52"]}, {"function": "Relate", "dependencies": [1], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["theatrical genre"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"Ice Age: Dawn of the Dinosaurs\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"RIAE52\" .   }", "answer": "0"}, {"question": "When did the Pennsylvania county officially represented by the site www.columbiapa.org have a population figure of 67321?", "choices": ["1753-01-01", "2019-02-13", "1919-04-01", "2012-01-31", "50", "1977-01-10", "2012-07-01", "2018-05-17", "2013-07-01", "2010-07-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.columbiapa.org"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "67321", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.columbiapa.org\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67321\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "How are Calcio Padova and Italy linked?", "choices": ["industry", "location", "child astronomical body", "occupation", "country", "commissioned by", "child", "health specialty", "military casualty classification", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Calcio Padova"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Calcio Padova\" . ?e_2 <pred:name> \"Italy\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between Touch and Go Records to Chicago (the one that is the residence of Steve Allen)?", "choices": ["applies to jurisdiction", "worshipped by", "genre", "connects with", "academic degree", "sibling", "patron saint", "headquarters location", "affiliation", "approved by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Touch and Go Records"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Allen"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chicago"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Touch and Go Records\" . ?e_2 <pred:name> \"Chicago\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"Steve Allen\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What is the connection between Nashville (the one that is originally aired on American Broadcasting Company) to Nashville (the one whose population is 684410)?", "choices": ["soundtrack album", "exclave of", "derivative work", "genre", "original network", "subject has role", "licensed to broadcast to", "filming location", "costume designer", "sidekick of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Broadcasting Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nashville"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nashville"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "684410", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nashville\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"American Broadcasting Company\" . ?e_2 <pred:name> \"Nashville\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"684410\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "filming location"}, {"question": "When was Independence Day that was shot in Los Angeles nominated for a MTV Movie Award for Best Breakthrough Performance?", "choices": ["1989-01-19", "1555", "2017-04-06", "1737-01-01", "1997", "2015-10-01", "1984-01-01", "1852-01-01", "1849-12-03", "1830-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Independence Day"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Breakthrough Performance"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Independence Day\" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> \"Los Angeles\" . ?e_2 <pred:name> \"MTV Movie Award for Best Breakthrough Performance\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1997"}, {"question": "Does Maui or Vancouver Island have more residents?", "choices": ["Tasmania", "Puerto Rico", "Vancouver Island", "Cyprus", "Newfoundland", "Hawaii", "Ireland", "Trinidad", "Maui", "Guernsey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maui"]}, {"function": "Find", "dependencies": [], "inputs": ["Vancouver Island"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Maui\" .  } UNION { ?e <pred:name> \"Vancouver Island\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Vancouver Island"}, {"question": "What number of buseiness schools have the ARCHON code of 2648?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "2648"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business school\" . ?e <ARCHON_code> ?pv . ?pv <pred:value> \"2648\" .  }", "answer": "1"}, {"question": "When did the democracy whose country is Ukraine have a nominal GDP of 48213868178.0873 USD?", "choices": ["2005-05-01", "1970-11-01", "1984-06-06", "2017-09-30", "1995-01-01", "1874", "1916-12-01", "2001-06-22", "2007-04-20", "2019-01-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "48213868178.0873 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Ukraine\" .  ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"48213868178.0873\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1995-01-01"}, {"question": "Does North Carolina or Alaska, population 710231, have the higher elevation?", "choices": ["Illinois", "Colorado", "New Jersey", "Florida", "New Mexico", "Alaska", "California", "Hawaii", "North Carolina", "Iowa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Carolina"]}, {"function": "Find", "dependencies": [], "inputs": ["Alaska"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "710231", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North Carolina\" . } UNION { ?e <pred:name> \"Alaska\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"710231\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Alaska"}, {"question": "For the basketball team that drafts Lamar Odom, what language is associated with this creative work for its official website of http://www.nba.com/clippers/?", "choices": ["Slovene", "Corsican", "English", "Dutch", "Estonian", "Welsh", "Punjab", "Yue Chinese", "Latin", "Armenian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lamar Odom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.nba.com/clippers/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> \"Lamar Odom\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nba.com/clippers/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between The Man with the Golden Gun (the one that uses the language English) to The Man with the Golden Gun (the one whose narrative location is Macau)?", "choices": ["location of discovery", "participant of", "employer", "dedicated to", "part of the series", "programming language", "significant person", "genre", "screenwriter", "derivative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man with the Golden Gun"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Macau"]}, {"function": "Relate", "dependencies": [4], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man with the Golden Gun"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Man with the Golden Gun\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"The Man with the Golden Gun\" . ?e_2 <narrative_location> ?e_4 . ?e_4 <pred:name> \"Macau\" . ?e_1 ?p ?e_2 .  }", "answer": "derivative work"}, {"question": "At what point in time did Leigh Harline receive a Best Original Song award at the Oscars?", "choices": ["1940", "1986-09-06", "2018-07-06", "1740", "1979-01-17", "1493", "1998-09-16", "2004-09-01", "2019-01-12", "2011-02-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Song"]}, {"function": "Find", "dependencies": [], "inputs": ["Leigh Harline"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Academy Award for Best Original Song\" . ?e_2 <pred:name> \"Leigh Harline\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1940"}, {"question": "What is the British Museum person-institution of Tsinghua University?", "choices": ["188753", "80299", "104964", "162123", "154994", "157885", "42821", "105923", "50735", "169818"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tsinghua University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tsinghua University\" . ?e <British_Museum_person-institution> ?pv .  }", "answer": "188753"}, {"question": "What is the time point for the former French region whose INSEE region code is 22 (the end time of this statement is 2015-12-31), its population is 1927142.", "choices": ["2003-02-19", "1903", "2012-01-12", "1855-12-01", "1940-10-01", "2013", "-4000000", "1140", "1896", "1681"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["INSEE region code", "22"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2015-12-31", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["former French region"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "1927142", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <INSEE_region_code> ?pv_1 . ?pv_1 <pred:value> \"22\" . [ <pred:fact_h> ?e ; <pred:fact_r> <INSEE_region_code> ; <pred:fact_t> ?pv_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:date> \"2015-12-31\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1927142\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "Is the smaller area occupied by Nye County or by Greene County, population 275174?", "choices": ["Nye County", "San Juan County", "Kent County", "Greene County", "African Union", "Delaware County", "Washoe County", "Lee County", "Orange County", "Cass County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nye County"]}, {"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "275174", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nye County\" . } UNION { ?e <pred:name> \"Greene County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"275174\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Greene County"}, {"question": "How many NBA Drafts took place in a city that is the residence of Savannah Guthrie ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Savannah Guthrie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["National Basketball Association Draft"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Basketball Association Draft\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> \"Savannah Guthrie\" .   }", "answer": "6"}, {"question": "Which is shorter, Illinois whose genre is baroque pop or The Beatles whose nickname is The White Album?", "choices": ["David Bowie", "Bedtime Stories", "Peter Gabriel", "Led Zeppelin", "Friends", "The Beatles", "Shakira", "Metallica", "Neil Young", "Illinois"], "program": [{"function": "Find", "dependencies": [], "inputs": ["baroque pop"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Beatles"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["nickname", "The White Album"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Illinois\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"baroque pop\" . } UNION { ?e <pred:name> \"The Beatles\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"The White Album\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Illinois"}, {"question": "Which person is shorter in height, Jonathan Forte or Magic Johnson?", "choices": ["Richard Gere", "Sylvester Stallone", "William Henry Harrison", "Simon Cowell", "James E. Reilly", "Jonathan Forte", "David Byrne", "Max Fleischer", "Rahul Dev Burman", "Magic Johnson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Forte"]}, {"function": "Find", "dependencies": [], "inputs": ["Magic Johnson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jonathan Forte\" .  } UNION { ?e <pred:name> \"Magic Johnson\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jonathan Forte"}, {"question": "Is the beginning date of the association football club whose official website is https://mhaifafc.com after 1008?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://mhaifafc.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1008", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://mhaifafc.com\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1008 ) .  }", "answer": "yes"}, {"question": "Tell me the movie directed by the person with the official website http://www.pennandteller.com", "choices": ["How Green Was My Valley", "Gone with the Wind", "The Aristocrats", "A Few Good Men", "Batman", "Rocky IV", "Fast Five", "Ed Wood", "Me and Orson Welles", "The Reader"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.pennandteller.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <director> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.pennandteller.com\" .   }", "answer": "The Aristocrats"}, {"question": "Did Pan's Labyrinth do better within the box office, or was it The Perks of Being a Wallflower, released in Spain?", "choices": ["Curse of the Golden Flower", "The Fifth Element", "Training Day", "The Towering Inferno", "Talk to Her", "Pleasantville", "The Perks of Being a Wallflower", "Pan's Labyrinth", "A Prairie Home Companion", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Perks of Being a Wallflower"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pan's Labyrinth"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Perks of Being a Wallflower\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Spain\" .   } UNION { ?e <pred:name> \"Pan's Labyrinth\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pan's Labyrinth"}, {"question": "Which movie is shorter, Anna Karenina (the one whose release region is Switzerland) or Magnolia?", "choices": ["Training Day", "Anna Karenina", "The Hunchback of Notre Dame", "Pleasantville", "A Prairie Home Companion", "Magnolia", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Switzerland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Magnolia"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anna Karenina\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Switzerland\" .   } UNION { ?e <pred:name> \"Magnolia\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Anna Karenina"}, {"question": "How is Frank Marshall (ISNI  0000 0000 3012 489X) connected with chess?", "choices": ["narrative role", "exclave of", "academic degree", "member of political party", "continent", "sport", "chief executive officer", "next higher rank", "diaspora", "used by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Marshall"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 3012 489X"]}, {"function": "Find", "dependencies": [], "inputs": ["chess"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Marshall\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3012 489X\" . ?e_2 <pred:name> \"chess\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Which has a greater duration, The Last Picture Show or Swept Away?", "choices": ["Pleasantville", "Talk to Her", "Rebecca", "Swept Away", "Training Day", "The Fifth Element", "A Prairie Home Companion", "The Last Picture Show", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Picture Show"]}, {"function": "Find", "dependencies": [], "inputs": ["Swept Away"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Last Picture Show\" .  } UNION { ?e <pred:name> \"Swept Away\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Last Picture Show"}, {"question": "How many woodwind instruments match the instrument played by the person whose official website is http://www.johncoltrane.com?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.johncoltrane.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["woodwind instrument"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"woodwind instrument\" . ?e_1 <instrument> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.johncoltrane.com\" .   }", "answer": "3"}, {"question": "What is the connection between Heart (the one whose official website is http://www.heart-music.com/) to Columbia Records?", "choices": ["diplomatic relation", "properties for this type", "chairperson", "record label", "works in collection", "contains administrative territorial entity", "permanent resident of", "partially contains", "original language of film or TV show", "winner"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heart"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.heart-music.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["Columbia Records"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Heart\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.heart-music.com/\" . ?e_2 <pred:name> \"Columbia Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "When did the India national football team have a ranking of 94?", "choices": ["2016-12-31", "2016-09-30", "1980-04-01", "2005-11-01", "1929-01-01", "1960-04-25", "1950-04-01", "1996-02-21", "1930-01-01", "1945-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["India national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "94", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"India national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"94\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1996-02-21"}, {"question": "Which person has a birth date before 1971 and is a member of Derby County F.C. (the number of games played of this statement is 53)?", "choices": ["David Byrne", "Richard Gere", "Ray McKinnon", "Max Fleischer", "Rahul Dev Burman", "Gary Moore", "Gordon Brown", "Sylvester Stallone", "William Henry Harrison", "Dean Saunders"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1971", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Derby County F.C."]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of matches played/races/starts", "53", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1971 ) . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Derby County F.C.\" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"53\"^^xsd:double .  }", "answer": "Gordon Brown"}, {"question": "When did the Winter Olympic Games (official website is https://www.olympic.org/turin-2006) take place?", "choices": ["1950-09-13", "2008-09-03", "1961-06-22", "1981", "1839", "1999-04-01", "1807", "1980-01-01", "2006", "2013-06-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.olympic.org/turin-2006"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Winter Olympic Games"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Winter Olympic Games\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.olympic.org/turin-2006\" . ?e <point_in_time> ?pv .  }", "answer": "2006"}, {"question": "When did San Salvador become the twinned administrative body of Taipei?", "choices": ["1978-09-12", "2003-11-24", "1893-03-04", "1993-07-08", "2006-08-22", "1998-07-03", "1977-01-20", "2000-05-05", "1904-10-08", "1993-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Salvador"]}, {"function": "Find", "dependencies": [], "inputs": ["Taipei"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"San Salvador\" . ?e_2 <pred:name> \"Taipei\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1993-01-01"}, {"question": "Was the box office greater for War Horse or Psycho (the one whose distributor is Paramount Pictures)?", "choices": ["A Prairie Home Companion", "Pleasantville", "Rebecca", "Training Day", "The Fifth Element", "War Horse", "Psycho", "Talk to Her", "Curse of the Golden Flower", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War Horse"]}, {"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [1], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Psycho"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"War Horse\" .  } UNION { ?e <pred:name> \"Psycho\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Paramount Pictures\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "War Horse"}, {"question": "For the film that Jim Erickson won the Best Production Design Academy Award, was the cost of production $870,000 US dollars?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Jim Erickson"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["cost"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["870000 United States dollar", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Production Design\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> \"Jim Erickson\" . ?e <cost> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"870000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the relationship between Mulan (the one that has Frank Welker as a voice actor) and June Foray?", "choices": ["next higher rank", "series spin-off", "member of political party", "tributary", "original language of film or TV show", "color", "license", "voice actor", "influenced by", "dialect of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Welker"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mulan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["June Foray"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mulan\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Frank Welker\" . ?e_2 <pred:name> \"June Foray\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Does Texas Tech University or Princeton University have more employees?", "choices": ["Texas Tech University", "American University of Beirut", "University of Chicago", "Carnegie Institute of Technology", "Ateneo de Manila University", "Valparaiso University", "Yale University", "Boston University School of Law", "Princeton University", "Bradley University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Texas Tech University"]}, {"function": "Find", "dependencies": [], "inputs": ["Princeton University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Texas Tech University\" .  } UNION { ?e <pred:name> \"Princeton University\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Princeton University"}, {"question": "What is the determination method of the population 149294 county of Maryland who shares the south border with Prince George's County?", "choices": ["Russian Empire Census", "de facto", "United States Census", "Pensky\u2013Martens closed-cup test", "Taqdir", "FIFA World Rankings", "estimation process", "population projection", "UIS estimation", "census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prince George's County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["direction relative to location", "south"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Maryland"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "149294", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Prince George's County\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <direction_relative_to_location> ?qpv_1 . ?qpv_1 <pred:value> \"south\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"149294\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Which news broadcast without zero seasons has the highest season count?", "choices": ["manufacturing", "The Daily Show", "The Colbert Report", "Western Desert Campaign", "Today", "FreeBSD", "Napoleonic Wars", "Android", "Good Morning America", "Orange"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "0", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"0\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Today"}, {"question": "When was the person whose official website is http://www.benharper.com born?", "choices": ["1939-11-26", "1924-06-03", "1969-10-28", "1986-08-16", "1943-06-23", "1910-05-09", "1962-08-27", "1942-08-29", "1787-01-13", "1963-01-05"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.benharper.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.benharper.com\" . ?e <date_of_birth> ?pv .  }", "answer": "1969-10-28"}, {"question": "How is Thomas Newman related to 51st Annual Grammy Awards?", "choices": ["contains administrative territorial entity", "award received", "director", "official religion", "collection", "successful candidate", "coextensive with", "practiced by", "place of birth", "chairperson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Newman"]}, {"function": "Find", "dependencies": [], "inputs": ["51st Annual Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thomas Newman\" . ?e_2 <pred:name> \"51st Annual Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the official website of the land-grant university whose subreddit is iastate with 4797 subscribers?", "choices": ["http://nebulas.sfwa.org/", "http://www.inverness-scotland.com/", "http://www.johnleguizamo.com/", "http://www.mehcad-brooks.net/", "http://www.verizon.com/", "http://www.czech.cz/", "http://www.gannett.com/", "http://www.ten.com.au", "http://www.berlinale.de/", "https://www.iastate.edu"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "iastate"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "4797", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["land-grant university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"iastate\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"4797\"^^xsd:double . ?e <official_website> ?pv .  }", "answer": "https://www.iastate.edu"}, {"question": "What is the connection between John Carpenter (the one that has the occupation of composer) to film producer", "choices": ["studied by", "connects with", "based on", "subject has role", "time period", "organizer", "applies to jurisdiction", "convicted of", "participant of", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["composer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Carpenter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Carpenter\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"composer\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the Twitter username of an association football club whose official website, in English language, is http://www.hibernianfc.co.uk ?", "choices": ["vvAGOVV", "DCComics", "HappyElishas", "octaviaspencer", "gitrdonelarry", "HibsOfficial", "RobertDowneyJr", "juliettebinoche", "TheBonnieRaitt", "MaheshNBhatt"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.hibernianfc.co.uk"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.hibernianfc.co.uk\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <Twitter_username> ?pv .  }", "answer": "HibsOfficial"}, {"question": "What is the name of the person with a twitter username of rosie?", "choices": ["William Henry Harrison", "Richard Gere", "Steve McQueen", "Rosie O'Donnell", "Tim Carvell", "Max Fleischer", "Ryan Adams", "Sylvester Stallone", "Martin Heidegger", "Richard Taylor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "rosie"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"rosie\" .  }", "answer": "Rosie O'Donnell"}, {"question": "Does Newcastle or Brescia have less elevation (above sea level)?", "choices": ["Kingston", "Santo Domingo", "Dundee", "Cork", "Chihuahua", "Brescia", "Kilkenny", "Bergen", "Newcastle", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newcastle"]}, {"function": "Find", "dependencies": [], "inputs": ["Brescia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Newcastle\" .  } UNION { ?e <pred:name> \"Brescia\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Newcastle"}, {"question": "What is the Twitter username of the university that is the parent organization of Birkbeck, University of London?", "choices": ["UW", "fcbaku", "fedefutbolcrc", "UoLondon", "united", "missuniverse", "cecewinans", "HasbroNews", "nickelodeon", "HatchingChange"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Birkbeck, University of London"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <parent_organization> ?e . ?e_1 <pred:name> \"Birkbeck, University of London\" .  ?e <Twitter_username> ?pv .  }", "answer": "UoLondon"}, {"question": "Tell me the Christianity that is Frank Lloyd Wright's religion and that is Sylvia Plath's religion.", "choices": ["Baptists", "Unitarianism", "Presbyterianism", "Evangelical Christianity", "Seventh-day Adventist Church", "congregational church", "United Church of Christ", "Russian Orthodox Church", "Pentecostalism", "Lutheranism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Lloyd Wright"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Christianity"]}, {"function": "Find", "dependencies": [], "inputs": ["Sylvia Plath"]}, {"function": "Relate", "dependencies": [3], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Christianity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Christianity\" . ?e_1 <religion> ?e . ?e_1 <pred:name> \"Frank Lloyd Wright\" .  ?e_2 <religion> ?e . ?e_2 <pred:name> \"Sylvia Plath\" .  }", "answer": "Unitarianism"}, {"question": "What is the connection between Worcester (the one that is the origin of the name Worcester City F.C.) to Worcester (the one whose inception time is 1673)?", "choices": ["airline alliance", "main food source", "diplomatic relation", "airline hub", "penalty", "studied by", "game mode", "interested in", "twinned administrative body", "noble title"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Worcester City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Worcester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Worcester"]}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1673", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Worcester\" . ?e_3 <named_after> ?e_1 . ?e_3 <pred:name> \"Worcester City F.C.\" . ?e_2 <pred:name> \"Worcester\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1673 . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Tell me the one with the biggest area within the mountain range that has an area not equalling 62000 square kilometre", "choices": ["Blue Ridge Mountains", "Pyrenees", "Cascade Range", "Himalayas", "Alps", "Adirondack Mountains", "Appalachian Mountains", "Pennine Alps", "Sierra Nevada", "Alan Bennett"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "62000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"62000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Himalayas"}, {"question": "Was FC Augsburg established after 1876?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Augsburg"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1876", ">"]}], "sparql": "ASK { ?e <pred:name> \"FC Augsburg\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1876 ) .  }", "answer": "yes"}, {"question": "What is the release region of the visual artwork whose title is Lara Croft: Tomb Raider and release date is 2001-06-28?", "choices": ["Indonesia", "Hong Kong", "Westwood", "North America", "Switzerland", "Chicago", "British Hong Kong", "Norway", "Davao City", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Lara Croft: Tomb Raider"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2001-06-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Lara Croft: Tomb Raider\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2001-06-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who was nominated for an Academy Award for Best Supporting Actress for The Philadelphia Story?", "choices": ["Babaloo Mandel", "Doris Day", "Paul Greengrass", "Mickey S. Michaels", "Crispin Struthers", "Robert E. Thompson", "Ken Adam", "Ruth Hussey", "Edward Saxon", "Suzanne M. Benson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Philadelphia Story"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Philadelphia Story\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Ruth Hussey"}, {"question": "Which language is associated with https://www.andover.edu/, the official website of the secondary school whose PermID is 4297999336?", "choices": ["Croatian", "Tamil", "Eastern Armenian", "Atikamekw", "Punjabi", "Put\u00e8r", "English", "Catalan", "Cornish", "Wolof"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4297999336"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.andover.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"4297999336\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.andover.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Was the doubles record of the person that lives in the Bahamas, where the nominal GDP is 670900000 United States dollars, 755-440?", "choices": ["132 minute", "172 minute", "134 minute", "111 minute", "183 minute", "131 minute", "170 minute", "20 minute", "139.0 minute", "15 hour"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "95782"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2007-03-08", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"95782\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv . ?qpv <pred:date> \"2007-03-08\"^^xsd:date . ?e <duration> ?pv .  }", "answer": "134 minute"}, {"question": "Was horse racing-themed Kentucky published later than 1923 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["horse racing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kentucky"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1923", ">"]}], "sparql": "ASK { ?e <pred:name> \"Kentucky\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"horse racing\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1923 ) .  }", "answer": "yes"}, {"question": "about the visual art work with the giphy username thehungergames, and having the publication date of 2012-04-20, where did it get published", "choices": ["Spain", "Jordan", "Ukraine", "R\u00e4ttvik", "Lithuania", "Charlotte Motor Speedway", "Slovenia", "Chicago", "Montreal World Film Festival", "Central Park"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "thehungergames"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2012-04-20", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"thehungergames\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2012-04-20\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Spain"}, {"question": "What number of not-for-profit private institutions of education were attended by Adrien Brody or are Seventh-day Adventist observers?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seventh-day Adventist Church"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private not-for-profit educational institution"]}, {"function": "Find", "dependencies": [], "inputs": ["Adrien Brody"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private not-for-profit educational institution"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private not-for-profit educational institution\" .  { ?e <religion> ?e_1 . ?e_1 <pred:name> \"Seventh-day Adventist Church\" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Adrien Brody\" .  } }", "answer": "1"}, {"question": "Does Putnam County that shares border with Alachua County or Polk County that contains Lakeland have less area?", "choices": ["Broward County", "Orange County", "Putnam County", "Monroe County", "Collier County", "Citrus County", "Polk County", "Hillsborough County", "Alachua County", "Marion County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alachua County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Putnam County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lakeland"]}, {"function": "Relate", "dependencies": [4], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Polk County"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Putnam County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Alachua County\" .   } UNION { ?e <pred:name> \"Polk County\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> \"Lakeland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Putnam County"}, {"question": "What is the connection between Venice (the one that is the twinned administrative body of Suzhou) to Kingdom of Italy (the one whose native label is Regno d'Italia)?", "choices": ["spouse", "discoverer or inventor", "doctoral student", "position played on team / speciality", "subsidiary", "edition or translation of", "member of", "country", "manufacturer", "published in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suzhou"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Venice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Italy"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["native label", "Regno d'Italia"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Venice\" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> \"Suzhou\" . ?e_2 <pred:name> \"Kingdom of Italy\" . ?e_2 <native_label> ?pv . ?pv <pred:value> \"Regno d'Italia\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How is Ulysses' Gaze related to Russia?", "choices": ["diaspora", "exported to", "copyright representative", "operating area", "highest judicial authority", "educated at", "drug used for treatment", "practiced by", "film release region", "capital"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ulysses' Gaze"]}, {"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ulysses' Gaze\" . ?e_2 <pred:name> \"Russia\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What is the belief device this is the religion of the human whose Twitter username is brucelee", "choices": ["Catholicism", "Shinto", "Lutheranism", "Judaism", "Presbyterianism", "Scientology", "Taoism", "Greek Orthodox Church", "Baptists", "Hinduism"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "brucelee"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["belief system"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e_1 <religion> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"brucelee\" .   }", "answer": "Taoism"}, {"question": "Which person, with a birthplace in the Houston that occupies 1724.544507 square kilometers, is designated by ISNI number 0000 0001 0653 9048?", "choices": ["William Henry Harrison", "Patrick Swayze", "Shelley Duvall", "Max Fleischer", "Richard Gere", "Chandra Wilson", "Lyle Lovett", "Howard Hughes", "Sylvester Stallone", "Thomas Schlamme"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Houston"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1724.544507 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISNI", "0000 0001 0653 9048"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Houston\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"1724.544507\"^^xsd:double .  ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0653 9048\" .  }", "answer": "Thomas Schlamme"}, {"question": "Is Andrzej Wajda's date of death after 1994?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andrzej Wajda"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1994", ">"]}], "sparql": "ASK { ?e <pred:name> \"Andrzej Wajda\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1994 ) .  }", "answer": "yes"}, {"question": "Which movie is longer, Casino Royale (the one that has Peter Lorre as a cast member) or The Tree of Life?", "choices": ["Casino Royale", "The Tree of Life", "Training Day", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "Talk to Her", "The Towering Inferno", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Lorre"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Casino Royale"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Tree of Life"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Casino Royale\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Peter Lorre\" .   } UNION { ?e <pred:name> \"The Tree of Life\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Tree of Life"}, {"question": "When did Jim Jarmusch receive the Palme d'Or?", "choices": ["1944-12-01", "2008-09-01", "2013-10-17", "1993", "2009-01-25", "1886", "1808", "1828", "1949-05-23", "1737-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Jarmusch"]}, {"function": "Find", "dependencies": [], "inputs": ["Palme d'Or"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jim Jarmusch\" . ?e_2 <pred:name> \"Palme d'Or\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1993"}, {"question": "When was salsa created?", "choices": ["1950-01-26", "1742", "1868-04-15", "1596", "1946-06-02", "1975-07-05", "1790-08-04", "1960-01-01", "1991-08-24", "1926-07-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["salsa"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"salsa\" . ?e <inception> ?pv .  }", "answer": "1960-01-01"}, {"question": "ow many counties of Florida have Kansas City (the birthplace of Edie McClurg) as the capital or match the population of 2,6 billion people ?", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edie McClurg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Kansas City"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Florida"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "2600000000", "!="]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Florida"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Kansas City\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Edie McClurg\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2600000000\"^^xsd:double ) .  } }", "answer": "19"}, {"question": "What is the IPv6 routing prefix of University of Bologna?", "choices": ["2001:630:2c3::/48", "2a03:b600:651::/107", "2003:40:1b::/48", "2001:760:2e00::/48", "2001:630:22::/48", "2a03:b600:655::/107", "2001:7c0:100::/48", "2001:610:4a0::/47", "2001:668:1f:4a::/64", "2a00:f480:e::/48"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Bologna"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IPv6 routing prefix"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"University of Bologna\" . ?e <IPv6_routing_prefix> ?pv .  }", "answer": "2001:760:2e00::/48"}, {"question": "Scarborough, occupying 187.7 square kilometers, has been in Toronto since which date?", "choices": ["2006-04-10", "1994-05-10", "1993-03-11", "1998-12-01", "1992-03-31", "1998", "1982-01-01", "1963-12-13", "1148", "2007-04-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scarborough"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "187.7 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Scarborough\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"187.7\"^^xsd:double . ?e_2 <pred:name> \"Toronto\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1998"}, {"question": "What person has the Instagram username asiaargento?", "choices": ["Richard Gere", "Max Fleischer", "Asia Argento", "Orson Scott Card", "Stuart Duncan", "Neve Campbell", "William Henry Harrison", "Lupe Fiasco", "Nelly Furtado", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "asiaargento"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"asiaargento\" .  }", "answer": "Asia Argento"}, {"question": "What person is an employee of the University of Notre Dame and the University at Buffalo.", "choices": ["Richard Gere", "Sylvester Stallone", "Charles Mingus Jr.", "Max Fleischer", "John Logan", "J. M. Coetzee", "Samuel R. Delany", "Anthony Burgess", "William Henry Harrison", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Notre Dame"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["University at Buffalo"]}, {"function": "Relate", "dependencies": [3], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <employer> ?e_1 . ?e_1 <pred:name> \"University of Notre Dame\" .  ?e <employer> ?e_2 . ?e_2 <pred:name> \"University at Buffalo\" .  }", "answer": "John Logan"}, {"question": "When was For Up distributed by NBC published?", "choices": ["2011-03-03", "2008-10-22", "1946-12-20", "1992-11-25", "2009-01-15", "2005-09-29", "2001-01-01", "2001-01-11", "1996-02-29", "2007-12-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Up"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Up\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"NBC\" .  ?e <publication_date> ?pv .  }", "answer": "2001-01-01"}, {"question": "Saginaw is located in how many Michigan counties?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saginaw"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Saginaw\" .   }", "answer": "1"}, {"question": "What is the end time for Robert Taylor (the one that works as computer science) as an employee of National Aeronautics and Space Administration?", "choices": ["1707", "1827-03-04", "2011-09-23", "2002-02-24", "1861", "1965", "1798-01-01", "1814-05-25", "2016-01-12", "1977-01-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["computer science"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Taylor"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Aeronautics and Space Administration"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["employer", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Taylor\" . ?e_1 <field_of_work> ?e_3 . ?e_3 <pred:name> \"computer science\" . ?e_2 <pred:name> \"National Aeronautics and Space Administration\" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1965"}, {"question": "Which is shorter, Cirque du Freak: The Vampire's Assistant or Patch Adams originally in English?", "choices": ["The Hunchback of Notre Dame", "Training Day", "Patch Adams", "Cirque du Freak: The Vampire's Assistant", "The Fifth Element", "Pleasantville", "A Prairie Home Companion", "Talk to Her", "Rebecca", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cirque du Freak: The Vampire's Assistant"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Patch Adams"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cirque du Freak: The Vampire's Assistant\" .  } UNION { ?e <pred:name> \"Patch Adams\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cirque du Freak: The Vampire's Assistant"}, {"question": "How is Batman whose birth name is Thomas Wayne related to DC Universe?", "choices": ["enclave within", "professional or sports partner", "contains settlement", "from fictional universe", "has part", "newspaper format", "distributor", "fabrication method", "field of work", "officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Batman"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Thomas Wayne"]}, {"function": "Find", "dependencies": [], "inputs": ["DC Universe"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Batman\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Thomas Wayne\" . ?e_2 <pred:name> \"DC Universe\" . ?e_1 ?p ?e_2 .  }", "answer": "from fictional universe"}, {"question": "What is the location of German diplomatic mission related to their diplomatic relation with Niger?", "choices": ["Australian Honorary Consulate, Bosnia and Herzegovina", "Embassy of France, Bandar Seri Begawan", "Embassy of Germany, Bras\u00edlia", "Embassy of France, London", "Embassy of Germany, Damascus", "Embassy of Germany, Niamey", "Embassy of Saudi Arabia, Addis Ababa", "Embassy of Brazil, Jakarta", "Embassy of Argentina, Washington, D.C.", "Embassy of Ukraine, Tbilisi"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Niger"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "diplomatic mission sent"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Germany\" . ?e_2 <pred:name> \"Niger\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <diplomatic_mission_sent> ?qpv .  }", "answer": "Embassy of Germany, Niamey"}, {"question": "What is the ISNI of the person who died on 1980-09-15?", "choices": ["0000 0001 2126 1603", "0000 0001 1579 0197", "0000 0001 1576 591X", "0000 0001 0245 1364", "0000 0001 2126 1662", "0000 0004 0635 9049", "0000 0003 8269 6461", "0000 0001 1475 2623", "0000 0001 2131 2917", "0000 0000 8121 0456"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1980-09-15", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1980-09-15\"^^xsd:date . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2126 1603"}, {"question": "Which is shortest of the news that contains Stephen Colbert (the one that presents in work The Daily Show)?", "choices": ["Good Morning America", "Today", "manufacturing", "Android", "Western Desert Campaign", "The Daily Show", "Orange", "The Colbert Report", "Second Intifada", "Napoleonic Wars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Daily Show"]}, {"function": "Relate", "dependencies": [0], "inputs": ["present in work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Colbert"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["present in work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["news"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> \"Stephen Colbert\" . ?e_1 <present_in_work> ?e_2 . ?e_2 <pred:name> \"The Daily Show\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Daily Show"}, {"question": "How is Robert Smith (the one that died in Alton) related to United States of America ?", "choices": ["continent", "country of citizenship", "different from", "nutrient", "mountain range", "musical conductor", "professional or sports partner", "indigenous to", "manner of death", "has contributing factor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Smith\" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> \"Alton\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "For which work was  Ryan O'Neal nominated for the Academy Award for Best Actor?", "choices": ["Freak", "The Big House", "Untamed Heart", "Broken Lance", "Love Story", "The Iron Lady", "Kramer vs. Kramer", "Thelma & Louise", "The Country Girl", "Poetic Justice"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan O'Neal"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ryan O'Neal\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Love Story"}, {"question": "Does Seattle or Newburgh have more people?", "choices": ["Newburgh", "Greenville", "Waukegan", "Boulder", "New Haven", "Franklin", "Compton", "Seattle", "Columbus", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seattle"]}, {"function": "Find", "dependencies": [], "inputs": ["Newburgh"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seattle\" .  } UNION { ?e <pred:name> \"Newburgh\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Seattle"}, {"question": "Which movie cost less to make, Crazy, Stupid, Love. or My Fair Lady?", "choices": ["My Fair Lady", "Rebecca", "The Fifth Element", "The Towering Inferno", "Training Day", "Crazy, Stupid, Love.", "Curse of the Golden Flower", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crazy, Stupid, Love."]}, {"function": "Find", "dependencies": [], "inputs": ["My Fair Lady"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Crazy, Stupid, Love.\" .  } UNION { ?e <pred:name> \"My Fair Lady\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "My Fair Lady"}, {"question": "What is the connection between Sherlock Holmes: A Game of Shadows to Eddie Marsan?", "choices": ["student", "illustrator", "godparent", "public holiday", "head of state", "official color", "official symbol", "diplomatic relation", "cast member", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sherlock Holmes: A Game of Shadows"]}, {"function": "Find", "dependencies": [], "inputs": ["Eddie Marsan"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sherlock Holmes: A Game of Shadows\" . ?e_2 <pred:name> \"Eddie Marsan\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which one is larger by area, Staffordshire or Cornwall?", "choices": ["Staffordshire", "Warwickshire", "Cumbria", "Cornwall", "Derbyshire", "Somerset", "Essex", "West Midlands", "Northumberland", "Norfolk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Staffordshire"]}, {"function": "Find", "dependencies": [], "inputs": ["Cornwall"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Staffordshire\" .  } UNION { ?e <pred:name> \"Cornwall\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cornwall"}, {"question": "What is Itzhak Perlman's connection to Brooklyn College?", "choices": ["exclave of", "filming location", "signatory", "hair color", "military rank", "original network", "distribution", "substitute/deputy/replacement of office/officeholder", "public holiday", "employer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Itzhak Perlman"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn College"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Itzhak Perlman\" . ?e_2 <pred:name> \"Brooklyn College\" . ?e_1 ?p ?e_2 .  }", "answer": "employer"}, {"question": "In what way are Delroy Facey and Tranmere Rovers F.C. related?", "choices": ["capital of", "doctoral student", "partially contains", "member of sports team", "family", "director/manager", "had as last meal", "production designer", "voice type", "country for sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delroy Facey"]}, {"function": "Find", "dependencies": [], "inputs": ["Tranmere Rovers F.C."]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Delroy Facey\" . ?e_2 <pred:name> \"Tranmere Rovers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "When did an unitary state, which was the release region of Kung Fu Panda (the one whose duration is 92 minute), reach its nominal GDP of 30216060233.4044 USD ?", "choices": ["2008-03-01", "1987-03-30", "2019", "1957-01-01", "2005-03-01", "1935-12-31", "1904", "2006-01-01", "2007-12-01", "2001-03-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kung Fu Panda"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "92 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["unitary state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["nominal GDP", "30216060233.4044 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> \"Kung Fu Panda\" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"92\"^^xsd:double . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"30216060233.4044\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "Is the Revised Romanization of the human that has a subscription number of 123535 under the Twitter username JUNO_Japan equal to Dae-u Chukgudan?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "JUNO_Japan"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "123535", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Revised Romanization"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Dae-u Chukgudan"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"JUNO_Japan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"123535\"^^xsd:double . ?e <Revised_Romanization> ?pv . ?pv <pred:value> \"Dae-u Chukgudan\" .  }", "answer": "no"}, {"question": "What is the tie-in between Nicholas II of Russia and World War I?", "choices": ["tributary", "publisher", "illustrator", "industry", "candidacy in election", "conflict", "native language", "owned by", "has quality", "penalty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nicholas II of Russia"]}, {"function": "Find", "dependencies": [], "inputs": ["World War I"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nicholas II of Russia\" . ?e_2 <pred:name> \"World War I\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "When did Puerto Rico (the one whose population is 2718000) have a total fertility rate of 1.6528?", "choices": ["2014-04-10", "1576-01-01", "2009", "2005-06-19", "2015-05-06", "2002-02-13", "1995-02-20", "1946", "2017-11-24", "2017-01-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Puerto Rico"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2718000", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["total fertility rate", "1.6528", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Puerto Rico\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2718000\"^^xsd:double . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1.6528\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Who was the Academy Award Best Supporting Actor nominee from The Talented Mr. Ripley, with Philip Seymour Hoffman as a cast member?", "choices": ["Alan Heim", "Sylvia Miles", "Fred Steiner", "Marvin Westmore", "Jude Law", "Robert Morley", "Ronald L. Schwary", "Bruce Cohen", "Sean Penn", "Kurt Luedtke"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philip Seymour Hoffman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Talented Mr. Ripley"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Talented Mr. Ripley\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Philip Seymour Hoffman\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Jude Law"}, {"question": "Does the region of Italy whose native label is Campagnia, have a demonym of Engl\u00e4nderin (the involved part of this statement is feminine singular)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Campagnia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["demonym", "applies to part", "feminine singular"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Engl\u00e4nderin"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Campagnia\" . ?e <demonym> ?pv . ?pv <pred:value> \"Engl\u00e4nderin\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> \"feminine singular\" .  }", "answer": "no"}, {"question": "How many programming languages are named after Amtrak and have a media type of text/x-java-source?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["media type", "text/x-java-source"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["programming language"]}, {"function": "Find", "dependencies": [], "inputs": ["Amtrak"]}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["programming language"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"programming language\" . ?e <media_type> ?pv . ?pv <pred:value> \"text/x-java-source\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Amtrak\" .  }", "answer": "0"}, {"question": "What television series' narrative location is the United States city whose local area code is 952?", "choices": ["Breaking Bad", "American Masters", "Boardwalk Empire", "The West Wing", "The Boondocks", "Chuck", "Anger Management", "NYPD Blue", "Julia", "Hannibal"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "952"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"952\" .   }", "answer": "Hannibal"}, {"question": "Among the feature films which were not published in 1985, which has the smallest duration?", "choices": ["Secretariat", "The Parent Trap", "Splash", "The Flintstones", "Remember the Titans", "Invincible", "Enchanted", "Gulliver's Travels", "John Carter", "Pirates of the Caribbean: The Curse of the Black Pearl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1985", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1985 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gulliver's Travels"}, {"question": "English is the tongue of how many landforms?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language used", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <language_used> ?e_1 . ?e_1 <pred:name> \"English\" .   }", "answer": "2"}, {"question": "M.C. Gainey was a voice actor in which animated film?", "choices": ["The King and I", "Pocahontas", "Mobile Suit Gundam: Char's Counterattack", "The Lord of the Rings", "Tangled", "WALL\u00b7E", "Beauty and the Beast", "Astro Boy", "The Rescuers", "Aladdin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["M.C. Gainey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"M.C. Gainey\" .   }", "answer": "Tangled"}, {"question": "What is guitarist Paul Weller's CANTIC-ID?", "choices": ["a1130389x", "a1178698x", "a10938552", "a11092051", "a11769634", "a11155474", "a10449954", "a11810129", "a10449334", "a11959836"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Weller"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Paul Weller\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"guitarist\" .  ?e <CANTIC-ID> ?pv .  }", "answer": "a10938552"}, {"question": "Short track speed skating includes how many sporting activities?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["short track speed skating"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sport"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"short track speed skating\" .   }", "answer": "0"}, {"question": "As of 1893, the official name \u0414\u0435\u0440\u043f\u0442 applies to what college town?", "choices": ["Sex and the City", "Hannibal Rising", "Tartu", "Chris Brown", "Basel", "Marburg", "Sunil Shetty", "Geneva", "John Williams", "Mughal Empire"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u0414\u0435\u0440\u043f\u0442"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "1893", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["college town"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u0414\u0435\u0440\u043f\u0442\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:year> 1893 .  }", "answer": "Tartu"}, {"question": "What is the Instagram username of the higher education institution whose official website is http://www.ucalgary.ca/?", "choices": ["myucalgary", "odenseboldklub", "oscar_emboaba", "fckssamara", "arod", "kerrywashington", "thistlemascot", "ceelogreen", "udinesecalcio", "easyjet"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ucalgary.ca/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ucalgary.ca/\" . ?e <Instagram_username> ?pv .  }", "answer": "myucalgary"}, {"question": "Which movie is shorter, George Harrison: Living in the Material World or The Contender (the one that has Sam Elliott as a cast member)?", "choices": ["Pleasantville", "Training Day", "The Towering Inferno", "Talk to Her", "George Harrison: Living in the Material World", "The Contender", "Curse of the Golden Flower", "Rebecca", "The Fifth Element", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Harrison: Living in the Material World"]}, {"function": "Find", "dependencies": [], "inputs": ["Sam Elliott"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Contender"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"George Harrison: Living in the Material World\" .  } UNION { ?e <pred:name> \"The Contender\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sam Elliott\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Contender"}, {"question": "Where is the visual artwork published that has its publication date as 2007-06-12, that is followed by Transformers: Revenge of the Fallen, and that is the one whose director is Michael Bay?", "choices": ["Jordan", "Germany", "West Germany", "Egypt", "BFI London Film Festival", "Israel", "Davao City", "Quebec", "Sydney", "Kuwait"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Bay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers: Revenge of the Fallen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "2007-06-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Transformers: Revenge of the Fallen\" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> \"Michael Bay\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2007-06-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sydney"}, {"question": "What number of sovereign states have a population larger than 6400?", "choices": ["144", "145", "146", "147", "148", "149", "150", "151", "152", "153"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6400", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"6400\"^^xsd:double ) .  }", "answer": "153"}, {"question": "How many Indiana counties were established before 1823 and whose FIPS 6-4 (US counties) is 18095?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1823", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)", "18095"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Indiana"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1823 ) . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"18095\" .  }", "answer": "0"}, {"question": "Is the elevation lower in Lubbock or in Fayetteville, founded in 1762?", "choices": ["Lubbock", "Lansing", "Greenville", "New Haven", "Franklin", "Fayetteville", "Boulder", "Compton", "Oakland", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lubbock"]}, {"function": "Find", "dependencies": [], "inputs": ["Fayetteville"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1762", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lubbock\" . } UNION { ?e <pred:name> \"Fayetteville\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1762 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fayetteville"}, {"question": "Which has a shorter run time, Alexander the Great, which runs 235 minutes, or Silver Linings Playbook?", "choices": ["Alexander the Great", "The Towering Inferno", "The Fifth Element", "Silver Linings Playbook", "Curse of the Golden Flower", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "A Prairie Home Companion", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexander the Great"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "235 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Silver Linings Playbook"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alexander the Great\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"235\"^^xsd:double . } UNION { ?e <pred:name> \"Silver Linings Playbook\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Silver Linings Playbook"}, {"question": "Is the title of the television series that has Harry Andrews as a cast member Dynasty?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harry Andrews"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Dynasty"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Harry Andrews\" .  ?e <title> ?pv . ?pv <pred:value> \"Dynasty\" .  }", "answer": "yes"}, {"question": "What is the birth date of Dick Clark, who passed away due to natural causes?", "choices": ["1954-05-02", "1935-03-27", "1975-06-25", "1893-01-12", "1945-12-17", "1929-11-30", "1936-07-05", "1965-11-26", "1922-10-27", "1957-04-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dick Clark"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dick Clark\" . ?e <manner_of_death> ?e_1 . ?e_1 <pred:name> \"natural causes\" .  ?e <date_of_birth> ?pv .  }", "answer": "1929-11-30"}, {"question": "What is the official website for the person whose pseudonym is Seal?", "choices": ["http://www.sheenaeaston.com", "http://www.alfrewoodard.com/", "http://www.seal.com/", "http://www.fredericton.ca/", "http://www.porthuron.org/", "http://www.dominicchianese.net/", "http://www.paranormalactivity-movie.com/", "http://www.halloweenmovies.com", "http://www.halsmithcards.com/", "http://www.melora.com/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Seal"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> \"Seal\" . ?e <official_website> ?pv .  }", "answer": "http://www.seal.com/"}, {"question": "Which Netherlands province has the smallest population and shares a border with Utrecht (whose ISNI is 0000 0004 0508 3482)?", "choices": ["North Brabant", "Overijssel", "Zeeland", "Limburg", "Gelderland", "Groningen", "Utrecht", "Drenthe", "South Holland", "Friesland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Utrecht"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0508 3482"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["province of the Netherlands"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Utrecht\" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0508 3482\" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gelderland"}, {"question": "What number of written work were published after 1963?", "choices": ["51", "52", "53", "54", "55", "56", "57", "58", "59", "60"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1963", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1963 ) .  }", "answer": "53"}, {"question": "Is the ISNI of Imelda Staunton 0000 0001 1507 2400 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Imelda Staunton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1507 2400"]}], "sparql": "ASK { ?e <pred:name> \"Imelda Staunton\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1507 2400\" .  }", "answer": "yes"}, {"question": "When did  Tom Johnson (the one that is a member of Stockport County F.C.) become a member of Chesterfield F.C.?", "choices": ["1964", "1809-09-05", "2012-07-14", "1819-03-04", "2000-05-17", "2000-03-07", "1941-01-01", "1814", "1882", "1941-12-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stockport County F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chesterfield F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tom Johnson\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Stockport County F.C.\" . ?e_2 <pred:name> \"Chesterfield F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1941-01-01"}, {"question": "What is the connection between Superman IV: The Quest for Peace to Susannah York?", "choices": ["parent club", "basin country", "has parts of the class", "operating area", "cast member", "currency", "has quality", "partially contains", "sponsor", "participant of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman IV: The Quest for Peace"]}, {"function": "Find", "dependencies": [], "inputs": ["Susannah York"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Superman IV: The Quest for Peace\" . ?e_2 <pred:name> \"Susannah York\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who is the person that was cast in Battlestar Galactica (the one that received 61st Primetime Emmy Awards prize) (the character role of this statement is John Cavil)", "choices": ["Mary McDonnell", "Rahul Dev Burman", "David Byrne", "Callum Keith Rennie", "Max Fleischer", "Sylvester Stallone", "Dean Stockwell", "Edward James Olmos", "Lucy Lawless", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["61st Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battlestar Galactica"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["character role", "John Cavil"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Battlestar Galactica\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"61st Primetime Emmy Awards\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"John Cavil\" .  }", "answer": "Dean Stockwell"}, {"question": "How many historical counties were either not founded in 1492 or have a diplomatic relation with Yugoslavia?", "choices": ["19", "20", "21", "22", "23", "24", "25", "26", "27", "28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1492", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Find", "dependencies": [], "inputs": ["Yugoslavia"]}, {"function": "Relate", "dependencies": [3], "inputs": ["diplomatic relation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["historical country"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historical country\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1492 ) .  } UNION { ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> \"Yugoslavia\" .  } }", "answer": "27"}, {"question": "What is the release region for the animated feature film whose official website is http://movies.disney.com/chicken-little and release date is 2005-11-04?", "choices": ["Slovakia", "People's Republic of China", "Seattle International Film Festival", "Park City", "Brazil", "United States of America", "Vietnam", "Hollywood Bowl", "Japan", "New Zealand"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://movies.disney.com/chicken-little"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2005-11-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://movies.disney.com/chicken-little\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-11-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "Of which class is the Twitter username perlmutations a special example for the person whose ISNI is 0000 0001 2129 5213?", "choices": ["dynastic union", "Committee on Government Operations", "official minority languages of Sweden", "Republic of Quito", "sovereign state", "Gran Colombia", "emoji flag sequence", "verified account", "Composite monarchy", "fixed exchange rate"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2129 5213"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "perlmutations", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2129 5213\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"perlmutations\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "verified account"}, {"question": "Was Jay Kogen born before 1977?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jay Kogen"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1977", "<"]}], "sparql": "ASK { ?e <pred:name> \"Jay Kogen\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1977 ) .  }", "answer": "yes"}, {"question": "Is Slaughterhouse-Five the title of the Slaughterhouse-Five designed by Henry Bumstead ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henry Bumstead"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Slaughterhouse-Five"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Slaughterhouse-Five"]}], "sparql": "ASK { ?e <pred:name> \"Slaughterhouse-Five\" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> \"Henry Bumstead\" .  ?e <title> ?pv . ?pv <pred:value> \"Slaughterhouse-Five\" .  }", "answer": "yes"}, {"question": "Does the state of India, whose FIPS 10-4 (countries and regions) is IN23, have an ISO 3166-2 code equal to GB-LEC?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "IN23"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["GB-LEC"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"IN23\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"GB-LEC\" .  }", "answer": "no"}, {"question": "Which movie is titled Apache?", "choices": ["The Last Song", "Pleasantville", "Brothers", "Beloved", "Intolerable Cruelty", "Talk to Her", "Austin Powers: The Spy Who Shagged Me", "A Prairie Home Companion", "Apache", "Metropolis"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Apache"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Apache\" .  }", "answer": "Apache"}, {"question": "Is http://www.derrystrabane.com/ the official website of the Tuvalu national football team?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuvalu national football team"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.derrystrabane.com/"]}], "sparql": "ASK { ?e <pred:name> \"Tuvalu national football team\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.derrystrabane.com/\" .  }", "answer": "no"}, {"question": "Mark Salling's SAG Award for Outstanding Performance by an Ensemble in a Comedy Series was for which work?", "choices": ["Nevery\u00f3na", "Rabbit Hole", "I Will Always Love You", "Look for the Silver Lining", "Glee", "Guys and Dolls", "Firework", "Normal", "The Dick Van Dyke Show", "Jerry Maguire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Salling"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mark Salling\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Glee"}, {"question": "When did a person, ISNI 0000 0001 0880 1775, began the career?", "choices": ["1907", "1989", "1893", "2004", "1965", "1954", "1886", "1981", "1916", "1949"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0880 1775"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0880 1775\" . ?e <work_period_(start)> ?pv .  }", "answer": "1981"}, {"question": "Is fcrv206z18s5pwb the Libris-URI of William Joyce who received a 84th Academy Award?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["84th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["William Joyce"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["fcrv206z18s5pwb"]}], "sparql": "ASK { ?e <pred:name> \"William Joyce\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"84th Academy Awards\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"fcrv206z18s5pwb\" .  }", "answer": "no"}, {"question": "What is Jackson Browne's ISNI?", "choices": ["0000 0001 2181 9515", "0000 0001 2130 3885", "0000 0003 6111 0767", "0000 0000 7827 2285", "0000 0000 7826 6440", "0000 0001 1060 4770", "0000 0001 1591 6407", "0000 0003 6858 8165", "0000 0000 7971 2537", "0000 0004 1936 8788"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackson Browne"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jackson Browne\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 7827 2285"}, {"question": "When did the Oregon county with ISNI 0000 0004 0436 0070 have a population of 66016?", "choices": ["2016-10-23", "2014-03-02", "2011-07-01", "1997-01-01", "1817-01-01", "2008-03-01", "2015-01-01", "2013-09-12", "1781-01-01", "1982-04-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0436 0070"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "66016", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0436 0070\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"66016\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Who is heavier: James Brown, at 78 inches tall, or John Hughes, at 200 lbs?", "choices": ["William Henry Harrison", "Simon Cowell", "Richard Gere", "James E. Reilly", "John Hughes", "James Brown", "Paul Simon", "Max Fleischer", "Sylvester Stallone", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "78 inch", "="]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["mass", "200 pound", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James Brown\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"inch\" . ?pv_1 <pred:value> \"78\"^^xsd:double . } UNION { ?e <pred:name> \"John Hughes\" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> \"pound\" . ?pv_2 <pred:value> \"200\"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "James Brown"}, {"question": "What is the date of birth of Lester Holt?", "choices": ["1942-11-20", "1959-08-22", "1898-04-09", "1930-10-31", "1965-01-05", "1989-10-20", "1962-07-17", "1960-05-21", "1707-04-15", "1959-03-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lester Holt"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lester Holt\" . ?e <date_of_birth> ?pv .  }", "answer": "1959-03-08"}, {"question": "Is Dazed and Confused or Red Road longer?", "choices": ["Talk to Her", "A Prairie Home Companion", "Pleasantville", "The Towering Inferno", "The Hunchback of Notre Dame", "Dazed and Confused", "The Fifth Element", "Red Road", "Training Day", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dazed and Confused"]}, {"function": "Find", "dependencies": [], "inputs": ["Red Road"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dazed and Confused\" .  } UNION { ?e <pred:name> \"Red Road\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Red Road"}, {"question": "When did the person who was born on 1956-12-29 die?", "choices": ["1983-07-22", "1974-04-19", "2015-11-22", "2006-12-25", "1971-04-06", "1965-11-28", "1972-12-26", "1982-12-23", "2014-03-25", "1946-01-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1956-12-29", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1956-12-29\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "2014-03-25"}, {"question": "What is the connection between Liberal Party of the Philippines to Philippines?", "choices": ["platform", "archives at", "occupation", "practiced by", "production designer", "narrative location", "depicted by", "product or material produced", "place served by transport hub", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liberal Party of the Philippines"]}, {"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Liberal Party of the Philippines\" . ?e_2 <pred:name> \"Philippines\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Dance-punk was an influence on how many forms of heavy metal?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dance-punk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["heavy metal"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"heavy metal\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"dance-punk\" .   }", "answer": "0"}, {"question": "Does ISNI 0000 0000 7841 7210 correspond to the Filmfare Best Director winner for their work on Sangam ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Filmfare Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Sangam"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0000 7841 7210"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Filmfare Award for Best Director\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Sangam\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7841 7210\" .  }", "answer": "yes"}, {"question": "What is the Italy region whose FIPS 10-4 (countries and regions) is IT13 and whose demonym is pugliese?", "choices": ["Lombardy", "Piedmont", "Sicily", "Lazio", "Basilicata", "Apulia", "Abruzzo", "Veneto", "Tuscany", "Sardinia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "IT13"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["demonym", "pugliese"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["region of Italy"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"IT13\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"pugliese\" .  }", "answer": "Apulia"}, {"question": "How many airlines sponsor the Chicago Bulls?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chicago Bulls"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sponsor", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["airline"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"airline\" . ?e_1 <sponsor> ?e . ?e_1 <pred:name> \"Chicago Bulls\" .   }", "answer": "1"}, {"question": "What is the number of facilities that has less than 7400000 visitors each year or that sits in or adjacent to the Ohio River?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["visitors per year", "7400000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["facility"]}, {"function": "Find", "dependencies": [], "inputs": ["Ohio River"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["facility"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"facility\" .  { ?e <visitors_per_year> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"7400000\"^^xsd:double ) .  } UNION { ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Ohio River\" .  } }", "answer": "7"}, {"question": "From the Earth to the Moon is which episode number in the series Voyages Extraordinaires?", "choices": ["21", "24", "2", "171", "14", "3", "5", "7", "1", "4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Voyages Extraordinaires"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["From the Earth to the Moon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Voyages Extraordinaires"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["part of the series", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"From the Earth to the Moon\" . ?e_1 <part_of_the_series> ?e_3 . ?e_3 <pred:name> \"Voyages Extraordinaires\" . ?e_2 <pred:name> \"Voyages Extraordinaires\" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "4"}, {"question": "tell me the publication date for the film entitled Valencia", "choices": ["2008-04-04", "1958-03-07", "1990-09-20", "1998-11-24", "1989-06-09", "1987-08-13", "1926-01-01", "1964-12-23", "1995-05-24", "2014-03-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Valencia"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Valencia\" . ?e <publication_date> ?pv .  }", "answer": "1926-01-01"}, {"question": "Did the creator of the English-language 21 Jump Street die more recently than the year 2000 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["21 Jump Street"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["2000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"21 Jump Street\" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> \"English\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2000 ) .  }", "answer": "yes"}, {"question": "For Fremont, what is the time point for its population of 214089?", "choices": ["1501", "2012-12-29", "2015-05-06", "2010", "1822-12-01", "1929", "1995-11-21", "1995-03-27", "1999-08-18", "1967-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fremont"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "214089", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Fremont\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"214089\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "When was the career of someone with the website www.marksallingmusic.com launched?", "choices": ["1761", "1942", "1990", "1930", "2001", "1996", "1954", "1975", "2000", "1968"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.marksallingmusic.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.marksallingmusic.com\" . ?e <work_period_(start)> ?pv .  }", "answer": "1996"}, {"question": "Who weighs more, Carmen Electra or Allen Iverson?", "choices": ["Rahul Dev Burman", "Carmen Electra", "Paul Simon", "Simon Cowell", "Sylvester Stallone", "Richard Gere", "William Henry Harrison", "Allen Iverson", "James E. Reilly", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carmen Electra"]}, {"function": "Find", "dependencies": [], "inputs": ["Allen Iverson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Carmen Electra\" .  } UNION { ?e <pred:name> \"Allen Iverson\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allen Iverson"}, {"question": "What is the number of television channels whose beginning date is before 1997 or official website is http://www.mtv.com/mtv2?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1997", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television channel"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.mtv.com/mtv2"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television channel"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television channel\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1997 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.mtv.com/mtv2\" .  } }", "answer": "6"}, {"question": "Of movies titled Braveheart, which is longest in run-time?", "choices": ["The Towering Inferno", "Rebecca", "Training Day", "Braveheart", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Talk to Her", "Braveheart"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Braveheart"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Braveheart\" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Braveheart"}, {"question": "Tell me the metropolitan area that has San Francisco (the one that has an elevation (over sea level) of 52 foot) in it.", "choices": ["Chicago metropolitan area", "Portland metropolitan area", "Washington metropolitan area", "San Francisco Bay Area", "Greater St. Louis", "Seattle metropolitan area", "Greater Los Angeles Area", "New York metropolitan area", "Greater Houston", "New Orleans metropolitan area"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Francisco"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "52 foot", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["metropolitan area"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"San Francisco\" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"foot\" . ?pv <pred:value> \"52\"^^xsd:double .   }", "answer": "San Francisco Bay Area"}, {"question": "Which has less area, Colorado Springs or Riverside?", "choices": ["Colorado Springs", "Compton", "Greenville", "Columbus", "Franklin", "Lansing", "New Haven", "Oakland", "Boulder", "Riverside"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colorado Springs"]}, {"function": "Find", "dependencies": [], "inputs": ["Riverside"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Colorado Springs\" .  } UNION { ?e <pred:name> \"Riverside\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Riverside"}, {"question": "What is the link between Freddie Francis and World War II?", "choices": ["field of work", "patron saint", "source of income", "dissertation submitted to", "field of this occupation", "from fictional universe", "conflict", "contains administrative territorial entity", "noble title", "composer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Freddie Francis"]}, {"function": "Find", "dependencies": [], "inputs": ["World War II"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Freddie Francis\" . ?e_2 <pred:name> \"World War II\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "Was the person whose name in native language is John Wells born after 1913?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "John Wells"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1913", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"John Wells\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1913 ) .  }", "answer": "yes"}, {"question": "When did Nagoya Grampus first go by the official name \u041d\u0430\u0433\u043e\u044f \u0413\u0440\u0430\u043c\u043f\u0443\u0441?", "choices": ["2001-04-03", "1966-09-12", "1978-10-10", "2008", "2009-09-22", "2007-02-10", "1801-01-01", "1962-09-18", "1970-07-01", "1969-05-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nagoya Grampus"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official name", "\u041d\u0430\u0433\u043e\u044f \u0413\u0440\u0430\u043c\u043f\u0443\u0441", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Nagoya Grampus\" . ?e <official_name> ?pv . ?pv <pred:value> \"\u041d\u0430\u0433\u043e\u044f \u0413\u0440\u0430\u043c\u043f\u0443\u0441\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2008"}, {"question": "What is the relation between Shattered Glass and Peter Sarsgaard?", "choices": ["conflict", "given name", "sexual orientation", "field of this occupation", "signatory", "contains settlement", "foundational text", "maintained by", "cast member", "nutrient"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shattered Glass"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Sarsgaard"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shattered Glass\" . ?e_2 <pred:name> \"Peter Sarsgaard\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the ordinal number of a calendar month whose name, if genitive case is applied, is maja?", "choices": ["15", "11", "90", "5", "7", "3", "20", "70", "32", "95"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name", "maja"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["criterion used", "genitive case"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["calendar month"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["series ordinal"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <name> ?pv_1 . ?pv_1 <pred:value> \"maja\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv_1 ] <criterion_used> ?qpv . ?qpv <pred:value> \"genitive case\" . ?e <series_ordinal> ?pv .  }", "answer": "5"}, {"question": "Is Gigi the title of WALL\u00b7E?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WALL\u00b7E"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Gigi"]}], "sparql": "ASK { ?e <pred:name> \"WALL\u00b7E\" . ?e <title> ?pv . ?pv <pred:value> \"Gigi\" .  }", "answer": "no"}, {"question": "Was the disco album published earlier than 2011?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["disco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2011", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"disco\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  }", "answer": "yes"}, {"question": "Is Another Year the title of a visual artwork, whose narrative location is Palm Springs (the one whose population is 44552) ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Palm Springs"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "44552", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Another Year"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Palm Springs\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"44552\"^^xsd:double . ?e <title> ?pv . ?pv <pred:value> \"Another Year\" .  }", "answer": "no"}, {"question": "What disease is James Coburn's medical condition?", "choices": ["systemic lupus erythematosus", "malaria", "skin cancer", "rheumatoid arthritis", "influenza", "pneumonia", "attention deficit hyperactivity disorder", "prostate cancer", "gastroesophageal reflux disease", "epilepsy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Coburn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["medical condition", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <medical_condition> ?e . ?e_1 <pred:name> \"James Coburn\" .   }", "answer": "rheumatoid arthritis"}, {"question": "Does General Electric or Verizon have the greater market capitalization?", "choices": ["Vodafone", "Verizon", "General Electric", "Pfizer", "KLM", "Sega", "Silver Pictures", "Adobe Inc.", "Entertainment One", "Skidmore Owings Merrill"], "program": [{"function": "Find", "dependencies": [], "inputs": ["General Electric"]}, {"function": "Find", "dependencies": [], "inputs": ["Verizon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["market capitalization", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"General Electric\" .  } UNION { ?e <pred:name> \"Verizon\" .  } ?e <market_capitalization> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "General Electric"}, {"question": "What language is associated with this creative work at http://www.plymouth-ma.gov/, the official website for United States town with postal code 02362?", "choices": ["Slavic languages", "Hungarian", "Standard Chinese", "Yaqui", "Breton", "Traditional Chinese", "Albanian", "O'odham", "Nynorsk", "English"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "02362"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.plymouth-ma.gov/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"02362\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.plymouth-ma.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the relationship between experimental music to Plastic Ono Band?", "choices": ["Wikidata property", "lifestyle", "sponsor", "religion", "opposite of", "famous people", "original language of film or TV show", "languages spoken, written or signed", "performer", "destination point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["experimental music"]}, {"function": "Find", "dependencies": [], "inputs": ["Plastic Ono Band"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"experimental music\" . ?e_2 <pred:name> \"Plastic Ono Band\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Where was a movie, that was later followed by Letters from Iwo Jima, published on 18th Jan 2007 ?", "choices": ["Germany", "Park City", "North America", "India", "Thailand", "R\u00e4ttvik", "Turkey", "South Korea", "Mexico", "United Arab Emirates"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Letters from Iwo Jima"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-01-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Letters from Iwo Jima\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2007-01-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the number of states Germany whose population is equal to 700000000 or that is a common property of death ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "700000000", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["death"]}, {"function": "Relate", "dependencies": [3], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of Germany"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"700000000\"^^xsd:double .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"death\" .  } }", "answer": "1"}, {"question": "Is 01073 the FIPS 6-4 (US counties) for Jefferson County whose population is 658327?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "658327", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["01073"]}], "sparql": "ASK { ?e <pred:name> \"Jefferson County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"658327\"^^xsd:double . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"01073\" .  }", "answer": "yes"}, {"question": "Is Hampshire College's ISNI 0000 0001 0863 4436 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hampshire College"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 0863 4436"]}], "sparql": "ASK { ?e <pred:name> \"Hampshire College\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0863 4436\" .  }", "answer": "no"}, {"question": "Who color has the sRGB color hex triplet 00FF00 and the short name is of G (whose regular expression format is G[^r])?", "choices": ["burgundy", "gray", "gold", "black-and-white", "black", "white", "bay", "brown", "garnet", "green"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["sRGB color hex triplet", "00FF00"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["color"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["short name", "G"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["format as a regular expression", "G[^r]"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["color"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"color\" . ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> \"00FF00\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"G\" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv_1 ] <format_as_a_regular_expression> ?qpv . ?qpv <pred:value> \"G[^r]\" .  }", "answer": "green"}, {"question": "How many musical compositions have lyrics that were written by John Lennon?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Lennon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lyrics by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical composition"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical composition\" . ?e <lyrics_by> ?e_1 . ?e_1 <pred:name> \"John Lennon\" .   }", "answer": "2"}, {"question": "S. Epatha Merkerson was up for a Tony Award for Best Featured Actress in which nominated Play?", "choices": ["Benin\u2013Niger border", "44th Tony Awards", "Australia\u2013Uruguay relations", "Germany\u2013Lithuania relations", "Bangladesh\u2013Cyprus relations", "25th Tony Awards", "Oman\u2013Russia relations", "East Frisia", "Maryland\u2013Virginia border", "Indonesia\u2013South Korea relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S. Epatha Merkerson"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actress in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"S. Epatha Merkerson\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actress in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "44th Tony Awards"}, {"question": "How many comedies do not have an end time in 1968 or were nominated for a Primetime Emmy Award for Outstanding Comedy Series?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1968", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Comedy Series"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["comedy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1968 ) .  } UNION { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Comedy Series\" .  } }", "answer": "2"}, {"question": "The person who goes by the pseudonym Dan Roebuck is in the cast of which TV movie?", "choices": ["Into the Storm", "Final Destination", "Shadowlands", "Samson and Delilah", "Halloween", "We Were Soldiers", "A Christmas Carol", "The Late Shift", "Roman Holiday", "Cinderella"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Dan Roebuck"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> \"Dan Roebuck\" .   }", "answer": "The Late Shift"}, {"question": "Which has more seasons, Lost in Space directed by Irwin Allen or The Office starring Leslie David Baker?", "choices": ["Saturday Night's Main Event", "Seinfeld", "Dancing with the Stars", "Game of Thrones", "Six Feet Under", "Robot Chicken", "Phineas and Ferb", "The Office", "American Horror Story", "Lost in Space"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irwin Allen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Leslie David Baker"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Office"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lost in Space\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Irwin Allen\" .   } UNION { ?e <pred:name> \"The Office\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Leslie David Baker\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Office"}, {"question": "When was the person with ISNI 0000 0000 7266 8975 born?", "choices": ["1957-08-14", "1924-10-10", "1951-11-16", "1902-09-05", "1953-06-12", "1987-01-07", "1961-03-16", "1933-06-06", "1954-05-25", "1895-03-11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7266 8975"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7266 8975\" . ?e <date_of_birth> ?pv .  }", "answer": "1957-08-14"}, {"question": "What is Samantha Mathis' birth date?", "choices": ["1946-06-01", "1965-01-22", "1971-04-30", "1970-05-12", "1787-09-08", "1963-05-25", "1950-10-02", "1987-03-09", "1948-11-06", "1938-06-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samantha Mathis"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Samantha Mathis\" . ?e <date_of_birth> ?pv .  }", "answer": "1970-05-12"}, {"question": "Which movie featuring 13th SAG award winner Scott Wilson as a cast member is titled The Aviator?", "choices": ["Talk to Her", "The Fifth Element", "Pearl Harbor", "Pleasantville", "The Aviator", "Rebecca", "A Prairie Home Companion", "Dead Man Walking", "The Last Samurai", "The Right Stuff"], "program": [{"function": "Find", "dependencies": [], "inputs": ["13th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scott Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["title", "The Aviator"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Scott Wilson\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"13th Screen Actors Guild Awards\" .  ?e <title> ?pv . ?pv <pred:value> \"The Aviator\" .  }", "answer": "The Aviator"}, {"question": "Which has the smallest area among the New York counties whose population is not 5500?", "choices": ["Suffolk County", "Madison County", "Cayuga County", "Herkimer County", "Essex County", "Rockland County", "Allegany County", "Livingston County", "Dutchess County", "Delaware County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5500", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5500\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "What is Ian James Corlett's official website?", "choices": ["http://www.ozzy.com/", "http://www.nba.com/timberwolves/", "http://www.ianjamescorlett.com/", "http://www.lynwood.ca.us", "http://www.palmsprings-ca.gov/", "http://www.sirgeorgemartin.com/", "http://www.pro-baobab.jp/men/ogata_k/index.html", "http://www.rkcwaalwijk.nl/", "http://www.alyssa.com", "http://www.atlas.com.mx/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian James Corlett"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ian James Corlett\" . ?e <official_website> ?pv .  }", "answer": "http://www.ianjamescorlett.com/"}, {"question": "Which movie is longer, Sailor Moon S: The Movie or Beauty and the Beast (the one whose release region is Belgium)?", "choices": ["Beauty and the Beast", "Sailor Moon S: The Movie", "Shrek 2", "Cinderella", "WALL\u00b7E", "Winnie the Pooh", "Renaissance", "The Rescuers", "Aladdin", "Lilo & Stitch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sailor Moon S: The Movie"]}, {"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beauty and the Beast"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sailor Moon S: The Movie\" .  } UNION { ?e <pred:name> \"Beauty and the Beast\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Belgium\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Beauty and the Beast"}, {"question": "How are Sal Buscema and John Buscema related?", "choices": ["notable work", "illustrator", "lifestyle", "designed by", "programming language", "replaced by", "sibling", "use", "performer", "subsidiary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sal Buscema"]}, {"function": "Find", "dependencies": [], "inputs": ["John Buscema"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sal Buscema\" . ?e_2 <pred:name> \"John Buscema\" . ?e_1 ?p ?e_2 .  }", "answer": "sibling"}, {"question": "Regarding the city that has the zip code NP is the area exactly 55 acres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "NP"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["55 acre", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"NP\" . ?e <area> ?pv . ?pv <pred:unit> \"acre\" . ?pv <pred:value> \"55\"^^xsd:double .  }", "answer": "no"}, {"question": "How many soul music groups were founded after 1950, but not in 1965?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1965", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soul music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1950", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soul music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soul music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1965 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1950 ) .  }", "answer": "2"}, {"question": "Does Belarus or Niger have the lower PPP GDP per capita?", "choices": ["Niger", "Germany", "Sierra Leone", "Tunisia", "Zimbabwe", "Bolivia", "Belarus", "Mozambique", "Italy", "Colombia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belarus"]}, {"function": "Find", "dependencies": [], "inputs": ["Niger"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["PPP GDP per capita", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Belarus\" .  } UNION { ?e <pred:name> \"Niger\" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Niger"}, {"question": "What is the connection between Julia (the one whose director is Don Ameche) to Los Angeles?", "choices": ["source of income", "occupation", "narrative location", "commissioned by", "product or material produced", "academic degree", "official color", "uses", "replaced by", "health specialty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Ameche"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Julia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Julia\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Don Ameche\" . ?e_2 <pred:name> \"Los Angeles\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Was Napalm Records founded before 1937?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Napalm Records"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1937", "<"]}], "sparql": "ASK { ?e <pred:name> \"Napalm Records\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1937 ) .  }", "answer": "no"}, {"question": "How is Elijah Wood related to English Americans?", "choices": ["office held by head of the organisation", "producer", "political alignment", "enclave within", "official religion", "place of publication", "ethnic group", "exported to", "position held", "sibling"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elijah Wood"]}, {"function": "Find", "dependencies": [], "inputs": ["English American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Elijah Wood\" . ?e_2 <pred:name> \"English American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which area is larger, Darwin (the one whose native label is Darwin) or Salisbury (the one whose country is United Kingdom)?", "choices": ["Bergen", "Dundee", "Abidjan", "Salisbury", "Kilkenny", "Chihuahua", "Kingston", "Cork", "Trieste", "Darwin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Darwin"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Darwin"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Salisbury"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Darwin\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Darwin\" . } UNION { ?e <pred:name> \"Salisbury\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Darwin"}, {"question": "When did Gerard Butler win the MTV Movie Award for Best Fight?", "choices": ["2007", "1953-01-01", "1630-12-01", "1992-01-08", "2005-06-01", "1922-01-01", "1790-01-01", "2009-10-16", "1996-05-22", "2009-12-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Fight"]}, {"function": "Find", "dependencies": [], "inputs": ["Gerard Butler"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Movie Award for Best Fight\" . ?e_2 <pred:name> \"Gerard Butler\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "Does Kingston, at 22.713303 sq km, or Dearborn have the larger population size?", "choices": ["Columbus", "Waukegan", "Boulder", "Lansing", "New Haven", "Compton", "Oakland", "Franklin", "Dearborn", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingston"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "22.713303 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Dearborn"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kingston\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"22.713303\"^^xsd:double . } UNION { ?e <pred:name> \"Dearborn\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dearborn"}, {"question": "Which has the smallest population among the ethnic groups whose population is not 87000000?", "choices": ["Puerto Ricans", "German Americans", "Italians", "Austrians", "Russians", "Ashkenazi Jews", "French people", "Iroquois", "Punjabi people", "Hungarians"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "87000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"87000000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Americans"}, {"question": "How many National Football League Drafts are in the year 2008?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2008", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" . ?e <point_in_time> ?pv . ?pv <pred:year> 2008 .  }", "answer": "1"}, {"question": "Of the feature films that mainly depict aviation, which has the shortest duration?", "choices": ["Bedknobs and Broomsticks", "The Flintstones in Viva Rock Vegas", "The Muppets", "John Carter", "The Rocketeer", "Holes", "G-Force", "Old Dogs", "The Flintstones", "Alvin and the Chipmunks: Chipwrecked"], "program": [{"function": "Find", "dependencies": [], "inputs": ["aviation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"aviation\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Rocketeer"}, {"question": "What is the connection between The Bodyguard (the one that was nominated for MTV Movie Award for Best Breakthrough Performance) to Golden Raspberry Award for Worst Picture?", "choices": ["programming paradigm", "producer", "nominated for", "home port", "parent organization", "instrumentation", "draft pick from school", "chief executive officer", "professorship", "convicted of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Breakthrough Performance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Bodyguard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Bodyguard\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"MTV Movie Award for Best Breakthrough Performance\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Picture\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "During what time point did Akira Kurosawa receive a Golden Lion?", "choices": ["1951", "1561", "2006-11-11", "1807", "1963-12-01", "2009-06-03", "1610", "2003-05-01", "2017-06-01", "2004-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Lion"]}, {"function": "Find", "dependencies": [], "inputs": ["Akira Kurosawa"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Golden Lion\" . ?e_2 <pred:name> \"Akira Kurosawa\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1951"}, {"question": "When did Lars Hirschfeld join Rosenborg BK?", "choices": ["1955-12-14", "1992-07-25", "2006-01-01", "1968-09-19", "1973", "1861-03-29", "1986-05-10", "1997-07-01", "1966-01-01", "1808"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lars Hirschfeld"]}, {"function": "Find", "dependencies": [], "inputs": ["Rosenborg BK"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lars Hirschfeld\" . ?e_2 <pred:name> \"Rosenborg BK\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "How does Bratislava relate to Rotterdam (the one that is the formation location of Feyenoord)?", "choices": ["use", "filmography", "production company", "twinned administrative body", "chairperson", "series spin-off", "basin country", "league", "substitute/deputy/replacement of office/officeholder", "official religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bratislava"]}, {"function": "Find", "dependencies": [], "inputs": ["Feyenoord"]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rotterdam"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bratislava\" . ?e_2 <pred:name> \"Rotterdam\" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> \"Feyenoord\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the native tongue name of the person whose date of birth is 1950-12-05?", "choices": ["Jacques Derrida", "Imperator Caesar Divi f. Augustus", "Carnage", "Burt Bacharach", "Paul Rubenfeld", "Karl Urban", "Jack Palance", "Kevin McCarthy", "Annabeth Gish", "Edgar Rice Burroughs"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1950-12-05", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1950-12-05\"^^xsd:date . ?e <name_in_native_language> ?pv .  }", "answer": "Kevin McCarthy"}, {"question": "Is \u7ae0\u5b50\u6021 Zhang Ziyi's name in her native language?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zhang Ziyi"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u7ae0\u5b50\u6021"]}], "sparql": "ASK { ?e <pred:name> \"Zhang Ziyi\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"\u7ae0\u5b50\u6021\" .  }", "answer": "yes"}, {"question": "What baseball team has the Corporate Number 3240001009427 in Japan?", "choices": ["Los Angeles Dodgers", "Orix Buffaloes", "Toronto Blue Jays", "Colorado Rockies", "San Diego Padres", "Tohoku Rakuten Golden Eagles", "Hanshin Tigers", "Cleveland Indians", "Hiroshima Toyo Carp", "Chiba Lotte Marines"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Corporate Number (Japan)", "3240001009427"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Corporate_Number_(Japan)> ?pv . ?pv <pred:value> \"3240001009427\" .  }", "answer": "Hiroshima Toyo Carp"}, {"question": "Which independent city of Germany, whose population is less than 92000 has the smallest elevation (above sea level)?", "choices": ["Weimar", "San Pedro", "Vocoder", "Frankfurt (Oder)", "Baden-Baden", "Metropolis", "24th Academy Awards", "Bayreuth", "Coburg", "John Carter"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "92000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"92000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "When was the California county which contains Redwood City founded?", "choices": ["1853-01-01", "1856", "1539", "1589", "1889-01-01", "1659", "1955-01-01", "1870-07-20", "1960", "1460"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Redwood City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Redwood City\" .  ?e <inception> ?pv .  }", "answer": "1856"}, {"question": "By which name is the IPI name number 00046701786 recorded in a database or mentioned as a contributor of a work for the person who is a part of The Clash?", "choices": ["GRAHAM AUBREY DRAKE", "R.C.A. Corporation", "Sinclair, Emil", "BRECHT, BERTOLT", "MARTIN GEORGE HENRY", "STRUMMER JOE", "Marconi Wireless Telegraph Company of America", "CAHN SAMMY", "NEVER SAY NEVER AGAIN", "NELSON WILLIE"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Clash"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["IPI name number", "00046701786", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"The Clash\" .  ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00046701786\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "STRUMMER JOE"}, {"question": "When did a public university, where Martin Heidegger works, have 21,182 students?", "choices": ["2017-09-14", "1930", "1834-12-01", "2010-12-01", "1998-11-18", "1852-12-01", "2011-02-01", "2010", "1976", "1430"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin Heidegger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["students count", "21182", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <employer> ?e . ?e_1 <pred:name> \"Martin Heidegger\" .  ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"21182\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <students_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "For what was Cyrano de Bergerac (whose exploitation visa number is 66874) nominated for an Academy Award for Best Foreign Language Film?", "choices": ["63rd Academy Awards", "Austria\u2013Taiwan relations", "Arizona\u2013Nevada border", "Bangladesh\u2013Nepal relations", "Brunei\u2013Cambodia relations", "Bangladesh\u2013South Africa relations", "Sierra Leone\u2013Taiwan relations", "1960 Cannes Film Festival", "Goods and Services Tax", "\u00d8resund"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cyrano de Bergerac"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "66874"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Foreign Language Film"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Cyrano de Bergerac\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"66874\" . ?e_2 <pred:name> \"Academy Award for Best Foreign Language Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "63rd Academy Awards"}, {"question": "Does Project Runway or The Pacific have more episodes?", "choices": ["The Pacific", "Seinfeld", "Project Runway", "Bleak House", "Six Feet Under", "Robot Chicken", "Saturday Night's Main Event", "Dancing with the Stars", "American Horror Story", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Project Runway"]}, {"function": "Find", "dependencies": [], "inputs": ["The Pacific"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Project Runway\" .  } UNION { ?e <pred:name> \"The Pacific\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Project Runway"}, {"question": "What has All Quiet on the Western Front (the one that has Ian Holm as a cast member) to do with warm films?", "choices": ["present in work", "found", "part of the series", "publisher", "source of income", "geography of topic", "designated as terrorist by", "use", "basin country", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian Holm"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["All Quiet on the Western Front"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["war film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"All Quiet on the Western Front\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Ian Holm\" . ?e_2 <pred:name> \"war film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What national association football team is located in Belgium?", "choices": ["K.A.A. Gent", "Zambia national football team", "Italy national football team", "Symbolism", "Club Brugge K.V.", "Dutch", "Lierse S.K.", "Morocco national football team", "Ghana national football team", "Belgium national football team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Belgium\" .   }", "answer": "Belgium national football team"}, {"question": "What country does Elektra Records, distributor of Roadrunner Records, belong to ?", "choices": ["Russia", "Hong Kong", "Ukraine", "Papal States", "Poland", "South Korea", "Bhutan", "South Africa", "United States of America", "Kingdom of Italy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roadrunner Records"]}, {"function": "Find", "dependencies": [], "inputs": ["Elektra Records"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["distributor", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Roadrunner Records\" . ?e_2 <pred:name> \"Elektra Records\" . ?e_1 <distributor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <distributor> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Which Best Actor winner at the 33rd Academy Awards produced the work titled Apache?", "choices": ["Burt Lancaster", "Sylvester Stallone", "Simon Cowell", "Babyface", "James E. Reilly", "Richard Gere", "William Henry Harrison", "Rahul Dev Burman", "David Byrne", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "33rd Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Apache"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "Apache"]}, {"function": "Relate", "dependencies": [5], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 7], "inputs": []}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"33rd Academy Awards\" . ?e_2 <producer> ?e . ?e_2 <pred:name> \"Apache\" . ?e_2 <title> ?pv . ?pv <pred:value> \"Apache\" .  }", "answer": "Burt Lancaster"}, {"question": "Which one has the least area among the county in New York that is located in New York (which has a population of 17558072)", "choices": ["Cattaraugus County", "Washington County", "Madison County", "Rockland County", "Westchester County", "Broome County", "St. Lawrence County", "Oneida County", "Otsego County", "Orange County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "17558072", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"New York\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"17558072\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Rockland County"}, {"question": "Does ISNI 0000 0004 1936 9676 designate the alma mater university of Benjamin Bratt ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Benjamin Bratt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0004 1936 9676"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Benjamin Bratt\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 1936 9676\" .  }", "answer": "yes"}, {"question": "What is the connection between Interview with the Vampire (the one whose genre is romance film) to Saturn Award for Best Costume?", "choices": ["commissioned by", "has quality", "copyright holder", "next lower rank", "natural product of taxon", "nominated for", "published in", "sidekick of", "production designer", "father"], "program": [{"function": "Find", "dependencies": [], "inputs": ["romance film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Interview with the Vampire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Costume"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Interview with the Vampire\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"romance film\" . ?e_2 <pred:name> \"Saturn Award for Best Costume\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Is 2008 not the year of the release date of the miniseries that mainly portrays George Washington (that is the origin of the name Washington, D.C.)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["2008", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"George Washington\" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> \"Washington, D.C.\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  }", "answer": "yes"}, {"question": "How is Cape Verde connected to Russia?", "choices": ["diplomatic relation", "country", "organizer", "political ideology", "has immediate cause", "has quality", "winner", "film release region", "country for sport", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cape Verde"]}, {"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Cape Verde\" . ?e_2 <pred:name> \"Russia\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Which U.S. city is Ohio County's capital with a population of 369089?", "choices": ["Hamilton", "Monterey", "Lima", "East St. Louis", "Warren", "Sandusky", "Steubenville", "Springfield", "Cleveland", "Raleigh"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "369089", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Ohio\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"369089\"^^xsd:double .   }", "answer": "Hamilton"}, {"question": "How is the 1999 NCAA Men's Division I Basketball Tournament related to basketball?", "choices": ["sport", "father", "signatory", "office held by head of state", "allegiance", "has dialect (DEPRECATED)", "approved by", "collection", "feast day", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1999 NCAA Men's Division I Basketball Tournament"]}, {"function": "Find", "dependencies": [], "inputs": ["basketball"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1999 NCAA Men's Division I Basketball Tournament\" . ?e_2 <pred:name> \"basketball\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "When was Elektra (the one whose original language is Malayalam) published?", "choices": ["2009-05-01", "2006-08-24", "1976", "2010-01-01", "2004-11-19", "2006-02-03", "1959-12-01", "1967", "2010-03-31", "1963"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malayalam"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Elektra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Elektra\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"Malayalam\" .  ?e <publication_date> ?pv .  }", "answer": "2010-01-01"}, {"question": "What is the date of death of the person who was born on 1930-01-31?", "choices": ["1927-08-17", "1842-09-21", "2009-06-03", "1985-10-02", "2009-01-12", "1828-02-11", "1957-05-23", "1992-10-06", "2009-04-01", "2001-12-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1930-01-31", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1930-01-31\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "2009-04-01"}, {"question": "How many economic branches are operated by the organization whose hub airport is Sydney Airport?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sydney Airport"]}, {"function": "Relate", "dependencies": [0], "inputs": ["airline hub", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["item operated", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["economic branch"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"economic branch\" . ?e_1 <item_operated> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <airline_hub> ?e_2 . ?e_2 <pred:name> \"Sydney Airport\" .   }", "answer": "1"}, {"question": "Which among the newscasts that received 60th Primetime Emmy Awards has the largest duration?", "choices": ["Android", "The Daily Show", "manufacturing", "Napoleonic Wars", "FreeBSD", "The Colbert Report", "Western Desert Campaign", "Orange", "Good Morning America", "Second Intifada"], "program": [{"function": "Find", "dependencies": [], "inputs": ["60th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"60th Primetime Emmy Awards\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Colbert Report"}, {"question": "Which Primetime Emmy Award was nominated to someone whose CANTIC-ID is a11026480 (the award-winning work of this statement is The X-Files) ?", "choices": ["Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie", "Saturn Award for Best Actress", "Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series", "Primetime Emmy Award for Outstanding Lead Actress in a Drama Series", "Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series", "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series", "Primetime Emmy Award for Outstanding Writing for a Comedy Series", "Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie", "Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Drama Series", "Primetime Emmy Award for Outstanding Animated Program"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11026480"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "The X-Files"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Primetime Emmy Award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> \"a11026480\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"The X-Files\" .  }", "answer": "Primetime Emmy Award for Outstanding Lead Actress in a Drama Series"}, {"question": "When did Bo Derek and the songwriter, John Corbett, begin their relationship?", "choices": ["1960-01-20", "1899-04-22", "1812-04-30", "1949-10-20", "1998-04-23", "1963-05-03", "2002-01-01", "1991-09-07", "1962-10-08", "1636"], "program": [{"function": "Find", "dependencies": [], "inputs": ["songwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Corbett"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bo Derek"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["partner", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Corbett\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"songwriter\" . ?e_2 <pred:name> \"Bo Derek\" . ?e_1 <partner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2002-01-01"}, {"question": "What number of economic branches have the RIA Novosti reference of 61684885?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["RIA Novosti reference", "61684885"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["economic branch"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"economic branch\" . ?e <RIA_Novosti_reference> ?pv . ?pv <pred:value> \"61684885\" .  }", "answer": "1"}, {"question": "Does the film with Joey Fatone last for more than 6.1 months?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joey Fatone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["6.1 month", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Joey Fatone\" .  ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v > \"6.1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which area is larger, Franklin County (the one that is located in Pennsylvania) or Bucks County?", "choices": ["Erie County", "Franklin County", "York County", "Fayette County", "Warren County", "Lehigh County", "Allegheny County", "Bucks County", "Westmoreland County", "Lancaster County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Franklin County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bucks County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Franklin County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Pennsylvania\" .   } UNION { ?e <pred:name> \"Bucks County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Franklin County"}, {"question": "Does the Twitter username avfcofficial belong to Jacob Gedleyihlekisa Zuma?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jacob Gedleyihlekisa Zuma"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["avfcofficial"]}], "sparql": "ASK { ?e <pred:name> \"Jacob Gedleyihlekisa Zuma\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"avfcofficial\" .  }", "answer": "no"}, {"question": "What language is associated with the official website https://www.irs.gov/Russian, belonging to the registered agent of Yeshiva University?", "choices": ["Slavic languages", "Cornish", "Russian", "Navajo", "Korean", "Spanish", "Japanese", "Yue Chinese", "Brazilian Portuguese", "Tahitian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yeshiva University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["registered with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.irs.gov/Russian", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <registered_with> ?e . ?e_1 <pred:name> \"Yeshiva University\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.irs.gov/Russian\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "Russian"}, {"question": "Which chemical compound whose melting point is higher than 220 degree Celsius has the greatest mass?", "choices": ["glycine", "riboflavin", "L-alanine", "L-phenylalanine", "L-Threonine", "L-Tyrosine", "L-Histidine", "folic acid", "L-Valine", "L-Serine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["melting point", "220 degree Celsius", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mass", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <melting_point> ?pv_1 . ?pv_1 <pred:unit> \"degree Celsius\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"220\"^^xsd:double ) . ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "folic acid"}, {"question": "When did the sovereign state that shares a border with Central African Republic (in the subject of Central African Republic\u2013Chad border) have a nominal GDP of 1534673583.2487 United States dollars?", "choices": ["2011-08-09", "2014-01-12", "1572", "1999-01-01", "1717-01-01", "1738", "1999-10-13", "1881-01-01", "2007-11-01", "1982-03-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Central African Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Central African Republic\u2013Chad border"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["nominal GDP", "1534673583.2487 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Central African Republic\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Central African Republic\u2013Chad border\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"1534673583.2487\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Who is taller, Kate Flannery or Russell Crowe?", "choices": ["Paul Simon", "Max Fleischer", "Russell Crowe", "William Henry Harrison", "Kate Flannery", "Sylvester Stallone", "James E. Reilly", "David Byrne", "Simon Cowell", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kate Flannery"]}, {"function": "Find", "dependencies": [], "inputs": ["Russell Crowe"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kate Flannery\" .  } UNION { ?e <pred:name> \"Russell Crowe\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Russell Crowe"}, {"question": "Where was the film whose narrator is Bill Hader pulished on 2010-10-21?", "choices": ["Sundance Film Festival", "Moscow", "Hungary", "Panama", "2008 Toronto International Film Festival", "South Korea", "Berlin", "Germany", "Westwood", "Beverly Hills"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Hader"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrator", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-10-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <narrator> ?e_1 . ?e_1 <pred:name> \"Bill Hader\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2010-10-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who has more children, Haim Saban or Kate Bush?", "choices": ["Haim Saban", "William Henry Harrison", "James E. Reilly", "Sylvester Stallone", "Paul Simon", "Max Fleischer", "Richard Gere", "Simon Cowell", "Kate Bush", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Haim Saban"]}, {"function": "Find", "dependencies": [], "inputs": ["Kate Bush"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Haim Saban\" .  } UNION { ?e <pred:name> \"Kate Bush\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Haim Saban"}, {"question": "Where was the movie that received Academy Award for Best Foreign Language Film om 79th Academy Awards, shown on 23th March 2006?", "choices": ["Stockholm", "United Kingdom", "Chicago", "Denmark", "Toronto International Film Festival", "Italy", "People's Republic of China", "Latvia", "Germany", "Chile"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Foreign Language Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "79th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2006-03-23", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Foreign Language Film\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"79th Academy Awards\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-03-23\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the Twitter username for E. S. Troyes A. C.?", "choices": ["CarletonCollege", "estac_officiel", "SOAS", "DougCoupland", "martinoxon", "UniWestminster", "kelly_clarkson", "EmilyOsment", "hjbenjamin", "RobThomas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["E.S. Troyes A.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"E.S. Troyes A.C.\" . ?e <Twitter_username> ?pv .  }", "answer": "estac_officiel"}, {"question": "What is the Twitter username of a department of France whose  Dewey Decimal Classification is 2--44366 ?", "choices": ["OfficialClarets", "ParisHilton", "tmorello", "AberdeenFC", "r0bbier0berts0n", "WSUPullman", "Fukuokacity_pr", "MalmsteenMGMT", "fclm_official", "Les_Yvelines"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--44366"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--44366\" . ?e <Twitter_username> ?pv .  }", "answer": "Les_Yvelines"}, {"question": "Where was a feature movie, with the official website, in English, http://www.ghostbusters.com, published on 25th January 1985?", "choices": ["Uruguay", "Toronto International Film Festival", "Brazil", "Berlin International Film Festival", "Seattle International Film Festival", "Europe", "Germany", "Westwood", "Australia", "Taiwan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ghostbusters.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1985-01-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ghostbusters.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1985-01-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the population of the Fairfield at zip codes 94533\u201394535?", "choices": ["9977308", "713443", "3014917", "27375", "510602", "9800635", "1925276", "105321", "11000", "122180"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fairfield"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "94533\u201394535"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Fairfield\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"94533\u201394535\" . ?e <population> ?pv .  }", "answer": "105321"}, {"question": "When did the exploitation visa number 134042 start for the film titled The Dark Knight Rises?", "choices": ["1949-01-01", "1889-11-11", "2012-12-27", "1999-01-10", "1994-01-31", "2012-07-18", "1788-05-23", "1807-03-04", "1990-09-23", "2011-07-09"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Dark Knight Rises"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["exploitation visa number", "134042", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Dark Knight Rises\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"134042\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2012-07-18"}, {"question": "Which religion has ISNI 0000 0001 2287 9544?", "choices": ["United Church of Christ", "Seventh-day Adventist Church", "Greek Orthodox Church", "Lutheranism", "Pentecostalism", "Nondenominational Christianity", "Evangelical Christianity", "Russian Orthodox Church", "Presbyterianism", "Sunni Islam"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2287 9544"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religion"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religion\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2287 9544\" .  }", "answer": "Seventh-day Adventist Church"}, {"question": "What is the mass of the group of organisms which are known by one particular common name originated from Germany?", "choices": ["245 pound", "168 pound", "35 kilogram", "39.963 atomic mass unit", "219.110673 atomic mass unit", "222 pound", "441.14 atomic mass unit", "96 kilogram", "200 pound", "63 kilogram"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["mass"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Germany\" .  ?e <mass> ?pv .  }", "answer": "35 kilogram"}, {"question": "Which Illinois county that was established before 1831 has the smallest land area?", "choices": ["Logan County", "Madison County", "Montgomery County", "Sangamon County", "St. Clair County", "Tazewell County", "Monroe County", "Clinton County", "McLean County", "McHenry County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1831", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1831 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Monroe County"}, {"question": "For the organization with an ISIN of US2855121099, and a Twitter username of EA, what is the number of subscribers that the user has?", "choices": ["11136265", "2627525", "802", "63786", "490634", "28640", "392", "122886", "5249066", "465043"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "US2855121099"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "EA", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <ISIN> ?pv_1 . ?pv_1 <pred:value> \"US2855121099\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"EA\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "5249066"}, {"question": "Does the website www.fremontcountywy.org represent the person born in York in the USA?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["http://www.fremontcountywy.org"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"York\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fremontcountywy.org\" .  }", "answer": "no"}, {"question": "At what point in time is 5723.97 United States dollars the nominal GDP per capita for the sovereign state whose capital is Cape Town?", "choices": ["2001-03-25", "1995-07-25", "1978-12-01", "1966-08-19", "2009-02-22", "2015-01-01", "1806-01-01", "2016-10-01", "1945-01-01", "1978-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cape Town"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP per capita", "5723.97 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Cape Town\" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"5723.97\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP_per_capita> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Which New York city, not established in 1832, has the largest population?", "choices": ["Syracuse", "Troy", "Schenectady", "Glen Cove", "Yonkers", "Ithaca", "Auburn", "White Plains", "Glens Falls", "Binghamton"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1832", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1832 ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Yonkers"}, {"question": "What was the work that Ann Roth received the Academy Award for Best Costume Design about?", "choices": ["assassination of Leon Trotsky", "Iran\u2013Kyrgyzstan relations", "Greece\u2013Russia relations", "Ireland\u2013Romania relations", "Sino-Russian relations", "69th Academy Awards", "Kosovo\u2013Slovenia relations", "Djibouti\u2013France relations", "Saudi Arabia-Sweden relations", "Syria\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ann Roth"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ann Roth\" . ?e_2 <pred:name> \"Academy Award for Best Costume Design\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "69th Academy Awards"}, {"question": "What is the birth name for the person that has the official website of http://will.i.am?", "choices": ["Robyn Rihanna Fenty", "Myrna Adele Williams", "Iain Banks", "Stephen Jesse Jackson", "Philip Andre Rourke, Jr.", "Shamika Brown", "Seth Woodbury MacFarlane", "Tara Leigh Patrick", "George Joseph Folsey", "William James Adams Jr."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://will.i.am"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://will.i.am\" . ?e <birth_name> ?pv .  }", "answer": "William James Adams Jr."}, {"question": "How many administrative territorial entities of Canada contain the city (administrative division) whose RIA Novosti reference is 52444112 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["RIA Novosti reference", "52444112"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <RIA_Novosti_reference> ?pv . ?pv <pred:value> \"52444112\" .   }", "answer": "0"}, {"question": "Who executive produced the visual artwork clocking in at 209 minutes?", "choices": ["Boaz Davidson", "Avi Arad", "Manorama", "India", "Chuck Jones", "Miley Cyrus", "Lawrence Bender", "Jon Avnet", "Mark Damon", "John Bailey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "209 minute", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"209\"^^xsd:double .   }", "answer": "Mark Damon"}, {"question": "Which movie is shorter, Happy-Go-Lucky or Angels & Demons (the one whose original language is German)?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "Happy-Go-Lucky", "The Towering Inferno", "Pleasantville", "A Prairie Home Companion", "The Fifth Element", "Angels & Demons", "Curse of the Golden Flower", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Happy-Go-Lucky"]}, {"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Angels & Demons"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Happy-Go-Lucky\" .  } UNION { ?e <pred:name> \"Angels & Demons\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"German\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Happy-Go-Lucky"}, {"question": "The visual artwork preceding The Expendables 2 was released in which location on 2010-08-26?", "choices": ["Netherlands", "Taormina Film Fest", "Bahrain", "Germany", "Los Angeles", "Brazil", "Spain", "Lithuania", "Sorrento", "Serbia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Expendables 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-08-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"The Expendables 2\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2010-08-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the official name of Wollongong?", "choices": ["Wollongong", "Catania", "Walt Disney Studio", "Bristol City Football Club", "Campane", "Marvel Publishing, Inc.", "Nijmegen", "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd", "\u041a\u043e\u0440\u043e\u043b\u0435\u0432\u0441\u0442\u0432\u043e \u0412\u0435\u043d\u0433\u0440\u0438\u044f", "\u062c\u0645\u0647\u0648\u0631\u06cc \u0627\u06a9\u0648\u0627\u062f\u0648\u0631"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wollongong"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Wollongong\" . ?e <official_name> ?pv .  }", "answer": "Wollongong"}, {"question": "What language is associated with  http://co.fairbanks.ak.us, the official website for a city in the US whose Dewey Decimal Classification is 2--798 ?", "choices": ["Eastern Armenian", "Traditional Chinese", "Occitan", "Yaqui", "Breton", "Classical Latin", "English", "Ukrainian", "Malagasy", "Atikamekw"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--798"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://co.fairbanks.ak.us/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--798\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://co.fairbanks.ak.us/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What county in Maine with a population of less than 48000 has the smallest area?", "choices": ["Somerset County", "Aroostook County", "Franklin County", "York County", "Kennebec County", "Oxford County", "Cumberland County", "Hancock County", "Penobscot County", "Washington County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "48000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maine"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"48000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Franklin County"}, {"question": "What point in time was Robert Klein, who uses the English language, nominated for the Tony Award for Best Actor in a Musical?", "choices": ["2009-11-01", "2007-07-01", "1746-01-01", "1999-05-19", "2016-12-31", "2018-12-13", "1979", "1985-01-01", "1640-01-01", "2009-04-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Klein"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Musical"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert Klein\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Tony Award for Best Actor in a Musical\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1979"}, {"question": "When did Robert Evans (the one that has the occupation of writer) die?", "choices": ["2010-01-27", "1969-07-05", "1992-04-23", "2013-10-17", "1956-10-16", "2010-05-02", "1817-07-18", "1999-12-12", "2005-07-01", "1998-05-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Robert Evans\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"writer\" .  ?e <date_of_death> ?pv .  }", "answer": "1956-10-16"}, {"question": "When did The Bourne Ultimatum receive the Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture?", "choices": ["1953-03-19", "2008", "1994-12-01", "2011-02-27", "1771-01-01", "1893-01-01", "1966-01-01", "1660", "2017-03-31", "1835-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Bourne Ultimatum"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Bourne Ultimatum\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2008"}, {"question": "How many wars are followed by the civil war whose start date is in the year 1936?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1936", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["civil war"]}, {"function": "Relate", "dependencies": [2], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["war"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"civil war\" . ?e_1 <start_time> ?pv . ?pv <pred:year> 1936 .   }", "answer": "0"}, {"question": "Which landform with a 14.6-year life expectancy has the highest mains voltage?", "choices": ["Ireland", "Maui", "Tasmania", "Newfoundland", "Long Island", "Guam", "Hawaii", "Puerto Rico", "Trinidad", "Aruba"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "14.6 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mains voltage", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"14.6\"^^xsd:double ) . ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aruba"}, {"question": "Of animated series with other than a 5-season run, which boasts the most seasons?", "choices": ["Futurama", "Ben 10", "Adrian", "Superman", "Batman Beyond", "The Simpsons", "The Cleveland Show", "South Park", "The Flintstones", "Hercules"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "5", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Simpsons"}, {"question": "Which person has the CANTIC-ID a12324917?", "choices": ["Albert Camus", "Richard Gere", "Dan Curtis", "William Henry Harrison", "Sylvester Stallone", "Timbaland", "Buster Keaton", "Max Fleischer", "Dev Patel", "Winona Ryder"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12324917"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a12324917\" .  }", "answer": "Dan Curtis"}, {"question": "Is 2703 the ARCHON code of Jesus College (the one that is the education place of Don Siegel)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Siegel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jesus College"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ARCHON code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["2703"]}], "sparql": "ASK { ?e <pred:name> \"Jesus College\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Don Siegel\" .  ?e <ARCHON_code> ?pv . ?pv <pred:value> \"2703\" .  }", "answer": "yes"}, {"question": "Who is the person famous for the string instrument with the Iconclass notation of 48C7314?", "choices": ["Peter O'Toole", "Johann Sebastian Bach", "PJ Harvey", "Chad Hugo", "Drake Bell", "A. R. Rahman", "Jimmy Page", "Jade North", "Wolfgang Amadeus Mozart", "Tracy Chapman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Iconclass notation", "48C7314"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["string instrument"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"string instrument\" . ?e_1 <Iconclass_notation> ?pv . ?pv <pred:value> \"48C7314\" .   }", "answer": "Jimmy Page"}, {"question": "What was the film that received Palme d'Or in 2012?", "choices": ["Thomas and Friends", "Ni liv", "A Room with a View", "The Maltese Falcon", "Mumford", "Indiana Jones and the Temple of Doom", "Amour", "They Might Be Giants", "Mr. Nobody", "Dances with Wolves"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Palme d'Or"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2012", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Palme d'Or\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2012 . ?e <title> ?pv .  }", "answer": "Amour"}, {"question": "How many musicians have the ROME Occupation Code (v3) of L1101 and have the occupation of Dannii Minogue?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ROME Occupation Code (v3)", "L1101"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musician"]}, {"function": "Find", "dependencies": [], "inputs": ["Dannii Minogue"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musician"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musician\" . ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"L1101\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Dannii Minogue\" .  }", "answer": "1"}, {"question": "Which movie was published on 1936-08-20?", "choices": ["Alfie", "Gandhi", "Maid in Manhattan", "Mindscape", "Romeo and Juliet", "Rebecca", "Pleasantville", "Talk to Her", "A Prairie Home Companion", "3:10 to Yuma"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1936-08-20", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1936-08-20\"^^xsd:date .  }", "answer": "Romeo and Juliet"}, {"question": "When Saving Private Ryan was published on 1998-10-08, where did that event take place?", "choices": ["Beverly Hills", "Switzerland", "Tokyo", "Germany", "Montreal World Film Festival", "Sorrento", "Lithuania", "Cannes Film Festival", "British Hong Kong", "Kazakhstan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saving Private Ryan"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1998-10-08", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Saving Private Ryan\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-10-08\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "PermID 4298216903 designates which institution of higher learning?", "choices": ["Presidency University", "Creighton University", "University of Manchester", "St. Lawrence University", "Keele University", "University of Oklahoma", "McNeese State University", "Claremont Graduate University", "Pennsylvania State University", "Imperial College London"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4298216903"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <PermID> ?pv . ?pv <pred:value> \"4298216903\" .  }", "answer": "St. Lawrence University"}, {"question": "When did Eurasia have a population of 1120000000?", "choices": ["2008-11-12", "2012-11-01", "2007-03-14", "2012-02-16", "2017-08-31", "2240", "1933", "1893", "1989-12-01", "1956-03-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eurasia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "1120000000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Eurasia\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1120000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1893"}, {"question": "What is the role of the Solar System, the parent astronomical body of the Sun (whose spectral class is G2V)?", "choices": ["Kingdom of Portugal", "songwriter", "director", "television producer", "human settlement", "primary body", "historian", "Ukrainian Soviet Socialist Republic", "community", "singer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sun"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["spectral class", "G2V"]}, {"function": "Find", "dependencies": [], "inputs": ["Solar System"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["parent astronomical body", "subject has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sun\" . ?e_1 <spectral_class> ?pv . ?pv <pred:value> \"G2V\" . ?e_2 <pred:name> \"Solar System\" . ?e_1 <parent_astronomical_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <parent_astronomical_body> ; <pred:fact_t> ?e_2 ] <subject_has_role> ?qpv .  }", "answer": "primary body"}, {"question": "What is the name of the association football club whose official website is https://www.safc.com/ andwas created after 1872?", "choices": ["Sunderland A.F.C.", "A.C. Perugia Calcio", "Real Madrid Castilla football", "Villarreal Club de F\u00fatbol", "Stade Brestois 29", "Brisbane Roar FC", "Torino Football Club", "Exeter City F.C.", "Zamalek SC", "Middlesbrough F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.safc.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1872", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.safc.com/\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1872 ) .  }", "answer": "Sunderland A.F.C."}, {"question": "Which award did the person whose Munzinger IBA is 00000002983 win (the point in time of this statement is 1978)?", "choices": ["Grammy Award for Best Reggae Album", "Academy Award for Best Supporting Actress", "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie", "Saturn Award for Best Director", "Academy Award for Best Actor", "Saturn Award for Best Costume", "Independent Spirit Award for Best Female Lead", "Grammy Award for Best Metal Performance", "Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie", "National Board of Review Award for Best Actor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000002983"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "1978", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000002983\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1978 .  }", "answer": "National Board of Review Award for Best Actor"}, {"question": "What is the connection between Vicksburg to United States of America?", "choices": ["dedicated to", "material used", "candidate", "located in time zone", "sex or gender", "member of", "country", "language of work or name", "present in work", "after a work by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vicksburg"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Vicksburg\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What does Robert Clohessy have to do with film producer?", "choices": ["record label", "head of state", "occupation", "taxon rank", "distribution", "health specialty", "screenwriter", "contributor(s) to the creative work", "kit supplier", "geographic distribution"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Clohessy"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Clohessy\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the name of the big city that is the twinned administrative body of \u0130zmir?", "choices": ["Heidelberg", "Mumbai", "Tel Aviv", "Turin", "Eindhoven", "Dnipro", "Aachen", "Nantes", "Split", "Cologne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u0130zmir"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"\u0130zmir\" .   }", "answer": "Split"}, {"question": "What's the relationship between a politician and John Stuart Mill?", "choices": ["patron saint", "registered with", "occupation", "draft pick from school", "narrative location", "noble title", "executive producer", "shares border with", "archives at", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Stuart Mill"]}, {"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Stuart Mill\" . ?e_2 <pred:name> \"politician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did the person with Munzinger IBA 00000020732 start work?", "choices": ["1945", "1984", "1905", "1897", "2007", "1814", "1956", "1974", "1895", "1991"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000020732"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000020732\" . ?e <work_period_(start)> ?pv .  }", "answer": "1956"}, {"question": "Fist of the North Star, clocking in at 110 minutes, has what link to Kaneto Shiozawa?", "choices": ["cast member", "substitute/deputy/replacement of office/officeholder", "editor", "grants", "official language", "family name", "permanent resident of", "country of origin", "had as last meal", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fist of the North Star"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "110 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Kaneto Shiozawa"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fist of the North Star\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"110\"^^xsd:double . ?e_2 <pred:name> \"Kaneto Shiozawa\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many wars took place in the state with the demonym of angol?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "angol"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["war"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> \"angol\" .   }", "answer": "2"}, {"question": "For which work was Walter H. Tyler nominated for the Academy Award for Best Production Design?", "choices": ["Are We Done Yet?", "Knocked Up", "Popeye the Sailor Meets Sindbad the Sailor", "The Island at the Top of the World", "Frida", "The Lord of the Rings: The Two Towers", "The General", "Georgy Girl", "Changeling", "Baby, It's Cold Outside"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter H. Tyler"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Walter H. Tyler\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Island at the Top of the World"}, {"question": "What is the link between Doug Flutie and American football?", "choices": ["sport", "product or material produced", "ancestral home", "domain of saint or deity", "cites", "musical conductor", "conferred by", "parent organization", "said to be the same as", "has effect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doug Flutie"]}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Doug Flutie\" . ?e_2 <pred:name> \"American football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "Which has the smallest area among the Alabama counties whose population is not 5400000?", "choices": ["Shelby County", "Baldwin County", "Washington County", "Montgomery County", "Monroe County", "Dallas County", "Madison County", "Jefferson County", "Jackson County", "Mobile County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5400000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5400000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "The website www.nba.com/pelicans, representing the basketball team Chris Paul was drafted by, is published in which language?", "choices": ["Brazilian Portuguese", "Punjabi", "German", "Tahitian", "Romanian", "Greek", "Lower Sorbian", "American English", "Georgian", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Paul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.nba.com/pelicans/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e_1 <drafted_by> ?e . ?e_1 <pred:name> \"Chris Paul\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nba.com/pelicans/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many social groups whose country is Germany or that includes House of Bourbon as a part?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["social group"]}, {"function": "Find", "dependencies": [], "inputs": ["House of Bourbon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["social group"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"social group\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Germany\" .  } UNION { ?e <has_part> ?e_1 . ?e_1 <pred:name> \"House of Bourbon\" .  } }", "answer": "1"}, {"question": "The DiannaAgron Twitter account, which has 2015311 subscribers, belongs to who?", "choices": ["Max Fleischer", "Dianna Agron", "James E. Reilly", "Sylvester Stallone", "David Byrne", "Paul Simon", "Richard Gere", "William Henry Harrison", "Simon Cowell", "Rahul Dev Burman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "DiannaAgron"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "2015311", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"DiannaAgron\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"2015311\"^^xsd:double .  }", "answer": "Dianna Agron"}, {"question": "The cable channel of the English-language website www.international.tbs.com first broadcast which miniseries?", "choices": ["Wanted", "Into the West", "Taken", "WCW Monday Nitro", "The Diary of Anne Frank", "Frank Herbert's Dune", "Nuremberg", "Crusade", "Tinker Tailor Soldier Spy", "A Christmas Carol"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.international.tbs.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["cable channel"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <original_network> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"cable channel\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://www.international.tbs.com/\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "Into the West"}, {"question": "What is Simon Cowell's twitter username?", "choices": ["RafaelNadal", "SeasonofMist", "Official_Police", "HellasVeronaFC", "Rockies", "DonJohnson", "SpongeBob", "ulsanFC", "jackbrucemusic", "SimonCowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Simon Cowell"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Simon Cowell\" . ?e <Twitter_username> ?pv .  }", "answer": "SimonCowell"}, {"question": "What New York county has Dewey Decimal Classification 2--74736?", "choices": ["Hamilton County", "Delaware County", "Columbia County", "Rockland County", "Dutchess County", "Jefferson County", "Warren County", "Orange County", "Oswego County", "Clinton County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--74736"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"2--74736\" .  }", "answer": "Delaware County"}, {"question": "What subject applies to the statement that Anatomy of a Murder received a Best Film Editing Oscar nomination?", "choices": ["51st Tony Awards", "Iran\u2013Iraq relations", "Austria\u2013Czech Republic border", "32nd Academy Awards", "Greece\u2013Serbia relations", "Algeria\u2013Serbia relations", "Hong Kong\u2013United States relations", "Benin\u2013Burkina Faso border", "UEFA.com", "Germany\u2013Guinea-Bissau relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anatomy of a Murder"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Anatomy of a Murder\" . ?e_2 <pred:name> \"Academy Award for Best Film Editing\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "32nd Academy Awards"}, {"question": "Which reviewer ranked Iran's national association football team at number 115?", "choices": ["Empire", "James Berardinelli", "FIFA", "Rotten Tomatoes", "Peter Travers", "Metacritic", "Innovation, Science and Economic Development Canada", "IREG Observatory on Academic Ranking and Excellence", "AlloCin\u00e9", "AllMovie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "115", "review score by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Iran\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"115\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <review_score_by> ?qpv .  }", "answer": "FIFA"}, {"question": "Vitesse was formed in how many Dutch municipalities?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vitesse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["municipality of the Netherlands"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"municipality of the Netherlands\" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"Vitesse\" .   }", "answer": "1"}, {"question": "Is royorbison the Twitter username of a band that received Grammy Lifetime Achievement Award on 1st January 2013 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Lifetime Achievement Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2013-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["royorbison"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Grammy Lifetime Achievement Award\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2013-01-01\"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> \"royorbison\" .  }", "answer": "no"}, {"question": "What is the connection between Manitoba to English?", "choices": ["religion", "field of work", "vehicle normally used", "natural product of taxon", "official language", "airline alliance", "part of", "sibling", "takes place in fictional universe", "military conflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Manitoba"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Manitoba\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "official language"}, {"question": "Which has less students, Saint Joseph's University or the University of Bucharest?", "choices": ["Presidency University", "Panjab University", "McNeese State University", "University of Manchester", "University of Bucharest", "King's College London", "Imperial College London", "Saint Joseph's University", "University of Tehran", "Pennsylvania State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Joseph's University"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Bucharest"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Saint Joseph's University\" .  } UNION { ?e <pred:name> \"University of Bucharest\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Saint Joseph's University"}, {"question": "When did The A-Team (which has a duration of 45 minutes) originally air on NBC?", "choices": ["1988", "2008-06-06", "-45", "1976-09-21", "2004-07-14", "1993-08-28", "1863", "1983", "1972-09-11", "1974-09-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The A-Team"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "45 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["NBC"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["original network", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The A-Team\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"45\"^^xsd:double . ?e_2 <pred:name> \"NBC\" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1983"}, {"question": "Does the US city of the official website cityofdavis.org have 65622 residents?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://cityofdavis.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["65622", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://cityofdavis.org/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"65622\"^^xsd:double .  }", "answer": "yes"}, {"question": "What association football club has the official website of http://www.syrianskafc.com?", "choices": ["Stade Brestois 29", "Middlesbrough F.C.", "Bradford (Park Avenue) A.F.C.", "Syrianska FC", "Southampton F.C.", "Brisbane Roar FC", "Charleston Battery", "Wolverhampton Wanderers F.C.", "SV Waldhof Mannheim", "Robur Siena"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.syrianskafc.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.syrianskafc.com\" .  }", "answer": "Syrianska FC"}, {"question": "Is the date of birth not in 1963 for Larry Cohen who attended the City College of New York?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["City College of New York"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Larry Cohen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1963", "!="]}], "sparql": "ASK { ?e <pred:name> \"Larry Cohen\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"City College of New York\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1963 ) .  }", "answer": "yes"}, {"question": "Of Massachusetts counties with a population below 440000000, which occupies the least area?", "choices": ["Berkshire County", "Essex County", "Norfolk County", "Bristol County", "Suffolk County", "Hampden County", "Middlesex County", "Plymouth County", "Franklin County", "Worcester County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "440000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"440000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Worcester County"}, {"question": "Why did the political party abbreviated as \u041a\u041f\u0413 dissolve on 1933-01-01?", "choices": ["Charter for the Kingdom of the Netherlands", "Statute of Rhuddlan", "Battle of France", "October Revolution", "city", "National Park Service Organic Act", "city with millions of inhabitants", "bankruptcy", "Alaska Statehood Act", "prohibition of a political party"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u041a\u041f\u0413"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["dissolved, abolished or demolished", "1933-01-01", "has cause"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"\u041a\u041f\u0413\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:date> \"1933-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <dissolved,_abolished_or_demolished> ; <pred:fact_t> ?pv ] <has_cause> ?qpv .  }", "answer": "prohibition of a political party"}, {"question": "Is the ISNI of the human that was born in Waukesha (an administrative location in Wisconsin) equal to 0000 0001 1677 9459?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waukesha"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "Wisconsin"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 1677 9459"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Waukesha\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_1 ] <located_in_the_administrative_territorial_entity> ?qpv . ?qpv <pred:value> \"Wisconsin\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1677 9459\" .  }", "answer": "yes"}, {"question": "How many counties of Pennsylvania are located in the US state that is the narrative location of That Thing You Do! ?", "choices": ["34", "35", "36", "37", "38", "39", "40", "41", "42", "43"], "program": [{"function": "Find", "dependencies": [], "inputs": ["That Thing You Do!"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Pennsylvania"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"That Thing You Do!\" .   }", "answer": "39"}, {"question": "How many capitals does the sovereign state with maritime identification digits 466 have?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["maritime identification digits", "466"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["capital"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <maritime_identification_digits> ?pv . ?pv <pred:value> \"466\" .   }", "answer": "1"}, {"question": "What language pertains to the official site of http://www.clinton-county.org and to the Michigan county named for DeWitt Clinton?", "choices": ["Russian", "American English", "Franco-Proven\u00e7al", "Lower Sorbian", "Indian English", "Valencian", "English", "Esperanto", "Turkish", "Atikamekw"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DeWitt Clinton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.clinton-county.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"DeWitt Clinton\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.clinton-county.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which infectious disease with a minimum incubation time other than 6.3 days in people has the lowest such value?", "choices": ["prostate cancer", "peritonitis", "epilepsy", "cholera", "yellow fever", "sepsis", "attention deficit hyperactivity disorder", "pneumonia", "gastroesophageal reflux disease", "poliomyelitis"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["minimal incubation period in humans", "6.3 day", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["infectious disease"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["minimal incubation period in humans", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"infectious disease\" . ?e <minimal_incubation_period_in_humans> ?pv_1 . ?pv_1 <pred:unit> \"day\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6.3\"^^xsd:double ) . ?e <minimal_incubation_period_in_humans> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "yellow fever"}, {"question": "When did the sovereign state whose nominal GDP was more than 1000000000000 USD in 1970 have an inflation rate of 3.3 percent?", "choices": ["2015-08-06", "2016-01-01", "1933", "1882-01-01", "1947-10-01", "300", "1985-01-01", "1961-01-01", "1818-12-01", "1966-04-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "1000000000000 United States dollar", ">"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1970", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inflation rate", "3.3 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"1000000000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 1970 . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"3.3\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1985-01-01"}, {"question": "Which has a lesser duration, Dumb and Dumber (whose release region is Japan) or Shortbus?", "choices": ["Curse of the Golden Flower", "Pleasantville", "A Prairie Home Companion", "Training Day", "Talk to Her", "The Hunchback of Notre Dame", "Shortbus", "The Fifth Element", "Dumb and Dumber", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dumb and Dumber"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Shortbus"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dumb and Dumber\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Japan\" .   } UNION { ?e <pred:name> \"Shortbus\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Shortbus"}, {"question": "What is Rob Corddry's Twitter username?", "choices": ["AOL", "Corey_Feldman", "goetheuni", "Curitiba_PMC", "madonna", "robcorddry", "DEVO", "IamDonCheadle", "rachelmonline", "shakira"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rob Corddry"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rob Corddry\" . ?e <Twitter_username> ?pv .  }", "answer": "robcorddry"}, {"question": "Who is the person that is known for the genre alternate history?", "choices": ["Sylvester Stallone", "Charles Rosher", "Max Fleischer", "Aurora", "Inglourious Basterds", "Michael Stipe", "Forest Whitaker", "Rich Little", "Harry Turtledove", "Code Geass"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alternate history"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"alternate history\" .   }", "answer": "Harry Turtledove"}, {"question": "What is the relation between Little Fockers and Jessica Alba?", "choices": ["broadcast by", "cause of death", "place of burial", "country", "followed by", "registered with", "shares border with", "cast member", "fictional universe described in", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Little Fockers"]}, {"function": "Find", "dependencies": [], "inputs": ["Jessica Alba"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Little Fockers\" . ?e_2 <pred:name> \"Jessica Alba\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which movie is longer, Alvin and the Chipmunks: The Squeakquel or Splash (the one whose publication date is 1984-09-21)?", "choices": ["Splash", "Alvin and the Chipmunks: The Squeakquel", "The Muppets", "The Flintstones in Viva Rock Vegas", "G-Force", "National Treasure: Book of Secrets", "Holes", "Old Dogs", "Alvin and the Chipmunks: Chipwrecked", "John Carter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alvin and the Chipmunks: The Squeakquel"]}, {"function": "Find", "dependencies": [], "inputs": ["Splash"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "1984-09-21", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alvin and the Chipmunks: The Squeakquel\" . } UNION { ?e <pred:name> \"Splash\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1984-09-21\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Splash"}, {"question": "When did the national association football team that belongs to Iran rank 108?", "choices": ["1897-01-28", "1992-01-01", "300", "1800-01-01", "2018-09-04", "1940-05-15", "1879-01-01", "2016-10-20", "2014-04-01", "1995-12-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "108", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> \"Iran\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"108\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1995-12-19"}, {"question": "Which area has higher elevation above sea level, Winchester (the one whose country is United States of America) or Williamsburg?", "choices": ["Winchester", "Hampton", "Fairfax", "Charlottesville", "Williamsburg", "Lynchburg", "Lexington", "Roanoke", "Suffolk", "Falls Church"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Winchester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Williamsburg"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Winchester\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Williamsburg\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Winchester"}, {"question": "Which person scored 5 points as a member of Toronto FC?", "choices": ["Giuseppe Colucci", "Max Fleischer", "Michael Moore", "Jackson", "Richard Gere", "David Byrne", "William Henry Harrison", "John Powell", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto FC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of points/goals/set scored", "5", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Toronto FC\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"5\"^^xsd:double .  }", "answer": "Jackson"}, {"question": "Is the population of Hollywood (the one that is the death place of D. W. Griffith) greater than 5100 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["D. W. Griffith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hollywood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["population"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["5100", ">"]}], "sparql": "ASK { ?e <pred:name> \"Hollywood\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"D. W. Griffith\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"5100\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is Metallica (with the website of https://www.metallica.com/) related to the 51st Annual Grammy Awards?", "choices": ["sports season of league or competition", "located in time zone", "award received", "operating system", "film regional debut venue", "original language of film or TV show", "theme music", "culture", "member of sports team", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metallica"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.metallica.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["51st Annual Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Metallica\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"https://www.metallica.com/\" . ?e_2 <pred:name> \"51st Annual Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "When did Munich (the one whose population is 1293599) become the twinned administrative body of Sapporo?", "choices": ["1799-07-27", "2018-12-01", "1922-12-05", "1979-01-01", "1963-12-12", "1972-08-28", "1936-07-18", "1991-01-03", "1884-01-01", "1917-12-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1293599", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sapporo"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Munich\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1293599\"^^xsd:double . ?e_2 <pred:name> \"Sapporo\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1972-08-28"}, {"question": "What number of organizations were dissolved after 1918?", "choices": ["37", "38", "39", "40", "41", "42", "43", "44", "45", "46"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1918", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1918 ) .  }", "answer": "45"}, {"question": "Among the counties of Indiana, which one has the smallest area ?", "choices": ["Madison County", "Monroe County", "Hancock County", "Delaware County", "Shelby County", "Lake County", "Marion County", "Allen County", "Howard County", "Franklin County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterConcept", "dependencies": [0], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [1], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Howard County"}, {"question": "How many dynasties are located in the Kingdom of Prussia?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Prussia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dynasty"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dynasty\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Kingdom of Prussia\" .   }", "answer": "0"}, {"question": "Are there less seasons in Fargo, which started 2014-04-15, or Boardwalk Empire?", "choices": ["Phineas and Ferb", "Robot Chicken", "Bleak House", "American Horror Story", "Seinfeld", "Six Feet Under", "Game of Thrones", "Dancing with the Stars", "Fargo", "Boardwalk Empire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fargo"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "2014-04-15", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Boardwalk Empire"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fargo\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"2014-04-15\"^^xsd:date . } UNION { ?e <pred:name> \"Boardwalk Empire\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fargo"}, {"question": "How many performing arts are either related to Emilio Estefan or  PhilPapers?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emilio Estefan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["performing arts"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PhilPapers topic", "dance"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["performing arts"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"performing arts\" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Emilio Estefan\" .  } UNION { ?e <PhilPapers_topic> ?pv . ?pv <pred:value> \"dance\" .  } }", "answer": "1"}, {"question": "How is Ocean County and Atlantic Ocean related?", "choices": ["operator", "family", "opposite of", "named after", "does not have part", "publisher", "material used", "programming language", "indigenous to", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocean County"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlantic Ocean"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ocean County\" . ?e_2 <pred:name> \"Atlantic Ocean\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "Which administrative territorial entity has the official English language website http://www.douglas.co.us?", "choices": ["Lee County", "New Castle County", "The Bronx", "Hillsborough County", "Cass County", "African Union", "Orange County", "Douglas County", "Delaware County", "Kent County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.douglas.co.us"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.douglas.co.us\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Douglas County"}, {"question": "What is the connection between Anaconda to Danny Trejo?", "choices": ["participant", "writing system", "allegiance", "eye color", "seed team", "participant of", "film distribute region", "cast member", "separated from", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anaconda"]}, {"function": "Find", "dependencies": [], "inputs": ["Danny Trejo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Anaconda\" . ?e_2 <pred:name> \"Danny Trejo\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Was the person in the office of lieutenant governor born more recently than 1930 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["lieutenant governor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1930", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <position_held> ?e_1 . ?e_1 <pred:name> \"lieutenant governor\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1930 ) .  }", "answer": "no"}, {"question": "What is the connection between Manchester (the one that is the twinned administrative body of Saint Petersburg) to Wuhan?", "choices": ["contains settlement", "sexual orientation", "make-up artist", "published in", "different from", "source of income", "lowest point", "diaspora", "cast member", "twinned administrative body"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manchester"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wuhan"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Manchester\" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Saint Petersburg\" . ?e_2 <pred:name> \"Wuhan\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which weighs more, pantothenic acid or palmitic acid?>", "choices": ["palmitic acid", "stearic acid", "thiamine ion", "cis-oleic acid", "capric acid", "pantothenic acid", "L-alanine", "L-Leucine", "L-Valine", "L-Arginine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pantothenic acid"]}, {"function": "Find", "dependencies": [], "inputs": ["palmitic acid"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"pantothenic acid\" .  } UNION { ?e <pred:name> \"palmitic acid\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "palmitic acid"}, {"question": "Which school was Rock Hudson educated in?", "choices": ["Groton School", "National Theatre School of Canada", "The Citadel, The Military College of South Carolina", "New Trier High School", "London Business School", "Royal Military Academy Sandhurst", "Upper Canada College", "Italia Conti Academy of Theatre Arts", "Eton College", "Marlborough College"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rock Hudson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Rock Hudson\" .   }", "answer": "New Trier High School"}, {"question": "Which New York county whose population is under 28000000 has the largest area?", "choices": ["Cayuga County", "Franklin County", "Oswego County", "Fulton County", "Suffolk County", "St. Lawrence County", "Herkimer County", "Ontario County", "Tompkins County", "Otsego County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "28000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"28000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "Is the date of birth of Joseph Fiennes before 1979?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Fiennes"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1979", "<"]}], "sparql": "ASK { ?e <pred:name> \"Joseph Fiennes\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1979 ) .  }", "answer": "yes"}, {"question": "What is the Traverse City's elevation (above sea level)?", "choices": ["179 metre", "281 metre", "1030 foot", "143 metre", "1655 metre", "790 metre", "191 metre", "162 metre", "2926 metre", "1181 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Traverse City"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Traverse City\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "191 metre"}, {"question": "What is the Twitter username of the business whose official website is https://www.symantec.com?", "choices": ["legiawarszawa", "GenoaCFC", "SkyBetChamp", "IAmCicelyTyson", "symantec", "Forbes", "orange", "univienna", "subpop", "pinellasconews"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.symantec.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.symantec.com\" . ?e <Twitter_username> ?pv .  }", "answer": "symantec"}, {"question": "Which has the largest area among the sovereign states whose population is less than 640000?", "choices": ["Andorra", "Dominica", "Brunei", "Qatar", "Saint Lucia", "Cape Verde", "Bahamas", "Guyana", "Samoa", "Botswana"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "640000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"640000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Botswana"}, {"question": "What is the connection between Hugo (whose ISNI is 0000 0003 5613 1723) and London (whose nighttime view is a Panorama of the City of London during The Shard\u2019s opening laser show.jpg)?", "choices": ["place of birth", "derivative work", "official residence", "field of this occupation", "chairperson", "territory claimed by", "student", "basic form of government", "residence", "material used"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugo"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 5613 1723"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["nighttime view", "Panorama of City of London during The Shard\u2019s opening laser show.jpg"]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hugo\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0003 5613 1723\" . ?e_2 <pred:name> \"London\" . ?e_2 <nighttime_view> ?pv_1 . ?pv_1 <pred:value> \"Panorama of City of London during The Shard\u2019s opening laser show.jpg\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Does New York University or Sciences Po have fewer employees?", "choices": ["King's College London", "Panjab University", "McMaster University", "University of Michigan", "Sciences Po", "University of Queensland", "San Diego State University", "New York University", "Birkbeck, University of London", "University of Melbourne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York University"]}, {"function": "Find", "dependencies": [], "inputs": ["Sciences Po"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New York University\" .  } UNION { ?e <pred:name> \"Sciences Po\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sciences Po"}, {"question": "Is the elevation above sea level not 530 metres for the higher education institution whose CRICOS Provider Code is 00098G?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CRICOS Provider Code", "00098G"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["530 metre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <CRICOS_Provider_Code> ?pv_1 . ?pv_1 <pred:value> \"00098G\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"530\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does ISNI # 0000 0001 2101 6472 apply to the Indian state where Tamil is situated?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tamil"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2101 6472"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Tamil\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2101 6472\" .  }", "answer": "no"}, {"question": "What is the ISNI of the person who is the founder of Alternative Tentacles?", "choices": ["0000 0001 2146 6844", "0000 0001 0776 8432", "0000 0001 0899 5557", "0000 0004 0407 9596", "0000 0001 0930 8974", "0000 0001 2142 1857", "0000 0001 2179 088X", "0000 0001 2281 9752", "0000 0001 1469 3467", "0000 0003 6858 9213"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alternative Tentacles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["found", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <found> ?e_1 . ?e_1 <pred:name> \"Alternative Tentacles\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 0776 8432"}, {"question": "How many miniseries began before 2003?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2003", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2003 ) .  }", "answer": "16"}, {"question": "Does Kevin McCarthy (who was born on 1957-07-14) weigh under 280 pounds?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kevin McCarthy"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1957-07-14", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["mass"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["280 pound", "<"]}], "sparql": "ASK { ?e <pred:name> \"Kevin McCarthy\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1957-07-14\"^^xsd:date . ?e <mass> ?pv . ?pv <pred:unit> \"pound\" . ?pv <pred:value> ?v . FILTER ( ?v < \"280\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Is the subreddit for New Hampshire's 1st congressional district called NewHampshire1st?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Hampshire's 1st congressional district"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["subreddit"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["NewHampshire1st"]}], "sparql": "ASK { ?e <pred:name> \"New Hampshire's 1st congressional district\" . ?e <subreddit> ?pv . ?pv <pred:value> \"NewHampshire1st\" .  }", "answer": "yes"}, {"question": "How many seasons did the TV series with cast member Joseph Gordon-Levitt run?", "choices": ["3", "43", "22", "1", "66", "4", "5", "15", "6", "2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Gordon-Levitt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Joseph Gordon-Levitt\" .  ?e <number_of_seasons> ?pv .  }", "answer": "6"}, {"question": "Which visual artwork with the official website www.miramax.com/movie/the-lookout was produced by Spyglass Entertainment?", "choices": ["Invictus", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "The Fifth Element", "The Lookout", "The Love Guru", "Star Trek", "Evan Almighty", "Training Day"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/the-lookout"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Spyglass Entertainment"]}, {"function": "Relate", "dependencies": [3], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/the-lookout\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Spyglass Entertainment\" .  }", "answer": "The Lookout"}, {"question": "Of administrative territorial entities with a population below 7100, which occupies the least area?", "choices": ["Cass County", "Orange County", "Turks and Caicos Islands", "Clark County", "Falkland Islands", "Delaware County", "African Union", "Essex County", "Washoe County", "Douglas County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7100", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"7100\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Turks and Caicos Islands"}, {"question": "How is Warwickshire related to Northamptonshire?", "choices": ["platform", "next lower rank", "student", "next higher rank", "territory claimed by", "operator", "screenwriter", "shares border with", "from fictional universe", "league"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warwickshire"]}, {"function": "Find", "dependencies": [], "inputs": ["Northamptonshire"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Warwickshire\" . ?e_2 <pred:name> \"Northamptonshire\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is 1984 not the year that Providence County was established?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Providence County"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1984", "!="]}], "sparql": "ASK { ?e <pred:name> \"Providence County\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1984 ) .  }", "answer": "yes"}, {"question": "What public university has IPv6 routing prefix 2001:7c0:100::/48 and whose budget is not 179000000 euro?", "choices": ["King's College London", "Ludwig Maximilian University of Munich", "San Diego State University", "University of Freiburg", "Free University of Berlin", "Humboldt University of Berlin", "University of Jena", "University of Michigan", "McMaster University", "Birkbeck, University of London"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv6 routing prefix", "2001:7c0:100::/48"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["budget", "179000000 euro", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <IPv6_routing_prefix> ?pv . ?pv <pred:value> \"2001:7c0:100::/48\" . ?e <budget> ?pv_1 . ?pv_1 <pred:unit> \"euro\" . ?pv_1 <pred:value> ?v . FILTER ( ?v != \"179000000\"^^xsd:double ) .  }", "answer": "University of Freiburg"}, {"question": "What is the connection between Ghost Rider (the one that has the occupation of accountant) to healing factor?", "choices": ["registered with", "different from", "film editor", "film distribute region", "superhuman feature or ability", "connects with", "indigenous to", "cites", "programming paradigm", "affiliation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["accountant"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ghost Rider"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["healing factor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ghost Rider\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"accountant\" . ?e_2 <pred:name> \"healing factor\" . ?e_1 ?p ?e_2 .  }", "answer": "superhuman feature or ability"}, {"question": "Is 364 the Dewey Decimal Classification of Medina (the one whose official website is http://www.amana-md.gov.sa/)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Medina"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.amana-md.gov.sa/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Dewey Decimal Classification"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["364"]}], "sparql": "ASK { ?e <pred:name> \"Medina\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.amana-md.gov.sa/\" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"364\" .  }", "answer": "no"}, {"question": "What is the number of liberal arts colleges with the location Kolkata or that has an Instagram username of carletoncollege", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kolkata"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["liberal arts college"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Instagram username", "carletoncollege"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["liberal arts college"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"liberal arts college\" .  { ?e <location> ?e_1 . ?e_1 <pred:name> \"Kolkata\" .  } UNION { ?e <Instagram_username> ?pv . ?pv <pred:value> \"carletoncollege\" .  } }", "answer": "2"}, {"question": "Is 2001:630:22::/48 the IPv6 routing prefix of the higher education institution headquartered in Liverpool whose NUTS code is UKD72?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "UKD72"]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["IPv6 routing prefix"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["2001:630:22::/48"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Liverpool\" . ?e_1 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"UKD72\" . ?e <IPv6_routing_prefix> ?pv . ?pv <pred:value> \"2001:630:22::/48\" .  }", "answer": "no"}, {"question": "How many Academy Awards have official website https://www.oscars.org/ or were nominated to My Fair Lady?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.oscars.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards"]}, {"function": "Find", "dependencies": [], "inputs": ["My Fair Lady"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.oscars.org/\" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"My Fair Lady\" .  } }", "answer": "10"}, {"question": "How many German states have a population other than 3900 or have warred with the Kingdom of Portugal?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3900", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Portugal"]}, {"function": "Relate", "dependencies": [3], "inputs": ["military conflicts", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of Germany"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"3900\"^^xsd:double ) .  } UNION { ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> \"Kingdom of Portugal\" .  } }", "answer": "12"}, {"question": "When did Oliver Cromwell become a citizen of England (the one that is replaced by Kingdom of Great Britain)?", "choices": ["1941", "2014-10-28", "2009-01-01", "1955-12-14", "2018-06-28", "1917-07-31", "1999-06-09", "2002-09-27", "1664-05-04", "1961-12-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oliver Cromwell"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Great Britain"]}, {"function": "Relate", "dependencies": [1], "inputs": ["replaces", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["country of citizenship", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Oliver Cromwell\" . ?e_2 <pred:name> \"England\" . ?e_3 <replaces> ?e_2 . ?e_3 <pred:name> \"Kingdom of Great Britain\" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2018-06-28"}, {"question": "How many animated movies were released post-2010 or are represented by the website www.fujitv.co.jp/b_hp/chrono/index.html?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2010", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.fujitv.co.jp/b_hp/chrono/index.html"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2010 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fujitv.co.jp/b_hp/chrono/index.html\" .  } }", "answer": "6"}, {"question": "What film has Irene Lentz as a cast member and the title of The Merry Widow?", "choices": ["A Prairie Home Companion", "Talk to Her", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Rope", "The Merry Widow", "Pleasantville", "Training Day", "The Towering Inferno", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irene Lentz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "The Merry Widow"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Irene Lentz\" .  ?e <title> ?pv . ?pv <pred:value> \"The Merry Widow\" .  }", "answer": "The Merry Widow"}, {"question": "When were there 68107 people in Armstrong County?", "choices": ["1849", "1830-01-01", "1990-10-01", "2004-02-18", "1025", "2013-07-01", "1997", "1935-12-31", "1986-12-01", "1980-05-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Armstrong County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "68107", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Armstrong County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"68107\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "Is http://www.rodstewart.com/ the official website of the film that follows Twin Peaks: Fire Walk with Me (whose release date is 1992-08-07)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Twin Peaks: Fire Walk with Me"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1992-08-07", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.rodstewart.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> \"Twin Peaks: Fire Walk with Me\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1992-08-07\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.rodstewart.com/\" .  }", "answer": "no"}, {"question": "How many subscribers does the user, the rock band with the ISNI of 0000 0001 0675 264X, have for its Twitter username of damnedtwits?", "choices": ["12", "2052696", "654931", "17496", "45157", "344059", "29117151", "11258215", "58498", "6824"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0675 264X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "damnedtwits", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0675 264X\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"damnedtwits\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "17496"}, {"question": "What point in time was The Rolling Stones nominated for the MTV Video Music Award for Best Visual Effects?", "choices": ["2011-10-19", "1975-04-08", "2004-12-20", "1995", "2006-11-01", "2005-12-01", "1995-12-31", "1984", "1620", "2009-06-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Rolling Stones"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Visual Effects"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Rolling Stones\" . ?e_2 <pred:name> \"MTV Video Music Award for Best Visual Effects\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1995"}, {"question": "Which one, between Rockingham County and its shared border with Albermarle County, or Northampton County with its FIPS 6-4 (US counties) of 51131, has the larger area size?", "choices": ["Greene County", "Prince William County", "Albemarle County", "Rockingham County", "Fairfax County", "Loudoun County", "Augusta County", "Henrico County", "Warren County", "Northampton County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northampton County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "51131"]}, {"function": "Find", "dependencies": [], "inputs": ["Albemarle County"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rockingham County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Northampton County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"51131\" . } UNION { ?e <pred:name> \"Rockingham County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Albemarle County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rockingham County"}, {"question": "Tell me the visual artwork that is a common property of the organization that has GeoNames feature code is S.HTL", "choices": ["Darwin", "The Towering Inferno", "V for Vendetta", "Prometheus", "Rebecca", "A Prairie Home Companion", "Curse of the Golden Flower", "Pleasantville", "Training Day", "Talk to Her"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GeoNames feature code", "S.HTL"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_1 <GeoNames_feature_code> ?pv . ?pv <pred:value> \"S.HTL\" .   }", "answer": "V for Vendetta"}, {"question": "Is the exploitation visa number of Tarzan, which lasts 88 minutes, 37355?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "88 minute", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["exploitation visa number"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["37355"]}], "sparql": "ASK { ?e <pred:name> \"Tarzan\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"88\"^^xsd:double . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"37355\" .  }", "answer": "no"}, {"question": "Which has less area, Madison County whose FIPS 6-4 (US counties) is 47113 or Falkirk whose FIPS 10-4 (countries and regions) is UKU9?", "choices": ["Kent County", "Madison County", "Falkirk", "Cass County", "San Juan County", "Greene County", "Washoe County", "Lee County", "Delaware County", "African Union"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "47113"]}, {"function": "Find", "dependencies": [], "inputs": ["Falkirk"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["FIPS 10-4 (countries and regions)", "UKU9"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Madison County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"47113\" . } UNION { ?e <pred:name> \"Falkirk\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> \"UKU9\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falkirk"}, {"question": "What is the relation between Marvin Hatley and the Academy Award for Best Original Score?", "choices": ["mouth of the watercourse", "political alignment", "parent club", "location of formation", "given name", "copyright holder", "soundtrack album", "nominated for", "has cause", "voice type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marvin Hatley"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Marvin Hatley\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "When was the movie whose video is Dressed to Kill (1946).webm published?", "choices": ["1939-12-15", "2007-11-27", "1984-10-26", "1946-01-01", "1999-03-26", "1963-03-28", "2014-10-25", "1999-12-23", "2001-03-07", "2007-04-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["video", "Dressed to Kill (1946).webm"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <video> ?pv_1 . ?pv_1 <pred:value> \"Dressed to Kill (1946).webm\" . ?e <publication_date> ?pv .  }", "answer": "1946-01-01"}, {"question": "Is the population of the North Carolina county having the ISNI 0000 0004 0512 087X more than 2000000000 on the date 2010-04-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0512 087X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of North Carolina"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2010-04-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["2000000000", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0512 087X\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2000000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2010-04-01\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the release region of the visual artwork that is a well-known work of Adam Sandler and has the release date 2003-04-17?", "choices": ["Portal:Belgium", "Sundance Film Festival", "United Arab Emirates", "German Democratic Republic", "Westwood", "Serbia", "Lebanon", "Germany", "Tokyo", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam Sandler"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2003-04-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Adam Sandler\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2003-04-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which website represents the award for literature nominated to Fritz Leiber Junior in 1977?", "choices": ["http://www.cincinnati-oh.gov", "http://www.sayajishinde.com/", "http://www.umgnashville.com/", "http://nebulas.sfwa.org/", "https://www.brugge.be", "http://www.some.ox.ac.uk/", "http://www.bretagne.bzh", "http://www.waitakereunited.co.nz/", "http://www.newscorp.com", "http://www.domino-lefilm.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fritz Leiber Junior"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1977", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["literary award"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Fritz Leiber Junior\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1977 . ?e <official_website> ?pv .  }", "answer": "http://nebulas.sfwa.org/"}, {"question": "How many ethnic communities are there with the population of over 96,000 or less than 96,000,000 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "96000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic community"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "96000000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic community"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic community\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"96000\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"96000000\"^^xsd:double ) .  } }", "answer": "1"}, {"question": "What is the relationship between WWE SmackDown and The CW?", "choices": ["said to be the same as", "contributor(s) to the creative work", "programming language", "language of work or name", "affiliation", "original network", "developer", "fabrication method", "place of publication", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WWE SmackDown"]}, {"function": "Find", "dependencies": [], "inputs": ["The CW"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"WWE SmackDown\" . ?e_2 <pred:name> \"The CW\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "Which movie is longer, Superman III or Sideways?", "choices": ["The Hunchback of Notre Dame", "Pleasantville", "The Fifth Element", "Rebecca", "Training Day", "Sideways", "The Towering Inferno", "Superman III", "Curse of the Golden Flower", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman III"]}, {"function": "Find", "dependencies": [], "inputs": ["Sideways"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Superman III\" .  } UNION { ?e <pred:name> \"Sideways\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sideways"}, {"question": "Does the Twitter handle lcfc belong to the soccer club with the German-language website www.bscyb.ch?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.bscyb.ch/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "German"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["lcfc"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.bscyb.ch/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"German\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"lcfc\" .  }", "answer": "no"}, {"question": "What U.S. city is the capital of Cache County and has local dialing code 435?", "choices": ["Boulder", "Lansing", "New Haven", "Compton", "Franklin", "Waukegan", "Columbus", "Oakland", "Logan", "New Britain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cache County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["local dialing code", "435"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Cache County\" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> \"435\" .  }", "answer": "Logan"}, {"question": "What is the FIPS 10-4 (countries and regions) of Minnesota (the one that shares border with North Dakota)?", "choices": ["IT18", "MX06", "US31", "US27", "GL", "VT", "FM", "JA19", "US29", "IT07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Dakota"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 10-4 (countries and regions)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Minnesota\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"North Dakota\" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }", "answer": "US27"}, {"question": "Which movie is longer, Quills or Ghost?", "choices": ["The Fifth Element", "Ghost", "Pleasantville", "Quills", "Rebecca", "Training Day", "Curse of the Golden Flower", "Talk to Her", "A Prairie Home Companion", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quills"]}, {"function": "Find", "dependencies": [], "inputs": ["Ghost"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quills\" .  } UNION { ?e <pred:name> \"Ghost\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Quills"}, {"question": "Who is the person whose date of birth is on 1940-12-03?", "choices": ["William Henry Harrison", "Napoleon", "KRS-One", "Sylvester Stallone", "Richard Gere", "Stanley Clarke", "Max Fleischer", "Ginger Rogers", "Mel Gibson", "Russ Meyer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1940-12-03", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1940-12-03\"^^xsd:date .  }", "answer": "Mel Gibson"}, {"question": "What visual artwork was directed by Tony Scott (whose Munzinger IBA is 00000024054) and has a cast member named Anna Gunn?", "choices": ["Red State", "Pleasantville", "A Prairie Home Companion", "Talk to Her", "Domino", "Enemy of the State", "Training Day", "Rebecca", "The Fifth Element", "Spy Game"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tony Scott"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000024054"]}, {"function": "Relate", "dependencies": [1], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Gunn"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Tony Scott\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000024054\" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Anna Gunn\" .  }", "answer": "Enemy of the State"}, {"question": "What is the number of Ireland counties that have a population not exactly 1700000000 or that is where Jorma Taccone died?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1700000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "Find", "dependencies": [], "inputs": ["Jorma Taccone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of death", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Ireland"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"1700000000\"^^xsd:double ) .  } UNION { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Jorma Taccone\" .  } }", "answer": "15"}, {"question": "Who is the person who owns the painting that has an inventory number of 47.106", "choices": ["David Byrne", "Rahul Dev Burman", "Joss Whedon", "Max Fleischer", "William Henry Harrison", "Louis XIV of France", "Sylvester Stallone", "David Banner", "Elizabeth Sarnoff", "Gertrude Stein"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["inventory number", "47.106"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["painting"]}, {"function": "Relate", "dependencies": [2], "inputs": ["owner of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <owner_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"painting\" . ?e_1 <inventory_number> ?pv . ?pv <pred:value> \"47.106\" .   }", "answer": "Gertrude Stein"}, {"question": "What relation exists from the 1952 Winter Olympics to the 1948 Winter Olympics?", "choices": ["religion", "student of", "studied by", "series spin-off", "properties for this type", "residence", "followed by", "enclave within", "located on terrain feature", "legal form"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1948 Winter Olympics"]}, {"function": "Find", "dependencies": [], "inputs": ["1952 Winter Olympics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1948 Winter Olympics\" . ?e_2 <pred:name> \"1952 Winter Olympics\" . ?e_1 ?p ?e_2 .  }", "answer": "followed by"}, {"question": "Which has the smallest watershed area among the rivers whose watershed area is less than 810000 square kilometres?", "choices": ["Rhine", "Ohio River", "Mississippi River", "Hudson River", "Missouri River", "Danube", "River Thames", "2012 Summer Olympics", "Columbia River", "Amazon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["watershed area", "810000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["watershed area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <watershed_area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"810000\"^^xsd:double ) . ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "River Thames"}, {"question": "Was the individual whose CANTIC-ID is a1164784x born later than 1916?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1164784x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1916", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1164784x\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1916 ) .  }", "answer": "yes"}, {"question": "What position does a person with ISNI  0000 0000 2566 9916 hold  (the class of this statement is Committee on Government Operations)   ?", "choices": ["soldier", "bishop", "chancellor", "dean", "crown prince", "Vice President of the United States", "First Lady of the United States", "chairperson", "Master", "Holy Roman Emperor"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 2566 9916"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["position held", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["instance of", "Committee on Government Operations"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["position"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"position\" . ?e_1 <position_held> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 2566 9916\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e ] <instance_of> ?qpv . ?qpv <pred:value> \"Committee on Government Operations\" .  }", "answer": "chairperson"}, {"question": "Was an award, with Filmfare Award for Best Supporting Actor, as the native label, created not in 1297 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Filmfare Award for Best Supporting Actor"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1297", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Filmfare Award for Best Supporting Actor\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1297 ) .  }", "answer": "yes"}, {"question": "Where was The Sting, which received the Academy Award for Best Writing, Original Screenplay, published on 1974-04-11?", "choices": ["Spain", "Sorrento", "Germany", "Indonesia", "Thailand", "Ukraine", "New York", "Czech Republic", "Croatia", "Switzerland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sting"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1974-04-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Sting\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1974-04-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Olivia Wilde to Jason Sudeikis?", "choices": ["found", "this taxon is source of", "culture", "approved by", "partner", "professional or sports partner", "screenwriter", "has effect", "foundational text", "organisation directed from the office or person"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Olivia Wilde"]}, {"function": "Find", "dependencies": [], "inputs": ["Jason Sudeikis"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Olivia Wilde\" . ?e_2 <pred:name> \"Jason Sudeikis\" . ?e_1 ?p ?e_2 .  }", "answer": "partner"}, {"question": "Which has a lesser duration, The World's Fastest Indian or The Proposition (which has John Hurt as a cast member)?", "choices": ["Curse of the Golden Flower", "The Fifth Element", "Talk to Her", "The Hunchback of Notre Dame", "A Prairie Home Companion", "The Towering Inferno", "The World's Fastest Indian", "The Proposition", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The World's Fastest Indian"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hurt"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Proposition"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The World's Fastest Indian\" .  } UNION { ?e <pred:name> \"The Proposition\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"John Hurt\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Proposition"}, {"question": "How is Bucharest related to Atlanta, birthplace of Kelly Rowland?", "choices": ["stated in", "office held by head of the organisation", "located in or next to body of water", "presenter", "published in", "twinned administrative body", "from fictional universe", "update method", "family name", "residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bucharest"]}, {"function": "Find", "dependencies": [], "inputs": ["Kelly Rowland"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlanta"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bucharest\" . ?e_2 <pred:name> \"Atlanta\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Kelly Rowland\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What was the legislative term of James K. Polk?", "choices": ["35th Canadian Parliament", "19th United States Congress", "105th United States Congress", "31st United States Congress", "40th Canadian Parliament", "39th Canadian Parliament", "110th United States Congress", "25th United States Congress", "32nd United States Congress", "103rd United States Congress"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James K. Polk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"James K. Polk\" .   }", "answer": "25th United States Congress"}, {"question": "How many areas of London or either different from the City of Westminster or have an OS grid reference of TQ315755?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["City of Westminster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["area of London"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OS grid reference", "TQ315755"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["area of London"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> \"City of Westminster\" .  } UNION { ?e <OS_grid_reference> ?pv . ?pv <pred:value> \"TQ315755\" .  } }", "answer": "2"}, {"question": "How many political parties were either involved in the Lebanon War or were a part of the Labour Party, the one with 201293 members?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lebanon War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "Find", "dependencies": [], "inputs": ["Labour Party"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["member count", "201293", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["political party"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" .  { ?e_1 <participant> ?e . ?e_1 <pred:name> \"Lebanon War\" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Labour Party\" . ?e_1 <member_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"201293\"^^xsd:double .  } }", "answer": "2"}, {"question": "Does Anger Management (the one that has Woody Harrelson as a cast member) or The Other Boleyn Girl have greater duration?", "choices": ["Anger Management", "Training Day", "The Other Boleyn Girl", "The Hunchback of Notre Dame", "Talk to Her", "The Towering Inferno", "A Prairie Home Companion", "Pleasantville", "The Fifth Element", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Woody Harrelson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anger Management"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Other Boleyn Girl"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anger Management\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Woody Harrelson\" .   } UNION { ?e <pred:name> \"The Other Boleyn Girl\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Other Boleyn Girl"}, {"question": "When was the person with ISNI 0000 0001 1480 5430 born?", "choices": ["1935-01-22", "1940-09-15", "1940-11-12", "1969-01-05", "1987-05-22", "1958-06-10", "1963", "1897-06-19", "1958-02-24", "1892-06-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1480 5430"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1480 5430\" . ?e <date_of_birth> ?pv .  }", "answer": "1935-01-22"}, {"question": "Which has the smallest area among the county of New jersey that shares border with Cumberland County whose population is 156898", "choices": ["Morris County", "Burlington County", "Cape May County", "Passaic County", "Monmouth County", "Gloucester County", "Cumberland County", "Bergen County", "Hunterdon County", "Hudson County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cumberland County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "156898", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New Jersey"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Cumberland County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"156898\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gloucester County"}, {"question": "When was the David Kaye who goes by davidakaye on Twitter hired by the University of California, Irvine?", "choices": ["2001-09-09", "1961", "1936-08-01", "-277", "1990-04-23", "1994-06-06", "1983-11-08", "1945-01-20", "1936-03-25", "2012"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Kaye"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "davidakaye"]}, {"function": "Find", "dependencies": [], "inputs": ["University of California, Irvine"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["employer", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Kaye\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"davidakaye\" . ?e_2 <pred:name> \"University of California, Irvine\" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2012"}, {"question": "Was the person whose ISNI is 0000 0000 7828 4294 born after 1938?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7828 4294"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1938", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7828 4294\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1938 ) .  }", "answer": "yes"}, {"question": "Tell me the number of subscribers for Brandon Small who has a Twitter username _Brendonsmall.", "choices": ["39012", "4477925", "1544", "141643", "44689", "47318", "266506", "867361", "982839", "203"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brendon Small"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "_Brendonsmall", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Brendon Small\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"_Brendonsmall\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "47318"}, {"question": "Which person was influenced by Red Hot Chili Peppers?", "choices": ["Bill Murray", "Salman Rushdie", "Sylvester Stallone", "Max Fleischer", "William Henry Harrison", "Thelonious Monk", "Jean Simmons", "Richard Gere", "Shakira", "Kevin Garnett"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Hot Chili Peppers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> \"Red Hot Chili Peppers\" .   }", "answer": "Shakira"}, {"question": "Is the TOID 4000000074559324 for Stockton-on-Tees (whose local dialing code is 01642)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stockton-on-Tees"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "01642"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["TOID"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["4000000074559324"]}], "sparql": "ASK { ?e <pred:name> \"Stockton-on-Tees\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"01642\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074559324\" .  }", "answer": "yes"}, {"question": "What is the number of currencies that have the TeX string \\EURcr or the PermID 500186?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TeX string", "\\EURcr"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["currency"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["PermID", "500186"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["currency"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"currency\" .  { ?e <TeX_string> ?pv . ?pv <pred:value> \"\\\\EURcr\" .  } UNION { ?e <PermID> ?pv . ?pv <pred:value> \"500186\" .  } }", "answer": "2"}, {"question": "Which cast member of The Tudors has the birth name of Jeremy Philip Northam?", "choices": ["Max von Sydow", "Sylvester Stallone", "Joss Stone", "William Henry Harrison", "Sam Neill", "Joely Richardson", "Max Fleischer", "Jeremy Northam", "Peter O'Toole", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Tudors"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Jeremy Philip Northam"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Tudors\" .  ?e <birth_name> ?pv . ?pv <pred:value> \"Jeremy Philip Northam\" .  }", "answer": "Jeremy Northam"}, {"question": "What is the title for the Charlie's Angels which has Drew Barrymore as an executive producer?", "choices": ["Beloved", "Hereafter", "The Hunchback of Notre Dame", "Lost Highway", "Any Given Sunday", "Ted", "Charlie's Angels", "Interview with the Vampire", "Mindscape", "La Quatri\u00e8me Dimension"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Drew Barrymore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["executive producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Charlie's Angels\" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"Drew Barrymore\" .  ?e <title> ?pv .  }", "answer": "Charlie's Angels"}, {"question": "Who won Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series and that is a cast member of Deadwood ?", "choices": ["Bryan Batt", "Garret Dillahunt", "Anna Gunn", "Brad Dourif", "Dan Stevens", "Jimmy Smits", "Michelle Rodriguez", "Titus Welliver", "Powers Boothe", "Nancy Marchand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Deadwood"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"Deadwood\" .  }", "answer": "Anna Gunn"}, {"question": "Which play was published in 1976?", "choices": ["Hamlet", "Network", "Carrie", "Evita", "West Side Story", "Ramones", "The Crucible", "Beauty and the Beast", "Blondie", "The Cassandra Crossing"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1976", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["play"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"play\" . ?e <publication_date> ?pv . ?pv <pred:year> 1976 .  }", "answer": "Evita"}, {"question": "How many organizations are a parent of Universal Music Group or do not have 5800000 patrons?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Universal Music Group"]}, {"function": "Relate", "dependencies": [0], "inputs": ["subsidiary", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["patronage", "5800000", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" .  { ?e <subsidiary> ?e_1 . ?e_1 <pred:name> \"Universal Music Group\" .  } UNION { ?e <patronage> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5800000\"^^xsd:double ) .  } }", "answer": "8"}, {"question": "Does the ISNI 0000 0001 2023 7011 belong to the city that is the capital of Albania?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2023 7011"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Albania\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2023 7011\" .  }", "answer": "no"}, {"question": "How many forms of soul music were created post-1957 or in any year but 1965?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1957", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soul music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1965", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soul music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soul music\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1957 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1965 ) .  } }", "answer": "4"}, {"question": "Is 0000 0001 1471 4707 the ISNI of Susannah York>", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Susannah York"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1471 4707"]}], "sparql": "ASK { ?e <pred:name> \"Susannah York\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1471 4707\" .  }", "answer": "yes"}, {"question": "What capital is located in Jiangsu?", "choices": ["Sarajevo", "Riga", "Mexico City", "Lausanne", "Nanjing", "Baku", "Paris", "Suzhou", "Nairobi", "Doha"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jiangsu"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["capital"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Jiangsu\" .   }", "answer": "Nanjing"}, {"question": "Ricky Skaggs is related in what way to the role of guitarist?", "choices": ["foundational text", "candidate", "honorific prefix", "derivative work", "nominated for", "medical treatment", "occupation", "geographic distribution", "season starts", "studied by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ricky Skaggs"]}, {"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ricky Skaggs\" . ?e_2 <pred:name> \"guitarist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the running time of Sunday, Bloody Sunday?", "choices": ["95 minute", "125 minute", "110 minute", "184 minute", "133 minute", "293 minute", "20 minute", "165 minute", "2359 second", "432 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sunday, Bloody Sunday"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Sunday, Bloody Sunday\" . ?e <duration> ?pv .  }", "answer": "110 minute"}, {"question": "Adam Smith of Aldershot Town F.C. was a member of Chesterfield F.C. until which date?", "choices": ["2022-03-31", "2001", "2015-12-25", "1723-02-25", "2004-05-16", "1997-07-12", "2003-01-03", "2010-11-17", "2011-11-27", "2008-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aldershot Town F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adam Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chesterfield F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Adam Smith\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Aldershot Town F.C.\" . ?e_2 <pred:name> \"Chesterfield F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2008-01-01"}, {"question": "When did Carly Simon marry James Taylor, a winner at the 2002 Grammy Awards?", "choices": ["1980-01-01", "2009-09-27", "1976", "1821-08-10", "2005-07-22", "-509", "2008-06-03", "2006-01-01", "1430-03-29", "1426-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carly Simon"]}, {"function": "Find", "dependencies": [], "inputs": ["2002 Grammy Awards"]}, {"function": "Relate", "dependencies": [1], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["James Taylor"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Carly Simon\" . ?e_2 <pred:name> \"James Taylor\" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> \"2002 Grammy Awards\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1976"}, {"question": "What is the relationship between Midnight in the Garden of Good and Evil and James Gandolfini?", "choices": ["commander of", "practiced by", "home port", "dialect of", "interested in", "military branch", "sports season of league or competition", "official symbol", "dissertation submitted to", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midnight in the Garden of Good and Evil"]}, {"function": "Find", "dependencies": [], "inputs": ["James Gandolfini"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Midnight in the Garden of Good and Evil\" . ?e_2 <pred:name> \"James Gandolfini\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the connection between Second Crusade to Crusade (the one that has First Crusade as a part)?", "choices": ["genre", "notable work", "home venue", "dedicated to", "draft pick from school", "languages spoken, written or signed", "part of", "military branch", "cause of death", "main food source"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second Crusade"]}, {"function": "Find", "dependencies": [], "inputs": ["First Crusade"]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crusade"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Second Crusade\" . ?e_2 <pred:name> \"Crusade\" . ?e_3 <part_of> ?e_2 . ?e_3 <pred:name> \"First Crusade\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "Who coined the nickname Captain Marvel for the person that owns the Charlotte Hornets?", "choices": ["audience", "Lester Young", "Dennis Rodman", "Fred Stabley Jr.", "John Salley", "Spike Lee", "Tony Barrow", "Mars Blackmon", "Johnny Kerr", "Juanita Vanoy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte Hornets"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nickname", "Captain Marvel", "named by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <owner_of> ?e_1 . ?e_1 <pred:name> \"Charlotte Hornets\" .  ?e <nickname> ?pv . ?pv <pred:value> \"Captain Marvel\" . [ <pred:fact_h> ?e ; <pred:fact_r> <nickname> ; <pred:fact_t> ?pv ] <named_by> ?qpv .  }", "answer": "Johnny Kerr"}, {"question": "A population tally of 186494 indicates Peoria County, which is also indicated by what time point?", "choices": ["2009-05-31", "1998-03-23", "1467-01-01", "1375", "1834-12-03", "2017-04-06", "2010-04-01", "1987", "1916", "2016-07-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peoria County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "186494", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Peoria County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"186494\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "What is the official website of Aleppo?", "choices": ["http://www.napalmrecords.com", "http://www.arrahman.com", "http://www.ealeppo.sy", "http://www.50-50themovie.com", "http://www.bethlehem-pa.gov/", "http://americanrecordings.com", "http://www.ucnj.org", "http://davidgilmour.com/", "http://www.jeffersoncountywv.org", "http://www.bocajuniors.com.ar/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aleppo"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Aleppo\" . ?e <official_website> ?pv .  }", "answer": "http://www.ealeppo.sy"}, {"question": "How is New Age connected to Erykah Badu?", "choices": ["military branch", "connects with", "commander of", "exclave of", "copyright holder", "official residence", "famous people", "worshipped by", "afflicts", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Age"]}, {"function": "Find", "dependencies": [], "inputs": ["Erykah Badu"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"New Age\" . ?e_2 <pred:name> \"Erykah Badu\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What does Dressed to Kill (which has William Demarest as a cast member) have to do with Richard Day?", "choices": ["production designer", "next higher rank", "update method", "place of burial", "located in or next to body of water", "award received", "field of work", "military casualty classification", "has dialect (DEPRECATED)", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Demarest"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dressed to Kill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Richard Day"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dressed to Kill\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"William Demarest\" . ?e_2 <pred:name> \"Richard Day\" . ?e_1 ?p ?e_2 .  }", "answer": "production designer"}, {"question": "When did Giuseppe Colucci become a member of Brescia Calcio?", "choices": ["1931-06-16", "2007-01-05", "2015-08-03", "2010-01-27", "1453", "2011-05-13", "1987-09-29", "2003-01-01", "1861-05-20", "1958-12-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Giuseppe Colucci"]}, {"function": "Find", "dependencies": [], "inputs": ["Brescia Calcio"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Giuseppe Colucci\" . ?e_2 <pred:name> \"Brescia Calcio\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2003-01-01"}, {"question": "Is the ISNI of David Foster (the one that is educated at Australian National University) 0000 0001 2100 6418?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australian National University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 2100 6418"]}], "sparql": "ASK { ?e <pred:name> \"David Foster\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Australian National University\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2100 6418\" .  }", "answer": "no"}, {"question": "What is the ISNI of the person educated at DePauw University?", "choices": ["0000 0001 0887 0578", "0000 0001 1450 1568", "0000 0001 1680 3164", "0000 0004 0617 4335", "0000 0004 2518 4758", "0000 0001 1439 1784", "0000 0001 2243 0413", "0000 0001 2122 4298", "0000 0000 5119 3149", "0000 0001 1543 9866"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DePauw University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"DePauw University\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 5119 3149"}, {"question": "Bucharest is related in what way to Istanbul, population 13854740?", "choices": ["cites", "developer", "twinned administrative body", "color", "fictional universe described in", "broadcast by", "organizer", "main food source", "geography of topic", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bucharest"]}, {"function": "Find", "dependencies": [], "inputs": ["Istanbul"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "13854740", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bucharest\" . ?e_2 <pred:name> \"Istanbul\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"13854740\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "At which Golden Globe Award ceremony did the human receive whose Twitter username is shondarhimes?", "choices": ["68th Golden Globe Awards", "55th Golden Globe Awards", "64th Golden Globe Awards", "57th Golden Globe Awards", "28th Golden Globe Awards", "60th Golden Globe Awards", "59th Golden Globe Awards", "66th Golden Globe Awards", "67th Golden Globe Awards", "56th Golden Globe Awards"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "shondarhimes"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["Golden Globe Award ceremony"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Globe Award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"shondarhimes\" .   }", "answer": "64th Golden Globe Awards"}, {"question": "February (the one that is followed by March) is named after white cabbage, what language is associated with this creative work for its name?", "choices": ["Occitan", "Afrikaans", "Italian", "Old English", "Indonesian", "Valencian", "Nynorsk", "Xhosa", "Korean", "Spanish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["March"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["February"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["white cabbage"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["named after", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"February\" . ?e_1 <followed_by> ?e_3 . ?e_3 <pred:name> \"March\" . ?e_2 <pred:name> \"white cabbage\" . ?e_1 <named_after> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_2 ] <language_of_work_or_name> ?qpv .  }", "answer": "Old English"}, {"question": "Is 0000 0000 7364 9645 the ISNI for James Wong ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Wong"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 7364 9645"]}], "sparql": "ASK { ?e <pred:name> \"James Wong\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7364 9645\" .  }", "answer": "no"}, {"question": "Where was the Squid and the Whale (publish date 2006-05-11) published?", "choices": ["Belgium", "Cannes Film Festival", "2008 Toronto International Film Festival", "R\u00e4ttvik", "British Hong Kong", "West Germany", "Greek Theatre, Los Angeles", "Rio de Janeiro", "Pakistan", "Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Squid and the Whale"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2006-05-11", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Squid and the Whale\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2006-05-11\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Styria to Lower Austria?", "choices": ["notable work", "draft pick from school", "operating system", "doctoral student", "inspired by", "languages spoken, written or signed", "destination point", "shares border with", "convicted of", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Styria"]}, {"function": "Find", "dependencies": [], "inputs": ["Lower Austria"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Styria\" . ?e_2 <pred:name> \"Lower Austria\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How is roots rock related to Counting Crows?", "choices": ["official symbol", "item operated", "languages spoken, written or signed", "famous people", "presenter", "organisation directed from the office or person", "fictional universe described in", "place of origin (Switzerland)", "afflicts", "shares border with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["roots rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Counting Crows"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"roots rock\" . ?e_2 <pred:name> \"Counting Crows\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "I want to know the relationship between advertising and marketing.", "choices": ["use", "has part", "performer", "edition or translation of", "political alignment", "official residence", "continent", "office held by head of state", "cites", "substitute/deputy/replacement of office/officeholder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["marketing"]}, {"function": "Find", "dependencies": [], "inputs": ["advertising"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"marketing\" . ?e_2 <pred:name> \"advertising\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "How many Texas counties share a border with Brazoria County and are located in Texas (the narrative location of W.)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brazoria County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "Find", "dependencies": [], "inputs": ["W."]}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Texas"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Brazoria County\" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Texas\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"W.\" .  }", "answer": "3"}, {"question": "Which has less area, Portage County or Butler County (whose population is 371272)?", "choices": ["Stark County", "Wood County", "Erie County", "Summit County", "Butler County", "Wayne County", "Mahoning County", "Tuscarawas County", "Cuyahoga County", "Delaware County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portage County"]}, {"function": "Find", "dependencies": [], "inputs": ["Butler County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "371272", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Portage County\" . } UNION { ?e <pred:name> \"Butler County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"371272\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Butler County"}, {"question": "Does the legislative term that follows the 6th United States Congress, have its start time after 1206?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["6th United States Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1206", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"6th United States Congress\" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1206 ) .  }", "answer": "yes"}, {"question": "Who is taller, Daniel Radcliffe or Jason Isaacs?", "choices": ["Paul Simon", "Simon Cowell", "Richard Gere", "James E. Reilly", "David Byrne", "Rahul Dev Burman", "Sylvester Stallone", "Jason Isaacs", "Daniel Radcliffe", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Daniel Radcliffe"]}, {"function": "Find", "dependencies": [], "inputs": ["Jason Isaacs"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Daniel Radcliffe\" .  } UNION { ?e <pred:name> \"Jason Isaacs\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jason Isaacs"}, {"question": "Is hiihkajat the Instragram of an association football club whose official website is https://newells-store.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://newells-store.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["huuhkajat"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://newells-store.com\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"huuhkajat\" .  }", "answer": "no"}, {"question": "What is the birth name of Daredevil?", "choices": ["Richard Mark Hammond", "\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447 \u042f\u043d\u043e\u0432\u0441\u043a\u0438\u0439", "Hugh John Mungo Grant", "Wasalu Muhammad Jaco", "Milica Bogdanovna Jovovich", "Linda Susan Maria Ronstadt", "Thomas Woodrow Wilson", "Matthew Michael Murdock", "Rachel Anne McAdams", "Zachary David Alexander Efron"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Daredevil"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Daredevil\" . ?e <birth_name> ?pv .  }", "answer": "Matthew Michael Murdock"}, {"question": "Is 0000 0001 1598 280X the ISNI of the person with Munzinger IBA 00000018022?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000018022"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1598 280X"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000018022\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1598 280X\" .  }", "answer": "yes"}, {"question": "Was an album different from The Fall (with the official website https://thefall.xyz) published after 2005  ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Fall"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://thefall.xyz/"]}, {"function": "Relate", "dependencies": [1], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["album"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2005", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"The Fall\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://thefall.xyz/\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  }", "answer": "yes"}, {"question": "Tell me the subject of the statement Mark Johnson (who produced Rain Man), got the Academy Award for Best Picture", "choices": ["Federated States of Micronesia and the United Nations", "Brazil\u2013Suriname border", "Greece\u2013Malta relations", "Guinea-Bissau\u2013North Korea relations", "Ecuador\u2013Iran relations", "Morocco\u2013Russia relations", "Italy\u2013Malta relations", "61st Academy Awards", "Bulgaria\u2013China relations", "China and the World Trade Organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rain Man"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Johnson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mark Johnson\" . ?e_3 <producer> ?e_1 . ?e_3 <pred:name> \"Rain Man\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "61st Academy Awards"}, {"question": "How many New York cities have elevations over -30 metres and have the local dialing code 516?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "-30 metre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["local dialing code", "516"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of New York"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"-30\"^^xsd:double ) . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"516\" .  }", "answer": "2"}, {"question": "What is the association of John Davis (who is in the military branch called the Royal Air Force) with the Royal Air Force?", "choices": ["studied by", "history of topic", "military branch", "home world", "instrument", "publisher", "honorific suffix", "theme music", "symptoms", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Royal Air Force"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military branch", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Royal Air Force"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Davis\" . ?e_1 <military_branch> ?e_3 . ?e_3 <pred:name> \"Royal Air Force\" . ?e_2 <pred:name> \"Royal Air Force\" . ?e_1 ?p ?e_2 .  }", "answer": "military branch"}, {"question": "What is the association of Bury F.C. with Bury (whose OS grid reference is SD805105)?", "choices": ["copyright representative", "notable people with this condition", "twinned administrative body", "public holiday", "sidekick of", "distributor", "territory overlaps", "headquarters location", "has effect", "director/manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bury F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["Bury"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["OS grid reference", "SD805105"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bury F.C.\" . ?e_2 <pred:name> \"Bury\" . ?e_2 <OS_grid_reference> ?pv . ?pv <pred:value> \"SD805105\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Was Hilary Haag born before 1991?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hilary Haag"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1991", "<"]}], "sparql": "ASK { ?e <pred:name> \"Hilary Haag\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) .  }", "answer": "yes"}, {"question": "Austin is the capital of which Texas county in the Texas that belongs to the USA?", "choices": ["Travis County", "Hidalgo County", "Montgomery County", "El Paso County", "Galveston County", "Harris County", "Brazoria County", "Denton County", "McLennan County", "Cameron County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Texas"]}, {"function": "Find", "dependencies": [], "inputs": ["Austin"]}, {"function": "Relate", "dependencies": [6], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Texas"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Texas\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <capital> ?e_3 . ?e_3 <pred:name> \"Austin\" .  }", "answer": "Travis County"}, {"question": "Which movie titled The Heiress features Edith Head as a costume designer?", "choices": ["Pleasantville", "The Nutty Professor", "A Place in the Sun", "Vertigo", "The Heiress", "The Birds", "Talk to Her", "A Prairie Home Companion", "California", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Heiress"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Edith Head"]}, {"function": "Relate", "dependencies": [3], "inputs": ["costume designer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"The Heiress\" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> \"Edith Head\" .  }", "answer": "The Heiress"}, {"question": "What was the retrieval time of the website of the US Dept. of Housing and Urban Development, www.hud.gov?", "choices": ["2017-07-01", "2017-06-16", "2017-09-13", "2018-07-30", "2015-02-17", "2018-09-02", "2015-06-05", "2017-07-11", "2017-06-21", "2018-09-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Department of Housing and Urban Development"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.hud.gov/", "retrieved"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"United States Department of Housing and Urban Development\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.hud.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv .  }", "answer": "2018-09-02"}, {"question": "Where was the film Zero Dark Thirty released on 2013-01-31?", "choices": ["Germany", "Italy", "Park City", "Hungary", "Egypt", "2005 Cannes Film Festival", "Iceland", "Lithuania", "Jordan", "Belgium"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Zero Dark Thirty"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2013-01-31", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Zero Dark Thirty\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2013-01-31\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "When was King County named after Martin Luther King Jr.?", "choices": ["1961", "2005-04-19", "2017-10-06", "1883-01-01", "1905-01-01", "1776-07-04", "1951", "1971-01-25", "1991-11-08", "1997-01-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["King County"]}, {"function": "Find", "dependencies": [], "inputs": ["Martin Luther King Jr."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["named after", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"King County\" . ?e_2 <pred:name> \"Martin Luther King Jr.\" . ?e_1 <named_after> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2005-04-19"}, {"question": "How many short films were not published in 1940?", "choices": ["13", "14", "15", "16", "17", "18", "19", "20", "21", "22"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1940", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1940 ) .  }", "answer": "18"}, {"question": "How are Colleen Atwood and Yakima related?", "choices": ["family name", "time period", "composer", "place of birth", "film crew member", "geography of topic", "distributor", "found", "item operated", "mountain range"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colleen Atwood"]}, {"function": "Find", "dependencies": [], "inputs": ["Yakima"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Colleen Atwood\" . ?e_2 <pred:name> \"Yakima\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What are the number of schools whose DfE URN is 101162 and those that has the occupation of astronomer ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["DfE URN", "101162"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["school"]}, {"function": "Find", "dependencies": [], "inputs": ["astronomer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e <DfE_URN> ?pv . ?pv <pred:value> \"101162\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"astronomer\" .  }", "answer": "0"}, {"question": "Who has more children, James A. Garfield or Jessica Walter?", "choices": ["David Byrne", "William Henry Harrison", "Paul Simon", "James E. Reilly", "James A. Garfield", "Rahul Dev Burman", "Max Fleischer", "Sylvester Stallone", "Jessica Walter", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James A. Garfield"]}, {"function": "Find", "dependencies": [], "inputs": ["Jessica Walter"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"James A. Garfield\" .  } UNION { ?e <pred:name> \"Jessica Walter\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "James A. Garfield"}, {"question": "How many counties in Massachusetts were founded after 1812?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1812", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Massachusetts"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1812 ) .  }", "answer": "0"}, {"question": "How many science awards were awarded to a country, a state with a population of more and less of 84000 measured in 1900?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "84000", "!="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1900", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["science award"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science award\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"84000\"^^xsd:double ) . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1900 .   }", "answer": "4"}, {"question": "Which one of constitutional monarchies with inflation rate elow 660% has the largest nominal GDP per capita?", "choices": ["Morocco", "Colombia", "Eswatini", "Sierra Leone", "Namibia", "Zimbabwe", "Thailand", "Mozambique", "Germany", "Dubai"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "660 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["constitutional monarchy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["nominal GDP per capita", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"660\"^^xsd:double ) . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Thailand"}, {"question": "What organization founded by the Seattle Sounders FC owner Joe Roth has the official website http://www.morgancreek.com/?", "choices": ["United States Department of the Air Force", "McDonald's", "Morgan Creek Productions", "NBCUniversal", "BBC", "Lockheed Martin", "Vigor Shipyards", "Pfizer", "E. W. Scripps Company", "Hamburger SV"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seattle Sounders FC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owned by", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Roth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["official website", "http://www.morgancreek.com/"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["organization"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e_1 <found> ?e . ?e_1 <pred:name> \"Joe Roth\" . ?e_2 <owned_by> ?e_1 . ?e_2 <pred:name> \"Seattle Sounders FC\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.morgancreek.com/\" .  }", "answer": "Morgan Creek Productions"}, {"question": "For the film-production company, whose official website is http://www.constantin-film.de/, what is the time point for its 567 employees?", "choices": ["1882", "1983-04-11", "2001-02-21", "1935-10-01", "1630-12-01", "1871-01-01", "1953", "2000-05-10", "2016-12-31", "1495-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.constantin-film.de/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film production company"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["employees", "567", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.constantin-film.de/\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"567\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-12-31"}, {"question": "Which movie is shorter, Legend (the one that origins from United States of America) or The Turning Point (the one whose original language is German)?", "choices": ["The Towering Inferno", "A Prairie Home Companion", "Legend", "Curse of the Golden Flower", "Pleasantville", "Rebecca", "The Turning Point", "The Hunchback of Notre Dame", "Talk to Her", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Legend"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Turning Point"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Legend\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"The Turning Point\" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> \"German\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Turning Point"}, {"question": "Where does Colorado (the narrative location of WarGames) share a border with Oklahoma?", "choices": ["Japan\u2013South Africa relations", "Hungary\u2013Sweden relations", "Canada\u2013China relations", "Storming of the Bastille", "Germany\u2013Philippines relations", "Cuba\u2013India relations", "Iran\u2013Uzbekistan relations", "Papua New Guinea\u2013Taiwan relations", "Colorado\u2013Oklahoma border", "Kenya\u2013Ukraine relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WarGames"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Colorado"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Oklahoma"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Colorado\" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> \"WarGames\" . ?e_2 <pred:name> \"Oklahoma\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Colorado\u2013Oklahoma border"}, {"question": "Did the person born on 1911-09-21 not die in 1988?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1911-09-21", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1988", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1911-09-21\"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1988 ) .  }", "answer": "yes"}, {"question": "Are there more episodes in Damages or the 45 minute In the Heat of the Night?", "choices": ["In the Heat of the Night", "Six Feet Under", "American Horror Story", "Saturday Night's Main Event", "Seinfeld", "Game of Thrones", "Robot Chicken", "Dancing with the Stars", "Phineas and Ferb", "Damages"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Damages"]}, {"function": "Find", "dependencies": [], "inputs": ["In the Heat of the Night"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "45 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Damages\" . } UNION { ?e <pred:name> \"In the Heat of the Night\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"45\"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "In the Heat of the Night"}, {"question": "What is Gary Marshall's ISNI?", "choices": ["0000 0000 5934 2348", "0000 0001 2125 1165", "0000 0001 1470 8139", "0000 0004 0386 0655", "0000 0004 0445 6056", "0000 0001 2282 3911", "0000 0001 2304 4186", "0000 0001 0789 1086", "0000 0001 0010 9610", "0000 0000 8413 6984"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Garry Marshall"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Garry Marshall\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2282 3911"}, {"question": "Does South Holland or North Holland have more area?", "choices": ["South Holland", "Limburg", "Groningen", "Utrecht", "North Holland", "North Brabant", "Friesland", "Zeeland", "Gelderland", "Overijssel"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Holland"]}, {"function": "Find", "dependencies": [], "inputs": ["North Holland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Holland\" .  } UNION { ?e <pred:name> \"North Holland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "North Holland"}, {"question": "What is the official website of the person who was born in Wheeling?", "choices": ["http://www.johncorbettband.com/", "https://www.safc.com/", "http://www.duq.edu", "https://www.nintendo.ch/de/", "http://www.rachel-mcadams.net/", "http://www.kcmo.org/", "http://www.norfolkadmirals.com/", "http://www.isaiahwashington.com", "http://www.saskatchewan.ca/", "http://www.nicolescherzingermusic.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wheeling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Wheeling\" .  ?e <official_website> ?pv .  }", "answer": "http://www.johncorbettband.com/"}, {"question": "What is the connection between Harlow (the one whose color is black-and-white) to Ginger Rogers?", "choices": ["country", "has parts of the class", "distributor", "location of discovery", "cast member", "partially contains", "legal form", "platform", "territory claimed by", "enclave within"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harlow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ginger Rogers"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Harlow\" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> \"black-and-white\" . ?e_2 <pred:name> \"Ginger Rogers\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is horror literature's name lacina for short?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["horror literature"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["short name"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["\u0142acina"]}], "sparql": "ASK { ?e <pred:name> \"horror literature\" . ?e <short_name> ?pv . ?pv <pred:value> \"\u0142acina\" .  }", "answer": "no"}, {"question": "Is the Pyrenees or the Cascade Range shorter?", "choices": ["Cascade Range", "Sierra Nevada", "Pennine Alps", "Alps", "Himalayas", "Appalachian Mountains", "Blue Ridge Mountains", "Pyrenees", "Social Democratic Party of Germany", "Adirondack Mountains"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pyrenees"]}, {"function": "Find", "dependencies": [], "inputs": ["Cascade Range"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["length", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pyrenees\" .  } UNION { ?e <pred:name> \"Cascade Range\" .  } ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pyrenees"}, {"question": "Who died in 1829?", "choices": ["Oswald Morris", "Max Fleischer", "Gary Cooper", "Richard Taylor", "Joseph L. Mankiewicz", "Sylvester Stallone", "Leslie David Baker", "Richard Gere", "William Henry Harrison", "Diana Krall"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "1829", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:year> 1829 .  }", "answer": "Richard Taylor"}, {"question": "What was the date the Koch Entertainment was dissolved?", "choices": ["1976", "1949-10-07", "1797-01-01", "1998-01-01", "1912-01-01", "1368-01-01", "1780-01-01", "2004", "2005", "1999"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Koch Entertainment"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Koch Entertainment\" . ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "2005"}, {"question": "Does Nike or Northrop Grumman have greater net profit?", "choices": ["KLM", "Adobe Inc.", "Silver Pictures", "Sega", "Entertainment One", "Pfizer", "Nike", "Vodafone", "McDonald's", "Northrop Grumman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nike"]}, {"function": "Find", "dependencies": [], "inputs": ["Northrop Grumman"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net profit", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nike\" .  } UNION { ?e <pred:name> \"Northrop Grumman\" .  } ?e <net_profit> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Nike"}, {"question": "What does James Levine have to do with the piano?", "choices": ["sponsor", "famous people", "has effect", "officially opened by", "country of citizenship", "voice type", "archives at", "exclave of", "commander of", "natural product of taxon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "Find", "dependencies": [], "inputs": ["James Levine"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"piano\" . ?e_2 <pred:name> \"James Levine\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the population of the city that Subhash Ghai was born in?", "choices": ["1081244", "1195919", "3039616", "120000", "107811", "301092", "63591", "24800", "2405665", "10396268"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Subhash Ghai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Subhash Ghai\" .  ?e <population> ?pv .  }", "answer": "2405665"}, {"question": "Which has the largest PPP GDP per capita among the republics whose total fertility rate is less than 1.3?", "choices": ["Latvia", "Belarus", "Italy", "Germany", "Colombia", "Sierra Leone", "Zimbabwe", "Slovakia", "Mozambique", "Namibia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "1.3", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["PPP GDP per capita", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <total_fertility_rate> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"1.3\"^^xsd:double ) . ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Italy"}, {"question": "How theater director Mark Robson is related to the profession actor?", "choices": ["occupation", "official color", "film release region", "head coach", "signatory", "continent", "partially contains", "author", "lyrics by", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["theatre director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Robson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mark Robson\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"theatre director\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "for the series ordinal is 1 or whose name is stycznia, has how many calendar month?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["series ordinal", "1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["calendar month"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name", "stycznia"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["calendar month"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" .  { ?e <series_ordinal> ?pv . ?pv <pred:value> \"1\" .  } UNION { ?e <name> ?pv . ?pv <pred:value> \"stycznia\" .  } }", "answer": "1"}, {"question": "What is the officail website of Apache License?", "choices": ["http://www.keithjarrett.it/", "http://www.arthurchristmas.com", "https://therealstanlee.com/", "http://www.act.gov.au/", "http://capitals.nhl.com/", "https://www.apache.org/licenses/", "http://www.be.ch", "http://www.dreamworksrecords.com/", "http://www.fcbate.by/", "http://www.asterastripolis.gr"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Apache License"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Apache License\" . ?e <official_website> ?pv .  }", "answer": "https://www.apache.org/licenses/"}, {"question": "Is the duration of Shame (the one whose director of photography is Sven Nykvist) less than 14.3 hours ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sven Nykvist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shame"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["14.3 hour", "<"]}], "sparql": "ASK { ?e <pred:name> \"Shame\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> \"Sven Nykvist\" .  ?e <duration> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> ?v . FILTER ( ?v < \"14.3\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which one has shorter duration, Anastasia (the one that has Ingrid Bergman as a cast member) or The Others?", "choices": ["Talk to Her", "Rebecca", "Curse of the Golden Flower", "Training Day", "The Towering Inferno", "The Fifth Element", "Anastasia", "The Others", "Pleasantville", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ingrid Bergman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anastasia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Others"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anastasia\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ingrid Bergman\" .   } UNION { ?e <pred:name> \"The Others\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Others"}, {"question": "What is the scope of a statement that David Copperfield (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie) is based on David Copperfield, created in 1849 ?", "choices": ["Hercules", "Angel", "Tarzan", "The Incredible Hulk", "Shrek Forever After", "Charles Dickens", "Catwoman", "Giuseppe Verdi", "Saturday Night Live", "Batman Returns"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1849", "="]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["based on", "of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David Copperfield\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie\" . ?e_2 <pred:name> \"David Copperfield\" . ?e_2 <inception> ?pv . ?pv <pred:year> 1849 . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <of> ?qpv .  }", "answer": "Charles Dickens"}, {"question": "How many subscribers does linguistic subreddit (for an academic discipline associated with Noah Chomsky's work field) have ?", "choices": ["4217", "7566180", "21141", "2658", "79186", "295819", "2728", "170", "179273", "116844"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Noam Chomsky"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "linguistics", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"Noam Chomsky\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"linguistics\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "116844"}, {"question": "Is the net woth of the person whose official website is http://blogmaverick.com/ not equal to 85000000 United States dollar ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://blogmaverick.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["net worth"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["85000000 United States dollar", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://blogmaverick.com/\" . ?e <net_worth> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"85000000\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the longest action film?", "choices": ["Last Action Hero", "Robin Hood: Prince of Thieves", "Star Wars: Episode I \u2013 The Phantom Menace", "Pirates of the Caribbean: On Stranger Tides", "Pirates of the Caribbean: At World's End", "The Chronicles of Narnia: Prince Caspian", "Pirates of the Caribbean: The Curse of the Black Pearl", "The Sorcerer's Apprentice", "Ghostbusters", "The Rocketeer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"action film\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pirates of the Caribbean: At World's End"}, {"question": "How many movies do we know whose duration is over 2.6 years and whose CANDIC-ID is a1201753x ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "2.6 year", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["CANTIC-ID", "a1201753x"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <duration> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2.6\"^^xsd:double ) . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1201753x\" .  }", "answer": "0"}, {"question": "How many rock music renditions are the origin of the name mathcore or originate in the United Kingdom?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["mathcore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock music"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["rock music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock music\" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> \"mathcore\" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  } }", "answer": "26"}, {"question": "How many schools served as the filming location of American Pie (with Malta as the release region) and are also the military branch of British Army ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malta"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Pie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["school"]}, {"function": "Find", "dependencies": [], "inputs": ["British Army"]}, {"function": "Relate", "dependencies": [6], "inputs": ["military branch", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["school"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"school\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"American Pie\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Malta\" .  ?e <military_branch> ?e_3 . ?e_3 <pred:name> \"British Army\" .  }", "answer": "0"}, {"question": "What's the relationship between the 2007 Grammy Awards and The Black Eyed Peas?", "choices": ["place of publication", "award received", "ethnic group", "properties for this type", "dissertation submitted to", "language used", "applies to jurisdiction", "film editor", "political ideology", "academic degree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Black Eyed Peas"]}, {"function": "Find", "dependencies": [], "inputs": ["2007 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Black Eyed Peas\" . ?e_2 <pred:name> \"2007 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What food ingredient is pronounced as it is in the audio file En-uk-tomato.ogg?", "choices": ["coconut milk", "Philip Pullman", "carrot", "egg", "Irvine", "Winter's Bone", "Clinton County", "tomato", "Aegean Sea", "cheese"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "En-uk-tomato.ogg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"En-uk-tomato.ogg\" .  }", "answer": "tomato"}, {"question": "What is the birth date for the person whose ISNI is 0000 0000 7839 9964?", "choices": ["1973-05-16", "1964-02-24", "1969-08-06", "1902-08-14", "1946-09-13", "1925-01-01", "1978-05-12", "1960-08-10", "1744-04-03", "1938-07-30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7839 9964"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7839 9964\" . ?e <date_of_birth> ?pv .  }", "answer": "1964-02-24"}, {"question": "Roddy McDowall passed away in Studio City, what country is it a part of.", "choices": ["Kingdom of the Netherlands", "France", "Georgia", "Union of South Africa", "English", "Taiwan", "Switzerland", "South Korea", "United States of America", "Hong Kong"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roddy McDowall"]}, {"function": "Find", "dependencies": [], "inputs": ["Studio City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of death", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Roddy McDowall\" . ?e_2 <pred:name> \"Studio City\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Does Anne Arundel County or Carroll County (that shares a border with Baltimore County) have the larger area?", "choices": ["Allegany County", "Harford County", "Charles County", "Baltimore County", "Kent County", "Carroll County", "Frederick County", "Anne Arundel County", "Cecil County", "Prince George's County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anne Arundel County"]}, {"function": "Find", "dependencies": [], "inputs": ["Baltimore County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carroll County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Anne Arundel County\" .  } UNION { ?e <pred:name> \"Carroll County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Baltimore County\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Anne Arundel County"}, {"question": "Tell me the area for the town with the official website http://www.harlow.gov.uk/", "choices": ["12.57921 square kilometre", "1545 square kilometre", "1468 square kilometre", "19.08 square mile", "30.54 square kilometre", "9535.97 square kilometre", "519 square kilometre", "102775 square kilometre", "555000 square kilometre", "1415 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.harlow.gov.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.harlow.gov.uk/\" . ?e <area> ?pv .  }", "answer": "30.54 square kilometre"}, {"question": "What is the relationship between Samuel Goldwyn and film producer?", "choices": ["occupation", "interested in", "religious order", "source of income", "twinned administrative body", "captain", "partner", "does not have part", "medical treatment", "follows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel Goldwyn"]}, {"function": "Find", "dependencies": [], "inputs": ["film producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Samuel Goldwyn\" . ?e_2 <pred:name> \"film producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Does the Federated States of Micronesia or Nicaragua have greater nominal GDP per capita?", "choices": ["Cambodia", "Russian Soviet Federative Socialist Republic", "Weimar Republic", "Benin", "Federated States of Micronesia", "Nicaragua", "Samoa", "South Sudan", "Switzerland", "Socialist Federal Republic of Yugoslavia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Federated States of Micronesia"]}, {"function": "Find", "dependencies": [], "inputs": ["Nicaragua"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["nominal GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Federated States of Micronesia\" .  } UNION { ?e <pred:name> \"Nicaragua\" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Federated States of Micronesia"}, {"question": "What is the connection between Do the Right Thing to Ruby Dee?", "choices": ["has immediate cause", "month of the year", "facet of", "contributing factor of", "cast member", "season starts", "geographic distribution", "commissioned by", "director/manager", "editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Do the Right Thing"]}, {"function": "Find", "dependencies": [], "inputs": ["Ruby Dee"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Do the Right Thing\" . ?e_2 <pred:name> \"Ruby Dee\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is IE-WW the ISO 3166-2 code for the Ireland county whose licence plate code is WW?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "WW"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["IE-WW"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"WW\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"IE-WW\" .  }", "answer": "yes"}, {"question": "What is the connection between The Goodbye Girl (the one that was nominated for Academy Award for Best Supporting Actress) to Dave Grusin?", "choices": ["member of political party", "broadcast by", "soundtrack album", "composer", "musical conductor", "owner of", "season starts", "said to be the same as", "author", "superhuman feature or ability"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Goodbye Girl"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dave Grusin"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Goodbye Girl\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_2 <pred:name> \"Dave Grusin\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "When was the organization that belongs to the allegiance of Adolf Hitler dissolved?", "choices": ["1991-12-04", "1947-02-25", "2015-08-04", "2013", "1945-01-01", "1912-01-01", "1946-02-01", "1784-06-02", "1969", "1975-04-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adolf Hitler"]}, {"function": "Relate", "dependencies": [0], "inputs": ["allegiance", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["dissolved, abolished or demolished"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <allegiance> ?e_1 . ?e_1 <pred:name> \"Adolf Hitler\" .  ?e <dissolved,_abolished_or_demolished> ?pv .  }", "answer": "1945-01-01"}, {"question": "What teen film takes place in Nebraska, which shares its border with Iowa?", "choices": ["Twilight", "Up in the Air", "Romeo + Juliet", "Almost Famous", "Juno", "Terms of Endearment", "Halloween", "Nebraska", "Hope Springs", "Election"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iowa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["teen film"]}, {"function": "Relate", "dependencies": [6], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Nebraska\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Iowa\" .  ?e <genre> ?e_3 . ?e_3 <pred:name> \"teen film\" .  }", "answer": "Election"}, {"question": "Does ISNI 0000 0003 6863 8628 designate the cast member of The Young Victoria who played John Russell, 1st Earl Russell ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Young Victoria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["character role", "John Russell, 1st Earl Russell"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0003 6863 8628"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Young Victoria\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> \"John Russell, 1st Earl Russell\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6863 8628\" .  }", "answer": "no"}, {"question": "Is 32023 the FIPS 6-4 (US counties) for the administrative territorial entity that shares a border with Clark County whose population is 2027868?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clark County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2027868", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["32023"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Clark County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"2027868\"^^xsd:double . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"32023\" .  }", "answer": "yes"}, {"question": "What is the connection between French First Republic to France?", "choices": ["copyright holder", "stated in", "country", "country for sport", "home world", "fabrication method", "location of formation", "operator", "location of discovery", "position held"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French First Republic"]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"French First Republic\" . ?e_2 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Does Cold War (the one that origins from United States of America) have more than 10 episdoes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cold War"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["number of episodes"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["10", ">"]}], "sparql": "ASK { ?e <pred:name> \"Cold War\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"10\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Was John Byrn of the Queens Park Rangers born after 1956?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Queens Park Rangers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Byrne"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1956", ">"]}], "sparql": "ASK { ?e <pred:name> \"John Byrne\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Queens Park Rangers F.C.\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1956 ) .  }", "answer": "yes"}, {"question": "What is the subreddit of the constitutional monarchy that is the twinned administrative body of Casablanca which is the twinned administrative body of Bangalore?", "choices": ["henan", "Trivandrum", "Swaziland", "dubai", "Nijmegen", "northkorea", "fujian", "Rajasthan", "Minnesota", "georgetown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bangalore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Casablanca"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["constitutional monarchy"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Casablanca\" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> \"Bangalore\" .  ?e <subreddit> ?pv .  }", "answer": "dubai"}, {"question": "What has Chris Brown (the one that has the occupation of military officer) in common with Bosnian War?", "choices": ["narrator", "capital", "author", "edition or translation of", "part of the series", "depicts", "conflict", "operating area", "licensed to broadcast to", "sex or gender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["military officer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bosnian War"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Chris Brown\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"military officer\" . ?e_2 <pred:name> \"Bosnian War\" . ?e_1 ?p ?e_2 .  }", "answer": "conflict"}, {"question": "What is the relationship between John Debney and Doctor Who (uses the English language)?", "choices": ["enclave within", "famous people", "dedicated to", "successful candidate", "located in time zone", "dissertation submitted to", "composer", "editor", "candidacy in election", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Who"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["John Debney"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Doctor Who\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"John Debney\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Is the Munzinger IBA of the person that lives in the Cork the same as 00000018201?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cork"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000018201"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Cork\" .  ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000018201\" .  }", "answer": "no"}, {"question": "Who is the author of On the Road (the one released in Hungary) that is based on On the Road (the one released in1957)?", "choices": ["J. K. Rowling", "Department of Statistics Singapore", "Cormac McCarthy", "J. G. Ballard", "Leo Tolstoy", "Madison Avenue", "Jack Kerouac", "Ian McEwan", "9.9", "Frank Herbert"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["On the Road"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["On the Road"]}, {"function": "FilterYear", "dependencies": [4], "inputs": ["publication date", "1957", "="]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["based on", "author"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"On the Road\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Hungary\" . ?e_2 <pred:name> \"On the Road\" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1957 . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }", "answer": "Jack Kerouac"}, {"question": "Michael Jackson whose CANTIC-ID is a10299695 won a MTV Video Music Award for Best Dance Video for which work?", "choices": ["Wonder Man", "Rosencrantz & Guildenstern Are Dead", "Scream/Childhood", "Teenage Father", "The Gay Divorcee", "Overexposed", "Weeds", "The Man Between", "Mr. Warmth: The Don Rickles Project", "Oldest Living Confederate Widow Tells All"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Dance Video"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Jackson"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["CANTIC-ID", "a10299695"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best Dance Video\" . ?e_2 <pred:name> \"Michael Jackson\" . ?e_2 <CANTIC-ID> ?pv . ?pv <pred:value> \"a10299695\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Scream/Childhood"}, {"question": "How does the Boxer Rebellion connect to Austria-Hungary?", "choices": ["penalty", "drafted by", "participant", "student", "archives at", "educated at", "had as last meal", "source of income", "librettist", "given name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boxer Rebellion"]}, {"function": "Find", "dependencies": [], "inputs": ["Austria-Hungary"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Boxer Rebellion\" . ?e_2 <pred:name> \"Austria-Hungary\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "Which movie is followed by Dogma?", "choices": ["Pleasantville", "Americana", "Talk to Her", "A Prairie Home Companion", "Victor Victoria", "City of Angels", "Rebecca", "Sherlock Holmes", "Mission: Impossible", "Chasing Amy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dogma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Dogma\" .   }", "answer": "Chasing Amy"}, {"question": "How many Texas counties have a population base below 480000000?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "480000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"480000000\"^^xsd:double ) .  }", "answer": "17"}, {"question": "Which has a smaller area, Washington County, with a population of 16804, or Jefferson County, with a population of 658327?", "choices": ["Shelby County", "Monroe County", "Madison County", "Montgomery County", "Jackson County", "Jefferson County", "Mobile County", "Dallas County", "Baldwin County", "Washington County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "16804", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["population", "658327", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Washington County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"16804\"^^xsd:double . } UNION { ?e <pred:name> \"Jefferson County\" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"658327\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Washington County"}, {"question": "How many organizations have the record label ABC Records or Iconclass notation 46C52?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ABC Records"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Iconclass notation", "46C52"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["organization"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" .  { ?e <record_label> ?e_1 . ?e_1 <pred:name> \"ABC Records\" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"46C52\" .  } }", "answer": "1"}, {"question": "Which model of video game console that is the platform of Sonic the Hedgehog (whose release date is 1991-07-26) has the lowest number of sold units?", "choices": ["Xbox 360", "Olympiacos B.C.", "Hugo", "PlayStation 2", "Wii", "Portsmouth", "Herman Melville", "PlayStation 3", "Nintendo Entertainment System", "mechanic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sonic the Hedgehog"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1991-07-26", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["units sold", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e_1 <platform> ?e . ?e_1 <pred:name> \"Sonic the Hedgehog\" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1991-07-26\"^^xsd:date . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Xbox 360"}, {"question": "How is Beetlejuice published on 1988-03-29 related to ghost?", "choices": ["musical conductor", "newspaper format", "inspired by", "director", "chief executive officer", "has immediate cause", "main subject", "participant", "patron saint", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beetlejuice"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1988-03-29", "="]}, {"function": "Find", "dependencies": [], "inputs": ["ghost"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Beetlejuice\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1988-03-29\"^^xsd:date . ?e_2 <pred:name> \"ghost\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "What city is the birthplace of Alan Dale?", "choices": ["Canterbury", "Dunedin", "Madurai", "Trieste", "Regina", "Kilkenny", "New York City", "Cork", "Scarborough", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Dale"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Alan Dale\" .   }", "answer": "Dunedin"}, {"question": "When did the city whose WOEID is 1132466 have a population of 2461002?", "choices": ["2007-02-25", "2012-05-01", "-509", "1996-05-22", "1846", "2016", "2017-09-30", "1947", "1952-01-01", "2008-08-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "1132466"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "2461002", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> \"1132466\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2461002\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "Which one, Honolulu (the one whose distributor is Metro-Goldwyn-Mayer) or The Towering Inferno, has greater duration?", "choices": ["Talk to Her", "Honolulu", "Pleasantville", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Fifth Element", "The Towering Inferno", "Rope", "Rebecca", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Honolulu"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Towering Inferno"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Honolulu\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Metro-Goldwyn-Mayer\" .   } UNION { ?e <pred:name> \"The Towering Inferno\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Towering Inferno"}, {"question": "How high above sea level is the city where Raymond Burr was born?", "choices": ["563 metre", "1655 metre", "1358 metre", "3623 foot", "2194 metre", "10023 foot", "597 foot", "503 metre", "784 metre", "60 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Raymond Burr"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Raymond Burr\" .  ?e <elevation_above_sea_level> ?pv .  }", "answer": "60 metre"}, {"question": "What is the official website of SCE Studio Liverpool?", "choices": ["http://www.sho.com/site/nursejackie/home.do", "https://www.theymightbegiants.com/", "https://web.archive.org/web/20130131070427/http://www.worldwidestudios.net/liverpool", "http://www.war-on-terror-tm.com/en/index.html", "http://www.jeannemoreau.com/", "http://www.michaeljackson.com", "http://www.tshwane.gov.za/Pages/default.aspx", "http://www.redoneprod.com", "http://www.citycouncilofnairobi.go.ke/", "http://www.chris-evans.net/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["SCE Studio Liverpool"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"SCE Studio Liverpool\" . ?e <official_website> ?pv .  }", "answer": "https://web.archive.org/web/20130131070427/http://www.worldwidestudios.net/liverpool"}, {"question": "What is the relationship between George Stevens, who died 1987-01-01 and Stockport County F.C.?", "choices": ["participant of", "had as last meal", "appears in the form of", "member of sports team", "derivative work", "affiliation", "model item", "office held by head of government", "voice actor", "operator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Stevens"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1987-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Stockport County F.C."]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Stevens\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1987-01-01\"^^xsd:date . ?e_2 <pred:name> \"Stockport County F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the association of the House of Saxe-Coburg and Gotha with the House of Windsor?", "choices": ["illustrator", "feast day", "participant of", "narrator", "headquarters location", "has part", "studies", "has effect", "movement", "affiliation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["House of Saxe-Coburg and Gotha"]}, {"function": "Find", "dependencies": [], "inputs": ["House of Windsor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"House of Saxe-Coburg and Gotha\" . ?e_2 <pred:name> \"House of Windsor\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "What is the name of a person, in native language, whose Deutche Synchronkartei actor-ID is 88?", "choices": ["Adam West", "Jamie Lee Curtis", "Robert Vaughn", "Ruth Prawer Jhabvala", "Steve Jobs", "Estelle Harris", "Joseph Heller", "Michael Rosenbaum", "Ronald Reagan", "Charlton Heston"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "88"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"88\" . ?e <name_in_native_language> ?pv .  }", "answer": "Jamie Lee Curtis"}, {"question": "Tell me the time point of Vanuatu has a population of 252763", "choices": ["1995-02-20", "2007-03-01", "2013", "1940", "1839", "2005-01-01", "1999-03-24", "1820-01-01", "1600-01-01", "2017-08-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vanuatu"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "252763", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Vanuatu\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"252763\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013"}, {"question": "which video game publisher has Instagram username rockstargames?", "choices": ["Taito Corporation", "Sony Interactive Entertainment", "Bachelor of Arts", "The Black Dahlia", "Scary Movie 2", "Invasion of Normandy", "Capcom", "Rockstar Games", "Stephen Goosson", "Charlie's Angels"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "rockstargames"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game publisher"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game publisher\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"rockstargames\" .  }", "answer": "Rockstar Games"}, {"question": "Is the University of Auckland's motto text Ingenio et labore?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Auckland"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["motto text"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Ingenio et labore"]}], "sparql": "ASK { ?e <pred:name> \"University of Auckland\" . ?e <motto_text> ?pv . ?pv <pred:value> \"Ingenio et labore\" .  }", "answer": "yes"}, {"question": "What is the PermID of RCA Corporation?", "choices": ["4295904718", "4296748684", "4295911221", "5001299167", "4295905129", "4296214987", "5035885149", "4297259109", "5000410798", "5000012198"], "program": [{"function": "Find", "dependencies": [], "inputs": ["RCA Corporation"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["PermID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"RCA Corporation\" . ?e <PermID> ?pv .  }", "answer": "4295911221"}, {"question": "When is Christmas observed as a public holiday in Serbia?", "choices": ["7", "2001-04-11", "1969-12-01", "2016-12-01", "1933", "2010-03-07", "2010-12-01", "2018-12-01", "1768", "2016-12-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Serbia"]}, {"function": "Find", "dependencies": [], "inputs": ["Christmas"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["public holiday", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Serbia\" . ?e_2 <pred:name> \"Christmas\" . ?e_1 <public_holiday> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <public_holiday> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "7"}, {"question": "What is the subject of Afghanistan's diplomatic relation with Bangladesh (whose nominal GDP is 69442943089.4309 United States dollars)?", "choices": ["Bangladesh\u2013Iraq relations", "Kenya\u2013Somalia relations", "Kyrgyzstan\u2013Tajikistan border", "Belarus\u2013Netherlands relations", "Brazil\u2013Canada relations", "Argentina\u2013Morocco relations", "Qatar\u2013Taiwan relations", "South Africa\u2013Zambia relations", "Afghanistan\u2013Bangladesh relations", "Singapore\u2013South Africa relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Afghanistan"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["nominal GDP", "69442943089.4309 United States dollar", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Afghanistan\" . ?e_2 <pred:name> \"Bangladesh\" . ?e_2 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"69442943089.4309\"^^xsd:double . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Afghanistan\u2013Bangladesh relations"}, {"question": "Is the smaller area taken up by Invercargill or St. Catharines?", "choices": ["St. Catharines", "Dundee", "Chihuahua", "Bergen", "Kingston", "Abidjan", "Invercargill", "Kilkenny", "Trieste", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Invercargill"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Catharines"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Invercargill\" .  } UNION { ?e <pred:name> \"St. Catharines\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "St. Catharines"}, {"question": "Tell me the academy award ceremony that was received by 20th Century Fox and is the 23rd edition", "choices": ["14th Academy Awards", "60th Academy Awards", "23rd Academy Awards", "51st Academy Awards", "64th Academy Awards", "43rd Academy Awards", "29th Academy Awards", "72nd Academy Awards", "25th Academy Awards", "79th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "23"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"20th Century Fox\" .  ?e <edition_number> ?pv . ?pv <pred:value> \"23\" .  }", "answer": "23rd Academy Awards"}, {"question": "Among India's states which share a border with Tamil Nadu (the one whose male population is 36137975), which one has the largest urban population?", "choices": ["Odisha", "Maharashtra", "Himachal Pradesh", "Andhra Pradesh", "West Bengal", "Jharkhand", "Gujarat", "Kerala", "Haryana", "Punjab"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tamil Nadu"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["male population", "36137975", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of India"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["urban population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Tamil Nadu\" . ?e_1 <male_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"36137975\"^^xsd:double . ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Andhra Pradesh"}, {"question": "How is Space Cowboys linked to Marcia Gay Harden?", "choices": ["dialect of", "sport", "practiced by", "sponsor", "significant person", "architectural style", "cast member", "health specialty", "employer", "newspaper format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Space Cowboys"]}, {"function": "Find", "dependencies": [], "inputs": ["Marcia Gay Harden"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Space Cowboys\" . ?e_2 <pred:name> \"Marcia Gay Harden\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many Michigan counties have the capital St. Joseph (that is the capital of Berrien County) or are located in or next to Lake Superior?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Berrien County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["St. Joseph"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Lake Superior"]}, {"function": "Relate", "dependencies": [6], "inputs": ["located in or next to body of water", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Michigan"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" .  { ?e <capital> ?e_1 . ?e_1 <pred:name> \"St. Joseph\" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> \"Berrien County\" .  } UNION { ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> \"Lake Superior\" .  } }", "answer": "2"}, {"question": "When Glory, featuring cast member Bob Gunton, got an Academy Award for Best Cinematography, which person's work was honored?", "choices": ["Kathleen Quinlan", "Buddy Adler", "Charles Vess", "Gore Verbinski", "Freddie Francis", "Robert Cohen", "Greg Daniels", "Jenny Beavan", "Ed Harris", "BBC America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Gunton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Glory"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Glory\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Bob Gunton\" . ?e_2 <pred:name> \"Academy Award for Best Cinematography\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Freddie Francis"}, {"question": "What is the relationship between neo-psychedelia and Danger Mouse?", "choices": ["sport", "different from", "eye color", "screenwriter", "league", "work location", "mother", "next lower rank", "famous people", "lifestyle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["neo-psychedelia"]}, {"function": "Find", "dependencies": [], "inputs": ["Danger Mouse"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"neo-psychedelia\" . ?e_2 <pred:name> \"Danger Mouse\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What big city is the capital of the Netherlands province whose detail map is Prov-Utrecht-OpenTopo.jpg?", "choices": ["Stuttgart", "The Hague", "Erlangen", "Magdeburg", "Makati", "Aachen", "Lyon", "Dnipro", "Halle (Saale)", "Utrecht"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["detail map", "Prov-Utrecht-OpenTopo.jpg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Netherlands"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["big city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"province of the Netherlands\" . ?e_1 <detail_map> ?pv . ?pv <pred:value> \"Prov-Utrecht-OpenTopo.jpg\" .   }", "answer": "Utrecht"}, {"question": "What is Katy Perry's Pinterest username?", "choices": ["disneypixar", "schwarzenegger", "nasa", "mcdonalds", "katyperry", "philipsglobal", "Freeform", "boards", "ciachef", "georgetakei"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katy Perry"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Pinterest username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Katy Perry\" . ?e <Pinterest_username> ?pv .  }", "answer": "katyperry"}, {"question": "How many countries are the birthplace of John Hughes (who was born in Wales) or have a population of under 4100000000?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wales"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Hughes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["country"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "4100000000", "<"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["country"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"country\" .  { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"John Hughes\" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Wales\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4100000000\"^^xsd:double ) .  } }", "answer": "6"}, {"question": "What is the connection between Mo'Nique to 82nd Academy Awards?", "choices": ["participant of", "diplomatic relation", "uses", "basin country", "use", "award received", "organizer", "film editor", "item operated", "applies to jurisdiction"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mo'Nique"]}, {"function": "Find", "dependencies": [], "inputs": ["82nd Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mo'Nique\" . ?e_2 <pred:name> \"82nd Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which area has lower elevation above sea level, Bremerton or Quincy (the one whose area is 41.201792 square kilometre)?", "choices": ["Columbus", "Greenville", "Lansing", "Waukegan", "Quincy", "Oakland", "New Haven", "Franklin", "Compton", "Bremerton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bremerton"]}, {"function": "Find", "dependencies": [], "inputs": ["Quincy"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "41.201792 square kilometre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bremerton\" . } UNION { ?e <pred:name> \"Quincy\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"41.201792\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bremerton"}, {"question": "Does Mount Vernon (the one whose inception time is 1870-01-01), have an official website of http://abc.go.com/shows/brothers-and-sisters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mount Vernon"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1870-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://abc.go.com/shows/brothers-and-sisters"]}], "sparql": "ASK { ?e <pred:name> \"Mount Vernon\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1870-01-01\"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> \"http://abc.go.com/shows/brothers-and-sisters\" .  }", "answer": "no"}, {"question": "How is salsa related to USA ?", "choices": ["country of origin", "place of burial", "candidate", "theme music", "place of publication", "academic degree", "contains settlement", "opposite of", "discoverer or inventor", "influenced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["salsa"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"salsa\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the CANTIC-ID for the person whose Libris-URI is hftwzqg10j7sfkw?", "choices": ["a11328216", "a11435719", "a10049332", "a10408836", "a11815309", "a10106923", "a10107502", "a11684112", "a11327856", "a10414162"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "hftwzqg10j7sfkw"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"hftwzqg10j7sfkw\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11327856"}, {"question": "Which area is smaller, Australia (the one that shares border with Eurasia) or Bohemia (the one that is a part of Czech Republic)?", "choices": ["Antarctica", "Bohemia", "Lake District", "Atlantic Canada", "Transylvania", "Pacific Ocean", "Africa", "Piedmont", "South America", "Australia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eurasia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Czech Republic"]}, {"function": "Relate", "dependencies": [4], "inputs": ["has part", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bohemia"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Australia\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Eurasia\" .   } UNION { ?e <pred:name> \"Bohemia\" . ?e_2 <has_part> ?e . ?e_2 <pred:name> \"Czech Republic\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bohemia"}, {"question": "How are Peter Sarsgaard and English related?", "choices": ["participant of", "draft pick from school", "vehicle normally used", "afflicts", "affiliation", "sports season of league or competition", "currency", "influenced by", "director", "languages spoken, written or signed"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Sarsgaard"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Sarsgaard\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "How are Mary Poppins and the National Film Registry related?", "choices": ["contains settlement", "month of the year", "place served by transport hub", "permanent resident of", "geography of topic", "has parts of the class", "subsidiary", "said to be the same as", "award received", "part of the series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary Poppins"]}, {"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mary Poppins\" . ?e_2 <pred:name> \"National Film Registry\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What number of New Jersey cities have the official name New Brunswick or have more than 2.1 people?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "New Brunswick"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "2.1", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city in New Jersey"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" .  { ?e <official_name> ?pv . ?pv <pred:value> \"New Brunswick\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"2.1\"^^xsd:double ) .  } }", "answer": "15"}, {"question": "What is Stephen Merchant's Instagram username?", "choices": ["chrisodonnell", "estac_troyes", "vfb", "cambridgeuniversity", "uofwa", "parishilton", "kyle_maclachlan", "rosariodawson", "ael_fc", "stephenmerchant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stephen Merchant"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Stephen Merchant\" . ?e <Instagram_username> ?pv .  }", "answer": "stephenmerchant"}, {"question": "Mike Henry, voice actor on The Cleveland Show, is in the cast of the visual artwork published on which date?", "choices": ["1967-12-22", "2005-01-01", "2006-11-17", "1984-11-01", "2001-07-19", "2015-07-21", "2004-10-21", "2012-05-04", "1998-07-29", "1995-11-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Cleveland Show"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Henry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Mike Henry\" . ?e_2 <voice_actor> ?e_1 . ?e_2 <pred:name> \"The Cleveland Show\" .  ?e <publication_date> ?pv .  }", "answer": "2005-01-01"}, {"question": "How many television genres use English as their original language or are in the same genre as General Hospital?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television genre"]}, {"function": "Find", "dependencies": [], "inputs": ["General Hospital"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television genre"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television genre\" .  { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"General Hospital\" .  } }", "answer": "2"}, {"question": "When did Gary Cooper (the one that is a member of Peterborough United F.C.) become a member of Welling United F.C.?", "choices": ["2009-12-01", "1989-01-20", "1996-01-01", "1992-02-05", "2005-09-24", "1834-01-01", "2010-08-21", "1966-09-09", "2015-11-01", "1866-10-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peterborough United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary Cooper"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Welling United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Gary Cooper\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Peterborough United F.C.\" . ?e_2 <pred:name> \"Welling United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1996-01-01"}, {"question": "What are the number of class of awards whose inception time is after 1871 or whose official website is http://www.loc.gov/film/filmnfr.html ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1871", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["class of award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.loc.gov/film/filmnfr.html"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["class of award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"class of award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1871 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.loc.gov/film/filmnfr.html\" .  } }", "answer": "6"}, {"question": "Which area has higher elevation above sea level, Sarajevo (the one that is the capital of Federation of Bosnia and Herzegovina) or Cape Town?", "choices": ["Cape Town", "Tallinn", "Moscow", "Lausanne", "Paris", "Mexico City", "New Delhi", "Manila", "Riga", "Sarajevo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Federation of Bosnia and Herzegovina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sarajevo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Cape Town"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sarajevo\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Federation of Bosnia and Herzegovina\" .   } UNION { ?e <pred:name> \"Cape Town\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cape Town"}, {"question": "The Apartment, originating in Spain, has what link to French?", "choices": ["original language of film or TV show", "platform", "medical condition", "present in work", "color", "geographic distribution", "business division", "highest judicial authority", "symptoms", "manufacturer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Apartment"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["French"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Apartment\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"Spain\" . ?e_2 <pred:name> \"French\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Does the higher season count belong to the 65-episode Merlin or to Murphy Brown?", "choices": ["American Horror Story", "Merlin", "Six Feet Under", "Seinfeld", "Dancing with the Stars", "Bleak House", "Game of Thrones", "Murphy Brown", "Robot Chicken", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merlin"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "65", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Murphy Brown"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Merlin\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"65\"^^xsd:double . } UNION { ?e <pred:name> \"Murphy Brown\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Murphy Brown"}, {"question": "How is Roy Thomas of the St. Louis Cardinals related to the Seattle Mariners?", "choices": ["located in or next to body of water", "film crew member", "member of sports team", "librettist", "superhuman feature or ability", "league", "territory claimed by", "contributor(s) to the creative work", "field of work", "board member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Louis Cardinals"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Roy Thomas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Seattle Mariners"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Roy Thomas\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"St. Louis Cardinals\" . ?e_2 <pred:name> \"Seattle Mariners\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Who is the nominee for the Academy Award for Best Original Score for which the film The Village was nominated?", "choices": ["Helen Hayes", "Maureen Stapleton", "Harry W. Gerstad", "James Newton Howard", "Eric Leighton", "Richard Curtis", "Morgan Freeman", "Nia Vardalos", "Albert Bassermann", "James Ivory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Village"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Village\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "James Newton Howard"}, {"question": "Orion Pictures production of The Prodigy was released in what location on 2019-03-15?", "choices": ["British Hong Kong", "Berlin International Film Festival", "New Zealand", "Switzerland", "Chicago", "Malaysia", "R\u00e4ttvik", "Sweden", "United Kingdom", "Jordan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Orion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Prodigy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2019-03-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Prodigy\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Orion Pictures\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2019-03-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United Kingdom"}, {"question": "What is the relationship between Jason Lee, who is a citizen of United Kingdom, and Northampton Town F.C.?", "choices": ["member of sports team", "family", "record label", "partner", "art director", "destination point", "manufacturer", "penalty", "located on terrain feature", "field of work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jason Lee"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Northampton Town F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jason Lee\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Northampton Town F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the official website for the visual artwork whose OCLC control number is 179316451?", "choices": ["http://www.jesuschristsuperstar.com", "http://www.footballaustralia.com.au/", "http://www.fisk.edu", "http://www.ranchomirageca.gov/", "http://www.dukeellingtonlegacy.com/", "http://pdl.warnerbros.com/wbmovies/corpsebride/flashsite/", "http://disney.go.com/buenavistagames/narnia/home.html", "http://www.rkcwaalwijk.nl/", "http://www.fox.com/24/", "http://www.charliewilsonswar.net/"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OCLC control number", "179316451"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <OCLC_control_number> ?pv_1 . ?pv_1 <pred:value> \"179316451\" . ?e <official_website> ?pv .  }", "answer": "http://www.charliewilsonswar.net/"}, {"question": "What is the ISNI of Fairfield University?", "choices": ["0000 0001 1307 8008", "0000 0001 0920 8877", "0000 0001 0727 1047", "0000 0001 2293 7775", "0000 0001 1472 6134", "0000 0001 2031 5702", "0000 0004 0390 9631", "0000 0001 0920 1157", "0000 0000 8365 2872", "0000 0001 2131 8593"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fairfield University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Fairfield University\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0727 1047"}, {"question": "Where was Some Like It Hot (whose production company is United Artists) published on 1959-09-17?", "choices": ["Czech Republic", "Johannesburg", "Brazil", "Kingdom of the Netherlands", "Sweden", "Beverly Hills", "Germany", "John F. Kennedy Center for the Performing Arts", "Israel", "Denmark"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Some Like It Hot"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1959-09-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Some Like It Hot\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"United Artists\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1959-09-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does Wichita (whose postal code is 67230) or Winston-Salem have the higher elevation above sea level?", "choices": ["Columbus", "Lansing", "Boulder", "Wichita", "Waukegan", "New Haven", "Winston-Salem", "Greenville", "Franklin", "Oakland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wichita"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "67230"]}, {"function": "Find", "dependencies": [], "inputs": ["Winston-Salem"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wichita\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"67230\" . } UNION { ?e <pred:name> \"Winston-Salem\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Wichita"}, {"question": "Is the elevation of Mississauga or of Chittagong lower?", "choices": ["Bergen", "Trieste", "Abidjan", "Chittagong", "Chihuahua", "Mississauga", "Kilkenny", "Cork", "Kingston", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mississauga"]}, {"function": "Find", "dependencies": [], "inputs": ["Chittagong"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mississauga\" .  } UNION { ?e <pred:name> \"Chittagong\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Chittagong"}, {"question": "How is Todd Rundgren related to guitar?", "choices": ["owned by", "subsidiary", "currency", "instrument", "religion", "has immediate cause", "located in or next to body of water", "programming paradigm", "main food source", "country for sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Todd Rundgren"]}, {"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Todd Rundgren\" . ?e_2 <pred:name> \"guitar\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Which movie is longer, Howards End or Mildred Pierce (the one whose release region is Finland)?", "choices": ["Pleasantville", "A Prairie Home Companion", "Training Day", "Howards End", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "Curse of the Golden Flower", "Talk to Her", "Mildred Pierce"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Howards End"]}, {"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mildred Pierce"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Howards End\" .  } UNION { ?e <pred:name> \"Mildred Pierce\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Finland\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Howards End"}, {"question": "How tall is the person identified by Munzinger IBA 00000024414?", "choices": ["193 centimetre", "59 inch", "1.74 metre", "185 centimetre", "62 inch", "61 inch", "162 centimetre", "1.62 metre", "172 centimetre", "1.82 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000024414"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000024414\" . ?e <height> ?pv .  }", "answer": "193 centimetre"}, {"question": "What is the IPI name number for Frank Loesser?", "choices": ["00001334546", "00069574335", "00223940975", "00046612098", "00001307353", "00018339583", "00128246872", "340675175", "00061989442", "00071736572"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Loesser"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["IPI name number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Frank Loesser\" . ?e <IPI_name_number> ?pv .  }", "answer": "00018339583"}, {"question": "How many currencies are in the country of Andorra and have a price greater than 310 United States dollars?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andorra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["currency"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["price", "310 United States dollar", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["currency"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"currency\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Andorra\" .  ?e <price> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v > \"310\"^^xsd:double ) .  }", "answer": "0"}, {"question": "Among the films that received a Los Angeles Film Critics Association Award for Best Actress, which has the largest duration?", "choices": ["Far from Heaven", "Coming Home", "Talk to Her", "Silver Linings Playbook", "The Piano", "Training Day", "The Queen", "Pleasantville", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles Film Critics Association Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Los Angeles Film Critics Association Award for Best Actress\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coming Home"}, {"question": "Whose name is Christopher Guest in the native language ?", "choices": ["Akkineni Nagarjuna", "William Henry Harrison", "Max Fleischer", "Christopher Guest", "Coolio", "DeWitt Clinton", "Henry Winkler", "Sylvester Stallone", "Ben Kingsley", "Sh\u014dtar\u014d Ishinomori"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Christopher Guest"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Christopher Guest\" .  }", "answer": "Christopher Guest"}, {"question": "The lowest number of episodes is Egypt (number of episodes is 6) or Superman (duration 22 minutes)", "choices": ["Egypt", "Seinfeld", "Six Feet Under", "Superman", "Phineas and Ferb", "Robot Chicken", "Bleak House", "Dancing with the Stars", "Game of Thrones", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Egypt"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "6", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["duration", "22 minute", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Egypt\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"6\"^^xsd:double . } UNION { ?e <pred:name> \"Superman\" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> \"minute\" . ?pv_2 <pred:value> \"22\"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Egypt"}, {"question": "Which female house cat diead before 2018?", "choices": ["Yorkshire Terrier", "goat", "chicken", "India", "sheep", "Golden Retriever", "cattle", "bulldog", "German Shepherd dog", "Labrador Retriever"], "program": [{"function": "Find", "dependencies": [], "inputs": ["female organism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sex or gender", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["house cat"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of death", "2018", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["house cat"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"house cat\" . ?e <sex_or_gender> ?e_1 . ?e_1 <pred:name> \"female organism\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2018 ) .  }", "answer": "India"}, {"question": "Is the association football club whose official website is http://www.ofc.de/ created after the year 1982?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ofc.de/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1982", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ofc.de/\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1982 ) .  }", "answer": "no"}, {"question": "How is metalcore related to Joey Jordison?", "choices": ["writing system", "famous people", "instrumentation", "religion", "domain of saint or deity", "general manager", "source of material", "fabrication method", "has part", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["metalcore"]}, {"function": "Find", "dependencies": [], "inputs": ["Joey Jordison"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"metalcore\" . ?e_2 <pred:name> \"Joey Jordison\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Who has the fewer kids, Patricia Arquette or Kevin Jonas?", "choices": ["Simon Cowell", "Richard Gere", "Rahul Dev Burman", "Paul Simon", "David Byrne", "Patricia Arquette", "Max Fleischer", "James E. Reilly", "Kevin Jonas", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patricia Arquette"]}, {"function": "Find", "dependencies": [], "inputs": ["Kevin Jonas"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Patricia Arquette\" .  } UNION { ?e <pred:name> \"Kevin Jonas\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Patricia Arquette"}, {"question": "Which movie is longer, The Man Who Knew Too Much (the one whose publication date is 1934-01-01) or Mutiny on the Bounty (the one whose director is Lewis Milestone)?", "choices": ["The Man Who Knew Too Much", "The Towering Inferno", "The Fifth Element", "Pleasantville", "Talk to Her", "A Prairie Home Companion", "Curse of the Golden Flower", "Mutiny on the Bounty", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Man Who Knew Too Much"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1934-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Lewis Milestone"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mutiny on the Bounty"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Man Who Knew Too Much\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1934-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Mutiny on the Bounty\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Lewis Milestone\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mutiny on the Bounty"}, {"question": "Milla Jovovich is cast as which character on Resident Evil: Extinction?", "choices": ["Alex Munday", "Donna Moss", "Sarah Palin", "Bunny Lebowski", "Cobra Bubbles", "Orr", "Spider-Man", "Liz Lemon", "A.J. Frost", "Alice"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Resident Evil: Extinction"]}, {"function": "Find", "dependencies": [], "inputs": ["Milla Jovovich"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Resident Evil: Extinction\" . ?e_2 <pred:name> \"Milla Jovovich\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Alice"}, {"question": "Which is longer, 21 Jump Street released in Hungary or Frida?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "The Fifth Element", "The Towering Inferno", "Frida", "The Hunchback of Notre Dame", "21 Jump Street", "Talk to Her", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungary"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["21 Jump Street"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Frida"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"21 Jump Street\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Hungary\" .   } UNION { ?e <pred:name> \"Frida\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Frida"}, {"question": "Does OSM Tag:denomination=church_of_scotland correctly match to the Church of Scotland?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Church of Scotland"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OSM tag or key"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Tag:denomination=church_of_scotland"]}], "sparql": "ASK { ?e <pred:name> \"Church of Scotland\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:denomination=church_of_scotland\" .  }", "answer": "yes"}, {"question": "Where was Captain Corelli's Mandolin published on 2001-11-01?", "choices": ["Germany", "Croatia", "El Capitan Theatre", "Central Park", "Egypt", "People's Republic of China", "Japan", "Davao City", "Switzerland", "Rio de Janeiro"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Captain Corelli's Mandolin"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2001-11-01", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Captain Corelli's Mandolin\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2001-11-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which has more episodes, The Firm that origins from Canada or Guiding Light?", "choices": ["Robot Chicken", "Dancing with the Stars", "Game of Thrones", "Saturday Night's Main Event", "Seinfeld", "Guiding Light", "American Horror Story", "Phineas and Ferb", "Bleak House", "The Firm"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Firm"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Guiding Light"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Firm\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Canada\" .   } UNION { ?e <pred:name> \"Guiding Light\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Guiding Light"}, {"question": "Tell me the one with the least episodes within the television series that is based on Star Trek: The Original Series", "choices": ["Star Trek: Deep Space Nine", "Saturday Night's Main Event", "Seinfeld", "Dancing with the Stars", "Game of Thrones", "Bleak House", "Star Trek: The Animated Series", "Robot Chicken", "Star Trek: Enterprise", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: The Original Series"]}, {"function": "Relate", "dependencies": [0], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Star Trek: The Original Series\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Trek: Deep Space Nine"}, {"question": "How is John Davis (the one that hold the position Governor of Massachusetts) related to United States of America ?", "choices": ["time period", "head of state", "work location", "occupant", "location of discovery", "country of citizenship", "place served by transport hub", "followed by", "production company", "this taxon is source of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Governor of Massachusetts"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position held", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Davis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Davis\" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> \"Governor of Massachusetts\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "When did John Powell  born 1936-03-10 die?", "choices": ["2017-12-25", "1905-12-21", "2018-01-30", "2005-07-26", "2009-06-23", "1986-10-14", "1978-06-20", "1983-12-28", "1998-11-19", "2001-11-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Powell"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1936-03-10", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Powell\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1936-03-10\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "2017-12-25"}, {"question": "tell me the end time of Margaret Thatcher is of the Methodist religion.", "choices": ["1953-12-31", "2007-04-11", "1946-01-31", "1991-05-03", "2012-12-12", "1951-01-01", "2005-12-31", "1942", "1936-08-16", "2016-01-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Margaret Thatcher"]}, {"function": "Find", "dependencies": [], "inputs": ["Methodism"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["religion", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Margaret Thatcher\" . ?e_2 <pred:name> \"Methodism\" . ?e_1 <religion> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <religion> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1951-01-01"}, {"question": "Which CANTIC-ID refers to the person with the website www.marilynmonroe.com?", "choices": ["a10394709", "a11788513", "a11019785", "a10175155", "a12152924", "a11750200", "a11769701", "a11573387", "a11259401", "a11506076"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.marilynmonroe.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.marilynmonroe.com/\" . ?e <CANTIC-ID> ?pv .  }", "answer": "a11019785"}, {"question": "Did American Pie, including American Wedding, take in under 250000 pounds sterling at the box office?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Wedding"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Pie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["box office"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["250000 pound sterling", "<"]}], "sparql": "ASK { ?e <pred:name> \"American Pie\" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> \"American Wedding\" .  ?e <box_office> ?pv . ?pv <pred:unit> \"pound sterling\" . ?pv <pred:value> ?v . FILTER ( ?v < \"250000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many professions have Donald Trump (the one that has the occupation of politician) as member and a ROME Occupation Code (v3) of E1205?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Donald Trump"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of political party", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["ROME Occupation Code (v3)", "E1205"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["profession"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> \"Donald Trump\" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> \"politician\" .  ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"E1205\" .  }", "answer": "0"}, {"question": "How many association football clubs have the Twitter username htafcdotcom?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "htafcdotcom"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"htafcdotcom\" .  }", "answer": "1"}, {"question": "How many University of Cambridge colleges  have an ARCHON code of 273 or an official website at http://www.dow.cam.ac.uk/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ARCHON code", "273"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Cambridge"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.dow.cam.ac.uk/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college of the University of Cambridge"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" .  { ?e <ARCHON_code> ?pv . ?pv <pred:value> \"273\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.dow.cam.ac.uk/\" .  } }", "answer": "2"}, {"question": "Which area is larger, Plumas County or Kern County?", "choices": ["San Mateo County", "Kern County", "Contra Costa County", "Mariposa County", "Alameda County", "Tuolumne County", "Plumas County", "Tulare County", "Butte County", "San Diego County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Plumas County"]}, {"function": "Find", "dependencies": [], "inputs": ["Kern County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Plumas County\" .  } UNION { ?e <pred:name> \"Kern County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kern County"}, {"question": "Does Bendigo or New York City have less elevation above sea level?", "choices": ["Bergen", "Santo Domingo", "Kingston", "Kilkenny", "Cork", "Chihuahua", "Trieste", "Bendigo", "New York City", "Dundee"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bendigo"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bendigo\" .  } UNION { ?e <pred:name> \"New York City\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New York City"}, {"question": "Is the run time of Chaplin or Marley the longer of the two?", "choices": ["Marley", "The Fifth Element", "Talk to Her", "Training Day", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chaplin"]}, {"function": "Find", "dependencies": [], "inputs": ["Marley"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chaplin\" .  } UNION { ?e <pred:name> \"Marley\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marley"}, {"question": "Does the Odessa that occupies 117.676319 square kilometers or San Rafael have fewer inhabitants?", "choices": ["Franklin", "Columbus", "Compton", "Odessa", "Boulder", "San Rafael", "Greenville", "Oakland", "Lansing", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Odessa"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "117.676319 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["San Rafael"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Odessa\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"117.676319\"^^xsd:double . } UNION { ?e <pred:name> \"San Rafael\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Rafael"}, {"question": "Does Rick Rubin or Miley Cyrus have more net worth?", "choices": ["Richard Gere", "David Byrne", "Simon Cowell", "Sylvester Stallone", "Paul Simon", "Max Fleischer", "Rahul Dev Burman", "Rick Rubin", "William Henry Harrison", "Miley Cyrus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rick Rubin"]}, {"function": "Find", "dependencies": [], "inputs": ["Miley Cyrus"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rick Rubin\" .  } UNION { ?e <pred:name> \"Miley Cyrus\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rick Rubin"}, {"question": "What is the time period that 19160000000 United States dollars is the total revenue for the business whose official website is https://www.starbucks.es/ that is applicable to the jurisdiction of Spain?", "choices": ["2006-11-01", "1500-01-01", "1958-01-01", "2015", "2002-05-15", "1951-01-01", "1976-05-17", "2007-01-17", "1995-12-01", "2018-04-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.starbucks.es/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to jurisdiction", "Spain"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["total revenue", "19160000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://www.starbucks.es/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <applies_to_jurisdiction> ?qpv_1 . ?qpv_1 <pred:value> \"Spain\" . ?e <total_revenue> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"19160000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_revenue> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "What is the name of the city founded before 1525, and that became in 1979 the twinned administrative body of Frankfurt?", "choices": ["Bergen", "Abidjan", "Chihuahua", "Shanghai", "Kilkenny", "Santo Domingo", "Tbilisi", "Trieste", "Kingston", "Cairo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankfurt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1979", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["inception", "1525", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Frankfurt\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1979 . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1525 ) .  }", "answer": "Cairo"}, {"question": "How large is the landform where Lost was filmed?", "choices": ["1716 square kilometre", "3702 square kilometre", "1545 square kilometre", "4807.0 square kilometre", "6915268 square metre", "596.0 square kilometre", "74.61 square kilometre", "5959 square kilometre", "233.001705 square kilometre", "8680 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["landform"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"landform\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Lost\" .  ?e <area> ?pv .  }", "answer": "1545 square kilometre"}, {"question": "Which English-speaker was born in Geneva?", "choices": ["John Wells", "Sylvester Stallone", "Jean-Jacques Rousseau", "Leonard Cohen", "Max Fleischer", "Jerry Wald", "Gordon Brown", "William Henry Harrison", "Jerome Kern", "Stephanie Morgenstern"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Geneva"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Geneva\" .  }", "answer": "Stephanie Morgenstern"}, {"question": "How is Richard III in English related to Richard III with Claire Bloom as a cast member?", "choices": ["author", "spouse", "country", "educated at", "exported to", "location of formation", "month of the year", "employer", "depicted by", "studies"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard III"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Claire Bloom"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard III"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard III\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Richard III\" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> \"Claire Bloom\" . ?e_1 ?p ?e_2 .  }", "answer": "depicted by"}, {"question": "The movie abbreviated as ID4 is the basis of which activity?", "choices": ["Terminator 2: Judgment Day", "Harry Potter and the Half-Blood Prince", "multiplayer video game", "Independence Day", "activism", "2009 Tour de France", "music video game", "Charlie's Angels", "Battleship", "Batman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "ID4"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["activity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <short_name> ?pv . ?pv <pred:value> \"ID4\" .   }", "answer": "Independence Day"}, {"question": "What does Madonna have to do with the ukulele?", "choices": ["captain", "place of burial", "student", "candidate", "sports season of league or competition", "replaces", "capital of", "child", "part of the series", "instrument"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madonna"]}, {"function": "Find", "dependencies": [], "inputs": ["ukulele"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Madonna\" . ?e_2 <pred:name> \"ukulele\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Which language is associated with http://www.intothematrix.com, the official website of The Animatrix?", "choices": ["Corsican", "English", "Franco-Proven\u00e7al", "Punjabi", "Latin script", "Occitan", "Norwegian", "Latin", "Belgian French", "Ewe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Animatrix"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.intothematrix.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Animatrix\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.intothematrix.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How is the Nobel Prize in Economics related to economics?", "choices": ["producer", "award disciplines or subjects", "place of burial", "location of formation", "donated by", "developer", "religious order", "partner", "natural product of taxon", "military conflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Economics"]}, {"function": "Find", "dependencies": [], "inputs": ["economics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nobel Prize in Economics\" . ?e_2 <pred:name> \"economics\" . ?e_1 ?p ?e_2 .  }", "answer": "award disciplines or subjects"}, {"question": "How many animated feature films whose duration is less than 6.1 months or whose official website is http://www.madagascar-themovie.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "6.1 month", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.madagascar-themovie.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated feature film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" .  { ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6.1\"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.madagascar-themovie.com/\" .  } }", "answer": "2"}, {"question": "How is Liverpool (whose video game mode is single-player) related to single-player video games?", "choices": ["performer", "next lower rank", "home venue", "original network", "military conflicts", "creator", "partially contains", "rector", "game mode", "use"], "program": [{"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["game mode", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["single-player video game"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Liverpool\" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> \"single-player video game\" . ?e_2 <pred:name> \"single-player video game\" . ?e_1 ?p ?e_2 .  }", "answer": "game mode"}, {"question": "What is the relationship between The Bold and the Beautiful to soap opera?", "choices": ["allegiance", "screenwriter", "manufacturer", "capital of", "genre", "field of this occupation", "part of", "lyrics by", "located in time zone", "geographic distribution"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Bold and the Beautiful"]}, {"function": "Find", "dependencies": [], "inputs": ["soap opera"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Bold and the Beautiful\" . ?e_2 <pred:name> \"soap opera\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What film received an award at the 58th Primetime Emmy Awards and has more than 0 episodes?", "choices": ["Christopher Columbus", "High School Musical", "Lonesome Dove", "The Daily Show", "Elizabeth I", "Six Feet Under", "Alice", "Mad TV", "Entourage", "Boston Legal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["58th Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of episodes", "0", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"58th Primetime Emmy Awards\" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) .  }", "answer": "Elizabeth I"}, {"question": "What is the quality of the person known for The Muppet Show that has the Twitter username of thefrankozjam?", "choices": ["legacy IPv4 address block", "English", "verified account", "first language", "verified badge", "second language", "conditional", "inactive", "mandatory", "Twitter verified badge"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Muppet Show"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "thefrankozjam", "has quality"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> \"The Muppet Show\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"thefrankozjam\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <has_quality> ?qpv .  }", "answer": "verified account"}, {"question": "Which ethnic group the director of photography of Sleepers belongs to?", "choices": ["Australians", "German Americans", "Koreans", "French people", "Italians", "Germans", "Croatian American", "Sinhalese people", "Pashtun people", "French American"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sleepers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["ethnic group"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <director_of_photography> ?e_1 . ?e_2 <pred:name> \"Sleepers\" .   }", "answer": "Germans"}, {"question": "How many television stations were established before 1985?", "choices": ["20", "21", "22", "23", "24", "25", "26", "27", "28", "29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1985", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  }", "answer": "20"}, {"question": "Is Swarthmore College's DOI prefix 10.18695?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swarthmore College"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["DOI prefix"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["10.18695"]}], "sparql": "ASK { ?e <pred:name> \"Swarthmore College\" . ?e <DOI_prefix> ?pv . ?pv <pred:value> \"10.18695\" .  }", "answer": "no"}, {"question": "Who was shorter, Reese Witherspoon or Amy Adams (the one that has the occupation of actor)?", "choices": ["Richard Gere", "Amy Adams", "Rahul Dev Burman", "Simon Cowell", "David Byrne", "Reese Witherspoon", "Max Fleischer", "Paul Simon", "Sylvester Stallone", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Reese Witherspoon"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amy Adams"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Reese Witherspoon\" .  } UNION { ?e <pred:name> \"Amy Adams\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"actor\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Reese Witherspoon"}, {"question": "What number of Indian states have a population of 22000 or where Adolf Hitler was born?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "22000", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of India"]}, {"function": "Find", "dependencies": [], "inputs": ["Adolf Hitler"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of India"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"22000\"^^xsd:double .  } UNION { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Adolf Hitler\" .  } }", "answer": "0"}, {"question": "Does War of the Worlds or Little Miss Sunshine have the shorter runtime?", "choices": ["A Prairie Home Companion", "Talk to Her", "War of the Worlds", "Rebecca", "Little Miss Sunshine", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "Pleasantville", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War of the Worlds"]}, {"function": "Find", "dependencies": [], "inputs": ["Little Miss Sunshine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"War of the Worlds\" .  } UNION { ?e <pred:name> \"Little Miss Sunshine\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Little Miss Sunshine"}, {"question": "Which is longer, Rambo: First Blood Part II or The Mummy: Tomb of the Dragon Emperor which cost is $145,000,000 United States dollars?", "choices": ["A Prairie Home Companion", "The Mummy: Tomb of the Dragon Emperor", "Pleasantville", "Rebecca", "Talk to Her", "The Hunchback of Notre Dame", "The Fifth Element", "Training Day", "Rambo: First Blood Part II", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rambo: First Blood Part II"]}, {"function": "Find", "dependencies": [], "inputs": ["The Mummy: Tomb of the Dragon Emperor"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["cost", "145000000 United States dollar", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rambo: First Blood Part II\" . } UNION { ?e <pred:name> \"The Mummy: Tomb of the Dragon Emperor\" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"145000000\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Mummy: Tomb of the Dragon Emperor"}, {"question": "Which is longer, Venus with the original language of English, or The Pursuit of Happyness?", "choices": ["Pleasantville", "The Pursuit of Happyness", "Training Day", "The Towering Inferno", "Talk to Her", "The Fifth Element", "Venus", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Venus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Pursuit of Happyness"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Venus\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .   } UNION { ?e <pred:name> \"The Pursuit of Happyness\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Pursuit of Happyness"}, {"question": "Which EC number matches to the chemical compound designated by ATC code B02BA01?", "choices": ["232-298-5", "200-773-6", "208-033-4", "204-007-1", "231-175-3", "201-564-2", "200-201-5", "200-522-0", "200-412-2", "200-578-6"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ATC code", "B02BA01"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["EC number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <ATC_code> ?pv_1 . ?pv_1 <pred:value> \"B02BA01\" . ?e <EC_number> ?pv .  }", "answer": "201-564-2"}, {"question": "Is 0000 0001 2127 2329 the ISNI of the person whose name in native language is William Cameron Menzies?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "William Cameron Menzies"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2127 2329"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"William Cameron Menzies\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2127 2329\" .  }", "answer": "no"}, {"question": "Which contemporary folk music soundtrack album is composed by Alan Menken?", "choices": ["Tangled", "Tarzan", "Batman", "Star Wars Episode IV: A New Hope", "The Hunchback of Notre Dame", "Into the Wild", "Dune", "The World Is Not Enough", "Twin Peaks: Fire Walk with Me", "The Lion King"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Menken"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["soundtrack album"]}, {"function": "Find", "dependencies": [], "inputs": ["contemporary folk music"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["soundtrack album"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"soundtrack album\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Alan Menken\" .  ?e <genre> ?e_2 . ?e_2 <pred:name> \"contemporary folk music\" .  }", "answer": "Tangled"}, {"question": "Where was the movie, whose official website is http://www.americangangster.net/. published on 15th Nov 2007 ?", "choices": ["Bolivia", "Germany", "Portugal", "BFI London Film Festival", "Turkey", "Moscow", "Chicago", "Sydney", "Russia", "El Capitan Theatre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.americangangster.net/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-11-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.americangangster.net/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-11-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who is the person that directed Beverly Hills, 90210 and attended Beverly Hills High School?", "choices": ["Rob Reiner", "Gina Gershon", "Tori Spelling", "William Henry Harrison", "Angelina Jolie", "Nora Ephron", "Albert Brooks", "Sylvester Stallone", "Jack Bender", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beverly Hills, 90210"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Beverly Hills High School"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Beverly Hills, 90210\" .  ?e <educated_at> ?e_2 . ?e_2 <pred:name> \"Beverly Hills High School\" .  }", "answer": "Tori Spelling"}, {"question": "What is the number of civil war that has a start time after 1927 or that is located in Russian Empire.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1927", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["civil war"]}, {"function": "Find", "dependencies": [], "inputs": ["Russian Empire"]}, {"function": "Relate", "dependencies": [3], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["civil war"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"civil war\" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1927 ) .  } UNION { ?e <location> ?e_1 . ?e_1 <pred:name> \"Russian Empire\" .  } }", "answer": "3"}, {"question": "What is the OSM tag or key of Orthodox Judaism?", "choices": ["Tag:sport=boxing", "Key:drink:milk", "Tag:denomination=seventh_day_adventist", "Tag:building:architecture=modern", "Tag:denomination=presbyterian", "Tag:shop=bakery", "Tag:religion=unitarian_universalist", "Tag:denomination=orthodox", "Tag:tourism=hotel", "Tag:sport=water_polo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Orthodox Judaism"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OSM tag or key"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Orthodox Judaism\" . ?e <OSM_tag_or_key> ?pv .  }", "answer": "Tag:denomination=orthodox"}, {"question": "What is the connection between The Smurfs (the one that has Katy Perry as a cast member) to The Smurfs (the one that has George Lopez as a voice actor)?", "choices": ["religious order", "cites", "make-up artist", "professional or sports partner", "theme music", "has part", "permanent resident of", "health specialty", "item operated", "work location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Katy Perry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Smurfs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["George Lopez"]}, {"function": "Relate", "dependencies": [4], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Smurfs"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Smurfs\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Katy Perry\" . ?e_2 <pred:name> \"The Smurfs\" . ?e_2 <voice_actor> ?e_4 . ?e_4 <pred:name> \"George Lopez\" . ?e_1 ?p ?e_2 .  }", "answer": "has part"}, {"question": "How large is Selma (the one whose local dialing code is 334)?", "choices": ["652230 square kilometre", "45.59 square kilometre", "153.06 square kilometre", "405.02 square kilometre", "37.302965 square kilometre", "3783 square kilometre", "369.243614 square kilometre", "110000000 square metre", "56.722146 square kilometre", "41.4734 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Selma"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "334"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Selma\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"334\" . ?e <area> ?pv .  }", "answer": "37.302965 square kilometre"}, {"question": "When did Jefferson County (the one that contains Louisville) have a population of 756832?", "choices": ["1984-01-01", "2012-01-12", "1996-02-18", "1942", "2013-07-01", "2013-04-08", "1979", "1880", "2805", "2017-10-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Louisville"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "756832", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jefferson County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Louisville\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"756832\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "What is the relationship between M*A*S*H and Michael Lerner (the one that has the occupation of actor)?", "choices": ["main food source", "depicts", "narrator", "game mode", "place of origin (Switzerland)", "territory claimed by", "cast member", "narrative location", "partner", "operating system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["M*A*S*H"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Lerner"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"M*A*S*H\" . ?e_2 <pred:name> \"Michael Lerner\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How is Godzilla published on 1954-11-03 related to Japanese?", "choices": ["office held by head of government", "country", "instrument", "platform", "medical treatment", "Wikidata property", "original language of film or TV show", "collection", "cites", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Godzilla"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1954-11-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Godzilla\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1954-11-03\"^^xsd:date . ?e_2 <pred:name> \"Japanese\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When did the county of Michigan Andrew Jackson (named for the person that belonged to the United States Army) has a population of 160369?", "choices": ["2013-07-01", "1768", "1806", "1954-01-01", "2005-05-18", "2018-08-15", "1795", "2010-10-01", "2012-05-09", "2004-06-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Army"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military branch", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrew Jackson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Michigan"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "160369", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Andrew Jackson\" . ?e_1 <military_branch> ?e_2 . ?e_2 <pred:name> \"United States Army\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"160369\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "How many subscribers are associated with frederickmd, the subreddit of Frederick County with the population of 234,174 ?", "choices": ["2759086", "48", "4980000", "8748", "152982", "21537", "2426", "22982", "1112616", "268128"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frederick County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "234174", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["subreddit", "frederickmd", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Frederick County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"234174\"^^xsd:double . ?e <subreddit> ?pv . ?pv <pred:value> \"frederickmd\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "2426"}, {"question": "How many dogs with origins in Russia have a life expectancy over 13.0 year?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "13.0 year", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "Find", "dependencies": [], "inputs": ["Russia"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["dog"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"13.0\"^^xsd:double ) . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Russia\" .  }", "answer": "0"}, {"question": "How is the relation between the prime minister and Guyana defined?", "choices": ["source of material", "coextensive with", "office held by head of government", "famous people", "product or material produced", "fictional universe described in", "voice type", "license", "located in the administrative territorial entity", "organizer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guyana"]}, {"function": "Find", "dependencies": [], "inputs": ["prime minister"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Guyana\" . ?e_2 <pred:name> \"prime minister\" . ?e_1 ?p ?e_2 .  }", "answer": "office held by head of government"}, {"question": "a10427223 is the CANTIC-ID for which individual?", "choices": ["Max Fleischer", "Vanessa Hudgens", "Richard Linklater", "Phil Collins", "Donald Trump", "Richard Gere", "Michelle Williams", "William Henry Harrison", "Holland Taylor", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10427223"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10427223\" .  }", "answer": "Richard Linklater"}, {"question": "How many American football teams have Brett Favre as a member?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brett Favre"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Brett Favre\" .   }", "answer": "4"}, {"question": "What state was Wedding Crashers set in?", "choices": ["Georgia", "Hawaii", "Mississippi", "Nebraska", "Maryland", "Texas", "Massachusetts", "West Virginia", "Louisiana", "Washington, D.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Wedding Crashers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <narrative_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Wedding Crashers\" .   }", "answer": "Maryland"}, {"question": "Who has fewer children, David Alan Grier or Herbert Hoover?", "choices": ["Sylvester Stallone", "William Henry Harrison", "David Alan Grier", "James E. Reilly", "Herbert Hoover", "Paul Simon", "David Byrne", "Simon Cowell", "Richard Gere", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Alan Grier"]}, {"function": "Find", "dependencies": [], "inputs": ["Herbert Hoover"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Alan Grier\" .  } UNION { ?e <pred:name> \"Herbert Hoover\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "David Alan Grier"}, {"question": "How many regions of France are presided over by the public official that is the head of government of New Hampshire?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Hampshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["office held by head of government", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public office"]}, {"function": "Relate", "dependencies": [2], "inputs": ["office held by head of government", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["region of France"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"public office\" . ?e_2 <office_held_by_head_of_government> ?e_1 . ?e_2 <pred:name> \"New Hampshire\" .   }", "answer": "0"}, {"question": "What is the date of birth of the person who became a member of Arbroath F.C. on 2016-01-01?", "choices": ["1959-11-19", "1959-12-30", "1940-07-07", "1964-10-14", "1919-05-03", "1970-08-26", "1928-12-07", "1907-02-15", "1995-05-15", "1898-08-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arbroath F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2016-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Arbroath F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"2016-01-01\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1995-05-15"}, {"question": "What state in the United States has the capital city in the United States whose official website is http://www.cityofdover.com/?", "choices": ["Delaware", "West Virginia", "Idaho", "New Hampshire", "Arkansas", "Rhode Island", "Kent County", "California", "Maryland", "Ohio"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityofdover.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city of the United States\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityofdover.com/\" .   }", "answer": "Delaware"}, {"question": "When was FC Khimki established?", "choices": ["1565", "1859-02-14", "1946", "1701", "1996", "681", "1875-07-31", "2005-01-01", "1827", "1972-04-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Khimki"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"FC Khimki\" . ?e <inception> ?pv .  }", "answer": "1996"}, {"question": "What is the association of the 1997 Major League Baseball draft with Seton Hall University?", "choices": ["set in period", "draft pick from school", "public holiday", "afflicts", "copyright representative", "depicted by", "student of", "screenwriter", "candidate", "notable people with this condition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1997 Major League Baseball draft"]}, {"function": "Find", "dependencies": [], "inputs": ["Seton Hall University"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"1997 Major League Baseball draft\" . ?e_2 <pred:name> \"Seton Hall University\" . ?e_1 ?p ?e_2 .  }", "answer": "draft pick from school"}, {"question": "Which single's ISWC is T-910.191.187-9?", "choices": ["City of Angels", "Ghostbusters", "Monster", "Brave", "Angel", "A View to a Kill", "Hello, Dolly!", "Mona Lisa", "Daylight", "Stand by Me"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISWC", "T-910.191.187-9"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <ISWC> ?pv . ?pv <pred:value> \"T-910.191.187-9\" .  }", "answer": "City of Angels"}, {"question": "Which movie has Dee Bradley Baker as a voice actor?", "choices": ["Naruto Shippuden the Movie: Bonds", "Terminator Salvation", "American Dad!", "Howl's Moving Castle", "The SpongeBob SquarePants Movie", "Frankenweenie", "Yentl", "Scooby-Doo", "Star Wars: The Clone Wars", "Spider-Man 2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dee Bradley Baker"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Dee Bradley Baker\" .   }", "answer": "Star Wars: The Clone Wars"}, {"question": "What is the connection between June Carter Cash to Nashville (the one whose population is 659042)?", "choices": ["place of death", "narrator", "director of photography", "famous people", "narrative role", "location of final assembly", "place of publication", "located in or next to body of water", "participant of", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["June Carter Cash"]}, {"function": "Find", "dependencies": [], "inputs": ["Nashville"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "659042", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"June Carter Cash\" . ?e_2 <pred:name> \"Nashville\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"659042\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "What is Andy Serkis's character role in  The Adventures of Tintin (the one that was nominated for Academy Award for Best Original Score)?", "choices": ["Sailor Ripley", "Nelson Mandela", "George Costanza", "Captain Haddock", "Leticia Ortiz", "Warren Worthington III", "Harry Boland", "Chip 'n' Dale", "Zeus", "Serena van der Woodsen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Adventures of Tintin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Andy Serkis"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Adventures of Tintin\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Original Score\" . ?e_2 <pred:name> \"Andy Serkis\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Captain Haddock"}, {"question": "What administrative territorial entity we know FIPS 6-4 whose (US counties) is 29099 and whose location is Missouri ?", "choices": ["Greene County", "African Union", "Cass County", "Jackson County", "Jefferson County", "Orange County", "Lee County", "Kent County", "Delaware County", "Washoe County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "29099"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "Find", "dependencies": [], "inputs": ["Missouri"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"29099\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Missouri\" .  }", "answer": "Jefferson County"}, {"question": "\u0421\u043e\u0432\u0435\u0442 \u0421\u043e\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0438\u043a \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u043b\u0430\u0440\u044b \u0421\u043e\u044e\u0437\u044b, the Soviet Union's native label, uses which writing system?", "choices": ["Greek alphabet", "Arabic alphabet", "Russian orthography before 1918", "Cyrillic script", "plqaD", "Hanja", "Mongolian script", "Devanagari", "Latin script", "Hangul"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Soviet Union"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["native label", "\u0421\u043e\u0432\u0435\u0442 \u0421\u043e\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0438\u043a \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u043b\u0430\u0440\u044b \u0421\u043e\u044e\u0437\u044b", "writing system"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Soviet Union\" . ?e <native_label> ?pv . ?pv <pred:value> \"\u0421\u043e\u0432\u0435\u0442 \u0421\u043e\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0438\u043a \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u043b\u0430\u0440\u044b \u0421\u043e\u044e\u0437\u044b\" . [ <pred:fact_h> ?e ; <pred:fact_r> <native_label> ; <pred:fact_t> ?pv ] <writing_system> ?qpv .  }", "answer": "Cyrillic script"}, {"question": "How many counties in Illinois were founded before 1837?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1837", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1837 ) .  }", "answer": "14"}, {"question": "Maccabi Haifa F.C. has what connection to Israel, release region of I Love You Phillip Morris?", "choices": ["follows", "award disciplines or subjects", "screenwriter", "sexual orientation", "voice type", "make-up artist", "country", "distributor", "based on", "platform"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maccabi Haifa F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["I Love You Phillip Morris"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Maccabi Haifa F.C.\" . ?e_2 <pred:name> \"Israel\" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> \"I Love You Phillip Morris\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Among the democracies that are exported to the People's Republic of China, which has the smallest nominal GDP per capita?", "choices": ["Sudan", "Namibia", "France", "Mozambique", "Colombia", "Germany", "Italy", "Tunisia", "Zimbabwe", "Bolivia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["People's Republic of China"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["nominal GDP per capita", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <exported_to> ?e_1 . ?e_1 <pred:name> \"People's Republic of China\" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mozambique"}, {"question": "What is the character role of Karl Urban (winner of a Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture) as a cast member in the film Dredd?", "choices": ["Danny Ocean", "Judge Dredd", "Lois Lane", "Mr. Krabs", "Yao", "Callie Torres", "Cousin Randy", "Harry Dunne", "General Pushkin", "Barry Egan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dredd"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Relate", "dependencies": [1], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Karl Urban"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dredd\" . ?e_2 <pred:name> \"Karl Urban\" . ?e_3 <winner> ?e_2 . ?e_3 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Judge Dredd"}, {"question": "Did dub orginate after 1993?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["dub"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1993", ">"]}], "sparql": "ASK { ?e <pred:name> \"dub\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1993 ) .  }", "answer": "no"}, {"question": "Is http://www.goldenglobes.com the official website for the Golden Globe Award for Best Screenplay?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Screenplay"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.goldenglobes.com"]}], "sparql": "ASK { ?e <pred:name> \"Golden Globe Award for Best Screenplay\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.goldenglobes.com\" .  }", "answer": "yes"}, {"question": "The town with http://www.sthelens.gov.uk/ as its website and 4000000074558532 as its TOID is known by what town name?", "choices": ["Colchester", "South Shields", "St Helens", "Wigan", "Macclesfield", "Blackburn", "Doncaster", "Royal Tunbridge Wells", "Basingstoke", "Wimbledon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074558532"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.sthelens.gov.uk/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074558532\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sthelens.gov.uk/\" .  }", "answer": "St Helens"}, {"question": "When did the New England Patriots become a part of the National Football League?", "choices": ["1945-12-27", "1922-12-06", "2017-05-24", "1971-09-07", "1907-04-30", "1992-02-26", "2016-10-05", "1970", "1567-01-01", "2012-01-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New England Patriots"]}, {"function": "Find", "dependencies": [], "inputs": ["National Football League"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["league", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"New England Patriots\" . ?e_2 <pred:name> \"National Football League\" . ?e_1 <league> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <league> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1970"}, {"question": "Which film has the shorter runtime, The Last of the Mohicans (whose duration is 231 minutes) or Baraka?", "choices": ["The Towering Inferno", "The Hunchback of Notre Dame", "The Last of the Mohicans", "Talk to Her", "A Prairie Home Companion", "Rebecca", "Curse of the Golden Flower", "The Fifth Element", "Baraka", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last of the Mohicans"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "231 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Baraka"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Last of the Mohicans\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"231\"^^xsd:double . } UNION { ?e <pred:name> \"Baraka\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Baraka"}, {"question": "What is the connection between Danny Glover (the one that is related to sport association football) to A.F.C. Telford United?", "choices": ["currency", "member of sports team", "language used", "league", "notable people with this condition", "appears in the form of", "religious order", "archives at", "destination point", "position played on team / speciality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Danny Glover"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["A.F.C. Telford United"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Danny Glover\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"association football\" . ?e_2 <pred:name> \"A.F.C. Telford United\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is teh ISNI of the spouse of Victoria Beckham (the start time of this statement is 1999)?", "choices": ["0000 0001 2214 904X", "0000 0001 2214 9883", "0000 0004 1936 9721", "0000 0000 4301 4665", "0000 0000 7885 4832", "0000 0001 0806 6926", "0000 0001 1452 3898", "0000 0001 1608 7663", "0000 0000 9688 3311", "0000 0000 8024 8305"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victoria Beckham"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Victoria Beckham\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1999 . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1452 3898"}, {"question": "When did Jennifer Aniston become Justin Theroux's partner?", "choices": ["1807-12-10", "2011-05-01", "1985-09-05", "1430-03-29", "2011-08-30", "2004-03-20", "1993-07-08", "1963-05-25", "2011-06-24", "2004-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jennifer Aniston"]}, {"function": "Find", "dependencies": [], "inputs": ["Justin Theroux"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["partner", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jennifer Aniston\" . ?e_2 <pred:name> \"Justin Theroux\" . ?e_1 <partner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2011-05-01"}, {"question": "What is the FIPS 6-4 (US counties) of the administrative territorial entity with a population of 122851?", "choices": ["21227", "36085", "06095", "26093", "41009", "36019", "18105", "51199", "39057", "39023"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "122851", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"122851\"^^xsd:double . ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "21227"}, {"question": "When did Asheville's population number 89,121?", "choices": ["1997", "1992-02-25", "2000-10-01", "2018-06-01", "2011-09-21", "2013-01-17", "2002-12-31", "1990-04-01", "2016", "1954-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asheville"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "89121", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Asheville\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"89121\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "Is 1930-10-04 the establishment date of the agent whose official website is http://www.racingmuseum.org/hall-of-fame/ (this statement's language is English)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.racingmuseum.org/hall-of-fame/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyDate", "dependencies": [4], "inputs": ["1930-10-04", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.racingmuseum.org/hall-of-fame/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv . ?pv <pred:date> \"1930-10-04\"^^xsd:date .  }", "answer": "no"}, {"question": "How is Lea Michele related to the role of musician?", "choices": ["occupation", "destination point", "relative", "military branch", "works in collection", "opposite of", "designated as terrorist by", "languages spoken, written or signed", "original network", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lea Michele"]}, {"function": "Find", "dependencies": [], "inputs": ["musician"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lea Michele\" . ?e_2 <pred:name> \"musician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the runtime of Wall Street whose production company is Columbia Pictures?", "choices": ["215 minute", "231 minute", "201 minute", "92 minute", "124 minute", "68 minute", "220 minute", "170 minute", "66 minute", "152 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wall Street"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Wall Street\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Columbia Pictures\" .  ?e <duration> ?pv .  }", "answer": "68 minute"}, {"question": "How many musicians have the same occupation as Just Blaze or Jaco Pastorius?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Just Blaze"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musician"]}, {"function": "Find", "dependencies": [], "inputs": ["Jaco Pastorius"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musician"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musician\" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Just Blaze\" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Jaco Pastorius\" .  } }", "answer": "2"}, {"question": "What is the beginning date that UKJ34 is the NUTS code for Isle of Wight?", "choices": ["1708-07-05", "1978-01-01", "1988-05-16", "2005-11-17", "1850-09-09", "1999-01-01", "2007-04-13", "2012-11-15", "1992-04-23", "1977-02-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Isle of Wight"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["NUTS code", "UKJ34", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Isle of Wight\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"UKJ34\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Does Nassar or Abhishek Bachchan have a less number of children?", "choices": ["Nassar", "William Henry Harrison", "Sylvester Stallone", "Simon Cowell", "Paul Simon", "James E. Reilly", "Max Fleischer", "Abhishek Bachchan", "David Byrne", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nassar"]}, {"function": "Find", "dependencies": [], "inputs": ["Abhishek Bachchan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nassar\" .  } UNION { ?e <pred:name> \"Abhishek Bachchan\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Abhishek Bachchan"}, {"question": "What is the time point for Suffolk, which is 11 meters above sea level and has a population of 84879?", "choices": ["1770-01-01", "1962-04-09", "2010-07-01", "1990-10-03", "2011-12-01", "1746-01-01", "1981-12-31", "1916-01-01", "2018-08-16", "1915"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Suffolk"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "11 metre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "84879", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Suffolk\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"11\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"84879\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Frankie Faison was cast in the TV series with what season count?", "choices": ["5", "10", "7", "28", "22", "48", "1", "30", "14", "41"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frankie Faison"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Frankie Faison\" .  ?e <number_of_seasons> ?pv .  }", "answer": "7"}, {"question": "What film was nominated for a Golden Raspberry Award for Worst Screen Couple/Ensemble and is based on The Man in the Iron Mask that has Joan Bennett as a cast member?", "choices": ["Rebecca", "Talk to Her", "Swept Away", "Pinocchio", "Just Go with It", "A Prairie Home Companion", "Training Day", "The Man in the Iron Mask", "The Fifth Element", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screen Couple/Ensemble"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Joan Bennett"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man in the Iron Mask"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Screen Couple/Ensemble\" .  ?e <based_on> ?e_2 . ?e_2 <pred:name> \"The Man in the Iron Mask\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"Joan Bennett\" .  }", "answer": "The Man in the Iron Mask"}, {"question": "Of all anime TV series with other than 60 episodes, which boasts the highest episode count?", "choices": ["Dragon Ball", "Yu-Gi-Oh! GX", "The Three Musketeers", "Mobile Suit Gundam 00", "Yu-Gi-Oh! Duel Monsters", "Digimon Adventure", "Speed Racer", "Digimon Adventure 02", "RahXephon", "Mobile Suit Gundam SEED"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "60", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"60\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Yu-Gi-Oh! Duel Monsters"}, {"question": "How much area is occupied by the New York city with the English-language website www.cityofelmira.net?", "choices": ["151.69 square kilometre", "2548.0 square kilometre", "107.478244 square kilometre", "3000 square kilometre", "2578 square kilometre", "34.27979 square kilometre", "314.96 hectare", "59.143503 square kilometre", "381.18 square kilometre", "19.628377 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cityofelmira.net/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of New York"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cityofelmira.net/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <area> ?pv .  }", "answer": "19.628377 square kilometre"}, {"question": "Which has a lesser duration, Savannah (whose title is Savannah) or The Invasion?", "choices": ["The Towering Inferno", "Rebecca", "Training Day", "Curse of the Golden Flower", "Talk to Her", "Savannah", "A Prairie Home Companion", "The Fifth Element", "Pleasantville", "The Invasion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Savannah"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Savannah"]}, {"function": "Find", "dependencies": [], "inputs": ["The Invasion"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Savannah\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Savannah\" . } UNION { ?e <pred:name> \"The Invasion\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Invasion"}, {"question": "What method determines that 254625 is the population of the Washington county having the official website http://www.kitsapgov.com (in the English language)?", "choices": ["resident registration", "questionnaire", "middle", "estimation process", "lead-lead dating", "average", "2016 Australian census", "Taqdir", "United Kingdom Census 2001", "demographic balance"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.kitsapgov.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Washington"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "254625", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.kitsapgov.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"254625\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "For which work was Mark Knopfler nominated for Grammy Award for Song of the Year?", "choices": ["The Great McGinty", "Woodstock", "Lord of Light", "The Hoaxters", "Money for Nothing", "Star Wars: The Force Awakens", "How to Talk to Girls at Parties", "Law & Order", "City of Hope", "Constant Craving"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Knopfler"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Song of the Year"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mark Knopfler\" . ?e_2 <pred:name> \"Grammy Award for Song of the Year\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Money for Nothing"}, {"question": "When did the Rangers F.C. member John Spencer join the team?", "choices": ["1989-12-18", "1777-07-30", "1807", "1992-04-30", "1956-11-01", "1988-01-01", "1592", "1985-05-29", "2006-07-31", "1961-10-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rangers F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Spencer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rangers F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Spencer\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Rangers F.C.\" . ?e_2 <pred:name> \"Rangers F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1988-01-01"}, {"question": "Among the Alabama counties with a population of less than 39000, which one has the largest area?", "choices": ["Mobile County", "Baldwin County", "Madison County", "Washington County", "Monroe County", "Jackson County", "Dallas County", "Shelby County", "Jefferson County", "Montgomery County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "39000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"39000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Washington County"}, {"question": "When did the George Stevens born on 1910-03-18 join Southend United F.C.?", "choices": ["1933-01-01", "1843-03-04", "1861-07-02", "1682", "1896-01-01", "1839-01-24", "2012-02-24", "1989-11-17", "2016-07-22", "1981-01-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Stevens"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1910-03-18", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Southend United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George Stevens\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1910-03-18\"^^xsd:date . ?e_2 <pred:name> \"Southend United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1933-01-01"}, {"question": "What is the date that The Last Airbender (that received a Golden Raspberry Award for Worst Picture) was nominated for a Golden Raspberry Award for Worst Screenplay?", "choices": ["2011-01-12", "1974", "2010", "1772-12-01", "1965-01-01", "1369", "1977-12-01", "2006", "1881-09-19", "1920-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Last Airbender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Last Airbender\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Picture\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Was the costume designer on Algiers, set in Algeria, born prior to 1933 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Algeria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Algiers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["costume designer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1933", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <costume_designer> ?e . ?e_1 <pred:name> \"Algiers\" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> \"Algeria\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1933 ) .  }", "answer": "yes"}, {"question": "Did the Texas county occupying 2294 square km have a population other than 4300000000 on 2013-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2294 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2013-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4300000000", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2294\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4300000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2013-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How is it determined that Klamath County has a population of 66016?", "choices": ["rated voltage", "demographic balance", "Russian Empire Census", "Yemen General Census of Population, Housing and Establishments 2004", "tradition", "de jure", "resident registration", "middle", "United Kingdom Census 2001", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Klamath County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "66016", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Klamath County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"66016\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "When was Silver Linings Playbook nominated for  Broadcast Film Critics Association Award for Best Film ?", "choices": ["1961-06-06", "2012", "1966-04-18", "1139", "2014-06-30", "1997-03-24", "1738-01-01", "1965", "2018-11-27", "1847"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Silver Linings Playbook"]}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Silver Linings Playbook\" . ?e_2 <pred:name> \"Broadcast Film Critics Association Award for Best Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2012"}, {"question": "Which area has a smaller real gross domestic product growth rate, Samoa or Venezuela?", "choices": ["South Sudan", "Cambodia", "Benin", "Weimar Republic", "People's Republic of China", "Kiribati", "Switzerland", "Samoa", "Venezuela", "Socialist Federal Republic of Yugoslavia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samoa"]}, {"function": "Find", "dependencies": [], "inputs": ["Venezuela"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["real gross domestic product growth rate", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Samoa\" .  } UNION { ?e <pred:name> \"Venezuela\" .  } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Venezuela"}, {"question": "How is the Bank of America related to San Francisco, population 739426?", "choices": ["film release region", "different from", "location of formation", "relative", "subsidiary", "collection", "separated from", "participant", "winner", "subject has role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bank of America"]}, {"function": "Find", "dependencies": [], "inputs": ["San Francisco"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "739426", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bank of America\" . ?e_2 <pred:name> \"San Francisco\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"739426\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "location of formation"}, {"question": "For Hurt Locker was it published other than 2008 (the publication place of this statement is Hungary)", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Hurt Locker"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["publication date", "place of publication", "Hungary"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["2008", "!="]}], "sparql": "ASK { ?e <pred:name> \"The Hurt Locker\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Hungary\" .  }", "answer": "yes"}, {"question": "When was Syria's rate of inflation at 9.6% ?", "choices": ["1495-01-01", "1900-01-05", "2013-10-17", "1991-01-01", "1996-09-07", "1688", "2003-01-15", "2016-11-01", "2012-05-09", "2008-06-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["inflation rate", "9.6 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Syria\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"9.6\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "What is the beginning date that the legal structure of Google (that produces technology as a product or material) is a limited liability company?", "choices": ["1978-03-10", "1921-03-04", "2017", "2003-09-27", "1948-10-01", "1850", "1944-08-25", "1865-10-02", "1922-03-22", "1994-09-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["technology"]}, {"function": "Relate", "dependencies": [0], "inputs": ["product or material produced", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Google"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["limited liability company"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["legal form", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Google\" . ?e_1 <product_or_material_produced> ?e_3 . ?e_3 <pred:name> \"technology\" . ?e_2 <pred:name> \"limited liability company\" . ?e_1 <legal_form> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <legal_form> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2017"}, {"question": "Does Amherst College or University of Oklahoma have fewer employees?", "choices": ["Trinity College", "Hampshire College", "Denison University", "Colorado College", "Grinnell College", "Williams College", "Barnard College", "University of Oklahoma", "Amherst College", "Clark University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amherst College"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Oklahoma"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amherst College\" .  } UNION { ?e <pred:name> \"University of Oklahoma\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Amherst College"}, {"question": "What is the  start time today for the presenter Matt Lauer who is presenting Ann Curry?", "choices": ["1645", "2000-03-07", "1964-10-24", "2010-10-26", "1993-07-13", "1994", "1898", "1976-07-17", "2009-09-22", "1957-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ann Curry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["presenter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Today"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Matt Lauer"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["presenter", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Today\" . ?e_1 <presenter> ?e_3 . ?e_3 <pred:name> \"Ann Curry\" . ?e_2 <pred:name> \"Matt Lauer\" . ?e_1 <presenter> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <presenter> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1994"}, {"question": "Does Brandenburg (that is an administrative division of the German Democratic Republic) or Western Cape have the larger population?", "choices": ["Lublin Voivodeship", "Brandenburg", "Upper Austria", "Minas Gerais", "New South Wales", "Punjab", "Greater Poland Voivodeship", "England", "Podlaskie Voivodeship", "Western Cape"], "program": [{"function": "Find", "dependencies": [], "inputs": ["German Democratic Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brandenburg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Western Cape"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brandenburg\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"German Democratic Republic\" .   } UNION { ?e <pred:name> \"Western Cape\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Western Cape"}, {"question": "Whcih movie is longer, Meet the Fockers or Battleship (the one whose release region is Germany)?", "choices": ["Rebecca", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Battleship", "Curse of the Golden Flower", "Talk to Her", "The Fifth Element", "The Towering Inferno", "Training Day", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meet the Fockers"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Battleship"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Meet the Fockers\" .  } UNION { ?e <pred:name> \"Battleship\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Germany\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Battleship"}, {"question": "Which is the longest among the film series that are less than 600 minutes long?", "choices": ["The Fast and the Furious", "Batman", "Ice Age", "Carry On", "Final Destination", "Dumb and Dumber", "Rugrats", "The Mummy", "The Smurfs", "Die Hard"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "600 minute", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"600\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ice Age"}, {"question": "When did Thelma Schoonmaker marry the actor Michael Powell ?", "choices": ["1893-03-10", "1571", "2012-01-17", "1969-12-11", "1861-04-22", "1945-06-16", "1805-06-04", "1960-09-20", "1833-09-06", "1984-05-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thelma Schoonmaker"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Powell"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Thelma Schoonmaker\" . ?e_2 <pred:name> \"Michael Powell\" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> \"actor\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1984-05-19"}, {"question": "Which administrative territorial entity's FIPS 6-4 (US counties) is 49045", "choices": ["African Union", "Washoe County", "Douglas County", "Weld County", "Orange County", "Kent County", "Stirling", "San Juan County", "Tooele County", "Gwinnett County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "49045"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"49045\" .  }", "answer": "Tooele County"}, {"question": "What initialism is the main subject of the visual artwork titled Being John Malkovich?", "choices": ["Humboldt County", "serum", "Klamath County", "lesbian", "Montgomery County", "Servette FC", "John Sturges", "Kareem Abdul-Jabbar", "Alex Kurtzman", "gay"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Being John Malkovich"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["main subject", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["initialism"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"initialism\" . ?e_1 <main_subject> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Being John Malkovich\" .   }", "answer": "lesbian"}, {"question": "Which settlement that has a population of less than 8300 has the largest male population?", "choices": ["Subiaco", "Princeton", "Belleville", "Montclair", "Red Bank", "Perth Airport", "North Hollywood", "Livingston", "Ridgewood", "Verona"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8300", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["male population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"8300\"^^xsd:double ) . ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Subiaco"}, {"question": "What is the connection between Robert Englund to Swedish American?", "choices": ["significant event", "next lower rank", "film regional debut venue", "ethnic group", "notable work", "is a list of", "composer", "theme music", "significant person", "occupant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Englund"]}, {"function": "Find", "dependencies": [], "inputs": ["Swedish American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Englund\" . ?e_2 <pred:name> \"Swedish American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "What's the time point of the US city that is Lee County's capital, has an area of 132 square kilometers and a population of 84100?", "choices": ["2008-01-16", "1789-01-01", "1982", "1933-01-01", "1637-01-01", "1930-10-01", "1987-01-01", "1923-01-01", "1885-12-01", "2010"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lee County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "84100", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["area", "132 square kilometre", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Lee County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"84100\"^^xsd:double . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"132\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Dr. Strangelove, with a story set in Washington, D.C., goes by what title?", "choices": ["Schindler's List", "Dr. Strangelove", "Blade: Trinity", "Transamerica", "Carson City", "The Nightmare Before Christmas", "Quills", "The Rules of Attraction", "Timeline", "The World Is Not Enough"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington, D.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dr. Strangelove"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Dr. Strangelove\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Washington, D.C.\" .  ?e <title> ?pv .  }", "answer": "Dr. Strangelove"}, {"question": "Which movie is shorter, Bullets Over Broadway or A Streetcar Named Desire (the one that received Academy Award for Best Actress)?", "choices": ["The Fifth Element", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Bullets Over Broadway", "A Streetcar Named Desire", "Talk to Her", "Pleasantville", "The Towering Inferno", "Training Day", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bullets Over Broadway"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [1], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Streetcar Named Desire"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bullets Over Broadway\" .  } UNION { ?e <pred:name> \"A Streetcar Named Desire\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bullets Over Broadway"}, {"question": "When was the birth of the executive producer of Wonder Woman, set in Germany?", "choices": ["1914-02-17", "1961-09-02", "1907-11-27", "1884-05-08", "1921-02-21", "1986-06-13", "1973-01-25", "1932-01-03", "1960-11-10", "1948-03-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Woman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <executive_producer> ?e . ?e_1 <pred:name> \"Wonder Woman\" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> \"Germany\" .  ?e <date_of_birth> ?pv .  }", "answer": "1973-01-25"}, {"question": "How many months come after the month preceded by May, the 5th in the series of calendar months?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["May"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["series ordinal", "5"]}, {"function": "Relate", "dependencies": [1], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["calendar month"]}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["calendar month"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <follows> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"calendar month\" . ?e_1 <followed_by> ?e_3 . ?e_3 <pred:name> \"May\" . ?e_3 <series_ordinal> ?pv . ?pv <pred:value> \"5\" .   }", "answer": "1"}, {"question": "What is The Greatest Show on Earth, which was nominated for an Academy Award for Best Director about?", "choices": ["Qatar\u2013Taiwan relations", "China\u2013Tanzania relations", "China\u2013Czech Republic relations", "Croatia\u2013Germany relations", "25th Academy Awards", "Cyprus\u2013Germany relations", "Grenada\u2013Venezuela border", "Denmark\u2013Nepal relations", "Iceland\u2013United Kingdom relations", "Germany\u2013Ireland relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Greatest Show on Earth"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Greatest Show on Earth\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "25th Academy Awards"}, {"question": "When did the U.S. city with local dialing code 330 - 234 have a population of 199110?", "choices": ["1700-01-01", "2011", "2018-12-01", "2010-01-01", "1963-01-01", "1900", "1897-01-01", "-500", "2010-01-23", "1962-05-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "330 - 234"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "199110", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"330 - 234\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"199110\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Which is longer, Hans Christian Andersen, produced by Samuel Goldwyn or The Damned from the USA?", "choices": ["A Prairie Home Companion", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Towering Inferno", "Talk to Her", "The Fifth Element", "Training Day", "Pleasantville", "Hans Christian Andersen", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel Goldwyn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hans Christian Andersen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Damned"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hans Christian Andersen\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Samuel Goldwyn\" .   } UNION { ?e <pred:name> \"The Damned\" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hans Christian Andersen"}, {"question": "Of Washington counties with a population different from 7200, which has the least area?", "choices": ["Clark County", "Grant County", "Pierce County", "Kitsap County", "Yakima County", "Whatcom County", "Grays Harbor County", "Okanogan County", "King County", "Clallam County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "7200", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"7200\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kitsap County"}, {"question": "What is the date of birth of the person whose ISNI is 0000 0001 1462 8104?", "choices": ["1789-08-11", "1947-04-12", "1927-06-08", "1956-09-03", "1712-06-28", "1843-04-15", "1944-01-21", "1922-08-22", "1930-02-19", "1977-10-16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1462 8104"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1462 8104\" . ?e <date_of_birth> ?pv .  }", "answer": "1927-06-08"}, {"question": "Since when is Odessa (the one whose licence plate code is BH) the twin city of Split (the one that owns H.N.K. Hajduk Split) ?", "choices": ["2000-09-15", "1964-01-01", "1993-04-06", "1958-10-07", "2007", "1944-11-23", "2000-06-01", "1995-05-31", "1952", "1932-07-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Odessa"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "BH"]}, {"function": "Find", "dependencies": [], "inputs": ["H.N.K. Hajduk Split"]}, {"function": "Relate", "dependencies": [2], "inputs": ["owned by", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Split"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Odessa\" . ?e_1 <licence_plate_code> ?pv . ?pv <pred:value> \"BH\" . ?e_2 <pred:name> \"Split\" . ?e_3 <owned_by> ?e_2 . ?e_3 <pred:name> \"H.N.K. Hajduk Split\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1964-01-01"}, {"question": "When did the big city that is the twinned administrative body of Auckland have a population of 1652363?", "choices": ["1990", "2012", "1664", "1974", "2012-12-29", "2018-09-30", "1969-04-14", "1998-04-18", "1987-01-01", "1919"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Auckland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1652363", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Auckland\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1652363\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1990"}, {"question": "Does Munzinger IBA 00000003348 match to Samuel Goldwyn ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Samuel Goldwyn"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["00000003348"]}], "sparql": "ASK { ?e <pred:name> \"Samuel Goldwyn\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000003348\" .  }", "answer": "yes"}, {"question": "Which one among language families, with the number of speakers not equal to 1,100, has the smallest number of them ?", "choices": ["Ukrainian Soviet Socialist Republic", "Clint Eastwood", "Albanian", "Yue Chinese", "Afro-Asiatic languages", "indie folk", "Mandarin Chinese", "Austronesian languages", "Django Unchained", "Dilys Award"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of speakers", "1100", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language family"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of speakers", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language family\" . ?e <number_of_speakers> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"1100\"^^xsd:double ) . ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Albanian"}, {"question": "What is the number of animated feature films with the official website https://www.pixar.com/feature-films/cars and that has a publication date other than 1999?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.pixar.com/feature-films/cars"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1999", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated feature film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.pixar.com/feature-films/cars\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1999 ) .  }", "answer": "1"}, {"question": "What is the relationship between Grey's Anatomy and Marti Noxon?", "choices": ["published in", "substitute/deputy/replacement of office/officeholder", "mountain range", "operating area", "publisher", "executive producer", "signatory", "set in period", "has edition", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grey's Anatomy"]}, {"function": "Find", "dependencies": [], "inputs": ["Marti Noxon"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Grey's Anatomy\" . ?e_2 <pred:name> \"Marti Noxon\" . ?e_1 ?p ?e_2 .  }", "answer": "executive producer"}, {"question": "What sports season is selected from the University of California, Los Angeles?", "choices": ["2008 NCAA Men's Division I Basketball Tournament", "2000 NCAA Men's Division I Basketball Tournament", "2006 NFL Draft", "1909 Major League Baseball season", "1995 Major League Baseball draft", "2006 Major League Baseball draft", "2001 Major League Baseball draft", "2006 NCAA Men's Division I Basketball Tournament", "2008 NBA Draft", "1997 Major League Baseball draft"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of California, Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["draft pick from school", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sports season"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sports season\" . ?e <draft_pick_from_school> ?e_1 . ?e_1 <pred:name> \"University of California, Los Angeles\" .   }", "answer": "1997 Major League Baseball draft"}, {"question": "What is the relation between the 42nd Academy Awards and Walter M. Scott?", "choices": ["based on", "employer", "military conflicts", "occupation", "director", "located in or next to body of water", "month of the year", "award received", "contributing factor of", "father"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter M. Scott"]}, {"function": "Find", "dependencies": [], "inputs": ["42nd Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Walter M. Scott\" . ?e_2 <pred:name> \"42nd Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Who is the producer of the visual artwork that is a derivative work of Lost in Space distributed by 20th Century Fox Television?", "choices": ["Brittany Murphy", "Michael Moore", "Thomas Alva Edison", "Max Fleischer", "Garth Brooks", "Richard Gere", "Jules White", "Akiva Goldsman", "Joseph Ruttenberg", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox Television"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lost in Space"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [5], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_3 <derivative_work> ?e_1 . ?e_3 <pred:name> \"Lost in Space\" . ?e_3 <distributor> ?e_4 . ?e_4 <pred:name> \"20th Century Fox Television\" .   }", "answer": "Akiva Goldsman"}, {"question": "tell me the ISNI for the organization that has official name GT Interactive Software Corp.", "choices": ["0000 0004 0557 2227", "0000 0001 2184 1587", "0000 0001 2129 5213", "0000 0001 1082 6680", "0000 0001 2331 3040", "0000 0001 2281 4097", "0000 0001 0904 5676", "0000 0001 2131 8235", "0000 0003 6326 5551", "0000 0001 0901 1548"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "GT Interactive Software Corp."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"GT Interactive Software Corp.\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2184 1587"}, {"question": "Which person is a member of the Democratic Party and born on 1954-03-11?", "choices": ["Larry Miller", "William Henry Harrison", "Victor Garber", "Sylvester Stallone", "Sally Field", "James K. Polk", "Tim Curry", "Jon Favreau", "Max Fleischer", "David Newman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [3], "inputs": ["date of birth", "1954-03-11", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> \"Democratic Party\" .  ?e <date_of_birth> ?pv . ?pv <pred:date> \"1954-03-11\"^^xsd:date .  }", "answer": "Larry Miller"}, {"question": "Where was Airplane! published on 1980-12-25?", "choices": ["worldwide", "Norway", "Poland", "Croatia", "Panama", "2004 Cannes Film Festival", "South Korea", "Ukraine", "Sweden", "Finland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Airplane!"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "1980-12-25", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Airplane!\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1980-12-25\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "What video game was released on 2004-11-02?", "choices": ["Another World", "Pinocchio", "The Amazing Spider-Man", "Battleship", "The Polar Express", "music video game", "Harry Potter and the Half-Blood Prince", "Batman", "Sonic the Hedgehog", "TMNT"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2004-11-02", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-11-02\"^^xsd:date .  }", "answer": "The Polar Express"}, {"question": "Does Touchstone Pictures production of When in Rome or does Kill Bill Volume 1 have the shorter run-time?", "choices": ["Training Day", "Rebecca", "Pleasantville", "The Hunchback of Notre Dame", "Talk to Her", "Kill Bill Volume 1", "The Towering Inferno", "A Prairie Home Companion", "Curse of the Golden Flower", "When in Rome"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Touchstone Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["When in Rome"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kill Bill Volume 1"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"When in Rome\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Touchstone Pictures\" .   } UNION { ?e <pred:name> \"Kill Bill Volume 1\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "When in Rome"}, {"question": "Did the person with ISNI number 0000 0000 8099 1836 die prior to 2005 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8099 1836"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2005", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8099 1836\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }", "answer": "yes"}, {"question": "What anime uses the Japanese language and has the official website http://www.nasinc.co.jp/jp/vampire-knight/?", "choices": ["Magical Girl Lyrical Nanoha", "Vampire Knight", "Sonic X", "The Super Dimension Fortress Macross", "Eureka Seven", "Code Geass", "Chrono Crusade", "Ponyo on the Cliff by the Sea", "My-HiME", "Fullmetal Alchemist the Movie: Conqueror of Shamballa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.nasinc.co.jp/jp/vampire-knight/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["anime"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"Japanese\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nasinc.co.jp/jp/vampire-knight/\" .  }", "answer": "Vampire Knight"}, {"question": "tell me the Deutsche Synchronkartei actor-ID for Wendy Melvoin.", "choices": ["2298", "1100", "37017", "85", "792", "6913", "22210", "3166", "80348", "2124"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wendy Melvoin"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Wendy Melvoin\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv .  }", "answer": "80348"}, {"question": "Is the area less for Oslo or Cebu City?", "choices": ["Oslo", "Kingston", "Cebu City", "Cork", "Santo Domingo", "Bergen", "Trieste", "Chihuahua", "Kilkenny", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oslo"]}, {"function": "Find", "dependencies": [], "inputs": ["Cebu City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Oslo\" .  } UNION { ?e <pred:name> \"Cebu City\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cebu City"}, {"question": "What is the native language name of the person having the official website http://www.jeremyrenneronline.com?", "choices": ["Jeremy Renner", "Anne Rice", "\u0410\u043d\u0430\u0442\u043e\u0301\u043b\u044c \u041b\u0438\u0442\u0432\u0430\u0301\u043a", "George Benson", "Winona Ryder", "\u0938\u0941\u0928\u0940\u0932 \u0926\u0924\u094d\u0924", "Alejandro Sanz", "\u0c90\u0cb6\u0ccd\u0cb5\u0cb0\u0ccd\u0caf \u0cb0\u0cc8", "Elizabeth II", "Adam Baldwin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.jeremyrenneronline.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.jeremyrenneronline.com\" . ?e <name_in_native_language> ?pv .  }", "answer": "Jeremy Renner"}, {"question": "For the award nominated to Tom Wilkinson (the one that is a cast member of Oscar and Lucinda) (the award-winning work of this statement is John Adams), is its establishment time not in 1911?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oscar and Lucinda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Wilkinson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["for work", "John Adams"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [7], "inputs": ["1911", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Tom Wilkinson\" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> \"Oscar and Lucinda\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"John Adams\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1911 ) .  }", "answer": "yes"}, {"question": "When did Death on the Nile, released in the USA, earn a Golden Globe nomination for Best Foreign Language Film ?", "choices": ["1978", "1766", "2007-07-01", "1990-01-01", "2000-09-06", "1994-01-01", "1846", "1867-12-01", "2008-02-10", "1860-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Death on the Nile"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Foreign Language Film"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Death on the Nile\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Golden Globe Award for Best Foreign Language Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1978"}, {"question": "Which Italian province that dissolved sometime other than 2014 occupies the least area?", "choices": ["Province of Brescia", "province of Milan", "Province of Cagliari", "Province of Cuneo", "Province of Potenza", "Province of Naples", "Province of Palermo", "Province of Como", "Province of Salerno", "Province of Turin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "2014", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <dissolved,_abolished_or_demolished> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2014 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Province of Cagliari"}, {"question": "When was Willie D. Burton born?", "choices": ["1875-06-06", "1958-11-16", "1906-04-22", "1963-11-21", "1906-08-03", "1954-11-18", "1930-02-10", "1946-09-05", "1955-01-01", "2000-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Willie D. Burton"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Willie D. Burton\" . ?e <date_of_birth> ?pv .  }", "answer": "2000-01-01"}, {"question": "When did the Texas county with the FIPS 6-4 (US counties) of 48141 have a population of 835593?", "choices": ["0001-01-01", "2006-05-18", "2015-01-01", "1996-12-04", "1935", "1307-01-01", "2008-11-01", "1990-06-03", "1812-01-01", "1773"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "48141"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "835593", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"48141\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"835593\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Tell me the number of French departments from the country France or that differ from Haut-Rhin.", "choices": ["16", "17", "18", "19", "20", "21", "22", "23", "24", "25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "Find", "dependencies": [], "inputs": ["Haut-Rhin"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["departments of France"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"France\" .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"Haut-Rhin\" .  } }", "answer": "17"}, {"question": "When was KC and the Sunshine Band a Grammy nominee for Album of the Year?", "choices": ["1973", "2004-03-01", "1977-11-01", "1400-01-01", "1978", "1793", "1520", "2010-02-11", "2014-12-20", "2015-05-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["KC and the Sunshine Band"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Album of the Year"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"KC and the Sunshine Band\" . ?e_2 <pred:name> \"Grammy Award for Album of the Year\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1978"}, {"question": "Who has more children, June Allyson or Kid Cudi?", "choices": ["Richard Gere", "James E. Reilly", "Sylvester Stallone", "Rahul Dev Burman", "David Byrne", "Kid Cudi", "William Henry Harrison", "June Allyson", "Paul Simon", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["June Allyson"]}, {"function": "Find", "dependencies": [], "inputs": ["Kid Cudi"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"June Allyson\" .  } UNION { ?e <pred:name> \"Kid Cudi\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "June Allyson"}, {"question": "What is the relationship between Popeye and romantic comedy?", "choices": ["substitute/deputy/replacement of office/officeholder", "replaced by", "genre", "sponsor", "office held by head of state", "Wikidata property", "does not have part", "located in the administrative territorial entity", "copyright representative", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Popeye"]}, {"function": "Find", "dependencies": [], "inputs": ["romantic comedy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Popeye\" . ?e_2 <pred:name> \"romantic comedy\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Who has a notable work titled War and Peace, which originated from the Russian Empire?", "choices": ["Meg Ryan", "Kim Ki-duk", "Leo Tolstoy", "Sylvester Stallone", "William Henry Harrison", "Craig Armstrong", "Rahul Dev Burman", "David Byrne", "Richard Gere", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russian Empire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> \"War and Peace\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"Russian Empire\" .   }", "answer": "Leo Tolstoy"}, {"question": "When did Chris Martin become Gwyneth Paltrow's husband?", "choices": ["1979-10-25", "2013-07-16", "1897-03-04", "1989-09-09", "1997-10-16", "1956-01-01", "1944-07-03", "2013-07-12", "2010-04-27", "2003-12-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gwyneth Paltrow"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Martin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gwyneth Paltrow"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["spouse", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chris Martin\" . ?e_1 <spouse> ?e_3 . ?e_3 <pred:name> \"Gwyneth Paltrow\" . ?e_2 <pred:name> \"Gwyneth Paltrow\" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2003-12-05"}, {"question": "Is the smaller area occupied by Mobile County or by Madison County, population 346892?", "choices": ["Monroe County", "Madison County", "Dallas County", "Shelby County", "Mobile County", "Montgomery County", "Washington County", "Baldwin County", "Jackson County", "Jefferson County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mobile County"]}, {"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "346892", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mobile County\" . } UNION { ?e <pred:name> \"Madison County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"346892\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Madison County"}, {"question": "Is the neo-noir Rush titled Young Adam ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["neo-noir"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rush"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Young Adam"]}], "sparql": "ASK { ?e <pred:name> \"Rush\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"neo-noir\" .  ?e <title> ?pv . ?pv <pred:value> \"Young Adam\" .  }", "answer": "no"}, {"question": "Where was the film titled The Siege published on 1999-01-21?", "choices": ["2008 Toronto International Film Festival", "BFI London Film Festival", "Germany", "Sydney", "Tribeca Film Festival", "Venice Film Festival", "New Amsterdam Theatre", "2005 Cannes Film Festival", "South Korea", "Ukraine"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Siege"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1999-01-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Siege\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1999-01-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which person was born in the capital of Jammu and Kashmir?", "choices": ["Julia Stiles", "Jill Scott", "Douglas Adams", "Joanna Lumley", "Sanjay Dutt", "Pritam Chakraborty", "Ronnie Wood", "Andre Braugher", "Michael Douglas", "Jeremy Piven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jammu and Kashmir"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"Jammu and Kashmir\" .   }", "answer": "Joanna Lumley"}, {"question": "Which movie cost less to make, (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role) or Terminator 2: Judgment Day (the one whose subtitle is \u039c\u03ad\u03c1\u03b1 \u039a\u03c1\u03af\u03c3\u03b7\u03c2)?", "choices": ["The Fifth Element", "The Hunchback of Notre Dame", "Pleasantville", "Curse of the Golden Flower", "Nine", "A Prairie Home Companion", "Training Day", "Terminator 2: Judgment Day", "Rebecca", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Terminator 2: Judgment Day"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["subtitle", "\u039c\u03ad\u03c1\u03b1 \u039a\u03c1\u03af\u03c3\u03b7\u03c2"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nine\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role\" . } UNION { ?e <pred:name> \"Terminator 2: Judgment Day\" . ?e <subtitle> ?pv_1 . ?pv_1 <pred:value> \"\u039c\u03ad\u03c1\u03b1 \u039a\u03c1\u03af\u03c3\u03b7\u03c2\" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nine"}, {"question": "How is season 3 of The Wire related to HBO?", "choices": ["diplomatic relation", "replaces", "industry", "official symbol", "original network", "film distribute region", "voice actor", "owned by", "chairperson", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wire, season 3"]}, {"function": "Find", "dependencies": [], "inputs": ["HBO"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Wire, season 3\" . ?e_2 <pred:name> \"HBO\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "How many learned societies represented online at www.royalacademy.org.uk are the alma mater of Michelle Yeoh ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michelle Yeoh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["learned society"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.royalacademy.org.uk"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["learned society"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Michelle Yeoh\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.royalacademy.org.uk\" .  }", "answer": "1"}, {"question": "Which human influenced the human whose British Museum person-institution is 36039?", "choices": ["Andrea Bowen", "Vladimir Nabokov", "Louis Gossett", "Aristotle", "John Stuart Mill", "Leon Trotsky", "Richard Matheson", "Henrik Ibsen", "Thomas Hobbes", "Alexander Pushkin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "36039"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> \"36039\" .   }", "answer": "Thomas Hobbes"}, {"question": "Of New Jersey cities in Middlesex County, population 811130, which is lowest in elevation?", "choices": ["Trenton", "Plainfield", "Paterson", "Passaic", "Atlantic City", "East Orange", "New Brunswick", "Perth Amboy", "Elizabeth", "Jersey City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Middlesex County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "811130", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city in New Jersey"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Middlesex County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"811130\"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New Brunswick"}, {"question": "How is Billie Joe Armstrong related to the mandolin?", "choices": ["commissioned by", "follows", "native language", "interests", "culture", "instrument", "occupation", "office held by head of state", "position played on team / speciality", "copyright representative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billie Joe Armstrong"]}, {"function": "Find", "dependencies": [], "inputs": ["mandolin"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Billie Joe Armstrong\" . ?e_2 <pred:name> \"mandolin\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "What film's distributor is the television station whose official website is http://www.disneychannel.com/?", "choices": ["The Music Man", "Bram Stoker's Dracula", "High School Musical", "An Early Frost", "Little Women", "Wonder Woman", "Mansfield Park", "Miracle on 34th Street", "La Vie en Rose", "The Goodbye Girl"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.disneychannel.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "Relate", "dependencies": [2], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <distributor> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television station\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.disneychannel.com/\" .   }", "answer": "High School Musical"}, {"question": "Which has fewer people, New Caledonia or Gettysburg (the one whose postal code is 17325)?", "choices": ["Greene County", "Cass County", "Gettysburg", "Washoe County", "New Caledonia", "Orange County", "Lee County", "Delaware County", "African Union", "San Juan County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Caledonia"]}, {"function": "Find", "dependencies": [], "inputs": ["Gettysburg"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["postal code", "17325"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New Caledonia\" . } UNION { ?e <pred:name> \"Gettysburg\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"17325\" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Gettysburg"}, {"question": "Which film has greater duration, Hope Springs (the one with Oliver Platt as a cast member) or Batman Begins (the one whose release region is Kuwait)?", "choices": ["The Towering Inferno", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "Training Day", "Batman Begins", "A Prairie Home Companion", "Curse of the Golden Flower", "Rebecca", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oliver Platt"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hope Springs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Kuwait"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Batman Begins"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hope Springs\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Oliver Platt\" .   } UNION { ?e <pred:name> \"Batman Begins\" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> \"Kuwait\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Batman Begins"}, {"question": "How is the Galileo Galilei originally in Italian related to Ennio Morricone?", "choices": ["honorific suffix", "founded by", "subsidiary", "studies", "producer", "candidacy in election", "broadcast by", "composer", "production company", "original network"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Galileo Galilei"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ennio Morricone"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Galileo Galilei\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"Italian\" . ?e_2 <pred:name> \"Ennio Morricone\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Ian McShane of Ross County F.C. was a member of Queen of the South F.C. until which time?", "choices": ["2015-01-01", "2010-11-17", "1917-08-31", "1927", "2012-09-12", "1924-06-03", "1980-12-14", "1984-06-29", "1707-05-01", "2016-12-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ross County F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ian McShane"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Queen of the South F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ian McShane\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Ross County F.C.\" . ?e_2 <pred:name> \"Queen of the South F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "Which movie is longer, The Gathering Storm (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie) or Rambo (the one that origins from United States of America)?", "choices": ["A Christmas Carol", "The Late Shift", "A Streetcar Named Desire", "The Gathering Storm", "The Three Musketeers", "The Goodbye Girl", "Shackleton", "The Music Man", "Rambo", "All Quiet on the Western Front"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Gathering Storm"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rambo"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Gathering Storm\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie\" .   } UNION { ?e <pred:name> \"Rambo\" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Gathering Storm"}, {"question": "How many belief systems have a headquarter location in Battle Creek (the one whose population is 18563) or an OSM tag or key of Tag:religion=sikh?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Battle Creek"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "18563", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["belief system"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["OSM tag or key", "Tag:religion=sikh"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["belief system"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Battle Creek\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"18563\"^^xsd:double .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:religion=sikh\" .  } }", "answer": "2"}, {"question": "How many provinces in Italy have the administrative division of St. Catharines or contains Palermo?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Catharines"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "Find", "dependencies": [], "inputs": ["Palermo"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of Italy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"St. Catharines\" .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Palermo\" .  } }", "answer": "1"}, {"question": "What is the relationship between The Fall (the one whose official website is http://thefall.gorillaz.com/) to The Fall (the one that is famous for alternative rock)?", "choices": ["significant person", "art director", "narrative role", "family name", "part of", "material used", "nominated for", "different from", "broadcast by", "territory overlaps"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Fall"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://thefall.gorillaz.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["alternative rock"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Fall"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fall\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://thefall.gorillaz.com/\" . ?e_2 <pred:name> \"The Fall\" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> \"alternative rock\" . ?e_1 ?p ?e_2 .  }", "answer": "different from"}, {"question": "How is The Truman Show related to Saturn Award for Best Writing ?", "choices": ["facet of", "office contested", "honorific prefix", "follows", "academic degree", "allegiance", "nominated for", "location of discovery", "language of work or name", "registered with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Truman Show"]}, {"function": "Find", "dependencies": [], "inputs": ["Saturn Award for Best Writing"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Truman Show\" . ?e_2 <pred:name> \"Saturn Award for Best Writing\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "How many learned societies in Manhattan, where Stanley Donen died, are designated by CANTIC-ID a11381140?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stanley Donen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["learned society"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["CANTIC-ID", "a11381140"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["learned society"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"learned society\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Manhattan\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Stanley Donen\" .  ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11381140\" .  }", "answer": "0"}, {"question": "When was INXS an MTV VMA winner for Video of the Year?", "choices": ["1988", "2015-11-05", "1350-01-01", "0001-01-01", "950", "1864-11-21", "2018-01-08", "1965-04-05", "1994-03-21", "1948"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Video of the Year"]}, {"function": "Find", "dependencies": [], "inputs": ["INXS"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Video of the Year\" . ?e_2 <pred:name> \"INXS\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1988"}, {"question": "Which show has fewer seasons, Pushing Daisies or The Stand (the one whose number of seasons is 1)?", "choices": ["The Diary of Anne Frank", "The Pacific", "The Ten Commandments", "Battlestar Galactica", "The Civil War", "Pushing Daisies", "The Stand", "Roots", "Emma", "Edge of Darkness"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pushing Daisies"]}, {"function": "Find", "dependencies": [], "inputs": ["The Stand"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of seasons", "1", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pushing Daisies\" . } UNION { ?e <pred:name> \"The Stand\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Stand"}, {"question": "Tell me who has more kids, Alanis Morissette or Kirstie Alley.", "choices": ["Simon Cowell", "Alanis Morissette", "David Byrne", "Kirstie Alley", "Rahul Dev Burman", "Richard Gere", "Sylvester Stallone", "Paul Simon", "James E. Reilly", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kirstie Alley"]}, {"function": "Find", "dependencies": [], "inputs": ["Alanis Morissette"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kirstie Alley\" .  } UNION { ?e <pred:name> \"Alanis Morissette\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kirstie Alley"}, {"question": "What is the relationship between Columbia University to Association of American Universities?", "choices": ["cast member", "location of formation", "military conflicts", "political ideology", "home world", "inspired by", "medical condition", "connects with", "has part", "found"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia University"]}, {"function": "Find", "dependencies": [], "inputs": ["Association of American Universities"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Columbia University\" . ?e_2 <pred:name> \"Association of American Universities\" . ?e_1 ?p ?e_2 .  }", "answer": "found"}, {"question": "Which movie cost more to make, The Holiday or Resident Evil (the one that has Michelle Rodriguez as a cast member)?", "choices": ["Resident Evil", "Talk to Her", "Training Day", "The Hunchback of Notre Dame", "The Towering Inferno", "A Prairie Home Companion", "Pleasantville", "The Holiday", "The Fifth Element", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Holiday"]}, {"function": "Find", "dependencies": [], "inputs": ["Michelle Rodriguez"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Resident Evil"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Holiday\" .  } UNION { ?e <pred:name> \"Resident Evil\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Michelle Rodriguez\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Holiday"}, {"question": "Zip codes 17101-17113, 17120-17130, 17140, and 17177 are assigned to how many Pennsylvania cities?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "17101-17113, 17120-17130, 17140, 17177"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of Pennsylvania"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of Pennsylvania\" . ?e <postal_code> ?pv . ?pv <pred:value> \"17101-17113, 17120-17130, 17140, 17177\" .  }", "answer": "1"}, {"question": "What is the connection between Michael Gladis to Houston (the one that is the residence of Bill Hicks)?", "choices": ["place of birth", "owned by", "director", "hair color", "legislative body", "genre", "director/manager", "designed by", "inspired by", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Gladis"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Hicks"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Houston"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Gladis\" . ?e_2 <pred:name> \"Houston\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"Bill Hicks\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How many science awards are won by Albert Einstein (whose pronunciation audio is De-Albert Einstein-Pronuciation.ogg) or are conferred by the Royal Society?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Albert Einstein"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pronunciation audio", "De-Albert Einstein-Pronuciation.ogg"]}, {"function": "Relate", "dependencies": [1], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["science award"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Society"]}, {"function": "Relate", "dependencies": [4], "inputs": ["conferred by", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["science award"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science award\" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Albert Einstein\" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> \"De-Albert Einstein-Pronuciation.ogg\" .  } UNION { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> \"Royal Society\" .  } }", "answer": "2"}, {"question": "How many miniseries mainly depicts the war that has the English subreddit of WW2?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "WW2"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["war"]}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["miniseries"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <main_subject> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"war\" . ?e_1 <subreddit> ?pv . ?pv <pred:value> \"WW2\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "4"}, {"question": "What is the duration of the film whose genre is cult film?", "choices": ["4 year", "100 minute", "196 minute", "65 minute", "168 minute", "220 minute", "83 minute", "250 minute", "2541 second", "1744 second"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cult film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"cult film\" .  ?e <duration> ?pv .  }", "answer": "100 minute"}, {"question": "What is the connection between Tehran (the one that contains University of Tehran) to London (the one that is the narrative location of Get Him to the Greek)?", "choices": ["country", "applies to jurisdiction", "illustrator", "professional or sports partner", "medical treatment", "twinned administrative body", "official color", "enclave within", "languages spoken, written or signed", "diaspora"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Tehran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tehran"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Get Him to the Greek"]}, {"function": "Relate", "dependencies": [4], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tehran\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> \"University of Tehran\" . ?e_2 <pred:name> \"London\" . ?e_4 <narrative_location> ?e_2 . ?e_4 <pred:name> \"Get Him to the Greek\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What visual artwork has Rekha as a cast member and has the official website http://omshantiom.erosentertainment.com/?", "choices": ["Talk to Her", "The Fifth Element", "Rope", "Pleasantville", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno", "Om Shanti Om", "Training Day", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rekha"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://omshantiom.erosentertainment.com/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Rekha\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://omshantiom.erosentertainment.com/\" .  }", "answer": "Om Shanti Om"}, {"question": "Who is taller, Jack Thompson (the one whose date of birth is 1946-03-26) or David Healy (the one whose mass is 68 kilogram)?", "choices": ["James E. Reilly", "Richard Gere", "Simon Cowell", "Rahul Dev Burman", "Jack Thompson", "Sylvester Stallone", "William Henry Harrison", "Max Fleischer", "David Byrne", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Thompson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1946-03-26", "="]}, {"function": "Find", "dependencies": [], "inputs": ["David Healy"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["mass", "68 kilogram", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jack Thompson\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1946-03-26\"^^xsd:date . } UNION { ?e <pred:name> \"David Healy\" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> \"kilogram\" . ?pv_2 <pred:value> \"68\"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jack Thompson"}, {"question": "Does El Paso County (whose FIPS 6-4 for US counties is 08041) or Nye County have the larger area?", "choices": ["African Union", "Washoe County", "Kent County", "Delaware County", "Lee County", "El Paso County", "Greene County", "Orange County", "Nye County", "Cass County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["El Paso County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "08041"]}, {"function": "Find", "dependencies": [], "inputs": ["Nye County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"El Paso County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"08041\" . } UNION { ?e <pred:name> \"Nye County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Nye County"}, {"question": "What is the relationship between Peter Jackson, who dies in 1991, and Bradford City A.F.C?", "choices": ["religion", "inspired by", "student", "voice type", "replaced by", "movement", "notable work", "shares border with", "place of death", "member of sports team"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Jackson"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "1991", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bradford City A.F.C."]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Jackson\" . ?e_1 <date_of_death> ?pv . ?pv <pred:year> 1991 . ?e_2 <pred:name> \"Bradford City A.F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Is the ISO 3166-2 code of Kosi Zone JP-08 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kosi Zone"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["JP-08"]}], "sparql": "ASK { ?e <pred:name> \"Kosi Zone\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"JP-08\" .  }", "answer": "no"}, {"question": "What is the birth date of Booker T. Jones?", "choices": ["1890-06-16", "1964-04-04", "1949-10-07", "1982-04-15", "1953-02-08", "1949-03-29", "1885-11-21", "1977-04-14", "1935-03-31", "1944-11-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Booker T. Jones"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Booker T. Jones\" . ?e <date_of_birth> ?pv .  }", "answer": "1944-11-12"}, {"question": "Elizabeth McGovern won a Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series for which work?", "choices": ["Sunflower", "City Slickers", "Paa", "Cream", "An Education", "Leonard Part 6", "Damage", "Downton Abbey", "The Magnificent Ambersons", "Whiplash"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Elizabeth McGovern"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_2 <pred:name> \"Elizabeth McGovern\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Downton Abbey"}, {"question": "Which one has more running time between Love Story (the one whose narrative location is Boston) and 2001: A Space Odyssey?", "choices": ["The Fifth Element", "A Prairie Home Companion", "Pleasantville", "Talk to Her", "Curse of the Golden Flower", "2001: A Space Odyssey", "Love Story", "The Towering Inferno", "Training Day", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Love Story"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["2001: A Space Odyssey"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Love Story\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Boston\" .   } UNION { ?e <pred:name> \"2001: A Space Odyssey\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "2001: A Space Odyssey"}, {"question": "Which movie is longer, Big Fish or Final Destination (the one that mainly depicts death)?", "choices": ["Big Fish", "Talk to Her", "Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "Training Day", "Pleasantville", "Final Destination", "A Prairie Home Companion", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Big Fish"]}, {"function": "Find", "dependencies": [], "inputs": ["death"]}, {"function": "Relate", "dependencies": [1], "inputs": ["main subject", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Final Destination"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Big Fish\" .  } UNION { ?e <pred:name> \"Final Destination\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"death\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Big Fish"}, {"question": "Albert Brooks voices what character on Finding Nemo, released in Mexico?", "choices": ["Auda ibu Tayi", "Bruce Banner / Hulk", "Mr. Smithers", "Professor Farnsworth", "Steve Jobs", "Hyperion", "Professor Moriarty", "Samwise Gamgee", "Marlin", "Samantha Jones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mexico"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Finding Nemo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Albert Brooks"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Finding Nemo\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Mexico\" . ?e_2 <pred:name> \"Albert Brooks\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Marlin"}, {"question": "What film series contain a person cast in it that was birth-named Katheryn Elizabeth Hudson ?", "choices": ["Airport", "Carry On", "Rush Hour", "The Smurfs", "The Hangover", "National Treasure", "Star Wars", "Die Hard", "The Fast and the Furious", "How I Met Your Mother"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Katheryn Elizabeth Hudson"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Katheryn Elizabeth Hudson\" .   }", "answer": "The Smurfs"}, {"question": "Among the sovereign states that serve as the place where The Beatles (the one that was published in the UK) was published, which one has the lowest unemployment rate ?", "choices": ["Cambodia", "Russian Soviet Federative Socialist Republic", "United Kingdom", "Kiribati", "Switzerland", "Weimar Republic", "Socialist Federal Republic of Yugoslavia", "Benin", "South Sudan", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of publication", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Beatles"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of publication", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["unemployment rate", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <place_of_publication> ?e . ?e_1 <pred:name> \"The Beatles\" . ?e_1 <place_of_publication> ?e_2 . ?e_2 <pred:name> \"United Kingdom\" .  ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "United Kingdom"}, {"question": "What city in the US was established after 1565 and served as the birthplace of Jason Lee (cast member of Mumford) ?", "choices": ["Bellingham", "Franklin", "Columbus", "New Haven", "Orange", "Waukegan", "San Diego", "Waco", "Atlanta", "Englewood"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1565", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Mumford"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jason Lee"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1565 ) . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jason Lee\" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> \"Mumford\" .  }", "answer": "Orange"}, {"question": "What is the link between Desperate Housewives and Wallace Shawn?", "choices": ["head coach", "ancestral home", "main food source", "candidate", "film distribute region", "cast member", "designated as terrorist by", "public holiday", "season starts", "allegiance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Desperate Housewives"]}, {"function": "Find", "dependencies": [], "inputs": ["Wallace Shawn"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Desperate Housewives\" . ?e_2 <pred:name> \"Wallace Shawn\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which political ideology is the work field of Murray Rothbard and has the subreddit Libertarian (with a subscription number of 219713)?", "choices": ["feminism", "socialism", "far-right", "Islamism", "racism", "nationalism", "cavalier", "neo-Nazism", "anti-fascism", "libertarianism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Murray Rothbard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["subreddit", "Libertarian"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of subscribers", "219713", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["political ideology"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"Murray Rothbard\" .  ?e <subreddit> ?pv . ?pv <pred:value> \"Libertarian\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"219713\"^^xsd:double .  }", "answer": "libertarianism"}, {"question": "How is House originated from Poland related to Lions Gate Entertainment?", "choices": ["basin country", "archives at", "developer", "distributor", "performer", "has contributing factor", "influenced by", "has dialect (DEPRECATED)", "contains administrative territorial entity", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Poland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["House"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lions Gate Entertainment"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"House\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"Poland\" . ?e_2 <pred:name> \"Lions Gate Entertainment\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "Are the Appalachian Mountains longer than 9000 feet?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Appalachian Mountains"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["length"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["9000 foot", ">"]}], "sparql": "ASK { ?e <pred:name> \"Appalachian Mountains\" . ?e <length> ?pv . ?pv <pred:unit> \"foot\" . ?pv <pred:value> ?v . FILTER ( ?v > \"9000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the ISNI for Thomas Dekker who has the occupation of poet?", "choices": ["0000 0001 2308 1569", "0000 0003 6863 0255", "0000 0001 2168 6038", "0000 0001 2139 6700", "0000 0001 1453 5901", "0000 0001 1450 1664", "0000 0001 2148 4241", "0000 0001 2323 7906", "0000 0000 7357 5762", "0000 0001 1874 3425"], "program": [{"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Dekker"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Thomas Dekker\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"poet\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 7357 5762"}, {"question": "Was the UK video game released in a year other than 2010?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2010", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2010 ) .  }", "answer": "yes"}, {"question": "Was the team member who joined Sheffield Wednesday F.C. in 1979 born in a year other than 1971 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheffield Wednesday F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1979", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1971", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Sheffield Wednesday F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1979 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1971 ) .  }", "answer": "yes"}, {"question": "When did the European Film Award for Best Actress originate?", "choices": ["1959-01-03", "1836-01-12", "1702", "1642-05-17", "1636-01-01", "1223", "1988", "1546", "1907-11-16", "1956"], "program": [{"function": "Find", "dependencies": [], "inputs": ["European Film Award for Best Actress"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"European Film Award for Best Actress\" . ?e <inception> ?pv .  }", "answer": "1988"}, {"question": "What is the Twitter username of the political party with ISNI 0000 0001 2353 4548?", "choices": ["spdde", "EvangelineLilly", "DanaDelany", "traveloneworld", "WashWizards", "jeremypiven", "OlympiakosNic", "ukraine", "daniellanois", "northernline"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2353 4548"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political party"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"political party\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2353 4548\" . ?e <Twitter_username> ?pv .  }", "answer": "spdde"}, {"question": "Tel Aviv University has what connection to Israel, which has diplomatic ties to Syria?", "choices": ["industry", "instrumentation", "drafted by", "conferred by", "record label", "shares border with", "film distribute region", "work location", "main food source", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tel Aviv University"]}, {"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "Relate", "dependencies": [1], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Israel"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tel Aviv University\" . ?e_2 <pred:name> \"Israel\" . ?e_2 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> \"Syria\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between Wendee Lee to United States of America?", "choices": ["student", "doctoral advisor", "military rank", "country of citizenship", "ethnic group", "head coach", "maintained by", "noble title", "located in or next to body of water", "position held"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wendee Lee"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wendee Lee\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "When did John Williams (the one whose date of birth is 1968-05-11) become a member of Cardiff City F.C.?", "choices": ["2014-08-23", "2002-06-11", "1998-01-01", "2013-07-07", "1973-06-24", "2004-03-29", "1919", "1922", "1994-05-27", "2002-02-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Williams"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1968-05-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Cardiff City F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Williams\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1968-05-11\"^^xsd:date . ?e_2 <pred:name> \"Cardiff City F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1998-01-01"}, {"question": "What number of Arizona counties don't have a population of 390000?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "390000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"390000\"^^xsd:double ) .  }", "answer": "11"}, {"question": "What is the PermID for the university that is located at 910 W Franklin St, Richmond, VA, 23284-2512?", "choices": ["4298443448", "4295903122", "4297085592", "4295905952", "5000412555", "5001217385", "4298207578", "4298219167", "4295905298", "5000024077"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["located at street address", "910 W Franklin St, Richmond, VA, 23284-2512"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["PermID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_at_street_address> ?pv_1 . ?pv_1 <pred:value> \"910 W Franklin St, Richmond, VA, 23284-2512\" . ?e <PermID> ?pv .  }", "answer": "5001217385"}, {"question": "Which French departments have the NUTS code of FR811?", "choices": ["Nord", "Gironde", "Vaucluse", "Bas-Rhin", "Aisne", "Alpes-Maritimes", "Manche", "Haute-Savoie", "Aude", "Seine-et-Marne"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "FR811"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"FR811\" .  }", "answer": "Aude"}, {"question": "Where was Boys Don't Cry that received a 57th Golden Globe Award published on 2000-02-03?", "choices": ["Germany", "India", "Davao City", "Tokyo", "worldwide", "Peru", "Quebec", "Austin", "Colombia", "Estonia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["57th Golden Globe Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Boys Don't Cry"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2000-02-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Boys Don't Cry\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"57th Golden Globe Awards\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2000-02-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the expiration date that CN-11 is the ISO 3166-2 code for the city that is the filming location of Iron Man 3?", "choices": ["1940-06-22", "2011-11-10", "1841-03-04", "2000-03-07", "2017-11-23", "1986-12-21", "1918-10-30", "1947-12-29", "1947-01-01", "1929-06-02"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iron Man 3"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ISO 3166-2 code", "CN-11", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Iron Man 3\" .  ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"CN-11\" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }", "answer": "2017-11-23"}, {"question": "Is the ISNI 0000 0001 2254 0380 for the rock band whose official website is http://www.thepolice.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thepolice.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2254 0380"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.thepolice.com/\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2254 0380\" .  }", "answer": "no"}, {"question": "Which one has earned more prize money, Roger Federer or Mike Bryan?", "choices": ["Max Fleischer", "William Henry Harrison", "Simon Cowell", "Richard Gere", "Rahul Dev Burman", "Roger Federer", "David Byrne", "Paul Simon", "James E. Reilly", "Mike Bryan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roger Federer"]}, {"function": "Find", "dependencies": [], "inputs": ["Mike Bryan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["prize money", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Roger Federer\" .  } UNION { ?e <pred:name> \"Mike Bryan\" .  } ?e <prize_money> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Roger Federer"}, {"question": "Does Drenthe or Friesland occupy a smaller area?", "choices": ["Utrecht", "North Holland", "Drenthe", "North Brabant", "Gelderland", "Friesland", "Overijssel", "Limburg", "Zeeland", "Groningen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Drenthe"]}, {"function": "Find", "dependencies": [], "inputs": ["Friesland"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Drenthe\" .  } UNION { ?e <pred:name> \"Friesland\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Drenthe"}, {"question": "Is the date of birth of the human that was a member of Crewe Alexandra F.C. until 2009-01-01 before 1819?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crewe Alexandra F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "2009-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1819", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Crewe Alexandra F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> \"2009-01-01\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1819 ) .  }", "answer": "no"}, {"question": "How was the population size 742,256 established for the administrative territorial entity corresponding to Dewey Decimal Classification 2--76944?", "choices": ["United Kingdom Census 2011", "resident registration", "United Kingdom Census 1971", "estimation process", "Sixth National Population Census of the People's Republic of China", "register office", "Russian Empire Census", "2010 United States Census", "1860 United States Census", "Canada 2011 Census"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--76944"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "742256", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--76944\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"742256\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "How many entertainments have a review score of 10/10 or are the origin of the name Prince of Persia: The Sands of Time published on 2010-05-27?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["review score", "10/10"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["entertainment"]}, {"function": "Find", "dependencies": [], "inputs": ["Prince of Persia: The Sands of Time"]}, {"function": "FilterDate", "dependencies": [3], "inputs": ["publication date", "2010-05-27", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["entertainment"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"entertainment\" .  { ?e <review_score> ?pv . ?pv <pred:value> \"10/10\" .  } UNION { ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Prince of Persia: The Sands of Time\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2010-05-27\"^^xsd:date .  } }", "answer": "2"}, {"question": "How is Gabriel Yared related to 69th Academy Awards ?", "choices": ["mascot", "presenter", "dissertation submitted to", "indigenous to", "member of sports team", "award received", "country of citizenship", "officeholder", "works in collection", "health specialty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gabriel Yared"]}, {"function": "Find", "dependencies": [], "inputs": ["69th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gabriel Yared\" . ?e_2 <pred:name> \"69th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Who penned the Sherlock Holmes whose movie poster is Sherlock Holmes poster.jpg?", "choices": ["William Henry Harrison", "David Byrne", "Robert De Niro", "Sylvester Stallone", "Mike Mills", "Rahul Dev Burman", "Richard Gere", "Simon Cowell", "Arthur Conan Doyle", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sherlock Holmes"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["film poster", "Sherlock Holmes poster.jpg"]}, {"function": "Relate", "dependencies": [1], "inputs": ["after a work by", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <after_a_work_by> ?e . ?e_1 <pred:name> \"Sherlock Holmes\" . ?e_1 <film_poster> ?pv . ?pv <pred:value> \"Sherlock Holmes poster.jpg\" .   }", "answer": "Arthur Conan Doyle"}, {"question": "When was there a fertility rate of 2.607 in the state that had a diplomatic relation with Bulgaria (the subject of this statement is Bulgaria\u2013Mongolia relations)?", "choices": ["2011", "1965-10-01", "2015-01-12", "2018-02-23", "2015-03-31", "2017-11-23", "2008-12-17", "2001-10-17", "1977", "1996-11-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Bulgaria\u2013Mongolia relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["total fertility rate", "2.607", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Bulgaria\" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Bulgaria\u2013Mongolia relations\" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2.607\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <total_fertility_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "Which Munzinger IBA identifies the person who became Jake Gyllenhaal's partner in 2002?", "choices": ["00000026300", "00000023526", "00000026358", "00000013206", "00000005478", "00000020977", "00000017104", "00000008004", "00000006334", "00000020869"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jake Gyllenhaal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2002", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <partner> ?e_1 . ?e_1 <pred:name> \"Jake Gyllenhaal\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2002 . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000026300"}, {"question": "What is the connection between Mike Nichols to 66th Tony Awards?", "choices": ["award received", "contains administrative territorial entity", "cause of death", "collection", "talk show guest", "soundtrack album", "quotes work", "exclave of", "film regional debut venue", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Nichols"]}, {"function": "Find", "dependencies": [], "inputs": ["66th Tony Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mike Nichols\" . ?e_2 <pred:name> \"66th Tony Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the character role of Robert Stack as a cast member in John Paul Jones (whose genre is biographical film)?", "choices": ["John Paul Jones", "Holly the Angel", "Scar", "Dr. Chase Meridian", "Chris Traeger", "Peter Pan", "John McLoughlin", "Edward Alleyn", "Doctor John Stangel", "Mark Sloan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["biographical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Paul Jones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Robert Stack"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Paul Jones\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"biographical film\" . ?e_2 <pred:name> \"Robert Stack\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "John Paul Jones"}, {"question": "What is the date of birth of the person who resides in Sarajevo (that is the twinned administrative body of Coventry)?", "choices": ["1939-05-27", "1967-04-22", "1965-07-03", "1958-05-25", "1938-12-16", "1939-01-26", "1962-07-23", "1954-11-24", "1974-06-11", "1785-02-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coventry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sarajevo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Sarajevo\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Coventry\" .  ?e <date_of_birth> ?pv .  }", "answer": "1954-11-24"}, {"question": "What film has exploitation visa number 132830 (the start time of this statement is 2012)?", "choices": ["Talk to Her", "Tyrannosaur", "The Best Exotic Marigold Hotel", "The Towering Inferno", "Training Day", "Skyfall", "Pleasantville", "A Prairie Home Companion", "Marley", "Rebecca"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "132830"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2012", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"132830\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:year> 2012 .  }", "answer": "Tyrannosaur"}, {"question": "Is Kimberly Noel Kardashian the birth name of the individual whose ISNI is 0000 0000 7839 7432?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7839 7432"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Kimberly Noel Kardashian"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7839 7432\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Kimberly Noel Kardashian\" .  }", "answer": "no"}, {"question": "Did Lifetime receive their award on 2006-04-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lifetime"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["2006-04-01", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Lifetime\" .  ?e <point_in_time> ?pv . ?pv <pred:date> \"2006-04-01\"^^xsd:date .  }", "answer": "no"}, {"question": "Which has a greater number of seasons, The Ultimate Fighter or Everybody Loves Raymond?", "choices": ["Everybody Loves Raymond", "Seinfeld", "The Ultimate Fighter", "Game of Thrones", "Six Feet Under", "Saturday Night's Main Event", "American Horror Story", "Phineas and Ferb", "Robot Chicken", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Ultimate Fighter"]}, {"function": "Find", "dependencies": [], "inputs": ["Everybody Loves Raymond"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Ultimate Fighter\" .  } UNION { ?e <pred:name> \"Everybody Loves Raymond\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Ultimate Fighter"}, {"question": "Delmer Daves has what link to Forest Lawn Memorial Park, where Frank Tashlin is buried?", "choices": ["award disciplines or subjects", "facet of", "heritage designation", "start point", "Wikidata property", "different from", "feast day", "place of burial", "league", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Delmer Daves"]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Tashlin"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of burial", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Forest Lawn Memorial Park"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Delmer Daves\" . ?e_2 <pred:name> \"Forest Lawn Memorial Park\" . ?e_3 <place_of_burial> ?e_2 . ?e_3 <pred:name> \"Frank Tashlin\" . ?e_1 ?p ?e_2 .  }", "answer": "place of burial"}, {"question": "Who is the individual born before 1987, and that is a member of Peterborough United F.C. (the number of games played is 9)?", "choices": ["Jade North", "William Henry Harrison", "Marc Joseph", "Robert Taylor", "Paul Walker", "Andy Williams", "Sylvester Stallone", "Max Fleischer", "Adam Smith", "Gary Cooper"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1987", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Peterborough United F.C."]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of matches played/races/starts", "9", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1987 ) . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Peterborough United F.C.\" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"9\"^^xsd:double .  }", "answer": "Adam Smith"}, {"question": "How many record labels have a headquarters location in Philadelphia (that shares a border with Camden) or the Matador Records label?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Camden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Philadelphia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "Find", "dependencies": [], "inputs": ["Matador Records"]}, {"function": "Relate", "dependencies": [6], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["record label"]}, {"function": "Or", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Philadelphia\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Camden\" .  } UNION { ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Matador Records\" .  } }", "answer": "3"}, {"question": "What county of Oregon shares a border with the Oregon county that abuts Washoe County?", "choices": ["Linn County", "Washoe County", "Douglas County", "Columbia County", "Lane County", "Deschutes County", "Multnomah County", "Yamhill County", "Tillamook County", "Lake County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washoe County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Oregon"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Oregon\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Washoe County\" .   }", "answer": "Deschutes County"}, {"question": "Where was Summer of Sam published on 9th November 2000 ?", "choices": ["Germany", "Indonesia", "BFI London Film Festival", "South Africa", "Latvia", "2003 Cannes Film Festival", "Washington, D.C.", "Taormina Film Fest", "New Zealand", "Montreal World Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Summer of Sam"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2000-11-09", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Summer of Sam\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-11-09\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is the number of seasons for the television series with number of episodes 7316 not equal to 40 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "7316", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["40", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"7316\"^^xsd:double . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"40\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is trip hop related to Garbage?", "choices": ["business division", "part of the series", "famous people", "original language of film or TV show", "Wikidata property", "official religion", "office held by head of government", "founded by", "relative", "editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["trip hop"]}, {"function": "Find", "dependencies": [], "inputs": ["Garbage"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"trip hop\" . ?e_2 <pred:name> \"Garbage\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How many newscasts have the character Walter Skinner?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter Skinner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["characters", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["newscast"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"newscast\" . ?e <characters> ?e_1 . ?e_1 <pred:name> \"Walter Skinner\" .   }", "answer": "0"}, {"question": "When was the person with ISNI 0000 0000 5521 9713 born?", "choices": ["1978-03-20", "1961-08-27", "1948-12-21", "1964-12-04", "1923-01-23", "1968-08-25", "1915-12-12", "1949-05-26", "1920-09-06", "1945-02-06"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5521 9713"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 5521 9713\" . ?e <date_of_birth> ?pv .  }", "answer": "1961-08-27"}, {"question": "What is the connection between Nirvana to 1996 Grammy Awards?", "choices": ["place of death", "sports season of league or competition", "award received", "follows", "product or material produced", "head coach", "successful candidate", "costume designer", "religious order", "influenced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nirvana"]}, {"function": "Find", "dependencies": [], "inputs": ["1996 Grammy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nirvana\" . ?e_2 <pred:name> \"1996 Grammy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the relation between Jeanne Moreau and screenwriter", "choices": ["license", "used by", "mother", "penalty", "captain", "material used", "original language of film or TV show", "occupation", "appointed by", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeanne Moreau"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jeanne Moreau\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What number of University of Oxford colleges are found in Oxford?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oxford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Oxford\" .   }", "answer": "24"}, {"question": "What is the Giphy username of the association football club whose nickname is Lupa?", "choices": ["samsungmobileusa", "keithurban", "uofnh", "beegees", "starbucks", "vh1", "skidmorecollege", "roma", "ironmaiden", "parlophone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "Lupa"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"Lupa\" . ?e <Giphy_username> ?pv .  }", "answer": "roma"}, {"question": "What is the connection between Don Johnson (whose date of birth is 1911-12-07) and Laguna Beach?", "choices": ["used by", "commander of", "medical condition", "position held", "place of death", "relative", "filmography", "exclave of", "does not have part", "coextensive with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Don Johnson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1911-12-07", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Laguna Beach"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Don Johnson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1911-12-07\"^^xsd:date . ?e_2 <pred:name> \"Laguna Beach\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "Bill Condon was an Academy Award winner for Best Writing, Adapted Screenplay for his work on which project?", "choices": ["Oh, God!", "Gods and Monsters", "Merchant Ivory Productions", "The Angels' Share", "Newsnight", "Mrs. Harris", "Gold", "Easy Rider", "Old School", "The Sea Around Us"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Condon"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bill Condon\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Gods and Monsters"}, {"question": "Was the person, whose Twitter username is Cary_Elwest, not born in 1897 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Cary_Elwes"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1897", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Cary_Elwes\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1897 ) .  }", "answer": "yes"}, {"question": "How many colleges belong under the religion of Catholic Church ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catholic Church"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" . ?e <religion> ?e_1 . ?e_1 <pred:name> \"Catholic Church\" .   }", "answer": "2"}, {"question": "Was the visual artwork with the Japanese-language website sonic-movie.jp released more recently than 1994 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://sonic-movie.jp/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "Japanese"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1994", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://sonic-movie.jp/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Japanese\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1994 ) .  }", "answer": "yes"}, {"question": "What is the subject of the United States of America having diplomatic relations with Equatorial Guinea?", "choices": ["Nepal\u2013Russia relations", "Kazakhstan\u2013Mexico relations", "Mali\u2013Taiwan relations", "Equatorial Guinea\u2013United States relations", "China\u2013Kiribati relations", "Azerbaijan\u2013Belarus relations", "Taiwan\u2013Tuvalu relations", "Saint Lucia\u2013Taiwan relations", "Mexico\u2013Thailand relations", "death of Louis XIV of France"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Find", "dependencies": [], "inputs": ["Equatorial Guinea"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Equatorial Guinea\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Equatorial Guinea\u2013United States relations"}, {"question": "What is the population of County Antrim?", "choices": ["20235", "109381550", "14706578", "6677487", "618108", "17196", "266373", "5696409", "1638215", "68279"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Antrim"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"County Antrim\" . ?e <population> ?pv .  }", "answer": "618108"}, {"question": "What film was published on May 25, 1983?", "choices": ["Nine Lives", "Airport", "The Hours", "The Dictator", "Rebecca", "Punch-Drunk Love", "Pleasantville", "London", "A Prairie Home Companion", "Star Wars Episode VI: Return of the Jedi"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1983-05-25", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1983-05-25\"^^xsd:date .  }", "answer": "Star Wars Episode VI: Return of the Jedi"}, {"question": "The film with the official website http://www.miramax.com/movie/adventureland was nominated for an award, which was it.", "choices": ["Daytime Emmy Award for Outstanding Children's Animated Program", "Grammy Award for Best Compilation Soundtrack for Visual Media", "Independent Spirit Award for Best Female Lead", "Dilys Award", "Independent Spirit Award for Best Screenplay", "Academy Award for Best Production Design", "Academy Award for Best Writing, Adapted Screenplay", "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie", "Academy Award for Best Supporting Actor", "Grammy Award for Best Male Rock Vocal Performance"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/adventureland"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["award"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.miramax.com/movie/adventureland\" .   }", "answer": "Independent Spirit Award for Best Screenplay"}, {"question": "What timezone is the county of Beaumont, Texas, and has a population of 251,306?", "choices": ["2012-07-01", "2009-08-05", "1829-01-01", "1944-03-02", "2010-12-31", "2006-01-01", "1673-04-19", "1870-01-01", "1941", "2007-12-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beaumont"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Texas"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "251306", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Beaumont\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"251306\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "What town has the OS grid reference SD333170 and is the birthplace of Miranda Richardson?", "choices": ["South Shields", "Wimbledon", "Basingstoke", "Edmonton", "Blackburn", "Macclesfield", "Colchester", "Doncaster", "Wigan", "Southport"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OS grid reference", "SD333170"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "Find", "dependencies": [], "inputs": ["Miranda Richardson"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["town"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <OS_grid_reference> ?pv . ?pv <pred:value> \"SD333170\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Miranda Richardson\" .  }", "answer": "Southport"}, {"question": "Which show has fewer episodes, Egypt (the one whose genre is docudrama) or It (the one whose end time is 1990-11-20)?", "choices": ["The Diary of Anne Frank", "It", "The Ten Commandments", "The Pacific", "The Stand", "George Washington", "Edge of Darkness", "Roots", "The Civil War", "Egypt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["docudrama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Egypt"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["It"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["end time", "1990-11-20", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Egypt\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"docudrama\" . } UNION { ?e <pred:name> \"It\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1990-11-20\"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "It"}, {"question": "What is the inception time for the association-football club that has Marc Anthony (the one that is related to sport association football) as a member (the end time of this statement is 2009-01-01)?", "choices": ["1995-12-01", "1793-01-01", "1948-09-09", "1448", "1898-01-01", "1621", "1922-11-14", "1642", "1789-01-01", "1738"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Marc Anthony"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["end time", "2009-01-01", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Marc Anthony\" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> \"association football\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> \"2009-01-01\"^^xsd:date . ?e <inception> ?pv .  }", "answer": "1995-12-01"}, {"question": "How many former French regions had a capital of Montpellier or were established before 1972?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montpellier"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1972", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["former French region"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" .  { ?e <capital> ?e_1 . ?e_1 <pred:name> \"Montpellier\" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1972 ) .  } }", "answer": "1"}, {"question": "For James Ivory (the one whose date of death is 1842-09-21), at what time point did he receive the Royal Medal?", "choices": ["2011-10-01", "1980-05-01", "2008-01-16", "2005-11-21", "1911-05-28", "2000-04-09", "1856", "1839-01-01", "2018-01-08", "2018-06-06"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Ivory"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1842-09-21", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Medal"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Ivory\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1842-09-21\"^^xsd:date . ?e_2 <pred:name> \"Royal Medal\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1839-01-01"}, {"question": "The website of Georgetown University Law Center, www.law.georgetown.edu, is published in which language ?", "choices": ["Irish", "Bashkir", "Japanese", "Indonesian", "Navajo", "Nynorsk", "O'odham", "Romanian", "Punjab", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Georgetown University Law Center"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.law.georgetown.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Georgetown University Law Center\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.law.georgetown.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "How many subscribers are there for the Twitter username BristolUni belonging to the public university that is the educational institution of Matt Lucas?", "choices": ["1402789", "22982", "2078002", "230517", "669034", "73055", "1468", "732358", "39545", "1386"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Matt Lucas"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "BristolUni", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Matt Lucas\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"BristolUni\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "73055"}, {"question": "Is 1448 the beginning year of the basketball team whose official website is http://www.nba.com/pacers/ (in English)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nba.com/pacers/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1448", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nba.com/pacers/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1448 ) .  }", "answer": "yes"}, {"question": "WHen was Siouxsie and the Banshees made?", "choices": ["1946-04-21", "1158", "1892-05-14", "1832", "1209-01-01", "1836-01-01", "1976", "1859-01-01", "1873-01-01", "1895-03-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Siouxsie and the Banshees"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Siouxsie and the Banshees\" . ?e <inception> ?pv .  }", "answer": "1976"}, {"question": "Does Moncton or Kelowna have a bigger population?", "choices": ["Kelowna", "Trieste", "Santo Domingo", "Dundee", "Moncton", "Kilkenny", "Abidjan", "Kingston", "Chihuahua", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moncton"]}, {"function": "Find", "dependencies": [], "inputs": ["Kelowna"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Moncton\" .  } UNION { ?e <pred:name> \"Kelowna\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kelowna"}, {"question": "What is the number of golden raspberry awards that were gotten by Guy Ritchie or that had an Inception time of prior to 1984", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guy Ritchie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Golden Raspberry Awards"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1994", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Golden Raspberry Awards"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Golden Raspberry Awards\" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Guy Ritchie\" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) .  } }", "answer": "9"}, {"question": "What's the relationship between Falkland Islands and English?", "choices": ["location of final assembly", "talk show guest", "present in work", "official language", "diaspora", "place of origin (Switzerland)", "father", "chairperson", "affiliation", "Wikidata property"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Falkland Islands"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Falkland Islands\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "official language"}, {"question": "Does the person whose Twitter username is BAM__MARGERA, have an official website equal to https://www.bamargera.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "BAM__MARGERA"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["https://www.bamargera.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"BAM__MARGERA\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.bamargera.com\" .  }", "answer": "yes"}, {"question": "How many census-designated place are located in Montgomery County having area of 1313 square kilometre or formation location is Ocean Software?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1313 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["census-designated place"]}, {"function": "Find", "dependencies": [], "inputs": ["Ocean Software"]}, {"function": "Relate", "dependencies": [4], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["census-designated place"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Montgomery County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"1313\"^^xsd:double .  } UNION { ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> \"Ocean Software\" .  } }", "answer": "2"}, {"question": "Whats the amount of reggae bands who were fromed before 1985?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1985", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["reggae"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"reggae\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  }", "answer": "2"}, {"question": "What is the connection between pop rock to Duran Duran?", "choices": ["league", "nominated for", "country of citizenship", "family name", "distributor", "superhuman feature or ability", "office contested", "godparent", "legal form", "famous people"], "program": [{"function": "Find", "dependencies": [], "inputs": ["pop rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Duran Duran"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"pop rock\" . ?e_2 <pred:name> \"Duran Duran\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which language in this creative work Northampton county, an administrative division of Pennsylvania, official website http://www.northamptoncounty.org?", "choices": ["Bavarian", "Latin script", "Esperanto", "English", "Danish", "Putonghua", "Breton", "Romanian", "Croatian", "Polish"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Northampton County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.northamptoncounty.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Northampton County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Pennsylvania\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.northamptoncounty.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is Anthony Newley's ISNI?", "choices": ["0000 0000 6302 6313", "0000 0003 9906 6431", "0000 0001 1462 084X", "0000 0003 6862 2319", "0000 0001 0792 3463", "0000 0000 3513 2784", "0000 0001 1476 7091", "0000 0001 0420 0921", "0000 0003 6849 1443", "0000 0000 6309 6522"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anthony Newley"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Anthony Newley\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 6309 6522"}, {"question": "What is the relationship between Mamelodi Sundowns F.C. and South Africa?", "choices": ["residence", "country", "location of formation", "illustrator", "captain", "foundational text", "country for sport", "country of origin", "make-up artist", "quotes work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mamelodi Sundowns F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["South Africa"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mamelodi Sundowns F.C.\" . ?e_2 <pred:name> \"South Africa\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between United States of America to Comoros?", "choices": ["subject has role", "located in time zone", "award received", "has immediate cause", "programming language", "work location", "foundational text", "licensed to broadcast to", "diplomatic relation", "color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Find", "dependencies": [], "inputs": ["Comoros"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Comoros\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "How many counties in Illinois are either in the USA or have a capital of Bloomington, the capital of McLean County?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "Find", "dependencies": [], "inputs": ["McLean County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bloomington"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of Illinois"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Bloomington\" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> \"McLean County\" .  } }", "answer": "18"}, {"question": "How many areas in London were used as filming locations of Jackie Brown (the one with the origin in United States of America) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackie Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["area of London"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"area of London\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Jackie Brown\" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> \"United States of America\" .   }", "answer": "0"}, {"question": "For which work did Rex Harrison receive a Tony Award for Best Actor in a Musical?", "choices": ["Germany\u2013Tonga relations", "59th Tony Awards", "Seychelles\u2013United States relations", "Afghanistan\u2013United States relations", "Canada\u2013Romania relations", "Belarus\u2013Poland relations", "Republic of Macedonia\u2013Slovenia relations", "Djibouti\u2013Eritrea relations", "Ireland\u2013Romania relations", "11th Tony Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rex Harrison"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Musical"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Rex Harrison\" . ?e_2 <pred:name> \"Tony Award for Best Actor in a Musical\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "11th Tony Awards"}, {"question": "What country holds the headquarters location of Hewlett-Packard in Palo Alto (that is headed by a mayor)?", "choices": ["Canada", "Bangladesh", "Indonesia", "Monaco", "Estonia", "Pakistan", "United Arab Republic", "United States of America", "Bhutan", "Saudi Arabia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hewlett-Packard"]}, {"function": "Find", "dependencies": [], "inputs": ["mayor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["office held by head of government", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Palo Alto"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hewlett-Packard\" . ?e_2 <pred:name> \"Palo Alto\" . ?e_2 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> \"mayor\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "How is The Hours that was nominated for a Pulitzer Prize for Fiction related to the USA?", "choices": ["contributor(s) to the creative work", "geography of topic", "architect", "programming paradigm", "voice actor", "occupation", "airline alliance", "country of origin", "based on", "operating system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pulitzer Prize for Fiction"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hours"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Hours\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Pulitzer Prize for Fiction\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Is 67832790 the number of speakers of the official language of Chennai ?", "choices": ["2017-09-14", "2000-10-11", "2001", "1960-11-01", "2011-02-27", "1967-01-01", "1970-05-27", "1307-01-01", "1879-01-01", "2012-01-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chennai"]}, {"function": "Relate", "dependencies": [0], "inputs": ["official language", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of speakers", "67832790", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e_1 <official_language> ?e . ?e_1 <pred:name> \"Chennai\" .  ?e <number_of_speakers> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67832790\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_speakers> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2001"}, {"question": "When did the TV movie filmed in Edinburgh conclude?", "choices": ["1972-12-01", "2005-10-02", "1920-08-10", "1984-06-30", "1980", "1988-04-30", "1999-04-12", "2001-11-01", "2015-02-15", "1941-06-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edinburgh"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["end time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Edinburgh\" .  ?e <end_time> ?pv .  }", "answer": "1999-04-12"}, {"question": "Is the date of birth of the person who is the composer of Over the Top not in the year 1957?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Over the Top"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1957", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Over the Top\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1957 ) .  }", "answer": "yes"}, {"question": "Was the person with CANTIC-ID a1146527x born after 1838?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a1146527x"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1838", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a1146527x\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1838 ) .  }", "answer": "yes"}, {"question": "What is the connection between The Man in the Iron Mask (the one that has Jeremy Irons as a cast member) to United Kingdom?", "choices": ["country of origin", "filmography", "sports season of league or competition", "mother", "movement", "parent organization", "kit supplier", "composer", "source of income", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeremy Irons"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man in the Iron Mask"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Man in the Iron Mask\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Jeremy Irons\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the official website of Van Helsing originally in English?", "choices": ["https://www.inter.it/", "http://www.terencestamp.com", "http://www.yale.edu/divinity", "http://www.northernirelandyears.com", "http://www.vanhelsing.net/", "http://www.colgate.edu", "http://disney.go.com/disneypictures/princeofpersia", "http://www.liverpool.gov.uk/", "http://www.randomhouse.com/teens/nickandnorah/home.php", "http://timemachine.countingdown.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Van Helsing"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Van Helsing\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <official_website> ?pv .  }", "answer": "http://www.vanhelsing.net/"}, {"question": "How many port cities are the twinned administrative body of Havana which is the twinned administrative body of Minsk?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minsk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Havana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["port city"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Havana\" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> \"Minsk\" .   }", "answer": "2"}, {"question": "Which film is shorter: Labyrinth or Earth?", "choices": ["Earth", "The Flintstones in Viva Rock Vegas", "Labyrinth", "The Flintstones", "G-Force", "John Carter", "National Treasure: Book of Secrets", "Holes", "The Muppets", "Old Dogs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["musical film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Labyrinth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "2009-04-22", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Labyrinth\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"musical film\" . } UNION { ?e <pred:name> \"Earth\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-04-22\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Labyrinth"}, {"question": "How long is the movie titled Since You Went Away?", "choices": ["82 minute", "120 minute", "121 minute", "158 minute", "112 minute", "33 minute", "360 minute", "133 minute", "849 minute", "215 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Since You Went Away"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Since You Went Away\" . ?e <duration> ?pv .  }", "answer": "120 minute"}, {"question": "Hennepin County has what connection to Minnesota, population 2792300?", "choices": ["has part", "conflict", "currency", "this taxon is source of", "located in the administrative territorial entity", "noble title", "copyright representative", "programming language", "natural product of taxon", "located in time zone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hennepin County"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnesota"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "2792300", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hennepin County\" . ?e_2 <pred:name> \"Minnesota\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"2792300\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "When did a county of New Jersey, whose official website is http://www.co.cape-may.nj.us/, reach its population is 97265 ?", "choices": ["1782", "2018-03-01", "1631-01-01", "2008-06-01", "2014-12-20", "2016-03-31", "2010-04-01", "1834", "1529", "2013-02-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.cape-may.nj.us/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "97265", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.cape-may.nj.us/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"97265\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-04-01"}, {"question": "Which area is smaller, Great Falls or Peoria?", "choices": ["Waukegan", "Lansing", "Columbus", "Compton", "Boulder", "Franklin", "Greenville", "New Haven", "Oakland", "Great Falls"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Falls"]}, {"function": "Find", "dependencies": [], "inputs": ["Peoria"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Great Falls\" .  } UNION { ?e <pred:name> \"Peoria\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Great Falls"}, {"question": "What is the local dialing code for the United States city whose postal code is 39530\u201339535, 39540?", "choices": ["08821", "228", "860-959", "08937", "0976", "330", "509", "437", "01244", "0295"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "39530\u201339535, 39540"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"39530\u201339535, 39540\" . ?e <local_dialing_code> ?pv .  }", "answer": "228"}, {"question": "How many feature films were published before 1986?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1986", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1986 ) .  }", "answer": "12"}, {"question": "What is the tie-in between Hewlett-Packard and software?", "choices": ["organisation directed from the office or person", "native language", "season starts", "place served by transport hub", "set in period", "owned by", "approved by", "production company", "product or material produced", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hewlett-Packard"]}, {"function": "Find", "dependencies": [], "inputs": ["software"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hewlett-Packard\" . ?e_2 <pred:name> \"software\" . ?e_1 ?p ?e_2 .  }", "answer": "product or material produced"}, {"question": "What is the inception time of the basketball team whose official website is http://www.celtics.com?", "choices": ["1987", "1927", "1946", "1772-03-26", "1951", "1012", "1871-01-01", "1991-09-17", "0990-01-01", "1846"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.celtics.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.celtics.com/\" . ?e <inception> ?pv .  }", "answer": "1946"}, {"question": "What is the connection between Ian Somerhalder to French American?", "choices": ["ethnic group", "operating area", "next higher rank", "conferred by", "from fictional universe", "tributary", "professorship", "series spin-off", "diplomatic relation", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian Somerhalder"]}, {"function": "Find", "dependencies": [], "inputs": ["French American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ian Somerhalder\" . ?e_2 <pred:name> \"French American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "How was it determined that Melbourne whose local dialing code is 0399 has a population of 3999982?", "choices": ["average", "2016 Australian census", "population projection", "Sixth National Population Census of the People's Republic of China", "gross floor area", "demographic balance", "Canada 2011 Census", "census", "2010 United States Census", "rated voltage"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melbourne"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "0399"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "3999982", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Melbourne\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"0399\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3999982\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Does Star Wars: Episode III \u2013 Revenge of the Sith or Requiem for a Dream has the longer runtime?", "choices": ["A Prairie Home Companion", "Talk to Her", "Curse of the Golden Flower", "Pleasantville", "Star Wars: Episode III \u2013 Revenge of the Sith", "Training Day", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars: Episode III \u2013 Revenge of the Sith"]}, {"function": "Find", "dependencies": [], "inputs": ["Requiem for a Dream"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Star Wars: Episode III \u2013 Revenge of the Sith\" .  } UNION { ?e <pred:name> \"Requiem for a Dream\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Star Wars: Episode III \u2013 Revenge of the Sith"}, {"question": "How many mechanical waves were established after 1920?", "choices": ["135", "136", "137", "138", "139", "140", "141", "142", "143", "144"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1920", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1920 ) .  }", "answer": "142"}, {"question": "How is Catwoman which received a Golden Raspberry Award for Worst Director related to Alex Borstein?", "choices": ["student", "enclave within", "newspaper format", "country of citizenship", "contributing factor of", "broadcast by", "cast member", "from fictional universe", "subject has role", "kit supplier"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Catwoman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alex Borstein"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Catwoman\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Director\" . ?e_2 <pred:name> \"Alex Borstein\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is http://www.theblackdahliamovie.net/ the official site of the film featuring Brian De Palma as a cast member?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brian De Palma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.theblackdahliamovie.net/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Brian De Palma\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.theblackdahliamovie.net/\" .  }", "answer": "yes"}, {"question": "What is the connection between Rajesh Khanna to British Raj?", "choices": ["relative", "taxon rank", "work location", "make-up artist", "occupation", "appears in the form of", "notable people with this condition", "game mode", "country of citizenship", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rajesh Khanna"]}, {"function": "Find", "dependencies": [], "inputs": ["British Raj"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rajesh Khanna\" . ?e_2 <pred:name> \"British Raj\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Where was the film titled Jerry Maguire, published on 1997-02-27 ?", "choices": ["Grauman's Chinese Theatre", "South Korea", "Rio de Janeiro", "Singapore", "Norway", "Germany", "United Arab Emirates", "Hong Kong", "New Zealand", "Berlin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Jerry Maguire"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1997-02-27", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Jerry Maguire\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-02-27\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many islands have a life expectancy younger than 14.8 years?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "14.8 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v != \"14.8\"^^xsd:double ) .  }", "answer": "2"}, {"question": "How is the 17 minute work, The Fugitive, related to English?", "choices": ["original language of film or TV show", "head of state", "officeholder", "studies", "general manager", "industry", "board member", "commissioned by", "has cause", "draft pick from school"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Fugitive"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "17 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fugitive\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"17\"^^xsd:double . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "Which area has fewer people, St Albans or Dundee?", "choices": ["Santo Domingo", "Bergen", "Chihuahua", "St Albans", "Kingston", "Trieste", "Dundee", "Cairo", "Cork", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Albans"]}, {"function": "Find", "dependencies": [], "inputs": ["Dundee"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"St Albans\" .  } UNION { ?e <pred:name> \"Dundee\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "St Albans"}, {"question": "What is the licence plate code of Tyrol (the one that includes South Tyrol as a part)?", "choices": ["69", "ZH", "T", "G", "Q", "BZ", "YAR", "PA", "\u82cfE", "PY"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Tyrol"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tyrol"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["licence plate code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tyrol\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"South Tyrol\" .  ?e <licence_plate_code> ?pv .  }", "answer": "BZ"}, {"question": "How many 3D movies earned under 32000000 in Hong Kong dollars at the box office or were executive produced by David Duchovny ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "32000000 Hong Kong dollar", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "Find", "dependencies": [], "inputs": ["David Duchovny"]}, {"function": "Relate", "dependencies": [3], "inputs": ["executive producer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["3D film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" .  { ?e <box_office> ?pv . ?pv <pred:unit> \"Hong Kong dollar\" . ?pv <pred:value> ?v . FILTER ( ?v < \"32000000\"^^xsd:double ) .  } UNION { ?e <executive_producer> ?e_1 . ?e_1 <pred:name> \"David Duchovny\" .  } }", "answer": "0"}, {"question": "For the record label that is the record label of Courtney Love, what album has the record label?", "choices": ["Pearl Jam", "Queens of the Stone Age", "The White Stripes", "Chariots of Fire", "Dynasty", "Courtney Love", "The Fall", "Bon Jovi", "Roots", "Christopher Cross"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Courtney Love"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Relate", "dependencies": [2], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["album"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <record_label> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"record label\" . ?e_2 <record_label> ?e_1 . ?e_2 <pred:name> \"Courtney Love\" .   }", "answer": "The White Stripes"}, {"question": "Where was the film written by John Updike published on 1987-10-29?", "choices": ["Estonia", "2003 Cannes Film Festival", "Sundance Film Festival", "Central Park", "Venice Film Festival", "India", "North America", "Germany", "Beverly Hills", "Hollywood Bowl"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Updike"]}, {"function": "Relate", "dependencies": [0], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1987-10-29", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"John Updike\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1987-10-29\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the run-time of the movie Luc Besson is known for?", "choices": ["13 minute", "184 minute", "4 year", "121 minute", "216 minute", "310 minute", "151 minute", "3751 second", "220 minute", "129 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luc Besson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Luc Besson\" .  ?e <duration> ?pv .  }", "answer": "121 minute"}, {"question": "What is the name of the city of the United States that shares border with Alexandria (the one founded in 1818) and with a population of less than 6000000?", "choices": ["Columbus", "Oxnard", "Waukegan", "Washington, D.C.", "Spokane", "Oakland", "New Haven", "Baton Rouge", "Ypsilanti", "Ann Arbor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1818", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "6000000", "<"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Alexandria\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1818 .  ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"6000000\"^^xsd:double ) .  }", "answer": "Baton Rouge"}, {"question": "Which has less duration, On the Road (whose regional debut venue is Cannes Film Festival) or Scoop (which has Julian Glover as a cast member)?", "choices": ["The Towering Inferno", "Scoop", "Curse of the Golden Flower", "Pleasantville", "On the Road", "Training Day", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Talk to Her", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cannes Film Festival"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film regional debut venue", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["On the Road"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Julian Glover"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scoop"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"On the Road\" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> \"Cannes Film Festival\" .   } UNION { ?e <pred:name> \"Scoop\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Julian Glover\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Scoop"}, {"question": "How many musicals have Joshua Logan as director or have http://www.sonypictures.com/homevideo/rent/index.html as the official website?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joshua Logan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.sonypictures.com/homevideo/rent/index.html"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical\" .  { ?e <director> ?e_1 . ?e_1 <pred:name> \"Joshua Logan\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonypictures.com/homevideo/rent/index.html\" .  } }", "answer": "2"}, {"question": "When did Madrid become the twinned administrative body of Lisbon, which is the twin of Budapest?", "choices": ["1979-05-31", "1508-01-01", "1994-04-19", "1920-05-01", "1979-06-03", "1856-01-01", "2012-06-22", "1930-05-10", "1973-11-26", "1999-09-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madrid"]}, {"function": "Find", "dependencies": [], "inputs": ["Budapest"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Lisbon"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Madrid\" . ?e_2 <pred:name> \"Lisbon\" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"Budapest\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1979-05-31"}, {"question": "What is the postal code of West Virginia University's headquarter located in Morgantown?", "choices": ["33000", "46201", "28205", "02886\u201302889", "11205", "26506", "94720", "21501\u201321505", "84401", "90001\u201390068"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Virginia University"]}, {"function": "Find", "dependencies": [], "inputs": ["Morgantown"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"West Virginia University\" . ?e_2 <pred:name> \"Morgantown\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "26506"}, {"question": "Was the person that lives in London, birthplace of Ryan Gosling, born later than 1972 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan Gosling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [6], "inputs": ["1972", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"London\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Ryan Gosling\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1972 ) .  }", "answer": "no"}, {"question": "How many sport teams was the Empire of Japan involved with?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Empire of Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "Relate", "dependencies": [2], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sport"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sport\" . ?e_1 <sport> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"organization\" . ?e_2 <part_of> ?e_1 . ?e_2 <pred:name> \"Empire of Japan\" .   }", "answer": "0"}, {"question": "Is 0000 0001 2280 0760 is the ISNI of the person whose official website is http://www.sammydavis-jr.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.sammydavis-jr.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2280 0760"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.sammydavis-jr.com/\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2280 0760\" .  }", "answer": "yes"}, {"question": "When did member Warren Ellis, born on 1965-01-01, join Nick Cave and the Bad Seeds?", "choices": ["1901-03-01", "1919-01-07", "1992-06-30", "1996", "2015-11-24", "1991-12-27", "1877", "1967-09-18", "1995-08-01", "1989-12-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren Ellis"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1965-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Nick Cave and the Bad Seeds"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Warren Ellis\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1965-01-01\"^^xsd:date . ?e_2 <pred:name> \"Nick Cave and the Bad Seeds\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1996"}, {"question": "Show me the name of fictional profession created by Chris Claremont, that has the name Rogue in native language.", "choices": ["Darwin", "Batman", "Aurora", "Michelangelo", "Rogue", "Daredevil", "Ghost Rider", "Frankenstein", "Wonder Woman", "Hercules"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Rogue"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Claremont"]}, {"function": "Relate", "dependencies": [3], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional profession"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Rogue\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Chris Claremont\" .  }", "answer": "Rogue"}, {"question": "When did the US city that's Penobscot County's capital have a population totaling 33,039?", "choices": ["1624", "1770", "1903", "2010-01-01", "1943", "1978-05-01", "2012-01-12", "2018", "2019-03-02", "2017-01-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Penobscot County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "33039", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Penobscot County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"33039\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Which has more students, University of Melbourne or Eastern Michigan University?", "choices": ["University of Michigan", "University of Hamburg", "San Diego State University", "University of Tasmania", "Panjab University", "Birkbeck, University of London", "McMaster University", "University of Queensland", "King's College London", "University of Melbourne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Melbourne"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern Michigan University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Melbourne\" .  } UNION { ?e <pred:name> \"Eastern Michigan University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Melbourne"}, {"question": "Gordon Brown of the Australian Labor Party has what connection to the United Kingdom?", "choices": ["material used", "field of this occupation", "office held by head of state", "twinned administrative body", "country of citizenship", "significant person", "properties for this type", "does not have part", "diaspora", "foundational text"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australian Labor Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gordon Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gordon Brown\" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> \"Australian Labor Party\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Is Lackawanna County's population 3300000000 (the point in time of this statement is 2012-07-01)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lackawanna County"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2012-07-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["3300000000", "="]}], "sparql": "ASK { ?e <pred:name> \"Lackawanna County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3300000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date .  }", "answer": "no"}, {"question": "The population of how many states is under 5600000?", "choices": ["23", "24", "25", "26", "27", "28", "29", "30", "31", "32"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5600000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"5600000\"^^xsd:double ) .  }", "answer": "23"}, {"question": "Does the democracy whose demonym is colombiano, have its inflation rate less than 910 percentage (the point in time of this statement is 2002-01-01)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "colombiano"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["inflation rate", "point in time", "2002-01-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["910 percentage", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"colombiano\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"910\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2002-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How is Pinocchio, with Glenn Close as a cast member, related to the Golden Raspberry Award for Worst Screen Couple/Ensemble?", "choices": ["board member", "original film format", "nominated for", "fabrication method", "broadcast by", "place of birth", "located in time zone", "significant event", "currency", "developer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Glenn Close"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pinocchio"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screen Couple/Ensemble"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pinocchio\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Glenn Close\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Screen Couple/Ensemble\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Is Fresno County or San Luis Obispo County smaller in size?", "choices": ["Alameda County", "San Mateo County", "Fresno County", "Tulare County", "Contra Costa County", "San Luis Obispo County", "Mariposa County", "Solano County", "Butte County", "Tuolumne County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fresno County"]}, {"function": "Find", "dependencies": [], "inputs": ["San Luis Obispo County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fresno County\" .  } UNION { ?e <pred:name> \"San Luis Obispo County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "San Luis Obispo County"}, {"question": "Which has less female population, Chandigarh or New Delhi where Raj Kapoor died?", "choices": ["New Delhi", "Tallinn", "Paris", "Lausanne", "Sarajevo", "Doha", "Riga", "Mexico City", "Moscow", "Manila"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chandigarh"]}, {"function": "Find", "dependencies": [], "inputs": ["Raj Kapoor"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New Delhi"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["female population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chandigarh\" .  } UNION { ?e <pred:name> \"New Delhi\" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> \"Raj Kapoor\" .   } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New Delhi"}, {"question": "Is the elevation relative to sea level lower in Detroit, workplace of John Conyers, or in Arlington?", "choices": ["Oakland", "Boulder", "Waukegan", "New Haven", "Franklin", "Detroit", "Columbus", "Greenville", "Arlington", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Conyers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Detroit"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Arlington"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Detroit\" . ?e_1 <work_location> ?e . ?e_1 <pred:name> \"John Conyers\" .   } UNION { ?e <pred:name> \"Arlington\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Detroit"}, {"question": "How many counties in Maine have a population of less than 720000?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "720000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Maine"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maine\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"720000\"^^xsd:double ) .  }", "answer": "10"}, {"question": "What is the debut region of Elektra whose production company is Marvel Entertainment and release date is 2005-03-10?", "choices": ["Japan", "Jordan", "Germany", "Netherlands", "Australia", "South Korea", "Poland", "Davao City", "Egypt", "2004 Cannes Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marvel Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Elektra"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2005-03-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Elektra\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Marvel Entertainment\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2005-03-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many census-designated places are the location of Princeton University or are at zip code 20814?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Princeton University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "20814"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["census-designated place"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" .  { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Princeton University\" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> \"20814\" .  } }", "answer": "1"}, {"question": "Was the person with birth name Adam James Smith born in 1959?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Adam James Smith"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1959", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Adam James Smith\" . ?e <date_of_birth> ?pv . ?pv <pred:year> 1959 .  }", "answer": "no"}, {"question": "For Harvard Divinity School, what is the postal code for its headquarter location in Cambridge (the one that is the residence of John Malkovich)?", "choices": ["02138", "1502\u20131503", "RG22", "99425", "97543", "82604", "31993\u201331994", "8063", "1070 MX", "40292-0001"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harvard Divinity School"]}, {"function": "Find", "dependencies": [], "inputs": ["John Malkovich"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Harvard Divinity School\" . ?e_2 <pred:name> \"Cambridge\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"John Malkovich\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "02138"}, {"question": "Which area is smaller, Nevada County or Santa Clara County?", "choices": ["Santa Clara County", "Alameda County", "Contra Costa County", "San Mateo County", "Solano County", "Mariposa County", "Tulare County", "Nevada County", "Tuolumne County", "San Diego County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nevada County"]}, {"function": "Find", "dependencies": [], "inputs": ["Santa Clara County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nevada County\" .  } UNION { ?e <pred:name> \"Santa Clara County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nevada County"}, {"question": "What visual artwork has Adrian (the one whose ISNI is 0000 0000 4474 6809) as a costume designer and a publication date in 1935?", "choices": ["Marie Antoinette", "The Wizard of Oz", "A Midsummer Night's Dream", "A Prairie Home Companion", "The Philadelphia Story", "Anna Karenina", "Mutiny on the Bounty", "Rebecca", "Cobra", "The Dictator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adrian"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 4474 6809"]}, {"function": "Relate", "dependencies": [1], "inputs": ["costume designer", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [4], "inputs": ["publication date", "1935", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> \"Adrian\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 4474 6809\" .  ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1935 .  }", "answer": "Anna Karenina"}, {"question": "How is The Alamo (distributed by Walt Disney Studios Motion Pictures) related to Billy Bob Thornton?", "choices": ["symptom of", "political ideology", "manufacturer", "influenced by", "nutrient", "voice actor", "cast member", "military casualty classification", "sex or gender", "significant event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Alamo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Billy Bob Thornton"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Alamo\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Walt Disney Studios Motion Pictures\" . ?e_2 <pred:name> \"Billy Bob Thornton\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Is the 1984 Winter Olympics represented by the website www.harlanellison.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1984 Winter Olympics"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.harlanellison.com/"]}], "sparql": "ASK { ?e <pred:name> \"1984 Winter Olympics\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.harlanellison.com/\" .  }", "answer": "no"}, {"question": "Which movie cost less to make, Wild Wild West or Dogma?", "choices": ["Talk to Her", "The Towering Inferno", "The Fifth Element", "Training Day", "A Prairie Home Companion", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Dogma", "Pleasantville", "Wild Wild West"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wild Wild West"]}, {"function": "Find", "dependencies": [], "inputs": ["Dogma"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wild Wild West\" .  } UNION { ?e <pred:name> \"Dogma\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dogma"}, {"question": "Which city uses the natural language as its official language having short name as \u043f\u0435\u0440\u0441\u044c\u043a\u0430?", "choices": ["Barrie", "Cork", "Kingston", "Iran", "Port of Spain", "Tehran", "Coventry", "Trieste", "Mashhad", "Bergen"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "\u043f\u0435\u0440\u0441\u044c\u043a\u0430"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["natural language"]}, {"function": "Relate", "dependencies": [2], "inputs": ["official language", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_language> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"natural language\" . ?e_1 <short_name> ?pv . ?pv <pred:value> \"\u043f\u0435\u0440\u0441\u044c\u043a\u0430\" .   }", "answer": "Mashhad"}, {"question": "Does Kathleen Turner have her ISNI equal to 0000 0001 0938 2306?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathleen Turner"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 0938 2306"]}], "sparql": "ASK { ?e <pred:name> \"Kathleen Turner\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0938 2306\" .  }", "answer": "no"}, {"question": "Rock Band 2 and Wii are related in what way?", "choices": ["taxon rank", "business division", "seed team", "platform", "domain of saint or deity", "has edition", "part of the series", "licensed to broadcast to", "parent astronomical body", "archives at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rock Band 2"]}, {"function": "Find", "dependencies": [], "inputs": ["Wii"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rock Band 2\" . ?e_2 <pred:name> \"Wii\" . ?e_1 ?p ?e_2 .  }", "answer": "platform"}, {"question": "Is the running time shorter for Bulworth or for A Christmas Carol at 68 minutes?", "choices": ["Curse of the Golden Flower", "Rebecca", "The Towering Inferno", "A Christmas Carol", "The Hunchback of Notre Dame", "Pleasantville", "Training Day", "Bulworth", "The Fifth Element", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulworth"]}, {"function": "Find", "dependencies": [], "inputs": ["A Christmas Carol"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "68 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bulworth\" . } UNION { ?e <pred:name> \"A Christmas Carol\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"68\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "A Christmas Carol"}, {"question": "Out of the provinces of Italy that were founded before 1972, which is the smallest in area?", "choices": ["Province of Turin", "Province of Brescia", "Province of Salerno", "Province of Rome", "Province of Cuneo", "South Tyrol", "province of Milan", "Province of Como", "Province of Potenza", "Province of Cagliari"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1972", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1972 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "province of Milan"}, {"question": "Who is the person whose Regensburg Classification identifier is BF 4165?", "choices": ["Gottfried Wilhelm Leibniz", "Richard Gere", "Greg Ayres", "William Henry Harrison", "Michael Chapman", "Jules Verne", "Sylvester Stallone", "Woody Allen", "Pritam Chakraborty", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Regensburg Classification", "BF 4165"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Regensburg_Classification> ?pv . ?pv <pred:value> \"BF 4165\" .  }", "answer": "Gottfried Wilhelm Leibniz"}, {"question": "How many literary work are considered to be a part of Die Hard (the one that includes Live Free or Die Hard as a part) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Live Free or Die Hard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Die Hard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["part of the series", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["literary work"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary work\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> \"Die Hard\" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> \"Live Free or Die Hard\" .   }", "answer": "0"}, {"question": "At what point in time was the nominal GDP 2157592936.60731 United States dollars For the state that shares a border with Equatorial Guinea?", "choices": ["2009-12-31", "1975-01-01", "2014-04-30", "1996-08-28", "1511", "1561", "1868-01-01", "1995-01-01", "1965-10-01", "1966-04-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Equatorial Guinea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "2157592936.60731 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Equatorial Guinea\" .  ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"2157592936.60731\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1975-01-01"}, {"question": "Which one, January Jones or Saif Ali Khan, has a greater number of children?", "choices": ["Richard Gere", "Sylvester Stallone", "Rahul Dev Burman", "Saif Ali Khan", "Paul Simon", "January Jones", "William Henry Harrison", "James E. Reilly", "Max Fleischer", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["January Jones"]}, {"function": "Find", "dependencies": [], "inputs": ["Saif Ali Khan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"January Jones\" .  } UNION { ?e <pred:name> \"Saif Ali Khan\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Saif Ali Khan"}, {"question": "What is the association of The Walt Disney Company with Disneyland?", "choices": ["architectural style", "next lower rank", "season starts", "terminus", "creator", "executive producer", "opposite of", "art director", "owner of", "interested in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Walt Disney Company"]}, {"function": "Find", "dependencies": [], "inputs": ["Disneyland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Walt Disney Company\" . ?e_2 <pred:name> \"Disneyland\" . ?e_1 ?p ?e_2 .  }", "answer": "owner of"}, {"question": "At what point in time is 380621 the population of Zeeland?", "choices": ["2002-07-08", "1770", "1467-01-01", "1967-04-10", "1572", "2013-12-31", "1999-06-16", "1662", "1770-01-01", "2000-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zeeland"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "380621", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Zeeland\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"380621\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-12-31"}, {"question": "Was the movie titled Neighbours published before 2007?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Neighbours"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2007", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Neighbours\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) .  }", "answer": "yes"}, {"question": "Tell me the relationship between Bucky Larson: Born to Be a Star and Pauly Shore.", "choices": ["cast member", "hair color", "sport", "military conflicts", "chairperson", "captain", "next higher rank", "country of citizenship", "exported to", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bucky Larson: Born to Be a Star"]}, {"function": "Find", "dependencies": [], "inputs": ["Pauly Shore"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bucky Larson: Born to Be a Star\" . ?e_2 <pred:name> \"Pauly Shore\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Was the university corresponding to ISNI 0000 0004 1937 1135 established in any year but 1590 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 1937 1135"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1590", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 1937 1135\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1590 ) .  }", "answer": "yes"}, {"question": "When did the Human Development Index of a sovereign state that sports diplomatic relation with Bangladesh (the one that has a diplomatic relation with South Sudan) (the subject of this statement is Bangladesh\u2013Bhutan relations), reach the value of 0.573 ?", "choices": ["1812", "1750", "2010-03-01", "1965-08-01", "2000-01-19", "1904-01-01", "2002-03-24", "1957-12-01", "1991-12-12", "2010"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Sudan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bangladesh"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["statement is subject of", "Bangladesh\u2013Bhutan relations"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["Human Development Index", "0.573", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Bangladesh\" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> \"South Sudan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Bangladesh\u2013Bhutan relations\" . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.573\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Buckethead is related in what way to post-rock?", "choices": ["professional or sports partner", "maintained by", "general manager", "basin country", "rector", "commander of", "country for sport", "genre", "military conflicts", "performer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buckethead"]}, {"function": "Find", "dependencies": [], "inputs": ["post-rock"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Buckethead\" . ?e_2 <pred:name> \"post-rock\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "At what time point was the BAFTA Award for Best Direction won by Francis Ford Coppola?", "choices": ["1998-04-18", "2019", "2015-11-05", "1980", "2001", "2018-08-08", "2011-06-01", "1986-09-06", "2011-09-01", "1843-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Direction"]}, {"function": "Find", "dependencies": [], "inputs": ["Francis Ford Coppola"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Direction\" . ?e_2 <pred:name> \"Francis Ford Coppola\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1980"}, {"question": "Does the person with ISNI is 0000 0001 2282 5992 have fewer than 15 children?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2282 5992"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["15", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2282 5992\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"15\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the relationship between Sciences Po and France?", "choices": ["eye color", "composer", "general manager", "seed team", "kit supplier", "country of origin", "librettist", "country", "set in period", "copyright representative"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sciences Po"]}, {"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sciences Po\" . ?e_2 <pred:name> \"France\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Does the creator of Grey's Anatomy have an ISNI of 0000 0001 1692 3924?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grey's Anatomy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["creator", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1692 3924"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <creator> ?e . ?e_1 <pred:name> \"Grey's Anatomy\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1692 3924\" .  }", "answer": "yes"}, {"question": "How is Ajax Cape Town F.C. related to association football?", "choices": ["licensed to broadcast to", "filmography", "subject has role", "next higher rank", "notable people with this condition", "sport", "dedicated to", "place of burial", "use", "feast day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ajax Cape Town F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ajax Cape Town F.C.\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the television series of production company Castle Rock Entertainment?", "choices": ["Saturday Night Live", "Seinfeld", "The Fall", "Hamlet", "A Mighty Wind", "The Office", "From the Earth to the Moon", "The Adventures of Pluto Nash", "For Your Consideration", "The Green Mile"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Castle Rock Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Castle Rock Entertainment\" .   }", "answer": "Seinfeld"}, {"question": "Is the date of birth of the person having the Deutsche Synchronkartei actor-ID 11180 prior to the year 1944?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "11180"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1944", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv_1 . ?pv_1 <pred:value> \"11180\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1944 ) .  }", "answer": "yes"}, {"question": "Which individual recipient of the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture has ISNI 0000 0001 1473 8717?", "choices": ["Sandra Bullock", "David Byrne", "Max Fleischer", "Ryan Phillippe", "Richard Gere", "Sylvester Stallone", "Irrfan Khan", "William Henry Harrison", "Jennifer Ehle", "Jacob Vargas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1473 8717"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1473 8717\" .  }", "answer": "Sandra Bullock"}, {"question": "Does the longer run-time belong to Speed 2: Cruise Control or The Scarlet Letter, originally in German?", "choices": ["Training Day", "Curse of the Golden Flower", "The Scarlet Letter", "The Hunchback of Notre Dame", "Rebecca", "Pleasantville", "A Prairie Home Companion", "Speed 2: Cruise Control", "The Fifth Element", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Speed 2: Cruise Control"]}, {"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scarlet Letter"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Speed 2: Cruise Control\" .  } UNION { ?e <pred:name> \"The Scarlet Letter\" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> \"German\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Speed 2: Cruise Control"}, {"question": "Which one has the largest area among the former French regions founded on 1972-07-09?", "choices": ["Nord-Pas-de-Calais", "Aquitaine", "Picardy", "Burgundy", "Poitou-Charentes", "Lower Normandy", "Upper Normandy", "Alsace", "Champagne-Ardenne", "Languedoc-Roussillon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1972-07-09", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["former French region"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"former French region\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1972-07-09\"^^xsd:date . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Aquitaine"}, {"question": "Which model of video game console that is the platform of the Guitar Hero World Tour has the least sold units?", "choices": ["Wii", "Detroit", "Xbox 360", "PlayStation 3", "PlayStation 2", "Jharkhand", "Nintendo Entertainment System", "Hamlet", "Thomas Mann", "Memento"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guitar Hero World Tour"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e_1 <platform> ?e . ?e_1 <pred:name> \"Guitar Hero World Tour\" .  ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Xbox 360"}, {"question": "Among the films designed by Danilo Donati,which one has the smallest duration ?", "choices": ["Rebecca", "Pinocchio", "Training Day", "The Fifth Element", "Pleasantville", "The Towering Inferno", "Flash Gordon", "A Prairie Home Companion", "Life Is Beautiful", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danilo Donati"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production designer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> \"Danilo Donati\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pinocchio"}, {"question": "What is the short name of the Guns N' Roses' record label?", "choices": ["RCA", "R", "Geffen", "\ud83c\udde6\ud83c\udde9", "WA", "GOP", "\u041e\u0410\u0415", "Nederland", "Arista", "Bavaria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guns N\u2019 Roses"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["short name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e_1 <record_label> ?e . ?e_1 <pred:name> \"Guns N\u2019 Roses\" .  ?e <short_name> ?pv .  }", "answer": "Geffen"}, {"question": "In which language was the work that earned a nomination to Catherine Zeta-Jones in the Tony Awards?", "choices": ["Galician", "German", "Greek", "Spanish", "Indonesian", "Luxembourgish", "Korean", "O'odham", "English", "Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catherine Zeta-Jones"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatre award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.tonyawards.com/en_US/index.html", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Catherine Zeta-Jones\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.tonyawards.com/en_US/index.html\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Wichita, postal code 67212, is the death place of which person?", "choices": ["David Byrne", "Max Fleischer", "William Henry Harrison", "Rahul Dev Burman", "Randy Jackson", "Arthur Schopenhauer", "Sylvester Stallone", "George Carlin", "Joe Mantegna", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wichita"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "67212"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Wichita\" . ?e_1 <postal_code> ?pv . ?pv <pred:value> \"67212\" .   }", "answer": "Randy Jackson"}, {"question": "What is the relationship between The Spy Who Loved Me (the one that uses the language English) to Adirondack Mountains?", "choices": ["has immediate cause", "military casualty classification", "religious order", "industry", "sport", "residence", "instrumentation", "position played on team / speciality", "narrative location", "statistical leader"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Spy Who Loved Me"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Adirondack Mountains"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Spy Who Loved Me\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Adirondack Mountains\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Which area has lower elevation above sea level, Huntington (the one whose inception time is 1870) or Waterloo (the one whose local dialing code is 319)?", "choices": ["Boulder", "Waterloo", "Huntington", "Compton", "Waukegan", "Lansing", "Columbus", "Oakland", "New Haven", "Greenville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Huntington"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1870", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Waterloo"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["local dialing code", "319"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Huntington\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1870 . } UNION { ?e <pred:name> \"Waterloo\" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> \"319\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Huntington"}, {"question": "What is the run-time of Shadowlands, a BAFTA nominee for Best Actor in a Leading Role?", "choices": ["115.0 minute", "186 minute", "29 minute", "161 minute", "15 minute", "220 minute", "17 minute", "8 hour", "131 minute", "164 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Actor in a Leading Role"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shadowlands"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Shadowlands\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Actor in a Leading Role\" .  ?e <duration> ?pv .  }", "answer": "131 minute"}, {"question": "What academic degree is conferred by the Technical University of Berlin and has short name M.Sc.?", "choices": ["Doctor of Philosophy", "Master of Philosophy", "Bachelor of Arts", "Master of Fine Arts", "Bachelor of Laws", "associate degree", "Bachelor of Science", "Master of Arts", "Master of Laws", "Master of Science"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Technical University of Berlin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["grants", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic degree"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["short name", "M.Sc."]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["academic degree"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic degree\" . ?e_1 <grants> ?e . ?e_1 <pred:name> \"Technical University of Berlin\" .  ?e <short_name> ?pv . ?pv <pred:value> \"M.Sc.\" .  }", "answer": "Master of Science"}, {"question": "Is the official website of Tarzan (featuring Lance Henriksen as a voice actor) http://www.sonypictures.com/movies/deucebigaloweuropeangigolo/index.html?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lance Henriksen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tarzan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.sonypictures.com/movies/deucebigaloweuropeangigolo/index.html"]}], "sparql": "ASK { ?e <pred:name> \"Tarzan\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Lance Henriksen\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.sonypictures.com/movies/deucebigaloweuropeangigolo/index.html\" .  }", "answer": "no"}, {"question": "What is the weight of the person who was born in Torrance?", "choices": ["149.05105 atomic mass unit", "284.272 atomic mass unit", "97 kilogram", "75 kilogram", "72.5 kilogram", "83 kilogram", "270 pound", "174.111676 atomic mass unit", "285 pound", "198 pound"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Torrance"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["mass"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Torrance\" .  ?e <mass> ?pv .  }", "answer": "97 kilogram"}, {"question": "Did the film titled We Were Soldiers have a duration greater than 1 academic term?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "We Were Soldiers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["1 academic term", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"We Were Soldiers\" . ?e <duration> ?pv . ?pv <pred:unit> \"academic term\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Among the counties of Alabama that share border with Washington County (the one whose official website is http://www.washingtoncountyal.com), which one has the largest area ?", "choices": ["Mobile County", "Washington County", "Dallas County", "Shelby County", "Jackson County", "Madison County", "Baldwin County", "Jefferson County", "Monroe County", "Montgomery County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Washington County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.washingtoncountyal.com"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Washington County\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.washingtoncountyal.com\" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Baldwin County"}, {"question": "Which has the most episodes among the animated films whose episode count is less than 2500?", "choices": ["Vampire Knight", "The Super Dimension Fortress Macross", "My-HiME", "Sonic X", "Fullmetal Alchemist the Movie: Conqueror of Shamballa", "Magic Knight Rayearth", "Magical Girl Lyrical Nanoha", "Code Geass", "Eureka Seven", "Chrono Crusade"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "2500", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"2500\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Sonic X"}, {"question": "What character did Los Angeles native Freddie Prinze play in Scoobie-Doo?", "choices": ["Wilbur Wright", "John Clark", "Fred Jones", "Georg Johannes von Trapp", "Grouchy Smurf", "Headless Horseman", "John Carter", "Jor-El", "Meyer Wolfshiem", "Rude"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Scooby-Doo"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Freddie Prinze"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Scooby-Doo\" . ?e_2 <pred:name> \"Freddie Prinze\" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"Los Angeles\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Fred Jones"}, {"question": "What does Peterborough (the twinned administrative body of Ann Arbor) have to do with Cambridgeshire (which shares a border with Northamptonshire)?", "choices": ["located in time zone", "student of", "family name", "significant event", "located in the administrative territorial entity", "properties for this type", "designed by", "field of work", "location of final assembly", "writing system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ann Arbor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peterborough"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Northamptonshire"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridgeshire"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peterborough\" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> \"Ann Arbor\" . ?e_2 <pred:name> \"Cambridgeshire\" . ?e_4 <shares_border_with> ?e_2 . ?e_4 <pred:name> \"Northamptonshire\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "is the Giphy username equal to panicatthedisco for the band baroque pop?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["baroque pop"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Giphy username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["panicatthedisco"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"baroque pop\" .  ?e <Giphy_username> ?pv . ?pv <pred:value> \"panicatthedisco\" .  }", "answer": "yes"}, {"question": "Was the action movie Star Wars not in 2012?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action game"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Wars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2012", "!="]}], "sparql": "ASK { ?e <pred:name> \"Star Wars\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"action game\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) .  }", "answer": "yes"}, {"question": "What does Muhammad have to do with fever?", "choices": ["author", "drug used for treatment", "head of state", "diplomatic relation", "cause of death", "hair color", "film crew member", "located in time zone", "head of government", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Muhammad"]}, {"function": "Find", "dependencies": [], "inputs": ["fever"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Muhammad\" . ?e_2 <pred:name> \"fever\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "How many subsidiary companies either are owned by Warner Music Group or have a subsidiary of Motown?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Music Group"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owned by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["subsidiary company"]}, {"function": "Find", "dependencies": [], "inputs": ["Motown"]}, {"function": "Relate", "dependencies": [3], "inputs": ["subsidiary", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["subsidiary company"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"subsidiary company\" .  { ?e <owned_by> ?e_1 . ?e_1 <pred:name> \"Warner Music Group\" .  } UNION { ?e <subsidiary> ?e_1 . ?e_1 <pred:name> \"Motown\" .  } }", "answer": "2"}, {"question": "Who is taller, Marilyn Monroe (the one whose Libris-URI is mkz13rj52m3g5cn) or Brigitte Nielsen?", "choices": ["James E. Reilly", "Max Fleischer", "Richard Gere", "Marilyn Monroe", "Brigitte Nielsen", "Sylvester Stallone", "Paul Simon", "David Byrne", "Rahul Dev Burman", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marilyn Monroe"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "mkz13rj52m3g5cn"]}, {"function": "Find", "dependencies": [], "inputs": ["Brigitte Nielsen"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marilyn Monroe\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"mkz13rj52m3g5cn\" . } UNION { ?e <pred:name> \"Brigitte Nielsen\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Brigitte Nielsen"}, {"question": "Does Collateral (the one that was nominated for National Board of Review Award for Best Director) or West Side Story (the one that was nominated for Academy Award for Best Supporting Actor) have greater duration ?", "choices": ["Training Day", "Pleasantville", "Rebecca", "West Side Story", "Curse of the Golden Flower", "Collateral", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Talk to Her", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Board of Review Award for Best Director"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Collateral"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["West Side Story"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Collateral\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Board of Review Award for Best Director\" .   } UNION { ?e <pred:name> \"West Side Story\" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "West Side Story"}, {"question": "What language is used for  http://www.dauphincounty.org, the official website of a county of Pennsylvania with Harrisburg as the capital ?", "choices": ["Maltese", "Korean", "Corsican", "Hindi", "English", "Nynorsk", "\u01c0Xam language", "Ewe", "O'odham", "Croatian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Harrisburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.dauphincounty.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Harrisburg\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.dauphincounty.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "The Beetlejuice originating in the USA was released in which location on 1988-11-10?", "choices": ["Greece", "Beverly Hills", "Bulgaria", "Turkey", "Kuwait", "Park City", "Hollywood", "Davao City", "Germany", "South Korea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beetlejuice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1988-11-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Beetlejuice\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1988-11-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which visual artwork was the recipient of the award Nancy Haigh won and which was nominated to Boris Leven?", "choices": ["The Fifth Element", "Rebecca", "A Prairie Home Companion", "Amadeus", "Howards End", "Bugsy", "Raiders of the Lost Ark", "Hugo", "Pleasantville", "Out of Africa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boris Leven"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["winner", "Nancy Haigh"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"Boris Leven\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> \"Nancy Haigh\" .  }", "answer": "Bugsy"}, {"question": "At what point in time is 0.409 the Human Development Index for the sovereign state that shares the Guinea\u2013Mali border with Guinea?", "choices": ["1652", "2011-08-01", "1993-08-08", "1300", "2010", "1620", "1995-09-01", "2016-05-05", "1982-02-24", "2005-06-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guinea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Guinea\u2013Mali border"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Human Development Index", "0.409", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Guinea\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Guinea\u2013Mali border\" . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"0.409\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "What is the ISO 3166-2 for a US state that contains Hamilton County (the one whose FIPS 6-4 (US counties) is 39061) administration division ?", "choices": ["US-NH", "GB-ENG", "CN-51", "GB-NET", "FR-H", "GB-ESX", "US-AL", "US-OH", "ID-BA", "US-MD"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hamilton County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "39061"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISO 3166-2 code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Hamilton County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"39061\" . ?e <ISO_3166-2_code> ?pv .  }", "answer": "US-OH"}, {"question": "Where was released The Impossible in 2013-01-3?", "choices": ["Germany", "Argentina", "Cannes", "Colombia", "Telluride Film Festival", "Indonesia", "Chicago", "Beverly Hills", "Hungary", "BFI London Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Impossible"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2013-01-31", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Impossible\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2013-01-31\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which covers a larger amount of area, Rio de Janeiro with their population of 16635996 or Aargau?", "choices": ["Punjab", "Rio de Janeiro", "Podlaskie Voivodeship", "Upper Austria", "Lublin Voivodeship", "New South Wales", "England", "Aargau", "Chiapas", "Minas Gerais"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rio de Janeiro"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "16635996", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Aargau"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rio de Janeiro\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"16635996\"^^xsd:double . } UNION { ?e <pred:name> \"Aargau\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rio de Janeiro"}, {"question": "Between The Cardinal, released in Finland, or Conspiracy Theory, which is longer?", "choices": ["Conspiracy Theory", "A Prairie Home Companion", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "The Fifth Element", "Rebecca", "Talk to Her", "The Towering Inferno", "The Cardinal", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cardinal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Conspiracy Theory"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Cardinal\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Finland\" .   } UNION { ?e <pred:name> \"Conspiracy Theory\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Cardinal"}, {"question": "What is the relationship between Alfred Newman (the one that has the occupation of judge) and politician?", "choices": ["place of burial", "Wikidata property", "appointed by", "is a list of", "original film format", "broadcast by", "doctoral student", "update method", "territory overlaps", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["judge"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alfred Newman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alfred Newman\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"judge\" . ?e_2 <pred:name> \"politician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is a smaller area occupied by Chatham County or by Toledo (INE municipality code 45168)?", "choices": ["Toledo", "San Juan County", "Washoe County", "Orange County", "Cass County", "Lee County", "African Union", "Greene County", "Delaware County", "Kent County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chatham County"]}, {"function": "Find", "dependencies": [], "inputs": ["Toledo"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["INE municipality code", "45168"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chatham County\" . } UNION { ?e <pred:name> \"Toledo\" . ?e <INE_municipality_code> ?pv_1 . ?pv_1 <pred:value> \"45168\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Toledo"}, {"question": "Who has an ISNI of 0000 0000 0071 9841 and is part of the Italian American ethnic group?", "choices": ["Tom Fontana", "Frank Vincent", "Vic Mignogna", "Richard Gere", "Max Fleischer", "Vince Vaughn", "Don DeLillo", "Robert De Niro", "William Henry Harrison", "Selena Gomez"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0071 9841"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Italian American"]}, {"function": "Relate", "dependencies": [3], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 0071 9841\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Italian American\" .  }", "answer": "Frank Vincent"}, {"question": "Is StudioCanal's official website equal to http://www.studiocanal.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["StudioCanal"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.studiocanal.com/"]}], "sparql": "ASK { ?e <pred:name> \"StudioCanal\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.studiocanal.com/\" .  }", "answer": "yes"}, {"question": "Which has the most area among the Indiana counties whose area is not 380000 square kilometres?", "choices": ["Delaware County", "Shelby County", "Lake County", "Hancock County", "Porter County", "Wayne County", "Monroe County", "Howard County", "Marion County", "Allen County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "380000 square kilometre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"380000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Allen County"}, {"question": "What is the box office of the movie whose official website is http://movies.disney.com/the-parent-trap-1998?", "choices": ["44093316 United States dollar", "119137784 United States dollar", "287500000 United States dollar", "19500000 United States dollar", "4100000 euro", "219000000 United States dollar", "92108518 United States dollar", "90247624 United States dollar", "157150000 United States dollar", "79700000 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://movies.disney.com/the-parent-trap-1998"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://movies.disney.com/the-parent-trap-1998\" . ?e <box_office> ?pv .  }", "answer": "92108518 United States dollar"}, {"question": "What is the publication date for the activity titled Rango?", "choices": ["2009-06-03", "2012-09-24", "2005-12-14", "1962-10-04", "2011-02-17", "1811-01-01", "2004-11-24", "2011-04-28", "2011-03-01", "2010-09-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Rango"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Rango\" . ?e <publication_date> ?pv .  }", "answer": "2011-03-01"}, {"question": "Who is shorter, Christina Aguilera or Patrick Stewart?", "choices": ["Richard Gere", "Simon Cowell", "James E. Reilly", "Rahul Dev Burman", "Patrick Stewart", "Christina Aguilera", "William Henry Harrison", "Paul Simon", "Sylvester Stallone", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christina Aguilera"]}, {"function": "Find", "dependencies": [], "inputs": ["Patrick Stewart"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Christina Aguilera\" .  } UNION { ?e <pred:name> \"Patrick Stewart\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Christina Aguilera"}, {"question": "What is the elevation above sea level of the neighborhood with postal code 91401, 91405, 91406, 91409, 91411?", "choices": ["164 metre", "14411 foot", "4003 foot", "558 foot", "217 metre", "101 metre", "1319 metre", "280 metre", "36 metre", "272 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "91401, 91405, 91406, 91409, 91411"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["neighborhood"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"neighborhood\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"91401, 91405, 91406, 91409, 91411\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "217 metre"}, {"question": "When did Donald M. Payne ( the one that was Vice President of the United States) ended his presidency of the United States?", "choices": ["2015-12-25", "2007-04-23", "1922-09-09", "2010-03-17", "1920-08-10", "2000-12-18", "1903", "1973", "1955", "1981-01-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Donald M. Payne"]}, {"function": "Find", "dependencies": [], "inputs": ["Vice President of the United States"]}, {"function": "Relate", "dependencies": [1], "inputs": ["subject has role", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["president"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["position held", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Donald M. Payne\" . ?e_2 <pred:name> \"president\" . ?e_3 <subject_has_role> ?e_2 . ?e_3 <pred:name> \"Vice President of the United States\" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1973"}, {"question": "Which has more speakers, Persian or Hungarian?", "choices": ["Thai", "Hungarian", "American English", "Columbia Business School", "The Barbarian Invasions", "University of Pennsylvania Law School", "Australian English", "Clive A. Smith", "Persian", "Canadian English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Persian"]}, {"function": "Find", "dependencies": [], "inputs": ["Hungarian"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of speakers", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Persian\" .  } UNION { ?e <pred:name> \"Hungarian\" .  } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Persian"}, {"question": "Is the official website of an English ceremonial county, whose GSS code (2011) is E11000005,  http://www.historyx.com ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["GSS code (2011)", "E11000005"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.historyx.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> \"E11000005\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.historyx.com\" .  }", "answer": "no"}, {"question": "Was Bad Education or Cape Fear, with Illeana Douglas as a cast member, more expensive to make?", "choices": ["Training Day", "Rebecca", "Pleasantville", "The Towering Inferno", "Talk to Her", "Bad Education", "Cape Fear", "The Fifth Element", "A Prairie Home Companion", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bad Education"]}, {"function": "Find", "dependencies": [], "inputs": ["Illeana Douglas"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cape Fear"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bad Education\" .  } UNION { ?e <pred:name> \"Cape Fear\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Illeana Douglas\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cape Fear"}, {"question": "For the county of New York whose FIPS 6-4 (US counties) is 36037, when did its population stand at 59896?", "choices": ["2002-08-14", "2015-06-30", "1932", "1837", "2012-07-01", "1974-01-01", "2002-02-25", "1965-04-13", "2016-07-14", "1997-12-23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "36037"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "59896", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"36037\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"59896\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-07-01"}, {"question": "Tell me which one has more elevation (over sea level), Dubai (which has official website http://www.dm.gov.ae/wps/portal/MyHomeEn) or Patna", "choices": ["Santo Domingo", "Dubai", "Cork", "Patna", "Kilkenny", "Trieste", "Abidjan", "Chihuahua", "Kingston", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dubai"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.dm.gov.ae/wps/portal/MyHomeEn"]}, {"function": "Find", "dependencies": [], "inputs": ["Patna"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dubai\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.dm.gov.ae/wps/portal/MyHomeEn\" . } UNION { ?e <pred:name> \"Patna\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Patna"}, {"question": "Ben Johnson, born on 1858-05-20, has what relationship to English?", "choices": ["location of final assembly", "statistical leader", "languages spoken, written or signed", "has immediate cause", "dedicated to", "candidate", "based on", "seed team", "partner", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Johnson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1858-05-20", "="]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ben Johnson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1858-05-20\"^^xsd:date . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "languages spoken, written or signed"}, {"question": "Was a baseball team, whose Instagram username is raysbaseball, established in a year other than 1967 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "raysbaseball"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1967", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"raysbaseball\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1967 ) .  }", "answer": "yes"}, {"question": "How many democracies are there with the basic government form of republic are there with an uneployment rate not equal to 5 percent?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["basic form of government", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["unemployment rate", "5 percentage", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["democracy"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <basic_form_of_government> ?e_1 . ?e_1 <pred:name> \"republic\" .  ?e <unemployment_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5\"^^xsd:double ) .  }", "answer": "2"}, {"question": "What is the connection between The Missing (the one whose Twitter username is TheMissingSTARZ) to BBC One?", "choices": ["godparent", "subsidiary", "public holiday", "official color", "medical condition", "fictional universe described in", "sports season of league or competition", "main subject", "original network", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Missing"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "TheMissingSTARZ"]}, {"function": "Find", "dependencies": [], "inputs": ["BBC One"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Missing\" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> \"TheMissingSTARZ\" . ?e_2 <pred:name> \"BBC One\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "What fictional person created by Sylvester Stallone was not born in 1943?", "choices": ["Michael Dobson", "Walter Skinner", "Ridge Forrester", "Rocky Balboa", "Stephen Colbert", "Tarzan", "Forrest Gump", "Oz", "Doctor Eggman", "Jack Abbott"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1943", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional human"]}, {"function": "Find", "dependencies": [], "inputs": ["Sylvester Stallone"]}, {"function": "Relate", "dependencies": [3], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1943 ) . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Sylvester Stallone\" .  }", "answer": "Rocky Balboa"}, {"question": "What is the subject of the statement that film Lilo & Stitch was nominated for an Academy Award for Best Animated Feature?", "choices": ["75th Academy Awards", "Colombia\u2013India relations", "27th Tony Awards", "Bulgaria\u2013Montenegro relations", "Cuba\u2013Vietnam relations", "90th Academy Awards", "France\u2013Spain relations", "Central African Republic\u2013China relations", "India\u2013Seychelles relations", "Philippines\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lilo & Stitch"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Feature"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lilo & Stitch\" . ?e_2 <pred:name> \"Academy Award for Best Animated Feature\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "75th Academy Awards"}, {"question": "How many democracies have the demonym of \u05e1\u05e8\u05d9 \u05dc\u05e0\u05e7\u05d9\u05ea or the narrative location of For Your Eyes Only (the one whose narrative location is Spain)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u05e1\u05e8\u05d9 \u05dc\u05e0\u05e7\u05d9\u05ea"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["For Your Eyes Only"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["narrative location", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["democracy"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" .  { ?e <demonym> ?pv . ?pv <pred:value> \"\u05e1\u05e8\u05d9 \u05dc\u05e0\u05e7\u05d9\u05ea\" .  } UNION { ?e_1 <narrative_location> ?e . ?e_1 <pred:name> \"For Your Eyes Only\" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> \"Spain\" .  } }", "answer": "2"}, {"question": "Which has a larger pKa, L-alanine or L-Tryptophan?", "choices": ["L-alanine", "cis-oleic acid", "palmitic acid", "sucrose", "L-Tryptophan", "L-Arginine", "L-Leucine", "L-Valine", "capric acid", "thiamine ion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["L-alanine"]}, {"function": "Find", "dependencies": [], "inputs": ["L-Tryptophan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["pKa", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"L-alanine\" .  } UNION { ?e <pred:name> \"L-Tryptophan\" .  } ?e <pKa> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "L-Tryptophan"}, {"question": "What is the native language name of the person known for hardcore?", "choices": ["Ralph Vaughan Williams", "Richard David James", "Richard Thompson", "John Turturro", "William A. Horning", "Mike Leigh", "Suresh Oberoi", "Christine Vachon", "Dolph Lundgren", "Avril Lavigne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["hardcore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"hardcore\" .  ?e <name_in_native_language> ?pv .  }", "answer": "Richard David James"}, {"question": "What is the punk rock whose famous humans is the rock band whose official internet site is http://www.Loslobos.Org/.", "choices": ["mathcore", "thrashcore", "Americana", "Cowpunk", "Christian hardcore", "art punk", "Skate punk", "blues", "post-punk", "heartland rock"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.loslobos.org/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["punk rock"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"punk rock\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"rock band\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.loslobos.org/\" .   }", "answer": "Cowpunk"}, {"question": "Among the mountain ranges with an elevation (above sea level) of greater than 15 feet, which one has the smallest length?", "choices": ["Appalachian Mountains", "Pennine Alps", "Himalayas", "Alps", "The Roots", "Adirondack Mountains", "Blue Ridge Mountains", "Pyrenees", "Cascade Range", "Sierra Nevada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "15 foot", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mountain range"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["length", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mountain range\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"15\"^^xsd:double ) . ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Sierra Nevada"}, {"question": "Does South Africa or Senegal have the lower amount of total reserves?", "choices": ["Russian Soviet Federative Socialist Republic", "Samoa", "South Sudan", "Switzerland", "South Africa", "Senegal", "Cambodia", "Weimar Republic", "Kiribati", "Socialist Federal Republic of Yugoslavia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Africa"]}, {"function": "Find", "dependencies": [], "inputs": ["Senegal"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total reserves", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"South Africa\" .  } UNION { ?e <pred:name> \"Senegal\" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Senegal"}, {"question": "Which TV series is titled Stargate Atlantis?", "choices": ["Mars", "Disney's House of Mouse", "Game of Thrones", "It", "Stargate Atlantis", "Robot Chicken", "Saturday Night's Main Event", "American Horror Story", "Bleak House", "City of Angels"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Stargate Atlantis"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv . ?pv <pred:value> \"Stargate Atlantis\" .  }", "answer": "Stargate Atlantis"}, {"question": "Do the Japanese or the Dutch (whose IAB code is 1146) have the lower number of speakers?", "choices": ["Croatian", "Welsh", "Tamil", "Romanian", "Dutch", "German", "Irish", "Gujarati", "Indonesian", "Scots"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japanese"]}, {"function": "Find", "dependencies": [], "inputs": ["Dutch"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["IAB code", "1146"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of speakers", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Japanese\" . } UNION { ?e <pred:name> \"Dutch\" . ?e <IAB_code> ?pv_1 . ?pv_1 <pred:value> \"1146\" . } ?e <number_of_speakers> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Dutch"}, {"question": "Which individual born as Durante di Alighiero degli Alighieri did not die in 1977?", "choices": ["Sylvester Stallone", "Max Fleischer", "John Wayne", "Warren G. Harding", "Hunter S. Thompson", "Jackie Robinson", "Richard Gere", "William Henry Harrison", "Dante Alighieri", "Charles de Gaulle"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of death", "1977", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["birth name", "Durante di Alighiero degli Alighieri"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Durante di Alighiero degli Alighieri\" .  }", "answer": "Dante Alighieri"}, {"question": "How many National Football League Drafts have a point in time before 2007 or have the official website http://www.nfl.com/draft/history/fulldraft?season=2003?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "2007", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.nfl.com/draft/history/fulldraft?season=2003"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["National Football League Draft"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nfl.com/draft/history/fulldraft?season=2003\" .  } }", "answer": "4"}, {"question": "When did Kenya have an inflation rate of 6.3 percentage?", "choices": ["1957-03-27", "2016-01-01", "1926-01-01", "1994-06-16", "1986-01-01", "2008-10-08", "1870", "1946-12-01", "1930-12-01", "1100"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kenya"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["inflation rate", "6.3 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Kenya\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"6.3\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "What is the connection between Charlie's Angels (the one that has LL Cool J as a cast member) to Leonard Goldberg (the one that is the citizen of United States of America)?", "choices": ["voice actor", "source of material", "parent astronomical body", "official language", "platform", "producer", "award received", "hair color", "exclave of", "occupant"], "program": [{"function": "Find", "dependencies": [], "inputs": ["LL Cool J"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie's Angels"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Leonard Goldberg"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charlie's Angels\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"LL Cool J\" . ?e_2 <pred:name> \"Leonard Goldberg\" . ?e_2 <country_of_citizenship> ?e_4 . ?e_4 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "producer"}, {"question": "What is the relation between Transformers: Revenge of the Fallen (in the action film genre) and the Golden Raspberry Award for Worst Director?", "choices": ["Wikidata property", "sports season of league or competition", "political ideology", "child astronomical body", "nominated for", "set in period", "production designer", "geography of topic", "interested in", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers: Revenge of the Fallen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Director"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Transformers: Revenge of the Fallen\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"action film\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Director\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "How was it determined that Kent County (the one whose area is 2259 square kilometre) has a population of 607707?", "choices": ["demographic balance", "rated voltage", "2016 Australian census", "estimation process", "United Kingdom Census 2011", "de facto", "FIFA World Rankings", "census", "administrative division valid at the time point of history to which the data relates", "extrapolation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kent County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2259 square kilometre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "607707", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Kent County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2259\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"607707\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "tell me the one with the biggest area within the city that has a basin country Croatia", "choices": ["Pacific Palisades", "Caribbean Sea", "James Hetfield", "Adriatic Sea", "English Channel", "Green Bay", "Aegean Sea", "Olympia", "North Sea", "Mediterranean Sea"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["basin country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sea"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sea\" . ?e <basin_country> ?e_1 . ?e_1 <pred:name> \"Croatia\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mediterranean Sea"}, {"question": "When was the video game directed by John G. Avildsen published?", "choices": ["2007-01-11", "1950-01-06", "1987-04-19", "2001-11-02", "2004-07-20", "2005-01-13", "1991-10-24", "2005-06-24", "2002-07-22", "2007-10-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John G. Avildsen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"John G. Avildsen\" .  ?e <publication_date> ?pv .  }", "answer": "1987-04-19"}, {"question": "Does the birth name Joseph Hill Whedon correspond to someone with ISNI # 0000 0000 8136 122X ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8136 122X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Joseph Hill Whedon"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8136 122X\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Joseph Hill Whedon\" .  }", "answer": "no"}, {"question": "Which person has the Instagram username of nickiminaj and the official website of http://mypinkfriday.com?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Max Fleischer", "James E. Reilly", "Nicki Minaj", "Rahul Dev Burman", "David Byrne", "Richard Gere", "Simon Cowell", "Babyface"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "nickiminaj"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://mypinkfriday.com"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"nickiminaj\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://mypinkfriday.com\" .  }", "answer": "Nicki Minaj"}, {"question": "How are Waterford and St. John's related?", "choices": ["next higher rank", "studies", "diaspora", "partner", "located in the administrative territorial entity", "talk show guest", "time period", "signatory", "twinned administrative body", "works in collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waterford"]}, {"function": "Find", "dependencies": [], "inputs": ["St. John's"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Waterford\" . ?e_2 <pred:name> \"St. John's\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "For the big city that shares Wiesbaden's border, what capital equals its twin city?", "choices": ["Prague", "Addis Ababa", "Zagreb", "Beirut", "Haifa", "Baku", "Watford", "Cape Town", "Erfurt", "Chandigarh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wiesbaden"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["capital"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"big city\" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> \"Wiesbaden\" .   }", "answer": "Baku"}, {"question": "What is the population of the city with postal code 4001?", "choices": ["636547", "40788", "6734242", "70508", "595061", "246086", "103549", "9103332", "188332", "823652"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "4001"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"4001\" . ?e <population> ?pv .  }", "answer": "595061"}, {"question": "Is Scots leid the native name of the Grammy Award for Best Rap/Sung Performance?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Rap/Sung Performance"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Scots leid"]}], "sparql": "ASK { ?e <pred:name> \"Grammy Award for Best Rap/Sung Performance\" . ?e <native_label> ?pv . ?pv <pred:value> \"Scots leid\" .  }", "answer": "no"}, {"question": "What visual artwork has Mychael Danna as composer and a title of Capote?", "choices": ["Shattered Glass", "The Fifth Element", "Moneyball", "Life of Pi", "Pleasantville", "Antwone Fisher", "A Prairie Home Companion", "Girl, Interrupted", "Capote", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mychael Danna"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["title", "Capote"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Mychael Danna\" .  ?e <title> ?pv . ?pv <pred:value> \"Capote\" .  }", "answer": "Capote"}, {"question": "Which has a lesser area, Danville (whose area is 44.121019 square kilometres) or Muncie?", "choices": ["Boulder", "Lansing", "Danville", "Compton", "Oakland", "Greenville", "Muncie", "Franklin", "Columbus", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danville"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "44.121019 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Muncie"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Danville\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"44.121019\"^^xsd:double . } UNION { ?e <pred:name> \"Muncie\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Danville"}, {"question": "What is the elevation above sea level of the U.S. city that is the capital of Weber County?", "choices": ["614 foot", "193 metre", "257 metre", "318 metre", "332 metre", "170 metre", "866 foot", "299 metre", "1310 metre", "76 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Weber County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"Weber County\" .  ?e <elevation_above_sea_level> ?pv .  }", "answer": "1310 metre"}, {"question": "Which one is longer, Quest for Fire or Heroes (the one that has Henry Winkler as a cast member) ?", "choices": ["Heroes", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Quest for Fire", "The Towering Inferno", "The Fifth Element", "A Prairie Home Companion", "Rebecca", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Quest for Fire"]}, {"function": "Find", "dependencies": [], "inputs": ["Henry Winkler"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Heroes"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Quest for Fire\" .  } UNION { ?e <pred:name> \"Heroes\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Henry Winkler\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Heroes"}, {"question": "Does the TV series with Pete Postlethwaite in the cast, have the title of Alicia en el pa\u00eds de las maravillas (the place of publication is Spain)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pete Postlethwaite"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["title", "place of publication", "Spain"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Alicia en el pa\u00eds de las maravillas"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Pete Postlethwaite\" .  ?e <title> ?pv . ?pv <pred:value> \"Alicia en el pa\u00eds de las maravillas\" . [ <pred:fact_h> ?e ; <pred:fact_r> <title> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Spain\" .  }", "answer": "yes"}, {"question": "When was the film published that stars Johnny Lever?", "choices": ["1985-01-25", "2003-07-02", "2006-10-26", "2019-07-19", "1998-01-01", "2015-01-09", "1997-01-09", "1998-10-15", "1923-03-28", "1965-09-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johnny Lever"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Johnny Lever\" .  ?e <publication_date> ?pv .  }", "answer": "1998-01-01"}, {"question": "Was the individual with the dedicated website www.rainer-fassbinder.net born in any year except 1969 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.rainer-fassbinder.net/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1969", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.rainer-fassbinder.net/\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1969 ) .  }", "answer": "yes"}, {"question": "How many 3D films released in Ireland whose demonym is \u0456\u0440\u043b\u0430\u043d\u0434\u043a\u0430 or whose official website is http://www.piranha-3d.com/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0456\u0440\u043b\u0430\u043d\u0434\u043a\u0430"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["3D film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["official website", "http://www.piranha-3d.com/"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["3D film"]}, {"function": "Or", "dependencies": [3, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" .  { ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Ireland\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"\u0456\u0440\u043b\u0430\u043d\u0434\u043a\u0430\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.piranha-3d.com/\" .  } }", "answer": "4"}, {"question": "What album was published on 1998-09-22?", "choices": ["Dynasty", "Luis Miguel", "The Velvet Underground", "Tommy", "Kraftwerk", "Queens of the Stone Age", "Hollywood", "Toni Braxton", "Bon Jovi", "The B-52's"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1998-09-22", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["album"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"album\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-09-22\"^^xsd:date .  }", "answer": "Queens of the Stone Age"}, {"question": "Which movie is produced by Brian Grazer and is titled Restless?", "choices": ["Inside Deep Throat", "Robin Hood", "Pleasantville", "Intolerable Cruelty", "Talk to Her", "Psycho", "Frost/Nixon", "Restless", "Rebecca", "Rush"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Restless"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Grazer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"Restless\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Brian Grazer\" .  }", "answer": "Restless"}, {"question": "Is the nominal GDP of Tunisia not equal to 14000000000000 Russian ruble on 2012-01-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tunisia"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["nominal GDP", "point in time", "2012-01-01"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["14000000000000 Russian ruble", "!="]}], "sparql": "ASK { ?e <pred:name> \"Tunisia\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"Russian ruble\" . ?pv <pred:value> ?v . FILTER ( ?v != \"14000000000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-01-01\"^^xsd:date .  }", "answer": "no"}, {"question": "Between Siena or Cairo, population 4219900, which is lower in elevation?", "choices": ["Cork", "Kingston", "Kilkenny", "Chihuahua", "Dundee", "Siena", "Bergen", "Trieste", "Cairo", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Siena"]}, {"function": "Find", "dependencies": [], "inputs": ["Cairo"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "4219900", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Siena\" . } UNION { ?e <pred:name> \"Cairo\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"4219900\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Cairo"}, {"question": "Does science fiction (the one that is the genre of Lost), have its IAB code equal to 652?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lost"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["science fiction"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["IAB code"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["652"]}], "sparql": "ASK { ?e <pred:name> \"science fiction\" . ?e_1 <genre> ?e . ?e_1 <pred:name> \"Lost\" .  ?e <IAB_code> ?pv . ?pv <pred:value> \"652\" .  }", "answer": "yes"}, {"question": "How is Montgomery County (the one whose FIPS 6-4 (US counties) is 42091) related to Chester County?", "choices": ["general manager", "maintained by", "shares border with", "located in time zone", "domain of saint or deity", "has part", "hair color", "field of work", "update method", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42091"]}, {"function": "Find", "dependencies": [], "inputs": ["Chester County"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Montgomery County\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"42091\" . ?e_2 <pred:name> \"Chester County\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "How many awards originate in the United Kingdom or have the official website http://www.pulitzer.org/?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.pulitzer.org/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pulitzer.org/\" .  } }", "answer": "1"}, {"question": "How are Bootsy Collins and bass guitar related?", "choices": ["convicted of", "foundational text", "based on", "diaspora", "position held", "properties for this type", "instrument", "allegiance", "public holiday", "draft pick from school"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bootsy Collins"]}, {"function": "Find", "dependencies": [], "inputs": ["bass guitar"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bootsy Collins\" . ?e_2 <pred:name> \"bass guitar\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "Of ceremonial English counties bordering the Surrey where Epsom is located, which occupies the least area?", "choices": ["Somerset", "Greater London", "Berkshire", "Derbyshire", "Kent", "Hampshire", "Cumbria", "East Sussex", "West Sussex", "Warwickshire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Epsom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Surrey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ceremonial county of England"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Surrey\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Epsom\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Berkshire"}, {"question": "What was Norman Mailer's academic major at Harvard University?", "choices": ["astrophysics", "philosophy", "aerospace engineering", "geology", "sociology", "physical education", "physical chemistry", "mathematics", "music", "Russian literature"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Norman Mailer"]}, {"function": "Find", "dependencies": [], "inputs": ["Harvard University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "academic major"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Norman Mailer\" . ?e_2 <pred:name> \"Harvard University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_major> ?qpv .  }", "answer": "aerospace engineering"}, {"question": "What part of the province of Canada having the capital of Winnipeg has the demonym of Manitobain?", "choices": ["diplomatic recognition", "Northern Region", "masculine", "building", "Dyer County", "Fayette County", "Rhea County", "given name", "Herzegovina", "groin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winnipeg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Canada"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "Manitobain", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Canada\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Winnipeg\" .  ?e <demonym> ?pv . ?pv <pred:value> \"Manitobain\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine"}, {"question": "Which location is relative to Indianapolis that shares a border with Marion County (whose population is 903393)?", "choices": ["north-northwest", "southwest", "south-southwest", "west-northwest", "consolidated city-county", "northeast", "south", "north", "southeast", "northwest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indianapolis"]}, {"function": "Find", "dependencies": [], "inputs": ["Marion County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "903393", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["shares border with", "direction relative to location"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Indianapolis\" . ?e_2 <pred:name> \"Marion County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"903393\"^^xsd:double . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }", "answer": "consolidated city-county"}, {"question": "How many animated characters are either called Jonah Hex in their native language or practice Unitarian Universalism (a religion)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Jonah Hex"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated character"]}, {"function": "Find", "dependencies": [], "inputs": ["Unitarian Universalism"]}, {"function": "Relate", "dependencies": [3], "inputs": ["religion", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated character"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated character\" .  { ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Jonah Hex\" .  } UNION { ?e <religion> ?e_1 . ?e_1 <pred:name> \"Unitarian Universalism\" .  } }", "answer": "1"}, {"question": "Which one has smaller between Jim Brown (the one whose height is 188 centimeters) and Mauricio Pinilla (the one that is a member of Racing de Santander)?", "choices": ["Sylvester Stallone", "Jim Brown", "Rahul Dev Burman", "David Byrne", "Richard Gere", "James E. Reilly", "Simon Cowell", "William Henry Harrison", "Paul Simon", "Mauricio Pinilla"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jim Brown"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "188 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Racing de Santander"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mauricio Pinilla"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jim Brown\" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> \"centimetre\" . ?pv_1 <pred:value> \"188\"^^xsd:double . } UNION { ?e <pred:name> \"Mauricio Pinilla\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Racing de Santander\" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mauricio Pinilla"}, {"question": "Birthplace of Jerry Bruckheimer and home of Wayne State University, Detroit, is in which administrative territorial entity?", "choices": ["Colorado", "Illinois", "Texas", "Michigan", "Louisiana", "Roer", "Ohio", "California", "Utah", "Habsburg Monarchy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Bruckheimer"]}, {"function": "Find", "dependencies": [], "inputs": ["Wayne State University"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Detroit"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jerry Bruckheimer\" . ?e_2 <pred:name> \"Detroit\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Wayne State University\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Michigan"}, {"question": "When did a sovereign state, with its nominal GDP of 8857789705.63763 USD, reach the inflation rate of 7.2 percent?", "choices": ["1981-12-01", "1889-08-12", "2000-01-01", "1710", "1994-12-20", "1832-01-01", "2006-04-01", "2010-02-01", "2007-02-14", "1951"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "8857789705.63763 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["inflation rate", "7.2 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"8857789705.63763\"^^xsd:double . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"7.2\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000-01-01"}, {"question": "For what was The Verdict (whose director is Sidney Lumet) nominated for an Academy Award for Best Writing, Adapted Screenplay?", "choices": ["New Mexico\u2013Oklahoma border", "Japan\u2013Portugal relations", "55th Academy Awards", "Iran\u2013Turkmenistan relations", "Bahrain\u2013United Kingdom relations", "Indonesia\u2013Spain relations", "Ecuador\u2013Russia relations", "Canada\u2013Taiwan relations", "63rd Primetime Emmy Awards", "Italy\u2013Slovenia border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sidney Lumet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Verdict"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Adapted Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Verdict\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Sidney Lumet\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Adapted Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "55th Academy Awards"}, {"question": "What is the series ordinal of Purple Heart (the one whose publication date is 1997-08-08) is a part of Law & Order (the one whose start time is 1990-09-13)?", "choices": ["64", "8", "17", "109", "151", "35", "21", "32", "24", "70"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Purple Heart"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1997-08-08", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Law & Order"]}, {"function": "FilterDate", "dependencies": [2], "inputs": ["start time", "1990-09-13", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["part of the series", "series ordinal"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Purple Heart\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1997-08-08\"^^xsd:date . ?e_2 <pred:name> \"Law & Order\" . ?e_2 <start_time> ?pv_1 . ?pv_1 <pred:date> \"1990-09-13\"^^xsd:date . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }", "answer": "109"}, {"question": "What is the connection between Roy Carroll to association football?", "choices": ["dialect of", "basic form of government", "award disciplines or subjects", "place served by transport hub", "theme music", "derivative work", "parent club", "religion", "sport", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roy Carroll"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Roy Carroll\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How many groups of organisms, known by one particular common name, have a height greater than 5.5 foot and an Iconclass notation of 47I214?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "5.5 foot", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["group of organisms known by one particular common name"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Iconclass notation", "47I214"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["group of organisms known by one particular common name"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"group of organisms known by one particular common name\" . ?e <height> ?pv . ?pv <pred:unit> \"foot\" . ?pv <pred:value> ?v . FILTER ( ?v > \"5.5\"^^xsd:double ) . ?e <Iconclass_notation> ?pv_1 . ?pv_1 <pred:value> \"47I214\" .  }", "answer": "0"}, {"question": "Who was the individual nominee when The Spy Who Loved Me was up for an Academy Award for Best Production Design?", "choices": ["Saint Kitts and Nevis\u2013Taiwan relations", "50th Academy Awards", "China\u2013Syria relations", "Serbia\u2013United States relations", "Lithuania\u2013Romania relations", "Indonesia\u2013Peru relations", "Indonesia\u2013North Korea relations", "Israel\u2013Netherlands relations", "Saudi Arabia\u2013Tunisia relations", "Bosnia and Herzegovina\u2013Montenegro border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Spy Who Loved Me"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Spy Who Loved Me\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Production Design\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "50th Academy Awards"}, {"question": "Which was cheaper to make, Wallace & Gromit: The Curse of the Were-Rabbit (from DreamWorks Animation) or Mary Poppins", "choices": ["National Treasure: Book of Secrets", "Wallace & Gromit: The Curse of the Were-Rabbit", "The Muppets", "Mary Poppins", "Alvin and the Chipmunks: Chipwrecked", "Holes", "Old Dogs", "G-Force", "The Flintstones in Viva Rock Vegas", "John Carter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DreamWorks Animation"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wallace & Gromit: The Curse of the Were-Rabbit"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mary Poppins"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wallace & Gromit: The Curse of the Were-Rabbit\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"DreamWorks Animation\" .   } UNION { ?e <pred:name> \"Mary Poppins\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mary Poppins"}, {"question": "What is the postal code of the University of Western Ontario's headquarters that is located in London (whose population is 366151)?", "choices": ["94595", "01901\u201301905", "1014\u20131015", "N6A 3K7", "27264", "75000\u201378999", "80805", "07050\u201307051", "1800\u20131831", "85010\u201385059"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Western Ontario"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "366151", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Western Ontario\" . ?e_2 <pred:name> \"London\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"366151\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "N6A 3K7"}, {"question": "What is the Munzinger IBA of Kevin Spacey?", "choices": ["00000008393", "00000001039", "00000022469", "00000024832", "00000011369", "00000023042", "00000013753", "00000014251", "00000008338", "00000009679"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kevin Spacey"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kevin Spacey\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000022469"}, {"question": "For 3D movies with a date of publication earlier than 2011, which film's running time is the longest?", "choices": ["Avatar", "Piranha 3D", "Chris Colfer", "Evansville", "Frankenweenie", "Leonard Nimoy", "The Last King of Scotland", "Harry S. Truman", "ParaNorman", "The Smurfs"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2011", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2011 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Avatar"}, {"question": "Which human is the producer of the film whose publication date is 1960-10-24?", "choices": ["Leo McCarey", "John Wayne", "Steve McQueen", "Don Cheadle", "Marianne Faithfull", "Alexander Korda", "John Woo", "Cecil B. DeMille", "Billy Wilder", "Glen Morgan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1960-10-24", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1960-10-24\"^^xsd:date .   }", "answer": "John Wayne"}, {"question": "Was the person active prior to 1977 born in a year excluding 1904?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["floruit", "1977", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1904", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <floruit> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1977 ) . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1904 ) .  }", "answer": "yes"}, {"question": "Is \u0637\u0631\u0627\u0628\u0644\u0633 the official name for Tripoli which is the twinned administrative body of Tashkent?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tashkent"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tripoli"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["\u0637\u0631\u0627\u0628\u0644\u0633"]}], "sparql": "ASK { ?e <pred:name> \"Tripoli\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Tashkent\" .  ?e <official_name> ?pv . ?pv <pred:value> \"\u0637\u0631\u0627\u0628\u0644\u0633\" .  }", "answer": "yes"}, {"question": "Which TV movies are titled The Goodbye Girl?", "choices": ["Dynasty", "The Goodbye Girl", "Aurora", "Spartacus", "Shackleton", "Oliver Twist", "The Sorcerer's Apprentice", "The Three Musketeers", "A Christmas Carol", "Walt Disney"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Goodbye Girl"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <title> ?pv . ?pv <pred:value> \"The Goodbye Girl\" .  }", "answer": "The Goodbye Girl"}, {"question": "What is the time point applicable to the MTV Video Music Award nomination for Best Video from a Film going to Seal, the well-known house music performer?", "choices": ["1917-12-01", "2016-02-29", "2015-02-12", "2011-09-01", "1995-02-14", "2010-08-01", "1918-01-01", "1903-03-02", "1930-12-31", "1995"], "program": [{"function": "Find", "dependencies": [], "inputs": ["house music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Seal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Video from a Film"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Seal\" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> \"house music\" . ?e_2 <pred:name> \"MTV Video Music Award for Best Video from a Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1995"}, {"question": "Who is the person whose Munzinger IBA is 00000001476?", "choices": ["David Lynch", "Adolphe Menjou", "William Henry Harrison", "Richard Gere", "Hermann Hesse", "Bryan Ferry", "Dharmendra", "Sylvester Stallone", "Max Fleischer", "John Cassavetes"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000001476"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000001476\" .  }", "answer": "Adolphe Menjou"}, {"question": "How is the Hamlet with Anthony Hopkins as a cast member related to English?", "choices": ["medical condition", "industry", "significant person", "located on astronomical location", "chief executive officer", "country of origin", "candidacy in election", "drug used for treatment", "original language of film or TV show", "studies"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anthony Hopkins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamlet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hamlet\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Anthony Hopkins\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "When was Entertainment One founded?", "choices": ["1687", "1987", "1958-04-01", "1917-11-22", "1971-03-30", "1889", "1931-12-09", "1911-03-25", "1819-02-20", "1849-10-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Entertainment One"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Entertainment One\" . ?e <inception> ?pv .  }", "answer": "1987"}, {"question": "Where was the work that Tim Chappel received the Academy Award for Best Costume Design published on 1994-11-17?", "choices": ["2005 Cannes Film Festival", "Taormina Film Fest", "Germany", "Sorrento", "Austin", "Denmark", "1949 Cannes Film Festival", "Vietnam", "New York", "Ukraine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["winner", "Tim Chappel"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1994-11-17", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv_1 . ?qpv_1 <pred:value> \"Tim Chappel\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-11-17\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which one has less duration between Hannibal (the one whose end time is 2015-08-29) and Sleepy Hollow (the one created by Alex Kurtzman)?", "choices": ["Sleepy Hollow", "Hannibal", "Phineas and Ferb", "Dancing with the Stars", "Bleak House", "Robot Chicken", "Game of Thrones", "American Horror Story", "Six Feet Under", "Seinfeld"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hannibal"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "2015-08-29", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Alex Kurtzman"]}, {"function": "Relate", "dependencies": [2], "inputs": ["creator", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sleepy Hollow"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hannibal\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"2015-08-29\"^^xsd:date . } UNION { ?e <pred:name> \"Sleepy Hollow\" . ?e <creator> ?e_1 . ?e_1 <pred:name> \"Alex Kurtzman\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Hannibal"}, {"question": "Did Sikkim (the one whose urban population is 153578) originate after 1805?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sikkim"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["urban population", "153578", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1805", ">"]}], "sparql": "ASK { ?e <pred:name> \"Sikkim\" . ?e <urban_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"153578\"^^xsd:double . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1805 ) .  }", "answer": "yes"}, {"question": "I want to know the big city that has the NIS/INS code is 24062", "choices": ["Fort Smith", "Aachen", "Leuven", "Lyon", "Chemnitz", "Bruges", "Koblenz", "Dnipro", "Utrecht", "Halle (Saale)"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NIS/INS code", "24062"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <NIS/INS_code> ?pv . ?pv <pred:value> \"24062\" .  }", "answer": "Leuven"}, {"question": "At what point in time did the city with a NUTS code of NO011 have a population count of 634,463?", "choices": ["1978", "1723-01-01", "1793-02-14", "2018-06-22", "1996-08-28", "2009-12-31", "2015-11-01", "2014-01-01", "1553", "1885"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "NO011"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "634463", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"NO011\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"634463\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "Since when is George Washington, living in New York City, the citizen of USA ?", "choices": ["1776-07-04", "1924-11-01", "2006-09-30", "1993-10-14", "1973-03-26", "1994-12-17", "2011-03-11", "2013-04-08", "1964-01-21", "1964-03-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["country of citizenship", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George Washington\" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> \"New York City\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1776-07-04"}, {"question": "What human settlement sharing a border with Verona, that has a 335 foot elevation above sea level, has the largest population?", "choices": ["Ridgewood", "West Orange", "Whanganui", "Wexford", "Princeton", "Belleville", "Red Bank", "Livingston", "North Hollywood", "Verona"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Verona"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "335 foot", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human settlement"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Verona\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> \"335\"^^xsd:double . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "West Orange"}, {"question": "What is the name of the county of Ireland (the one with a nominal GDP is 99853528653.0311 United States dollars) and whose LAU is IE02406?", "choices": ["County Mayo", "County Roscommon", "County Monaghan", "County Sligo", "County Wexford", "County Kildare", "County Waterford", "County Kerry", "County Dublin", "County Limerick"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ireland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "99853528653.0311 United States dollar", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Ireland"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["LAU", "IE02406"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Ireland"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Ireland\" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"99853528653.0311\"^^xsd:double .  ?e <LAU> ?pv_1 . ?pv_1 <pred:value> \"IE02406\" .  }", "answer": "County Wexford"}, {"question": "What is the connection between Murphy Brown to Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series?", "choices": ["territory overlaps", "political ideology", "parent club", "contributor(s) to the creative work", "substitute/deputy/replacement of office/officeholder", "screenwriter", "nominated for", "airline hub", "cites", "presenter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Murphy Brown"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Murphy Brown\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "How are the Wolverhampton Wanderers F.C. connected to association football?", "choices": ["set in period", "appointed by", "architectural style", "worshipped by", "sport", "position played on team / speciality", "operator", "filming location", "employer", "named after"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wolverhampton Wanderers F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wolverhampton Wanderers F.C.\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How is Doctor Who distributed by the BBC related to Steven Moffat?", "choices": ["follows", "permanent resident of", "parent club", "executive producer", "voice type", "original network", "religion", "office held by head of government", "geographic distribution", "depicted by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Who"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Steven Moffat"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Doctor Who\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"BBC\" . ?e_2 <pred:name> \"Steven Moffat\" . ?e_1 ?p ?e_2 .  }", "answer": "executive producer"}, {"question": "When did Ravi Shankar receive a Grammy Lifetime Achievement Award?", "choices": ["2011-03-09", "1664", "2018-05-17", "1901", "1890-12-01", "1940-06-19", "1787", "2013-02-24", "1769", "2013-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ravi Shankar"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Lifetime Achievement Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Ravi Shankar\" . ?e_2 <pred:name> \"Grammy Lifetime Achievement Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2013-01-01"}, {"question": "Which is longer, Jaws released in West Germany or Glory published on 1956-01-01?", "choices": ["The Fifth Element", "Jaws", "A Prairie Home Companion", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Rebecca", "Pleasantville", "Training Day", "Glory", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jaws"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Glory"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1956-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jaws\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"West Germany\" . } UNION { ?e <pred:name> \"Glory\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1956-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jaws"}, {"question": "What is the connection between The Wings of the Dove (the one that has Elizabeth McGovern as a cast member) to Los Angeles Film Critics Association Award for Best Actress?", "choices": ["stated in", "newspaper format", "nominated for", "country of citizenship", "organisation directed from the office or person", "famous people", "platform", "honorific suffix", "enclave within", "narrative role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth McGovern"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Wings of the Dove"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles Film Critics Association Award for Best Actress"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Wings of the Dove\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Elizabeth McGovern\" . ?e_2 <pred:name> \"Los Angeles Film Critics Association Award for Best Actress\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "What's the title of the film with the official website http://www.historyx.com?", "choices": ["The Santa Clause 3: The Escape Clause", "Jarhead", "American History X", "Transylvania", "The Boondocks", "Christopher Columbus: The Discovery", "Tootsie", "Trainspotting", "\u0412\u0430\u0442\u0435\u0440\u043b\u043e\u043e", "Kentucky"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.historyx.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.historyx.com\" . ?e <title> ?pv .  }", "answer": "American History X"}, {"question": "How is Little Women (the one that has Donal Logue as a cast member) related to New York City ?", "choices": ["after a work by", "military rank", "candidacy in election", "destination point", "narrative location", "legislative body", "tributary", "permanent resident of", "film crew member", "student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Donal Logue"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Little Women"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Little Women\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Donal Logue\" . ?e_2 <pred:name> \"New York City\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "Which administrative territorial entity with the demonym of Pennsylvanian is located in a state of the United States?", "choices": ["Sedgwick County", "Cache County", "Lackawanna County", "Pennsylvania's 12th congressional district", "Somerset County", "Lake Erie", "Greene County", "Chisago County", "Cambria County", "Douglas County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Pennsylvanian"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"Pennsylvanian\" .   }", "answer": "Pennsylvania's 12th congressional district"}, {"question": "Which county is larger in size, Clinton County (the one whose population is 39507) or Cumberland County (the one that is an administrative division of Pennsylvania)?", "choices": ["Bucks County", "Clinton County", "York County", "Fayette County", "Erie County", "Allegheny County", "Westmoreland County", "Cumberland County", "Franklin County", "Warren County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clinton County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "39507", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Pennsylvania"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cumberland County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Clinton County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"39507\"^^xsd:double . } UNION { ?e <pred:name> \"Cumberland County\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Pennsylvania\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Clinton County"}, {"question": "How many animated character are living in Bulgaria?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgaria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated character"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated character\" . ?e <residence> ?e_1 . ?e_1 <pred:name> \"Bulgaria\" .   }", "answer": "0"}, {"question": "Does Mel Gibson (who has ISNI 0000 0001 1474 6266), have a Munzinger IBA of exactly 00000019828?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mel Gibson"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1474 6266"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["00000019828"]}], "sparql": "ASK { ?e <pred:name> \"Mel Gibson\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1474 6266\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000019828\" .  }", "answer": "yes"}, {"question": "What country does Pittsburgh, David O. Selznick's birth place and the narrative location of The Clearing, belong to?", "choices": ["Kazakhstan", "Estonia", "Ontario", "Kingdom of Saxony", "Spain", "United States of America", "Ecuador", "England", "Finland", "West Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David O. Selznick"]}, {"function": "Find", "dependencies": [], "inputs": ["The Clearing"]}, {"function": "Relate", "dependencies": [1], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pittsburgh"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["place of birth", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"David O. Selznick\" . ?e_2 <pred:name> \"Pittsburgh\" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> \"The Clearing\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "How is Wollongong related to New South Wales?", "choices": ["medical condition", "located in the administrative territorial entity", "location", "distribution", "software engine", "member of", "mother", "conflict", "cast member", "film distribute region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wollongong"]}, {"function": "Find", "dependencies": [], "inputs": ["New South Wales"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wollongong\" . ?e_2 <pred:name> \"New South Wales\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "When was the visual artwork The Lives of a Bengal Lancer published?", "choices": ["2001-07-04", "2015-11-26", "1935-01-01", "1998-05-23", "2004-08-05", "2006-03-09", "1994", "1995-10-05", "1995-05-24", "1990-07-12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Lives of a Bengal Lancer"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Lives of a Bengal Lancer\" . ?e <publication_date> ?pv .  }", "answer": "1935-01-01"}, {"question": "Who is it that worked in the period after 1965 with the Twitter username martineofficial?", "choices": ["Babyface", "Sylvester Stallone", "Simon Cowell", "Richard Gere", "David Byrne", "Martine McCutcheon", "William Henry Harrison", "James E. Reilly", "Max Fleischer", "Paul Simon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["work period (start)", "1965", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Twitter username", "martineofficial"]}, {"function": "QFilterNum", "dependencies": [4], "inputs": ["number of subscribers", "105308", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1965 ) . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"martineofficial\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"105308\"^^xsd:double .  }", "answer": "Martine McCutcheon"}, {"question": "What is the gender of 'maghiar\u0103', the demonym of an ethnic group associated with Emeric Pressburger ethnic group ?", "choices": ["019", "masculine", "charles-darwins-200th-birthday", "-277.6 kilojoule per mole", "24560", "female", "feminine", "party identification", "male", "0.005"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emeric Pressburger"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "maghiar\u0103", "sex or gender"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> \"Emeric Pressburger\" .  ?e <demonym> ?pv . ?pv <pred:value> \"maghiar\u0103\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <sex_or_gender> ?qpv .  }", "answer": "feminine"}, {"question": "How many Illinois counties are situated in Illinois (that is the lowest point of the Mississippi River) and share a border with Logan County (that shares a border with Tazewell County)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mississippi River"]}, {"function": "Relate", "dependencies": [0], "inputs": ["lowest point", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Illinois"]}, {"function": "Find", "dependencies": [], "inputs": ["Tazewell County"]}, {"function": "Relate", "dependencies": [6], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Logan County"]}, {"function": "And", "dependencies": [7, 8], "inputs": []}, {"function": "Relate", "dependencies": [9], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [10], "inputs": ["county of Illinois"]}, {"function": "And", "dependencies": [5, 11], "inputs": []}, {"function": "Count", "dependencies": [12], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Illinois\" . ?e_1 <lowest_point> ?e_2 . ?e_2 <pred:name> \"Mississippi River\" .  ?e_3 <shares_border_with> ?e . ?e_3 <pred:name> \"Logan County\" . ?e_4 <shares_border_with> ?e_3 . ?e_4 <pred:name> \"Tazewell County\" .  }", "answer": "3"}, {"question": "Tell me the ISNI of the rock band that is well-known for bubblegum pop.", "choices": ["0000 0001 2141 9407", "0000 0001 1850 7182", "0000 0001 1448 530X", "0000 0000 5937 4219", "0000 0004 0396 9538", "0000 0001 1584 6824", "0000 0001 0676 4720", "0000 0001 1312 9856", "0000 0001 0904 5297", "0000 0001 1470 316X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bubblegum pop"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"bubblegum pop\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 1312 9856"}, {"question": "At what point in time is 324000000 the number of out-of-school children in the world whose population is under 4300000000 in the year 1927?", "choices": ["2004-08-01", "1799-01-01", "2016-01-05", "1940-12-31", "1614", "1900-12-01", "2018-11-14", "2015-12-17", "2006-01-01", "2005-05-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "4300000000", "<"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1927", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["inner planet"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["number of out-of-school children", "324000000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"inner planet\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"4300000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 1927 . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"324000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2006-01-01"}, {"question": "What visual artwork is titled La Lectrice?", "choices": ["Talk to Her", "The Rules of Attraction", "The Reader", "Giuseppe Verdi", "Once Upon a Time in America", "The Rock", "Rebecca", "Howl's Moving Castle", "Speed Racer", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "La Lectrice"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv . ?pv <pred:value> \"La Lectrice\" .  }", "answer": "The Reader"}, {"question": "When did John Cale finish his education at Goldsmiths, University of London?", "choices": ["2001-05-22", "1916-12-05", "1939-05-04", "1963", "1995", "1923-07-06", "2013-09-22", "1817-03-04", "1910", "1909-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Cale"]}, {"function": "Find", "dependencies": [], "inputs": ["Goldsmiths, University of London"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Cale\" . ?e_2 <pred:name> \"Goldsmiths, University of London\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1963"}, {"question": "When was the population of the city that contains Taj Mahal whose heritage designation is UNESCO World  Heritage Site equal to 1585704?", "choices": ["2017-07-06", "1978-01-01", "1975-12-01", "1920", "2020", "2011-01-01", "2012-03-07", "2016-01-29", "2018-03-01", "2018-11-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["UNESCO World Heritage Site"]}, {"function": "Relate", "dependencies": [0], "inputs": ["heritage designation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taj Mahal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["population", "1585704", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Taj Mahal\" . ?e_1 <heritage_designation> ?e_2 . ?e_2 <pred:name> \"UNESCO World Heritage Site\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1585704\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Of dog breeds with a life expectancy other than 13.7 years of age, which has the shortest projected lifespan?", "choices": ["Yorkshire Terrier", "goat", "chicken", "sheep", "Labrador Retriever", "Golden Retriever", "cattle", "German Shepherd dog", "bulldog", "India"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["life expectancy", "13.7 year", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["dog"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["life expectancy", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"dog\" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> \"year\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"13.7\"^^xsd:double ) . ?e <life_expectancy> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "German Shepherd dog"}, {"question": "What is the title of the film published on 1962-12-26?", "choices": ["Tomorrow Never Dies", "How Green Was My Valley", "Driving Miss Daisy", "Mutiny on the Bounty", "On Golden Pond", "Das Parfum \u2013 Die Geschichte eines M\u00f6rders", "The Lady", "Bir Y\u0131ld\u0131z Do\u011fuyor", "The Mask of Zorro", "Zookeeper"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1962-12-26", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1962-12-26\"^^xsd:date . ?e <title> ?pv .  }", "answer": "Mutiny on the Bounty"}, {"question": "How many female given names have the Cologne phonetic code 57 or use the Malayalam language?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Cologne phonetics", "57"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["female given name"]}, {"function": "Find", "dependencies": [], "inputs": ["Malayalam"]}, {"function": "Relate", "dependencies": [3], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["female given name"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"female given name\" .  { ?e <Cologne_phonetics> ?pv . ?pv <pred:value> \"57\" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"Malayalam\" .  } }", "answer": "1"}, {"question": "Was the visual artwork scored at 7.4 out of 10 released on 2017-08-02 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["review score", "7.4/10"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["2017-08-02", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <review_score> ?pv_1 . ?pv_1 <pred:value> \"7.4/10\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2017-08-02\"^^xsd:date .  }", "answer": "no"}, {"question": "By which name is the human, with the IPI name number of 00029827555, and pseudonym of Jule Styne, (the role of this statement is pen name), recorded in a database or mentioned as a contributor of a work?", "choices": ["The David Geffen Company", "BUSH KATE", "MERCER JOHN H", "COLE NAT KING", "JULIA", "STYNE JULE", "NELSON WILLIE", "Walt Disney Productions", "HAENDEL GEORG FRIEDRICH", "Marconi Wireless Telegraph Company of America"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Jule Styne"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["object has role", "pen name"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["IPI name number", "00029827555", "named as"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> \"Jule Styne\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv_1 ] <object_has_role> ?qpv_1 . ?qpv_1 <pred:value> \"pen name\" . ?e <IPI_name_number> ?pv . ?pv <pred:value> \"00029827555\" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }", "answer": "STYNE JULE"}, {"question": "Which criterion is used for wrze\u015bnia, the name of the calendar month that is followed by October?", "choices": ["Criminal Code of Indonesia", "genitive case", "resident population of Greece", "light characteristic", "resident population (i.e. reported in the municipality for permanent residence)", "number of seasons aired", "number of episodes aired", "independence day", "lower bound", "contrast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["October"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["calendar month"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["name", "wrze\u015bnia", "criterion used"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"October\" .  ?e <name> ?pv . ?pv <pred:value> \"wrze\u015bnia\" . [ <pred:fact_h> ?e ; <pred:fact_r> <name> ; <pred:fact_t> ?pv ] <criterion_used> ?qpv .  }", "answer": "genitive case"}, {"question": "What is the connection between The Island (the one whose title is \u041e\u0441\u0442\u0440\u043e\u0432) to drama film?", "choices": ["designed to carry", "sponsor", "screenwriter", "depicted by", "located in or next to body of water", "contributing factor of", "copyright holder", "academic degree", "head of government", "genre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Island"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u041e\u0441\u0442\u0440\u043e\u0432"]}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Island\" . ?e_1 <title> ?pv . ?pv <pred:value> \"\u041e\u0441\u0442\u0440\u043e\u0432\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Who was nominated for an Independent Spirit Award for Best Supporting Male for Chasing Amy?", "choices": ["Charles S. Dutton", "Clark Gregg", "Channing Tatum", "Jason Lee", "Christopher Lloyd", "Richard Gere", "Steve Buscemi", "William Henry Harrison", "Max Fleischer", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Independent Spirit Award for Best Supporting Male"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Chasing Amy"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Independent Spirit Award for Best Supporting Male\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Chasing Amy\" .  }", "answer": "Jason Lee"}, {"question": "What is the size in area of Rockingham County, population 76314?", "choices": ["99.45 square kilometre", "14.811698 square kilometre", "2195 square kilometre", "47.87 square kilometre", "16.3 square kilometre", "12012 square kilometre", "1728 square kilometre", "2210 square kilometre", "12317 square kilometre", "25.359355 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rockingham County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "76314", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Rockingham County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"76314\"^^xsd:double . ?e <area> ?pv .  }", "answer": "2210 square kilometre"}, {"question": "How many subscribers are there for the Twitter username mbsings of the person whose Giphy username is michaelbolton?", "choices": ["258658", "61956", "6643", "99978", "251872", "124408", "1669", "103879", "4389", "527181"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "michaelbolton"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "mbsings", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"michaelbolton\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"mbsings\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "99978"}, {"question": "What is the number of employees of the agent that is the production company of Chungking Express?", "choices": ["5600", "194151", "40", "361270", "566000", "215000", "350", "6500", "634", "3619"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chungking Express"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"Chungking Express\" .  ?e <employees> ?pv .  }", "answer": "40"}, {"question": "For the county in Florida that has the administrative division of Key West and a population of 77482, tell me the determination method of this value.", "choices": ["population projection", "2010 United States Census", "demographic balance", "United Kingdom Census 2011", "resident registration", "FIFA World Rankings", "middle", "lead-lead dating", "Pensky\u2013Martens closed-cup test", "tradition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Key West"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "77482", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Key West\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"77482\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "Who is the narrator of the visual artwork titled La Quatri\u00e8me Dimension?", "choices": ["Matthew Morrison", "Geoffrey Rush", "Laurence Olivier", "Walter Pidgeon", "Burgess Meredith", "Gwen Stefani", "Spencer Tracy", "Levon Helm", "Paul Frees", "Mike Myers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "La Quatri\u00e8me Dimension"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrator", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <narrator> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <title> ?pv . ?pv <pred:value> \"La Quatri\u00e8me Dimension\" .   }", "answer": "Burgess Meredith"}, {"question": "Is the ISNI of US-citizen Andrea Romano 0000 0001 1494 3892 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Andrea Romano"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 1494 3892"]}], "sparql": "ASK { ?e <pred:name> \"Andrea Romano\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1494 3892\" .  }", "answer": "no"}, {"question": "When did Morocco (the one that has a diplomatic relation with Taiwan) become a member of the United Nations?", "choices": ["2014-07-09", "1811-02-13", "1961-09-30", "1987-05-24", "1956-11-12", "1918-10-29", "1929", "1995-04-08", "1861-01-01", "1919-02-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taiwan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Morocco"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Nations"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Morocco\" . ?e_1 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> \"Taiwan\" . ?e_2 <pred:name> \"United Nations\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1956-11-12"}, {"question": "What is the subject of this statement: \"Pinocchio (the one that received National Film Registry) received Academy Award for Best Original Score\"?", "choices": ["Morocco\u2013Pakistan relations", "European Union\u2013Hungary border", "Bolivia\u2013Chile relations", "13th Academy Awards", "Egypt\u2013Libya border", "Democratic Republic of the Congo\u2013Republic of the Congo border", "Eritrea\u2013Israel relations", "Indonesia\u2013Iraq relations", "Maryland\u2013Virginia border", "Kansas\u2013Oklahoma border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Pinocchio"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Pinocchio\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"National Film Registry\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "13th Academy Awards"}, {"question": "How is the docudrama Mars related to Nick Cave?", "choices": ["composer", "airline hub", "practiced by", "performer", "place served by transport hub", "editor", "official symbol", "hair color", "general manager", "sponsor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["docudrama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Nick Cave"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mars\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"docudrama\" . ?e_2 <pred:name> \"Nick Cave\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Which animated feature film released pre-1999 has the longest run-time?", "choices": ["The Lord of the Rings", "A Bug's Life", "The Rescuers", "Pocahontas", "Snow White and the Seven Dwarfs", "The Hunchback of Notre Dame", "Aladdin", "Toy Story", "Peter Pan", "Sailor Moon S: The Movie"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1999", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1999 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Lord of the Rings"}, {"question": "What is the relationship between Canton of Valais and Haute-Savoie?", "choices": ["movement", "instrumentation", "editor", "official language", "designed to carry", "sibling", "shares border with", "killed by", "filming location", "significant event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canton of Valais"]}, {"function": "Find", "dependencies": [], "inputs": ["Haute-Savoie"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Canton of Valais\" . ?e_2 <pred:name> \"Haute-Savoie\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Is the duration less than 238.9 seconds for the visual artwork whose official website is http://www.theflowersofwarmovie.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.theflowersofwarmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["238.9 second", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.theflowersofwarmovie.com/\" . ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v < \"238.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "When did Sydney Airport have 35,991,917 customers?", "choices": ["1942-02-26", "2010-01-01", "2007-11-01", "2007-02-01", "2018-10-25", "2016-01-15", "2011-01-16", "1982-01-01", "2013-07-01", "1821"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sydney Airport"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["patronage", "35991917", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Sydney Airport\" . ?e <patronage> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"35991917\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <patronage> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Which public company has the legal-form of business and is a subsidiary of Sony Interactive Entertainment?", "choices": ["MGM Resorts International", "Bandai Namco Holdings", "Oracle Corporation", "Boeing", "TV5", "Canon Inc.", "public limited company", "Kraft Foods", "Motorola", "Nokia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sony Interactive Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["subsidiary", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "Relate", "dependencies": [2], "inputs": ["legal form", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["public company"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public company\" . ?e_1 <legal_form> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"business\" . ?e_2 <subsidiary> ?e_1 . ?e_2 <pred:name> \"Sony Interactive Entertainment\" .   }", "answer": "public limited company"}, {"question": "Is United Kingdom citizen George Hamilton's height less than 90 millimetres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Hamilton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["height"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["90 millimetre", "<"]}], "sparql": "ASK { ?e <pred:name> \"George Hamilton\" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <height> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"90\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the WOEID of Gwynedd?", "choices": ["2487784", "2459807", "818717", "2515434", "12602221", "15829", "34757", "667931", "30079", "560912"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gwynedd"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["WOEID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Gwynedd\" . ?e <WOEID> ?pv .  }", "answer": "12602221"}, {"question": "Who was born on 1991-11-30?", "choices": ["Hal Smith", "Sylvester Stallone", "Richard Gere", "Yann Tiersen", "Samuel Beckett", "William Henry Harrison", "Steven Van Zandt", "Liam O'Brien", "Max Fleischer", "Jason Momoa"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1991-11-30", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1991-11-30\"^^xsd:date .  }", "answer": "Liam O'Brien"}, {"question": "How many musical instruments are the instrument used by Ry Cooder or have the Hornbostel-Sachs classification 111.242.111?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ry Cooder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical instrument"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Hornbostel-Sachs classification", "111.242.111"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical instrument\" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Ry Cooder\" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"111.242.111\" .  } }", "answer": "2"}, {"question": "Which costed more, the Croatian release of Bolt or The Help with Emma Stone?", "choices": ["Anastasia", "A Christmas Carol", "My-HiME", "Code Geass", "Bolt", "The Polar Express", "Superman", "The Help", "Ponyo on the Cliff by the Sea", "Wonder Woman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Croatia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bolt"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Emma Stone"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Help"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bolt\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Croatia\" .   } UNION { ?e <pred:name> \"The Help\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Emma Stone\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bolt"}, {"question": "When was the death of the 1915 Nobel Prize nominee in Physiology or Medicine?", "choices": ["1939-09-23", "1990-05-16", "2011-12-15", "1987-08-17", "1983-01-01", "1986-10-11", "2017-01-28", "1988-09-01", "1993-08-19", "2003-04-26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nobel Prize in Physiology or Medicine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1915-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Nobel Prize in Physiology or Medicine\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1915-01-01\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1939-09-23"}, {"question": "Which one has short equity, JPMorgan Chase or AT&T?", "choices": ["Sega", "KLM", "JPMorgan Chase", "Entertainment One", "Adobe Inc.", "AT&T", "McDonald's", "Pfizer", "Silver Pictures", "Vodafone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["JPMorgan Chase"]}, {"function": "Find", "dependencies": [], "inputs": ["AT&T"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total equity", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"JPMorgan Chase\" .  } UNION { ?e <pred:name> \"AT&T\" .  } ?e <total_equity> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "AT&T"}, {"question": "Was Thomas Brodie-Sangster born after 1981?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Brodie-Sangster"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1981", ">"]}], "sparql": "ASK { ?e <pred:name> \"Thomas Brodie-Sangster\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1981 ) .  }", "answer": "yes"}, {"question": "what is the relationship between Emily Mortimer and Atheism", "choices": ["position held", "honorific suffix", "airline hub", "registered with", "family", "publisher", "production company", "health specialty", "narrative location", "religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emily Mortimer"]}, {"function": "Find", "dependencies": [], "inputs": ["atheism"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Emily Mortimer\" . ?e_2 <pred:name> \"atheism\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "How long is the movie published on 2009-03-06 (the place of publication of this statement is United Kingdom)?", "choices": ["133 minute", "136 minute", "177 minute", "71 minute", "105 minute", "84 minute", "155 minute", "2240 second", "190 minute", "153 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-03-06", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "United Kingdom"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2009-03-06\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United Kingdom\" . ?e <duration> ?pv .  }", "answer": "105 minute"}, {"question": "What is the public office represented by the website of http://www.state.nj.us/governor/?", "choices": ["Governor of New York", "attorney general", "Governor of Kentucky", "Governor of Texas", "Governor of New Jersey", "Golden Gate Bridge", "Governor of Massachusetts", "mayor", "Natalie Portman", "Pride & Prejudice"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.state.nj.us/governor/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["public office"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public office\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.state.nj.us/governor/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Governor of New Jersey"}, {"question": "Is the staff count of Seton Hall University other than 600?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seton Hall University"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["employees"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["600", "!="]}], "sparql": "ASK { ?e <pred:name> \"Seton Hall University\" . ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"600\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which area has higher elevation above sea level, Utica or Buffalo?", "choices": ["Long Beach", "Buffalo", "Utica", "Glens Falls", "Yonkers", "Glen Cove", "White Plains", "Elmira", "Troy", "Auburn"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Utica"]}, {"function": "Find", "dependencies": [], "inputs": ["Buffalo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Utica\" .  } UNION { ?e <pred:name> \"Buffalo\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Buffalo"}, {"question": "Does Neve Campbell's children equal 1.0 sons?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Neve Campbell"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["1.0 son", "="]}], "sparql": "ASK { ?e <pred:name> \"Neve Campbell\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"son\" . ?pv <pred:value> \"1.0\"^^xsd:double .  }", "answer": "no"}, {"question": "What is the number of cable channels whose Snapchat username is mtv?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Snapchat username", "mtv"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["cable channel"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"cable channel\" . ?e <Snapchat_username> ?pv . ?pv <pred:value> \"mtv\" .  }", "answer": "1"}, {"question": "Before the Devil Knows You're Dead has what link to Aleksa Palladino?", "choices": ["sibling", "candidacy in election", "game mode", "used by", "studies", "subject has role", "cast member", "applies to jurisdiction", "official residence", "nominated for"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Before the Devil Knows You're Dead"]}, {"function": "Find", "dependencies": [], "inputs": ["Aleksa Palladino"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Before the Devil Knows You're Dead\" . ?e_2 <pred:name> \"Aleksa Palladino\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What animated situation comedy series has the highest count of episodes?", "choices": ["Robot Chicken", "The Simpsons", "Tiny Toon Adventures", "The Flintstones", "Aladdin", "The Cleveland Show", "South Park", "American Dad!", "King of the Hill", "Batman Beyond"], "program": [{"function": "Find", "dependencies": [], "inputs": ["situation comedy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated series\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"situation comedy\" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Simpsons"}, {"question": "Does Teton County or Washoe County occupy a smaller area?", "choices": ["San Juan County", "Cass County", "African Union", "Orange County", "Kent County", "Delaware County", "Teton County", "United States Virgin Islands", "Lee County", "Washoe County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Teton County"]}, {"function": "Find", "dependencies": [], "inputs": ["Washoe County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Teton County\" .  } UNION { ?e <pred:name> \"Washoe County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Teton County"}, {"question": "Does Acadia University or City College of New York have fewer students?", "choices": ["Acadia University", "Imperial College London", "University of Manchester", "McNeese State University", "Pennsylvania State University", "King's College London", "City College of New York", "University of Tehran", "Panjab University", "McMaster University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Acadia University"]}, {"function": "Find", "dependencies": [], "inputs": ["City College of New York"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Acadia University\" .  } UNION { ?e <pred:name> \"City College of New York\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Acadia University"}, {"question": "Which Biografisch Portaal number designates the person with Regensburg Classification identifier HK 3170?", "choices": ["32545490", "56419968", "36590508", "10016201", "55397934", "04192516", "72234672", "17901932", "24522063", "93625018"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Regensburg Classification", "HK 3170"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Biografisch Portaal number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Regensburg_Classification> ?pv_1 . ?pv_1 <pred:value> \"HK 3170\" . ?e <Biografisch_Portaal_number> ?pv .  }", "answer": "36590508"}, {"question": "Is the duration of the feature film whose producer is Kevin Costner not equal to 4000 seconds?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kevin Costner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["4000 second", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Kevin Costner\" .  ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v != \"4000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the relationship between Miracle on 34th Street (the one whose publication date is 1973-01-01) to Jane Alexander (the one that was nominated for Academy Award for Best Actress)?", "choices": ["award disciplines or subjects", "start point", "member of", "librettist", "broadcast by", "theme music", "cast member", "mountain range", "main food source", "located on astronomical location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Miracle on 34th Street"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1973-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jane Alexander"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Miracle on 34th Street\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1973-01-01\"^^xsd:date . ?e_2 <pred:name> \"Jane Alexander\" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Actress\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What relation does Alexandre Dumas (born 1802-07-24) have to the 1969 publishing of The Three Musketeers?", "choices": ["season starts", "student of", "country", "contains settlement", "after a work by", "official color", "dissertation submitted to", "award disciplines or subjects", "industry", "talk show guest"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1969", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandre Dumas"]}, {"function": "FilterDate", "dependencies": [2], "inputs": ["date of birth", "1802-07-24", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Three Musketeers\" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1969 . ?e_2 <pred:name> \"Alexandre Dumas\" . ?e_2 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1802-07-24\"^^xsd:date . ?e_1 ?p ?e_2 .  }", "answer": "after a work by"}, {"question": "What is the official name of the arts festival which was founded before 1934?", "choices": ["St. Sidwell's United", "Santa Clara", "Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia", "T\u00e2n Gia Ba", "\u00c5bo", "Empoli Football Club SpA", "Zw\u011bzkowa republika Nimska", "\u0424\u041a \u041b\u0438\u0442\u0435\u043a\u0441", "Jamhuri ya Kenya", "Scottsdale"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1934", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["arts festival"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"arts festival\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1934 ) . ?e <official_name> ?pv .  }", "answer": "Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia"}, {"question": "Who was the individual winner of the Academy Award for Best Picture on 2014-03-02?", "choices": ["Richard Gere", "Arthur Freed", "Peter Jackson", "Sylvester Stallone", "Bruce Cohen", "Cate Blanchett", "William Henry Harrison", "Steve McQueen", "Max Fleischer", "Clint Eastwood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "2014-03-02", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2014-03-02\"^^xsd:date .  }", "answer": "Steve McQueen"}, {"question": "What television series has more than 5 seasons and stars Barbara Stanwyck?", "choices": ["Dynasty", "Game of Thrones", "Search for Tomorrow", "Bleak House", "American Masters", "Robot Chicken", "Star Trek: Deep Space Nine", "Everybody Loves Raymond", "American Horror Story", "The Edge of Night"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "5", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Find", "dependencies": [], "inputs": ["Barbara Stanwyck"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"5\"^^xsd:double ) . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Barbara Stanwyck\" .  }", "answer": "Dynasty"}, {"question": "Was the birth city of Damian Marley founded prior to 1928 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Damian Marley"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1928", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Damian Marley\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1928 ) .  }", "answer": "yes"}, {"question": "How many secondary schools did either Imelda Staunton attend or works in the performing arts?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Imelda Staunton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "Find", "dependencies": [], "inputs": ["performing arts"]}, {"function": "Relate", "dependencies": [3], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["secondary school"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" .  { ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Imelda Staunton\" .  } UNION { ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"performing arts\" .  } }", "answer": "2"}, {"question": "What is the ISNI of the person who was a best supporting actor nominee from the National Society of Film Critics for the award-winning project A History of Violence?", "choices": ["0000 0001 2174 7048", "0000 0001 1681 4242", "0000 0000 8214 3494", "0000 0001 0454 4791", "0000 0004 0464 3994", "0000 0004 0381 7059", "0000 0001 2359 1198", "0000 0001 2142 1558", "0000 0001 2165 9435", "0000 0001 1490 480X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "A History of Violence"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"National Society of Film Critics Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"A History of Violence\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2142 1558"}, {"question": "When did John Wood who was killed in action end his membership with Manchester City F.C.?", "choices": ["1907", "2011-05-10", "1999-01-03", "1992-01-17", "1955-12-14", "1770", "2011-03-03", "2008-05-19", "1998-07-03", "1927-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["killed in action"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Wood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Manchester City F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Wood\" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> \"killed in action\" . ?e_2 <pred:name> \"Manchester City F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1907"}, {"question": "Which area is larger, Morris County or Atlantic County?", "choices": ["Monmouth County", "Gloucester County", "Cumberland County", "Essex County", "Hudson County", "Passaic County", "Morris County", "Burlington County", "Atlantic County", "Hunterdon County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Morris County"]}, {"function": "Find", "dependencies": [], "inputs": ["Atlantic County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Morris County\" .  } UNION { ?e <pred:name> \"Atlantic County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Atlantic County"}, {"question": "What is the street address of  Brooklyn (the one that is the birthplace of The Notorious B.I.G.), where Michael Dobson (the one that is the citizen of United States of America) lives?", "choices": ["5151 State University Dr, Los Angeles, CA, 90032", "E 502 Boone Ave, Spokane, WA, 99258-0001", "New Cross", "830 Westview Dr SW", "3201 Burton Street SE, Grand Rapids, MI, 49546", "St. Aldates Street", "Kaj Zartows Vej 5", "Piazza Leonardo da Vinci, 32", "700 College St, Beloit, WI, 53511-5595", "754 Greene Street"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Dobson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Notorious B.I.G."]}, {"function": "Relate", "dependencies": [4], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brooklyn"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["residence", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Michael Dobson\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Brooklyn\" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> \"The Notorious B.I.G.\" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "754 Greene Street"}, {"question": "Which Primetime Emmy Award ceremony was received by James Burrows?", "choices": ["52nd Primetime Emmy Awards", "63rd Primetime Emmy Awards", "60th Primetime Emmy Awards", "55th Primetime Emmy Awards", "64th Primetime Emmy Awards", "54th Primetime Emmy Awards", "61st Primetime Emmy Awards", "Primetime Emmy Award", "57th Primetime Emmy Awards", "56th Primetime Emmy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Burrows"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award annual ceremony"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award annual ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"James Burrows\" .   }", "answer": "52nd Primetime Emmy Awards"}, {"question": "Which United States city is an administrative division of Hillsborough County (which shares a border with Merrimack County) and is the twinned administrative body of Mysore (starting in 2016)?", "choices": ["Boulder", "Oakland", "Compton", "New Haven", "Franklin", "New Britain", "Lansing", "Columbus", "Waukegan", "Nashua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Merrimack County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hillsborough County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of the United States"]}, {"function": "Find", "dependencies": [], "inputs": ["Mysore"]}, {"function": "Relate", "dependencies": [6], "inputs": ["twinned administrative body", "forward"]}, {"function": "QFilterYear", "dependencies": [7], "inputs": ["start time", "2016", "="]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [5, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Hillsborough County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Merrimack County\" .  ?e_3 <twinned_administrative_body> ?e . ?e_3 <pred:name> \"Mysore\" . [ <pred:fact_h> ?e_3 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 2016 .  }", "answer": "Nashua"}, {"question": "What is the relationship between Stargate SG-1 and Beau Bridges?", "choices": ["uses", "has part", "field of work", "highest judicial authority", "notable people with this condition", "located in the administrative territorial entity", "taxon rank", "cast member", "occupation", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stargate SG-1"]}, {"function": "Find", "dependencies": [], "inputs": ["Beau Bridges"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Stargate SG-1\" . ?e_2 <pred:name> \"Beau Bridges\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What language is associated with the official website http://www.lakeshoreentertainment.com for Lakeshore Entertainment?", "choices": ["Afrikaans", "Lower Sorbian", "English", "Bashkir", "Canadian English", "Luxembourgish", "Ukrainian", "Italian", "\u01c0Xam language", "Chinese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lakeshore Entertainment"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.lakeshoreentertainment.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Lakeshore Entertainment\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lakeshoreentertainment.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which one, Nickelodeon (the one whose script is written by Peter Bogdanovich) or Wonder Boys, has less duration?", "choices": ["Training Day", "The Towering Inferno", "Rebecca", "The Hunchback of Notre Dame", "Pleasantville", "Talk to Her", "Wonder Boys", "A Prairie Home Companion", "Nickelodeon", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Bogdanovich"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Nickelodeon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wonder Boys"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nickelodeon\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Peter Bogdanovich\" .   } UNION { ?e <pred:name> \"Wonder Boys\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wonder Boys"}, {"question": "What United States City had a population of 47723 on 2010-01-01 and has the postal codes 71301-03, 06\u201307, 09, 11, 15?", "choices": ["Oakland", "Greenville", "Compton", "Lansing", "New Haven", "New Britain", "Franklin", "Columbus", "Alexandria", "Waukegan"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "71301-03, 06\u201307, 09, 11, 15"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "47723", "="]}, {"function": "QFilterDate", "dependencies": [4], "inputs": ["point in time", "2010-01-01", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["city of the United States"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv . ?pv <pred:value> \"71301-03, 06\u201307, 09, 11, 15\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"47723\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"2010-01-01\"^^xsd:date .  }", "answer": "Alexandria"}, {"question": "What is the street address of the higher education institution whose postal code is 93740?", "choices": ["128 N. Broad Street, Philadelphia, PA, 19102-1510", "701 S. Nedderman Dr.", "120 Madison Ave, New York, NY, 10016", "Marylebone Road", "5241 N Maple Ave, Fresno, CA, 93740", "1 & 3 Urquhart Square", "160 Convent Avenue", "170 West Tasman Dr.", "Norwich Research Park", "Kirkeb\u00e6kvej 94"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "93740"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"93740\" . ?e <located_at_street_address_(DEPRECATED)> ?pv .  }", "answer": "5241 N Maple Ave, Fresno, CA, 93740"}, {"question": "Who is taller, Houssine Kharja or Bruce Campbell, who is involved with American football?", "choices": ["William Henry Harrison", "Bruce Campbell", "Sylvester Stallone", "Rahul Dev Burman", "David Byrne", "Richard Gere", "Paul Simon", "Houssine Kharja", "Simon Cowell", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Houssine Kharja"]}, {"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [1], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bruce Campbell"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Houssine Kharja\" .  } UNION { ?e <pred:name> \"Bruce Campbell\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"American football\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bruce Campbell"}, {"question": "When was The Singing Detective (featuring Michael Gambon in the cast) nominated for a British Academy Television Award for Best Actress?", "choices": ["1836-03-03", "2016-03-15", "1858-12-01", "2000", "1900-12-31", "1987", "1998-05-20", "1974", "2017-09-05", "1996-02-18"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Gambon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Singing Detective"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["British Academy Television Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Singing Detective\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Michael Gambon\" . ?e_2 <pred:name> \"British Academy Television Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1987"}, {"question": "What language is associated with the official website http://www.giants.com for the American football team whose Twitter username is giants?", "choices": ["Yaqui", "Galician", "Corsican", "German", "Thai", "Atikamekw", "Danish", "English", "Hindi", "Swedish"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "giants"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.giants.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"giants\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.giants.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did Grenada have 3580 out-of-school children?", "choices": ["1957-12-01", "1996-02-18", "1946-12-01", "1930-12-01", "2005-01-01", "2009-07-01", "1997-01-01", "1893-01-01", "1902-01-01", "1991-12-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grenada"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["number of out-of-school children", "3580", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Grenada\" . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3580\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2005-01-01"}, {"question": "Does the Fantastic Four (the one that was nominated for MTV Movie Award for Best On-Screen Duo) or Alien (the one whose regional debut venue is Toronto International Film Festival) have the greater duration?", "choices": ["Rebecca", "Training Day", "The Fifth Element", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Alien", "Talk to Her", "Pleasantville", "Fantastic Four", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best On-Screen Duo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fantastic Four"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Toronto International Film Festival"]}, {"function": "Relate", "dependencies": [4], "inputs": ["film regional debut venue", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alien"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fantastic Four\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"MTV Movie Award for Best On-Screen Duo\" .   } UNION { ?e <pred:name> \"Alien\" . ?e <film_regional_debut_venue> ?e_2 . ?e_2 <pred:name> \"Toronto International Film Festival\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Alien"}, {"question": "Is Chris Wood's (the one that is a member of Boston United F.C.), birth date after 1735?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Wood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1735", ">"]}], "sparql": "ASK { ?e <pred:name> \"Chris Wood\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Boston United F.C.\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1735 ) .  }", "answer": "yes"}, {"question": "What is the name in native language of the person whose ISNI is 0000 0001 2118 8258?", "choices": ["Reese Witherspoon", "David Llewelyn Wark Griffith", "Demi Moore", "Juan Mata", "John Cassavetes", "Michel Colombier", "Oscar Hammerstein II", "Fred Frith", "Hugh Grant", "Al Franken"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2118 8258"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2118 8258\" . ?e <name_in_native_language> ?pv .  }", "answer": "Michel Colombier"}, {"question": "For influenza, to what relation type does UMLS CUI C0021400 map?", "choices": ["broad match", "3022", "close match", "9999", "northeast", "Washington", "narrow match", "01081", "resignation", "exact match"], "program": [{"function": "Find", "dependencies": [], "inputs": ["influenza"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["UMLS CUI", "C0021400", "mapping relation type"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"influenza\" . ?e <UMLS_CUI> ?pv . ?pv <pred:value> \"C0021400\" . [ <pred:fact_h> ?e ; <pred:fact_r> <UMLS_CUI> ; <pred:fact_t> ?pv ] <mapping_relation_type> ?qpv .  }", "answer": "close match"}, {"question": "Tell me the one with the biggest area within the New York County that has a population not equal to 19000000", "choices": ["Nassau County", "Onondaga County", "Oneida County", "Livingston County", "St. Lawrence County", "Sullivan County", "Fulton County", "Herkimer County", "Albany County", "Genesee County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "19000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"19000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "Who is the spouse of the person having Deutsche Synchronkartei actor-ID as 16310?", "choices": ["George Sanders", "Hayden Christensen", "Jason Robards", "Naomi Watts", "Kay Cannon", "Elton John", "Idris Elba", "Gabriel Byrne", "Thomas Mann", "Katy Perry"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID", "16310"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["spouse", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Deutsche_Synchronkartei_actor-ID> ?pv . ?pv <pred:value> \"16310\" .   }", "answer": "George Sanders"}, {"question": "Is Dave Goelz's ISNI 0000 0000 7783 3239?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dave Goelz"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 7783 3239"]}], "sparql": "ASK { ?e <pred:name> \"Dave Goelz\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7783 3239\" .  }", "answer": "yes"}, {"question": "How was a ranking of 90 established for Guyana's national football team?", "choices": ["Pensky\u2013Martens closed-cup test", "middle", "de facto", "Census", "Address Based Population Registration System", "Yemen General Census of Population, Housing and Establishments 2004", "2000 United States Census", "Taqdir", "Russian Empire Census", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guyana national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "90", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Guyana national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"90\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "Among the county of Massachusetts that shares border with Suffolk County that has the capital Boston, Which has the largest area?", "choices": ["Franklin County", "Worcester County", "Bristol County", "Berkshire County", "Hampshire County", "Norfolk County", "Suffolk County", "Middlesex County", "Barnstable County", "Plymouth County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Suffolk County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Suffolk County\" . ?e_2 <capital_of> ?e_1 . ?e_2 <pred:name> \"Boston\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Middlesex County"}, {"question": "The Newberry Medal is the native label of which literary award?", "choices": ["Michael L. Printz Award", "Hugo Award for Best Short Story", "International IMPAC Dublin Literary Award", "Caldecott Medal", "Neustadt International Prize for Literature", "Newbery Medal", "Kate Greenaway Medal", "Hugo Award for Best Novelette", "John W. Campbell Memorial Award for Best Science Fiction Novel", "John W. Campbell Award for Best New Writer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Newbery Medal"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary award"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary award\" . ?e <native_label> ?pv . ?pv <pred:value> \"Newbery Medal\" .  }", "answer": "Newbery Medal"}, {"question": "What is the connection between Tommy (the one whose script is wrote by Ken Russell) to United Kingdom?", "choices": ["captain", "country of origin", "home world", "affiliation", "takes place in fictional universe", "place of burial", "organizer", "place of origin (Switzerland)", "position played on team / speciality", "languages spoken, written or signed"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ken Russell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tommy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tommy\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Ken Russell\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "Regarding counties of California with the population different from 440000000, which one is the smallest by area ?", "choices": ["Tulare County", "San Bernardino County", "Calaveras County", "Kern County", "Monterey County", "Los Angeles County", "San Joaquin County", "San Luis Obispo County", "Napa County", "Santa Cruz County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "440000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"440000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Which person received the 14th Screen Actors Guild Awards and has the ISNI of 0000 0001 1064 8984?", "choices": ["James Gandolfini", "Kelly Macdonald", "Max Fleischer", "William Henry Harrison", "David Byrne", "Edie Falco", "Sylvester Stallone", "Julie Christie", "Steve Schirripa", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["14th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1064 8984"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"14th Screen Actors Guild Awards\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1064 8984\" .  }", "answer": "Edie Falco"}, {"question": "What is the Instagram handle for the association football squad whose official name is Swansea City Association Football Club?", "choices": ["missjudygreer", "abcmodernfam", "urmilamatondkarofficial", "nuclearblasteurope", "fueledby", "swansofficial", "evamendes", "ajaxct", "microsoft", "nbctv"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Swansea City Association Football Club"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Swansea City Association Football Club\" . ?e <Instagram_username> ?pv .  }", "answer": "swansofficial"}, {"question": "Is the inflation rate less than 3200 percent as of 2003-01-01 for the constitutional monarchy that is the filming location of The Phantom (produced by Village Roadshow Pictures)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Village Roadshow Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["constitutional monarchy"]}, {"function": "QueryAttrUnderCondition", "dependencies": [5], "inputs": ["inflation rate", "point in time", "2003-01-01"]}, {"function": "VerifyNum", "dependencies": [6], "inputs": ["3200 percentage", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"The Phantom\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"Village Roadshow Pictures\" .  ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"3200\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2003-01-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "What is the relationship between Weber State University and Utah, which is part of the continguous United States?", "choices": ["director", "noble title", "lowest point", "season starts", "located in the administrative territorial entity", "influenced by", "chairperson", "place of publication", "time period", "architect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Weber State University"]}, {"function": "Find", "dependencies": [], "inputs": ["contiguous United States"]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Utah"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Weber State University\" . ?e_2 <pred:name> \"Utah\" . ?e_2 <part_of> ?e_3 . ?e_3 <pred:name> \"contiguous United States\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What number of bands are set up in Dublin?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dublin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Dublin\" .   }", "answer": "2"}, {"question": "What is the connection between John Oliver (the one whose ISNI is 0000 0000 8055 5364) to bishop?", "choices": ["organizer", "properties for this type", "edition or translation of", "convicted of", "studies", "set in period", "famous people", "position held", "eye color", "narrative location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Oliver"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8055 5364"]}, {"function": "Find", "dependencies": [], "inputs": ["bishop"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Oliver\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8055 5364\" . ?e_2 <pred:name> \"bishop\" . ?e_1 ?p ?e_2 .  }", "answer": "position held"}, {"question": "What work was produced by Bob Hoskins?", "choices": ["The Music Man", "Magic Mike", "A Prairie Home Companion", "Veer-Zaara", "Fair Game", "Pleasantville", "Interview with the Vampire", "Rebecca", "Mrs Henderson Presents", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Hoskins"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Bob Hoskins\" .   }", "answer": "Mrs Henderson Presents"}, {"question": "Which university was the person with Munzinger IBA 00000021704 educated at?", "choices": ["University of London", "Northwestern University", "Rensselaer Polytechnic Institute", "California State University, Sacramento", "University of Detroit Mercy", "Fordham University", "Lincoln University", "Macquarie University", "Columbia University", "Middlesex University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000021704"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["university"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000021704\" .   }", "answer": "Rensselaer Polytechnic Institute"}, {"question": "How is Nokia, population 29740, related to Nokia with a market cap. value of 14300000000 USD?", "choices": ["home port", "notable work", "replaces", "owner of", "vehicle normally used", "lifestyle", "this taxon is source of", "operating area", "different from", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nokia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "29740", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Nokia"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["market capitalization", "14300000000 United States dollar", "="]}, {"function": "QueryRelation", "dependencies": [1, 3], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nokia\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"29740\"^^xsd:double . ?e_2 <pred:name> \"Nokia\" . ?e_2 <market_capitalization> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"14300000000\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "different from"}, {"question": "What award was followed by Natalie Cole's Grammy Award for Best New Artist?", "choices": ["America", "National Treasure: Book of Secrets", "Star Trek: Insurrection", "Natalie Cole", "Amy Winehouse", "Starland Vocal Band", "Kazuo Ishiguro", "Batman Forever", "Live Free or Die Hard", "Lost, season 4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natalie Cole"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best New Artist"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "followed by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Natalie Cole\" . ?e_2 <pred:name> \"Grammy Award for Best New Artist\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <followed_by> ?qpv .  }", "answer": "Starland Vocal Band"}, {"question": "How many medicines have the MeSH Code H02.403.690 or the Stack Exchange tag https://psychology.stackexchange.com/tags/neuroscience?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["MeSH Code", "H02.403.690"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medicine"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Stack Exchange tag", "https://psychology.stackexchange.com/tags/neuroscience"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["medicine"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medicine\" .  { ?e <MeSH_Code> ?pv . ?pv <pred:value> \"H02.403.690\" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://psychology.stackexchange.com/tags/neuroscience\" .  } }", "answer": "2"}, {"question": "Is Tag:sport=american_football the OSM tag or key of French cuisine?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French cuisine"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["OSM tag or key"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Tag:sport=american_football"]}], "sparql": "ASK { ?e <pred:name> \"French cuisine\" . ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:sport=american_football\" .  }", "answer": "no"}, {"question": "Which one more area, Fremont or Costa Mesa?", "choices": ["New Haven", "Lansing", "Columbus", "Fremont", "Oakland", "Franklin", "Boulder", "Greenville", "Waukegan", "Compton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fremont"]}, {"function": "Find", "dependencies": [], "inputs": ["Costa Mesa"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fremont\" .  } UNION { ?e <pred:name> \"Costa Mesa\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Fremont"}, {"question": "Is Panathinaikos.oga the pronunciation audio of the city whose Dewey Decimal Classification is 2--43841?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--43841"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["pronunciation audio"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Panathinaikos.oga"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--43841\" . ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Panathinaikos.oga\" .  }", "answer": "no"}, {"question": "Is mediatopic/20000679 the IPTC Newscode of the belief system whose OSM tag or key is Tag:religion=jewish?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:religion=jewish"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["belief system"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IPTC Newscode"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["mediatopic/20000679"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <OSM_tag_or_key> ?pv_1 . ?pv_1 <pred:value> \"Tag:religion=jewish\" . ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000679\" .  }", "answer": "yes"}, {"question": "How many form of governments are there whose population is equal to 6500000 and ISO 3166-1 alpha-2 code is SO?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6500000", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["form of government"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISO 3166-1 alpha-2 code", "SO"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["form of government"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"6500000\"^^xsd:double . ?e <ISO_3166-1_alpha-2_code> ?pv_1 . ?pv_1 <pred:value> \"SO\" .  }", "answer": "0"}, {"question": "Since when did Edward Woodward, who died on 15th April 2010, begin using the honorific prefix Sir (the one that is the honorific prefix of Ringo Starr) ?", "choices": ["1948-08-15", "1982-06-12", "2004-06-05", "1790-07-16", "2013-07-29", "1861-03-29", "2004-05-13", "1887-06-03", "1990-08-05", "1980-10-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Edward Woodward"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2010-04-15", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Ringo Starr"]}, {"function": "Relate", "dependencies": [2], "inputs": ["honorific prefix", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sir"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [1, 5], "inputs": ["honorific prefix", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Edward Woodward\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"2010-04-15\"^^xsd:date . ?e_2 <pred:name> \"Sir\" . ?e_3 <honorific_prefix> ?e_2 . ?e_3 <pred:name> \"Ringo Starr\" . ?e_1 <honorific_prefix> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <honorific_prefix> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1982-06-12"}, {"question": "In Wichata (postal code is 67260) how many subsidiary companies have legal agents?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wichita"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "67260"]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["agent"]}, {"function": "Relate", "dependencies": [3], "inputs": ["legal form", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["subsidiary company"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"subsidiary company\" . ?e <legal_form> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"agent\" . ?e_1 <location_of_formation> ?e_2 . ?e_2 <pred:name> \"Wichita\" . ?e_2 <postal_code> ?pv . ?pv <pred:value> \"67260\" .   }", "answer": "0"}, {"question": "What number of constituencies are there for Rajya Sabha whose subreddit is andhra_pradesh and subscription number 192 for this statement, and that's different from the state of India?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "andhra_pradesh"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "192", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of India"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["constituency of the Rajya Sabha"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constituency of the Rajya Sabha\" . ?e <different_from> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of India\" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> \"andhra_pradesh\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"192\"^^xsd:double .   }", "answer": "1"}, {"question": "Of Texas counties bordering Johnson County (population 153341), which is physically largest?", "choices": ["Hidalgo County", "Johnson County", "McLennan County", "Dallas County", "Jefferson County", "Brazoria County", "Cameron County", "Tarrant County", "Montgomery County", "Travis County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johnson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "153341", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Texas"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Texas\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Johnson County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"153341\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dallas County"}, {"question": "When did the major city corresponding to German district key 08221 occupy 108.86 square km?", "choices": ["1976", "2006-11-11", "1806", "1823", "2017-05-04", "1998-01-01", "1955-12-01", "2008-02-13", "2004-03-01", "1903-03-02"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["German district key", "08221"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["area", "108.86 square kilometre", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <German_district_key> ?pv_1 . ?pv_1 <pred:value> \"08221\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"108.86\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1976"}, {"question": "Which has more population, Kolkata or Dakar that is the twinned administrative body of Isfahan?", "choices": ["Cork", "Chihuahua", "Dundee", "Kilkenny", "Bergen", "Abidjan", "Trieste", "Kolkata", "Santo Domingo", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kolkata"]}, {"function": "Find", "dependencies": [], "inputs": ["Isfahan"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dakar"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Kolkata\" .  } UNION { ?e <pred:name> \"Dakar\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Isfahan\" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kolkata"}, {"question": "Mike Portnoy was born in how many New York cities?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mike Portnoy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Mike Portnoy\" .   }", "answer": "1"}, {"question": "What is the connection between Bradenton to United States of America?", "choices": ["spouse", "country", "film regional debut venue", "currency", "highest judicial authority", "captain", "professional or sports partner", "nominated for", "honorific prefix", "country for sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bradenton"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bradenton\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Who has a birth name of Julius Kerwin Stein?", "choices": ["Robin Williams", "H. H. Asquith", "Myrna Loy", "Sylvester Stallone", "Max Fleischer", "Jule Styne", "Kelis", "Richard Gere", "Victoria Beckham", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Julius Kerwin Stein"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Julius Kerwin Stein\" .  }", "answer": "Jule Styne"}, {"question": "Is there more area in Douglas County with a population of 107685 or in Klamath County?", "choices": ["Marion County", "Lane County", "Yamhill County", "Linn County", "Columbia County", "Douglas County", "Lake County", "Klamath County", "Clackamas County", "Tillamook County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "107685", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Klamath County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Douglas County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"107685\"^^xsd:double . } UNION { ?e <pred:name> \"Klamath County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Klamath County"}, {"question": "Does Canadian dollar or Japanese yen have greater price?", "choices": ["Canadian dollar", "Broadcast Film Critics Association Awards 2001", "euro", "European Union", "Indian rupee", "pound sterling", "Japanese yen", "H. G. Wells", "Jesse Metcalfe", "The Deer Hunter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Canadian dollar"]}, {"function": "Find", "dependencies": [], "inputs": ["Japanese yen"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["price", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Canadian dollar\" .  } UNION { ?e <pred:name> \"Japanese yen\" .  } ?e <price> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Canadian dollar"}, {"question": "The director of which movie is identified by British Museum person-institution number 154994?", "choices": ["Kiki's Delivery Service", "Invincible", "Twilight Zone: The Movie", "Mildred Pierce", "American Gangster", "W.", "The Master", "Brideshead Revisited", "Raiders of the Lost Ark", "Cleopatra"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["British Museum person-institution", "154994"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <director> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> \"154994\" .   }", "answer": "Cleopatra"}, {"question": "Did the composer of Tom and Jerry die in a year other than 1821 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom and Jerry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1821", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <composer> ?e . ?e_1 <pred:name> \"Tom and Jerry\" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1821 ) .  }", "answer": "yes"}, {"question": "What number of Alabama counties share borders with Jackson county (which has a 39 license plate code) and Mobile County?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mobile County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackson County"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["licence plate code", "39"]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Alabama"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Mobile County\" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> \"Jackson County\" . ?e_2 <licence_plate_code> ?pv . ?pv <pred:value> \"39\" .  }", "answer": "0"}, {"question": "What is the official website for FC Dinamo Tbilisi?", "choices": ["http://www.deschutes.org", "http://www.fpf.com.pe/", "http://www.isham.com", "http://www.fcdinamo.ge", "http://www.alfranken.com/", "http://www.cua.edu", "https://www.granadacf.es/", "http://www.lucilleball.com/", "http://www.thecars.org/", "http://www.jeannemoreau.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Dinamo Tbilisi"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"FC Dinamo Tbilisi\" . ?e <official_website> ?pv .  }", "answer": "http://www.fcdinamo.ge"}, {"question": "What's the short name of the big city with the license plate code of DO?", "choices": ["MD", "Dm", "\u0412\u0435\u043b\u0438\u043a\u0430 \u0411\u0440\u0438\u0442\u0430\u043d\u0456\u044f", "\ud83c\uddf6\ud83c\udde6", "AZ", "\ud83c\uddf1\ud83c\uddfa", "\u0440\u0443\u043c\u044b\u043d\u0441\u043a\u0438\u0439", "N.W.T.", "FG", "\u10d0\u10e8\u10e8"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "DO"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["short name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"DO\" . ?e <short_name> ?pv .  }", "answer": "Dm"}, {"question": "Which has a higher unemployment rate, Indonesia or Colombia?", "choices": ["France", "Zimbabwe", "Indonesia", "Mozambique", "Colombia", "Germany", "Bolivia", "Tunisia", "Sierra Leone", "Italy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Indonesia"]}, {"function": "Find", "dependencies": [], "inputs": ["Colombia"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["unemployment rate", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Indonesia\" .  } UNION { ?e <pred:name> \"Colombia\" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Colombia"}, {"question": "Is http://eugene.pfull.com/ the official website for the animated film How to Train Your Dragon?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "How to Train Your Dragon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://eugene.pfull.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"How to Train Your Dragon\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://eugene.pfull.com/\" .  }", "answer": "no"}, {"question": "For the U.S. state that contains Baltimore County as an administrative division, how many of Maryland's counties are its administrative division?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baltimore County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Maryland"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Maryland\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Baltimore County\" .   }", "answer": "13"}, {"question": "How many New York Cities lend their name to the Oakland Raiders and are matched with WOEID 2489634?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oakland Raiders"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["WOEID", "2489634"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of New York"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Oakland Raiders\" .  ?e <WOEID> ?pv . ?pv <pred:value> \"2489634\" .  }", "answer": "0"}, {"question": "Where was The Pianist (the one whose release region is France) published on 24th October 2002 ?", "choices": ["Venice Film Festival", "Stockholm", "2003 Cannes Film Festival", "New Amsterdam Theatre", "Czech Republic", "El Capitan Theatre", "2008 Toronto International Film Festival", "Switzerland", "Germany", "John F. Kennedy Center for the Performing Arts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Pianist"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2002-10-24", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Pianist\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"France\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2002-10-24\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What number of North Carolina counties are named after Benjamin Franklin (the one that is the member of American Philosophical Society) and have a population larger than 1200000?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Philosophical Society"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Benjamin Franklin"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of North Carolina"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [6], "inputs": ["population", "1200000", ">"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["county of North Carolina"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <named_after> ?e_1 . ?e_1 <pred:name> \"Benjamin Franklin\" . ?e_1 <member_of> ?e_2 . ?e_2 <pred:name> \"American Philosophical Society\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"1200000\"^^xsd:double ) .  }", "answer": "0"}, {"question": "Which actor has ISNI 0000 0000 7837 6332?", "choices": ["Murali", "Sylvester Stallone", "Richard Dreyfuss", "Joseph Gordon-Levitt", "Aida Turturro", "Marti Noxon", "Max Fleischer", "Gilbert Gottfried", "William Henry Harrison", "Dean Stockwell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 7837 6332"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"actor\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7837 6332\" .  }", "answer": "Marti Noxon"}, {"question": "Who was born before 1994 and has CANTIC-ID a11756548?", "choices": ["Rainer Werner Fassbinder", "Juhi Chawla", "William Henry Harrison", "Chris Colfer", "Tia Carrere", "Charles Brackett", "Max Fleischer", "Richard Gere", "Joseph Ruttenberg", "George Clooney"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1994", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["CANTIC-ID", "a11756548"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11756548\" .  }", "answer": "Chris Colfer"}, {"question": "Which is shorter in length, American Splendor or The Ring in black-and-white?", "choices": ["The Towering Inferno", "Training Day", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "Rebecca", "American Splendor", "Curse of the Golden Flower", "A Prairie Home Companion", "The Ring"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Splendor"]}, {"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [1], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Ring"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"American Splendor\" .  } UNION { ?e <pred:name> \"The Ring\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Ring"}, {"question": "How many public offices were established after 1792 or represent the position held by George Clinton (whose ISNI is 0000 0000 6317 8800)?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1792", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public office"]}, {"function": "Find", "dependencies": [], "inputs": ["George Clinton"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0000 6317 8800"]}, {"function": "Relate", "dependencies": [4], "inputs": ["position held", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["public office"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public office\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1792 ) .  } UNION { ?e_1 <position_held> ?e . ?e_1 <pred:name> \"George Clinton\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0000 6317 8800\" .  } }", "answer": "2"}, {"question": "How many follow the subreddit of Chiapas, \"Chiapas\"?", "choices": ["45145", "33203", "1765", "13113", "114344", "39", "45157", "3943602", "463225", "865"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chiapas"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["subreddit", "Chiapas", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Chiapas\" . ?e <subreddit> ?pv . ?pv <pred:value> \"Chiapas\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "39"}, {"question": "Which area is larger, Lake County (the one whose population is 303310) or Brevard County?", "choices": ["Brevard County", "Citrus County", "Hillsborough County", "Polk County", "Orange County", "Monroe County", "Lake County", "Indian River County", "Alachua County", "Putnam County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lake County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "303310", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Brevard County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lake County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"303310\"^^xsd:double . } UNION { ?e <pred:name> \"Brevard County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Brevard County"}, {"question": "How many chemical compounds have the SPLASH of splash10-002b-0900000000-f002ed395e046dd16a08?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["SPLASH", "splash10-002b-0900000000-f002ed395e046dd16a08"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <SPLASH> ?pv . ?pv <pred:value> \"splash10-002b-0900000000-f002ed395e046dd16a08\" .  }", "answer": "1"}, {"question": "Which movie is shorter, The Diving Bell and the Butterfly or Brideshead Revisited (the one whose publication date is 2008-11-20)?", "choices": ["Rebecca", "Training Day", "The Fifth Element", "The Diving Bell and the Butterfly", "Curse of the Golden Flower", "Talk to Her", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Pleasantville", "Brideshead Revisited"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Diving Bell and the Butterfly"]}, {"function": "Find", "dependencies": [], "inputs": ["Brideshead Revisited"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["publication date", "2008-11-20", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Diving Bell and the Butterfly\" . } UNION { ?e <pred:name> \"Brideshead Revisited\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2008-11-20\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Diving Bell and the Butterfly"}, {"question": "Tell me the county of Pennsylvania that has a border in common with the county of Pennsylvania with the FIPS 6-4 (US counties) is 42085.", "choices": ["Trumbull County", "Mercer County", "Mahoning County", "Lackawanna County", "Butler County", "Union County", "Lancaster County", "Wayne County", "Cambria County", "Franklin County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42085"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Pennsylvania"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Pennsylvania\" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"42085\" .   }", "answer": "Butler County"}, {"question": "Is \u014csaka or Medina, twinned administrative body of Mecca, the larger in terms of area?", "choices": ["Bergen", "Abidjan", "Dundee", "Cork", "Chihuahua", "Medina", "Trieste", "\u014csaka", "Kingston", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u014csaka"]}, {"function": "Find", "dependencies": [], "inputs": ["Mecca"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Medina"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"\u014csaka\" .  } UNION { ?e <pred:name> \"Medina\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Mecca\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Medina"}, {"question": "What is the connection between Gallipoli Campaign to Middle Eastern theatre of World War I?", "choices": ["geography of topic", "sex or gender", "captain", "part of", "properties for this type", "native language", "original film format", "position held", "newspaper format", "manner of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gallipoli Campaign"]}, {"function": "Find", "dependencies": [], "inputs": ["Middle Eastern theatre of World War I"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gallipoli Campaign\" . ?e_2 <pred:name> \"Middle Eastern theatre of World War I\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "Which movie was published on 1973-01-25?", "choices": ["Rebecca", "Pleasantville", "A Prairie Home Companion", "Cape Fear", "Phil Spector", "Total Recall", "Talk to Her", "The Mummy", "Morocco", "The Poseidon Adventure"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1973-01-25", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1973-01-25\"^^xsd:date .  }", "answer": "The Poseidon Adventure"}, {"question": "What is the name in native language of Bill Melendez's partner?", "choices": ["David Bowie", "Charles M. Schulz", "Sam Rockwell", "Michael Clarke Duncan", "Jack Warner", "Lauren Holly", "\u5bae\u5d0e\u99ff", "Maggie Cheung", "Dan Simmons", "George Lucas"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Melendez"]}, {"function": "Relate", "dependencies": [0], "inputs": ["professional or sports partner", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <professional_or_sports_partner> ?e . ?e_1 <pred:name> \"Bill Melendez\" .  ?e <name_in_native_language> ?pv .  }", "answer": "Charles M. Schulz"}, {"question": "Increased risk for both osteoporosis and Alzheimer's disease is associated with which gender?", "choices": ["Minami Takayama", "Azerbaijan national football team", "Lee Grant", "Klaas-Jan Huntelaar", "stallion", "old age", "San Juan Jabloteh", "Kari Wahlgren", "Ellen DeGeneres", "female organism"], "program": [{"function": "Find", "dependencies": [], "inputs": ["osteoporosis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["risk factor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sex"]}, {"function": "Find", "dependencies": [], "inputs": ["Alzheimer's disease"]}, {"function": "Relate", "dependencies": [3], "inputs": ["risk factor", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sex"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sex\" . ?e <risk_factor> ?e_1 . ?e_1 <pred:name> \"osteoporosis\" .  ?e <risk_factor> ?e_2 . ?e_2 <pred:name> \"Alzheimer's disease\" .  }", "answer": "female organism"}, {"question": "What is the postal code of California Polytechnic State University's headquarters in San Luis Obispo?", "choices": ["CT2", "24125", "90174", "4020\u20134029", "93407", "38000", "37121\u201337142", "SR3", "92210, 92211, 92255, 92260, 92261", "07201"], "program": [{"function": "Find", "dependencies": [], "inputs": ["California Polytechnic State University"]}, {"function": "Find", "dependencies": [], "inputs": ["San Luis Obispo"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"California Polytechnic State University\" . ?e_2 <pred:name> \"San Luis Obispo\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "93407"}, {"question": "Malcolm in the Middle was a production of which TV station?", "choices": ["Canal+", "TV Asahi", "CBC Television", "Fox Broadcasting Company", "NBC", "Munhwa Broadcasting Corporation", "CTV Television Network", "Discovery Channel", "American Broadcasting Company", "Channel 4"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Malcolm in the Middle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"Malcolm in the Middle\" .   }", "answer": "Fox Broadcasting Company"}, {"question": "Which movie is shorter, Striptease or The English Patient?", "choices": ["Striptease", "The Towering Inferno", "The English Patient", "Training Day", "Curse of the Golden Flower", "The Fifth Element", "A Prairie Home Companion", "Rebecca", "Talk to Her", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Striptease"]}, {"function": "Find", "dependencies": [], "inputs": ["The English Patient"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Striptease\" .  } UNION { ?e <pred:name> \"The English Patient\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Striptease"}, {"question": "What is the local dialing code for Colchester?", "choices": ["0473", "609", "708", "08622", "01206", "239", "845", "08615", "29", "61"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Colchester"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["local dialing code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Colchester\" . ?e <local_dialing_code> ?pv .  }", "answer": "01206"}, {"question": "How many feature films have a publication date before 2011 or a publication date after 2007?", "choices": ["59", "60", "61", "62", "63", "64", "65", "66", "67", "68"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2011", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2007", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2007 ) .  } }", "answer": "61"}, {"question": "Which movie is longer, Manhattan (the one whose production company is United Artists) or Monster (the one that has Charlize Theron as a cast member)?", "choices": ["Rebecca", "A Prairie Home Companion", "Training Day", "The Fifth Element", "The Towering Inferno", "The Hunchback of Notre Dame", "Pleasantville", "Monster", "Curse of the Golden Flower", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Charlize Theron"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Monster"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Manhattan\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"United Artists\" .   } UNION { ?e <pred:name> \"Monster\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Charlize Theron\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Monster"}, {"question": "Which person is a member of Hibernian F.C. (the start time of this statement is 1996)?", "choices": ["Jim Brown", "Paul Williams", "William Henry Harrison", "Michael O'Neill", "John Byrne", "John Hughes", "Chris Killen", "Alan Moore", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hibernian F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1996", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Hibernian F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1996 .  }", "answer": "John Hughes"}, {"question": "How many subscribers are there for the Twitter username JamieLSigler belonging to Jamie-Lynn Sigler?", "choices": ["11136265", "68346", "17711", "1317", "4994", "506798", "61753", "281", "21336", "73657"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jamie-Lynn Sigler"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "JamieLSigler", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jamie-Lynn Sigler\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"JamieLSigler\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "73657"}, {"question": "What state of the United States shares border with the province of Canada which is the filming location of X2 ?", "choices": ["Vermont", "Northwest Territories", "Minnesota", "Maine", "Maryland", "Montana", "Alaska", "British Columbia", "Wisconsin", "Missouri"], "program": [{"function": "Find", "dependencies": [], "inputs": ["X2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Canada"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"province of Canada\" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> \"X2\" .   }", "answer": "Montana"}, {"question": "How many Massachusetts counties are administrative divisions of Massachusetts, demonym Massachusettsan?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Massachusetts"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Massachusettsan"]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Massachusetts"]}, {"function": "Count", "dependencies": [3], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Massachusetts\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"Massachusettsan\" .   }", "answer": "12"}, {"question": "What relation is there between traffic collision and Jack Thompson, who died on 1969-10-01?", "choices": ["editor", "cause of death", "language of work or name", "has dialect (DEPRECATED)", "location of final assembly", "registered with", "does not have part", "symptom of", "medical treatment", "contributing factor of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jack Thompson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1969-10-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["traffic collision"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jack Thompson\" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> \"1969-10-01\"^^xsd:date . ?e_2 <pred:name> \"traffic collision\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "What is the Dewey Decimal Classification of the capital of Province of Como?", "choices": ["2--777655", "2--49245", "759.0663", "2--72982", "2--7299", "2--45231", "2--7154", "546.382", "2--42819", "2--792"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Como"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Dewey Decimal Classification"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Province of Como\" .  ?e <Dewey_Decimal_Classification> ?pv .  }", "answer": "2--45231"}, {"question": "Does Sabah occupy other than 880,000,000 square meters ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sabah"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["880000000 square metre", "!="]}], "sparql": "ASK { ?e <pred:name> \"Sabah\" . ?e <area> ?pv . ?pv <pred:unit> \"square metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"880000000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many films have the narrative location in the state in the United States with the FIPS 5-2 code in (US States) of 42?", "choices": ["17", "18", "19", "20", "21", "22", "23", "24", "25", "26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 5-2 numeric code (US states)", "42"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["film"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <FIPS_5-2_numeric_code_(US_states)> ?pv . ?pv <pred:value> \"42\" .   }", "answer": "25"}, {"question": "What city became the twinned administrative body of Nashua on 2016-07-08?", "choices": ["Mysore", "Cairo", "Chihuahua", "Kingston", "Cork", "Trieste", "Dundee", "Kilkenny", "Abidjan", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nashua"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2016-07-08", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Nashua\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"2016-07-08\"^^xsd:date .  }", "answer": "Mysore"}, {"question": "What association football club with the official website of http://www.harriers.co.uk/ had Craig Armstrong, the member of Watford F. C. as a member in 2009-01-01?", "choices": ["Brisbane Roar FC", "Middlesbrough F.C.", "Stade Brestois 29", "Roda JC Kerkrade", "S.C. Braga", "Mansfield Town F.C.", "Kidderminster Harriers F.C.", "C.F. Os Belenenses", "Zamalek SC", "Preston North End F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.harriers.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Watford F.C."]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Craig Armstrong"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterDate", "dependencies": [7], "inputs": ["start time", "2009-01-01", "="]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.harriers.co.uk/\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Craig Armstrong\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Watford F.C.\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> \"2009-01-01\"^^xsd:date .  }", "answer": "Kidderminster Harriers F.C."}, {"question": "What is the connection between Jon Stewart (the one whose date of birth is 1989-03-13) to Burnley F.C.?", "choices": ["series spin-off", "member of sports team", "applies to jurisdiction", "source of material", "depicted by", "position played on team / speciality", "month of the year", "operating system", "child", "said to be the same as"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Stewart"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1989-03-13", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Burnley F.C."]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jon Stewart\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1989-03-13\"^^xsd:date . ?e_2 <pred:name> \"Burnley F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the running time of 13 Assassins (whose release territory is the United States of America)?", "choices": ["131 minute", "231 minute", "380 minute", "266 minute", "2690 second", "133 minute", "259 minute", "162 minute", "120 minute", "172 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["13 Assassins"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"13 Assassins\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <duration> ?pv .  }", "answer": "120 minute"}, {"question": "What is the connection between  I Shot Andy Warhol to United Kingdom?", "choices": ["properties for this type", "software engine", "captain", "programming language", "relative", "film editor", "territory overlaps", "movement", "voice actor", "country of origin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Shot Andy Warhol"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"I Shot Andy Warhol\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the number of families that have architectural style that has start time other than 1720 as a part?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1720", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["architectural style"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["family"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"family\" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"architectural style\" . ?e_1 <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1720 ) .   }", "answer": "0"}, {"question": "For what was Richard III (which has Ian McKellen as a cast member) nominated for an Academy Award for Best Production Design?", "choices": ["Bangladesh\u2013Turkey relations", "25th Tony Awards", "Australia\u2013China relations", "Romania\u2013Ukraine relations", "New Zealand\u2013Ukraine relations", "Armenia\u2013France relations", "68th Academy Awards", "Spain\u2013Vietnam relations", "Kosovo\u2013United Arab Emirates relations", "Israel\u2013Sweden relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ian McKellen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard III"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard III\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Ian McKellen\" . ?e_2 <pred:name> \"Academy Award for Best Production Design\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "68th Academy Awards"}, {"question": "Is the run-time shorter on The Green Hornet, a Columbia Pictures production, or on Bewitched, a Metro-Goldwyn-Mayer production?", "choices": ["Bewitched", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Pleasantville", "Talk to Her", "Training Day", "Rebecca", "The Fifth Element", "A Prairie Home Companion", "The Green Hornet"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Columbia Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Green Hornet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Metro-Goldwyn-Mayer"]}, {"function": "Relate", "dependencies": [4], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bewitched"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Green Hornet\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Columbia Pictures\" .   } UNION { ?e <pred:name> \"Bewitched\" . ?e <production_company> ?e_2 . ?e_2 <pred:name> \"Metro-Goldwyn-Mayer\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bewitched"}, {"question": "what is the number of art festivals that have a frequency bigger than 0.9 years or that have an official website of https://www.sundance.org/festivals/sundance-film-festival", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["frequency of event", "0.9 year", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["arts festival"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "https://www.sundance.org/festivals/sundance-film-festival"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["arts festival"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"arts festival\" .  { ?e <frequency_of_event> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0.9\"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"https://www.sundance.org/festivals/sundance-film-festival\" .  } }", "answer": "5"}, {"question": "Transformers: Revenge of the Fallen, with voice acting by Hugo Weaving, was released in what location on 2009-06-23?", "choices": ["New York", "Latvia", "Seattle International Film Festival", "Germany", "Portal:Belgium", "1949 Cannes Film Festival", "Taormina Film Fest", "United Arab Emirates", "Hungary", "People's Republic of China"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugo Weaving"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transformers: Revenge of the Fallen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2009-06-23", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Transformers: Revenge of the Fallen\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Hugo Weaving\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2009-06-23\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "What body fluid comprises blood plasma as a component?", "choices": ["Paul Walker", "serum", "Little Women", "Chandler", "Gary Ross", "progressive metal", "Goya Award for Best Film", "blood", "Johnny Green", "cerebrospinal fluid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["blood plasma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["body fluid"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"body fluid\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"blood plasma\" .   }", "answer": "blood"}, {"question": "How many unitary states are either a member of the United Nations or were replaced by Ukraine?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Nations"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "Relate", "dependencies": [3], "inputs": ["replaces", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["unitary state"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" .  { ?e <member_of> ?e_1 . ?e_1 <pred:name> \"United Nations\" .  } UNION { ?e_1 <replaces> ?e . ?e_1 <pred:name> \"Ukraine\" .  } }", "answer": "17"}, {"question": "Which area is larger, Newark or Jersey City?", "choices": ["Hoboken", "Passaic", "Atlantic City", "Paterson", "Jersey City", "Plainfield", "Trenton", "Elizabeth", "Newark", "Perth Amboy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newark"]}, {"function": "Find", "dependencies": [], "inputs": ["Jersey City"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Newark\" .  } UNION { ?e <pred:name> \"Jersey City\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Newark"}, {"question": "How was the ranking of 96 for the North Korea national football team determined?", "choices": ["2010 United States Census", "United Kingdom Census 1971", "Canada 2011 Census", "Sixth National Population Census of the People's Republic of China", "2000 United States Census", "FIFA World Rankings", "register office", "United Kingdom Census 1991", "Yemen General Census of Population, Housing and Establishments 2004", "lead-lead dating"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North Korea national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "96", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"North Korea national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"96\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the IAB code for the industry that Pfizer belongs to?", "choices": ["109", "651", "1312", "1407", "1443", "526", "1165", "366", "1295", "1311"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pfizer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["industry", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["IAB code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <industry> ?e . ?e_1 <pred:name> \"Pfizer\" .  ?e <IAB_code> ?pv .  }", "answer": "109"}, {"question": "Fiddler on the Roof is the title of which feature film?", "choices": ["National Treasure", "National Treasure: Book of Secrets", "Old Dogs", "The Chronicles of Narnia: Prince Caspian", "Holes", "Fiddler on the Roof", "Pirates of the Caribbean: On Stranger Tides", "Mighty Joe Young", "Alvin and the Chipmunks: Chipwrecked", "Alice in Wonderland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Fiddler on the Roof"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <title> ?pv . ?pv <pred:value> \"Fiddler on the Roof\" .  }", "answer": "Fiddler on the Roof"}, {"question": "What is the relationship between The Price Is Right (the one that is originally aired on CBS) and CBS?", "choices": ["field of work", "operating area", "voice type", "language used", "copyright holder", "cast member", "present in work", "original network", "located on terrain feature", "founded by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Price Is Right"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Price Is Right\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"CBS\" . ?e_2 <pred:name> \"CBS\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "How is The Mummy Returns, released for PlayStation 2 platform,  connected to Dee Bradley Baker?", "choices": ["candidacy in election", "donated by", "voice actor", "source of material", "maintained by", "religious order", "instrument", "patron saint", "mountain range", "broadcast by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PlayStation 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Mummy Returns"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dee Bradley Baker"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Mummy Returns\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"PlayStation 2\" . ?e_2 <pred:name> \"Dee Bradley Baker\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Is N the Portable Game Notation for the chess piece that is a common property of film?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["properties for this type", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chess piece"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Portable Game Notation"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["N"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"chess piece\" . ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> \"film\" .  ?e <Portable_Game_Notation> ?pv . ?pv <pred:value> \"N\" .  }", "answer": "yes"}, {"question": "Which television network is the child organization of NBCUniversal?", "choices": ["CNBC", "Universal Pictures", "Seoul Broadcasting System", "Telemundo", "The WB", "Universal Studios Home Entertainment", "UPN", "NBC", "Network Ten", "PBS"], "program": [{"function": "Find", "dependencies": [], "inputs": ["NBCUniversal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["parent organization", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television network"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" . ?e <parent_organization> ?e_1 . ?e_1 <pred:name> \"NBCUniversal\" .   }", "answer": "Telemundo"}, {"question": "Which art school is in the United Kingdom with the ISNI of 0000 0001 2228 5316?", "choices": ["Black Mountain College", "Pennsylvania Academy of the Fine Arts", "Chelsea College of Art and Design", "Columbia College Chicago", "Film and Television Institute of India", "Architectural Association School of Architecture", "Camberwell College of Arts", "Art Students League of New York", "Central Saint Martins", "Otis College of Art and Design"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["art school"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 2228 5316"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["art school"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art school\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2228 5316\" .  }", "answer": "Architectural Association School of Architecture"}, {"question": "What geographic region is in the country of Argentina?", "choices": ["Tibet", "Boca Juniors", "Yiddish", "South America", "Orkney Islands", "Club Atl\u00e9tico San Lorenzo de Almagro", "Brittany", "Lake District", "Asia", "Andes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Argentina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Argentina\" .   }", "answer": "Andes"}, {"question": "Does ISNI number 0000 0001 2280 4497 represent the Art Carney who won at the 47th Academy Awards?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["47th Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Art Carney"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 2280 4497"]}], "sparql": "ASK { ?e <pred:name> \"Art Carney\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"47th Academy Awards\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2280 4497\" .  }", "answer": "no"}, {"question": "Where was the film that mainly depicts Charlie Parker (who is famous for saxophone) published on 1988-09-15?", "choices": ["India", "Moscow", "Northern America", "Park City", "New Amsterdam Theatre", "1949 Cannes Film Festival", "Greece", "Germany", "Finland", "Jordan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["saxophone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie Parker"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "1988-09-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"Charlie Parker\" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> \"saxophone\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1988-09-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the ARCHON code of St Hilda's College?", "choices": ["467", "476", "1290", "1288", "466", "676", "1975", "982", "2919", "471"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St Hilda's College"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ARCHON code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"St Hilda's College\" . ?e <ARCHON_code> ?pv .  }", "answer": "471"}, {"question": "Does the animated feature film with exploitation visa number 14043 clock in at other than 9.9 hours ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "14043"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["9.9 hour", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"14043\" . ?e <duration> ?pv . ?pv <pred:unit> \"hour\" . ?pv <pred:value> ?v . FILTER ( ?v != \"9.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Which area is smaller, Istanbul (the one that is the twinned administrative body of Skopje) or Bangalore?", "choices": ["Istanbul", "Bangalore", "New Delhi", "Manila", "Lausanne", "Doha", "Moscow", "Tallinn", "Sarajevo", "Riga"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skopje"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Istanbul"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bangalore"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Istanbul\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Skopje\" .   } UNION { ?e <pred:name> \"Bangalore\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bangalore"}, {"question": "Which language is associated with http://www.liu.edu, the official website of the higher education institution whose PermID is 4295948972?", "choices": ["Lower Sorbian", "Malagasy", "Albanian", "Canadian English", "Hungarian", "English", "Australian English", "Polish", "Bavarian", "Basque"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "4295948972"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.liu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"4295948972\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.liu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Mississauga or Swansea occupy the smaller area?", "choices": ["Kingston", "Abidjan", "Cork", "Swansea", "Bergen", "Dundee", "Kilkenny", "Chihuahua", "Trieste", "Mississauga"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mississauga"]}, {"function": "Find", "dependencies": [], "inputs": ["Swansea"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mississauga\" .  } UNION { ?e <pred:name> \"Swansea\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mississauga"}, {"question": "What is the connection between The Cotton Club to Richard Gere?", "choices": ["newspaper format", "mountain range", "parent club", "subject has role", "software engine", "located on astronomical location", "narrator", "official symbol", "cast member", "operating system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Cotton Club"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Gere"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Cotton Club\" . ?e_2 <pred:name> \"Richard Gere\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which human has the Regensburg Classification identifier HK 3170 and the Libris-URI xv8bc38g4jckml0?", "choices": ["David Byrne", "Paul Simon", "Simon Cowell", "William Henry Harrison", "Jonathan Swift", "Max Fleischer", "Rahul Dev Burman", "Richard Gere", "James E. Reilly", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Regensburg Classification", "HK 3170"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Libris-URI", "xv8bc38g4jckml0"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Regensburg_Classification> ?pv . ?pv <pred:value> \"HK 3170\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"xv8bc38g4jckml0\" .  }", "answer": "Jonathan Swift"}, {"question": "Is the local dialing code of a city, whose postal code is IV2, 1463 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "IV2"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["local dialing code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1463"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"IV2\" . ?e <local_dialing_code> ?pv . ?pv <pred:value> \"1463\" .  }", "answer": "yes"}, {"question": "Does Mandy Patinkin or Aamir Khan have fewer children?", "choices": ["James E. Reilly", "Rahul Dev Burman", "Paul Simon", "Sylvester Stallone", "Max Fleischer", "Simon Cowell", "Aamir Khan", "David Byrne", "William Henry Harrison", "Mandy Patinkin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mandy Patinkin"]}, {"function": "Find", "dependencies": [], "inputs": ["Aamir Khan"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mandy Patinkin\" .  } UNION { ?e <pred:name> \"Aamir Khan\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mandy Patinkin"}, {"question": "What is the box office of Logan whose Instagram username is wponx?", "choices": ["73244881 United States dollar", "119000000 United States dollar", "33400000 United States dollar", "616795600 United States dollar", "7637407.77 euro", "6814789 United States dollar", "485930816 United States dollar", "176880000 United States dollar", "1407000000 United States dollar", "402735134 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Logan"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "wponx"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Logan\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"wponx\" . ?e <box_office> ?pv .  }", "answer": "616795600 United States dollar"}, {"question": "What number of independent German ciites have a population that is not 2300000?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2300000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2300000\"^^xsd:double ) .  }", "answer": "5"}, {"question": "What is the connection between Errol Flynn to Hobart?", "choices": ["followed by", "business division", "series spin-off", "chairperson", "appointed by", "residence", "participant of", "contributor(s) to the creative work", "affiliation", "place served by transport hub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Errol Flynn"]}, {"function": "Find", "dependencies": [], "inputs": ["Hobart"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Errol Flynn\" . ?e_2 <pred:name> \"Hobart\" . ?e_1 ?p ?e_2 .  }", "answer": "residence"}, {"question": "What is the connection between Yahoo to Tim Armstrong (the one that is the chief executive officer of Yahoo)?", "choices": ["honorific prefix", "risk factor", "official religion", "destination point", "health specialty", "chief executive officer", "spouse", "instrument", "noble title", "copyright holder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Yahoo"]}, {"function": "Find", "dependencies": [], "inputs": ["Yahoo"]}, {"function": "Relate", "dependencies": [1], "inputs": ["chief executive officer", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Armstrong"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Yahoo\" . ?e_2 <pred:name> \"Tim Armstrong\" . ?e_3 <chief_executive_officer> ?e_2 . ?e_3 <pred:name> \"Yahoo\" . ?e_1 ?p ?e_2 .  }", "answer": "chief executive officer"}, {"question": "How many activities with Nintendo GameID GLOJ13 are abbreviated as \u5355\u4eba?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "GLOJ13"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["short name", "\u5355\u4eba"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <Nintendo_GameID> ?pv . ?pv <pred:value> \"GLOJ13\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"\u5355\u4eba\" .  }", "answer": "0"}, {"question": "Which movie is shorter, Sense and Sensibility (the one whose distributor is BBC) or Merlin (the one whose end time is 2012-12-24)?", "choices": ["Game of Thrones", "Merlin", "Robot Chicken", "Dancing with the Stars", "Sense and Sensibility", "Bleak House", "Saturday Night's Main Event", "Six Feet Under", "Seinfeld", "American Horror Story"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BBC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sense and Sensibility"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Merlin"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["end time", "2012-12-24", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Sense and Sensibility\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"BBC\" . } UNION { ?e <pred:name> \"Merlin\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"2012-12-24\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Merlin"}, {"question": "What does Pyrus have to do with pantothenic acid?", "choices": ["godparent", "derivative work", "works in collection", "manufacturer", "followed by", "exclave of", "nutrient", "source of material", "official residence", "lifestyle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pyrus"]}, {"function": "Find", "dependencies": [], "inputs": ["pantothenic acid"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pyrus\" . ?e_2 <pred:name> \"pantothenic acid\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "What is the date of birth of the person whose ISNI is 0000 0001 2133 4729?", "choices": ["1957-06-12", "1946-06-26", "1926-01-20", "1891-01-24", "1940-09-15", "1921-02-21", "1939-12-20", "1974-05-21", "1944-01-16", "1930-10-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2133 4729"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2133 4729\" . ?e <date_of_birth> ?pv .  }", "answer": "1921-02-21"}, {"question": "Does Torchwood or The Twilight Zone, which debuted on 2002-09-18, have the higher season count?", "choices": ["Torchwood", "Seinfeld", "Dancing with the Stars", "American Horror Story", "The Twilight Zone", "Game of Thrones", "Saturday Night's Main Event", "Phineas and Ferb", "Six Feet Under", "Bleak House"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Torchwood"]}, {"function": "Find", "dependencies": [], "inputs": ["The Twilight Zone"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["start time", "2002-09-18", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Torchwood\" . } UNION { ?e <pred:name> \"The Twilight Zone\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"2002-09-18\"^^xsd:date . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Torchwood"}, {"question": "What public university is located in Grand Forks and is established after 1558?", "choices": ["McMaster University", "King's College London", "San Diego State University", "University of North Dakota", "Wayne State University", "Queen's University Belfast", "Free University of Berlin", "Boise State University", "Southern Illinois University Carbondale", "University of Michigan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grand Forks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1558", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Grand Forks\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1558 ) .  }", "answer": "University of North Dakota"}, {"question": "How many academic disciplines' country is West Germany or Stack Exchange tag is https://engineering.stackexchange.com/tags/civil-engineering?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Stack Exchange tag", "https://engineering.stackexchange.com/tags/civil-engineering"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["academic discipline"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"West Germany\" .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> \"https://engineering.stackexchange.com/tags/civil-engineering\" .  } }", "answer": "1"}, {"question": "Was the agent with the official website of http://www.icc-cricket.com founded before 1967?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.icc-cricket.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1967", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.icc-cricket.com\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1967 ) .  }", "answer": "yes"}, {"question": "What is the date of death of the human that received an American Book Award on 1996-01-01?", "choices": ["2003-03-30", "2004-10-10", "1989-02-03", "1987-03-23", "2011", "2003-09-25", "2012-06-07", "1969-03-14", "1984-03-03", "1851-02-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Book Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1996-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"American Book Awards\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1996-01-01\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "2003-09-25"}, {"question": "Who is taller: Stephen Colbert, from the cast of The Daily Show, or Reese Witherspoon?", "choices": ["Richard Gere", "James E. Reilly", "Stephen Colbert", "David Byrne", "Max Fleischer", "Rahul Dev Burman", "Simon Cowell", "William Henry Harrison", "Reese Witherspoon", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Daily Show"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Colbert"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Reese Witherspoon"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stephen Colbert\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"The Daily Show\" .   } UNION { ?e <pred:name> \"Reese Witherspoon\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Stephen Colbert"}, {"question": "Which movie is longer, The Three Musketeers (the one whose duration is 73 minute) or The Graduate?", "choices": ["Pleasantville", "The Towering Inferno", "A Prairie Home Companion", "Talk to Her", "The Graduate", "The Three Musketeers", "Rebecca", "Training Day", "The Hunchback of Notre Dame", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "73 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Graduate"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"73\"^^xsd:double . } UNION { ?e <pred:name> \"The Graduate\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Graduate"}, {"question": "Does the longer run-time belong to The Goonies, released in France, or The Phantom of the Opera, at 84 minutes?", "choices": ["Curse of the Golden Flower", "The Phantom of the Opera", "The Goonies", "Rebecca", "The Hunchback of Notre Dame", "Training Day", "Talk to Her", "Pleasantville", "A Prairie Home Companion", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Goonies"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom of the Opera"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["duration", "84 minute", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Goonies\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"France\" . } UNION { ?e <pred:name> \"The Phantom of the Opera\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"84\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Goonies"}, {"question": "What is the Twitter handle of the national park measuring under 210000 square kilometers?", "choices": ["JulieBenz", "AMUJournal", "citybeautiful", "reinelear", "grandtetonnps", "TowerOfLondon", "mileycyrus", "rodstewart", "OM_Officiel", "charlie_adler"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "210000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national park"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national park\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"210000\"^^xsd:double ) . ?e <Twitter_username> ?pv .  }", "answer": "grandtetonnps"}, {"question": "What is the name of the French version of the film Night at the Museum: Battle of the Smithsonian (official website http://www.lanuitaumusee2-lefilm.com/)?", "choices": ["Rebecca", "The Towering Inferno", "The Fifth Element", "Night at the Museum: Battle of the Smithsonian", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Talk to Her", "Curse of the Golden Flower", "Pleasantville", "Rope"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.lanuitaumusee2-lefilm.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["country", "France"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "Night at the Museum: Battle of the Smithsonian"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.lanuitaumusee2-lefilm.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> \"France\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Night at the Museum: Battle of the Smithsonian\" .  }", "answer": "Night at the Museum: Battle of the Smithsonian"}, {"question": "How is Amber Benson related to the Birmingham where Louise Fletcher was born?", "choices": ["headquarters location", "place of birth", "material used", "license", "after a work by", "diplomatic relation", "filmography", "depicted by", "medical treatment", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amber Benson"]}, {"function": "Find", "dependencies": [], "inputs": ["Louise Fletcher"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Birmingham"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Amber Benson\" . ?e_2 <pred:name> \"Birmingham\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Louise Fletcher\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "For the public university that is the school where the 2007 Major League Baseball draft is picked, what language is associated with this creative work for its official website of http://www.gatech.edu?", "choices": ["French", "Latin", "American English", "English", "Put\u00e8r", "Ewe", "Lower Sorbian", "Belarusian", "Bashkir", "Valencian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2007 Major League Baseball draft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["draft pick from school", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.gatech.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <draft_pick_from_school> ?e . ?e_1 <pred:name> \"2007 Major League Baseball draft\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.gatech.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which movie is shorter, Pretty Woman or Men in Black (the one that was nominated for Satellite Award for Best Animated or Mixed Media Feature)?", "choices": ["Rebecca", "The Hunchback of Notre Dame", "The Fifth Element", "Pretty Woman", "Training Day", "Men in Black", "A Prairie Home Companion", "Curse of the Golden Flower", "The Towering Inferno", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pretty Woman"]}, {"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Animated or Mixed Media Feature"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Men in Black"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pretty Woman\" .  } UNION { ?e <pred:name> \"Men in Black\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Satellite Award for Best Animated or Mixed Media Feature\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Men in Black"}, {"question": "How many empires participated in the Peninsular War?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peninsular War"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" . ?e_1 <participant> ?e . ?e_1 <pred:name> \"Peninsular War\" .   }", "answer": "0"}, {"question": "What is the connection between Brad Pitt to Angelina Jolie?", "choices": ["subsidiary", "commander of", "follows", "legislative body", "spouse", "continent", "has dialect (DEPRECATED)", "home port", "replaced by", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brad Pitt"]}, {"function": "Find", "dependencies": [], "inputs": ["Angelina Jolie"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brad Pitt\" . ?e_2 <pred:name> \"Angelina Jolie\" . ?e_1 ?p ?e_2 .  }", "answer": "spouse"}, {"question": "How many New Jersey counties are designated by FIPS 6-4 (US counties) code 34019 or have Trenton as their capital?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "34019"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New Jersey"]}, {"function": "Find", "dependencies": [], "inputs": ["Trenton"]}, {"function": "Relate", "dependencies": [3], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of New Jersey"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New Jersey\" .  { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"34019\" .  } UNION { ?e_1 <capital_of> ?e . ?e_1 <pred:name> \"Trenton\" .  } }", "answer": "2"}, {"question": "Does CANTIC-ID  a12013250 correspond to someone with ISNI # 0000 0003 6859 3263 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6859 3263"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["a12013250"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6859 3263\" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a12013250\" .  }", "answer": "no"}, {"question": "How many times were Mary-Louise Parke or Kristin Chenoweth nominated for a theatre award?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mary-Louise Parker"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatre award"]}, {"function": "Find", "dependencies": [], "inputs": ["Kristin Chenoweth"]}, {"function": "Relate", "dependencies": [3], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["theatre award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Mary-Louise Parker\" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Kristin Chenoweth\" .  } }", "answer": "2"}, {"question": "How many television stations were founded before 2006?", "choices": ["23", "24", "25", "26", "27", "28", "29", "30", "31", "32"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "2006", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television station"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }", "answer": "32"}, {"question": "What is the relationship between emo and Weezer?", "choices": ["soundtrack album", "lifestyle", "interests", "professional or sports partner", "industry", "commissioned by", "work location", "famous people", "film distribute region", "subject has role"], "program": [{"function": "Find", "dependencies": [], "inputs": ["emo"]}, {"function": "Find", "dependencies": [], "inputs": ["Weezer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"emo\" . ?e_2 <pred:name> \"Weezer\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "When the population of county of Arizona (whose official website is http://www.maricopa.gov) reached 3868981?", "choices": ["1987-05-25", "1857", "1920-01-01", "1735", "2011-07-01", "1816-12-01", "1934", "1773", "1972-12-01", "1786"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.maricopa.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "3868981", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.maricopa.gov\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3868981\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "What is the relationship between John Broome (the one whose date of birth is 1738-01-01) and politician?", "choices": ["distribution", "approved by", "eye color", "capital of", "family name", "production company", "partner", "occupation", "child", "location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Broome"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1738-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Broome\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1738-01-01\"^^xsd:date . ?e_2 <pred:name> \"politician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has the most area among the Canada provinces whose population is not 3200000000?", "choices": ["British Columbia", "Ontario", "Alberta", "Newfoundland and Labrador", "Prince Edward Island", "New Brunswick", "Quebec", "Saskatchewan", "Manitoba", "Nova Scotia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3200000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Canada"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Canada\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"3200000000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Quebec"}, {"question": "Abigail Breslin was an Academy Award nominee for Best Supporting Actress for which project?", "choices": ["Madagascar\u2013North Korea relations", "Malaysia\u2013New Zealand relations", "Malaysia\u2013Romania relations", "79th Academy Awards", "Nauru\u2013Taiwan relations", "Illinois\u2013Indiana border", "Iceland\u2013India relations", "Cambodia\u2013Vietnam relations", "Azerbaijan\u2013Denmark relations", "Serbia\u2013South Africa relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Abigail Breslin"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Abigail Breslin\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "79th Academy Awards"}, {"question": "What is the spoken text audio for virus?", "choices": ["Hy-\u057d\u057a\u056b\u057f\u0561\u056f\u0578\u0582\u0581\u0576\u0565\u0580 (Protein).ogg", "Hy-\u054e\u056b\u0580\u0578\u0582\u057d\u0576\u0565\u0580 (Virus).ogg", "Hy-\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576 (Armenia).ogg", "Ru-Vitamin A 01-History.ogg", "De-Weimarer Republik-Teil-2-article.ogg", "Simple en Devon, oldid 211351.oga", "Hy-\u0532\u0580\u056b\u057f\u0561\u0576\u0561\u056f\u0561\u0576 \u056f\u0561\u0575\u057d\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576.ogg", "Hy-\u053c\u0578\u0576\u0564\u0578\u0576\u056b \u0569\u0561\u0563\u0561\u057e\u0578\u0580\u0561\u056f\u0561\u0576 \u0568\u0576\u056f\u0565\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576 (Royal Society).ogg", "Ru-Vitamin A 00-Intro.ogg", "De-Weimarer Republik-Teil-1-article.ogg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["virus"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["spoken text audio"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"virus\" . ?e <spoken_text_audio> ?pv .  }", "answer": "Hy-\u054e\u056b\u0580\u0578\u0582\u057d\u0576\u0565\u0580 (Virus).ogg"}, {"question": "What country does a higher education institution, called University of Liverpool (Twitter username LivUni) and headquartered in Liverpool, belong ?", "choices": ["Kazakhstan", "Pakistan", "Nepal", "Holy Roman Empire", "Sweden", "India", "South Korea", "Romania", "United Kingdom", "Weimar Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Liverpool"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Liverpool"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["Twitter username", "LivUni", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Liverpool\" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> \"University of Liverpool\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"LivUni\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Where was Anchorman: The Legend of Ron Burgundy published on 2004-11-04?", "choices": ["Bulgaria", "Germany", "Cannes", "Israel", "2003 Cannes Film Festival", "Peru", "Sweden", "South Africa", "France", "Malaysia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anchorman: The Legend of Ron Burgundy"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2004-11-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Anchorman: The Legend of Ron Burgundy\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-11-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "I'd like to know the person's children number that has official website http://www.harrygregsonwilliams.com/.", "choices": ["8", "10", "20", "11", "9", "5", "2 daughter", "0", "3 son", "7"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.harrygregsonwilliams.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.harrygregsonwilliams.com/\" . ?e <number_of_children> ?pv .  }", "answer": "5"}, {"question": "Which place has less area, Flint or Medford, which has a local dialing code of 541?", "choices": ["Flint", "New Haven", "Greenville", "Boulder", "Waukegan", "Lansing", "Compton", "Columbus", "Medford", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flint"]}, {"function": "Find", "dependencies": [], "inputs": ["Medford"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "541"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flint\" . } UNION { ?e <pred:name> \"Medford\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"541\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Medford"}, {"question": "How many colleges at the University of Oxford are named after the human biblical figure called Ges\u00f9 Cristo?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name", "Ges\u00f9 Cristo"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human biblical figure"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["college of the University of Oxford"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Oxford\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human biblical figure\" . ?e_1 <name> ?pv . ?pv <pred:value> \"Ges\u00f9 Cristo\" .   }", "answer": "2"}, {"question": "How many kinds of engineering in the aerospace field correspond to IPTC Newscode mediatopic/20000760?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["aerospace"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["engineering"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPTC Newscode", "mediatopic/20000760"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["engineering"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"engineering\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"aerospace\" .  ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000760\" .  }", "answer": "0"}, {"question": "Which Summer Olympics preceded the 1912 Summer Games?", "choices": ["1984 Summer Olympics", "1996 Summer Olympics", "1908 Summer Olympics", "2008 Summer Olympics", "1936 Summer Olympics", "1924 Summer Olympics", "1928 Summer Olympics", "1980 Summer Olympics", "1972 Summer Olympics", "1904 Summer Olympics"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1912 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"1912 Summer Olympics\" .   }", "answer": "1908 Summer Olympics"}, {"question": "Which person married Aaliyah in 1994?", "choices": ["Max Fleischer", "Richard Gere", "Edward James Olmos", "R. Kelly", "William Henry Harrison", "Heather Locklear", "David Byrne", "Sylvester Stallone", "Simon Cowell", "Liam Neeson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aaliyah"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1994", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <spouse> ?e . ?e_1 <pred:name> \"Aaliyah\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1994 .  }", "answer": "R. Kelly"}, {"question": "What city has a postal code of 2650?", "choices": ["Kingston", "Cork", "Dunedin", "Kilkenny", "Aberdeen", "K\u014dbe", "Liverpool", "Seville", "Wagga Wagga", "Trieste"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "2650"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <postal_code> ?pv . ?pv <pred:value> \"2650\" .  }", "answer": "Wagga Wagga"}, {"question": "Does Winona Ryder or Omar Sharif have the greater height?", "choices": ["Paul Simon", "Richard Gere", "Winona Ryder", "Omar Sharif", "James E. Reilly", "Sylvester Stallone", "Rahul Dev Burman", "David Byrne", "Simon Cowell", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winona Ryder"]}, {"function": "Find", "dependencies": [], "inputs": ["Omar Sharif"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Winona Ryder\" .  } UNION { ?e <pred:name> \"Omar Sharif\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Omar Sharif"}, {"question": "Which area is smaller, Fairfax County or Augusta County?", "choices": ["Albemarle County", "Greene County", "Loudoun County", "Fauquier County", "Prince William County", "Frederick County", "Northampton County", "Fairfax County", "Augusta County", "Henrico County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fairfax County"]}, {"function": "Find", "dependencies": [], "inputs": ["Augusta County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fairfax County\" .  } UNION { ?e <pred:name> \"Augusta County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fairfax County"}, {"question": "What activity is the Netherlands release G-Force based on?", "choices": ["Harry Potter and the Order of the Phoenix", "Hulk", "Batman", "The Lord of the Rings: The Two Towers", "Battleship", "X-Men Origins: Wolverine", "Batman Returns", "G-Force", "Harry Potter and the Half-Blood Prince", "Indiana Jones and the Temple of Doom"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["G-Force"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["activity"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"activity\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"G-Force\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"Netherlands\" .   }", "answer": "G-Force"}, {"question": "When did the city that is the headquarter location of PFC Botev Plovdiv have a population of 333206?", "choices": ["2015-01-01", "1936-01-01", "1986-03-24", "2018-03-31", "2007", "2011", "1991-03-25", "2026", "1917-01-01", "2006-03-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PFC Botev Plovdiv"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "333206", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"PFC Botev Plovdiv\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"333206\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-01-01"}, {"question": "what is Brad Jones and American Football (Green Bay Packer) relations.", "choices": ["manner of death", "member of sports team", "update method", "child", "country of citizenship", "child astronomical body", "diaspora", "official language", "is a list of", "opposite of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brad Jones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Green Bay Packers"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brad Jones\" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> \"American football\" . ?e_2 <pred:name> \"Green Bay Packers\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Is http://www.olivianewton-john.com the official website for the person having the CANTIC-ID a11858576?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11858576"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.olivianewton-john.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a11858576\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.olivianewton-john.com\" .  }", "answer": "yes"}, {"question": "What is the connection between Michael Crichton to University of Chicago?", "choices": ["headquarters location", "partially contains", "replaces", "exclave of", "employer", "candidacy in election", "medical condition", "applies to jurisdiction", "officially opened by", "home venue"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Crichton"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Chicago"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Michael Crichton\" . ?e_2 <pred:name> \"University of Chicago\" . ?e_1 ?p ?e_2 .  }", "answer": "employer"}, {"question": "Which human has interests in political philosophy and has the Amazon author page B000APSVNS?", "choices": ["Max Fleischer", "Karl Popper", "Simon Cowell", "Georg Wilhelm Friedrich Hegel", "William Henry Harrison", "Michel Foucault", "David Byrne", "Richard Gere", "Sylvester Stallone", "Hannah Arendt"], "program": [{"function": "Find", "dependencies": [], "inputs": ["political philosophy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["interests", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Amazon author page", "B000APSVNS"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <interests> ?e_1 . ?e_1 <pred:name> \"political philosophy\" .  ?e <Amazon_author_page> ?pv . ?pv <pred:value> \"B000APSVNS\" .  }", "answer": "Georg Wilhelm Friedrich Hegel"}, {"question": "Does Durban or Carlisle (the one whose elevation (above sea level) is 28 metre) have more people?", "choices": ["Dundee", "Kilkenny", "Durban", "Trieste", "Carlisle", "Cork", "Chihuahua", "Santo Domingo", "Kingston", "Bergen"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Durban"]}, {"function": "Find", "dependencies": [], "inputs": ["Carlisle"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["elevation above sea level", "28 metre", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Durban\" . } UNION { ?e <pred:name> \"Carlisle\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"28\"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Durban"}, {"question": "Which exploitation visa number is assigned to The Guns of Navarone?", "choices": ["127872", "113363", "25195", "55229", "61757", "110982", "116454", "129509", "148922", "132811"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Guns of Navarone"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Guns of Navarone\" . ?e <exploitation_visa_number> ?pv .  }", "answer": "25195"}, {"question": "How many industry are matching the series spin-off of Good Morning America ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Good Morning America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["series spin-off", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> \"Good Morning America\" .   }", "answer": "0"}, {"question": "Who is the person with Twitter username GeorgeStrait?", "choices": ["Sylvester Stallone", "William Henry Harrison", "Anna Faris", "George Martin", "Immanuel Kant", "George Strait", "Bangladesh", "Richard Gere", "Max Fleischer", "Tom DeLonge"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "GeorgeStrait"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"GeorgeStrait\" .  }", "answer": "George Strait"}, {"question": "Is there more area in Amritsar or in Nottingham?", "choices": ["Trieste", "Chihuahua", "Cork", "Bergen", "Dundee", "Kilkenny", "Abidjan", "Santo Domingo", "Amritsar", "Nottingham"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amritsar"]}, {"function": "Find", "dependencies": [], "inputs": ["Nottingham"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amritsar\" .  } UNION { ?e <pred:name> \"Nottingham\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Amritsar"}, {"question": "Does British Museum person-institution # 37710 correspond to someone with ISNI # 0000 0001 2130 0449 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2130 0449"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["British Museum person-institution"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["37710"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2130 0449\" . ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> \"37710\" .  }", "answer": "yes"}, {"question": "South Pacific, published on 1958-01-01, was a recipient at which Academy Awards event?", "choices": ["38th Academy Awards", "Academy Award for Best Sound Mixing", "43rd Academy Awards", "51st Academy Awards", "40th Academy Awards", "85th Academy Awards", "64th Academy Awards", "72nd Academy Awards", "31st Academy Awards", "25th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Pacific"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1958-01-01", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"South Pacific\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1958-01-01\"^^xsd:date .   }", "answer": "31st Academy Awards"}, {"question": "What is the start time for the national university whose headquarter location is Seoul (the postal code of this statement is 151-742) and whose official name is \uad6d\ub9bd\uc11c\uc6b8\ub300\ud559\uad50?", "choices": ["2002-10-30", "2009-11-13", "2004-09-27", "1988", "1946-08-22", "1995-04-20", "1949-10-01", "1994-10-17", "2002-09-10", "1995-09-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seoul"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["postal code", "151-742"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national university"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official name", "\uad6d\ub9bd\uc11c\uc6b8\ub300\ud559\uad50", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national university\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Seoul\" . [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <postal_code> ?qpv_1 . ?qpv_1 <pred:value> \"151-742\" . ?e <official_name> ?pv . ?pv <pred:value> \"\uad6d\ub9bd\uc11c\uc6b8\ub300\ud559\uad50\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1946-08-22"}, {"question": "Whih person was convicted of theft?", "choices": ["Sylvester Stallone", "Phil Spector", "William Henry Harrison", "Adam Horowitz", "Etta James", "PJ Harvey", "Ned Kelly", "DMX", "Richard Gere", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["theft"]}, {"function": "Relate", "dependencies": [0], "inputs": ["convicted of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <convicted_of> ?e_1 . ?e_1 <pred:name> \"theft\" .   }", "answer": "DMX"}, {"question": "How is Sri Lanka related to Asia (the one that is the continent that Mandatory Palestine is located) ?", "choices": ["is a list of", "industry", "derivative work", "enclave within", "film release region", "performer", "manner of death", "continent", "location", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sri Lanka"]}, {"function": "Find", "dependencies": [], "inputs": ["Mandatory Palestine"]}, {"function": "Relate", "dependencies": [1], "inputs": ["continent", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Asia"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sri Lanka\" . ?e_2 <pred:name> \"Asia\" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> \"Mandatory Palestine\" . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "What is the series ordinal of April (the one that follows March)?", "choices": ["53", "15", "36", "39", "8", "74", "4", "109", "37", "51"], "program": [{"function": "Find", "dependencies": [], "inputs": ["March"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["April"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["series ordinal"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"April\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"March\" .  ?e <series_ordinal> ?pv .  }", "answer": "4"}, {"question": "What is the connection between David Foster (the one that was born in United States of America) to physician?", "choices": ["start point", "model item", "architectural style", "place served by transport hub", "award received", "occupation", "interests", "appears in the form of", "enclave within", "month of the year"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Foster"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["physician"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Foster\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"physician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which has fewer employees, Vivendi or Nintendo?", "choices": ["KLM", "Silver Pictures", "Entertainment One", "Pfizer", "Vodafone", "Skidmore Owings Merrill", "Adobe Inc.", "Vivendi", "Nintendo", "Sega"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vivendi"]}, {"function": "Find", "dependencies": [], "inputs": ["Nintendo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Vivendi\" .  } UNION { ?e <pred:name> \"Nintendo\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nintendo"}, {"question": "Was the person with the Instagram username gabunion not born in 1972?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "gabunion"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1972", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"gabunion\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1972 ) .  }", "answer": "no"}, {"question": "What is the language of Illinois State University's official website http://illinoisstate.edu/?", "choices": ["English", "Hindi", "Lithuanian", "Eastern Armenian", "Serbian", "O'odham", "Northern Sotho", "Georgian", "Belgian French", "Canadian English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Illinois State University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://illinoisstate.edu/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Illinois State University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://illinoisstate.edu/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Zip code 10027-6598 matches to which institution of higher learning?", "choices": ["University of Montana", "University of Memphis", "Trinity College", "Colorado College", "Grinnell College", "Denison University", "Barnard College", "Royal College of Music", "Loyola Marymount University", "University of Chicago"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "10027-6598"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <postal_code> ?pv . ?pv <pred:value> \"10027-6598\" .  }", "answer": "Barnard College"}, {"question": "When did Stockton-on-Tees whose FIPS 10-4 (countries and regions) is UKN3 have a population of 194800?", "choices": ["1989-03-29", "2010-12-15", "1999-09-15", "2015-10-21", "2009-03-01", "2015-07-01", "1967", "1975-05-01", "2004-02-29", "1801"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stockton-on-Tees"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "UKN3"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "194800", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Stockton-on-Tees\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"UKN3\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"194800\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015-07-01"}, {"question": "Yankees is the Twitter handle of how many baseball clubs?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Yankees"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Yankees\" .  }", "answer": "1"}, {"question": "When did the person who was born in Jamaica (the one that is the origin country of ambient music) die?", "choices": ["1973-10-10", "2016-06-23", "1723-02-25", "2001-09-11", "1900-08-25", "2017-01-28", "2016-03-08", "1988-02-05", "1990-01-01", "2003-03-05"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ambient music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jamaica"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Jamaica\" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> \"ambient music\" .  ?e <date_of_death> ?pv .  }", "answer": "2001-09-11"}, {"question": "What is the area for the U.S. city that is the birthplace of Ben Gibbard?", "choices": ["83.140067 square kilometre", "214970 square kilometre", "139390.0 square kilometre", "29 square kilometre", "94163 square kilometre", "25809 square kilometre", "8148250 square kilometre", "32800.69 square kilometre", "10416 square kilometre", "491210.0 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ben Gibbard"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Ben Gibbard\" .  ?e <area> ?pv .  }", "answer": "83.140067 square kilometre"}, {"question": "How many 3D films are distributed in Syria or have a release date that is before 2010?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Syria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film distribute region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2010", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["3D film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" .  { ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> \"Syria\" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  } }", "answer": "1"}, {"question": "What is the founding date of the university in Charlotte (official website www.charmeck.org)?", "choices": ["1603", "1067", "1778", "1832-01-01", "1846-06-09", "1792", "1946-01-01", "1899-09-21", "1807", "1836-01-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlotte"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.charmeck.org"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Charlotte\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.charmeck.org\" . ?e <inception> ?pv .  }", "answer": "1946-01-01"}, {"question": "What television series has the title of Paris?", "choices": ["Robot Chicken", "Game of Thrones", "Angels in America", "Paris", "One Life to Live", "Superman", "Watchmen", "Girls", "American Horror Story", "Bleak House"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Paris"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <title> ?pv . ?pv <pred:value> \"Paris\" .  }", "answer": "Paris"}, {"question": "When did Sarah Palin start her education at the University of Idaho?", "choices": ["1809-03-04", "1975-11-07", "1688", "1986", "1889-04-20", "1867-01-01", "2014-05-11", "1877", "1955-12-01", "1972-12-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sarah Palin"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Idaho"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sarah Palin\" . ?e_2 <pred:name> \"University of Idaho\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1986"}, {"question": "Which has the most area among the Massachusetts counties that border Plymouth County which contains the administrative division Brockton?", "choices": ["Franklin County", "Bristol County", "Suffolk County", "Berkshire County", "Middlesex County", "Worcester County", "Barnstable County", "Plymouth County", "Hampshire County", "Norfolk County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brockton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Plymouth County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Massachusetts"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Massachusetts\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Plymouth County\" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Brockton\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Barnstable County"}, {"question": "Is the episode count higher for Atlanta (titled Atlanta) or Downton Abbey, a Primetime Emmy nominee for Outstanding Supporting Actress in a Drama Series?", "choices": ["Seinfeld", "Bleak House", "Atlanta", "Game of Thrones", "Downton Abbey", "American Horror Story", "Robot Chicken", "Saturday Night's Main Event", "Phineas and Ferb", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Atlanta"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Atlanta"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Downton Abbey"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Atlanta\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Atlanta\" . } UNION { ?e <pred:name> \"Downton Abbey\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Downton Abbey"}, {"question": "What is the time point of its life expectancy of 58.485 years, for the sovereign state that is imported from Iran?", "choices": ["2018", "1453-12-01", "2017-11-30", "1930-12-31", "1940-04-01", "2000", "1500-01-01", "2011-07-01", "1846", "1871-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iran"]}, {"function": "Relate", "dependencies": [0], "inputs": ["exported to", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["life expectancy", "58.485 year", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <exported_to> ?e . ?e_1 <pred:name> \"Iran\" .  ?e <life_expectancy> ?pv . ?pv <pred:unit> \"year\" . ?pv <pred:value> \"58.485\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2000"}, {"question": "Which Lily Tomlin project earned her an Academy Award for Best Supporting Actress?", "choices": ["James Dean", "The Ghost Writer", "Nashville", "The Westerner", "Sherlock", "Murder One", "Kick-Ass", "A Farewell to Arms", "Smoke", "Lorenzo's Oil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lily Tomlin"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Lily Tomlin\" . ?e_2 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Nashville"}, {"question": "How is Nijmegen related to Gelderland?", "choices": ["owner of", "film crew member", "located in the administrative territorial entity", "practiced by", "winner", "head coach", "doctoral advisor", "educated at", "allegiance", "takes place in fictional universe"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nijmegen"]}, {"function": "Find", "dependencies": [], "inputs": ["Gelderland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nijmegen\" . ?e_2 <pred:name> \"Gelderland\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "What town, whose TOID is 4000000074552364 (a human settlement), is the birthplace of Joe Jackson (famous for the saxophone)?", "choices": ["Royal Tunbridge Wells", "Wigan", "Macclesfield", "South Shields", "Blackburn", "Doncaster", "Wimbledon", "Edmonton", "Colchester", "Burton upon Trent"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074552364"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["subject has role", "human settlement"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["town"]}, {"function": "Find", "dependencies": [], "inputs": ["saxophone"]}, {"function": "Relate", "dependencies": [4], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Jackson"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "Relate", "dependencies": [7], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [8], "inputs": ["town"]}, {"function": "And", "dependencies": [3, 9], "inputs": []}, {"function": "What", "dependencies": [10], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074552364\" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv . ?qpv <pred:value> \"human settlement\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Joe Jackson\" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> \"saxophone\" .  }", "answer": "Burton upon Trent"}, {"question": "What does the job of actor have to do with the Virgin Mary?", "choices": ["studies", "color", "approved by", "commander of", "eye color", "item operated", "art director", "head coach", "takes place in fictional universe", "properties for this type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "Find", "dependencies": [], "inputs": ["Virgin Mary"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"actor\" . ?e_2 <pred:name> \"Virgin Mary\" . ?e_1 ?p ?e_2 .  }", "answer": "properties for this type"}, {"question": "Which one has more population between, Lansing and Council Bluffs?", "choices": ["Lansing", "New Haven", "Boulder", "Greenville", "Oakland", "Compton", "Franklin", "New Britain", "Columbus", "Council Bluffs"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lansing"]}, {"function": "Find", "dependencies": [], "inputs": ["Council Bluffs"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lansing\" .  } UNION { ?e <pred:name> \"Council Bluffs\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Lansing"}, {"question": "Which has the most area among the Michigan counties whose population is not 5600?", "choices": ["Marquette County", "Saginaw County", "Oakland County", "Jackson County", "Berrien County", "Washtenaw County", "Macomb County", "Livingston County", "Tuscola County", "Clinton County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5600", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5600\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Marquette County"}, {"question": "Among the independent city of Germany with less than 760000 square kilometre area, Which had the largest elevation above sea level?", "choices": ["Crunk", "Gold Medal of the Royal Astronomical Society", "Max Casella", "X-Men: The Last Stand", "Weimar", "Frankfurt (Oder)", "Baden-Baden", "Central Intelligence Agency", "Bayreuth", "Coburg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "760000 square kilometre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"760000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "What is Ron Paul's Twitter username?", "choices": ["RonPaul", "MillwallFC", "StPeteFL", "clydefc", "Microsoft", "wilw", "HAC_Foot", "bfc_official", "chrisweitz", "LeoDiCaprio"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ron Paul"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Ron Paul\" . ?e <Twitter_username> ?pv .  }", "answer": "RonPaul"}, {"question": "What is the connection between Eragon (the one that has Sienna Guillory as a cast member) to Sienna Guillory?", "choices": ["mascot", "kit supplier", "cast member", "narrator", "distribution", "developer", "field of this occupation", "natural product of taxon", "enclave within", "replaces"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sienna Guillory"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Eragon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sienna Guillory"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Eragon\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Sienna Guillory\" . ?e_2 <pred:name> \"Sienna Guillory\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many private not-for-profit educational institutions have an inception time before 1946 or have the country of the United States of America?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1946", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["private not-for-profit educational institution"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["private not-for-profit educational institution"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"private not-for-profit educational institution\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1946 ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } }", "answer": "10"}, {"question": "What is the connection between Ernest Rutherford to Copley Medal?", "choices": ["office held by head of the organisation", "award received", "place of death", "symptom of", "statistical leader", "capital", "use", "voice actor", "opposite of", "start point"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ernest Rutherford"]}, {"function": "Find", "dependencies": [], "inputs": ["Copley Medal"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ernest Rutherford\" . ?e_2 <pred:name> \"Copley Medal\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Is Marcia Gay Harden's Twitter username torontofc?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marcia Gay Harden"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["torontofc"]}], "sparql": "ASK { ?e <pred:name> \"Marcia Gay Harden\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"torontofc\" .  }", "answer": "no"}, {"question": "How was a ranking of 32 determined for the national association football team whose official website is http://www.femexfut.org.mx/#/ ?", "choices": ["tradition", "average", "population projection", "FIFA World Rankings", "Yemen General Census of Population, Housing and Establishments 2004", "resident registration", "rated voltage", "United Kingdom Census 2001", "2000 United States Census", "de jure"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.femexfut.org.mx/#/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["ranking", "32", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.femexfut.org.mx/#/\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"32\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the ISNI of Carlos Ruiz (the one that was born in Buenos Aires)?", "choices": ["0000 0001 2099 3562", "0000 0000 8106 2879", "0000 0001 1025 3245", "0000 0000 5938 6340", "0000 0004 0500 1061", "0000 0000 7823 6727", "0000 0001 2102 2127", "0000 0000 6308 883X", "0000 0000 6028 1191", "0000 0001 0945 500X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Buenos Aires"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Carlos Ruiz"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Carlos Ruiz\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Buenos Aires\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0000 6028 1191"}, {"question": "When did the person born on  1908-04-02 die?", "choices": ["1871-04-23", "2018-09-06", "2003-06-27", "1994-09-09", "1979-06-01", "1973-11-19", "1971-01-05", "1984-08-05", "1949-04-15", "1980-10-04"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1908-04-02", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1908-04-02\"^^xsd:date . ?e <date_of_death> ?pv .  }", "answer": "1973-11-19"}, {"question": "Who studied at the higher education institution designated by ISNI 0000 0001 2301 338X?", "choices": ["Walter Matthau", "Jack Kerouac", "Robert Bolt", "John Lennon", "Norah Jones", "Hugh Bonneville", "Paul Winchell", "Scott Adsit", "Ming-Na Wen", "Craig Thomas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2301 338X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"higher education institution\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2301 338X\" .   }", "answer": "Scott Adsit"}, {"question": "What place has a larger area, Warsaw or Toronto?", "choices": ["Kingston", "Bergen", "Trieste", "Abidjan", "Cork", "Santo Domingo", "Warsaw", "Chihuahua", "Dundee", "Toronto"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warsaw"]}, {"function": "Find", "dependencies": [], "inputs": ["Toronto"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Warsaw\" .  } UNION { ?e <pred:name> \"Toronto\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Toronto"}, {"question": "What is the subject of this statement: \"United States of America shares border with Dominican Republic\"?", "choices": ["Greece\u2013Turkey border", "Bahrain\u2013Saudi Arabia border", "New Zealand\u2013Taiwan relations", "Mali\u2013Russia relations", "Pakistan\u2013European Union relations", "Denmark\u2013Lithuania relations", "Dominican Republic\u2013United States border", "20th Tony Awards", "53rd Academy Awards", "North Korea\u2013South Korea border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Find", "dependencies": [], "inputs": ["Dominican Republic"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Dominican Republic\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Dominican Republic\u2013United States border"}, {"question": "What is the ISCO occupation code of Tim Blake Nelson's occupation?", "choices": ["215", "2455", "2451", "5141", "2432", "243", "5151", "3472", "2631", "1229"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tim Blake Nelson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["occupation"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISCO occupation code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Tim Blake Nelson\" .  ?e <ISCO_occupation_code> ?pv .  }", "answer": "2451"}, {"question": "What is the beginning date that Caen is the twinned administrative body of Alexandria (that is a part of the Washington metropolitan area)?", "choices": ["2010-02-17", "2005-03-27", "1994-11-03", "1822-01-11", "2006-01-24", "1995-10-07", "1964-01-21", "1991-01-01", "1992-07-31", "1789-11-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caen"]}, {"function": "Find", "dependencies": [], "inputs": ["Washington metropolitan area"]}, {"function": "Relate", "dependencies": [1], "inputs": ["has part", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexandria"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Caen\" . ?e_2 <pred:name> \"Alexandria\" . ?e_3 <has_part> ?e_2 . ?e_3 <pred:name> \"Washington metropolitan area\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "How many matches are played/raced/started by John Spencer (who is a teammate of Sheffield United F.C.) as a member of Sheffield United F.C.?", "choices": ["255", "213", "31", "153", "35", "278", "46", "164", "24", "127"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheffield United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Spencer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sheffield United F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Spencer\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"Sheffield United F.C.\" . ?e_2 <pred:name> \"Sheffield United F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "24"}, {"question": "Which person of American Jewish ethnicity studied at the University of Pittsburgh?", "choices": ["Amy Grant", "John Irving", "James Bond", "Frank Loesser", "Robert Smigel", "Darren Aronofsky", "Garry Shandling", "Michael Chabon", "Stephen Dorff", "Ron Paul"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Jews"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Pittsburgh"]}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"American Jews\" .  ?e <educated_at> ?e_2 . ?e_2 <pred:name> \"University of Pittsburgh\" .  }", "answer": "Michael Chabon"}, {"question": "George Washington, who took part in the First Continental Congress, has what connection to Westmoreland County, population 364466?", "choices": ["location of final assembly", "license", "educated at", "has part", "facet of", "military rank", "fictional universe described in", "place of burial", "doctoral student", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["First Continental Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Westmoreland County"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "364466", "="]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Washington\" . ?e_3 <participant> ?e_1 . ?e_3 <pred:name> \"First Continental Congress\" . ?e_2 <pred:name> \"Westmoreland County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"364466\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Tell me when Lon Chaney Jr. was born.", "choices": ["1948-03-17", "1946-11-17", "1896-05-30", "1979-01-10", "1959-12-24", "1946-10-27", "1906-02-10", "1982-10-10", "1895-04-06", "1940-05-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lon Chaney Jr."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lon Chaney Jr.\" . ?e <date_of_birth> ?pv .  }", "answer": "1906-02-10"}, {"question": "What is the connection between French Polynesia to Oceania?", "choices": ["has dialect (DEPRECATED)", "officially opened by", "significant person", "founded by", "convicted of", "godparent", "substitute/deputy/replacement of office/officeholder", "contains settlement", "penalty", "continent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French Polynesia"]}, {"function": "Find", "dependencies": [], "inputs": ["Oceania"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"French Polynesia\" . ?e_2 <pred:name> \"Oceania\" . ?e_1 ?p ?e_2 .  }", "answer": "continent"}, {"question": "What is the official website of the film production company that broadcasts Weeds starring Julie Bowen?", "choices": ["http://www.irrfan.com", "http://www.deankoontz.com/", "http://www.las-cruces.org", "http://www.simpsonsworld.com", "http://www.calstatela.edu", "http://www.mayococo.ie", "https://www.microsoft.com/tr-tr/windows", "http://www.sho.com/", "http://stephenking.com/library/novel/carrie.html", "http://myweekwithmarilynmovie.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Julie Bowen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Weeds"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["original network", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film production company"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film production company\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Weeds\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Julie Bowen\" .  ?e <official_website> ?pv .  }", "answer": "http://www.sho.com/"}, {"question": "What is the place of publication in the Austin region for the visual artwork whose release date is 2010-04-22?", "choices": ["Poland", "Germany", "Jordan", "Austin", "Tribeca Film Festival", "Sorrento", "North America", "Greek Theatre, Los Angeles", "Sydney", "El Capitan Theatre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Austin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-04-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Austin\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2010-04-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How was the figure of 3392 out-of-school children arrived at for Cyprus, where the rate of inflation is 2.8 percent?", "choices": ["national estimation", "census", "Canada 2011 Census", "administrative division valid at the moment of publication", "Yemen General Census of Population, Housing and Establishments 2004", "hearth tax", "Address Based Population Registration System", "questionnaire", "tradition", "demographic balance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cyprus"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "2.8 percentage", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["number of out-of-school children", "3392", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cyprus\" . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> \"percentage\" . ?pv_1 <pred:value> \"2.8\"^^xsd:double . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3392\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "national estimation"}, {"question": "Does John Powell, who was nominated for Academy Award for Best Original Score, or Gillian Anderson have a greater number of children?", "choices": ["Richard Gere", "Sylvester Stallone", "Gillian Anderson", "William Henry Harrison", "David Byrne", "John Powell", "Simon Cowell", "Max Fleischer", "Rahul Dev Burman", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Powell"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gillian Anderson"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"John Powell\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Original Score\" .   } UNION { ?e <pred:name> \"Gillian Anderson\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gillian Anderson"}, {"question": "What is the number of language families that have the Glottolog code aust1309 or are the original language of Kundun?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Glottolog code", "aust1309"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language family"]}, {"function": "Find", "dependencies": [], "inputs": ["Kundun"]}, {"function": "Relate", "dependencies": [3], "inputs": ["original language of film or TV show", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language family"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language family\" .  { ?e <Glottolog_code> ?pv . ?pv <pred:value> \"aust1309\" .  } UNION { ?e_1 <original_language_of_film_or_TV_show> ?e . ?e_1 <pred:name> \"Kundun\" .  } }", "answer": "2"}, {"question": "What association football club has official website http://www.fckarpaty.lviv.ua/ and is headquartered in Lviv?", "choices": ["Rochester Rhinos", "Brisbane Roar FC", "FC Karpaty Lviv", "C.F. Os Belenenses", "Middlesbrough F.C.", "S.C. Braga", "Hibernian F.C.", "Zamalek SC", "Preston North End F.C.", "Stade Brestois 29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fckarpaty.lviv.ua/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Lviv"]}, {"function": "Relate", "dependencies": [3], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fckarpaty.lviv.ua/\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Lviv\" .  }", "answer": "FC Karpaty Lviv"}, {"question": "What is the development date for Beauty and the Beast whose official website is http://www.cwtv.com/shows/beauty-and-the-beast?", "choices": ["2013-10-04", "2012-06-13", "1963-10-29", "1862-10-20", "2012-10-11", "1902-06-16", "1919-08-08", "1975-01-23", "1936-02-19", "2010-08-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Beauty and the Beast"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cwtv.com/shows/beauty-and-the-beast"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Beauty and the Beast\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cwtv.com/shows/beauty-and-the-beast\" . ?e <start_time> ?pv .  }", "answer": "2012-10-11"}, {"question": "Which US city has an area larger than 50 square miles?", "choices": ["Gadsden", "Longview", "Moscow", "Westmoreland County", "Winston-Salem", "Haverhill", "Shanxi", "Durham", "Rockville", "Bradford"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "50 square mile", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <area> ?pv . ?pv <pred:unit> \"square mile\" . ?pv <pred:value> ?v . FILTER ( ?v > \"50\"^^xsd:double ) .  }", "answer": "Longview"}, {"question": "Is 35398 the WOEID of Truro?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Truro"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["WOEID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["35398"]}], "sparql": "ASK { ?e <pred:name> \"Truro\" . ?e <WOEID> ?pv . ?pv <pred:value> \"35398\" .  }", "answer": "no"}, {"question": "Which movie is shorter, The Soloist or David Copperfield (the one that has Daniel Radcliffe as a cast member)?", "choices": ["The Towering Inferno", "Curse of the Golden Flower", "Talk to Her", "The Fifth Element", "David Copperfield", "The Soloist", "Training Day", "A Prairie Home Companion", "Rebecca", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Soloist"]}, {"function": "Find", "dependencies": [], "inputs": ["Daniel Radcliffe"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["David Copperfield"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Soloist\" .  } UNION { ?e <pred:name> \"David Copperfield\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Daniel Radcliffe\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Soloist"}, {"question": "Among the independent cities that share a border with York County (the one that shares border with Williamsburg), which one has the largest area?", "choices": ["Newport News", "Falls Church", "Hampton", "Fairfax", "Winchester", "Danville", "Charlottesville", "Williamsburg", "Roanoke", "Suffolk"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Williamsburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["York County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"York County\" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Williamsburg\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hampton"}, {"question": "What connection Ja Rule got with United States of America?", "choices": ["member of", "office held by head of the organisation", "country of citizenship", "official religion", "narrator", "platform", "family", "original network", "work location", "named after"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ja Rule"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ja Rule\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What person is a cast member of Red Dragon (whose runtime is 124 minutes) and was nominated for a Tony Award for Best Actress in a Play at the 44th Tony Awards?", "choices": ["James E. Reilly", "William Henry Harrison", "Richard Gere", "Sylvester Stallone", "Paul Simon", "David Byrne", "Simon Cowell", "Max Fleischer", "Rahul Dev Burman", "Mary-Louise Parker"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Dragon"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "124 minute", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actress in a Play"]}, {"function": "Relate", "dependencies": [4], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [5], "inputs": ["statement is subject of", "44th Tony Awards"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 7], "inputs": []}, {"function": "What", "dependencies": [8], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Red Dragon\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"124\"^^xsd:double .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> \"Tony Award for Best Actress in a Play\" . [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"44th Tony Awards\" .  }", "answer": "Mary-Louise Parker"}, {"question": "What is the connection between William B. Davis to London Academy of Music and Dramatic Art?", "choices": ["executive producer", "item operated", "sibling", "symptoms", "writing system", "religion", "programming paradigm", "participant", "educated at", "official color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William B. Davis"]}, {"function": "Find", "dependencies": [], "inputs": ["London Academy of Music and Dramatic Art"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"William B. Davis\" . ?e_2 <pred:name> \"London Academy of Music and Dramatic Art\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "What person received the award for the 2003 Sports Illustrated Sportsperson of the Year?", "choices": ["Kareem Abdul-Jabbar", "Sylvester Stallone", "Diane Keaton", "Michael Jordan", "William Henry Harrison", "Tim Duncan", "Elvis Costello", "Max Fleischer", "Richard Gere", "LeBron James"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sports Illustrated Sportsperson of the Year"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Sports Illustrated Sportsperson of the Year\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2003 .  }", "answer": "Tim Duncan"}, {"question": "what is the number of mythical creatures that use language Hungarian or have an iconclass notation of 13D211", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hungarian"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mythical creature"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Iconclass notation", "13D211"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["mythical creature"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mythical creature\" .  { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"Hungarian\" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"13D211\" .  } }", "answer": "1"}, {"question": "The website storarovittorio.com represents the director of photography on how many miniseries ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://storarovittorio.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director of photography", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["miniseries"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://storarovittorio.com/\" .   }", "answer": "1"}, {"question": "How many children does Sam Raimi have?", "choices": ["20", "11", "10", "3 son", "3", "4", "8", "5", "2 daughter", "0"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sam Raimi"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["number of children"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Sam Raimi\" . ?e <number_of_children> ?pv .  }", "answer": "5"}, {"question": "What is the title of the visual artwork with the official website of website is http://www.cameroncrowe.com/eyes_ears/films/almostfamous/almostfamous_overview.html?", "choices": ["Algiers", "Almost Famous", "The New York Times", "\u0414\u0436\u043e\u043a\u043e\u043d\u0434\u0430", "Moonstruck", "The Happening", "The Verdict", "Young Frankenstein", "The Aristocrats", "Fame"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.cameroncrowe.com/eyes_ears/films/almostfamous/almostfamous_overview.html"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.cameroncrowe.com/eyes_ears/films/almostfamous/almostfamous_overview.html\" . ?e <title> ?pv .  }", "answer": "Almost Famous"}, {"question": "Which island has the largest area in Europe?", "choices": ["Great Britain", "Long Island", "Tasmania", "Trinidad", "Hawaii", "Iceland", "Puerto Rico", "Ireland", "Cyprus", "Newfoundland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Europe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["island"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"island\" . ?e <continent> ?e_1 . ?e_1 <pred:name> \"Europe\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Great Britain"}, {"question": "What is the date of death for the individual with an ISNI of 0000 0000 0071 9841?", "choices": ["2017-09-13", "1964-03-23", "1987-12-01", "2004-07-01", "2014-12-31", "1868-11-13", "1901-01-27", "2018-06-27", "1962-11-18", "1846-09-15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0071 9841"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 0071 9841\" . ?e <date_of_death> ?pv .  }", "answer": "2017-09-13"}, {"question": "Of French regions with a population size different from 950000, which has the lowest number of weddings per year?", "choices": ["Conspiracy Theory", "Martinique", "Podlaskie Voivodeship", "Manisha Koirala", "Normandy", "Vivendi", "St Helens", "Brittany", "college rock", "Corsica"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "950000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of France"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["annual number of weddings", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of France\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"950000\"^^xsd:double ) . ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Martinique"}, {"question": "What is the connection between Central Java to Java (the one whose ISO 3166-2 code is ID-JW)?", "choices": ["candidacy in election", "cast member", "league", "head of government", "public holiday", "quotes work", "member of political party", "located in the administrative territorial entity", "afflicts", "stated in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Central Java"]}, {"function": "Find", "dependencies": [], "inputs": ["Java"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISO 3166-2 code", "ID-JW"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Central Java\" . ?e_2 <pred:name> \"Java\" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> \"ID-JW\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "Of feature films with a story set in the Paris where Henri Bergson was born, which has the shortest run-time?", "choices": ["The Muppets", "John Carter", "G-Force", "National Treasure: Book of Secrets", "The Flintstones", "Old Dogs", "The Flintstones in Viva Rock Vegas", "Alvin and the Chipmunks: Chipwrecked", "Holes", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Henri Bergson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["feature film"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Paris\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Henri Bergson\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Muppets"}, {"question": "The Smurfs, released in Lithuania, were published in which location on 2011-08-04?", "choices": ["Germany", "Tribeca Film Festival", "Mexico", "Turkey", "Israel", "Sweden", "Panama", "Greece", "Chicago", "Seattle International Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lithuania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Smurfs"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2011-08-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Smurfs\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Lithuania\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2011-08-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many types of music are either a part of rock music or have New Wave British Heavy Metal as a part?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "Find", "dependencies": [], "inputs": ["New Wave of British Heavy Metal"]}, {"function": "Relate", "dependencies": [3], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> \"rock music\" .  } UNION { ?e_1 <part_of> ?e . ?e_1 <pred:name> \"New Wave of British Heavy Metal\" .  } }", "answer": "1"}, {"question": "Which human is a cast member and director of Garden State?", "choices": ["Natalie Portman", "Max Fleischer", "David Byrne", "Rahul Dev Burman", "Zach Braff", "Sylvester Stallone", "Peter Sarsgaard", "William Henry Harrison", "Richard Gere", "Method Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Garden State"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Garden State"]}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"Garden State\" .  ?e_2 <director> ?e . ?e_2 <pred:name> \"Garden State\" .  }", "answer": "Zach Braff"}, {"question": "At what point in time did \u014csaka Prefecture become the twinned administrative body of Queensland?", "choices": ["1988-05-04", "2008-09-21", "1929-03-04", "1933-01-01", "1997-06-19", "2017-11-10", "1855", "1946-07-04", "1978-04-02", "1970-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u014csaka Prefecture"]}, {"function": "Find", "dependencies": [], "inputs": ["Queensland"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"\u014csaka Prefecture\" . ?e_2 <pred:name> \"Queensland\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1988-05-04"}, {"question": "Was Bravo which originally broadcasted Project Runway established after 1962?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Project Runway"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bravo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1962", ">"]}], "sparql": "ASK { ?e <pred:name> \"Bravo\" . ?e_1 <original_network> ?e . ?e_1 <pred:name> \"Project Runway\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1962 ) .  }", "answer": "yes"}, {"question": "Is the duration of the visual artwork whose official website is http://www.moonrisekingdom.com less than 520 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.moonrisekingdom.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["520 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.moonrisekingdom.com\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"520\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Does the film with official website http://www.focusfeatures.com/pride_and_prejudice has less than 260 minute running time?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.focusfeatures.com/pride_and_prejudice"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["260 minute", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.focusfeatures.com/pride_and_prejudice\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v < \"260\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "How is Poltergeist, released in the Netherlands, related to Craig T. Nelson?", "choices": ["affiliation", "head of state", "connects with", "feast day", "uses", "costume designer", "narrative location", "has parts of the class", "highest judicial authority", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Netherlands"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Poltergeist"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Craig T. Nelson"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Poltergeist\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Netherlands\" . ?e_2 <pred:name> \"Craig T. Nelson\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many Michigan counties are in the sovereign state that is the origin country of Dynasty (which has Heather Locklear as a cast member)?", "choices": ["12", "13", "14", "15", "16", "17", "18", "19", "20", "21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heather Locklear"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dynasty"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [5], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["county of Michigan"]}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> \"Dynasty\" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> \"Heather Locklear\" .   }", "answer": "16"}, {"question": "How many secondary schools were not founded in 1938?", "choices": ["6", "7", "8", "9", "10", "11", "12", "13", "14", "15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1938", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["secondary school"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"secondary school\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1938 ) .  }", "answer": "12"}, {"question": "What is the native language name of the person whose birth name is Jesse Louis Lasky?", "choices": ["Elisabeth Moss", "Jesse Louis Lasky", "Boris Karloff", "Sofia Coppola", "Peter Cullen", "\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u044a \u0421\u0435\u0440\u0433\u0463\u0435\u0432\u0438\u0447\u044a \u041f\u0443\u0448\u043a\u0438\u043d\u044a", "John Powell", "Bill Clinton", "Yul Brynner", "Adolf Hitler"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Jesse Louis Lasky"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Jesse Louis Lasky\" . ?e <name_in_native_language> ?pv .  }", "answer": "Jesse Louis Lasky"}, {"question": "Who was born in Montana having narrative location of Legends of the Fall?", "choices": ["David Byrne", "Simon Cowell", "Irene Lentz", "Dan Wilson", "Rahul Dev Burman", "Carol Burnett", "Max Fleischer", "Richard Gere", "William Henry Harrison", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Legends of the Fall"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Montana"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Montana\" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> \"Legends of the Fall\" .   }", "answer": "Irene Lentz"}, {"question": "How many saxophones' Hornbostel-Sachs classification is 422.212-71 and famous person is John Coltrane?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "422.212-71"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["saxophone"]}, {"function": "Find", "dependencies": [], "inputs": ["John Coltrane"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["saxophone"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"saxophone\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"422.212-71\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"John Coltrane\" .  }", "answer": "2"}, {"question": "How is The Lady produced by Joseph M. Schenck related to Frances Marion?", "choices": ["nutrient", "has cause", "filmography", "conferred by", "genre", "replaces", "followed by", "screenwriter", "award received", "located in the administrative territorial entity"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph M. Schenck"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lady"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Frances Marion"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Lady\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"Joseph M. Schenck\" . ?e_2 <pred:name> \"Frances Marion\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "Which time travel movie has the shortest run-time?", "choices": ["Training Day", "A Prairie Home Companion", "The Terminator", "The Butterfly Effect", "Talk to Her", "The Fifth Element", "Terminator Salvation", "Rebecca", "The Towering Inferno", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["time travel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["uses", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <uses> ?e_1 . ?e_1 <pred:name> \"time travel\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Terminator"}, {"question": "What is the number in the calendar series of the month preceding January?", "choices": ["2", "34", "95", "12", "33", "44", "39", "556", "23", "19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["January"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["calendar month"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["series ordinal"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"calendar month\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"January\" .  ?e <series_ordinal> ?pv .  }", "answer": "12"}, {"question": "When was Jurassic Park (the one that is released for Nintendo Entertainment System) published?", "choices": ["2004-12-25", "2007-08-16", "2008-12-25", "1993-12-28", "2005-04-28", "1975-09-25", "2008-11-04", "2012-06-05", "2008-04-04", "2000-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo Entertainment System"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jurassic Park"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jurassic Park\" . ?e <platform> ?e_1 . ?e_1 <pred:name> \"Nintendo Entertainment System\" .  ?e <publication_date> ?pv .  }", "answer": "1993-12-28"}, {"question": "Since when was Louis XIV of France the 'owner' of Melancholia (established in 1700) ?", "choices": ["1835-06-02", "1685", "1969-01-01", "1983-08-09", "1494-01-01", "2005-01-17", "2005-08-17", "1993-07-01", "1955-10-03", "1960-08-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Melancholia"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1700", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Louis XIV of France"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["owned by", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Melancholia\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1700 . ?e_2 <pred:name> \"Louis XIV of France\" . ?e_1 <owned_by> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1685"}, {"question": "How many film festivals are located in South Carolina?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Carolina"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film festival"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film festival\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"South Carolina\" .   }", "answer": "0"}, {"question": "Which movie released in 1963 is a Toei Company production?", "choices": ["Tom Jones", "The Nutty Professor", "Rebecca", "13 Assassins", "Dragon Ball Z: Dead Zone", "A Prairie Home Companion", "Pleasantville", "The Birds", "Talk to Her", "Dr. No"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1963", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Find", "dependencies": [], "inputs": ["Toei Company"]}, {"function": "Relate", "dependencies": [3], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:year> 1963 . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Toei Company\" .  }", "answer": "13 Assassins"}, {"question": "Which city is, since 2009, the twinned administrative body of Dresden (the one whose inception time is 1206)?", "choices": ["Cork", "Skopje", "Kingston", "Bergen", "Coventry", "Rotterdam", "Abidjan", "Trieste", "Hangzhou", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dresden"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1206", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "backward"]}, {"function": "QFilterYear", "dependencies": [2], "inputs": ["start time", "2009", "="]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["city"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Dresden\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1206 .  [ <pred:fact_h> ?e ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2009 .  }", "answer": "Hangzhou"}, {"question": "Of the California counties that do not have a population of 2.5, which covers the smallest area of space?", "choices": ["Santa Cruz County", "Imperial County", "Sacramento County", "Fresno County", "Tulare County", "Marin County", "Monterey County", "San Bernardino County", "San Diego County", "San Mateo County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2.5", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"2.5\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Does Libya have less than 6100000000 people (the point in time of this statement is 2010)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Libya"]}, {"function": "QueryAttrUnderCondition", "dependencies": [0], "inputs": ["population", "point in time", "2010"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["6100000000", "<"]}], "sparql": "ASK { ?e <pred:name> \"Libya\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"6100000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .  }", "answer": "yes"}, {"question": "What is the connection between Confederate States of America to George Washington (the one that is the participant of First Continental Congress)?", "choices": ["subject has role", "has quality", "twinned administrative body", "conferred by", "named after", "place of death", "does not have part", "position played on team / speciality", "dialect of", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Confederate States of America"]}, {"function": "Find", "dependencies": [], "inputs": ["First Continental Congress"]}, {"function": "Relate", "dependencies": [1], "inputs": ["participant", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Washington"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Confederate States of America\" . ?e_2 <pred:name> \"George Washington\" . ?e_3 <participant> ?e_2 . ?e_3 <pred:name> \"First Continental Congress\" . ?e_1 ?p ?e_2 .  }", "answer": "official symbol"}, {"question": "Which has a lesser area, Warsaw or Trondheim?", "choices": ["Kingston", "Trieste", "Santo Domingo", "Abidjan", "Cork", "Dundee", "Trondheim", "Chihuahua", "Bergen", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warsaw"]}, {"function": "Find", "dependencies": [], "inputs": ["Trondheim"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Warsaw\" .  } UNION { ?e <pred:name> \"Trondheim\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Trondheim"}, {"question": "How many basketball teams have a Tel Aviv location and an official gray color?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tel Aviv"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "Find", "dependencies": [], "inputs": ["gray"]}, {"function": "Relate", "dependencies": [3], "inputs": ["official color", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["basketball team"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Tel Aviv\" .  ?e <official_color> ?e_2 . ?e_2 <pred:name> \"gray\" .  }", "answer": "0"}, {"question": "What is the connection between George Seaton to South Bend?", "choices": ["head coach", "place of birth", "winner", "operating system", "practiced by", "presenter", "inspired by", "shares border with", "sports season of league or competition", "architect"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Seaton"]}, {"function": "Find", "dependencies": [], "inputs": ["South Bend"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Seaton\" . ?e_2 <pred:name> \"South Bend\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "How is the Pomeranian Voivodeship related to Shanghai (the one whose detail map is Shanghai administrative.png)?", "choices": ["manufacturer", "winner", "twinned administrative body", "set in period", "place of publication", "work location", "contains administrative territorial entity", "killed by", "capital", "original film format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pomeranian Voivodeship"]}, {"function": "Find", "dependencies": [], "inputs": ["Shanghai"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["detail map", "Shanghai administrative.png"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pomeranian Voivodeship\" . ?e_2 <pred:name> \"Shanghai\" . ?e_2 <detail_map> ?pv . ?pv <pred:value> \"Shanghai administrative.png\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "How is The Pianist (the one whose publication date is 2002-05-24) related to Bermuda?", "choices": ["voice type", "official language", "designed to carry", "publisher", "position played on team / speciality", "cause of death", "captain", "donated by", "record label", "film release region"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Pianist"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2002-05-24", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Bermuda"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Pianist\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2002-05-24\"^^xsd:date . ?e_2 <pred:name> \"Bermuda\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Where was the visual artwork whose review score is 30/100 (the reviewer of this statement is Metacritic), published on 2004-08-26 ?", "choices": ["Kazakhstan", "Bolivia", "South Africa", "New Amsterdam Theatre", "Germany", "Denmark", "Charlotte Motor Speedway", "Cannes", "Montreal World Film Festival", "Stockholm"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["review score", "30/100"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["review score by", "Metacritic"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2004-08-26", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <review_score> ?pv_1 . ?pv_1 <pred:value> \"30/100\" . [ <pred:fact_h> ?e ; <pred:fact_r> <review_score> ; <pred:fact_t> ?pv_1 ] <review_score_by> ?qpv_1 . ?qpv_1 <pred:value> \"Metacritic\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-08-26\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What association football club that has a member whose Revised Romanization is Seol Gi-Hyeon with a score of 10 points?", "choices": ["R.S.C. Anderlecht", "Royal Antwerp F.C", "Stade Brestois 29", "Fulham F.C.", "Ulsan Hyundai FC", "Portsmouth F.C.", "Middlesbrough F.C.", "Hull City A.F.C.", "Pohang Steelers", "Rotherham United F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Revised Romanization", "Seol Gi-Hyeon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterNum", "dependencies": [3], "inputs": ["number of points/goals/set scored", "10", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Revised_Romanization> ?pv . ?pv <pred:value> \"Seol Gi-Hyeon\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"10\"^^xsd:double .  }", "answer": "Royal Antwerp F.C"}, {"question": "What is the connection between Charles Darwin (the one whose Libris-URI is pm135sp73dmxqcf) to Copley Medal?", "choices": ["military casualty classification", "award received", "set in period", "field of this occupation", "contains administrative territorial entity", "contributing factor of", "religious order", "office held by head of government", "mouth of the watercourse", "residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Darwin"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "pm135sp73dmxqcf"]}, {"function": "Find", "dependencies": [], "inputs": ["Copley Medal"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charles Darwin\" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> \"pm135sp73dmxqcf\" . ?e_2 <pred:name> \"Copley Medal\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Was the person who is a member of Motherwell F.C. (the end time of this statement is 2001) born after 1969?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Motherwell F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2001", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1969", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Motherwell F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2001 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1969 ) .  }", "answer": "yes"}, {"question": "How was it determined that the Florida county with the Dewey Decimal Classification of 2--75963 had a population of 917611?", "choices": ["Taqdir", "United States Census", "extrapolation", "census", "estimation process", "UIS estimation", "rated voltage", "middle", "Pensky\u2013Martens closed-cup test", "2010 United States Census"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--75963"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "917611", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--75963\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"917611\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the pronunciation audio for the town with the OS grid reference of SU978797?", "choices": ["Ru-\u0424\u0440\u0430\u043d\u0446\u0438\u044f.ogg", "En-uk-Slough.ogg", "Fr-lait.ogg", "Sv-pasta.ogg", "It-latte.ogg", "Fr-Dijon.ogg", "Lb-frans\u00e9isch.ogg", "Ru-Pushkin.ogg", "LL-Q150 (fra)-X-Javier-prix Turing.wav", "Fr-Normandie-Vi\u00eat-Nam.ogg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OS grid reference", "SU978797"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["pronunciation audio"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town\" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> \"SU978797\" . ?e <pronunciation_audio> ?pv .  }", "answer": "En-uk-Slough.ogg"}, {"question": "Which language represents the US city at zip code 03400 on its official website, www.cupertino.org?", "choices": ["Slovak", "English", "Afrikaans", "Greek", "Italian", "Klingon", "Yaqui", "Hebrew", "Bashkir", "Tamil"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "03400"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.cupertino.org", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"03400\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.cupertino.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is http://www.jimmypage.com/ the official website of the university that is located in Rochester whose Dewey Decimal Classification is 2--74788?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rochester"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--74788"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["http://www.jimmypage.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Rochester\" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--74788\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.jimmypage.com/\" .  }", "answer": "no"}, {"question": "What language is associated with the official website (https://www.bandainamcoent.com) for the the video game developer whose Japanese Corporate Number is 7010701019273?", "choices": ["Estonian", "English", "Basque", "Persian", "German", "Swedish", "Standard Chinese", "Hungarian", "Latin script", "Macedonian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Corporate Number (Japan)", "7010701019273"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game developer"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.bandainamcoent.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game developer\" . ?e <Corporate_Number_(Japan)> ?pv_1 . ?pv_1 <pred:value> \"7010701019273\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.bandainamcoent.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between crossover to Yanni?", "choices": ["famous people", "owned by", "child astronomical body", "has immediate cause", "mascot", "director/manager", "film editor", "filmography", "archives at", "writing system"], "program": [{"function": "Find", "dependencies": [], "inputs": ["crossover"]}, {"function": "Find", "dependencies": [], "inputs": ["Yanni"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"crossover\" . ?e_2 <pred:name> \"Yanni\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "How is Jon Vitti related to United States of America ?", "choices": ["convicted of", "godparent", "season starts", "mother", "family", "country", "country of citizenship", "has quality", "broadcast by", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Vitti"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jon Vitti\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which subreddit refers to the mechanical wave famously including Simple Minds?", "choices": ["Georgia", "traversecity", "Iraq", "uchicago", "postpunk", "nyu", "hungarian", "Mississippi", "harbin_china", "Rajasthan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Simple Minds"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["mechanical wave"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"mechanical wave\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Simple Minds\" .  ?e <subreddit> ?pv .  }", "answer": "postpunk"}, {"question": "Is VH1 American?", "choices": ["symptoms", "mountain range", "official religion", "has immediate cause", "doctoral student", "spouse", "theme music", "destination point", "culture", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["VH1"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"VH1\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Michael Lerner of the Judaic faith has which job?", "choices": ["radio personality", "character actor", "comedian", "make-up artist", "seiy\u016b", "rabbi", "bandleader", "statistician", "pundit", "correspondent"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Judaism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Lerner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["profession"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Michael Lerner\" . ?e_1 <religion> ?e_2 . ?e_2 <pred:name> \"Judaism\" .   }", "answer": "rabbi"}, {"question": "Which show has fewer episodes, Bewitched (the one whose genre is fantasy) or Ryan's Hope?", "choices": ["Bewitched", "Robot Chicken", "Ryan's Hope", "Dancing with the Stars", "Bleak House", "American Horror Story", "Six Feet Under", "Saturday Night's Main Event", "Phineas and Ferb", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["fantasy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bewitched"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ryan's Hope"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bewitched\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"fantasy\" .   } UNION { ?e <pred:name> \"Ryan's Hope\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Bewitched"}, {"question": "Is 0000 0004 0412 1475 the ISNI of the Pennsylvania county that contains Bryn Mawr?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bryn Mawr"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0004 0412 1475"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Bryn Mawr\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0412 1475\" .  }", "answer": "yes"}, {"question": "How many hardcore punk bands have their origins in the country of Laval?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Laval"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["hardcore punk"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hardcore punk\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> \"Laval\" .   }", "answer": "2"}, {"question": "Which native label designates the ethnic community with under 840,000,000 members?", "choices": ["\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8 \u0b9a\u0ba9\u0ba8\u0bbe\u0baf\u0b95 \u0b9a\u0bcb\u0b9a\u0bb2\u0bbf\u0b9a\u0b95\u0bcd \u0b95\u0bc1\u0b9f\u0bbf\u0baf\u0bb0\u0b9a\u0bc1", "Democratic-Republican Party", "\u570b\u7acb\u81fa\u7063\u5927\u5b78", "Rhodesia", "Cubanoamericanos", "London Symphony Orchestra", "Hrvatski jezik", "Noord-Brabant", "Santa Fe de la Vera Cruz", "\u062f\u0627\u0646\u0634\u06af\u0627\u0647 \u062a\u0647\u0631\u0627\u0646"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "840000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic community"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic community\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"840000000\"^^xsd:double ) . ?e <native_label> ?pv .  }", "answer": "Cubanoamericanos"}, {"question": "When was the person of the official website http://thisisangel.com/ born?", "choices": ["1940-08-16", "1951-03-24", "1704-08-26", "1956-08-19", "1971-11-05", "1952-10-09", "1939-07-12", "1987-10-31", "1954-10-05", "1892-01-29"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://thisisangel.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://thisisangel.com/\" . ?e <date_of_birth> ?pv .  }", "answer": "1987-10-31"}, {"question": "How many entities of social science are there whose Universal Decimal Classification is 91 or that are practiced by a psychologist ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Universal Decimal Classification", "91"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["social science"]}, {"function": "Find", "dependencies": [], "inputs": ["psychologist"]}, {"function": "Relate", "dependencies": [3], "inputs": ["practiced by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["social science"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"social science\" .  { ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> \"91\" .  } UNION { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> \"psychologist\" .  } }", "answer": "2"}, {"question": "When did the Japanese prefecture with dantai code 460001 have a population count of 1616005?", "choices": ["2004-01-01", "1966-12-31", "2018-04-01", "2012-01-11", "1999-03-24", "2018-01-08", "2000", "2016-11-24", "2015-07-01", "1919-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["dantai code", "460001"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1616005", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <dantai_code> ?pv_1 . ?pv_1 <pred:value> \"460001\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1616005\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2018-04-01"}, {"question": "Did Bruce Almighty or Rocky Balboa, with Talia Shire as a cast member, do better at the box office?", "choices": ["Pleasantville", "The Hunchback of Notre Dame", "Rocky Balboa", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "Bruce Almighty", "A Prairie Home Companion", "Training Day", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bruce Almighty"]}, {"function": "Find", "dependencies": [], "inputs": ["Talia Shire"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Rocky Balboa"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bruce Almighty\" .  } UNION { ?e <pred:name> \"Rocky Balboa\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Talia Shire\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bruce Almighty"}, {"question": "How is The Edge of Night related to soap opera?", "choices": ["production company", "officially opened by", "sex or gender", "owner of", "commander of", "location of final assembly", "genre", "place of publication", "general manager", "published in"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Edge of Night"]}, {"function": "Find", "dependencies": [], "inputs": ["soap opera"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Edge of Night\" . ?e_2 <pred:name> \"soap opera\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Does Ballarat or Thrissur have less land area?", "choices": ["Abidjan", "Kingston", "Bergen", "Kilkenny", "Santo Domingo", "Dundee", "Thrissur", "Chihuahua", "Cork", "Trieste"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ballarat"]}, {"function": "Find", "dependencies": [], "inputs": ["Thrissur"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ballarat\" .  } UNION { ?e <pred:name> \"Thrissur\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Thrissur"}, {"question": "Which body of water that is not 2200 meters deep is the deepest?", "choices": ["Mediterranean Sea", "North Sea", "The Dictator", "Aegean Sea", "Adriatic Sea", "English Channel", "Sailor Moon Super S: The Movie", "Green Bay", "Romanian", "Caribbean Sea"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "2200 metre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["vertical depth", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <vertical_depth> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"2200\"^^xsd:double ) . ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Caribbean Sea"}, {"question": "Is https://adodenhaag.nl/ the official website of ADO Den Haag?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ADO Den Haag"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://adodenhaag.nl/"]}], "sparql": "ASK { ?e <pred:name> \"ADO Den Haag\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://adodenhaag.nl/\" .  }", "answer": "yes"}, {"question": "Does Eric Roth or Minnie Driver have fewer kids?", "choices": ["Eric Roth", "Max Fleischer", "David Byrne", "William Henry Harrison", "Minnie Driver", "Sylvester Stallone", "Paul Simon", "Simon Cowell", "James E. Reilly", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eric Roth"]}, {"function": "Find", "dependencies": [], "inputs": ["Minnie Driver"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eric Roth\" .  } UNION { ?e <pred:name> \"Minnie Driver\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Minnie Driver"}, {"question": "Which area has higher elevation above sea level, Dundee or Palermo?", "choices": ["Dundee", "Kingston", "Cairo", "Bergen", "Trieste", "Chihuahua", "Abidjan", "Kilkenny", "Cork", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dundee"]}, {"function": "Find", "dependencies": [], "inputs": ["Palermo"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dundee\" .  } UNION { ?e <pred:name> \"Palermo\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dundee"}, {"question": "Natalie Portman was cast as which character on Star Wars Episode II: Attack of the Clones?", "choices": ["Eddard Stark", "Samuel Adams", "Agent Smith", "Padm\u00e9 Amidala", "Griffin", "Billie Jenkins", "Faramir", "Janet Weiss", "Luca the Octopus", "Ferris Bueller"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Wars Episode II: Attack of the Clones"]}, {"function": "Find", "dependencies": [], "inputs": ["Natalie Portman"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Wars Episode II: Attack of the Clones\" . ?e_2 <pred:name> \"Natalie Portman\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Padm\u00e9 Amidala"}, {"question": "Lafayette College is officially associated with which website?", "choices": ["http://www.lafayette.edu/", "http://www.mynameiskaran.com", "http://www.aokavalas.gr/", "http://www.cebu.gov.ph/", "http://www.savagesfilm.com", "http://www.robthomasmusic.com/", "http://www.gerryanderson.co.uk", "http://www.audiornr.com", "http://www.co.cumberland.nc.us", "http://www.tv-tokyo.co.jp/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lafayette College"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lafayette College\" . ?e <official_website> ?pv .  }", "answer": "http://www.lafayette.edu/"}, {"question": "Which person is the producer of Evolution (the one that has Seann William Scott as a cast member)?", "choices": ["William Henry Harrison", "Ivan Reitman", "Chris Weitz", "Jack Benny", "Richard Gere", "Kevin Smith", "Max Fleischer", "Johnny Knoxville", "Sylvester Stallone", "Richard Pryor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seann William Scott"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Evolution"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"Evolution\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Seann William Scott\" .   }", "answer": "Ivan Reitman"}, {"question": "The person famous for working on Cruel Intentions won which award for work on All My Children?", "choices": ["Genie Award for Best Achievement in Editing", "Grammy Award for Best Reggae Album", "Grammy Award for Best Metal Performance", "Grammy Award for Best Contemporary Jazz Album", "Golden Globe Award for Best Animated Feature Film", "Independent Spirit Award for Best Documentary Feature", "Royal Victorian Chain", "Independent Spirit Award for Best Female Lead", "Golden Globe Award for Best Director", "Daytime Emmy Award for Outstanding Younger Actress in a Drama Series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cruel Intentions"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["award received", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "All My Children"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <notable_work> ?e_2 . ?e_2 <pred:name> \"Cruel Intentions\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"All My Children\" .  }", "answer": "Daytime Emmy Award for Outstanding Younger Actress in a Drama Series"}, {"question": "how is Star Trek:Insurrection related to the United states of America.", "choices": ["publisher", "capital of", "lifestyle", "country of origin", "update method", "practiced by", "currency", "seed team", "production company", "archives at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek: Insurrection"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Star Trek: Insurrection\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "For the occupation that is Carmen Electra's occupation, is its official website equal to http://www.playmates.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carmen Electra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["occupation"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.playmates.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"occupation\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Carmen Electra\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.playmates.com/\" .  }", "answer": "yes"}, {"question": "Which poet wrote The Hobbit: An Unexpected Journey?", "choices": ["Jack Kerouac", "William Henry Harrison", "Richard Gere", "Tonino Guerra", "William Shakespeare", "James Joyce", "Max Fleischer", "Sylvester Stallone", "J. R. R. Tolkien", "Common"], "program": [{"function": "Find", "dependencies": [], "inputs": ["poet"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hobbit: An Unexpected Journey"]}, {"function": "Relate", "dependencies": [3], "inputs": ["after a work by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"poet\" .  ?e_2 <after_a_work_by> ?e . ?e_2 <pred:name> \"The Hobbit: An Unexpected Journey\" .  }", "answer": "J. R. R. Tolkien"}, {"question": "How is Superman II related to action film?", "choices": ["film regional debut venue", "interests", "office held by head of the organisation", "kit supplier", "sidekick of", "dialect of", "illustrator", "genre", "nominated for", "does not have part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Superman II"]}, {"function": "Find", "dependencies": [], "inputs": ["action film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Superman II\" . ?e_2 <pred:name> \"action film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "When did George Seaton win the Golden Globe Award for Best Screenplay?", "choices": ["1987-05-25", "2009-02-08", "2010-03-07", "1984", "2012-09-05", "2004-11-01", "-1000", "1947", "2013-01-11", "1852-12-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Globe Award for Best Screenplay"]}, {"function": "Find", "dependencies": [], "inputs": ["George Seaton"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Golden Globe Award for Best Screenplay\" . ?e_2 <pred:name> \"George Seaton\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1947"}, {"question": "Tell me to which part Caribbean is a part of South America applies.", "choices": ["Crockett County", "Guam", "M\u00f6lndal Municipality", "hairdresser", "Van Buren County", "second language", "masculine", "Singaporeans", "northeastern part", "Warren County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caribbean"]}, {"function": "Find", "dependencies": [], "inputs": ["South America"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["part of", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Caribbean\" . ?e_2 <pred:name> \"South America\" . ?e_1 <part_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of> ; <pred:fact_t> ?e_2 ] <applies_to_part> ?qpv .  }", "answer": "northeastern part"}, {"question": "How is the English-speaking Peter Graves linked to Minneapolis?", "choices": ["soundtrack album", "conflict", "officeholder", "has immediate cause", "superhuman feature or ability", "replaced by", "place of birth", "licensed to broadcast to", "student of", "follows"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["languages spoken, written or signed", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Graves"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Minneapolis"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Peter Graves\" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Minneapolis\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Which has largest real gross domestic product growth rate among the democracy whose population is greater than 34000000?", "choices": ["Indonesia", "India", "France", "Tanzania", "Sudan", "Italy", "Ukraine", "Uganda", "Germany", "Colombia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "34000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["democracy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["real gross domestic product growth rate", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"democracy\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"34000000\"^^xsd:double ) . ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "India"}, {"question": "How many associations have I. M. Pei as their member, or ISNI 0000 0001 2248 733X?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2248 733X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association"]}, {"function": "Find", "dependencies": [], "inputs": ["I. M. Pei"]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association\" .  { ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2248 733X\" .  } UNION { ?e_1 <member_of> ?e . ?e_1 <pred:name> \"I. M. Pei\" .  } }", "answer": "3"}, {"question": "Who is Hugh Jackman's character in X-Men Origins: Wolverine?", "choices": ["Constance MacKenzie", "The Chief", "Wolverine", "Tereza", "Edward I of England", "Father Liam", "Cliff Clavin", "Fat Lady", "Zod", "Jor-El"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Movie Award for Best Fight"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["X-Men Origins: Wolverine"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Hugh Jackman"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"X-Men Origins: Wolverine\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"MTV Movie Award for Best Fight\" . ?e_2 <pred:name> \"Hugh Jackman\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Wolverine"}, {"question": "Which movie is longer, Alice in Wonderland (the one whose duration is 72 minute) or The Hours (the one that has Stephen Dillane as a cast member)?", "choices": ["Curse of the Golden Flower", "The Hours", "Rebecca", "Pleasantville", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Training Day", "Talk to Her", "Alice in Wonderland", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "72 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Stephen Dillane"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Hours"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alice in Wonderland\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"72\"^^xsd:double . } UNION { ?e <pred:name> \"The Hours\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Stephen Dillane\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Hours"}, {"question": "Who became Olivia Wilde's partner on 2011-01-01?", "choices": ["William Henry Harrison", "Rahul Dev Burman", "Olivia Wilde", "David Byrne", "James E. Reilly", "Simon Cowell", "Sylvester Stallone", "Max Fleischer", "Richard Gere", "Jason Sudeikis"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Olivia Wilde"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "2011-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <partner> ?e . ?e_1 <pred:name> \"Olivia Wilde\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> \"2011-01-01\"^^xsd:date .  }", "answer": "Jason Sudeikis"}, {"question": "Which one has more area between Billings and Juneau?", "choices": ["Boulder", "New Haven", "Greenville", "Franklin", "Juneau", "Lansing", "Compton", "Columbus", "Billings", "Waukegan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Billings"]}, {"function": "Find", "dependencies": [], "inputs": ["Juneau"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Billings\" .  } UNION { ?e <pred:name> \"Juneau\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Juneau"}, {"question": "What is the connection between progressive rock to Joe Hisaishi?", "choices": ["official language", "noble title", "replaces", "doctoral student", "named after", "cites", "film crew member", "famous people", "award received", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["progressive rock"]}, {"function": "Find", "dependencies": [], "inputs": ["Joe Hisaishi"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"progressive rock\" . ?e_2 <pred:name> \"Joe Hisaishi\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Is the ISNI of the human that was nominated for a Broadcast Film Critics Association Award for Best Supporting Actor for Master and Commander: The Far Side of the World equal to 0000 0001 1470 3215?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Master and Commander: The Far Side of the World"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 1470 3215"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Supporting Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Master and Commander: The Far Side of the World\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1470 3215\" .  }", "answer": "yes"}, {"question": "What is the ISNI of Brian May (the one that works as rock music)?", "choices": ["0000 0004 1936 7793", "0000 0000 5337 9297", "0000 0001 2031 4590", "0000 0001 2096 5705", "0000 0000 3600 3124", "0000 0004 0414 9988", "0000 0001 2134 3633", "0000 0001 3884 3458", "0000 0001 2157 7632", "0000 0001 2186 9395"], "program": [{"function": "Find", "dependencies": [], "inputs": ["rock music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian May"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Brian May\" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> \"rock music\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2031 4590"}, {"question": "Tell me the relationship between Wanted (the one which uses the English language) and TNT", "choices": ["part of the series", "medical treatment", "employer", "official language", "source of material", "distributor", "cites", "original network", "sex or gender", "taxon rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wanted"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["TNT"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wanted\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"TNT\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "Is Christopher Wren (the one that works in Oxford) a politician?", "choices": ["occupation", "official symbol", "child", "rector", "film release region", "member of political party", "edition or translation of", "official religion", "part of", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oxford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["work location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Christopher Wren"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["politician"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Christopher Wren\" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> \"Oxford\" . ?e_2 <pred:name> \"politician\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which single was nominated for the award won by Bret McKenzie in 1950?", "choices": ["A View to a Kill", "Mona Lisa", "Brave", "Stand by Me", "Hello, Dolly!", "Die Another Day", "Venus", "The Way We Were", "Barcelona", "Clint Eastwood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bret McKenzie"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["nominated for", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "1950", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["single"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award\" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> \"Bret McKenzie\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1950 .  }", "answer": "Mona Lisa"}, {"question": "What is the subject of this statement: \"Erin Brockovich (the one that was nominated for Broadcast Film Critics Association Award for Best Film) was nominated for Academy Award for Best Writing, Original Screenplay\"?", "choices": ["France\u2013Vanuatu relations", "73rd Academy Awards", "China\u2013Croatia relations", "Germany\u2013Malawi relations", "Kenya\u2013Somalia relations", "North Korea\u2013Serbia relations", "Israel\u2013Venezuela relations", "Iraq\u2013Jordan relations", "Norway\u2013Sweden border", "North Korea\u2013Sweden relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Erin Brockovich"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Writing, Original Screenplay"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Erin Brockovich\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Broadcast Film Critics Association Award for Best Film\" . ?e_2 <pred:name> \"Academy Award for Best Writing, Original Screenplay\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "73rd Academy Awards"}, {"question": "What is the connection between Northrop Grumman to United States of America?", "choices": ["has part", "practiced by", "official residence", "country", "office held by head of state", "general manager", "legislative body", "military branch", "twinned administrative body", "narrative location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Northrop Grumman"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Northrop Grumman\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between Saint Vincent and the Grenadines to Saint Vincent and the Grenadines?", "choices": ["basin country", "organisation directed from the office or person", "musical conductor", "domain of saint or deity", "location of discovery", "academic degree", "official residence", "opposite of", "candidacy in election", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Vincent and the Grenadines"]}, {"function": "Find", "dependencies": [], "inputs": ["Saint Vincent and the Grenadines"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saint Vincent and the Grenadines\" . ?e_2 <pred:name> \"Saint Vincent and the Grenadines\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Twitter username for the person whose Instagram username is jasonreitman?", "choices": ["DavidHasselhoff", "frandrescher", "BocaJrsOficial", "JasonReitman", "UNAM_MX", "degraafschap", "yelyahwilliams", "sydneyolympic", "officialKeef", "Joan_Rivers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "jasonreitman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"jasonreitman\" . ?e <Twitter_username> ?pv .  }", "answer": "JasonReitman"}, {"question": "Which has more seasons, Flight of the Conchords starring Jemaine Clement or television comedy Adrian?", "choices": ["Game of Thrones", "American Horror Story", "Dancing with the Stars", "Six Feet Under", "Bleak House", "Adrian", "Phineas and Ferb", "Robot Chicken", "Flight of the Conchords", "Seinfeld"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jemaine Clement"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Flight of the Conchords"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["television comedy"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Adrian"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flight of the Conchords\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jemaine Clement\" .   } UNION { ?e <pred:name> \"Adrian\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"television comedy\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Flight of the Conchords"}, {"question": "Which symptom has ICD-9-CM of 786.09?", "choices": ["fever", "vomiting", "fatigue", "itch", "nausea", "anorexia", "angina pectoris", "dyspnea", "abdominal pain", "headache"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ICD-9-CM", "786.09"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["symptom"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"symptom\" . ?e <ICD-9-CM> ?pv . ?pv <pred:value> \"786.09\" .  }", "answer": "dyspnea"}, {"question": "Which movie is shorter, The Man Who Wasn't There (the one that has Carter Burwell as a performer) or The Nutty Professor (the one whose title is Der verr\u00fcckte Professor)?", "choices": ["Rebecca", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Towering Inferno", "The Nutty Professor", "A Prairie Home Companion", "The Man Who Wasn't There", "Talk to Her", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carter Burwell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["performer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Man Who Wasn't There"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Nutty Professor"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["title", "Der verr\u00fcckte Professor"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Man Who Wasn't There\" . ?e <performer> ?e_1 . ?e_1 <pred:name> \"Carter Burwell\" . } UNION { ?e <pred:name> \"The Nutty Professor\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Der verr\u00fcckte Professor\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Nutty Professor"}, {"question": "Which human is the teacher of the human whose Munzinger IBA is 00000017426?", "choices": ["John Barry", "Fernando Trueba", "Ernest Rutherford", "James Joyce", "Michel Foucault", "Plato", "F. Murray Abraham", "Rosalind Russell", "Claude Rains", "Sigmund Freud"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000017426"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["student", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <student> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000017426\" .   }", "answer": "Claude Rains"}, {"question": "The person represented by ISNI 0000 0001 1441 6662 was a 2003 winner of which award?", "choices": ["Golden Globe Award for Best Animated Feature Film", "Grammy Award for Best Metal Performance", "Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie", "Academy Award for Best Actress", "Academy Award for Best Supporting Actor", "Saturn Award for Best Actress", "James E. Sullivan Award", "Grammy Award for Best Reggae Album", "Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series", "Independent Spirit Award for Best Female Lead"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1441 6662"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "backward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["point in time", "2003", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["award"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1441 6662\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2003 .  }", "answer": "James E. Sullivan Award"}, {"question": "Among the high schools whose students number is less than 54000, which has the smallest students number?", "choices": ["National Theatre School of Canada", "National School of Drama", "Royal Academy of Dramatic Art", "Phillips Academy", "The Bronx High School of Science", "Stuyvesant High School", "Royal Military Academy", "Fiorello H. LaGuardia High School", "London Academy of Music and Dramatic Art", "Lee Strasberg Theatre and Film Institute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "54000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["high school"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"high school\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"54000\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Phillips Academy"}, {"question": "What language is used by the official website of the Church of Jesus Christ of Latter-day Saints?", "choices": ["France", "Welsh", "Belgian French", "Malagasy", "Latin", "Traditional Chinese", "English", "\u01c0Xam language", "Swedish", "Austrian German"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Church of Jesus Christ of Latter-day Saints"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://lds.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Church of Jesus Christ of Latter-day Saints\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://lds.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the ROME Occupation Code (v3) of the profession of Michael Haneke?", "choices": ["K2401", "L1101", "N1202", "D1208", "E1201", "D1201", "L1103", "M1403", "L1508", "L1301"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Haneke"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ROME Occupation Code (v3)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Michael Haneke\" .  ?e <ROME_Occupation_Code_(v3)> ?pv .  }", "answer": "L1301"}, {"question": "Steven Wilson is a member of which band?", "choices": ["The Monkees", "Gwar", "The Pretenders", "Little Feat", "Plastic Ono Band", "The Kinks", "Asleep at the Wheel", "The Mothers of Invention", "Roxy Music", "Porcupine Tree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Wilson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"Steven Wilson\" .   }", "answer": "Porcupine Tree"}, {"question": "How many Twitter followers do the @Mariners of the Seattle Mariners have?", "choices": ["541183", "48149", "563836", "11363", "295112", "176794", "45145", "344471", "2264899", "28332"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seattle Mariners"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "Mariners", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Seattle Mariners\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Mariners\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "541183"}, {"question": "What is the Libris-URI of the producer of The Merry Widow (the one that has Irene Lentz as a cast member)?", "choices": ["qn245ws80vz3rx7", "gdsvpcf00jwsqwl", "khwzzq730smmqsd", "khwz0qm342151tk", "zw9cfrbh30jfw38", "75kmnc6r2ln5nw3", "sq466v7b22d65cr", "hftw08w145bc9t6", "0xbflwbj05gbjvd", "97mpsg2t0gfwh9t"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irene Lentz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Merry Widow"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <producer> ?e . ?e_1 <pred:name> \"The Merry Widow\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Irene Lentz\" .  ?e <Libris-URI> ?pv .  }", "answer": "0xbflwbj05gbjvd"}, {"question": "How is Sudan related to North America?", "choices": ["this taxon is source of", "part of", "presenter", "kit supplier", "game mode", "sibling", "model item", "operating system", "from fictional universe", "replaced by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sudan"]}, {"function": "Find", "dependencies": [], "inputs": ["North Africa"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sudan\" . ?e_2 <pred:name> \"North Africa\" . ?e_1 ?p ?e_2 .  }", "answer": "part of"}, {"question": "What is the relationship between the German-Soviet War to the Kingdom of Bulgaria?", "choices": ["domain of saint or deity", "architectural style", "chairperson", "does not have part", "winner", "exclave of", "official language", "programming paradigm", "participant", "fabrication method"], "program": [{"function": "Find", "dependencies": [], "inputs": ["German-Soviet War"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Bulgaria"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"German-Soviet War\" . ?e_2 <pred:name> \"Kingdom of Bulgaria\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "Which is longer, I Now Pronounce You Chuck and Larry or Hercules that comes from Spain?", "choices": ["A Prairie Home Companion", "The Fifth Element", "I Now Pronounce You Chuck and Larry", "Training Day", "The Hunchback of Notre Dame", "The Towering Inferno", "Pleasantville", "Hercules", "Talk to Her", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Now Pronounce You Chuck and Larry"]}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hercules"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"I Now Pronounce You Chuck and Larry\" .  } UNION { ?e <pred:name> \"Hercules\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Spain\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "I Now Pronounce You Chuck and Larry"}, {"question": "The Fall, released on 2009-11-16, is related in what way to contemporary folk music?", "choices": ["sex or gender", "genre", "languages spoken, written or signed", "given name", "signatory", "home port", "language of work or name", "connects with", "appears in the form of", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Fall"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2009-11-16", "="]}, {"function": "Find", "dependencies": [], "inputs": ["contemporary folk music"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Fall\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2009-11-16\"^^xsd:date . ?e_2 <pred:name> \"contemporary folk music\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "How is experimental music related to Oingo Boingo?", "choices": ["location of discovery", "employer", "subsidiary", "child astronomical body", "commissioned by", "place served by transport hub", "famous people", "followed by", "symptoms", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["experimental music"]}, {"function": "Find", "dependencies": [], "inputs": ["Oingo Boingo"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"experimental music\" . ?e_2 <pred:name> \"Oingo Boingo\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Which synthesizer instrumentalist is assigned ISNI number 0000 0001 0899 3797 ?", "choices": ["Max Fleischer", "Herbie Hancock", "Sylvester Stallone", "Aphex Twin", "Richard Gere", "David Byrne", "Buckethead", "Danger Mouse", "Glen Ballard", "Jon Lord"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0899 3797"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["synthesizer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0899 3797\" . ?e <instrument> ?e_1 . ?e_1 <pred:name> \"synthesizer\" .  }", "answer": "Herbie Hancock"}, {"question": "What is the relationship between Hove and the United Kingdom?", "choices": ["studies", "located in the administrative territorial entity", "shares border with", "indigenous to", "has parts of the class", "approved by", "diaspora", "owner of", "publisher", "country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hove"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hove\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is the website affiliated with My Neighbor Totoro movies.disney.com/my-neighbor-totoro ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["My Neighbor Totoro"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://movies.disney.com/my-neighbor-totoro"]}], "sparql": "ASK { ?e <pred:name> \"My Neighbor Totoro\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://movies.disney.com/my-neighbor-totoro\" .  }", "answer": "yes"}, {"question": "In what way is Jesse Louis Lasky kin to Samuel Goldwyn?", "choices": ["half brother", "grand uncle", "brother-in-law", "daughter-in-law", "husband's brother", "aunt", "adopted daughter", "grandfather", "mother-in-law", "grandson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jesse Louis Lasky"]}, {"function": "Find", "dependencies": [], "inputs": ["Samuel Goldwyn"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["relative", "type of kinship"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jesse Louis Lasky\" . ?e_2 <pred:name> \"Samuel Goldwyn\" . ?e_1 <relative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e_2 ] <type_of_kinship> ?qpv .  }", "answer": "brother-in-law"}, {"question": "How was the population of Alaska (the one whose FIPS 10-4 (countries and regions) is US02) determined as 300382 ?", "choices": ["demographic balance", "Canada 2016 Census", "census", "Family record booklet", "Sixth National Population Census of the People's Republic of China", "UIS estimation", "1860 United States Census", "resident registration", "Canada 2011 Census", "questionnaire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alaska"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "US02"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "300382", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Alaska\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"US02\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"300382\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "Is 0000 0001 0625 0420 the ISNI of the person with official website http://www.terencestamp.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.terencestamp.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0625 0420"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.terencestamp.com\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0625 0420\" .  }", "answer": "no"}, {"question": "When did the republic with the demonym tunisina have a nominal GDP of 42062549394.7859 USD?", "choices": ["2009-02-01", "2006-11-01", "1891", "1912-01-01", "2016-01-01", "2002-12-01", "2018-04-14", "2010-08-11", "2005-10-01", "1684"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "tunisina"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["nominal GDP", "42062549394.7859 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"tunisina\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"42062549394.7859\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-01-01"}, {"question": "What is the run-time of the visual artwork whose official website is www.mgm.com/#/our-titles/2117/WarGames?", "choices": ["177 minute", "123 minute", "81 minute", "140 minute", "153 minute", "20 minute", "108 minute", "11 minute", "156 minute", "260 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.mgm.com/#/our-titles/2117/WarGames"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.mgm.com/#/our-titles/2117/WarGames\" . ?e <duration> ?pv .  }", "answer": "108 minute"}, {"question": "Is the official website of the award that is a part of Grammy Awards http://www.grammy.com/?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.grammy.com/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <part_of> ?e_1 . ?e_1 <pred:name> \"Grammy Award\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.grammy.com/\" .  }", "answer": "yes"}, {"question": "When was Larry Hagman nominated for Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture?", "choices": ["2255", "2016-01-05", "2005-04-20", "2017-11-30", "2013-08-08", "2010", "1990-05-01", "1933-01-01", "1996", "1837"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Larry Hagman"]}, {"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Larry Hagman\" . ?e_2 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1996"}, {"question": "What is the relationship between Quo Vadis (the one that was nominated for Academy Award for Best Supporting Actor) and Ralph E. Winters?", "choices": ["commander of", "member of sports team", "mountain range", "editor", "airline hub", "head of state", "follows", "operator", "film editor", "named after"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Quo Vadis"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ralph E. Winters"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Quo Vadis\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_2 <pred:name> \"Ralph E. Winters\" . ?e_1 ?p ?e_2 .  }", "answer": "film editor"}, {"question": "Which one is longer,  Corpse Bride or Bolero (the one that was nominated for Golden Raspberry Award for Worst Screenplay) ?", "choices": ["A Prairie Home Companion", "Pleasantville", "The Hunchback of Notre Dame", "The Fifth Element", "The Towering Inferno", "Rebecca", "Corpse Bride", "Training Day", "Talk to Her", "Bolero"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Corpse Bride"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Screenplay"]}, {"function": "Relate", "dependencies": [1], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bolero"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Corpse Bride\" .  } UNION { ?e <pred:name> \"Bolero\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Screenplay\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bolero"}, {"question": "What is the relationship between Pontiac and the United States of America?", "choices": ["place of origin (Switzerland)", "found", "location of discovery", "health specialty", "doctoral student", "field of this occupation", "legal form", "country", "located on astronomical location", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pontiac"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pontiac\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which has less cost, Wallace & Gromit: The Curse of the Were-Rabbit directed by Nick Park or Back to the Future Part III?", "choices": ["Back to the Future Part III", "Old Dogs", "National Treasure: Book of Secrets", "Wallace & Gromit: The Curse of the Were-Rabbit", "The Flintstones", "Holes", "The Flintstones in Viva Rock Vegas", "John Carter", "G-Force", "The Muppets"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nick Park"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wallace & Gromit: The Curse of the Were-Rabbit"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Back to the Future Part III"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Wallace & Gromit: The Curse of the Were-Rabbit\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Nick Park\" .   } UNION { ?e <pred:name> \"Back to the Future Part III\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wallace & Gromit: The Curse of the Were-Rabbit"}, {"question": "How many symptoms have the MeSH Code C10.597.617.192.500?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["MeSH Code", "C10.597.617.192.500"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["symptom"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"symptom\" . ?e <MeSH_Code> ?pv . ?pv <pred:value> \"C10.597.617.192.500\" .  }", "answer": "1"}, {"question": "Which area is larger, Winnipeg or Kinshasa?", "choices": ["Kilkenny", "Winnipeg", "Bergen", "Kinshasa", "Abidjan", "Kingston", "Santo Domingo", "Trieste", "Dundee", "Chihuahua"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Winnipeg"]}, {"function": "Find", "dependencies": [], "inputs": ["Kinshasa"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Winnipeg\" .  } UNION { ?e <pred:name> \"Kinshasa\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kinshasa"}, {"question": "When was the start of Greece having the capital Athens ( that is the twin administrative body to Nicosia)?", "choices": ["2030-02-01", "2012-03-01", "2011-04-21", "1496-01-01", "1785-01-11", "1929-06-03", "1834", "2001-06-03", "2009-06-22", "1927-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Find", "dependencies": [], "inputs": ["Nicosia"]}, {"function": "Relate", "dependencies": [1], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Athens"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["capital", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Greece\" . ?e_2 <pred:name> \"Athens\" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> \"Nicosia\" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1834"}, {"question": "What is the number of hip hop music with an inception time other than 1978 or that has an inception time after 1980.", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1978", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["hip hop music"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1980", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["hip hop music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"hip hop music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1978 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1980 ) .  }", "answer": "10"}, {"question": "What is the start date that UKE4 is the NUTS code of the ceremonial county of England whose capital is Wakefield (whose WOEID is 38952)?", "choices": ["1984-01-01", "1712", "1999-01-01", "2000-01-01", "1868", "2011-09-13", "1949-10-01", "2000-09-15", "1992-02-27", "1821-08-10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wakefield"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WOEID", "38952"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["ceremonial county of England"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["NUTS code", "UKE4", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Wakefield\" . ?e_1 <WOEID> ?pv_1 . ?pv_1 <pred:value> \"38952\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"UKE4\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1999-01-01"}, {"question": "Was the person with ISNI 0000 0001 0786 730X not born in 1913?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0786 730X"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1913", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0786 730X\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1913 ) .  }", "answer": "yes"}, {"question": "What biographical film casted Kathleen Quinlan?", "choices": ["Training Day", "A Prairie Home Companion", "American Graffiti", "Pleasantville", "A Civil Action", "The Doors", "The Fifth Element", "Apollo 13", "Rebecca", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathleen Quinlan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["biographical film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"biographical film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Kathleen Quinlan\" .   }", "answer": "The Doors"}, {"question": "What association does The Sorcerer's Apprentice (of the movement Impressionism) have to the bass drum?", "choices": ["fabrication method", "diaspora", "worshipped by", "instrumentation", "position held", "interested in", "after a work by", "military casualty classification", "start point", "facet of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Impressionism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["movement", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sorcerer's Apprentice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["bass drum"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sorcerer's Apprentice\" . ?e_1 <movement> ?e_3 . ?e_3 <pred:name> \"Impressionism\" . ?e_2 <pred:name> \"bass drum\" . ?e_1 ?p ?e_2 .  }", "answer": "instrumentation"}, {"question": "How is Jeff Lynne related to the United Kingdom?", "choices": ["production designer", "feast day", "operating system", "risk factor", "country of citizenship", "relative", "doctoral student", "killed by", "source of material", "official symbol"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Lynne"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jeff Lynne\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which human has the ISNI 0000 0001 1697 3702?", "choices": ["Gregg Allman", "Sylvester Stallone", "David O. Selznick", "James LeGros", "Richard Gere", "Michael Swanwick", "William Henry Harrison", "Tommy Chong", "Sunil Varma", "Kelly Preston"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1697 3702"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1697 3702\" .  }", "answer": "James LeGros"}, {"question": "Does SBC-2010 occupation code 870228 match to the professional role designated by ISCO occupation code 2164 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISCO occupation code", "2164"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["profession"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["SBC-2010 occupation code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["870228"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"profession\" . ?e <ISCO_occupation_code> ?pv_1 . ?pv_1 <pred:value> \"2164\" . ?e <SBC-2010_occupation_code> ?pv . ?pv <pred:value> \"870228\" .  }", "answer": "no"}, {"question": "What is the relationship between The Polar Express (the one whose original language is English) and Alan Silvestri?", "choices": ["religion", "composer", "owner of", "collection", "takes place in fictional universe", "director of photography", "film distribute region", "official residence", "registered with", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Polar Express"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Alan Silvestri"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Polar Express\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Alan Silvestri\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Was the person with ISNI number 0000 0001 1931 8850 born more recently than 1856 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1931 8850"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1856", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1931 8850\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1856 ) .  }", "answer": "yes"}, {"question": "How many singles were published before 2002?", "choices": ["14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2002", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }", "answer": "18"}, {"question": "Tell me the start time of Rostock is the twinned administrative body of Szczecin.", "choices": ["1964-09-10", "1995-01-01", "1957", "2004-05-14", "1815", "2008-03-16", "1802", "2005-10-03", "2002-02-13", "2003-09-23"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rostock"]}, {"function": "Find", "dependencies": [], "inputs": ["Szczecin"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Rostock\" . ?e_2 <pred:name> \"Szczecin\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1957"}, {"question": "How many episodes are in the TV series noted for Bill Cosby's work?", "choices": ["733", "7", "246", "70", "261", "52", "177", "201", "13367", "34"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bill Cosby"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of episodes"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Bill Cosby\" .  ?e <number_of_episodes> ?pv .  }", "answer": "201"}, {"question": "What is the connection between Joel David Moore to Portland (the one that is the birthplace of Matt Groening)?", "choices": ["parent organization", "set in period", "mountain range", "exported to", "family", "risk factor", "season starts", "discoverer or inventor", "place of birth", "edition or translation of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joel David Moore"]}, {"function": "Find", "dependencies": [], "inputs": ["Matt Groening"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Portland"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Joel David Moore\" . ?e_2 <pred:name> \"Portland\" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> \"Matt Groening\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "The historical country of the 1936 Summer Olympics was replaced by which sovereign state?", "choices": ["Austrian Empire", "Nepal", "Ghana", "Argentina", "Germany", "Japan", "French Third Republic", "Spain", "German Democratic Republic", "West Germany"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1936 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["historical country"]}, {"function": "Relate", "dependencies": [2], "inputs": ["replaced by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <replaced_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"historical country\" . ?e_3 <country> ?e_1 . ?e_3 <pred:name> \"1936 Summer Olympics\" .   }", "answer": "West Germany"}, {"question": "What is the number of forms of government that is the member of the subject of international law that has Kazakhstan as a member?", "choices": ["36", "37", "38", "39", "40", "41", "42", "43", "44", "45"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kazakhstan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["subject of international law"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["form of government"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"form of government\" . ?e <member_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"subject of international law\" . ?e_2 <member_of> ?e_1 . ?e_2 <pred:name> \"Kazakhstan\" .   }", "answer": "37"}, {"question": "On what date did Joseph Haydn pass away?", "choices": ["1809-05-31", "1940-12-21", "2017-06-10", "1992-04-06", "2016-03-24", "1992-08-12", "1961-01-10", "1965-12-16", "1987-08-17", "1974-12-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Haydn"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Joseph Haydn\" . ?e <date_of_death> ?pv .  }", "answer": "1809-05-31"}, {"question": "Which person was educated at Smith College?", "choices": ["Brian McKnight", "Max Fleischer", "Jim Brown", "Richard Gere", "William Henry Harrison", "Marvin Hamlisch", "Peter Ustinov", "Sylvia Plath", "Merle Haggard", "Chris Bauer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Smith College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Smith College\" .   }", "answer": "Sylvia Plath"}, {"question": "What country does the association football club with the website of http://www.necaxafutbol.com/ and the Twitter username of ClubNecaxa_en belong to?", "choices": ["Kingdom of Saxony", "Pakistan", "Ireland", "Czechoslovak Socialist Republic", "Costa Rica", "South Africa", "Suriname", "United States of America", "Thailand", "Kingdom of Prussia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.necaxafutbol.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "ClubNecaxa_en", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.necaxafutbol.com/\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ClubNecaxa_en\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "What person was born in Royal Leamington Spa?", "choices": ["Albert Brooks", "Ben Foster", "William Henry Harrison", "Richard Gere", "Kevin McCarthy", "George Hamilton", "Vernon Chatman", "Max Fleischer", "Cameron Mitchell", "Luther Vandross"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Royal Leamington Spa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Royal Leamington Spa\" .   }", "answer": "Ben Foster"}, {"question": "When did the unitary state whose demonym is Kazakstanano have a population of 16321581?", "choices": ["1995-10-17", "2007-08-01", "2012-01-31", "2004-08-05", "2012-02-16", "1909-01-01", "2010", "1603-12-16", "1660", "2011-04-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Kazakstanano"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "16321581", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Kazakstanano\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"16321581\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "Is the running time of Brideshead Revisited, published on 2008-07-25, shorter than 0.9 academic term ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brideshead Revisited"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2008-07-25", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["0.9 academic term", "<"]}], "sparql": "ASK { ?e <pred:name> \"Brideshead Revisited\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2008-07-25\"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> \"academic term\" . ?pv <pred:value> ?v . FILTER ( ?v < \"0.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "Was the film whose narrative location is Hertfordshire, released before 2009 in Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hertfordshire"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2009", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Hertfordshire\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2009 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "what is the title of the TV series episode that has the narrative location of Las Vegas (which was where Pat Morita died)", "choices": ["Water", "The Black Dahlia", "Der scharlachrote Buchstabe", "Eat Pray Love", "The Twilight Zone", "Howards End", "Flags of Our Fathers", "Genesis", "Python", "Batman Forever"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pat Morita"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Las Vegas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["narrative location", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series episode"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Las Vegas\" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> \"Pat Morita\" .  ?e <title> ?pv .  }", "answer": "Genesis"}, {"question": "Where was movie pieces called Standing in the Shadows of Motown published on 3rd July 2003 ?", "choices": ["Toronto International Film Festival", "Europe", "Colombia", "Germany", "Australia", "Quebec", "2003 Cannes Film Festival", "Seattle International Film Festival", "Sorrento", "Canada"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Standing in the Shadows of Motown"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2003-07-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Standing in the Shadows of Motown\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2003-07-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which has a smaller GDP (PPP), Moldova or Denmark?", "choices": ["Bulgaria", "Cuba", "Fiji", "Moldova", "Denmark", "Tajikistan", "Kazakhstan", "Finland", "Sweden", "Kosovo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Moldova"]}, {"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["GDP (PPP)", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Moldova\" .  } UNION { ?e <pred:name> \"Denmark\" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Moldova"}, {"question": "Did the namesake for Madison County, population 346892, die pre-2012 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "346892", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["2012", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Madison County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"346892\"^^xsd:double . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }", "answer": "yes"}, {"question": "How many subscribers does Ryan Phillippe have on his Twitter username of RyanPhilippe ?", "choices": ["103157", "77871", "48525", "395971", "69062", "133", "5060031", "5213", "329401", "274"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ryan Phillippe"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "RyanPhillippe", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ryan Phillippe\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"RyanPhillippe\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "103157"}, {"question": "How many written works fall within a novel genre ?", "choices": ["19", "20", "21", "22", "23", "24", "25", "26", "27", "28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["novel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["written work"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"written work\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"novel\" .   }", "answer": "27"}, {"question": "Ukraine partly encloses which sovereign state?", "choices": ["Madagascar", "Peru", "Turkey", "Cambodia", "Switzerland", "Austrian Empire", "Kiribati", "Danube", "Moldavia", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partially contains", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e_1 <partially_contains> ?e . ?e_1 <pred:name> \"Ukraine\" .   }", "answer": "Moldavia"}, {"question": "When did the the North Carolina county that shares a border with Madison County (whose population is 20836) begin?", "choices": ["1791-12-05", "1632", "1965-01-01", "1496", "1929-02-26", "1871-01-18", "1816-01-01", "1930-12-06", "1919", "1987-02-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "20836", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of North Carolina"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of North Carolina\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Madison County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"20836\"^^xsd:double . ?e <inception> ?pv .  }", "answer": "1791-12-05"}, {"question": "At what frequency does the voltage of 400 volt used in an administrative territory, located in Greenwich Mean Time time zone, work ?", "choices": ["55 hertz", "50", "Islamic state", "C0034065", "Tarzan", "VHS", "50 hertz", "117233744", "60 hertz", "Grade I listed building"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greenwich Mean Time"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["voltage", "400 volt", "frequency"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Greenwich Mean Time\" .  ?e <voltage> ?pv . ?pv <pred:unit> \"volt\" . ?pv <pred:value> \"400\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <voltage> ; <pred:fact_t> ?pv ] <frequency> ?qpv .  }", "answer": "50 hertz"}, {"question": "Was The Last Emperor, of the official website www.thelastemp.com, born prior to 1939 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Last Emperor"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.thelastemp.com"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [2], "inputs": ["1939", "<"]}], "sparql": "ASK { ?e <pred:name> \"The Last Emperor\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.thelastemp.com\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1939 ) .  }", "answer": "no"}, {"question": "Which first-level administrative country subdivision has the largest population whose country calling code is +60?", "choices": ["Minas Gerais", "Melaka", "Penang", "Perak", "Lublin Voivodeship", "Chiapas", "Podlaskie Voivodeship", "Upper Austria", "Selangor", "England"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["country calling code", "+60"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" . ?e <country_calling_code> ?pv_1 . ?pv_1 <pred:value> \"+60\" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Selangor"}, {"question": "When was Patricia Clarkson nominated for a Tony Award for Best Featured Actress in a Play?", "choices": ["2011-06-12", "2015", "2001-06-22", "2003-11-01", "1819", "2006-12-01", "2016-08-01", "2004-11-01", "1930-01-01", "1997-09-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patricia Clarkson"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Featured Actress in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Patricia Clarkson\" . ?e_2 <pred:name> \"Tony Award for Best Featured Actress in a Play\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "What is the connection between World Fantasy Award for Best Novella to Michael Swanwick?", "choices": ["designated as terrorist by", "winner", "official symbol", "movement", "country for sport", "country of origin", "copyright representative", "operating system", "significant event", "color"], "program": [{"function": "Find", "dependencies": [], "inputs": ["World Fantasy Award for Best Novella"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Swanwick"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"World Fantasy Award for Best Novella\" . ?e_2 <pred:name> \"Michael Swanwick\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Which one, Mission: Impossible (the one that is followed by Mission: Impossible II) or Steve Jobs (the one that has John Ortiz as a cast member), has less box office?", "choices": ["Pleasantville", "Talk to Her", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "The Fifth Element", "Steve Jobs", "Training Day", "Mission: Impossible", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible II"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["John Ortiz"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Jobs"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mission: Impossible\" . ?e_1 <follows> ?e . ?e_1 <pred:name> \"Mission: Impossible II\" .   } UNION { ?e <pred:name> \"Steve Jobs\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"John Ortiz\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Steve Jobs"}, {"question": "What is the subject of a statement 'Being Julia was nominated for Academy Award for Best Actress'?", "choices": ["Kosovo\u2013Republic of Macedonia relations", "Iceland\u2013North Korea relations", "Belgium\u2013France border", "Afghanistan\u2013Taiwan relations", "Bulgaria\u2013France relations", "Georgia\u2013Saudi Arabia relations", "Colombia\u2013Russia relations", "Serbia\u2013Venezuela relations", "Egypt\u2013South Sudan relations", "77th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Being Julia"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Being Julia\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "77th Academy Awards"}, {"question": "Is the National Heritage List for England number for the college of the University of Cambridge, where David Foster (born 24th May 1920) used to study, equal to 1126009 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Foster"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1920-05-24", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["college of the University of Cambridge"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["National Heritage List for England number"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["1126009"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"David Foster\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1920-05-24\"^^xsd:date . ?e <National_Heritage_List_for_England_number> ?pv . ?pv <pred:value> \"1126009\" .  }", "answer": "yes"}, {"question": "What master's degree is known by the short name of LL.M.?", "choices": ["Doctor of Philosophy", "Master of Business Administration", "Master of Laws", "Master of Philosophy", "Bachelor of Science", "associate degree", "Master of Fine Arts", "Master of Science", "Master of Arts", "Bachelor of Laws"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "LL.M."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["master's degree"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"master's degree\" . ?e <short_name> ?pv . ?pv <pred:value> \"LL.M.\" .  }", "answer": "Master of Laws"}, {"question": "Is the season count lower for the Rugrats that debuted on 1991-08-11 or for The Mary Tyler Moore Show?", "choices": ["Game of Thrones", "Six Feet Under", "Robot Chicken", "Bleak House", "Phineas and Ferb", "Saturday Night's Main Event", "Dancing with the Stars", "Seinfeld", "The Mary Tyler Moore Show", "Rugrats"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rugrats"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["start time", "1991-08-11", "="]}, {"function": "Find", "dependencies": [], "inputs": ["The Mary Tyler Moore Show"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rugrats\" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> \"1991-08-11\"^^xsd:date . } UNION { ?e <pred:name> \"The Mary Tyler Moore Show\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Mary Tyler Moore Show"}, {"question": "Who is shorter, Brittany Murphy or Chris Waddle?", "choices": ["Sylvester Stallone", "Brittany Murphy", "Max Fleischer", "Richard Gere", "David Byrne", "Chris Waddle", "William Henry Harrison", "James E. Reilly", "Paul Simon", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brittany Murphy"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Waddle"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Brittany Murphy\" .  } UNION { ?e <pred:name> \"Chris Waddle\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Brittany Murphy"}, {"question": "Which has the largest budget among the higher education institutions whose budget is less than 6800000000 euro?", "choices": ["University of Helsinki", "Free University of Berlin", "University of Kiel", "University of Jena", "Humboldt University of Berlin", "University of Freiburg", "King's College London", "Ludwig Maximilian University of Munich", "McMaster University", "San Diego State University"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["budget", "6800000000 euro", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["budget", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <budget> ?pv_1 . ?pv_1 <pred:unit> \"euro\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"6800000000\"^^xsd:double ) . ?e <budget> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ludwig Maximilian University of Munich"}, {"question": "tell me the relationship between Vince grella and 2000 Summer Olympics.", "choices": ["grants", "drug used for treatment", "lifestyle", "parent astronomical body", "spouse", "said to be the same as", "main food source", "permanent resident of", "participant of", "next higher rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vince Grella"]}, {"function": "Find", "dependencies": [], "inputs": ["2000 Summer Olympics"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Vince Grella\" . ?e_2 <pred:name> \"2000 Summer Olympics\" . ?e_1 ?p ?e_2 .  }", "answer": "participant of"}, {"question": "What does Wilmington (the twinned administrative body of Doncaster) have to do with Doncaster?", "choices": ["broadcast by", "candidate", "official language", "located in the administrative territorial entity", "godparent", "killed by", "country", "twinned administrative body", "doctoral advisor", "original film format"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Doncaster"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wilmington"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Doncaster"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Wilmington\" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> \"Doncaster\" . ?e_2 <pred:name> \"Doncaster\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "Which one is longer, Alfie (the one that is shot in New York City) or George Harrison: Living in the Material World?", "choices": ["Pleasantville", "The Hunchback of Notre Dame", "Alfie", "Curse of the Golden Flower", "Rebecca", "Training Day", "George Harrison: Living in the Material World", "A Prairie Home Companion", "The Towering Inferno", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alfie"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["George Harrison: Living in the Material World"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Alfie\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"New York City\" .   } UNION { ?e <pred:name> \"George Harrison: Living in the Material World\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "George Harrison: Living in the Material World"}, {"question": "What administrative territorial entity is Lexington  (the one whose ISNI is 0000 0004 0390 9981), the place of Robert E. Lee's death, located ?", "choices": ["Stockholm Municipality", "Puerto Rico", "London", "Washington", "Virginia", "Rome", "Kentucky", "Wisconsin", "Los Angeles", "Nevada"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert E. Lee"]}, {"function": "Find", "dependencies": [], "inputs": ["Lexington"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["ISNI", "0000 0004 0390 9981"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["place of death", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Robert E. Lee\" . ?e_2 <pred:name> \"Lexington\" . ?e_2 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0390 9981\" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "Virginia"}, {"question": "What is the time period that 76040 is the population of the administrative territorial entity whose FIPS 6-4 for US counties is 05069?", "choices": ["1724-01-01", "1965-08-01", "1888-12-01", "2004-05-01", "2006-08-01", "1986", "1900-12-31", "1664", "2011-07-01", "1843-12-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "05069"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "76040", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"05069\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"76040\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Does Joel Edgerton's production of The Gift or does Dogville have the longer run-time?", "choices": ["Pleasantville", "Curse of the Golden Flower", "Talk to Her", "The Gift", "A Prairie Home Companion", "Training Day", "The Towering Inferno", "The Fifth Element", "Dogville", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joel Edgerton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Gift"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dogville"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Gift\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Joel Edgerton\" .   } UNION { ?e <pred:name> \"Dogville\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dogville"}, {"question": "Which movie is shorter, Pinocchio (the one whose exploitation visa number is 107674) or Sideways?", "choices": ["Sideways", "Training Day", "Talk to Her", "Curse of the Golden Flower", "Pinocchio", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pinocchio"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "107674"]}, {"function": "Find", "dependencies": [], "inputs": ["Sideways"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Pinocchio\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"107674\" . } UNION { ?e <pred:name> \"Sideways\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Pinocchio"}, {"question": "How many film awards were created before 1982 or are involved with the film discipline?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1982", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film award"]}, {"function": "Find", "dependencies": [], "inputs": ["film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award disciplines or subjects", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film award\" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  } UNION { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> \"film\" .  } }", "answer": "9"}, {"question": "Which movie is shorter, Amadeus (the one that was nominated for BAFTA Award for Best Makeup and Hair) or Revolutionary Road?", "choices": ["Talk to Her", "The Towering Inferno", "Curse of the Golden Flower", "Revolutionary Road", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Fifth Element", "Pleasantville", "Rebecca", "Amadeus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Makeup and Hair"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Amadeus"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Revolutionary Road"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Amadeus\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"BAFTA Award for Best Makeup and Hair\" .   } UNION { ?e <pred:name> \"Revolutionary Road\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Revolutionary Road"}, {"question": "Ken Burns produced which series for TV?", "choices": ["The Civil War", "The Contender", "George Washington", "Charlie's Angels", "Barney Miller", "The Ten Commandments", "Game of Thrones", "30 Rock", "Battlestar Galactica", "The Biggest Loser"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ken Burns"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Ken Burns\" .   }", "answer": "The Civil War"}, {"question": "How many television stations are operated by the business using the username of Viacom with 179273?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "Viacom"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "179273", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["business"]}, {"function": "Relate", "dependencies": [3], "inputs": ["operator", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television station"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television station\" . ?e <operator> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"business\" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"Viacom\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"179273\"^^xsd:double .   }", "answer": "1"}, {"question": "Which 3d movie less than 280 minutes is the shortest?W", "choices": ["Frankenweenie", "ParaNorman", "Avatar", "Piranha 3D", "Santos Laguna", "Wayne County", "Paul Dini", "The Smurfs", "P.S. I Love You", "Marilyn Monroe"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "280 minute", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"280\"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankenweenie"}, {"question": "Is the running time longer for Luther, titled Luther \u2013 Ein Film der deutschen Reformation, or for Kill Bill Volume 1?", "choices": ["The Fifth Element", "The Towering Inferno", "Kill Bill Volume 1", "Pleasantville", "Training Day", "Talk to Her", "Luther", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luther"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Luther \u2013 Ein Film der deutschen Reformation"]}, {"function": "Find", "dependencies": [], "inputs": ["Kill Bill Volume 1"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Luther\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Luther \u2013 Ein Film der deutschen Reformation\" . } UNION { ?e <pred:name> \"Kill Bill Volume 1\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kill Bill Volume 1"}, {"question": "Who was nominated for Academy Award for Best Sound Mixing for Twister (the one whose genre is drama film)  ?", "choices": ["Central African Republic\u2013Democratic Republic of the Congo border", "China\u2013India relations", "Qatar\u2013Saudi Arabia relations", "Syria\u2013European Union relations", "Greece\u2013Pakistan relations", "69th Academy Awards", "New Zealand\u2013Norway relations", "Colombia\u2013South Korea relations", "Australia\u2013Argentina relations", "Armenia\u2013Taiwan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Twister"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Twister\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"drama film\" . ?e_2 <pred:name> \"Academy Award for Best Sound Mixing\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "69th Academy Awards"}, {"question": "What is the time period that the National Football League Draft's official website is http://www.nfl.com/draft/history/fulldraft?season=2004?", "choices": ["2014-03-13", "1909-01-01", "2008-04-09", "2004", "2006-08-16", "1991-09-11", "1954-03-25", "2002-02-27", "1830-01-01", "1996-08-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.nfl.com/draft/history/fulldraft?season=2004"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["National Football League Draft"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["point in time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"National Football League Draft\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.nfl.com/draft/history/fulldraft?season=2004\" . ?e <point_in_time> ?pv .  }", "answer": "2004"}, {"question": "Does Chautauqua County or Fulton County that shares border with Saratoga County have less area?", "choices": ["Niagara County", "Greene County", "Fulton County", "Albany County", "Warren County", "Rensselaer County", "Cayuga County", "Jefferson County", "Orange County", "Chautauqua County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saratoga County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fulton County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chautauqua County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fulton County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Saratoga County\" .   } UNION { ?e <pred:name> \"Chautauqua County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Fulton County"}, {"question": "Does Tommy (that has the Decca record label) or American Beauty (whose genre is folk rock) have the longer runtime?", "choices": ["Luis Miguel", "The B-52's", "Dynasty", "Toni Braxton", "Kraftwerk", "Tommy", "Bon Jovi", "Hollywood", "Roots", "American Beauty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Decca"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tommy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["folk rock"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["American Beauty"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tommy\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"Decca\" .   } UNION { ?e <pred:name> \"American Beauty\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"folk rock\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tommy"}, {"question": "When was the association football club that is headquartered in Darlington established?", "choices": ["1962-06-27", "1970-08-12", "742", "1956-04-07", "1908-05-27", "1949-08-10", "1883", "1810-09-25", "1918-11-18", "1854"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Darlington"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Darlington\" .  ?e <inception> ?pv .  }", "answer": "1883"}, {"question": "Which has a lesser duration, Shane or We Need to Talk About Kevin?", "choices": ["Shane", "We Need to Talk About Kevin", "The Hunchback of Notre Dame", "Pleasantville", "A Prairie Home Companion", "The Towering Inferno", "The Fifth Element", "Curse of the Golden Flower", "Talk to Her", "Rebecca"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shane"]}, {"function": "Find", "dependencies": [], "inputs": ["We Need to Talk About Kevin"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shane\" .  } UNION { ?e <pred:name> \"We Need to Talk About Kevin\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "We Need to Talk About Kevin"}, {"question": "What work was shot in Andorra?", "choices": ["The Opposite of Sex", "A Christmas Carol", "Rebecca", "The Three Musketeers", "Salvador", "Talk to Her", "A Prairie Home Companion", "Analyze This", "Pittsburgh", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andorra"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Andorra\" .   }", "answer": "Salvador"}, {"question": "How large is the city of the United States whose official website is http://www.burlingtoniowa.org/ (the language of this statement is English)?", "choices": ["2027 square kilometre", "496.21 square kilometre", "39.420925 square kilometre", "1367250000 square metre", "157.88 square kilometre", "93036 square kilometre", "58380000 square metre", "112492 square kilometre", "10044 square kilometre", "3418 square kilometre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.burlingtoniowa.org/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.burlingtoniowa.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <area> ?pv .  }", "answer": "39.420925 square kilometre"}, {"question": "Is Harold Gould the name in native language of the person whose official website is http://deborahannwoll.net ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://deborahannwoll.net"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Harold Gould"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://deborahannwoll.net\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Harold Gould\" .  }", "answer": "no"}, {"question": "Which class example is shown by 1565, the year a city in the United states, with the official English language website http://www.ci.st-augustine.fl.us, was founded?", "choices": ["fixed exchange rate", "singular", "New Hampshire Democratic Party", "ISO standard", "verified account", "archipelago", "Gran Colombia", "historical country", "statement with Gregorian date earlier than 1584", "vehicle registration plates of Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ci.st-augustine.fl.us/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inception", "1565", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.st-augustine.fl.us/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <inception> ?pv . ?pv <pred:year> 1565 . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "What does white cabbage have to do with lipid?", "choices": ["original film format", "place served by transport hub", "nutrient", "owned by", "editor", "general manager", "subject has role", "composer", "distributor", "military conflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["white cabbage"]}, {"function": "Find", "dependencies": [], "inputs": ["lipid"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"white cabbage\" . ?e_2 <pred:name> \"lipid\" . ?e_1 ?p ?e_2 .  }", "answer": "nutrient"}, {"question": "Who is taller, Stan Lee that is a cast member of X-Men: The Last Stand or Bo Derek?", "choices": ["William Henry Harrison", "Paul Simon", "Stan Lee", "Richard Gere", "James E. Reilly", "Max Fleischer", "Rahul Dev Burman", "Simon Cowell", "Sylvester Stallone", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["X-Men: The Last Stand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Stan Lee"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Bo Derek"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Stan Lee\" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> \"X-Men: The Last Stand\" .   } UNION { ?e <pred:name> \"Bo Derek\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Stan Lee"}, {"question": "When was Pulp Fiction nominated for a BAFTA Award for Best Film?", "choices": ["2017-02-24", "2003-08-01", "2006-09-01", "1881-01-01", "2008-01-01", "2004-01-01", "2017-07-06", "1998-10-21", "1995", "1880-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pulp Fiction"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Film"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Pulp Fiction\" . ?e_2 <pred:name> \"BAFTA Award for Best Film\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1995"}, {"question": "How many musicals were authored by Terry O'Quinn?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terry O'Quinn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["author", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical"]}, {"function": "Find", "dependencies": [], "inputs": ["musical"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical\" .  { ?e <author> ?e_1 . ?e_1 <pred:name> \"Terry O'Quinn\" .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> \"musical\" .  } }", "answer": "3"}, {"question": "When did the city originate which contains the Gold Coast United FC headquarters?", "choices": ["1749", "1792-01-01", "1711", "1987-10-31", "988", "2008-02-17", "1958", "1790-04-27", "1989-08-01", "1583"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Gold Coast United FC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"Gold Coast United FC\" .  ?e <inception> ?pv .  }", "answer": "1958"}, {"question": "How is Geena Davis related to the 63rd Golden Globe Awards?", "choices": ["organizer", "tributary", "official color", "home port", "mother", "occupation", "award received", "contributor(s) to the creative work", "professorship", "terminus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Geena Davis"]}, {"function": "Find", "dependencies": [], "inputs": ["63rd Golden Globe Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Geena Davis\" . ?e_2 <pred:name> \"63rd Golden Globe Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Which film has the longer running time, Mighty Joe Young (released on 1949-01-01) or We Were Soldiers?", "choices": ["The Fifth Element", "A Prairie Home Companion", "Mighty Joe Young", "Rebecca", "Pleasantville", "Curse of the Golden Flower", "The Hunchback of Notre Dame", "Training Day", "The Towering Inferno", "We Were Soldiers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mighty Joe Young"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1949-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["We Were Soldiers"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mighty Joe Young\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1949-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"We Were Soldiers\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "We Were Soldiers"}, {"question": "What is the connection between Spider-Man (the one that is released for PlayStation 2) to Willem Dafoe?", "choices": ["symptoms", "destination point", "military casualty classification", "found", "successful candidate", "model item", "set in period", "characters", "organisation directed from the office or person", "voice actor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PlayStation 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["platform", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Willem Dafoe"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spider-Man\" . ?e_1 <platform> ?e_3 . ?e_3 <pred:name> \"PlayStation 2\" . ?e_2 <pred:name> \"Willem Dafoe\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "Which comedy whose number of episodes is not 6600 has the least number of seasons?", "choices": ["stand-up comedy", "farce", "The Golden Girls", "Live and Let Die", "Prison Break", "comedy of manners", "The Monkees", "Mr. Smith Goes to Washington", "Chris Newman", "William S. Darling"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "6600", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of seasons", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6600\"^^xsd:double ) . ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mr. Smith Goes to Washington"}, {"question": "When did the value of 655,044 match the population of an administrative territorial entity, that shares a border with Douglas County (covering the area of 2,193 square km) ?", "choices": ["1753", "2013-07-01", "2011-04-01", "1634-01-01", "2010-02-11", "2001-05-16", "2013-10-01", "1764", "2012-02-20", "1999-02-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Douglas County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2183 square kilometre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "655044", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Douglas County\" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"2183\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"655044\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "How many medicines are prescribed by psychiatrists or fall into work field of Garl Gustav Jung?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["psychiatrist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["practiced by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medicine"]}, {"function": "Find", "dependencies": [], "inputs": ["Carl Gustav Jung"]}, {"function": "Relate", "dependencies": [3], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["medicine"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medicine\" .  { ?e <practiced_by> ?e_1 . ?e_1 <pred:name> \"psychiatrist\" .  } UNION { ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"Carl Gustav Jung\" .  } }", "answer": "1"}, {"question": "Which company has fewer employees, The Coca-Cola Company or Verizon?", "choices": ["Entertainment One", "McDonald's", "KLM", "The Coca-Cola Company", "Adobe Inc.", "Sega", "Verizon", "Vodafone", "Silver Pictures", "Pfizer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Coca-Cola Company"]}, {"function": "Find", "dependencies": [], "inputs": ["Verizon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Coca-Cola Company\" .  } UNION { ?e <pred:name> \"Verizon\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Coca-Cola Company"}, {"question": "Is 1988-05-25 the birth date of someone who died on 1932-11-25?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1932-11-25", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyDate", "dependencies": [3], "inputs": ["1988-05-25", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"1932-11-25\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:date> \"1988-05-25\"^^xsd:date .  }", "answer": "no"}, {"question": "How many subscribers does Ashanti (the one whose ISNI is 0000 0001 1440 4573), Twitter username ashanti, have?", "choices": ["2697", "6775", "1963433", "25066", "531071", "708455", "80855", "4678", "142248", "95948"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ashanti"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1440 4573"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["Twitter username", "ashanti", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Ashanti\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1440 4573\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ashanti\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1963433"}, {"question": "What is the number of scientists that are Carl Friedrich Gauss' profession or are unlike sound editor?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carl Friedrich Gauss"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["scientist"]}, {"function": "Find", "dependencies": [], "inputs": ["sound editor"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["scientist"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"scientist\" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Carl Friedrich Gauss\" .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> \"sound editor\" .  } }", "answer": "2"}, {"question": "What is the connection between Lara Croft: Tomb Raider to Iain Glen?", "choices": ["practiced by", "sponsor", "connects with", "official symbol", "board member", "ethnic group", "cast member", "developer", "health specialty", "officially opened by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lara Croft: Tomb Raider"]}, {"function": "Find", "dependencies": [], "inputs": ["Iain Glen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lara Croft: Tomb Raider\" . ?e_2 <pred:name> \"Iain Glen\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What is the connection between The Grifters to National Society of Film Critics Award for Best Film?", "choices": ["languages spoken, written or signed", "item operated", "nominated for", "position held", "software engine", "professorship", "location of final assembly", "significant event", "honorific suffix", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Grifters"]}, {"function": "Find", "dependencies": [], "inputs": ["National Society of Film Critics Award for Best Film"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Grifters\" . ?e_2 <pred:name> \"National Society of Film Critics Award for Best Film\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Does Top Gun or Agora have the shorter runtime?", "choices": ["Training Day", "The Hunchback of Notre Dame", "Rebecca", "Agora", "The Fifth Element", "Curse of the Golden Flower", "Top Gun", "Talk to Her", "The Towering Inferno", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Top Gun"]}, {"function": "Find", "dependencies": [], "inputs": ["Agora"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Top Gun\" .  } UNION { ?e <pred:name> \"Agora\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Top Gun"}, {"question": "What is the official website of Planet of the Apes (the one that was nominated for Golden Raspberry Award for Worst Supporting Actor)?", "choices": ["http://www.sepultura.com/", "https://www.warnerbros.com/kiss-kiss-bang-bang", "http://www.stax-records.com/", "http://www.albertoiglesias.net/base.htm", "http://www.laparks.org/venice", "http://www.foxmovies.com/movies/planet-of-the-apes", "http://www.dixiechicks.com", "http://www.hillsboroughcounty.org", "http://www.rayromano.com/", "http://www.uni-marburg.de/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Planet of the Apes"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Planet of the Apes\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Golden Raspberry Award for Worst Supporting Actor\" .  ?e <official_website> ?pv .  }", "answer": "http://www.foxmovies.com/movies/planet-of-the-apes"}, {"question": "For which work was Peter Berg (the one that is an ethnic group of Jewish people)  nominated for Primetime Emmy Award for Outstanding Drama Series?", "choices": ["Hustle & Flow", "Till the World Ends", "Images", "Friday Night Lights", "Angela's Ashes", "Damages", "The L Word", "Spider-Man", "The Day of the Locust", "We Found Love"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Berg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Drama Series"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Peter Berg\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"Jewish people\" . ?e_2 <pred:name> \"Primetime Emmy Award for Outstanding Drama Series\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "Friday Night Lights"}, {"question": "How many news whose official website is http://thedailyshow.com or that received a Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://thedailyshow.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "Find", "dependencies": [], "inputs": ["Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program"]}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["news"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" .  { ?e <official_website> ?pv . ?pv <pred:value> \"http://thedailyshow.com\" .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program\" .  } }", "answer": "2"}, {"question": "Tell me the number of law schools that is part of the University that employed Larry McMurtrey", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Larry McMurtry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "Relate", "dependencies": [2], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["law school"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"law school\" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"university\" . ?e_2 <employer> ?e_1 . ?e_2 <pred:name> \"Larry McMurtry\" .   }", "answer": "0"}, {"question": "Which one has lower box office score, He's Just Not That into You or Mission: Impossible II ?", "choices": ["Rebecca", "Talk to Her", "The Fifth Element", "A Prairie Home Companion", "Curse of the Golden Flower", "Pleasantville", "The Towering Inferno", "Training Day", "Mission: Impossible II", "He's Just Not That into You"], "program": [{"function": "Find", "dependencies": [], "inputs": ["He's Just Not That into You"]}, {"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible II"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"He's Just Not That into You\" .  } UNION { ?e <pred:name> \"Mission: Impossible II\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "He's Just Not That into You"}, {"question": "Is the ISNI of the human whose official website is http://www.serkis.com equal to 0000 0001 1519 6278?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.serkis.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 1519 6278"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.serkis.com\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1519 6278\" .  }", "answer": "no"}, {"question": "Is Marche the native label of the river whose discharge is less than 140 cubic metre per second?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["discharge", "140 cubic metre per second", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["river"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["native label"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Marche"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"river\" . ?e <discharge> ?pv_1 . ?pv_1 <pred:unit> \"cubic metre per second\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"140\"^^xsd:double ) . ?e <native_label> ?pv . ?pv <pred:value> \"Marche\" .  }", "answer": "no"}, {"question": "When did Warren Feeney stop being a member of the Northern Ireland national football team?", "choices": ["1944-11-13", "1918-11-15", "1814-05-04", "1815-06-08", "2005-05-16", "1936", "2011-01-01", "2018-05-21", "1999-03-01", "1815-06-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warren Feeney"]}, {"function": "Find", "dependencies": [], "inputs": ["Northern Ireland national football team"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Warren Feeney\" . ?e_2 <pred:name> \"Northern Ireland national football team\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "Does Jiangsu or Liaoning have less area?", "choices": ["Anhui", "Zhejiang", "Shaanxi", "Hubei", "Hunan", "Henan", "Fujian", "Yunnan", "Jiangsu", "Guangdong"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jiangsu"]}, {"function": "Find", "dependencies": [], "inputs": ["Liaoning"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Jiangsu\" .  } UNION { ?e <pred:name> \"Liaoning\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Jiangsu"}, {"question": "How many food ingredients have OKPD2 code 10.51.40.100 or whose pronunciation audio is Uk-\u043f\u043e\u043c\u0456\u0434\u043e\u0440.ogg?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OKPD2 code of the good or service", "10.51.40.100"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["pronunciation audio", "Uk-\u043f\u043e\u043c\u0456\u0434\u043e\u0440.ogg"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["food ingredient"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" .  { ?e <OKPD2_code_of_the_good_or_service> ?pv . ?pv <pred:value> \"10.51.40.100\" .  } UNION { ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Uk-\u043f\u043e\u043c\u0456\u0434\u043e\u0440.ogg\" .  } }", "answer": "2"}, {"question": "Is 0000 0000 3877 466X the ISNI of Anthony Quayle?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anthony Quayle"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0000 3877 466X"]}], "sparql": "ASK { ?e <pred:name> \"Anthony Quayle\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 3877 466X\" .  }", "answer": "no"}, {"question": "What is the country of Heriot-Watt University, which uses the Twitter name HeriotWattUni?", "choices": ["Bhutan", "People's Republic of China", "Ukraine", "Holy Roman Empire", "Albania", "India", "United Kingdom", "Kuwait", "Belgium", "Estonia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heriot-Watt University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["Twitter username", "HeriotWattUni", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Heriot-Watt University\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"HeriotWattUni\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "At what point in time is 37819 the population of the United States town having the official website http://www.amherstma.gov/?", "choices": ["1982-02-24", "1780-01-01", "1698-01-01", "2016-01-07", "2017-09-14", "2018-03-20", "2010", "2004-04-28", "2015-06-30", "2015-10-31"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.amherstma.gov/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["town of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "37819", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"town of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.amherstma.gov/\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"37819\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010"}, {"question": "A Mighty Wind was the nominee for which award?", "choices": ["Latin Grammy Award for Song of the Year", "Saturn Award for Best Writing", "Grammy Award for Best Metal Performance", "Genie Award for Best Achievement in Costume Design", "Grammy Award for Best Reggae Album", "Independent Spirit Award for Best Screenplay", "Independent Spirit Award for Best Female Lead", "Grammy Award for Best Music Video", "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie", "Broadcast Film Critics Association Award for Best Cast"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Mighty Wind"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"A Mighty Wind\" .   }", "answer": "Independent Spirit Award for Best Screenplay"}, {"question": "Of movie series without 140 episodes, which has the fewest?", "choices": ["Ice Age", "The Fast and the Furious", "Infernal Affairs", "Rugrats", "Why We Fight", "Looney Tunes", "Dumb and Dumber", "Final Destination", "The Smurfs", "Die Hard"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "140", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"140\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Infernal Affairs"}, {"question": "Which is shorter, Julius Caesar in black-and-white or Tuvalu (exploitation visa number 100781)?", "choices": ["Rebecca", "The Towering Inferno", "The Fifth Element", "The Hunchback of Notre Dame", "Training Day", "Curse of the Golden Flower", "Pleasantville", "A Prairie Home Companion", "Tuvalu", "Julius Caesar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["black-and-white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Julius Caesar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tuvalu"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["exploitation visa number", "100781"]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Julius Caesar\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"black-and-white\" . } UNION { ?e <pred:name> \"Tuvalu\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"100781\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tuvalu"}, {"question": "Which person born later than 1965 did their studies at Union College?", "choices": ["Kevin Garnett", "Jimmy Carter", "Kid Cudi", "Robert Chartoff", "Phil Alden Robinson", "Jim O'Rourke", "PJ Harvey", "John Wells", "Chris Sheridan", "Sean Hayes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Union College"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "1965", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"Union College\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1965 ) .  }", "answer": "Chris Sheridan"}, {"question": "Which is shorter, Oliver Twist that is 80 minutes long or The Untouchables starring Sean Connery?", "choices": ["The Fifth Element", "The Untouchables", "The Hunchback of Notre Dame", "Talk to Her", "Oliver Twist", "Rebecca", "Pleasantville", "Training Day", "A Prairie Home Companion", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oliver Twist"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "80 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sean Connery"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Untouchables"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Oliver Twist\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"80\"^^xsd:double . } UNION { ?e <pred:name> \"The Untouchables\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sean Connery\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Oliver Twist"}, {"question": "How many belief systems apply to the jurisdiction over the sovereign state whose female citizens are the \u0440\u0443\u0441\u043a\u0430 people?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "\u0440\u0443\u0441\u043a\u0430"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "feminine"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [3], "inputs": ["applies to jurisdiction", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["belief system"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"belief system\" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <demonym> ?pv . ?pv <pred:value> \"\u0440\u0443\u0441\u043a\u0430\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> \"feminine\" .   }", "answer": "0"}, {"question": "What Hispanic/Latino is a cast member of Atonement (production code K0123)?", "choices": ["Richard Gere", "William Henry Harrison", "Gloria Estefan", "Michael Imperioli", "Sylvester Stallone", "Max Fleischer", "Benjamin Bratt", "S. Epatha Merkerson", "Grey DeLisle", "John Leguizamo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hispanic and Latino Americans"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Atonement"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["production code", "K0123"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Hispanic and Latino Americans\" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> \"Atonement\" . ?e_2 <production_code> ?pv . ?pv <pred:value> \"K0123\" .  }", "answer": "Benjamin Bratt"}, {"question": "Regarding a movie first published on 27th June 2007, what is the location of its first performance on 16th October 2007 ?", "choices": ["Broadcasting House", "West Virginia", "Ancient Egypt", "Brookline", "Melbourne", "Brevard County", "Dormont", "worldwide", "Mortlake Crematorium", "Rome"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-06-27", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["date of first performance", "2007-10-15", "location"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2007-06-27\"^^xsd:date . ?e <date_of_first_performance> ?pv . ?pv <pred:date> \"2007-10-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <date_of_first_performance> ; <pred:fact_t> ?pv ] <location> ?qpv .  }", "answer": "Rome"}, {"question": "What video game console not released in 1985 has sold the most units?", "choices": ["Wii", "Ghost Rider: Spirit of Vengeance", "Emma", "Nintendo Entertainment System", "PlayStation 2", "Xbox 360", "PlayStation 3", "Mia Farrow", "Mr. & Mrs. Smith", "Psycho"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "1985", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1985 ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "PlayStation 2"}, {"question": "Hotel Rwanda was nominated for an Academy Award for Best Actor for which individual?", "choices": ["China\u2013South Africa relations", "77th Academy Awards", "Germany\u2013Slovenia relations", "Germany\u2013Turkey relations", "Kenya\u2013Somalia border", "Costa Rica\u2013Uruguay relations", "India\u2013Liberia relations", "Germany-Ethiopia relations", "Romania\u2013United States relations", "Albania\u2013Croatia relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hotel Rwanda"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hotel Rwanda\" . ?e_2 <pred:name> \"Academy Award for Best Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "77th Academy Awards"}, {"question": "What is Roberto Benigni's ISNI designation?", "choices": ["0000 0001 1450 1541", "0000 0001 2226 3846", "0000 0001 1474 5378", "0000 0003 6864 0840", "0000 0001 2102 0236", "0000 0001 2375 0136", "0000 0001 0671 8898", "0000 0001 1947 3244", "0000 0001 1450 5366", "0000 0003 6863 9938"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roberto Benigni"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Roberto Benigni\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 1450 1541"}, {"question": "How many ethnic groups are there whose Statistics Indonesia ethnicity code is 0114 6 or whose Dewey Decimal Classification is 305.891992 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Statistics Indonesia ethnicity code", "0114 6"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ethnic group"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Dewey Decimal Classification", "305.891992"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["ethnic group"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ethnic group\" .  { ?e <Statistics_Indonesia_ethnicity_code> ?pv . ?pv <pred:value> \"0114 6\" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> \"305.891992\" .  } }", "answer": "2"}, {"question": "How many sciences have alcoholism as a health specialty?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alcoholism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["health specialty", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["science"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"science\" . ?e_1 <health_specialty> ?e . ?e_1 <pred:name> \"alcoholism\" .   }", "answer": "1"}, {"question": "To which part of Bohemia (a part of Czech Republic) does the demonym \"boema\" apply?", "choices": ["adjective", "feminine singular", "Humphreys County", "Peter I Island", "conductor", "medication", "Torchwood, season 1", "Garut", "Russia", "Pangandaran"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Czech Republic"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bohemia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["demonym", "boema", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Bohemia\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Czech Republic\" .  ?e <demonym> ?pv . ?pv <pred:value> \"boema\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "feminine singular"}, {"question": "When did  Staffordshire become located in the West Midlands (the one that contains Warwickshire)?", "choices": ["2012-03-24", "1997-04-27", "1834-01-09", "1994", "1964-08-05", "1878", "1861-03-17", "1788-04-28", "1982-10-01", "1625"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Staffordshire"]}, {"function": "Find", "dependencies": [], "inputs": ["Warwickshire"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["West Midlands"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["located in the administrative territorial entity", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Staffordshire\" . ?e_2 <pred:name> \"West Midlands\" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> \"Warwickshire\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1994"}, {"question": "Is the release date in the release region Germany for the film whose title is The Texas Chainsaw Massacre prior to the year 2016?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Texas Chainsaw Massacre"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2016", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Texas Chainsaw Massacre\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2016 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "Which large city is Waterford's twinned administrative body?", "choices": ["Bochum", "Utrecht", "Chemnitz", "Pasadena", "Boulogne-Billancourt", "Metz", "St. John's", "Rochester", "Lyon", "Stuttgart"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Waterford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> \"Waterford\" .   }", "answer": "St. John's"}, {"question": "For the kind of sport that has sport team Peter Jackson (the one who was born on 1964-10-22), tell me its IAB code.", "choices": ["1160", "1087", "1261", "696", "538", "1122", "528", "121", "545", "1390"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Jackson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1964-10-22", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["sport", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["type of sport"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["IAB code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e_1 <sport> ?e . ?e_1 <pred:name> \"Peter Jackson\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1964-10-22\"^^xsd:date . ?e <IAB_code> ?pv .  }", "answer": "538"}, {"question": "When was Kristin Scott Thomas a Golden Raspberry nominee for Worst Supporting Actress?", "choices": ["1995-12-01", "1996-04-24", "2015-09-20", "1819", "2011-12-27", "1614", "2003-06-01", "2008-03-12", "1981-12-31", "1986"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kristin Scott Thomas"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kristin Scott Thomas\" . ?e_2 <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1986"}, {"question": "What is the release territory of the film whose title is \u4e71 (having the transliteration ran) and release date is 1986-04-10?", "choices": ["Germany", "Lithuania", "Tokyo", "Taormina Film Fest", "Los Angeles", "BFI London Film Festival", "Thailand", "1949 Cannes Film Festival", "Brazil", "Vietnam"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u4e71"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["transliteration", "ran"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1986-04-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u4e71\" . [ <pred:fact_h> ?e ; <pred:fact_r> <title> ; <pred:fact_t> ?pv_1 ] <transliteration> ?qpv_1 . ?qpv_1 <pred:value> \"ran\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1986-04-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How long is the movie titled Alaska?", "choices": ["167 minute", "176 minute", "91 minute", "113 minute", "42 minute", "123 minute", "849 minute", "40 minute", "786 minute", "109 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Alaska"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Alaska\" . ?e <duration> ?pv .  }", "answer": "109 minute"}, {"question": "Which territorial jurisdiction does http://www.fpf.pt/pt/, the official website of a national association football team whose ranking is above 0 (the league points of this statement is 1446)?", "choices": ["Turkey", "Brazil", "Sakhalin Oblast", "Oryol Oblast", "Spain", "Portugal", "Bulgaria", "Florida", "New Zealand", "Murmansk Oblast"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "0", ">"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["points for", "1446", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["official website", "http://www.fpf.pt/pt/", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"0\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <points_for> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"1446\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.fpf.pt/pt/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "Portugal"}, {"question": "What is the number of engineering that is Nikola Tesla's field or that has IPTC newscode of mediatopic/20000760", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nikola Tesla"]}, {"function": "Relate", "dependencies": [0], "inputs": ["field of work", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["engineering"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IPTC Newscode", "mediatopic/20000760"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["engineering"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"engineering\" .  { ?e_1 <field_of_work> ?e . ?e_1 <pred:name> \"Nikola Tesla\" .  } UNION { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000760\" .  } }", "answer": "3"}, {"question": "Who is worth more: Ellen DeGeneres or Bill Cosby?", "choices": ["David Byrne", "Sylvester Stallone", "James E. Reilly", "William Henry Harrison", "Richard Gere", "Bill Cosby", "Paul Simon", "Rahul Dev Burman", "Simon Cowell", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ellen DeGeneres"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Cosby"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ellen DeGeneres\" .  } UNION { ?e <pred:name> \"Bill Cosby\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bill Cosby"}, {"question": "What is the ISNI of Corpus Christi College (the one whose official website is http://www.corpus.cam.ac.uk/)?", "choices": ["0000 0000 5515 1448", "0000 0004 0635 6729", "0000 0001 2096 1819", "0000 0001 0816 8287", "0000 0000 4049 2194", "0000 0004 0638 851X", "0000 0001 1940 4062", "0000 0001 2140 7406", "0000 0001 2293 9906", "0000 0000 3977 7045"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Corpus Christi College"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.corpus.cam.ac.uk/"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Corpus Christi College\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.corpus.cam.ac.uk/\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 2293 9906"}, {"question": "How many German states occupy more than 45000000 square meters or have ISO 3166-2 code DE-ST?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "45000000 square metre", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISO 3166-2 code", "DE-ST"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of Germany"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" .  { ?e <area> ?pv . ?pv <pred:unit> \"square metre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"45000000\"^^xsd:double ) .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"DE-ST\" .  } }", "answer": "1"}, {"question": "Is Eddie Selzer's date of birth not in 1973?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eddie Selzer"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1973", "!="]}], "sparql": "ASK { ?e <pred:name> \"Eddie Selzer\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1973 ) .  }", "answer": "yes"}, {"question": "Was the individual corresponding to ISNI 0000 0001 0901 1820 born as Christopher Brian Bridges ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0901 1820"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["birth name"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Christopher Brian Bridges"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0901 1820\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Christopher Brian Bridges\" .  }", "answer": "no"}, {"question": "When did the city of the United States that is the capital of West Virginia have a population of 49138?", "choices": ["2010-07-14", "2016", "2012-11-01", "2013-12-28", "2017-08-31", "1898", "1941-01-01", "1861-01-01", "1914-01-01", "2003-08-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["West Virginia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "49138", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <capital> ?e . ?e_1 <pred:name> \"West Virginia\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"49138\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016"}, {"question": "Is the FIPS 10-4 (countries and regions) GV for the province of China whose China administrative division code is 44?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["China administrative division code", "44"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of China"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["FIPS 10-4 (countries and regions)"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["GV"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of China\" . ?e <China_administrative_division_code> ?pv_1 . ?pv_1 <pred:value> \"44\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> \"GV\" .  }", "answer": "no"}, {"question": "What number of University of Cambridge's colleges are located in Skopje?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Skopje"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college of the University of Cambridge"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Skopje\" .   }", "answer": "0"}, {"question": "How is Paranormal Activity related to Hong Kong where The Expendables 2 was released?", "choices": ["discoverer or inventor", "superhuman feature or ability", "director", "film release region", "office held by head of state", "place of publication", "noble title", "employer", "chairperson", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Paranormal Activity"]}, {"function": "Find", "dependencies": [], "inputs": ["The Expendables 2"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hong Kong"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Paranormal Activity\" . ?e_2 <pred:name> \"Hong Kong\" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> \"The Expendables 2\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Of 3D movies made by the stop-motion method, which has the longest run-time?", "choices": ["The Smurfs", "Madison County", "Milwaukee", "Avatar", "Winter's Bone", "ParaNorman", "Waukegan", "Woodrow Wilson", "Frankenweenie", "Piranha 3D"], "program": [{"function": "Find", "dependencies": [], "inputs": ["stop-motion"]}, {"function": "Relate", "dependencies": [0], "inputs": ["fabrication method", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["3D film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["duration", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"3D film\" . ?e <fabrication_method> ?e_1 . ?e_1 <pred:name> \"stop-motion\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "ParaNorman"}, {"question": "What is the height of the person with ISNI 0000 0000 0146 3737?", "choices": ["1.88 metre", "155 centimetre", "194 centimetre", "163 centimetre", "1.75 metre", "206 centimetre", "79 centimetre", "1.98 metre", "59 inch", "1.92 metre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 0146 3737"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 0146 3737\" . ?e <height> ?pv .  }", "answer": "1.88 metre"}, {"question": "Where was the film that received an Academy Award for Best Actress (at the 72nd Academy Awards) published on 2000-02-03?", "choices": ["Germany", "Rio de Janeiro", "R\u00e4ttvik", "European Union", "Cannes Film Festival", "Croatia", "Slovenia", "Lithuania", "France", "Sweden"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "72nd Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2000-02-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actress\" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"72nd Academy Awards\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-02-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is television producer Mark Harmon linked to Burbank?", "choices": ["cites", "office held by head of state", "cast member", "drafted by", "lifestyle", "main subject", "place of birth", "genre", "replaced by", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["television producer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mark Harmon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Burbank"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mark Harmon\" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> \"television producer\" . ?e_2 <pred:name> \"Burbank\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Tell me the administrative territorial entity containing military conflicts with Union of South Africa.", "choices": ["British Raj", "Orange County", "German Empire", "Hartford County", "Washoe County", "Canada", "African Union", "Ticino", "United Kingdom", "Dominion of New Zealand"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Union of South Africa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military conflicts", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> \"Union of South Africa\" .   }", "answer": "Dominion of New Zealand"}, {"question": "What is the ISNI of the city where the 2008 Summer Olympics took place?", "choices": ["0000 0001 0904 5529", "0000 0004 0632 3708", "0000 0001 2136 7221", "0000 0000 8161 2084", "0000 0000 6387 3432", "0000 0000 8200 2536", "0000 0001 1465 8434", "0000 0001 1080 0413", "0000 0001 2159 7692", "0000 0001 1674 9444"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2008 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <location> ?e . ?e_1 <pred:name> \"2008 Summer Olympics\" .  ?e <ISNI> ?pv .  }", "answer": "0000 0001 2159 7692"}, {"question": "Who has greater mass, Chris Brown (who was drafted by Arizona Coyotes) or Ron Howard (who was born in Oakland)?", "choices": ["James E. Reilly", "Simon Cowell", "Ron Howard", "Paul Simon", "Sylvester Stallone", "William Henry Harrison", "Rahul Dev Burman", "David Byrne", "Richard Gere", "Chris Brown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arizona Coyotes"]}, {"function": "Relate", "dependencies": [0], "inputs": ["drafted by", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Chris Brown"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Oakland"]}, {"function": "Relate", "dependencies": [4], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ron Howard"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Chris Brown\" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> \"Arizona Coyotes\" .   } UNION { ?e <pred:name> \"Ron Howard\" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> \"Oakland\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Ron Howard"}, {"question": "At what point in time is 138522 the population of the Indiana county whose FIPS 6-4 for US counties is 18105?", "choices": ["2007-02-11", "2010-01-23", "1996-03-25", "1999-11-17", "2010-07-01", "2016-01-05", "1997-12-01", "1990-02-01", "2011-08-24", "1913-11-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "18105"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "138522", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"18105\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"138522\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-07-01"}, {"question": "Which area is smaller, Passaic County or Middlesex County (the one that shares border with Monmouth County)?", "choices": ["Morris County", "Hunterdon County", "Bergen County", "Burlington County", "Middlesex County", "Essex County", "Gloucester County", "Cumberland County", "Passaic County", "Monmouth County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Passaic County"]}, {"function": "Find", "dependencies": [], "inputs": ["Monmouth County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Middlesex County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Passaic County\" .  } UNION { ?e <pred:name> \"Middlesex County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Monmouth County\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Passaic County"}, {"question": "Which colleges and universities in the US served as the education place for Meg Ryan ?", "choices": ["New York University", "University of Idaho", "North Carolina Agricultural and Technical State University", "University of Arkansas", "New Mexico State University", "Oregon State University", "University of Maine", "Iowa State University", "University of Connecticut", "University of Vermont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Meg Ryan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["colleges and universities in the United States"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"colleges and universities in the United States\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Meg Ryan\" .   }", "answer": "University of Connecticut"}, {"question": "When did Dakota Fanning begin her studies at New York University?", "choices": ["2003-10-07", "1832-08-13", "2011", "2000-09-05", "2006-11-16", "1687", "2001-03-16", "1972-07-09", "1847-11-27", "1834-01-09"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dakota Fanning"]}, {"function": "Find", "dependencies": [], "inputs": ["New York University"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["educated at", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Dakota Fanning\" . ?e_2 <pred:name> \"New York University\" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2011"}, {"question": "Is Kathryn Bigelow identified by the ISNI number 0000 0001 1679 7585 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kathryn Bigelow"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1679 7585"]}], "sparql": "ASK { ?e <pred:name> \"Kathryn Bigelow\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1679 7585\" .  }", "answer": "no"}, {"question": "Is 0000 0001 1490 6477 the ISNI for the University of the Philippines?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of the Philippines"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["0000 0001 1490 6477"]}], "sparql": "ASK { ?e <pred:name> \"University of the Philippines\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1490 6477\" .  }", "answer": "no"}, {"question": "Did San Marino (the one whose demonym is sammarinesi) in 2004 have a number of population diferent to 26000000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Marino"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "sammarinesi"]}, {"function": "QueryAttrUnderCondition", "dependencies": [1], "inputs": ["population", "point in time", "2004"]}, {"function": "VerifyNum", "dependencies": [2], "inputs": ["26000000", "!="]}], "sparql": "ASK { ?e <pred:name> \"San Marino\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"sammarinesi\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"26000000\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2004 .  }", "answer": "yes"}, {"question": "Hornbostel-Sachs classification 321.322-71 applies to how many bowed string instruments?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Hornbostel-Sachs classification", "321.322-71"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["bowed string instrument"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"bowed string instrument\" . ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> \"321.322-71\" .  }", "answer": "4"}, {"question": "What researcher has the native name of Alan Mathison Turing?", "choices": ["bandleader", "computer scientist", "statistician", "make-up artist", "biochemist", "astronaut", "mathematician", "physicist", "biologist", "astronomer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Alan Mathison Turing"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["researcher"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Alan Mathison Turing\" .   }", "answer": "computer scientist"}, {"question": "Which Washington county with a population different from 3500000 covers the least area?", "choices": ["Spokane County", "Okanogan County", "Clallam County", "Skagit County", "Douglas County", "San Juan County", "Kitsap County", "Grays Harbor County", "Yakima County", "Pierce County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3500000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"3500000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kitsap County"}, {"question": "What is Jeff Meckstroth's ISNI ?", "choices": ["0000 0001 1447 319X", "0000 0000 7648 7979", "0000 0001 2283 2703", "0000 0001 2102 8836", "0000 0001 1442 9551", "0000 0003 6864 3291", "0000 0001 0792 1214", "0000 0000 5925 5711", "0000 0000 8169 2862", "0000 0000 5516 8709"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Meckstroth"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Jeff Meckstroth\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 7648 7979"}, {"question": "What is the connection between Around the World in 80 Days (the one that has Robert Wagner as a cast member) to film based on literature?", "choices": ["organizer", "fabrication method", "official language", "has contributing factor", "genre", "winner", "medical treatment", "said to be the same as", "substitute/deputy/replacement of office/officeholder", "diaspora"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Wagner"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Around the World in 80 Days"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Around the World in 80 Days\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Robert Wagner\" . ?e_2 <pred:name> \"film based on literature\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which movie is shorter, The Manchurian Candidate (the one that received National Film Registry) or Ordinary People (the one whose distributor is Paramount Pictures)?", "choices": ["Talk to Her", "Pleasantville", "Curse of the Golden Flower", "The Fifth Element", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Ordinary People", "Rebecca", "Training Day", "The Manchurian Candidate"], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Film Registry"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Manchurian Candidate"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Paramount Pictures"]}, {"function": "Relate", "dependencies": [4], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ordinary People"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Manchurian Candidate\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"National Film Registry\" .   } UNION { ?e <pred:name> \"Ordinary People\" . ?e <distributor> ?e_2 . ?e_2 <pred:name> \"Paramount Pictures\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ordinary People"}, {"question": "Is the area greater than 56000 square miles for the county of Florida that borders Monroe County whose population is 76351?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monroe County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "76351", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of Florida"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["56000 square mile", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Monroe County\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"76351\"^^xsd:double . ?e <area> ?pv . ?pv <pred:unit> \"square mile\" . ?pv <pred:value> ?v . FILTER ( ?v > \"56000\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How many people are in Lincolnshire?", "choices": ["3310921", "56779", "437201", "1066100", "310092", "3792621", "3078551", "7600", "65387", "101973"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lincolnshire"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Lincolnshire\" . ?e <population> ?pv .  }", "answer": "1066100"}, {"question": "Was the person whose ISNI is 0000 0000 7824 0929 born after 1884?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7824 0929"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1884", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7824 0929\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1884 ) .  }", "answer": "yes"}, {"question": "How many subscriber has a person, born in Santa Cruz, on his or her Twitter username minnesotaBASS ?", "choices": ["25160", "1017662", "1186744", "8047", "106351", "2760897", "79487", "234560", "114344", "5236938"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Cruz"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "minnesotaBASS", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Santa Cruz\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"minnesotaBASS\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "25160"}, {"question": "Robert Morse was a nominee of how many awards for theatre?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Morse"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatre award"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatre award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Robert Morse\" .   }", "answer": "2"}, {"question": "What is the date of birth of the human whose RIA Novosti reference is 57909282?", "choices": ["1929-08-24", "1904-05-21", "1959-03-15", "1965-01-22", "1913-07-14", "1957-08-14", "1976-01-06", "1797-08-30", "1959-03-08", "1970-02-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["RIA Novosti reference", "57909282"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <RIA_Novosti_reference> ?pv_1 . ?pv_1 <pred:value> \"57909282\" . ?e <date_of_birth> ?pv .  }", "answer": "1913-07-14"}, {"question": "How many governors' country is the United States of America or official website is http://www.governor.ny.gov/?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["governor"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.governor.ny.gov/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["governor"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"governor\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://www.governor.ny.gov/\" .  } }", "answer": "5"}, {"question": "When did Mauritius become a member of the United Nations?", "choices": ["1981-10-08", "1976-07-17", "1991-08-30", "1813-10-24", "-509", "1980-09-27", "1968-04-24", "2009-10-21", "1982-09-19", "2003-01-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mauritius"]}, {"function": "Find", "dependencies": [], "inputs": ["United Nations"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mauritius\" . ?e_2 <pred:name> \"United Nations\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1968-04-24"}, {"question": "Thomas Aquinas is related to the role of student in what way?", "choices": ["official religion", "legislative body", "basin country", "has part", "position held", "award received", "contains administrative territorial entity", "military conflicts", "domain of saint or deity", "tributary"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Thomas Aquinas"]}, {"function": "Find", "dependencies": [], "inputs": ["student"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Thomas Aquinas\" . ?e_2 <pred:name> \"student\" . ?e_1 ?p ?e_2 .  }", "answer": "domain of saint or deity"}, {"question": "Someone with ISNI # 0000 0001 2136 6632 studied at which University of Cambridge college?", "choices": ["St John's College", "Trinity Hall", "Corpus Christi College", "Clare College", "Fitzwilliam College", "Trinity College", "Magdalene College", "Jesus College", "University of Cambridge", "Emmanuel College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2136 6632"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["college of the University of Cambridge"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college of the University of Cambridge\" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2136 6632\" .   }", "answer": "Magdalene College"}, {"question": "Which one has less students number between the University of Vermont and the Tennessee State University?", "choices": ["North Dakota State University", "North Carolina Agricultural and Technical State University", "University of Vermont", "Virginia Tech", "University of Idaho", "Tennessee State University", "Iowa State University", "University of Arkansas", "Montana State University - Bozeman", "Kansas State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Vermont"]}, {"function": "Find", "dependencies": [], "inputs": ["Tennessee State University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Vermont\" .  } UNION { ?e <pred:name> \"Tennessee State University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tennessee State University"}, {"question": "What number of association football clubs have the Instagram username of fc_lokomotiv?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "fc_lokomotiv"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"fc_lokomotiv\" .  }", "answer": "1"}, {"question": "Does Teaneck or West Orange have a greater elevation?", "choices": ["Ridgewood", "Belleville", "Whanganui", "Livingston", "West Orange", "North Hollywood", "Red Bank", "Verona", "Princeton", "Teaneck"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Teaneck"]}, {"function": "Find", "dependencies": [], "inputs": ["West Orange"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Teaneck\" .  } UNION { ?e <pred:name> \"West Orange\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "West Orange"}, {"question": "For the person that got nominated for Screen Actors Guild award for outstanding performance by a cast in a motion picture (the award-winning work for this statement is Lincoln) when was he or she born?", "choices": ["1989-12-21", "1952-11-03", "1964-02-11", "1982-12-08", "1975-03-06", "1974-08-20", "1976-04-04", "1967-09-06", "1949-01-26", "1934-05-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Lincoln"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Lincoln\" . ?e <date_of_birth> ?pv .  }", "answer": "1949-01-26"}, {"question": "Is Arizona the title for Fargo that has Ted Danson as a cast member?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ted Danson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fargo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["Arizona"]}], "sparql": "ASK { ?e <pred:name> \"Fargo\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Ted Danson\" .  ?e <title> ?pv . ?pv <pred:value> \"Arizona\" .  }", "answer": "no"}, {"question": "How much did the movie titled The Deer Hunter make at the box office?", "choices": ["41000000 United States dollar", "50000000 United States dollar", "4257354 United States dollar", "244527583 United States dollar", "176506819 United States dollar", "574480841 United States dollar", "190700000 United States dollar", "7637407.77 euro", "244500 pound sterling", "34441873 United States dollar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Deer Hunter"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Deer Hunter\" . ?e <box_office> ?pv .  }", "answer": "50000000 United States dollar"}, {"question": "Where there more episodes in The Edge of Night or the animated series Dumb and Dumber?", "choices": ["Robot Chicken", "Six Feet Under", "American Horror Story", "Phineas and Ferb", "Dumb and Dumber", "The Edge of Night", "Game of Thrones", "Seinfeld", "Bleak House", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Edge of Night"]}, {"function": "Find", "dependencies": [], "inputs": ["animated series"]}, {"function": "Relate", "dependencies": [1], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dumb and Dumber"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Edge of Night\" .  } UNION { ?e <pred:name> \"Dumb and Dumber\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"animated series\" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Edge of Night"}, {"question": "How many Illinois counties have a population that is not 2300?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "2300", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Illinois"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Illinois\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"2300\"^^xsd:double ) .  }", "answer": "18"}, {"question": "Bury My Heart at Wounded Knee was produced by how many TV networks?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bury My Heart at Wounded Knee"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television network"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television network\" . ?e_1 <production_company> ?e . ?e_1 <pred:name> \"Bury My Heart at Wounded Knee\" .   }", "answer": "0"}, {"question": "How is San Diego County related to Orange County, population 3053932?", "choices": ["history of topic", "has effect", "industry", "award disciplines or subjects", "country of origin", "founded by", "shares border with", "soundtrack album", "head coach", "enclave within"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Diego County"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange County"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "3053932", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"San Diego County\" . ?e_2 <pred:name> \"Orange County\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3053932\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "When did the big city whose local dialing code is 941 have a population of 150894?", "choices": ["2011-05-18", "1795-01-01", "1843-12-03", "2005-08-17", "1920-08-31", "2018-01-02", "2017-12-31", "1859-01-01", "1996-09-07", "2009-06-25"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "941"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "150894", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"big city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"941\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"150894\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2017-12-31"}, {"question": "How is Sienna Guillory related to the United Kingdom?", "choices": ["place of birth", "depicted by", "office held by head of government", "award disciplines or subjects", "this taxon is source of", "editor", "eye color", "military branch", "publisher", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sienna Guillory"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sienna Guillory\" . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which show has fewer episodes, Mission: Impossible (the one whose end time is 1973-03-30) or Frank Herbert's Dune?", "choices": ["The Civil War", "The Diary of Anne Frank", "Mission: Impossible", "The Pacific", "The Stand", "Roots", "The Ten Commandments", "George Washington", "Edge of Darkness", "Frank Herbert's Dune"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1973-03-30", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Frank Herbert's Dune"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mission: Impossible\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1973-03-30\"^^xsd:date . } UNION { ?e <pred:name> \"Frank Herbert's Dune\" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frank Herbert's Dune"}, {"question": "Does Amy Irving's native Palo Alto or Charleston, population 51400, have the lower elevation?", "choices": ["Palo Alto", "Columbus", "Boulder", "Lansing", "Greenville", "Franklin", "Compton", "Waukegan", "Oakland", "Charleston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Amy Irving"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Palo Alto"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Charleston"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["population", "51400", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Palo Alto\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Amy Irving\" . } UNION { ?e <pred:name> \"Charleston\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"51400\"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Palo Alto"}, {"question": "What country does a city in the US belong if we know University of Maryland is headquartered there, and its postal code is 20740?", "choices": ["English", "People's Republic of China", "Thailand", "Orange Free State", "Kingdom of Saxony", "Roman Republic", "Saudi Arabia", "United States of America", "Iceland", "Ukraine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Maryland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["postal code", "20740", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> \"University of Maryland\" .  ?e <postal_code> ?pv . ?pv <pred:value> \"20740\" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United States of America"}, {"question": "Is a12101126 the  CANTIC-ID for the screenwriter of Iron Man (the one released in South Africa)?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["South Africa"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Iron Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["a12101126"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> \"Iron Man\" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> \"South Africa\" .  ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a12101126\" .  }", "answer": "yes"}, {"question": "Which United States city that is located in Riverside County has the most area?", "choices": ["New Haven", "Lansing", "Rancho Mirage", "Riverside", "Palm Desert", "Oakland", "Columbus", "Boulder", "Waukegan", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Riverside County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Riverside County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Riverside"}, {"question": "What film comes after Shanghai Noon?", "choices": ["The Expendables 2", "A Prairie Home Companion", "Poltergeist", "Talk to Her", "Rebecca", "Pleasantville", "director's cut", "When We Were Kings", "Shanghai Knights", "Ocean's Twelve"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shanghai Noon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <follows> ?e_1 . ?e_1 <pred:name> \"Shanghai Noon\" .   }", "answer": "Shanghai Knights"}, {"question": "When were 113,529,819 people living in a sovereign state which has diplomatic relations with Denmark (the subject of this statement is Denmark\u2013Mexico relations) ?", "choices": ["2007", "2008-11-12", "1770-01-01", "1762-01-01", "2018-12-31", "2012-03-01", "1995-07-25", "1815-12-01", "1990", "1913-11-13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Denmark\u2013Mexico relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "113529819", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Denmark\" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Denmark\u2013Mexico relations\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"113529819\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "What is the date of birth of the human that is the manager of New Line Cinema?", "choices": ["1963-02-08", "1889-05-03", "1973-09-07", "1960-01-01", "1935-09-29", "1953-10-09", "1969-10-22", "1914-01-24", "1971-02-11", "1932-02-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Line Cinema"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director/manager", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director/manager> ?e . ?e_1 <pred:name> \"New Line Cinema\" .  ?e <date_of_birth> ?pv .  }", "answer": "1963-02-08"}, {"question": "How many drams either have an IAB code of 642 or are in the same genre as the disaster film Monster?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "642"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["drama"]}, {"function": "Find", "dependencies": [], "inputs": ["disaster film"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Monster"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["drama"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drama\" .  { ?e <IAB_code> ?pv . ?pv <pred:value> \"642\" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> \"Monster\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"disaster film\" .  } }", "answer": "2"}, {"question": "Of chemical elements that are nutrients found in eggs, which possesses the highest mass?", "choices": ["Rick Springfield", "phosphorus", "magnesium", "Yugoslavia", "selenium", "calcium", "zinc", "sodium", "manganese", "Atticus Ross"], "program": [{"function": "Find", "dependencies": [], "inputs": ["egg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical element"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mass", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical element\" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> \"egg\" .  ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "selenium"}, {"question": "Which movie is longer, A Clockwork Orange (the one whose duration is 136 minute) or Dirty Dancing (the one that is shot in North Carolina)?", "choices": ["Curse of the Golden Flower", "Talk to Her", "A Prairie Home Companion", "The Hunchback of Notre Dame", "The Towering Inferno", "Training Day", "Dirty Dancing", "Pleasantville", "The Fifth Element", "A Clockwork Orange"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Clockwork Orange"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "136 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["North Carolina"]}, {"function": "Relate", "dependencies": [2], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dirty Dancing"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Clockwork Orange\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"136\"^^xsd:double . } UNION { ?e <pred:name> \"Dirty Dancing\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"North Carolina\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "A Clockwork Orange"}, {"question": "Which area has fewer people, Greater London or County Durham?", "choices": ["Derbyshire", "Warwickshire", "Staffordshire", "West Midlands", "Norfolk", "Cumbria", "Somerset", "County Durham", "Greater London", "Essex"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greater London"]}, {"function": "Find", "dependencies": [], "inputs": ["County Durham"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greater London\" .  } UNION { ?e <pred:name> \"County Durham\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Durham"}, {"question": "How are Robert Bolt and natural causes related?", "choices": ["manufacturer", "ancestral home", "participant", "home venue", "successful candidate", "manner of death", "substitute/deputy/replacement of office/officeholder", "statistical leader", "conferred by", "discoverer or inventor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Robert Bolt"]}, {"function": "Find", "dependencies": [], "inputs": ["natural causes"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Bolt\" . ?e_2 <pred:name> \"natural causes\" . ?e_1 ?p ?e_2 .  }", "answer": "manner of death"}, {"question": "How many administrative territorial entities of Canada have the official website http://www.gov.nt.ca/ and contain Munich that is the birthplace of Harold Faltermeyer?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.gov.nt.ca/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity of Canada"]}, {"function": "Find", "dependencies": [], "inputs": ["Harold Faltermeyer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Munich"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["administrative territorial entity of Canada"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity of Canada\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.gov.nt.ca/\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Munich\" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> \"Harold Faltermeyer\" .  }", "answer": "0"}, {"question": "What is the number of video game console models that are the platform of the activity having the Nintendo GameID SCYP4Q?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "SCYP4Q"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["activity"]}, {"function": "Relate", "dependencies": [2], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["video game console model"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e_1 <platform> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"activity\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"SCYP4Q\" .   }", "answer": "3"}, {"question": "What is the connection between Brian Jones (the one that was born in Iowa City) to New Orleans Saints?", "choices": ["languages spoken, written or signed", "permanent resident of", "heritage designation", "business division", "hair color", "family", "member of sports team", "copyright representative", "maintained by", "place of origin (Switzerland)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Iowa City"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Jones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["New Orleans Saints"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brian Jones\" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> \"Iowa City\" . ?e_2 <pred:name> \"New Orleans Saints\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "How is Helen with Ashley Judd related to drama film?", "choices": ["substitute/deputy/replacement of office/officeholder", "genre", "relative", "film editor", "educated at", "continent", "narrative location", "seed team", "head of state", "member of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ashley Judd"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Helen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["drama film"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Helen\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Ashley Judd\" . ?e_2 <pred:name> \"drama film\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the publication place for Brothers whose exploitation visa number is 114270 and publication date is 2005-03-3?", "choices": ["Bulgaria", "Montreal World Film Festival", "Germany", "People's Republic of China", "Croatia", "Estonia", "58th Berlin International Film Festival", "Moscow", "Tribeca Film Festival", "Turkey"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brothers"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "114270"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["publication date", "2005-03-31", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Brothers\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"114270\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-03-31\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the connection between Arsenal F.C. to red?", "choices": ["basin country", "continent", "appears in the form of", "captain", "capital", "residence", "official color", "series spin-off", "league", "licensed to broadcast to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Arsenal F.C."]}, {"function": "Find", "dependencies": [], "inputs": ["red"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Arsenal F.C.\" . ?e_2 <pred:name> \"red\" . ?e_1 ?p ?e_2 .  }", "answer": "official color"}, {"question": "Which exploitation visa number belongs to The Painted Veil, publicly released on 2006-01-01?", "choices": ["114114", "91666", "76593", "117118", "146065", "132425", "114879", "59798", "49373", "62844"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Painted Veil"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2006-01-01", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["exploitation visa number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Painted Veil\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2006-01-01\"^^xsd:date . ?e <exploitation_visa_number> ?pv .  }", "answer": "117118"}, {"question": "How is horror punk related to the USA?", "choices": ["manufacturer", "has cause", "child", "owned by", "takes place in fictional universe", "mouth of the watercourse", "conferred by", "country of origin", "capital", "producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["horror punk"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"horror punk\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of origin"}, {"question": "What is the connection between Charlie Adler to screenwriter?", "choices": ["statistical leader", "commissioned by", "producer", "has effect", "screenwriter", "occupation", "godparent", "home world", "copyright holder", "convicted of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlie Adler"]}, {"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charlie Adler\" . ?e_2 <pred:name> \"screenwriter\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What is the character role of Jessica Alba in Fantastic Four (the one whose exploitation visa number is 112911) ?", "choices": ["Groundskeeper Willie", "Spider-Man", "Guinan", "The Dragon Emperor", "Nick Fury", "Captain Teague", "Invisible Woman", "Damon Salvatore", "Raymond Langston", "Janet Weiss"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fantastic Four"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "112911"]}, {"function": "Find", "dependencies": [], "inputs": ["Jessica Alba"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Fantastic Four\" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> \"112911\" . ?e_2 <pred:name> \"Jessica Alba\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Invisible Woman"}, {"question": "How many Pennsylvania counties are an administrative division of the United States state whose ISNI is 0000 0004 0410 5133?", "choices": ["36", "37", "38", "39", "40", "41", "42", "43", "44", "45"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0410 5133"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "Relate", "dependencies": [2], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Pennsylvania"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"state of the United States\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0410 5133\" .   }", "answer": "39"}, {"question": "When did Liechtenstein share a border with Austria-Hungary?", "choices": ["810", "1999-05-17", "1973-01-07", "1989-09-12", "2011-02-15", "2004-03-20", "1867", "1961-12-05", "2007-09-19", "1966-10-17"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liechtenstein"]}, {"function": "Find", "dependencies": [], "inputs": ["Austria-Hungary"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["shares border with", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Liechtenstein\" . ?e_2 <pred:name> \"Austria-Hungary\" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1867"}, {"question": "What's the relationship between John Carter (the American) to winger (Dany Heatley's position)?", "choices": ["killed by", "student", "occupant", "item operated", "parent organization", "fictional universe described in", "capital of", "subsidiary", "position played on team / speciality", "sex or gender"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country for sport", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Carter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Dany Heatley"]}, {"function": "Relate", "dependencies": [4], "inputs": ["position played on team / speciality", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["winger"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Carter\" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"winger\" . ?e_4 <position_played_on_team_/_speciality> ?e_2 . ?e_4 <pred:name> \"Dany Heatley\" . ?e_1 ?p ?e_2 .  }", "answer": "position played on team / speciality"}, {"question": "Clark Gregg received a National Board of Review Award for Best Cast for which work?", "choices": ["Philomena", "Studio 60 on the Sunset Strip", "The Other Side of Midnight", "State and Main", "The Wedding Singer", "Talk to Me", "Daag", "Les Amants du Pont-Neuf", "Battleground", "Charmed Life"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clark Gregg"]}, {"function": "Find", "dependencies": [], "inputs": ["National Board of Review Award for Best Cast"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Clark Gregg\" . ?e_2 <pred:name> \"National Board of Review Award for Best Cast\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "State and Main"}, {"question": "What is the connection between Lyle R. Wheeler to 32nd Academy Awards?", "choices": ["award received", "statistical leader", "political ideology", "illustrator", "practiced by", "native language", "original film format", "architect", "said to be the same as", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lyle R. Wheeler"]}, {"function": "Find", "dependencies": [], "inputs": ["32nd Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lyle R. Wheeler\" . ?e_2 <pred:name> \"32nd Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the elevation above sea level of Guatemala City?", "choices": ["57 metre", "150 metre", "36 foot", "322 metre", "7 metre", "1500 metre", "188 metre", "1411 metre", "108 metre", "327 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guatemala City"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Guatemala City\" . ?e <elevation_above_sea_level> ?pv .  }", "answer": "1500 metre"}, {"question": "Which association football club has the official website of http://www.usgrosseto.com/ and has Italy as its country?", "choices": ["Genoa Cricket and Football Club", "Stade Brestois 29", "Ascoli Calcio 1898 F.C.", "Middlesbrough F.C.", "Torino Football Club", "Zamalek SC", "U.S. Grosseto F.C.", "Roda JC Kerkrade", "Brisbane Roar FC", "Frosinone Calcio"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.usgrosseto.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.usgrosseto.com/\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Italy\" .  }", "answer": "U.S. Grosseto F.C."}, {"question": "For the Twitter username of QueenWillRock, what is the rock band's inception time?", "choices": ["1889-11-02", "1749-08-19", "1855-08-30", "1890-12-11", "1966-11-01", "1764", "1970-01-01", "1976", "1993-11-16", "1849-10-27"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "QueenWillRock"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"QueenWillRock\" . ?e <inception> ?pv .  }", "answer": "1970-01-01"}, {"question": "What is the birth date of a person who received Grammy Award for Best Pop Collaboration with Vocals in 1999 ?", "choices": ["1972-02-14", "1958-09-03", "1944-01-01", "1977-04-14", "1939-03-26", "1978-01-25", "1978-12-18", "1977-03-02", "1955-02-19", "1954-06-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Pop Collaboration with Vocals"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Grammy Award for Best Pop Collaboration with Vocals\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1999 . ?e <date_of_birth> ?pv .  }", "answer": "1972-02-14"}, {"question": "Where was the film titled The Station Agent published on 2004-06-10?", "choices": ["Argentina", "Quebec", "Romania", "Germany", "1949 Cannes Film Festival", "R\u00e4ttvik", "Egypt", "Singapore", "BFI London Film Festival", "India"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Station Agent"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2004-06-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"The Station Agent\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-06-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is post-bop artist Bill Evans connected to the Grammy Lifetime Achievement Award?", "choices": ["stated in", "sports season of league or competition", "twinned administrative body", "highest judicial authority", "opposite of", "parent club", "original language of film or TV show", "approved by", "award received", "had as last meal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["post-bop"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bill Evans"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Lifetime Achievement Award"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bill Evans\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"post-bop\" . ?e_2 <pred:name> \"Grammy Lifetime Achievement Award\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Is Lakeland larger that 0 square km in area?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lakeland"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["0 square kilometre", ">"]}], "sparql": "ASK { ?e <pred:name> \"Lakeland\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the subject of a saying that there is a diplomatic relation between Slovenia and Denmark?", "choices": ["Azerbaijan\u2013United Kingdom relations", "Russia\u2013Sweden relations", "Mongolia\u2013Vietnam relations", "Argentina\u2013Uruguay border", "Bangladesh\u2013Bulgaria relations", "Canada\u2013South Africa relations", "Burundi\u2013North Korea relations", "Mozambique\u2013Zimbabwe border", "Denmark\u2013Slovenia relations", "Belarus\u2013Ukraine relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Slovenia"]}, {"function": "Find", "dependencies": [], "inputs": ["Denmark"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Slovenia\" . ?e_2 <pred:name> \"Denmark\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "Denmark\u2013Slovenia relations"}, {"question": "Does Dancing with the Stars, a winner at the 61st Primetime Emmy Awards, or Search for Tomorrow have more seasons?", "choices": ["Phineas and Ferb", "Search for Tomorrow", "Dancing with the Stars", "American Horror Story", "Seinfeld", "Game of Thrones", "Saturday Night's Main Event", "Bleak House", "Six Feet Under", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["61st Primetime Emmy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dancing with the Stars"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Search for Tomorrow"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dancing with the Stars\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"61st Primetime Emmy Awards\" .   } UNION { ?e <pred:name> \"Search for Tomorrow\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Search for Tomorrow"}, {"question": "Which movie is shorter, Ted or Do the Right Thing?", "choices": ["The Towering Inferno", "A Prairie Home Companion", "Pleasantville", "Talk to Her", "Rebecca", "Do the Right Thing", "The Fifth Element", "Ted", "The Hunchback of Notre Dame", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ted"]}, {"function": "Find", "dependencies": [], "inputs": ["Do the Right Thing"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ted\" .  } UNION { ?e <pred:name> \"Do the Right Thing\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ted"}, {"question": "Who directed the work that George Harrison (the one that received 43rd Academy Awards) produced?", "choices": ["Gus Van Sant", "Sylvester Stallone", "James Horner", "Kenneth Branagh", "Jon Favreau", "Bill Condon", "Gene Reynolds", "Max Fleischer", "Norman Mailer", "Dick Clement"], "program": [{"function": "Find", "dependencies": [], "inputs": ["43rd Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["George Harrison"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [5], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["human"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> \"George Harrison\" . ?e_3 <award_received> ?e_4 . ?e_4 <pred:name> \"43rd Academy Awards\" .   }", "answer": "Dick Clement"}, {"question": "What comes after Star Trek \u2164: The Final Frontier is a component of Star Trek (that has Star Trek \u2165: The Undiscovered Country as a part)?", "choices": ["Rocky V", "2 Fast 2 Furious", "Rush Hour 2", "X-Men: First Class", "The Wire, season 3", "Aliens", "Men in Black 3", "X-Men Origins: Wolverine", "Star Trek \u2165: The Undiscovered Country", "Cameron Diaz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Star Trek \u2164: The Final Frontier"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek \u2165: The Undiscovered Country"]}, {"function": "Relate", "dependencies": [1], "inputs": ["part of", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Star Trek"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["part of the series", "followed by"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Star Trek \u2164: The Final Frontier\" . ?e_2 <pred:name> \"Star Trek\" . ?e_3 <part_of> ?e_2 . ?e_3 <pred:name> \"Star Trek \u2165: The Undiscovered Country\" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <followed_by> ?qpv .  }", "answer": "Star Trek \u2165: The Undiscovered Country"}, {"question": "Where was the visual artwork which gained the exploitation visa number of 94332 in 1998 published on 1998-04-09?", "choices": ["Slovakia", "Austin", "Northern America", "Tribeca Film Festival", "2008 Toronto International Film Festival", "Taiwan", "worldwide", "Toronto", "Moscow", "Germany"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "94332"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "1998", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1998-04-09", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"94332\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1998 . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-04-09\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Was the date of the firt performance of The Phantom of the Opera (the one that is a notable work of Andrew Lloyd Webber) not in 1997?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andrew Lloyd Webber"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Phantom of the Opera"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of first performance"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1997", "!="]}], "sparql": "ASK { ?e <pred:name> \"The Phantom of the Opera\" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> \"Andrew Lloyd Webber\" .  ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1997 ) .  }", "answer": "yes"}, {"question": "Which movie released in Sweden has the official website http://www.coriolanusmovie.co.uk/?", "choices": ["Rebecca", "Coriolanus", "Big Fish", "Pleasantville", "Zack and Miri Make a Porno", "Talk to Her", "Red State", "Men in Black 3", "A Prairie Home Companion", "Crouching Tiger, Hidden Dragon"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.coriolanusmovie.co.uk/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "Find", "dependencies": [], "inputs": ["Sweden"]}, {"function": "Relate", "dependencies": [3], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.coriolanusmovie.co.uk/\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Sweden\" .  }", "answer": "Coriolanus"}, {"question": "What is the connection between Irving Berlin to United States Army?", "choices": ["film regional debut venue", "office held by head of the organisation", "territory claimed by", "military branch", "takes place in fictional universe", "narrative location", "edition or translation of", "partner", "official color", "official residence"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irving Berlin"]}, {"function": "Find", "dependencies": [], "inputs": ["United States Army"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Irving Berlin\" . ?e_2 <pred:name> \"United States Army\" . ?e_1 ?p ?e_2 .  }", "answer": "military branch"}, {"question": "Who was the winner when A Streetcar Named Desire (the one that is a notable work of Tennessee Williams) received the Pulitzer Prize for Drama?", "choices": ["Ralph E. Winters", "Philip Rosenberg", "Peter Riegert", "Alice Pearce", "Laurie Heineman", "Barbara McLean", "Norman Wanstall", "Callie Khouri", "Tennessee Williams", "Ken Keeler"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tennessee Williams"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["A Streetcar Named Desire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Pulitzer Prize for Drama"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "winner"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"A Streetcar Named Desire\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Tennessee Williams\" . ?e_2 <pred:name> \"Pulitzer Prize for Drama\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }", "answer": "Tennessee Williams"}, {"question": "Where was the film titled Senna published on 2011-05-12?", "choices": ["France", "London", "Stockholm", "Bulgaria", "Slovakia", "Netherlands", "Germany", "Kazakhstan", "Taormina Film Fest", "worldwide"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Senna"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2011-05-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Senna\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2011-05-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Is ACF Fiorentina's Twitter username violachannel?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ACF Fiorentina"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["violachannel"]}], "sparql": "ASK { ?e <pred:name> \"ACF Fiorentina\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"violachannel\" .  }", "answer": "yes"}, {"question": "Is the larger area occupied by Montgomery County, at 1063 sq km, or St. Lawrence County?", "choices": ["Warren County", "Montgomery County", "Rensselaer County", "St. Lawrence County", "Albany County", "Clinton County", "Greene County", "Cayuga County", "Jefferson County", "Niagara County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "1063 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["St. Lawrence County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Montgomery County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"1063\"^^xsd:double . } UNION { ?e <pred:name> \"St. Lawrence County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "St. Lawrence County"}, {"question": "When did the US city that's the namesake for Santa Fe County have a population numbering 67947", "choices": ["2006-10-01", "1996-09-25", "2026", "2012-07-26", "2010-01-01", "1858", "1935-12-01", "1975-04-08", "1978-01-01", "1958-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Santa Fe County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "67947", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Santa Fe County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67947\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "What is the association between Coronado (in the adventure film genre) and John Rhys-Davies?", "choices": ["sexual orientation", "interested in", "child", "developer", "cast member", "movement", "connects with", "film editor", "destination point", "member of political party"], "program": [{"function": "Find", "dependencies": [], "inputs": ["adventure film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Coronado"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["John Rhys-Davies"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Coronado\" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> \"adventure film\" . ?e_2 <pred:name> \"John Rhys-Davies\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "tell me the relationship between bluegrass music and Nitty Gritty Dirt Band.", "choices": ["has parts of the class", "located in time zone", "language of work or name", "award received", "country for sport", "filming location", "occupant", "composer", "famous people", "office held by head of government"], "program": [{"function": "Find", "dependencies": [], "inputs": ["bluegrass music"]}, {"function": "Find", "dependencies": [], "inputs": ["Nitty Gritty Dirt Band"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"bluegrass music\" . ?e_2 <pred:name> \"Nitty Gritty Dirt Band\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "What is the date of death for the person whose ISNI is 0000 0001 0869 4236?", "choices": ["1997-03-14", "1960", "1994-02-24", "1937-07-11", "1984-12-24", "2004-02-23", "2007-08-30", "1936-06-11", "1519-05-02", "2006-05-24"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0869 4236"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 0869 4236\" . ?e <date_of_death> ?pv .  }", "answer": "1997-03-14"}, {"question": "What is the Twitter username for the person who is different from Richard Thompson (the one whose date of birth is 1985-06-07)?", "choices": ["GetafeCF", "NinaSimoneMusic", "RthompsonMusic", "csi_cbs", "Dolph_Lundgren", "littlerichard_", "dreamtheaternet", "ronniewoodshow", "oprah", "GreyDeLisle"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Thompson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1985-06-07", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"Richard Thompson\" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1985-06-07\"^^xsd:date . ?e <Twitter_username> ?pv .  }", "answer": "RthompsonMusic"}, {"question": "East Timor has what diplomatic relationship with Portugal?", "choices": ["Chad\u2013China relations", "Egypt\u2013Japan relations", "Denmark\u2013Syria relations", "Pakistan\u2013United Arab Emirates relations", "21st Berlin International Film Festival", "Malawi\u2013United States relations", "Canada\u2013Spain relations", "Blue Line", "Benin\u2013Togo border", "East Timor\u2013Portugal relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["East Timor"]}, {"function": "Find", "dependencies": [], "inputs": ["Portugal"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["diplomatic relation", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"East Timor\" . ?e_2 <pred:name> \"Portugal\" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "East Timor\u2013Portugal relations"}, {"question": "How is The Polar Express, which has an ISBN-10 number of 0-395-38949-6, related to the English category?", "choices": ["characters", "operating area", "product or material produced", "cast member", "office contested", "professional or sports partner", "movement", "eye color", "opposite of", "language of work or name"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Polar Express"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISBN-10", "0-395-38949-6"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Polar Express\" . ?e_1 <ISBN-10> ?pv . ?pv <pred:value> \"0-395-38949-6\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "language of work or name"}, {"question": "Which class are the Mongol conquests ending in 1337-01-01 a special example for?", "choices": ["war", "singular", "maritime boundary", "Committee on Government Operations", "statement with Gregorian date earlier than 1584", "Composite monarchy", "historical country", "colloquialism", "fixed exchange rate", "Luz de Am\u00e9rica"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mongol conquests"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["end time", "1337-01-01", "instance of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Mongol conquests\" . ?e <end_time> ?pv . ?pv <pred:date> \"1337-01-01\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <end_time> ; <pred:fact_t> ?pv ] <instance_of> ?qpv .  }", "answer": "statement with Gregorian date earlier than 1584"}, {"question": "Which city was the capital of British Raj, ending in 1947?", "choices": ["Santo Domingo", "Abidjan", "Bergen", "Kolkata", "Cairo", "Trieste", "Cork", "Dundee", "Kingston", "Kilkenny"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Raj"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "1947", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"British Raj\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1947 .  }", "answer": "Kolkata"}, {"question": "What is the association of Spider-Man that is originally broadcast on Fox Broadcasting Company with Fox Broadcasting Company?", "choices": ["original network", "does not have part", "fabrication method", "official religion", "native language", "update method", "residence", "home world", "office contested", "general manager"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fox Broadcasting Company"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Spider-Man"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Fox Broadcasting Company"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Spider-Man\" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> \"Fox Broadcasting Company\" . ?e_2 <pred:name> \"Fox Broadcasting Company\" . ?e_1 ?p ?e_2 .  }", "answer": "original network"}, {"question": "When did the war that ended in 1328 (the class of this statement is statement with Gregorian date earlier than 1584) start?", "choices": ["1993-01-13", "1815-07-07", "1920-03-28", "1296-01-01", "1839-01-24", "1838", "1947-02-25", "2003-09-21", "1861-11-28", "1986-09-13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1328", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["instance of", "statement with Gregorian date earlier than 1584"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["war"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["start time"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> 1328 . [ <pred:fact_h> ?e ; <pred:fact_r> <end_time> ; <pred:fact_t> ?pv_1 ] <instance_of> ?qpv . ?qpv <pred:value> \"statement with Gregorian date earlier than 1584\" . ?e <start_time> ?pv .  }", "answer": "1296-01-01"}, {"question": "What Summer Olympic Games were followed by the 1980 Summer Olympics?", "choices": ["1908 Summer Olympics", "1904 Summer Olympics", "1936 Summer Olympics", "1968 Summer Olympics", "1948 Summer Olympics", "2008 Summer Olympics", "1932 Summer Olympics", "1896 Summer Olympics", "1976 Summer Olympics", "1952 Summer Olympics"], "program": [{"function": "Find", "dependencies": [], "inputs": ["1980 Summer Olympics"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Summer Olympic Games"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Summer Olympic Games\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"1980 Summer Olympics\" .   }", "answer": "1976 Summer Olympics"}, {"question": "What language has an IETF language tag of bg and is spoken in Turkey?", "choices": ["Indonesian", "Scots", "Tamil", "Romanian", "Gujarati", "Bulgarian", "German", "Welsh", "Greek", "Croatian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turkey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["IETF language tag", "bg"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Turkey\" .  ?e <IETF_language_tag> ?pv . ?pv <pred:value> \"bg\" .  }", "answer": "Bulgarian"}, {"question": "Which visual artwork has a script written by Jason Segel?", "choices": ["Dr. Strangelove", "Forgetting Sarah Marshall", "Pleasantville", "Rebecca", "Superman", "The Muppets", "House of Flying Daggers", "True Lies", "The Expendables", "The Pink Panther"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jason Segel"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Jason Segel\" .   }", "answer": "Forgetting Sarah Marshall"}, {"question": "When was the birth of the team member belonging to Accrington Stanley F.C. since 1999-01-01?", "choices": ["1979-04-12", "1988-11-30", "1792-06-15", "1930-05-14", "1922-12-03", "1954-11-19", "1911-03-18", "1938-08-06", "1932-11-29", "1809-02-03"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Accrington Stanley F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["start time", "1999-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Accrington Stanley F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> \"1999-01-01\"^^xsd:date . ?e <date_of_birth> ?pv .  }", "answer": "1979-04-12"}, {"question": "Where was the visual artwork whose exploitation visa number is 92647 published 1998-09-10?", "choices": ["Northern America", "Davao City", "Toronto International Film Festival", "Germany", "Kazakhstan", "Chicago", "Belgium", "Cannes Film Festival", "Croatia", "Greece"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "92647"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1998-09-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"92647\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-09-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which Arizona county whose country is the United States of America has the largest area?", "choices": ["Coconino County", "Santa Cruz County", "Gila County", "Pinal County", "Mohave County", "Navajo County", "Pima County", "Cochise County", "Yavapai County", "Maricopa County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coconino County"}, {"question": "What is the official website of the United States city that is an administrative division of Dutchess County?", "choices": ["http://english.qingdao.gov.cn", "http://www.uscremonese.it", "http://www.cityofpoughkeepsie.com/", "https://web.archive.org/web/20080912170009/http://www2.sega.com/gamesite/sonicnext/sonicnext_full/index.php#", "https://www.dcfc.co.uk/", "http://www.sonypictures.com/homevideo/50firstdates/", "http://www.gandolfini.com", "http://www.cheltenham.gov.uk/", "http://www.clarkcountynv.gov", "http://www.nba.com/raptors/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dutchess County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Dutchess County\" .  ?e <official_website> ?pv .  }", "answer": "http://www.cityofpoughkeepsie.com/"}, {"question": "What is the connection between Jules Bass to film director?", "choices": ["librettist", "derivative work", "field of this occupation", "musical conductor", "properties for this type", "next lower rank", "language of work or name", "mother", "occupation", "religious order"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jules Bass"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jules Bass\" . ?e_2 <pred:name> \"film director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Where was The Scarlet Letter (with Demi Moore among the cast) published on 18th April 1996?", "choices": ["Mexico", "United States of America", "Vietnam", "Spain", "Serbia", "Europe", "1949 Cannes Film Festival", "Germany", "Tribeca Film Festival", "Romania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Demi Moore"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Scarlet Letter"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1996-04-18", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Scarlet Letter\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Demi Moore\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1996-04-18\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What does Midland (whose area is 92440000 square metres) have to do with the United States of America?", "choices": ["captain", "use", "drafted by", "country", "head coach", "sidekick of", "original film format", "public holiday", "source of income", "sports season of league or competition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Midland"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "92440000 square metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Midland\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square metre\" . ?pv <pred:value> \"92440000\"^^xsd:double . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the connection between I Love You, Man to Jon Favreau (the one that is an ethnic group of Italian American)?", "choices": ["official residence", "copyright holder", "cast member", "territory claimed by", "sibling", "legal form", "notable people with this condition", "interested in", "located in or next to body of water", "time period"], "program": [{"function": "Find", "dependencies": [], "inputs": ["I Love You, Man"]}, {"function": "Find", "dependencies": [], "inputs": ["Italian American"]}, {"function": "Relate", "dependencies": [1], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jon Favreau"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"I Love You, Man\" . ?e_2 <pred:name> \"Jon Favreau\" . ?e_2 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"Italian American\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which TV series was created by the person whose ISNI is 0000 0004 4888 5549?", "choices": ["Bleak House", "CSI: Crime Scene Investigation", "The Stand", "Gossip Girl", "Rush Hour", "Fantastic Four", "All in the Family", "America's Next Top Model", "Friday Night Lights", "Frasier"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 4888 5549"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["creator", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <creator> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 4888 5549\" .   }", "answer": "Bleak House"}, {"question": "What comedy has the largest number of episodes with not 20 seasons?", "choices": ["farce", "Allman Brothers Band", "G-Force", "Mr. Smith Goes to Washington", "stand-up comedy", "The Golden Girls", "The Monkees", "Gaziantepspor", "comedy of manners", "The Three Musketeers"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "20", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["comedy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["number of episodes", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"comedy\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"20\"^^xsd:double ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Golden Girls"}, {"question": "Which Twitter handle is associated with the business that is a 0.2% owner of ESPN?", "choices": ["marleematlin", "Huuhkajat", "OfficialShots", "HearstCorp", "CityLuxembourg", "reddwarfhq", "TheMissingSTARZ", "wba", "dianesawyer", "TOSHIO_FURUKAWA"], "program": [{"function": "Find", "dependencies": [], "inputs": ["ESPN"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owned by", "forward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["proportion", "0.2", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["business"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e_1 <owned_by> ?e . ?e_1 <pred:name> \"ESPN\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e ] <proportion> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"0.2\"^^xsd:double . ?e <Twitter_username> ?pv .  }", "answer": "HearstCorp"}, {"question": "Is Hillsborough County (3279 square kilometers) or Putnam County, Florida larger by area?", "choices": ["Indian River County", "Alachua County", "Monroe County", "Citrus County", "Putnam County", "Broward County", "Hillsborough County", "Polk County", "Orange County", "Marion County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hillsborough County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "3279 square kilometre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Relate", "dependencies": [2], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Putnam County"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hillsborough County\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"3279\"^^xsd:double . } UNION { ?e <pred:name> \"Putnam County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Florida\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hillsborough County"}, {"question": "Tell me the one with the least students within the land-grant university that has number of students under 53000", "choices": ["Michigan State University", "Purdue University", "New Mexico State University", "Iowa State University", "University of Florida", "Tennessee State University", "Auburn University", "Washington State University", "University of Vermont", "University of Arkansas"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "53000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["land-grant university"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["students count", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"land-grant university\" . ?e <students_count> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"53000\"^^xsd:double ) . ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tennessee State University"}, {"question": "What Pennsylvania county shares a border with Chautauqua County and with Cattaraugus County?", "choices": ["Allegheny County", "Lehigh County", "Fayette County", "Warren County", "Westmoreland County", "Cumberland County", "Erie County", "Bucks County", "York County", "Franklin County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chautauqua County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "Find", "dependencies": [], "inputs": ["Cattaraugus County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Pennsylvania"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Chautauqua County\" .  ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> \"Cattaraugus County\" .  }", "answer": "Warren County"}, {"question": "Which movie is longer, You Only Live Twice (the one whose genre is spy film) or The Patriot (the one that has Steven Oscar Seagal as a cast member)?", "choices": ["Rebecca", "You Only Live Twice", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "The Towering Inferno", "The Fifth Element", "Talk to Her", "Training Day", "The Patriot"], "program": [{"function": "Find", "dependencies": [], "inputs": ["spy film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["You Only Live Twice"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Steven Oscar Seagal"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Patriot"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"You Only Live Twice\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"spy film\" .   } UNION { ?e <pred:name> \"The Patriot\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"Steven Oscar Seagal\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "You Only Live Twice"}, {"question": "Which one,  Flagstaff or Charleston (the one that is the capital of Charleston County), has greater elevation (above sea level)?", "choices": ["New Haven", "Lansing", "Oakland", "Charleston", "Waukegan", "Compton", "Flagstaff", "Greenville", "Boulder", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Flagstaff"]}, {"function": "Find", "dependencies": [], "inputs": ["Charleston County"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charleston"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Flagstaff\" .  } UNION { ?e <pred:name> \"Charleston\" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> \"Charleston County\" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Flagstaff"}, {"question": "What blues rock was started in 1980?", "choices": ["post-grunge", "world music", "Skate punk", "grindcore", "industrial rock", "Dallas Mavericks", "doom metal", "crossover thrash", "Geffen Records", "Alliance '90/The Greens"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1980", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["blues rock"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"blues rock\" . ?e <inception> ?pv . ?pv <pred:year> 1980 .  }", "answer": "doom metal"}, {"question": "What number of TV series started before 1999?", "choices": ["152", "153", "154", "155", "156", "157", "158", "159", "160", "161"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "1999", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1999 ) .  }", "answer": "155"}, {"question": "Which port city with the demonym Llanitos has the motto Montis Insignia Calpe?", "choices": ["Lauryn Hill", "Barcelona", "Alexandria", "Basra", "\u0130zmir", "Fremantle", "Busan", "Gibraltar", "Odessa", "Tianjin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Llanitos"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["port city"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["motto text", "Montis Insignia Calpe"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["port city"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"port city\" . ?e <demonym> ?pv . ?pv <pred:value> \"Llanitos\" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> \"Montis Insignia Calpe\" .  }", "answer": "Gibraltar"}, {"question": "Which has greater percent of water area, Illinois whose population is 12859995 or Connecticut?", "choices": ["New Jersey", "Florida", "Colorado", "California", "New Mexico", "Illinois", "Connecticut", "Kansas", "Massachusetts", "Iowa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Illinois"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "12859995", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Connecticut"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["water as percent of area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Illinois\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"12859995\"^^xsd:double . } UNION { ?e <pred:name> \"Connecticut\" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Connecticut"}, {"question": "tell me the time point of Maastricht that has number of households 65522", "choices": ["1980-12-31", "2017-11-28", "2014-01-22", "2018-11-24", "1989-12-01", "2012-01-01", "1893-01-01", "2009-04-01", "1919", "2018-11-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maastricht"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["number of households", "65522", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Maastricht\" . ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"65522\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_households> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "Where was Doctor Zhivago that was nominated for an Academy Award for Best Supporting Actor published on 1966-10-05?", "choices": ["2005 Cannes Film Festival", "Japan", "Estonia", "Iceland", "Europe", "People's Republic of China", "Sydney", "Germany", "Slovenia", "Bulgaria"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Doctor Zhivago"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1966-10-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Doctor Zhivago\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Supporting Actor\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1966-10-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which has a greater elevation above sea level, Teaneck or Ridgewood?", "choices": ["Belleville", "Verona", "North Hollywood", "Teaneck", "Red Bank", "Livingston", "Ridgewood", "West Orange", "Whanganui", "Princeton"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Teaneck"]}, {"function": "Find", "dependencies": [], "inputs": ["Ridgewood"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Teaneck\" .  } UNION { ?e <pred:name> \"Ridgewood\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Teaneck"}, {"question": "Was the basketball team with Giphy username sixers founded after 1559?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "sixers"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["basketball team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1559", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"basketball team\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"sixers\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1559 ) .  }", "answer": "yes"}, {"question": "How many conservatories began outside of 1866?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1866", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["conservatory"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"conservatory\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1866 ) .  }", "answer": "11"}, {"question": "Does ISNI 0000 0001 2130 8723 belong to the person who has Libris-URI of b8nqr97v5gcr5qw?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "b8nqr97v5gcr5qw"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2130 8723"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> \"b8nqr97v5gcr5qw\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2130 8723\" .  }", "answer": "yes"}, {"question": "Which has the smaller area, Falkirk, with a population of 160100, or Auckland City?", "choices": ["Kent County", "Delaware County", "Auckland City", "Orange County", "Washoe County", "Greene County", "Cass County", "San Juan County", "Falkirk", "Lee County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Falkirk"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "160100", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Auckland City"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Falkirk\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"160100\"^^xsd:double . } UNION { ?e <pred:name> \"Auckland City\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Falkirk"}, {"question": "What is the subreddit of an academic discipline whose Stack Exchange tag is https://math.stackexchange.com/tags/abstract-algebra ?", "choices": ["Chad", "abstractalgebra", "VHS", "futbol", "Mars", "TheLastAirbender", "belfast", "mumbai", "HongKong", "curb"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Stack Exchange tag", "https://math.stackexchange.com/tags/abstract-algebra"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["academic discipline"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["subreddit"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"academic discipline\" . ?e <Stack_Exchange_tag> ?pv_1 . ?pv_1 <pred:value> \"https://math.stackexchange.com/tags/abstract-algebra\" . ?e <subreddit> ?pv .  }", "answer": "abstractalgebra"}, {"question": "Which has a lesser students number, University of Halle-Wittenberg or Northeastern University?", "choices": ["University of Hamburg", "University of Michigan", "McMaster University", "King's College London", "University of Melbourne", "University of Queensland", "Panjab University", "Birkbeck, University of London", "University of Halle-Wittenberg", "San Diego State University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Halle-Wittenberg"]}, {"function": "Find", "dependencies": [], "inputs": ["Northeastern University"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Halle-Wittenberg\" .  } UNION { ?e <pred:name> \"Northeastern University\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Halle-Wittenberg"}, {"question": "What is the connection between Ron Howard (the one whose date of birth is 1951-03-03) to Seattle Seahawks?", "choices": ["item operated", "draft pick from school", "winner", "partially contains", "substitute/deputy/replacement of office/officeholder", "member of sports team", "office contested", "participant of", "position held", "territory claimed by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ron Howard"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1951-03-03", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Seattle Seahawks"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Ron Howard\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1951-03-03\"^^xsd:date . ?e_2 <pred:name> \"Seattle Seahawks\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Which one is longer, That's My Boy starring Will Forte or No Country for Old Men that received an Academy Award for Best Director?", "choices": ["Rebecca", "The Fifth Element", "The Towering Inferno", "Talk to Her", "The Hunchback of Notre Dame", "No Country for Old Men", "That's My Boy", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Will Forte"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["That's My Boy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "Relate", "dependencies": [4], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["No Country for Old Men"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"That's My Boy\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Will Forte\" .   } UNION { ?e <pred:name> \"No Country for Old Men\" . ?e <award_received> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Director\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "No Country for Old Men"}, {"question": "Which movie made more revenue, Metropolitan Museum of Art or National Gallery of Art?", "choices": ["Louvre Museum", "Museo del Prado", "Van Nest Polglase", "Metropolitan Museum of Art", "National Gallery of Art", "Museum of Modern Art", "prison", "National Gallery", "Los Angeles Rams", "Tower of London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Metropolitan Museum of Art"]}, {"function": "Find", "dependencies": [], "inputs": ["National Gallery of Art"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["total revenue", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Metropolitan Museum of Art\" .  } UNION { ?e <pred:name> \"National Gallery of Art\" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Metropolitan Museum of Art"}, {"question": "Which has fewer seasons, Working Girl whose end time is 1990-08-27 or South Park that derives South Park: Bigger, Longer & Uncut?", "choices": ["Phineas and Ferb", "American Horror Story", "Game of Thrones", "Seinfeld", "Working Girl", "Six Feet Under", "South Park", "Saturday Night's Main Event", "Robot Chicken", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Working Girl"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["end time", "1990-08-27", "="]}, {"function": "Find", "dependencies": [], "inputs": ["South Park: Bigger, Longer & Uncut"]}, {"function": "Relate", "dependencies": [2], "inputs": ["based on", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["South Park"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Working Girl\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1990-08-27\"^^xsd:date . } UNION { ?e <pred:name> \"South Park\" . ?e_1 <based_on> ?e . ?e_1 <pred:name> \"South Park: Bigger, Longer & Uncut\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Working Girl"}, {"question": "What is the name of ther person who died on 1983-06-17?", "choices": ["Richard Gere", "Sylvester Stallone", "Clive Barker", "William Henry Harrison", "John Wood", "Adam Smith", "G. K. Chesterton", "Max Fleischer", "George Benson", "Paul Walker"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "1983-06-17", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv . ?pv <pred:date> \"1983-06-17\"^^xsd:date .  }", "answer": "George Benson"}, {"question": "What disease did John Hartford die of ?", "choices": ["leukemia", "multiple sclerosis", "prostate cancer", "testicular cancer", "attention deficit hyperactivity disorder", "gastroesophageal reflux disease", "heart failure", "acute cystitis", "lymphoma", "epilepsy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Hartford"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cause of death", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["disease"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"disease\" . ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> \"John Hartford\" .   }", "answer": "lymphoma"}, {"question": "What does James A. Michener have to do with writer?", "choices": ["occupation", "official symbol", "exclave of", "found", "located in time zone", "replaced by", "spouse", "lyrics by", "industry", "different from"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James A. Michener"]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"James A. Michener\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What front ended in 1918?", "choices": ["Tupac Shakur", "Middle Eastern theatre of World War I", "Irish", "Dan Castellaneta", "John Amos", "Cascade Range", "Western Front", "Tanzania", "European theatre of World War I", "World War I"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["end time", "1918", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["front"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"front\" . ?e <end_time> ?pv . ?pv <pred:year> 1918 .  }", "answer": "Western Front"}, {"question": "What is the official website of the award that is won by Enrique Iglesias?", "choices": ["http://www.army.mil/", "http://www.wadham.ox.ac.uk/", "http://warpfilms.com/feature/submarine/", "https://www.tel-aviv.gov.il/", "http://www.olemiss.edu", "http://jenniferehle.blogspot.com/", "http://www.burngormanonline.com", "http://movies.disney.com/wreck-it-ralph", "http://www.latingrammy.com/", "http://www.michaelbay.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Enrique Iglesias"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <winner> ?e_1 . ?e_1 <pred:name> \"Enrique Iglesias\" .  ?e <official_website> ?pv .  }", "answer": "http://www.latingrammy.com/"}, {"question": "Does the person who married Michael C. Hall in 2008 match with ISNI code 0000 0001 1768 6131 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael C. Hall"]}, {"function": "Relate", "dependencies": [0], "inputs": ["spouse", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["start time", "2008", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["0000 0001 1768 6131"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <spouse> ?e_1 . ?e_1 <pred:name> \"Michael C. Hall\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2008 . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1768 6131\" .  }", "answer": "no"}, {"question": "Does Lucy Liu or Walter Matthau have less height?", "choices": ["James E. Reilly", "William Henry Harrison", "Sylvester Stallone", "Lucy Liu", "Max Fleischer", "Paul Simon", "Rahul Dev Burman", "Walter Matthau", "Simon Cowell", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lucy Liu"]}, {"function": "Find", "dependencies": [], "inputs": ["Walter Matthau"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lucy Liu\" .  } UNION { ?e <pred:name> \"Walter Matthau\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Lucy Liu"}, {"question": "How is Ronald Neame related to the Academy Fellowship Award from BAFTA?", "choices": ["drug used for treatment", "candidacy in election", "cast member", "worshipped by", "quotes work", "based on", "territory overlaps", "winner", "original language of film or TV show", "soundtrack album"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Academy Fellowship Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Ronald Neame"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"BAFTA Academy Fellowship Award\" . ?e_2 <pred:name> \"Ronald Neame\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "Which movie is longer, City Slickers or The Life and Death of Peter Sellers?", "choices": ["City Slickers", "The Challenge", "The Three Musketeers", "The Goodbye Girl", "The Late Shift", "The Life and Death of Peter Sellers", "A Christmas Carol", "The Music Man", "All Quiet on the Western Front", "A Streetcar Named Desire"], "program": [{"function": "Find", "dependencies": [], "inputs": ["City Slickers"]}, {"function": "Find", "dependencies": [], "inputs": ["The Life and Death of Peter Sellers"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"City Slickers\" .  } UNION { ?e <pred:name> \"The Life and Death of Peter Sellers\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Life and Death of Peter Sellers"}, {"question": "How many fictional profession have a date of birth before 1939 or are from Marvel Universe?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1939", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["fictional profession"]}, {"function": "Find", "dependencies": [], "inputs": ["Marvel Universe"]}, {"function": "Relate", "dependencies": [3], "inputs": ["from fictional universe", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["fictional profession"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"fictional profession\" .  { ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1939 ) .  } UNION { ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> \"Marvel Universe\" .  } }", "answer": "12"}, {"question": "Was Jim Cummings (the one that has the occupation of screenwriter) born before 1988?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["screenwriter"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jim Cummings"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1988", "<"]}], "sparql": "ASK { ?e <pred:name> \"Jim Cummings\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"screenwriter\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  }", "answer": "yes"}, {"question": "When was a university, headquartered in Allahabad, established ?", "choices": ["1946-05-15", "1997-01-01", "1887", "1990", "1921-05-12", "1967", "1780", "1965-12-22", "1610", "-311"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Allahabad"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Allahabad\" .  ?e <inception> ?pv .  }", "answer": "1887"}, {"question": "Among those ceremonial English counties with a population that isn't 6700000, which one has the highest population count?", "choices": ["Warwickshire", "Greater London", "County Durham", "Surrey", "Northamptonshire", "Northumberland", "Leicestershire", "Dorset", "Gloucestershire", "Tyne and Wear"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "6700000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["ceremonial county of England"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"ceremonial county of England\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6700000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Greater London"}, {"question": "What is the FIPS 6-4 (US counties) for the administrative-territorial entity that has as capital Fargo in the USA?", "choices": ["51790", "01099", "02110", "55055", "38017", "48245", "31109", "53077", "18127", "12071"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fargo"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["capital", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["FIPS 6-4 (US counties)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <capital> ?e_1 . ?e_1 <pred:name> \"Fargo\" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <FIPS_6-4_(US_counties)> ?pv .  }", "answer": "38017"}, {"question": "At what point in time is 24414000000 United States dollars the net profit of the business whose ISIN is US0846701086?", "choices": ["2001-02-14", "1975-10-01", "1925-01-01", "2013-01-04", "1982-04-17", "2015", "1710-01-01", "1935-01-01", "1990-05-01", "2010-11-17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISIN", "US0846701086"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["business"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["net profit", "24414000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"business\" . ?e <ISIN> ?pv_1 . ?pv_1 <pred:value> \"US0846701086\" . ?e <net_profit> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"24414000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_profit> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Where was the film that Hugh Jackman produced and published on 2009-04-30, published?", "choices": ["BFI London Film Festival", "Lithuania", "John F. Kennedy Center for the Performing Arts", "Singapore", "Indonesia", "Switzerland", "Panama", "Austria", "Hungary", "Berlin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hugh Jackman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2009-04-30", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Hugh Jackman\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2009-04-30\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "Which person's ISNI is 0000 0001 0870 8837?", "choices": ["Alison Brie", "Aude", "James Brown", "Max Fleischer", "Al Pacino", "Sylvester Stallone", "Richard Gere", "Mark Robson", "Bob Fosse", "Jerome Kern"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0870 8837"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0870 8837\" .  }", "answer": "Bob Fosse"}, {"question": "How many wars are a part of the industry that has the French invasion of Russia as a component?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["French invasion of Russia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["war"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"industry\" . ?e_2 <part_of> ?e_1 . ?e_2 <pred:name> \"French invasion of Russia\" .   }", "answer": "3"}, {"question": "Which has less duration, Harry Potter and the Philosopher's Stone (whose script is wrote by J. K. Rowling) or 50/50?", "choices": ["Curse of the Golden Flower", "A Prairie Home Companion", "Training Day", "The Towering Inferno", "Pleasantville", "Rebecca", "50/50", "The Hunchback of Notre Dame", "Talk to Her", "Harry Potter and the Philosopher's Stone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["J. K. Rowling"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Philosopher's Stone"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["50/50"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Harry Potter and the Philosopher's Stone\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"J. K. Rowling\" .   } UNION { ?e <pred:name> \"50/50\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "50/50"}, {"question": "What is the duration of the film whose distributor is TV Tokyo?", "choices": ["167 minute", "114.0 minute", "1 academic term", "52 minute", "78 minute", "182 minute", "64 minute", "84 minute", "85 minute", "380 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["TV Tokyo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"TV Tokyo\" .  ?e <duration> ?pv .  }", "answer": "78 minute"}, {"question": "Is the official website of the departments of France whose Dewey Decimal Classification is 2--4472 is http://www.helloproject.com/morningmusume/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Dewey Decimal Classification", "2--4472"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["departments of France"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.helloproject.com/morningmusume/"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"departments of France\" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> \"2--4472\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.helloproject.com/morningmusume/\" .  }", "answer": "no"}, {"question": "How is The Sum of All Fears, identified by Nintendo GameID G3MP41, related to tactical shooters?", "choices": ["interested in", "Wikidata property", "sibling", "cause of death", "designed to carry", "continent", "fabrication method", "genre", "student of", "record label"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Sum of All Fears"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Nintendo GameID", "G3MP41"]}, {"function": "Find", "dependencies": [], "inputs": ["tactical shooter"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Sum of All Fears\" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> \"G3MP41\" . ?e_2 <pred:name> \"tactical shooter\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is the street address of The Criterion Collection's headquarters in New York City?", "choices": ["1 Gwanak-ro Gwanak-gu", "13/6 Bolshaya Nikitskaya Street", "2800 S University Dr, Fort Worth, TX, 76129", "East 5th Street, Greenville, NC, 27858-4353", "200 California Hall # 1500", "1 Jan Smuts Avenue", "290 Huntington Ave, Boston, MA, 02115-5018", "\u0432\u0443\u043b. \u0412\u043e\u043b\u043e\u0434\u0438\u043c\u0438\u0440\u0441\u044c\u043a\u0430 60", "020 Chubb Hall, Athens, OH, 45701-2979", "215 Park Avenue S # 5"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Criterion Collection"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Criterion Collection\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "215 Park Avenue S # 5"}, {"question": "When was Beloved, a famous project of Oprah Winfrey, a Satellite Award nominee for Best Cinematography?", "choices": ["1999", "2000-06-07", "2016-04-07", "2003-10-01", "2018-12-31", "2010-08-21", "1843-12-03", "2016-04-24", "2009-01-25", "1790-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oprah Winfrey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beloved"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Cinematography"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Beloved\" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> \"Oprah Winfrey\" . ?e_2 <pred:name> \"Satellite Award for Best Cinematography\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1999"}, {"question": "How many of Christianity did not begin in 1863 and whose name in kana is \u3075\u304f\u3044\u3093\u306f?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1863", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Christianity"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in kana", "\u3075\u304f\u3044\u3093\u306f"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Christianity"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Christianity\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1863 ) . ?e <name_in_kana> ?pv_1 . ?pv_1 <pred:value> \"\u3075\u304f\u3044\u3093\u306f\" .  }", "answer": "0"}, {"question": "Was the organization corresponding to ISNI 0000 0004 0404 3120 established pre-1926 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0404 3120"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1926", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0404 3120\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1926 ) .  }", "answer": "yes"}, {"question": "Does Greene County (the one whose population is 18441) or Augusta County have less area?", "choices": ["Greene County", "Prince William County", "Loudoun County", "Henrico County", "Fauquier County", "Albemarle County", "Northampton County", "Frederick County", "Fairfax County", "Warren County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "18441", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Augusta County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Greene County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"18441\"^^xsd:double . } UNION { ?e <pred:name> \"Augusta County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Greene County"}, {"question": "How is Akira Kurosawa related to writer?", "choices": ["significant event", "eye color", "licensed to broadcast to", "place served by transport hub", "instrumentation", "professorship", "located in or next to body of water", "programming paradigm", "occupation", "natural product of taxon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akira Kurosawa"]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Akira Kurosawa\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did the city that is the twinned administrative body of Monaco have a population of 637411?", "choices": ["1500", "1996-01-24", "2007-08-22", "1950-09-13", "2008-09-01", "1994-02-15", "1970-05-06", "2014-01-01", "1962-05-01", "1782"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Monaco"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "637411", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Monaco\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"637411\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2014-01-01"}, {"question": "What is the real rate of GDP growth in New Zealand?", "choices": ["2.5 percentage", "4.5 percentage", "6.9 percentage", "3.6 percentage", "3.8 percentage", "-9.8 percentage", "-3.0 percentage", "4.0 percentage", "2.1 percentage", "-18.0 percentage"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Zealand"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["real gross domestic product growth rate"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"New Zealand\" . ?e <real_gross_domestic_product_growth_rate> ?pv .  }", "answer": "4.0 percentage"}, {"question": "Which is shorter, Apache whose narrative location is Oklahoma or Strictly Ballroom?", "choices": ["Training Day", "The Fifth Element", "Apache", "Strictly Ballroom", "The Hunchback of Notre Dame", "Rebecca", "Pleasantville", "The Towering Inferno", "A Prairie Home Companion", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oklahoma"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Apache"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Strictly Ballroom"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Apache\" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> \"Oklahoma\" .   } UNION { ?e <pred:name> \"Strictly Ballroom\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Apache"}, {"question": "Where was the film whose official website is http://houseofwaxmovie.warnerbros.com/ published on 2005-06-02 ?", "choices": ["Switzerland", "West Germany", "United Kingdom", "France", "Serbia", "Germany", "United Arab Emirates", "Sorrento", "Tribeca Film Festival", "Bahrain"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://houseofwaxmovie.warnerbros.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2005-06-02", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://houseofwaxmovie.warnerbros.com/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2005-06-02\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Who has a greater mass, Mark Bresciano or Jean-Claude Van Damme?", "choices": ["Jean-Claude Van Damme", "Simon Cowell", "Richard Gere", "Sylvester Stallone", "Paul Simon", "James E. Reilly", "Rahul Dev Burman", "Max Fleischer", "David Byrne", "Mark Bresciano"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mark Bresciano"]}, {"function": "Find", "dependencies": [], "inputs": ["Jean-Claude Van Damme"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mark Bresciano\" .  } UNION { ?e <pred:name> \"Jean-Claude Van Damme\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jean-Claude Van Damme"}, {"question": "When did Kagoshima Prefecture become the twinned administrative body of Gifu Prefecture?", "choices": ["1949-10-01", "1807-01-19", "1956-01-01", "2000-05-22", "1971-07-27", "1896-06-24", "1912-05-05", "1992-07-25", "1999-08-01", "2013-01-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kagoshima Prefecture"]}, {"function": "Find", "dependencies": [], "inputs": ["Gifu Prefecture"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Kagoshima Prefecture\" . ?e_2 <pred:name> \"Gifu Prefecture\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1971-07-27"}, {"question": "Does Baton Rouge or Alton have the lower population?", "choices": ["Waukegan", "Compton", "Boulder", "Alton", "Columbus", "New Haven", "Baton Rouge", "Oakland", "Lansing", "Franklin"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Baton Rouge"]}, {"function": "Find", "dependencies": [], "inputs": ["Alton"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Baton Rouge\" .  } UNION { ?e <pred:name> \"Alton\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Alton"}, {"question": "What connection does Brannon Braga have to Mission: Impossible II?", "choices": ["godparent", "screenwriter", "industry", "language used", "head coach", "original language of film or TV show", "home port", "candidacy in election", "main food source", "headquarters location"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mission: Impossible II"]}, {"function": "Find", "dependencies": [], "inputs": ["Brannon Braga"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mission: Impossible II\" . ?e_2 <pred:name> \"Brannon Braga\" . ?e_1 ?p ?e_2 .  }", "answer": "screenwriter"}, {"question": "Which soccer club with the Instagram handle kf.tirana was established earlier than 1947?", "choices": ["Rangers F.C.", "Stade Brestois 29", "Brighton & Hove Albion F.C.", "Brisbane Roar FC", "Zamalek SC", "Middlesbrough F.C.", "KF Tirana", "Kettering Town F.C.", "RC Strasbourg", "Bradford (Park Avenue) A.F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "kf.tirana"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["inception", "1947", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"kf.tirana\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1947 ) .  }", "answer": "KF Tirana"}, {"question": "Is the official name For the association football club that has Walter Hill (the one whose position is defender) as a member (the end time of this statement is 1899), Selecci\u00f3n de f\u00fatbol de Panam\u00e1?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["defender"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Walter Hill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["end time", "1899", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [6], "inputs": ["official name"]}, {"function": "VerifyStr", "dependencies": [7], "inputs": ["Selecci\u00f3n de f\u00fatbol de Panam\u00e1"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Walter Hill\" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> \"defender\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1899 . ?e <official_name> ?pv . ?pv <pred:value> \"Selecci\u00f3n de f\u00fatbol de Panam\u00e1\" .  }", "answer": "no"}, {"question": "What is the relationship between Barry Levinson and the Academy Award for Best Picture?", "choices": ["eye color", "author", "candidacy in election", "continent", "month of the year", "original language of film or TV show", "has immediate cause", "season starts", "nominated for", "drafted by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barry Levinson"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Barry Levinson\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Is Cayuga County or Saratoga County larger, in terms of area?", "choices": ["Warren County", "Greene County", "Rensselaer County", "Jefferson County", "Saratoga County", "Albany County", "Chautauqua County", "Cayuga County", "Niagara County", "Orange County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cayuga County"]}, {"function": "Find", "dependencies": [], "inputs": ["Saratoga County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cayuga County\" .  } UNION { ?e <pred:name> \"Saratoga County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cayuga County"}, {"question": "Which is shorter, The People vs. Larry Flynt or Casino Royale that originally aired on CBS?", "choices": ["A Streetcar Named Desire", "The Music Man", "Shackleton", "A Christmas Carol", "The Goodbye Girl", "The Late Shift", "All Quiet on the Western Front", "The Challenge", "The People vs. Larry Flynt", "Casino Royale"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The People vs. Larry Flynt"]}, {"function": "Find", "dependencies": [], "inputs": ["CBS"]}, {"function": "Relate", "dependencies": [1], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Casino Royale"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The People vs. Larry Flynt\" .  } UNION { ?e <pred:name> \"Casino Royale\" . ?e <original_network> ?e_1 . ?e_1 <pred:name> \"CBS\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Casino Royale"}, {"question": "For the independent city whose native label is Lynchburg, what is the determination method for this value of its population of 75568?", "choices": ["Canada 2016 Census", "administrative division valid at the time point of history to which the data relates", "2010 United States Census", "United Kingdom Census 1971", "United Kingdom Census 2001", "Taqdir", "census", "population projection", "lead-lead dating", "2016 Australian census"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Lynchburg"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "75568", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Lynchburg\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"75568\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "When did the foundation of a city in Kingdom of Greece happen?", "choices": ["-7000", "1874-01-01", "1960-06-03", "1245-01-01", "1818-10-18", "1191", "1917-05-19", "1887-05-13", "1894-01-01", "1067"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kingdom of Greece"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"Kingdom of Greece\" .  ?e <inception> ?pv .  }", "answer": "-7000"}, {"question": "How many saxophones does Tom Scott (the one that is famous for alto saxophone) have?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alto saxophone"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Scott"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["saxophone"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"saxophone\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Tom Scott\" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> \"alto saxophone\" .   }", "answer": "4"}, {"question": "Was the film whose official website is http://www.erinbrockovich.com/ published after 1985 in Germany?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.erinbrockovich.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["publication date", "place of publication", "Germany"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1985", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.erinbrockovich.com/\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1985 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> \"Germany\" .  }", "answer": "yes"}, {"question": "What Primetime Emmy Award was Steve Allen nominated for in 1978?", "choices": ["Primetime Emmy Award for Outstanding Comedy Series", "Primetime Emmy Award for Outstanding Guest Actor in a Drama Series", "Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie", "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series", "Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series", "Primetime Emmy Award for Outstanding Animated Program", "Primetime Emmy Award for Individual Performance in a Variety or Music Program", "Primetime Emmy Award for Outstanding Writing for a Drama Series", "Primetime Emmy Award for Outstanding Writing for a Comedy Series", "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Allen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1978", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Primetime Emmy Award"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Primetime Emmy Award\" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> \"Steve Allen\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1978 .  }", "answer": "Primetime Emmy Award for Outstanding Writing for a Drama Series"}, {"question": "Is the runtime of Funny Girl not 400 minutes?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Funny Girl"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [1], "inputs": ["400 minute", "!="]}], "sparql": "ASK { ?e <pred:name> \"Funny Girl\" . ?e <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> ?v . FILTER ( ?v != \"400\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What animated film released in New Zealand had the highest cost?", "choices": ["Magic Knight Rayearth", "Wreck-It Ralph", "Ponyo on the Cliff by the Sea", "My-HiME", "The Polar Express", "Superman", "The Lion King", "Code Geass", "Anastasia", "Wonder Woman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["New Zealand"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated film"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["cost", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated film\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"New Zealand\" .  ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Wreck-It Ralph"}, {"question": "Is Channing Tatum or Samuel L. Jackson worth a lower amount?", "choices": ["Samuel L. Jackson", "Rahul Dev Burman", "William Henry Harrison", "James E. Reilly", "Max Fleischer", "Simon Cowell", "Richard Gere", "Channing Tatum", "David Byrne", "Paul Simon"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Channing Tatum"]}, {"function": "Find", "dependencies": [], "inputs": ["Samuel L. Jackson"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["net worth", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Channing Tatum\" .  } UNION { ?e <pred:name> \"Samuel L. Jackson\" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Channing Tatum"}, {"question": "Terror in the Aisles is related to Bela Lugosi in what manner?", "choices": ["narrator", "member of", "has quality", "different from", "stated in", "start point", "has effect", "operating area", "cast member", "main subject"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Terror in the Aisles"]}, {"function": "Find", "dependencies": [], "inputs": ["Bela Lugosi"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Terror in the Aisles\" . ?e_2 <pred:name> \"Bela Lugosi\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which has the smallest area among the Washington counties whose population is less than 5500000?", "choices": ["Pierce County", "Grant County", "Grays Harbor County", "San Juan County", "Kitsap County", "Snohomish County", "Clark County", "Skagit County", "Spokane County", "Douglas County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5500000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"5500000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Kitsap County"}, {"question": "What is the connection between Adam Arkin to Alan Arkin?", "choices": ["winner", "instrumentation", "position held", "father", "distributor", "taxon rank", "organizer", "substitute/deputy/replacement of office/officeholder", "award disciplines or subjects", "designed to carry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam Arkin"]}, {"function": "Find", "dependencies": [], "inputs": ["Alan Arkin"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Adam Arkin\" . ?e_2 <pred:name> \"Alan Arkin\" . ?e_1 ?p ?e_2 .  }", "answer": "father"}, {"question": "What is the connection between Sylvia Sidney to Judaism?", "choices": ["parent astronomical body", "commander of", "religion", "time period", "derivative work", "fictional universe described in", "developer", "afflicts", "takes place in fictional universe", "place of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sylvia Sidney"]}, {"function": "Find", "dependencies": [], "inputs": ["Judaism"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sylvia Sidney\" . ?e_2 <pred:name> \"Judaism\" . ?e_1 ?p ?e_2 .  }", "answer": "religion"}, {"question": "When did James Brown (the one whose height is 198 centimetre) become a member of the Cleveland Browns?", "choices": ["1979-03-07", "1919-03-10", "1815-03-04", "2014", "2000-10-06", "1728-01-01", "1896-06-24", "1990-03-19", "2003-08-29", "1978-09-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James Brown"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "198 centimetre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Cleveland Browns"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James Brown\" . ?e_1 <height> ?pv . ?pv <pred:unit> \"centimetre\" . ?pv <pred:value> \"198\"^^xsd:double . ?e_2 <pred:name> \"Cleveland Browns\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2014"}, {"question": "Does the person whose CANTIC-ID is a12192946 have the ISNI of 0000 0001 0869 4391?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12192946"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 0869 4391"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a12192946\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0869 4391\" .  }", "answer": "yes"}, {"question": "Was the music genre, whose subreddit is NewAgeMusic, founded before 1811?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "NewAgeMusic"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music genre"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1811", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"music genre\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"NewAgeMusic\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1811 ) .  }", "answer": "no"}, {"question": "Who has ISNI 0000 0001 1947 1951?", "choices": ["Anna Paquin", "Dave Fleischer", "Ellen Pompeo", "Stevie Wonder", "Steve Vai", "Sylvester Stallone", "Richard Gere", "Kevin James", "Max Fleischer", "Taylor Hackford"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1947 1951"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1947 1951\" .  }", "answer": "Ellen Pompeo"}, {"question": "Is Libris-URI of a person, whose ISNI is 0000 0003 6854 3848, equal to 53hlpqwp4csd9fj ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6854 3848"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["53hlpqwp4csd9fj"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0003 6854 3848\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"53hlpqwp4csd9fj\" .  }", "answer": "no"}, {"question": "Among independent German cities with a population that isn't 1600000000, which of them has the lowest elevation above sea level?", "choices": ["West Bank", "Baden-Baden", "Coburg", "Bayreuth", "Frankfurt (Oder)", "Minnesota Timberwolves", "Sarah McLachlan", "The Lorax", "Weimar", "Madison County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "1600000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"1600000000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "How was it determined that the county of Florida whose ISNI is 0000 0004 0631 7316 has a population of 497909?", "choices": ["Sixth National Population Census of the People's Republic of China", "hearth tax", "questionnaire", "United States Census", "demographic balance", "estimation process", "estimation", "tradition", "Family record booklet", "2016 Australian census"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0631 7316"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "497909", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0631 7316\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"497909\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "demographic balance"}, {"question": "What is the connection between Shark Tale (the one that has Peter Falk as a voice actor) to DreamWorks Animation?", "choices": ["taxon rank", "parent astronomical body", "board member", "replaces", "contains settlement", "feast day", "production company", "applies to jurisdiction", "organizer", "place of burial"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Falk"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Shark Tale"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["DreamWorks Animation"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Shark Tale\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Peter Falk\" . ?e_2 <pred:name> \"DreamWorks Animation\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "What is the UK Provider Reference Number of the university that is the education place of Roger Moore (whose Munzinger IBA is 00000012964)?", "choices": ["10007154", "10000961", "10003270", "10004351", "10007143", "10003645", "10007149", "10007856", "10007165", "10007852"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roger Moore"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000012964"]}, {"function": "Relate", "dependencies": [1], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["UK Provider Reference Number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Roger Moore\" . ?e_1 <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000012964\" . ?e <UK_Provider_Reference_Number> ?pv .  }", "answer": "10007143"}, {"question": "How many subscribers does British Columbia have on its subreddit BritishColumbia?", "choices": ["210613", "15325", "43179", "101955", "2048892", "3876955", "260980", "114681", "14686", "105308"], "program": [{"function": "Find", "dependencies": [], "inputs": ["British Columbia"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["subreddit", "BritishColumbia", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"British Columbia\" . ?e <subreddit> ?pv . ?pv <pred:value> \"BritishColumbia\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "15325"}, {"question": "Which area is smaller, Warsaw or Damascus?", "choices": ["Kingston", "Cork", "Abidjan", "Trieste", "Kilkenny", "Warsaw", "Bergen", "Santo Domingo", "Chihuahua", "Damascus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warsaw"]}, {"function": "Find", "dependencies": [], "inputs": ["Damascus"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Warsaw\" .  } UNION { ?e <pred:name> \"Damascus\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Damascus"}, {"question": "How many non-metro district comprise an enclave within Woking (the one whose OS grid reference is TQ0040358550) or consist of an area of less than 690,000 hectares ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "690000 hectare", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["non-metropolitan district"]}, {"function": "Find", "dependencies": [], "inputs": ["Woking"]}, {"function": "FilterStr", "dependencies": [3], "inputs": ["OS grid reference", "TQ0040358550"]}, {"function": "Relate", "dependencies": [4], "inputs": ["enclave within", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["non-metropolitan district"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"non-metropolitan district\" .  { ?e <area> ?pv . ?pv <pred:unit> \"hectare\" . ?pv <pred:value> ?v . FILTER ( ?v < \"690000\"^^xsd:double ) .  } UNION { ?e <enclave_within> ?e_1 . ?e_1 <pred:name> \"Woking\" . ?e_1 <OS_grid_reference> ?pv . ?pv <pred:value> \"TQ0040358550\" .  } }", "answer": "2"}, {"question": "How many counties are there in the state of Florida?", "choices": ["15", "16", "17", "18", "19", "20", "21", "22", "23", "24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Florida"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Florida"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Florida\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Florida\" .   }", "answer": "19"}, {"question": "Is Curtis Mayfield a record producer?", "choices": ["student of", "executive producer", "voice type", "mouth of the watercourse", "natural product of taxon", "film release region", "geography of topic", "exclave of", "influenced by", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Curtis Mayfield"]}, {"function": "Find", "dependencies": [], "inputs": ["record producer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Curtis Mayfield\" . ?e_2 <pred:name> \"record producer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did the person whose ISNI is 0000 0000 8136 1123 die?", "choices": ["2017-07-16", "2000-10-30", "2012-02-03", "1976-11-28", "2017-10-17", "2018-08-30", "1949-02-01", "1919-05-06", "1941-01-13", "1978-12-10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8136 1123"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 8136 1123\" . ?e <date_of_death> ?pv .  }", "answer": "1978-12-10"}, {"question": "Where is the feature film published which has a publication date of 2007-12-21 and an official website of http://movies.disney.com/national-treasure-book-of-secrets?", "choices": ["Uruguay", "Grauman's Chinese Theatre", "Austin", "Venezuela", "South Africa", "Japan", "United States of America", "European Union", "Davao City", "Sydney"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://movies.disney.com/national-treasure-book-of-secrets"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2007-12-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"feature film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://movies.disney.com/national-treasure-book-of-secrets\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2007-12-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "How many national soccer teams rank below 200 or represent the United Kingdom?", "choices": ["98", "99", "100", "101", "102", "103", "104", "105", "106", "107"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "200", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["national association football team"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" .  { ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"200\"^^xsd:double ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  } }", "answer": "102"}, {"question": "What is the link between Richard Strauss and opera?", "choices": ["original film format", "winner", "significant event", "fabrication method", "symptoms", "political ideology", "genre", "opposite of", "legislative body", "designed to carry"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Strauss"]}, {"function": "Find", "dependencies": [], "inputs": ["opera"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Richard Strauss\" . ?e_2 <pred:name> \"opera\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "Which area has higher elevation above sea level, Los Gatos or San Diego?", "choices": ["Boulder", "Greenville", "Franklin", "New Haven", "San Diego", "Oakland", "Waukegan", "Lansing", "Los Gatos", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Gatos"]}, {"function": "Find", "dependencies": [], "inputs": ["San Diego"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Los Gatos\" .  } UNION { ?e <pred:name> \"San Diego\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Diego"}, {"question": "Is 1928 Saint Marys Road, Moraga, CA, 94575 the street address of the university whose postal code is 40292-000?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "40292-0001"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["located at street address"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["1928 Saint Marys Road, Moraga, CA, 94575"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"40292-0001\" . ?e <located_at_street_address> ?pv . ?pv <pred:value> \"1928 Saint Marys Road, Moraga, CA, 94575\" .  }", "answer": "no"}, {"question": "Does the University of Chicago or the University of Buenos Aires have fewer students?", "choices": ["Ateneo de Manila University", "Valparaiso University", "University of Buenos Aires", "University of Southern California", "Texas Christian University", "University of Chicago", "Bradley University", "Yale University", "Boston University School of Law", "American University of Beirut"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Chicago"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Buenos Aires"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Chicago\" .  } UNION { ?e <pred:name> \"University of Buenos Aires\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "University of Chicago"}, {"question": "How long is the movie titled George Washington?", "choices": ["124 minute", "388 minute", "107 minute", "11 minute", "58 minute", "31 minute", "44 minute", "67.0 minute", "89 minute", "72 minute"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "George Washington"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"George Washington\" . ?e <duration> ?pv .  }", "answer": "89 minute"}, {"question": "What is the FIFA country code of a national association football team, whose ranking was 95 on 1995-06-13?", "choices": ["ATG", "NIR", "SUI", "CYP", "SCO", "FRA", "HKG", "GUY", "TUR", "JAM"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["ranking", "95", "="]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["point in time", "1995-06-13", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["national association football team"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIFA country code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"95\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> \"1995-06-13\"^^xsd:date . ?e <FIFA_country_code> ?pv .  }", "answer": "JAM"}, {"question": "Did the band with the Instagram username of foofighters start working before 2007?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "foofighters"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["work period (start)"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["2007", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"foofighters\" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) .  }", "answer": "yes"}, {"question": "Is Tobey Maguire a Scottish American?", "choices": ["language of work or name", "subsidiary", "culture", "replaces", "public holiday", "ethnic group", "symptoms", "genre", "properties for this type", "airline hub"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tobey Maguire"]}, {"function": "Find", "dependencies": [], "inputs": ["Scottish American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tobey Maguire\" . ?e_2 <pred:name> \"Scottish American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "How is Natural Born Killers related to Edie McClurg?", "choices": ["seed team", "place of origin (Switzerland)", "position held", "programming paradigm", "record label", "cast member", "partner", "dissertation submitted to", "allegiance", "religion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Natural Born Killers"]}, {"function": "Find", "dependencies": [], "inputs": ["Edie McClurg"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Natural Born Killers\" . ?e_2 <pred:name> \"Edie McClurg\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Who is taller, Zooey Deschanel or Tom Johnson (the one that is a member of Calgary Stampeders)?", "choices": ["Simon Cowell", "Max Fleischer", "Zooey Deschanel", "William Henry Harrison", "James E. Reilly", "David Byrne", "Paul Simon", "Richard Gere", "Sylvester Stallone", "Tom Johnson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zooey Deschanel"]}, {"function": "Find", "dependencies": [], "inputs": ["Calgary Stampeders"]}, {"function": "Relate", "dependencies": [1], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Johnson"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Zooey Deschanel\" .  } UNION { ?e <pred:name> \"Tom Johnson\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Calgary Stampeders\" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Tom Johnson"}, {"question": "Does Barrie or Markham have the lower elevation?", "choices": ["Dundee", "Kilkenny", "Trieste", "Santo Domingo", "Chihuahua", "Bergen", "Kingston", "Markham", "Cork", "Abidjan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Barrie"]}, {"function": "Find", "dependencies": [], "inputs": ["Markham"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Barrie\" .  } UNION { ?e <pred:name> \"Markham\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Markham"}, {"question": "How many sports have the IAB code of 526?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "526"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"type of sport\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"526\" .  }", "answer": "1"}, {"question": "How many kinds of music that famously include Sp\u0131n\u0308al Tap are also a feature of Weezer?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sp\u0131n\u0308al Tap"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["music"]}, {"function": "Find", "dependencies": [], "inputs": ["Weezer"]}, {"function": "Relate", "dependencies": [3], "inputs": ["facet of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["music"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"music\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Sp\u0131n\u0308al Tap\" .  ?e <facet_of> ?e_2 . ?e_2 <pred:name> \"Weezer\" .  }", "answer": "0"}, {"question": "What is the connection between Brad Garrett to 57th Primetime Emmy Awards?", "choices": ["symptoms", "official symbol", "significant person", "child", "programming paradigm", "located in or next to body of water", "award received", "film editor", "next higher rank", "basin country"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brad Garrett"]}, {"function": "Find", "dependencies": [], "inputs": ["57th Primetime Emmy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brad Garrett\" . ?e_2 <pred:name> \"57th Primetime Emmy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the ISNI of the rock band with the official website of http://www.doobiebros.com/?", "choices": ["0000 0001 2296 8205", "0000 0001 2141 9212", "0000 0001 2138 6158", "0000 0000 6301 5876", "0000 0001 1457 9453", "0000 0001 1476 3496", "0000 0001 2223 9774", "0000 0000 9211 980X", "0000 0004 4040 4069", "0000 0001 2028 6171"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.doobiebros.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["rock band"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.doobiebros.com/\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 9211 980X"}, {"question": "What is Ming-Na Wen's role as a voice actor in Mulan (the one whose musical conductor is Jerry Goldsmith)?", "choices": ["Mulan", "Boris Grishenko", "Nelson Mandela", "Wai Lin", "Griffin", "Anna Valerious", "Vanessa Kensington", "Abraham Lincoln", "Toby Ziegler", "Lisa Cuddy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jerry Goldsmith"]}, {"function": "Relate", "dependencies": [0], "inputs": ["musical conductor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mulan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ming-Na Wen"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["voice actor", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Mulan\" . ?e_1 <musical_conductor> ?e_3 . ?e_3 <pred:name> \"Jerry Goldsmith\" . ?e_2 <pred:name> \"Ming-Na Wen\" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Mulan"}, {"question": "Which has more people, Hamilton (the one whose country is United States of America) or Greenwood?", "choices": ["Hamilton", "Waukegan", "Greenwood", "Compton", "Lansing", "Franklin", "Columbus", "New Haven", "Oakland", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamilton"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Greenwood"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hamilton\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } UNION { ?e <pred:name> \"Greenwood\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hamilton"}, {"question": "Who is the person whose date of birth is before 1970 and whose ISNI is 0000 0001 1030 4321?", "choices": ["Laraine Day", "Yo-Yo Ma", "Sam Trammell", "Sylvester Stallone", "Shammi Kapoor", "Mark Mancina", "Gus Van Sant", "Ben Kingsley", "Max Fleischer", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1970", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1030 4321"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1970 ) . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1030 4321\" .  }", "answer": "Mark Mancina"}, {"question": "IS 46th-anniversary-of-star-treks-1st-broadcast the Google Doodle for Claude Debussy ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claude Debussy"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Google Doodle"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["46th-anniversary-of-star-treks-1st-broadcast"]}], "sparql": "ASK { ?e <pred:name> \"Claude Debussy\" . ?e <Google_Doodle> ?pv . ?pv <pred:value> \"46th-anniversary-of-star-treks-1st-broadcast\" .  }", "answer": "no"}, {"question": "Does ISNI 0000 0001 2299 4243 match to the university denoted by PermID 5001215517?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5001215517"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0001 2299 4243"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5001215517\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 2299 4243\" .  }", "answer": "yes"}, {"question": "What is the link between the Belgium national football team and association football?", "choices": ["sponsor", "connects with", "relative", "sport", "medical condition", "academic degree", "partner", "educated at", "platform", "home port"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Belgium national football team"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Belgium national football team\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "What is the connection between Federation of Bosnia and Herzegovina to Croatian?", "choices": ["sponsor", "writing system", "territory claimed by", "practiced by", "has immediate cause", "architect", "medical treatment", "distribution", "film distribute region", "official language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Federation of Bosnia and Herzegovina"]}, {"function": "Find", "dependencies": [], "inputs": ["Croatian"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Federation of Bosnia and Herzegovina\" . ?e_2 <pred:name> \"Croatian\" . ?e_1 ?p ?e_2 .  }", "answer": "official language"}, {"question": "What is the connection between Isle of Wight to Coburg?", "choices": ["parent organization", "licensed to broadcast to", "twinned administrative body", "presenter", "noble title", "location of final assembly", "item operated", "located in time zone", "lyrics by", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Isle of Wight"]}, {"function": "Find", "dependencies": [], "inputs": ["Coburg"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Isle of Wight\" . ?e_2 <pred:name> \"Coburg\" . ?e_1 ?p ?e_2 .  }", "answer": "twinned administrative body"}, {"question": "What is the work period start date of Tim Armstrong (whose occupation is guitarist)?", "choices": ["1975", "1923", "1710", "1924", "1980", "1913", "1827", "2004", "1955", "1904"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitarist"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tim Armstrong"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Tim Armstrong\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"guitarist\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1980"}, {"question": "Was Robbie Williams (the one that was born in Pontefract) born after 1977?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pontefract"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robbie Williams"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1977", ">"]}], "sparql": "ASK { ?e <pred:name> \"Robbie Williams\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Pontefract\" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1977 ) .  }", "answer": "yes"}, {"question": "What is cast member Chow Yun-fat's character role in Pirates of the Caribbean: At World's End (whose official website is http://pirates.disney.com/pirates-of-the-caribbean-at-worlds-end)?", "choices": ["Douglas Quail", "Billy Breakenridge", "Sao Feng", "Harry Potter", "James Whale", "Pyornkrachzark", "Number Three", "King Claudius", "Alex Karev", "Mark Silverberg"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pirates of the Caribbean: At World's End"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://pirates.disney.com/pirates-of-the-caribbean-at-worlds-end"]}, {"function": "Find", "dependencies": [], "inputs": ["Chow Yun-fat"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Pirates of the Caribbean: At World's End\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://pirates.disney.com/pirates-of-the-caribbean-at-worlds-end\" . ?e_2 <pred:name> \"Chow Yun-fat\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Sao Feng"}, {"question": "What is the relationship between Akira Ishida and seiy\u016b?", "choices": ["conferred by", "distributor", "publisher", "instrument", "takes place in fictional universe", "source of income", "located in time zone", "seed team", "sex or gender", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Akira Ishida"]}, {"function": "Find", "dependencies": [], "inputs": ["seiy\u016b"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Akira Ishida\" . ?e_2 <pred:name> \"seiy\u016b\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "How many award ceremonies succeeded the one whose edition number is 45 ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["edition number", "45"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award ceremony"]}, {"function": "Relate", "dependencies": [2], "inputs": ["followed by", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["award ceremony"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award ceremony\" . ?e_1 <followed_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"award ceremony\" . ?e_1 <edition_number> ?pv . ?pv <pred:value> \"45\" .   }", "answer": "1"}, {"question": "Which movie is longer, Shanghai Knights or April (the one that origins from Italy)?", "choices": ["April", "Talk to Her", "The Towering Inferno", "Pleasantville", "A Prairie Home Companion", "The Fifth Element", "Training Day", "The Hunchback of Notre Dame", "Shanghai Knights", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Shanghai Knights"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Relate", "dependencies": [1], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["April"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Shanghai Knights\" .  } UNION { ?e <pred:name> \"April\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"Italy\" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shanghai Knights"}, {"question": "How many colleges have a student population exceeding 390 or a work staff exceeding 660?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["students count", "390", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["employees", "660", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["college"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college\" .  { ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"390\"^^xsd:double ) .  } UNION { ?e <employees> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"660\"^^xsd:double ) .  } }", "answer": "14"}, {"question": "When was 12963788 the number of people living in a sovereign state whose demonym   is  Afghaan (the involved part of this statement is male) ?", "choices": ["1833-09-19", "1973-12-01", "1557-01-01", "2011-01-16", "1671", "1981", "2001-02-15", "1830", "1964-04-13", "2010-06-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "Afghaan"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["applies to part", "male"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "12963788", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"Afghaan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> \"male\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"12963788\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1981"}, {"question": "How is Clive A. Smith related to London where Karl Popper died?", "choices": ["participant", "child", "cast member", "place of birth", "interested in", "part of", "occupation", "film distribute region", "professorship", "item operated"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Clive A. Smith"]}, {"function": "Find", "dependencies": [], "inputs": ["Karl Popper"]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Clive A. Smith\" . ?e_2 <pred:name> \"London\" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> \"Karl Popper\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "What is the box office for the film whose producer is Steve Carell?", "choices": ["504050219 United States dollar", "649398328", "5122737 United States dollar", "363889678 United States dollar", "463517383 United States dollar", "4028293 United States dollar", "172989651 United States dollar", "3000000 United States dollar", "321200000 United States dollar", "142900000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Carell"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["box office"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Steve Carell\" .  ?e <box_office> ?pv .  }", "answer": "142900000 United States dollar"}, {"question": "What is the WOIED of FC Carl Zeiss Jena's home city?", "choices": ["1968222", "23424829", "664055", "24083", "26062", "1428499", "15790", "1968902", "35375", "2377942"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Carl Zeiss Jena"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["WOEID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"FC Carl Zeiss Jena\" .  ?e <WOEID> ?pv .  }", "answer": "664055"}, {"question": "How many musical instruments did Elvis Costello use?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elvis Costello"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical instrument"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical instrument\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Elvis Costello\" .   }", "answer": "1"}, {"question": "What is the ISNI of the person whose native language name is Elias Koteas?", "choices": ["0000 0001 2134 7861", "0000 0001 0671 5048", "0000 0001 2358 6858", "0000 0001 1021 9223", "0000 0001 1079 1457", "0000 0000 7357 8648", "0000 0001 1469 5999", "0000 0001 0916 8967", "0000 0001 1596 8995", "0000 0001 0893 552X"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Elias Koteas"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Elias Koteas\" . ?e <ISNI> ?pv .  }", "answer": "0000 0001 0893 552X"}, {"question": "How many Academy Awards events were held later than 1954 or were the 81st edition?", "choices": ["49", "50", "51", "52", "53", "54", "55", "56", "57", "58"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["point in time", "1954", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Academy Awards ceremony"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["edition number", "81"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1954 ) .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> \"81\" .  } }", "answer": "56"}, {"question": "What is the native name of the Hope and Glory director of photography?", "choices": ["Jean-Jacques Goldman", "Philippe Rousselot", "Larry Miller", "Kamal Haasan", "\u5f35\u66fc\u7389", "Dean Nicholas Saunders", "Ernest Miller Hemingway", "Jermaine Jackson", "\u0b86\u0bb0\u0bcd. \u0bae\u0bbe\u0ba4\u0bb5\u0ba9\u0bcd", "Channing Tatum"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hope and Glory"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director of photography", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> \"Hope and Glory\" .  ?e <name_in_native_language> ?pv .  }", "answer": "Philippe Rousselot"}, {"question": "Which movie is shorter, Ithaca (the one that has Tom Hanks as a cast member) or Cinderella (the one that has David Warner as a cast member)?", "choices": ["Cinderella", "Training Day", "Rebecca", "Ithaca", "Pleasantville", "The Towering Inferno", "The Hunchback of Notre Dame", "The Fifth Element", "Talk to Her", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ithaca"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["David Warner"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cinderella"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ithaca\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Tom Hanks\" .   } UNION { ?e <pred:name> \"Cinderella\" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> \"David Warner\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ithaca"}, {"question": "How is Oscar (a member of S.C. Internacional) related to Chelsea F.C.?", "choices": ["donated by", "member of sports team", "substitute/deputy/replacement of office/officeholder", "family name", "mountain range", "killed by", "subject has role", "official religion", "parent club", "military conflicts"], "program": [{"function": "Find", "dependencies": [], "inputs": ["S.C. Internacional"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Oscar"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chelsea F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Oscar\" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> \"S.C. Internacional\" . ?e_2 <pred:name> \"Chelsea F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "Where was Lara Croft: Tomb Raider published on 2001-06-28?", "choices": ["Cannes", "Uruguay", "France", "Egypt", "Central Park", "Germany", "Ireland", "1949 Cannes Film Festival", "Greek Theatre, Los Angeles", "Spain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lara Croft: Tomb Raider"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["publication date", "2001-06-28", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Lara Croft: Tomb Raider\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2001-06-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is pianist Robert Shaw related to the piano?", "choices": ["interested in", "member of political party", "instrument", "sex or gender", "official religion", "employer", "editor", "league", "takes place in fictional universe", "signatory"], "program": [{"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Shaw"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["piano"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Robert Shaw\" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> \"piano\" . ?e_2 <pred:name> \"piano\" . ?e_1 ?p ?e_2 .  }", "answer": "instrument"}, {"question": "What is the population of the Texas metropolitan area where AT&T is headquartered?", "choices": ["96574", "10354300", "11741849", "389881", "6016425", "213998", "213993", "1080593", "2105377", "6155000"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AT&T"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["metropolitan area"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["population"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"metropolitan area\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Texas\" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> \"AT&T\" .  ?e <population> ?pv .  }", "answer": "6155000"}, {"question": "What is the connection between Charles Bronson (the one whose date of birth is 1952-12-06) to artist?", "choices": ["occupation", "partner", "currency", "characters", "has dialect (DEPRECATED)", "award disciplines or subjects", "mouth of the watercourse", "destination point", "convicted of", "home world"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charles Bronson"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1952-12-06", "="]}, {"function": "Find", "dependencies": [], "inputs": ["artist"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Charles Bronson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1952-12-06\"^^xsd:date . ?e_2 <pred:name> \"artist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What video game was published on 1994-12-08?", "choices": ["Demolition Man", "tactical shooter", "Cars", "Miracle on 34th Street", "Looney Tunes: Back in Action", "Harry Potter and the Half-Blood Prince", "G.I. Joe: The Rise of Cobra", "The Nightmare Before Christmas", "The Lion King", "Batman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1994-12-08", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1994-12-08\"^^xsd:date .  }", "answer": "The Lion King"}, {"question": "Is 3000 Miles to Graceland or The Sessions longer?", "choices": ["The Fifth Element", "3000 Miles to Graceland", "Training Day", "Rebecca", "A Prairie Home Companion", "Talk to Her", "Pleasantville", "The Sessions", "The Hunchback of Notre Dame", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3000 Miles to Graceland"]}, {"function": "Find", "dependencies": [], "inputs": ["The Sessions"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"3000 Miles to Graceland\" .  } UNION { ?e <pred:name> \"The Sessions\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "3000 Miles to Graceland"}, {"question": "Which one has less total sales between American Pie 2 or The Green Mile (the one whose composer is Thomas Newman)?", "choices": ["Training Day", "Rebecca", "The Hunchback of Notre Dame", "American Pie 2", "A Prairie Home Companion", "The Towering Inferno", "The Fifth Element", "The Green Mile", "Pleasantville", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["American Pie 2"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Newman"]}, {"function": "Relate", "dependencies": [1], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Green Mile"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"American Pie 2\" .  } UNION { ?e <pred:name> \"The Green Mile\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Thomas Newman\" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "American Pie 2"}, {"question": "Which area has a larger female population, Uttar Pradesh (the one whose native label is \u0909\u0924\u094d\u0924\u0930 \u092a\u094d\u0930\u0926\u0947\u0936) or Jharkhand (the one whose male population is 16930315)?", "choices": ["Uttar Pradesh", "Maharashtra", "West Bengal", "Jharkhand", "Haryana", "Kerala", "Karnataka", "Himachal Pradesh", "Odisha", "Andhra Pradesh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Uttar Pradesh"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "\u0909\u0924\u094d\u0924\u0930 \u092a\u094d\u0930\u0926\u0947\u0936"]}, {"function": "Find", "dependencies": [], "inputs": ["Jharkhand"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["male population", "16930315", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["female population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Uttar Pradesh\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"\u0909\u0924\u094d\u0924\u0930 \u092a\u094d\u0930\u0926\u0947\u0936\" . } UNION { ?e <pred:name> \"Jharkhand\" . ?e <male_population> ?pv_2 . ?pv_2 <pred:unit> \"1\" . ?pv_2 <pred:value> \"16930315\"^^xsd:double . } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Uttar Pradesh"}, {"question": "What is cast member Crispin Glover's character role in the work The Doors (the one whose publication date is 1991-05-02)?", "choices": ["Captain Haddock", "Data", "Marcus Brody", "Apu Nahasapeemapetilon", "Boromir", "Nero", "Peter Florrick", "Mr. Waternoose", "Andy Warhol", "Miranda Hobbes"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Doors"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1991-05-02", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Crispin Glover"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Doors\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"1991-05-02\"^^xsd:date . ?e_2 <pred:name> \"Crispin Glover\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Andy Warhol"}, {"question": "What is the relationship between Tuvalu (the one whose original language is German) and Walt Disney Studios Motion Pictures?", "choices": ["designed by", "permanent resident of", "subsidiary", "has quality", "distributor", "composer", "health specialty", "draft pick from school", "broadcast by", "drug used for treatment"], "program": [{"function": "Find", "dependencies": [], "inputs": ["German"]}, {"function": "Relate", "dependencies": [0], "inputs": ["original language of film or TV show", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tuvalu"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tuvalu\" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> \"German\" . ?e_2 <pred:name> \"Walt Disney Studios Motion Pictures\" . ?e_1 ?p ?e_2 .  }", "answer": "distributor"}, {"question": "What sovereign state had a population of 5167000 in 1857?", "choices": ["People's Republic of China", "Kingdom of Sardinia", "Weimar Republic", "Switzerland", "Kiribati", "Russian Soviet Federative Socialist Republic", "South Sudan", "Samoa", "Socialist Federal Republic of Yugoslavia", "Benin"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5167000", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1857", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"5167000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1857 .  }", "answer": "Kingdom of Sardinia"}, {"question": "Was the person with ISNI 0000 0000 1953 3537 born after 1930?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 1953 3537"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1930", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 1953 3537\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1930 ) .  }", "answer": "no"}, {"question": "Which has more seasons, Charmed whose official website is http://www.tnt.tv/series/charmed or Love of Life?", "choices": ["Charmed", "Seinfeld", "Love of Life", "Saturday Night's Main Event", "Robot Chicken", "American Horror Story", "Dancing with the Stars", "Game of Thrones", "Bleak House", "Six Feet Under"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charmed"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.tnt.tv/series/charmed"]}, {"function": "Find", "dependencies": [], "inputs": ["Love of Life"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["number of seasons", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charmed\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.tnt.tv/series/charmed\" . } UNION { ?e <pred:name> \"Love of Life\" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Love of Life"}, {"question": "What is Britney Spears' role in How I Met Your Mother?", "choices": ["Abby", "Sab\u00e9", "Wellington Yueh", "Martin Riggs", "Sally Jackson", "Ro Laren", "Rodney Copperbottom", "Lois Griffin", "Elle Bishop", "Stabbington Brother"], "program": [{"function": "Find", "dependencies": [], "inputs": ["How I Met Your Mother"]}, {"function": "Find", "dependencies": [], "inputs": ["Britney Spears"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"How I Met Your Mother\" . ?e_2 <pred:name> \"Britney Spears\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Abby"}, {"question": "What is the connection between War and Peace (the one whose inception time is 1863) to Leo Tolstoy?", "choices": ["record label", "feast day", "after a work by", "parent club", "patron saint", "has quality", "color", "general manager", "filming location", "author"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War and Peace"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1863", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Leo Tolstoy"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"War and Peace\" . ?e_1 <inception> ?pv . ?pv <pred:year> 1863 . ?e_2 <pred:name> \"Leo Tolstoy\" . ?e_1 ?p ?e_2 .  }", "answer": "author"}, {"question": "Which is shorter, The Three Musketeers produced by 20th Century Fox or The Robe?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "The Three Musketeers", "Rebecca", "Curse of the Golden Flower", "A Prairie Home Companion", "The Towering Inferno", "The Robe", "Pleasantville", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Three Musketeers"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Robe"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Three Musketeers\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"20th Century Fox\" .   } UNION { ?e <pred:name> \"The Robe\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Three Musketeers"}, {"question": "Which film is followed by the visual artwork and Superman Returns (shot in Los Angeles)?", "choices": ["Twin Peaks: Fire Walk with Me", "Mission: Impossible", "Superman III", "Murder on the Orient Express", "Jackass: The Movie", "Rebecca", "Meet Dave", "The Squid and the Whale", "Transformers", "Daredevil"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Superman Returns"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "Relate", "dependencies": [5], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [6], "inputs": ["film"]}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"visual artwork\" . ?e_2 <follows> ?e_1 . ?e_2 <pred:name> \"Superman Returns\" . ?e_2 <filming_location> ?e_3 . ?e_3 <pred:name> \"Los Angeles\" .   }", "answer": "Superman III"}, {"question": "Which one has less elevation above sea level, Salem (whose elevation above sea level is 8 metre) or Providence (the one that is the twinned administrative body of Kiev)?", "choices": ["New Haven", "Columbus", "Oakland", "Greenville", "Lansing", "Franklin", "Compton", "Waukegan", "Salem", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salem"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "8 metre", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Kiev"]}, {"function": "Relate", "dependencies": [2], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Providence"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Salem\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"8\"^^xsd:double . } UNION { ?e <pred:name> \"Providence\" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> \"Kiev\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Salem"}, {"question": "What is the city whose Italian cadastre code is F257?", "choices": ["Nagpur", "Kingston", "Palermo", "Bologna", "Cork", "Modena", "Edmonton", "Trieste", "Kilkenny", "Kuwait City"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Italian cadastre code", "F257"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <Italian_cadastre_code> ?pv . ?pv <pred:value> \"F257\" .  }", "answer": "Modena"}, {"question": "Is the elevation above sea level of a city in the US, located in Jackson county (http://www.co.jackson.or.us) below 530 metres?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jackson County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.co.jackson.or.us"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["530 metre", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Jackson County\" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.co.jackson.or.us\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v < \"530\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Who is the person that received the Primetime Emmy Award, that is the kind of an award won by Alan Alda, for the work in Coach ?", "choices": ["Alan Alda", "Judd Hirsch", "Ricky Gervais", "Max Fleischer", "Craig T. Nelson", "Tim Conway", "Sylvester Stallone", "John Ritter", "John Lithgow", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Alda"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Primetime Emmy Award"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "Coach"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"Primetime Emmy Award\" . ?e_1 <winner> ?e_2 . ?e_2 <pred:name> \"Alan Alda\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"Coach\" .  }", "answer": "Craig T. Nelson"}, {"question": "Does palmitic acid or L-alanine have the higher melting point?", "choices": ["L-Valine", "capric acid", "stearic acid", "thiamine ion", "L-Arginine", "L-Leucine", "palmitic acid", "cis-oleic acid", "sucrose", "L-alanine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["palmitic acid"]}, {"function": "Find", "dependencies": [], "inputs": ["L-alanine"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["melting point", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"palmitic acid\" .  } UNION { ?e <pred:name> \"L-alanine\" .  } ?e <melting_point> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "L-alanine"}, {"question": "What is M. Emmet Walsh's Deutsche Synchronkartei actor-ID ?", "choices": ["2298", "2815", "1878", "1278", "1110", "2814", "656", "14714", "34763", "466"], "program": [{"function": "Find", "dependencies": [], "inputs": ["M. Emmet Walsh"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Deutsche Synchronkartei actor-ID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"M. Emmet Walsh\" . ?e <Deutsche_Synchronkartei_actor-ID> ?pv .  }", "answer": "1110"}, {"question": "What is the relationship between Jonathan Frakes and film director?", "choices": ["update method", "occupation", "field of this occupation", "next lower rank", "game mode", "film editor", "contains settlement", "contributor(s) to the creative work", "award disciplines or subjects", "legal form"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jonathan Frakes"]}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jonathan Frakes\" . ?e_2 <pred:name> \"film director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "When did  Joseph Campbell (the one that is educated at Ludwig Maximilian University of Munich) stop being an employee of Sarah Lawrence College?", "choices": ["1978-01-01", "1991-08-24", "2011-01-01", "1820-01-29", "1997-01-03", "2009-04-06", "1972", "1979-06-03", "1991-12-25", "2014-08-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ludwig Maximilian University of Munich"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Campbell"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Sarah Lawrence College"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["employer", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Joseph Campbell\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Ludwig Maximilian University of Munich\" . ?e_2 <pred:name> \"Sarah Lawrence College\" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1972"}, {"question": "Is Emile Kuri's date of birth not in the year 1991?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emile Kuri"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1991", "!="]}], "sparql": "ASK { ?e <pred:name> \"Emile Kuri\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  }", "answer": "yes"}, {"question": "How many researchers have the same occupation as the person with a native language name of Carl Edward Sagan?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Carl Edward Sagan"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["researcher"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"researcher\" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Carl Edward Sagan\" .   }", "answer": "2"}, {"question": "Which band's genres are blues rock and psychedelic rock?", "choices": ["ZZ Top", "Cinderella", "The Black Keys", "Eric Burdon", "Steve Miller Band", "The Beatles", "Allman Brothers Band", "Porcupine Tree", "The Guess Who", "The Band"], "program": [{"function": "Find", "dependencies": [], "inputs": ["blues rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["band"]}, {"function": "Find", "dependencies": [], "inputs": ["psychedelic rock"]}, {"function": "Relate", "dependencies": [3], "inputs": ["genre", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["band"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"blues rock\" .  ?e <genre> ?e_2 . ?e_2 <pred:name> \"psychedelic rock\" .  }", "answer": "The Guess Who"}, {"question": "What is Brian Cox's  (the one that is a cast member of Rise of the Planet of the Apes) character role as a cast member in the work The Bourne Supremacy?", "choices": ["Patrick Gates", "Debra Morgan", "Faisal I of Iraq", "Dory", "Ward Abbott", "Kevin", "Serena Kogan", "Walter White", "Dana Tan", "Mike Delfino"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Bourne Supremacy"]}, {"function": "Find", "dependencies": [], "inputs": ["Rise of the Planet of the Apes"]}, {"function": "Relate", "dependencies": [1], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Cox"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Bourne Supremacy\" . ?e_2 <pred:name> \"Brian Cox\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Rise of the Planet of the Apes\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Ward Abbott"}, {"question": "Where is the visual artwork published which has a box office equal to 157150000 United States dollars and a publication date of 2010-01-15?", "choices": ["Portugal", "Poland", "Telluride Film Festival", "Singapore", "John F. Kennedy Center for the Performing Arts", "New York City", "United States of America", "Switzerland", "Charlotte Motor Speedway", "Australia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "157150000 United States dollar", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-01-15", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> \"157150000\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-01-15\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "How many theatrical genres have under 4800 episodes?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "4800", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["theatrical genre"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"theatrical genre\" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4800\"^^xsd:double ) .  }", "answer": "3"}, {"question": "How many subscribers does the Twitter username JasonReitman have, belonging to a person whose official website is  http://www.myspace.com/yourpaljasonreitman ?", "choices": ["156923", "14127", "6671094", "108361", "113499", "151157", "24449", "32248", "2443", "205"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.myspace.com/yourpaljasonreitman"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "JasonReitman", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.myspace.com/yourpaljasonreitman\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"JasonReitman\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "156923"}, {"question": "How many dramas are in the same genre as the film titled \"Swept Away\"?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Swept Away"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["genre", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["drama"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"drama\" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Swept Away\" .   }", "answer": "1"}, {"question": "Is Dr. No's (the one whose production company is United Artists) runtime less than 255 seconds?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Artists"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Dr. No"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["255 second", "<"]}], "sparql": "ASK { ?e <pred:name> \"Dr. No\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"United Artists\" .  ?e <duration> ?pv . ?pv <pred:unit> \"second\" . ?pv <pred:value> ?v . FILTER ( ?v < \"255\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What is the street address of Bank of America's headquarters in Charlotte (population 540828)?", "choices": ["101 Jessup Hall", "100 Church Street SE, Minneapolis, MN, 55455-0213", "953 Danby Rd, Ithaca, NY, 14850-7002", "80 New Scotland Avenue, Albany, NY, 12208", "3009 Broadway", "Hovde Hall of Administration, West Lafayette, IN, 47907-2040", "Dragonhold-Underhill", "One Washington Square", "50 Stone Road East", "100 North Tryon St."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bank of America"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlotte"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "540828", "="]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Bank of America\" . ?e_2 <pred:name> \"Charlotte\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"540828\"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "100 North Tryon St."}, {"question": "How many public universities have the CANTIC-ID 11821802 or their official website is http://mq.edu.au/?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a11821802"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://mq.edu.au/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["public university"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" .  { ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a11821802\" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> \"http://mq.edu.au/\" .  } }", "answer": "2"}, {"question": "How was it determined that Orange County (the one that shares border with Rockland County) has a population of 372813?", "choices": ["population projection", "lead-lead dating", "United Kingdom Census 1971", "FIFA World Rankings", "United Kingdom Census 1991", "de facto", "Pensky\u2013Martens closed-cup test", "2000 United States Census", "census", "UIS estimation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rockland County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Orange County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "372813", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Orange County\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Rockland County\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"372813\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "census"}, {"question": "How many points has Didier Six of VfB Stuttgart scored?", "choices": ["23", "14", "9", "4", "33", "20", "72", "37", "53", "56"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Didier Six"]}, {"function": "Find", "dependencies": [], "inputs": ["VfB Stuttgart"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of points/goals/set scored"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Didier Six\" . ?e_2 <pred:name> \"VfB Stuttgart\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_points/goals/set_scored> ?qpv .  }", "answer": "23"}, {"question": "Is the smaller area occupied by Marion County, population 331298, or Indian River County?", "choices": ["Hillsborough County", "Monroe County", "Broward County", "Citrus County", "Marion County", "Indian River County", "Polk County", "Putnam County", "Alachua County", "Orange County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marion County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "331298", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Indian River County"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Marion County\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"331298\"^^xsd:double . } UNION { ?e <pred:name> \"Indian River County\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Indian River County"}, {"question": "What is the connection between the 65th Tony Awards to Neil Patrick Harris?", "choices": ["kit supplier", "presenter", "religion", "participant of", "heritage designation", "narrator", "field of work", "cast member", "seed team", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["65th Tony Awards"]}, {"function": "Find", "dependencies": [], "inputs": ["Neil Patrick Harris"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"65th Tony Awards\" . ?e_2 <pred:name> \"Neil Patrick Harris\" . ?e_1 ?p ?e_2 .  }", "answer": "presenter"}, {"question": "What is the birth date for the person who is the director of Up (the one whose narrative location is Venezuela)?", "choices": ["1964-07-01", "1942-03-25", "1910", "1925-07-06", "1911-04-23", "1968-10-09", "1982-04-15", "1974-02-10", "1972-11-08", "1949-04-28"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Venezuela"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Up"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Up\" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> \"Venezuela\" .  ?e <date_of_birth> ?pv .  }", "answer": "1968-10-09"}, {"question": "What is the political ideology whose pronunciation is  Ja-nihon(\u65e5\u672c).ogg and opposite of anti-communism?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["anti-communism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["opposite of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["political ideology"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["pronunciation audio"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Ja-nihon(\u65e5\u672c).ogg"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"political ideology\" . ?e_1 <opposite_of> ?e . ?e_1 <pred:name> \"anti-communism\" .  ?e <pronunciation_audio> ?pv . ?pv <pred:value> \"Ja-nihon(\u65e5\u672c).ogg\" .  }", "answer": "no"}, {"question": "I'd like to know the person who has an Instagram username oscar_emboaba", "choices": ["Oscar", "Joseph L. Mankiewicz", "Avril Lavigne", "Michael Crichton", "William Henry Harrison", "Richard Gere", "Chad Smith", "Brian Wilson", "Sylvester Stallone", "Michael Schur"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "oscar_emboaba"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"oscar_emboaba\" .  }", "answer": "Oscar"}, {"question": "Is 1999 not the year TV series, whose official website is http://www.wwe.com/shows/snme/ (the language of this statement is English), began to be broadcasted ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.wwe.com/shows/snme/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["start time"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1999", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.wwe.com/shows/snme/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1999 ) .  }", "answer": "yes"}, {"question": "How is Kundun related to the Academy Award for Best Original Score?", "choices": ["nominated for", "has quality", "main subject", "maintained by", "approved by", "official language", "location", "studies", "architect", "partially contains"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kundun"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Original Score"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Kundun\" . ?e_2 <pred:name> \"Academy Award for Best Original Score\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "How many states of Germany have the patron saint of the human biblical figure whose Libris-URI is sq466r7b1rk8mr0?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "sq466r7b1rk8mr0"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human biblical figure"]}, {"function": "Relate", "dependencies": [2], "inputs": ["patron saint", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["state of Germany"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e <patron_saint> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human biblical figure\" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> \"sq466r7b1rk8mr0\" .   }", "answer": "1"}, {"question": "What is the connection between Elaine May to Stanley Donen?", "choices": ["family", "discoverer or inventor", "general manager", "board member", "location of final assembly", "basin country", "partner", "contributing factor of", "sidekick of", "film crew member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elaine May"]}, {"function": "Find", "dependencies": [], "inputs": ["Stanley Donen"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Elaine May\" . ?e_2 <pred:name> \"Stanley Donen\" . ?e_1 ?p ?e_2 .  }", "answer": "partner"}, {"question": "Hi-NRG is influenced by how many different sounds?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hi-NRG"]}, {"function": "Relate", "dependencies": [0], "inputs": ["inspired by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sound"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sound\" . ?e_1 <inspired_by> ?e . ?e_1 <pred:name> \"Hi-NRG\" .   }", "answer": "0"}, {"question": "How many musician match the occupation of Bob Dylan and report L1202 as their ROME Occupation code (v3) ?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Dylan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musician"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ROME Occupation Code (v3)", "L1202"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musician"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musician\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Bob Dylan\" .  ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> \"L1202\" .  }", "answer": "0"}, {"question": "Wesley Snipes is cast as which character on Blade II, originating in the USA?", "choices": ["Abomination", "Blade", "Alejandro de la Vega", "Fred Jones", "Kekata", "Number Three", "Ted's daughter", "Polonius", "John Reed", "Gordon Gekko"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Blade II"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Wesley Snipes"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Blade II\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Wesley Snipes\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Blade"}, {"question": "When did the state or insular area capital in the United States whose subreddit is SpringfieldIL begin?", "choices": ["1944-02-04", "1855-02-22", "1155", "1854-03-20", "1821-04-10", "1940-05-15", "1937-01-01", "1707-05-01", "2007-01-01", "1977"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "SpringfieldIL"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state or insular area capital in the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state or insular area capital in the United States\" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> \"SpringfieldIL\" . ?e <inception> ?pv .  }", "answer": "1821-04-10"}, {"question": "What unitary state with a population of more than 8500000 has the largest area?", "choices": ["Kosovo", "Ukrainian Soviet Socialist Republic", "Greece", "Tajikistan", "Cuba", "Kazakhstan", "Lithuania", "Fiji", "Bulgaria", "Finland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "8500000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"8500000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kazakhstan"}, {"question": "How many subscribers does the person have who is a member of PSV Eindhoven (the number of points of this statement is 42) and his/her Twitter username is Ronaldo.", "choices": ["23072", "152764", "1003", "120881", "4994", "527181", "24503", "102390404", "129019", "2240398"], "program": [{"function": "Find", "dependencies": [], "inputs": ["PSV Eindhoven"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of points/goals/set scored", "42", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["Twitter username", "Ronaldo", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"PSV Eindhoven\" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv_1 . ?qpv_1 <pred:unit> \"1\" . ?qpv_1 <pred:value> \"42\"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Ronaldo\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "527181"}, {"question": "Among the state of India that shares border with Uttar Pradesh (the one whose population is 199812341), which one has the largest area ?", "choices": ["Rajasthan", "Himachal Pradesh", "Karnataka", "Bihar", "Andhra Pradesh", "Uttarakhand", "Kerala", "Jharkhand", "Chhattisgarh", "Haryana"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Uttar Pradesh"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "199812341", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of India"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of India\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Uttar Pradesh\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"199812341\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Rajasthan"}, {"question": "Was the person whose ISNI is 0000 0000 5884 9016 born later than 1919?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 5884 9016"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1919", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 5884 9016\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1919 ) .  }", "answer": "yes"}, {"question": "When did Avril Lavigne record on the RCA label?", "choices": ["2007", "2003-09-24", "1962", "1967", "2017-08-31", "1974-02-28", "2001-07-18", "1967-04-10", "1610", "2003-10-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Avril Lavigne"]}, {"function": "Find", "dependencies": [], "inputs": ["RCA Corporation"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["record label", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Avril Lavigne\" . ?e_2 <pred:name> \"RCA Corporation\" . ?e_1 <record_label> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <record_label> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2007"}, {"question": "What is the relationship between Tiburones Rojos de Veracruz to Veracruz (the one whose area is 241 square kilometre)?", "choices": ["headquarters location", "organizer", "organisation directed from the office or person", "platform", "followed by", "student of", "opposite of", "medical condition", "territory overlaps", "illustrator"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tiburones Rojos de Veracruz"]}, {"function": "Find", "dependencies": [], "inputs": ["Veracruz"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "241 square kilometre", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Tiburones Rojos de Veracruz\" . ?e_2 <pred:name> \"Veracruz\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"241\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which news program was a 2007 Satellite Awards recipient?", "choices": ["Vanessa Williams", "Atonement", "Gone Baby Gone", "The Graduate", "Mad Men", "The Colbert Report", "Today", "Juno", "Good Morning America", "The Daily Show"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Awards 2007"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["news"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"news\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Satellite Awards 2007\" .   }", "answer": "The Colbert Report"}, {"question": "30 Rock is represented in which language on its official website, www.nbc.com/30-rock?", "choices": ["English", "Classical Latin", "Portuguese", "Eastern Armenian", "Latvian", "Armenian", "Australian English", "Xhosa", "German", "Galician"], "program": [{"function": "Find", "dependencies": [], "inputs": ["30 Rock"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.nbc.com/30-rock/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"30 Rock\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.nbc.com/30-rock/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Is MosDefOfficial the Twitter username of the person who is educated at the University of Tasmania?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Tasmania"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["MosDefOfficial"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"University of Tasmania\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"MosDefOfficial\" .  }", "answer": "no"}, {"question": "What is the role of TOID (4000000074574269) regarding a city whose local dialing code is 01872 ?", "choices": ["distributor", "librarian", "founding member", "human settlement", "songwriter", "town", "front man", "lead vocalist", "Kingdom of Portugal", "primary body"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "01872"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["TOID", "4000000074574269", "subject has role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"01872\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074574269\" . [ <pred:fact_h> ?e ; <pred:fact_r> <TOID> ; <pred:fact_t> ?pv ] <subject_has_role> ?qpv .  }", "answer": "human settlement"}, {"question": "Who won the MTV Movie Award that was nominated to Martin Freeman (the award-winning work of this statement is The Exorcism of Emily Rose)?", "choices": ["Ellen Page", "Jennifer Lopez", "Richard Gere", "Max Fleischer", "Jennifer Carpenter", "Brad Pitt", "Dakota Fanning", "Rahul Dev Burman", "Sylvester Stallone", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Martin Freeman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["MTV Movie Awards"]}, {"function": "Relate", "dependencies": [2], "inputs": ["winner", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["for work", "The Exorcism of Emily Rose"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"MTV Movie Awards\" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> \"Martin Freeman\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> \"The Exorcism of Emily Rose\" .  }", "answer": "Jennifer Carpenter"}, {"question": "What is the ending date that the War of Spanish Succession includes the participant England, which has military conflicts with the Kingdom of Portugal?", "choices": ["1616-04-23", "1951-01-01", "2010-05-11", "2004", "1974", "1869", "1878", "1707", "1904-05-31", "1982-06-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["War of the Spanish Succession"]}, {"function": "Find", "dependencies": [], "inputs": ["Kingdom of Portugal"]}, {"function": "Relate", "dependencies": [1], "inputs": ["military conflicts", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["England"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["participant", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"War of the Spanish Succession\" . ?e_2 <pred:name> \"England\" . ?e_2 <military_conflicts> ?e_3 . ?e_3 <pred:name> \"Kingdom of Portugal\" . ?e_1 <participant> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <participant> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1707"}, {"question": "How many are there that hold less than 15 weeks?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "15 week", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <duration> ?pv . ?pv <pred:unit> \"week\" . ?pv <pred:value> ?v . FILTER ( ?v < \"15\"^^xsd:double ) .  }", "answer": "0"}, {"question": "Which movie is shorter, Tower of London (the one that has Boris Karloff as a cast member) or The Poseidon Adventure (the one that is originally aired on Seven Network)?", "choices": ["The Hunchback of Notre Dame", "Training Day", "The Poseidon Adventure", "Curse of the Golden Flower", "The Towering Inferno", "Rebecca", "Pleasantville", "The Fifth Element", "Tower of London", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boris Karloff"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tower of London"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Seven Network"]}, {"function": "Relate", "dependencies": [4], "inputs": ["original network", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Poseidon Adventure"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tower of London\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Boris Karloff\" .   } UNION { ?e <pred:name> \"The Poseidon Adventure\" . ?e <original_network> ?e_2 . ?e_2 <pred:name> \"Seven Network\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Tower of London"}, {"question": "Which area is smaller, Irving or Bakersfield?", "choices": ["Oakland", "Franklin", "Bakersfield", "Greenville", "Compton", "Columbus", "Lansing", "New Haven", "Irving", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Irving"]}, {"function": "Find", "dependencies": [], "inputs": ["Bakersfield"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Irving\" .  } UNION { ?e <pred:name> \"Bakersfield\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Irving"}, {"question": "Which person is a member of Sheffield United F.C. (the end time of this statement is 2011)?", "choices": ["Alou Diarra", "David Brown", "Kevin Betsy", "Richard Wright", "Tom Johnson", "Vinnie Jones", "William Henry Harrison", "Sylvester Stallone", "Peter Boyle", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sheffield United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2011", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> \"Sheffield United F.C.\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2011 .  }", "answer": "Richard Wright"}, {"question": "What is the death date of a person deceased in Victoria (the one whose elevation (above sea level) is 23 metre) ?", "choices": ["2002", "1985-09-19", "1979-07-28", "2010-07-21", "1947-02-27", "1962-07-13", "2004-08-18", "1927-08-17", "2018-06-29", "1986-10-14"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Victoria"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "23 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of death", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> \"Victoria\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"23\"^^xsd:double . ?e <date_of_death> ?pv .  }", "answer": "1927-08-17"}, {"question": "What is the connection between Liga Deportiva Universitaria de Quito to association football?", "choices": ["programming paradigm", "owner of", "maintained by", "ancestral home", "office contested", "start point", "contains settlement", "sport", "business division", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Liga Deportiva Universitaria de Quito"]}, {"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Liga Deportiva Universitaria de Quito\" . ?e_2 <pred:name> \"association football\" . ?e_1 ?p ?e_2 .  }", "answer": "sport"}, {"question": "How much did it cost to make Harry Potter and the Goblet of Fire, featuring cast member Alan Rickman?", "choices": ["200000000 United States dollar", "225000000 United States dollar", "8291712 Russian ruble", "207000000 United States dollar", "19000000 United States dollar", "20000000 United States dollar", "160000000 United States dollar", "150000000 United States dollar", "145000000 United States dollar", "72000000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alan Rickman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Harry Potter and the Goblet of Fire"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Harry Potter and the Goblet of Fire\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Alan Rickman\" .  ?e <cost> ?pv .  }", "answer": "150000000 United States dollar"}, {"question": "How many languages have ISO 639-5 code jpx or whose number of speakers is less than 1.3 percent?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISO 639-5 code", "jpx"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of speakers", "1.3 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" .  { ?e <ISO_639-5_code> ?pv . ?pv <pred:value> \"jpx\" .  } UNION { ?e <number_of_speakers> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"1.3\"^^xsd:double ) .  } }", "answer": "1"}, {"question": "Who has the official website http://terihatcher.net/ and occupation of voice actor ?", "choices": ["Bruno Mars", "William Henry Harrison", "Max Fleischer", "Teri Hatcher", "Richard Gere", "Jason Sudeikis", "Robert Englund", "Sylvester Stallone", "Clifton Collins", "Crispin Freeman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://terihatcher.net/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["voice actor"]}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://terihatcher.net/\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"voice actor\" .  }", "answer": "Teri Hatcher"}, {"question": "How many Critics' Choice Movie Awards were received by Rachel Getting Married or were won by Ludacris?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rachel Getting Married"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["Critics' Choice Movie Award"]}, {"function": "Find", "dependencies": [], "inputs": ["Ludacris"]}, {"function": "Relate", "dependencies": [3], "inputs": ["winner", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Critics' Choice Movie Award"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Critics' Choice Movie Award\" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Rachel Getting Married\" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> \"Ludacris\" .  } }", "answer": "2"}, {"question": "WHich sovereign state has a diplomatic relation with Germany (the subject of this statement is C\u00f4te d'Ivoire\u2013Germany relations) and it is exported to Sierra Leone?", "choices": ["Samoa", "Kiribati", "People's Republic of China", "Ivory Coast", "Switzerland", "Weimar Republic", "South Sudan", "United Kingdom", "Cambodia", "Russian Soviet Federative Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "C\u00f4te d'Ivoire\u2013Germany relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "Find", "dependencies": [], "inputs": ["Sierra Leone"]}, {"function": "Relate", "dependencies": [4], "inputs": ["exported to", "backward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["sovereign state"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Germany\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"C\u00f4te d'Ivoire\u2013Germany relations\" . ?e <exported_to> ?e_2 . ?e_2 <pred:name> \"Sierra Leone\" .  }", "answer": "Ivory Coast"}, {"question": "What is the Revised Romanization os Seoul, which official name is \uc11c\uc6b8\ud2b9\ubcc4\uc2dc?", "choices": ["Gi Seong-yong", "Dae-u Royaljeu", "Yugio Jeonjaeng", "Han-guk Jeonjaeng", "Joseon Jeonjaeng", "Daehan Minguk", "Gaeri", "Jo Mo-ran", "Seoul", "Suwon Samseong Beulluwingjeu"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seoul"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official name", "\uc11c\uc6b8\ud2b9\ubcc4\uc2dc", "Revised Romanization"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Seoul\" . ?e <official_name> ?pv . ?pv <pred:value> \"\uc11c\uc6b8\ud2b9\ubcc4\uc2dc\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <Revised_Romanization> ?qpv .  }", "answer": "Seoul"}, {"question": "tell me the person who has the giphy username of demilovato and who was born prior to 2000", "choices": ["Richard Gere", "William Henry Harrison", "Max Fleischer", "Shania Twain", "Mohnish Bahl", "Peter Frampton", "Enrique Iglesias", "Demi Lovato", "Peter Tork", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "demilovato"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["date of birth", "2000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Giphy_username> ?pv . ?pv <pred:value> \"demilovato\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2000 ) .  }", "answer": "Demi Lovato"}, {"question": "Which Philippine Standard Geographic Code designates the Philippine province with FIPS 10-4 (countries and regions) code RP21?", "choices": ["035400000", "137602000", "072200000", "072251000", "072217000", "137404000", "133900000", "137405000", "015500000", "10010178"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)", "RP21"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of the Philippines"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Philippine Standard Geographic Code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Philippines\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> \"RP21\" . ?e <Philippine_Standard_Geographic_Code> ?pv .  }", "answer": "072200000"}, {"question": "When did Lafayette (elevation 211 metres) record a population size of 67,140?", "choices": ["7", "1762-01-01", "2017-06-01", "1990-10-01", "2007-01-17", "1960-04-04", "2010-02-11", "2010-01-01", "1940-01-01", "1822-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lafayette"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "211 metre", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "67140", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Lafayette\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"211\"^^xsd:double . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67140\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Matt Servitto won a Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series for which work?", "choices": ["The Sopranos", "Trio", "Fiesta", "You Are There", "The Shape of Water", "The Great White Hope", "Khoon Bhari Maang", "Romance: En Vivo", "The Mission", "Hedda"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series"]}, {"function": "Find", "dependencies": [], "inputs": ["Matt Servitto"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series\" . ?e_2 <pred:name> \"Matt Servitto\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Sopranos"}, {"question": "Is the official website of Charleston with a opoulation of 120083 is ewual to  http://www.panicatthedisco.com/ ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charleston"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "120083", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["http://www.panicatthedisco.com/"]}], "sparql": "ASK { ?e <pred:name> \"Charleston\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"120083\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.panicatthedisco.com/\" .  }", "answer": "no"}, {"question": "What person's ISNI is 0000 0000 8113 7359 and number of children is less than 15?", "choices": ["Thomas Mitchell", "Maurice LaMarche", "Virginia Madsen", "William Henry Harrison", "George Clinton", "James Madison", "Sylvester Stallone", "Ryan Gosling", "John Adams", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 8113 7359"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["number of children", "15", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8113 7359\" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v . FILTER ( ?v < \"15\"^^xsd:double ) .  }", "answer": "Thomas Mitchell"}, {"question": "Is the title of the movie with official website http://www.meetthefockers.com/ Meet the Fockers?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.meetthefockers.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Meet the Fockers"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.meetthefockers.com/\" . ?e <title> ?pv . ?pv <pred:value> \"Meet the Fockers\" .  }", "answer": "yes"}, {"question": "How was it determined that Salk County has a popualtion of 62021?", "choices": ["extrapolation", "estimation process", "Taqdir", "United Kingdom Census 2001", "middle", "United Kingdom Census 2011", "Address Based Population Registration System", "tradition", "Canada 2011 Census", "2016 Australian census"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sauk County"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["population", "62021", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Sauk County\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"62021\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "What is the title of Futurama (the one that has Sigourney Weaver as a voice actor)?", "choices": ["Futurama", "This Is Spinal Tap", "Tlumo\u010dn\u00edk", "Yuma", "Lost in Translation", "The Tudors", "Winter\u2019s Bone", "The Spy Who Came in from the Cold", "Little Children", "Synecdoche, New York"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sigourney Weaver"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Futurama"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Futurama\" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> \"Sigourney Weaver\" .  ?e <title> ?pv .  }", "answer": "Futurama"}, {"question": "What is the native language name of the person whose ISNI is 0000 0001 1256 9518?", "choices": ["Andrea Romano", "Chris Tucker", "Andre Braugher", "Bill Nelson", "Burt Young", "Elizabeth Perkins", "Jeffrey Jones", "Bernardo Bertolucci", "Kasper Schmeichel", "Harry Norman Turtledove"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1256 9518"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1256 9518\" . ?e <name_in_native_language> ?pv .  }", "answer": "Bill Nelson"}, {"question": "What is the time point for the number of out-of-school children being 672235, for the geographic region whose out-of-school children number is equal to 862770 (the point in time of this statement is 2002)?", "choices": ["1965-04-05", "1976-12-01", "1601-01-01", "2006-10-25", "2010-01-01", "1999-08-18", "1981-12-31", "2012-06-10", "2006-07-12", "1852-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of out-of-school children", "862770", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2002", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["geographic region"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["number of out-of-school children", "672235", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <number_of_out-of-school_children> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"862770\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv_1 . ?qpv_1 <pred:year> 2002 . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"672235\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Tell me the one that has the least marriageable age within the constitutional monarchy that has the nominal GDP not exactly 65000000000 United States dollar.", "choices": ["Zimbabwe", "Eswatini", "Dubai", "Thailand", "Morocco", "Sierra Leone", "Colombia", "Tunisia", "Germany", "Namibia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "65000000000 United States dollar", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["constitutional monarchy"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["marriageable age", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"constitutional monarchy\" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> \"United States dollar\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"65000000000\"^^xsd:double ) . ?e <marriageable_age> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Morocco"}, {"question": "When did Brittany whose SIREN number is 233500016 have a population of 3258707?", "choices": ["2016-11-01", "1997-05-14", "2005-07-20", "2013-01-01", "1977", "1881-01-01", "1793", "1569", "1430", "2010-03-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brittany"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["SIREN number", "233500016"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "3258707", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Brittany\" . ?e <SIREN_number> ?pv_1 . ?pv_1 <pred:value> \"233500016\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"3258707\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-01-01"}, {"question": "Is Lauren Bacall the native language name of the person whose official website is http://www.laurenbacall.com?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.laurenbacall.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["Lauren Bacall"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.laurenbacall.com\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Lauren Bacall\" .  }", "answer": "yes"}, {"question": "John Mills who served in the Continental Army was buried in which US state?", "choices": ["Iowa", "Vermont", "California", "Illinois", "Massachusetts", "Ohio", "Florida", "New Hampshire", "Colorado", "Georgia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Continental Army"]}, {"function": "Relate", "dependencies": [0], "inputs": ["military branch", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Mills"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of burial", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["state of the United States"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> \"John Mills\" . ?e_1 <military_branch> ?e_2 . ?e_2 <pred:name> \"Continental Army\" .   }", "answer": "Ohio"}, {"question": "What language is associated with  http://www.madagascar-themovie.com/, the offocial website of the animated movie titled Madagascar 3: Europe's Most Wanted ?", "choices": ["Esperanto", "Armenian", "Thai", "Portuguese", "Hungarian", "English", "Canadian English", "Montenegrin", "Finnish", "Azerbaijani"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Madagascar 3: Europe's Most Wanted"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.madagascar-themovie.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Madagascar 3: Europe's Most Wanted\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.madagascar-themovie.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Which movie is shorter, Salmon Fishing in the Yemen or Centurion?", "choices": ["Curse of the Golden Flower", "The Fifth Element", "Talk to Her", "Rebecca", "Salmon Fishing in the Yemen", "The Hunchback of Notre Dame", "The Towering Inferno", "Pleasantville", "Centurion", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Salmon Fishing in the Yemen"]}, {"function": "Find", "dependencies": [], "inputs": ["Centurion"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Salmon Fishing in the Yemen\" .  } UNION { ?e <pred:name> \"Centurion\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Centurion"}, {"question": "What country does Michael Palin, his/her official website is https://www.themichaelpalin.com/, belong to?", "choices": ["Chile", "Mexico", "Venezuela", "Ontario", "United Kingdom", "Cura\u00e7ao", "Russian Soviet Federative Socialist Republic", "Nepal", "Kingdom of Great Britain", "Czechoslovak Socialist Republic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michael Palin"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "https://www.themichaelpalin.com/", "country"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Michael Palin\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.themichaelpalin.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <country> ?qpv .  }", "answer": "United Kingdom"}, {"question": "Does the city in the US with the English website of http://www.weho.org have an elevation above sea level not equal to 120 meters?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.weho.org"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["elevation above sea level"]}, {"function": "VerifyNum", "dependencies": [4], "inputs": ["120 metre", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.weho.org\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> ?v . FILTER ( ?v != \"120\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "Which TV program is the 5th part of the TV series titled The Wire?", "choices": ["variety", "Monster House", "Cold War", "The Wire, season 5", "The Wire, season 4", "The Larry Sanders Show", "Peter Pan", "Lost, season 3", "The Wire, season 2", "The Wire, season 3"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "The Wire"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["has part", "forward"]}, {"function": "QFilterStr", "dependencies": [3], "inputs": ["series ordinal", "5"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television program"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television program\" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <title> ?pv . ?pv <pred:value> \"The Wire\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> \"5\" .  }", "answer": "The Wire, season 5"}, {"question": "What is the city whose TOID is 4000000074551822?", "choices": ["Cork", "Portsmouth", "Hiroshima", "Kampala", "Trieste", "Kingston", "Hanoi", "Carlisle", "Aberdeen", "Kilkenny"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["TOID", "4000000074551822"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <TOID> ?pv . ?pv <pred:value> \"4000000074551822\" .  }", "answer": "Carlisle"}, {"question": "Does Drea de Matteo or Mick Jagger have more kids?", "choices": ["Paul Simon", "Rahul Dev Burman", "Drea de Matteo", "James E. Reilly", "Mick Jagger", "William Henry Harrison", "Max Fleischer", "Richard Gere", "David Byrne", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Drea de Matteo"]}, {"function": "Find", "dependencies": [], "inputs": ["Mick Jagger"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Drea de Matteo\" .  } UNION { ?e <pred:name> \"Mick Jagger\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Mick Jagger"}, {"question": "Is Dr. Seuss' native language name equal to Joshua Malina?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dr. Seuss"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["name in native language"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["Joshua Malina"]}], "sparql": "ASK { ?e <pred:name> \"Dr. Seuss\" . ?e <name_in_native_language> ?pv . ?pv <pred:value> \"Joshua Malina\" .  }", "answer": "no"}, {"question": "Who is the person nominated for an Academy Award for Best Picture (the award-winning work of this statement is Boyhood) and has the ISNI 0000 0001 1456 0322?", "choices": ["Sylvester Stallone", "David Byrne", "Babyface", "Simon Cowell", "Richard Gere", "Max Fleischer", "Richard Linklater", "James E. Reilly", "Paul Simon", "William Henry Harrison"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Boyhood"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISNI", "0000 0001 1456 0322"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Picture\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Boyhood\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1456 0322\" .  }", "answer": "Richard Linklater"}, {"question": "How was it figured that the Washington county whose FIPS 6-4 (US counties) is 53011 has a population count of 437871?", "choices": ["administrative division valid at the moment of publication", "Yemen General Census of Population, Housing and Establishments 2004", "United Kingdom Census 2011", "extrapolation", "United States Census", "estimation process", "middle", "lead-lead dating", "United Kingdom Census 2001", "questionnaire"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "53011"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Washington"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "437871", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Washington\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"53011\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"437871\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "estimation process"}, {"question": "Which record label goes by the Twitter handle AsylumRecords?", "choices": ["Epitaph Records", "Caroline Records", "Century Media Records", "Asylum Records", "Bad Boy Records", "Hollywood Records", "Spinefarm Records", "Shanachie Records", "Southern Lord Records", "Epic Records"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "AsylumRecords"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"AsylumRecords\" .  }", "answer": "Asylum Records"}, {"question": "Which association football club does the National Autonomous University of Mexico own?", "choices": ["Club Universidad Nacional", "Roda JC Kerkrade", "S.C. Internacional", "Norwich City F.C.", "Zamalek SC", "Brisbane Roar FC", "FC Kallon", "Stade Brestois 29", "Estudiantes de La Plata", "Hibernian F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["National Autonomous University of Mexico"]}, {"function": "Relate", "dependencies": [0], "inputs": ["owner of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <owner_of> ?e . ?e_1 <pred:name> \"National Autonomous University of Mexico\" .   }", "answer": "Club Universidad Nacional"}, {"question": "Which association football club is related to sport association football and has the official website of http://www.gaziantepspor.org.tr?", "choices": ["Brisbane Roar FC", "Sheffield United F.C.", "Birmingham City F.C.", "K.S.C. Lokeren Oost-Vlaanderen", "Gold Coast United FC", "Vejle Boldklub", "Gaziantepspor", "Zamalek SC", "Stade Brestois 29", "Middlesbrough F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.gaziantepspor.org.tr"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"association football\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.gaziantepspor.org.tr\" .  }", "answer": "Gaziantepspor"}, {"question": "What is the duration of the visual artwork that is written by Anton Chekhov?", "choices": ["94 minute", "72 minute", "786 minute", "179 minute", "162 minute", "134 minute", "83 minute", "107 minute", "135 minute", "76 minute"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anton Chekhov"]}, {"function": "Relate", "dependencies": [0], "inputs": ["after a work by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> \"Anton Chekhov\" .  ?e <duration> ?pv .  }", "answer": "94 minute"}, {"question": "What is the relationship between the Caribbean Sea and the Dominican Republic?", "choices": ["has contributing factor", "superhuman feature or ability", "use", "platform", "significant event", "film crew member", "opposite of", "basin country", "head of state", "owned by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caribbean Sea"]}, {"function": "Find", "dependencies": [], "inputs": ["Dominican Republic"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Caribbean Sea\" . ?e_2 <pred:name> \"Dominican Republic\" . ?e_1 ?p ?e_2 .  }", "answer": "basin country"}, {"question": "How is Bob Dylan related to Joan Baez ?", "choices": ["sex or gender", "partner", "takes place in fictional universe", "material used", "country for sport", "nominated for", "child astronomical body", "part of the series", "political alignment", "honorific suffix"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Dylan"]}, {"function": "Find", "dependencies": [], "inputs": ["Joan Baez"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bob Dylan\" . ?e_2 <pred:name> \"Joan Baez\" . ?e_1 ?p ?e_2 .  }", "answer": "partner"}, {"question": "When did the person with Munzinger IBA number 00000019828 have a net worth totaling 425000000 USD?", "choices": ["1950-09-13", "2012-11-01", "2011", "1996-02-21", "1935", "2007-05-01", "2016-02-13", "2017-03-01", "1844", "1952-05-28"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000019828"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["net worth", "425000000 United States dollar", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> \"00000019828\" . ?e <net_worth> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"425000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <net_worth> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011"}, {"question": "How are Venezuela and Ecuador related?", "choices": ["language of work or name", "diplomatic relation", "lowest point", "symptom of", "original language of film or TV show", "exported to", "domain of saint or deity", "health specialty", "industry", "exclave of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Venezuela"]}, {"function": "Find", "dependencies": [], "inputs": ["Ecuador"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Venezuela\" . ?e_2 <pred:name> \"Ecuador\" . ?e_1 ?p ?e_2 .  }", "answer": "diplomatic relation"}, {"question": "Is the date of birth of the person who was born in York (whose elevation is 223 meters above sea level) prior to the year 1952?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["York"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "223 metre", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1952", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"York\" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"223\"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1952 ) .  }", "answer": "no"}, {"question": "Does Gangs of New York (the one that was nominated for Broadcast Film Critics Association Award for Best Film) or All Quiet on the Western Front (the one whose script is wrote by Lewis Milestone) have the less cost?", "choices": ["A Prairie Home Companion", "The Hunchback of Notre Dame", "Training Day", "Rebecca", "Pleasantville", "Gangs of New York", "Curse of the Golden Flower", "Talk to Her", "The Fifth Element", "All Quiet on the Western Front"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gangs of New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lewis Milestone"]}, {"function": "Relate", "dependencies": [4], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["All Quiet on the Western Front"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Gangs of New York\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Broadcast Film Critics Association Award for Best Film\" .   } UNION { ?e <pred:name> \"All Quiet on the Western Front\" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> \"Lewis Milestone\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "All Quiet on the Western Front"}, {"question": "Which language is associated with http://www.raiders.com, the official website of the American football team whose Giphy username is raiders?", "choices": ["Cook Islands M\u0101ori", "Icelandic", "Bashkir", "Galician", "Irish", "Welsh", "Polish", "multiple languages", "English", "Brazilian Portuguese"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Giphy username", "raiders"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.raiders.com", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <Giphy_username> ?pv_1 . ?pv_1 <pred:value> \"raiders\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.raiders.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the connection between Leipzig to Weimar Republic?", "choices": ["properties for this type", "original film format", "theme music", "country", "relative", "distribution", "operator", "participant of", "presenter", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Leipzig"]}, {"function": "Find", "dependencies": [], "inputs": ["Weimar Republic"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Leipzig\" . ?e_2 <pred:name> \"Weimar Republic\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When was the founding of the agency formed in Cambridge, home of Hillary Clinton?", "choices": ["1683-03-07", "2004-02-04", "1849-10-27", "1916-05-06", "1791-09-25", "2000-06-10", "1757", "1861-03-17", "1994-04-27", "1928-09-25"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hillary Clinton"]}, {"function": "Relate", "dependencies": [0], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambridge"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Cambridge\" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> \"Hillary Clinton\" .  ?e <inception> ?pv .  }", "answer": "2004-02-04"}, {"question": "What is the time point of its population of 195111, for Mobile (the one that is the filming location of Close Encounters of the Third Kind)?", "choices": ["1967-12-01", "2015-01-22", "1935", "1904-01-01", "2010-01-01", "1973", "1808", "1996-12-18", "2020", "1966-08-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Close Encounters of the Third Kind"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mobile"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "195111", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Mobile\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Close Encounters of the Third Kind\" .  ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"195111\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "For the industry whose nickname is Vienna, what is the archive date for its official website of http://windows.microsoft.com/ru-RU/windows7/products/home?", "choices": ["41", "2016-10-28", "73", "Museum of Modern Art", "2012-10-14", "1858-12-01", "F\u00e9d\u00e9ration Cynologique Internationale Groups", "2012-10-24", "2507703", "2010-11-14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["nickname", "Vienna"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://windows.microsoft.com/ru-RU/windows7/products/home", "archive date"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> \"Vienna\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://windows.microsoft.com/ru-RU/windows7/products/home\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <archive_date> ?qpv .  }", "answer": "2010-11-14"}, {"question": "What's the connection between Italy and Alice, whose official website is http://www.alice-officialwebsite.com/ ?", "choices": ["airline hub", "participant", "home port", "symptom of", "present in work", "board member", "country of citizenship", "writing system", "grants", "place of publication"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alice"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.alice-officialwebsite.com/"]}, {"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alice\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.alice-officialwebsite.com/\" . ?e_2 <pred:name> \"Italy\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Is title of the visual artwork that derives The Longest Yard (the one that has Cloris Leachman as a cast member) equal to \u5287\u5834\u7248 NARUTO -\u30ca\u30eb\u30c8- \u5927\u6fc0\u7a81!\u5e7b\u306e\u5730\u5e95\u907a\u8de1\u3060\u3063\u3066\u3070\u3088?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cloris Leachman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Longest Yard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [6], "inputs": ["\u5287\u5834\u7248 NARUTO -\u30ca\u30eb\u30c8- \u5927\u6fc0\u7a81!\u5e7b\u306e\u5730\u5e95\u907a\u8de1\u3060\u3063\u3066\u3070\u3088"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> \"The Longest Yard\" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> \"Cloris Leachman\" .  ?e <title> ?pv . ?pv <pred:value> \"\u5287\u5834\u7248 NARUTO -\u30ca\u30eb\u30c8- \u5927\u6fc0\u7a81!\u5e7b\u306e\u5730\u5e95\u907a\u8de1\u3060\u3063\u3066\u3070\u3088\" .  }", "answer": "no"}, {"question": "What is the relation between E! and the United States of America?", "choices": ["musical conductor", "taxon rank", "coextensive with", "has cause", "eye color", "producer", "parent club", "country", "operator", "filmography"], "program": [{"function": "Find", "dependencies": [], "inputs": ["E!"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"E!\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Where was The Longest Yard (the one that was nominated for Academy Award for Best Film Editing) published on 10th April 1975 ?", "choices": ["Taiwan", "Germany", "Chile", "Hollywood", "Italy", "Venezuela", "Spain", "Bolivia", "Peru", "Washington, D.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Longest Yard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1975-04-10", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"The Longest Yard\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Film Editing\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1975-04-10\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How is Fort Worth, composed by David Buttolph, related to Texas, location of the administrative division Denton County?", "choices": ["narrative location", "production company", "home venue", "has part", "organisation directed from the office or person", "copyright representative", "product or material produced", "film editor", "member of political party", "interests"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Buttolph"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fort Worth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Denton County"]}, {"function": "Relate", "dependencies": [4], "inputs": ["contains administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Texas"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Fort Worth\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"David Buttolph\" . ?e_2 <pred:name> \"Texas\" . ?e_2 <contains_administrative_territorial_entity> ?e_4 . ?e_4 <pred:name> \"Denton County\" . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "What is the connection between reggaeton to Wyclef Jean?", "choices": ["commissioned by", "voice type", "office held by head of government", "record label", "shares border with", "famous people", "publisher", "original language of film or TV show", "model item", "location of final assembly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["reggaeton"]}, {"function": "Find", "dependencies": [], "inputs": ["Wyclef Jean"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"reggaeton\" . ?e_2 <pred:name> \"Wyclef Jean\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "Where was the visual artwork, whose official website is  http://www.miramax.com/movie/scream-iii, published on 22nd June 2000 ?", "choices": ["Lebanon", "Italy", "Norway", "Toronto International Film Festival", "Russia", "Washington, D.C.", "Germany", "Rio de Janeiro", "Ukraine", "Malaysia"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.miramax.com/movie/scream-iii"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2000-06-22", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.miramax.com/movie/scream-iii\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2000-06-22\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What person is a performer in GoldenEye whose composer is Bono?", "choices": ["Steven Spielberg", "Eli Roth", "Sylvester Stallone", "Max Fleischer", "David Byrne", "Rahul Dev Burman", "James Mason", "Richard Gere", "Tina Turner", "Simon Cowell"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bono"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["GoldenEye"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["performer", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <performer> ?e . ?e_1 <pred:name> \"GoldenEye\" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> \"Bono\" .   }", "answer": "Tina Turner"}, {"question": "Which person has Libris-URI gdsvw2l03gnlq6f and has the native language name of Andrew Jackson?", "choices": ["James E. Reilly", "William Henry Harrison", "Simon Cowell", "Andrew Jackson", "Max Fleischer", "David Byrne", "Paul Simon", "Babyface", "Sylvester Stallone", "Richard Gere"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "gdsvw2l03gnlq6f"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["name in native language", "Andrew Jackson"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"gdsvw2l03gnlq6f\" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> \"Andrew Jackson\" .  }", "answer": "Andrew Jackson"}, {"question": "At what time point is the MTV Video Music Award for Best Rock Video won by AFI?", "choices": ["1959", "2011-02-02", "2002-04-01", "2005-05-18", "1968", "2015-10-31", "2006", "2014-05-08", "1832-12-01", "1955-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Rock Video"]}, {"function": "Find", "dependencies": [], "inputs": ["AFI"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best Rock Video\" . ?e_2 <pred:name> \"AFI\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "How many Italian regions are the source of Servette FC name?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Servette FC"]}, {"function": "Relate", "dependencies": [0], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <named_after> ?e . ?e_1 <pred:name> \"Servette FC\" .   }", "answer": "0"}, {"question": "Does Normandy (the one whose population is 3293092) or Corsica (the one whose official name is Collectivit\u00e9 de Corse) have the greater area?", "choices": ["Corsica", "Dischord Records", "Jason Schwartzman", "University of Cape Town", "activism", "Normandy", "Martinique", "Brittany", "Jonathan Forte", "Minnesota Twins"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Normandy"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3293092", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Corsica"]}, {"function": "FilterStr", "dependencies": [2], "inputs": ["official name", "Collectivit\u00e9 de Corse"]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Normandy\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"3293092\"^^xsd:double . } UNION { ?e <pred:name> \"Corsica\" . ?e <official_name> ?pv_2 . ?pv_2 <pred:value> \"Collectivit\u00e9 de Corse\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Normandy"}, {"question": "How many record labels are there whose official website is http://www.ninjatune.net and founder is Lil Wayne.", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.ninjatune.net"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["record label"]}, {"function": "Find", "dependencies": [], "inputs": ["Lil Wayne"]}, {"function": "Relate", "dependencies": [3], "inputs": ["found", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["record label"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"record label\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ninjatune.net\" . ?e_1 <found> ?e . ?e_1 <pred:name> \"Lil Wayne\" .  }", "answer": "0"}, {"question": "Which is longer, Ramones at 1744 seconds or Quadrophenia at 4896 seconds?", "choices": ["The B-52's", "Luis Miguel", "Flight of the Conchords", "Toni Braxton", "Quadrophenia", "Dynasty", "Bon Jovi", "Hollywood", "Roots", "Ramones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ramones"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "1744 second", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Quadrophenia"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["duration", "4896 second", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ramones\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"second\" . ?pv_1 <pred:value> \"1744\"^^xsd:double . } UNION { ?e <pred:name> \"Quadrophenia\" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> \"second\" . ?pv_2 <pred:value> \"4896\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Quadrophenia"}, {"question": "What is the professional role of Clint Eastwood, who directed Space Cowboys?", "choices": ["provost", "dean", "songwriter", "character actor", "bishop", "soldier", "director general", "actor", "Holy Roman Emperor", "film producer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Space Cowboys"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Clint Eastwood"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["occupation", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["position"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"position\" . ?e_1 <occupation> ?e . ?e_1 <pred:name> \"Clint Eastwood\" . ?e_2 <director> ?e_1 . ?e_2 <pred:name> \"Space Cowboys\" .   }", "answer": "soldier"}, {"question": "How many language families exists whose WALS lect code is kug or it is the native language of Lucy Liu?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["WALS lect code", "kug"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["language family"]}, {"function": "Find", "dependencies": [], "inputs": ["Lucy Liu"]}, {"function": "Relate", "dependencies": [3], "inputs": ["native language", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language family"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language family\" .  { ?e <WALS_lect_code> ?pv . ?pv <pred:value> \"kug\" .  } UNION { ?e_1 <native_language> ?e . ?e_1 <pred:name> \"Lucy Liu\" .  } }", "answer": "1"}, {"question": "What is the connection between Traffic (the one that has Dennis Quaid as a cast member) to Clifton Collins?", "choices": ["airline hub", "part of", "educated at", "official color", "office held by head of state", "owned by", "member of", "parent club", "chairperson", "cast member"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dennis Quaid"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Traffic"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Clifton Collins"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Traffic\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Dennis Quaid\" . ?e_2 <pred:name> \"Clifton Collins\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Which place covers a larger area, Saskatchewan which has a short name of Sask., or Newfoundland and Labrador?", "choices": ["Quebec", "Ontario", "Alberta", "New Brunswick", "British Columbia", "Manitoba", "Saskatchewan", "Prince Edward Island", "Nova Scotia", "Newfoundland and Labrador"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Newfoundland and Labrador"]}, {"function": "Find", "dependencies": [], "inputs": ["Saskatchewan"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["short name", "Sask."]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Newfoundland and Labrador\" . } UNION { ?e <pred:name> \"Saskatchewan\" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> \"Sask.\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Saskatchewan"}, {"question": "Which person's Instagram username is joshgroban?", "choices": ["Josh Groban", "Alyssa Milano", "Max Fleischer", "Jackie Robinson", "Alice Cooper", "Tony Thomas", "Anthony Quinn", "Sylvester Stallone", "Ed Begley, Jr.", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "joshgroban"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"joshgroban\" .  }", "answer": "Josh Groban"}, {"question": "What is the connection between Taken (the one that contains Taken 2) to English?", "choices": ["librettist", "officially opened by", "noble title", "location of formation", "filmography", "location", "original language of film or TV show", "collection", "designed by", "academic degree"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Taken 2"]}, {"function": "Relate", "dependencies": [0], "inputs": ["part of the series", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Taken"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Taken\" . ?e_3 <part_of_the_series> ?e_1 . ?e_3 <pred:name> \"Taken 2\" . ?e_2 <pred:name> \"English\" . ?e_1 ?p ?e_2 .  }", "answer": "original language of film or TV show"}, {"question": "What is Channing Tatum's ISNI?", "choices": ["0000 0004 0460 1946", "0000 0001 1479 0769", "0000 0001 2296 8213", "0000 0001 0861 7644", "0000 0004 0507 1596", "0000 0001 1480 4323", "0000 0001 2097 3481", "0000 0001 1091 6387", "0000 0001 1439 9946", "0000 0000 5941 8808"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Channing Tatum"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Channing Tatum\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 5941 8808"}, {"question": "The Andes is related in what way to Peru?", "choices": ["copyright holder", "subsidiary", "country", "significant event", "basin country", "manner of death", "military casualty classification", "basic form of government", "official color", "collection"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Andes"]}, {"function": "Find", "dependencies": [], "inputs": ["Peru"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Andes\" . ?e_2 <pred:name> \"Peru\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which rock band's Twitter handle, sparksofficial, has 12,550 followers?", "choices": ["Camel", "Marilyn Manson", "Jethro Tull", "Santana", "Sparks", "New Order", "Gong", "Sp\u0131n\u0308al Tap", "Kings of Leon", "Journey"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "sparksofficial"]}, {"function": "QFilterNum", "dependencies": [1], "inputs": ["number of subscribers", "12550", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["rock band"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"rock band\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"sparksofficial\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> \"1\" . ?qpv <pred:value> \"12550\"^^xsd:double .  }", "answer": "Sparks"}, {"question": "Is the area greater for San Mateo County or San Bernardino County?", "choices": ["San Mateo County", "Butte County", "San Luis Obispo County", "Tuolumne County", "San Diego County", "Solano County", "Mariposa County", "Contra Costa County", "San Bernardino County", "Alameda County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Mateo County"]}, {"function": "Find", "dependencies": [], "inputs": ["San Bernardino County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"San Mateo County\" .  } UNION { ?e <pred:name> \"San Bernardino County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Bernardino County"}, {"question": "What unitary state is the country of 2009 Tour De France ?", "choices": ["Finland", "Switzerland", "France", "Cuba", "Liechtenstein", "Sweden", "Monaco", "Malta", "Lithuania", "Italy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2009 Tour de France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"2009 Tour de France\" .   }", "answer": "Monaco"}, {"question": "What is the ISNI of the Oregon county that is 4867 square kilometres?", "choices": ["0000 0000 8161 2084", "0000 0001 1507 2654", "0000 0001 2158 5974", "0000 0003 6847 6171", "0000 0004 0480 871X", "0000 0000 7829 0387", "0000 0004 1936 9721", "0000 0001 0983 4464", "0000 0003 5606 0339", "0000 0000 7837 7925"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "4867 square kilometre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Oregon"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Oregon\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square kilometre\" . ?pv_1 <pred:value> \"4867\"^^xsd:double . ?e <ISNI> ?pv .  }", "answer": "0000 0004 0480 871X"}, {"question": "Which video game console model that sold over 15000000 units had the lowest unit sales?", "choices": ["Wii", "Nintendo Entertainment System", "Malibu", "Friends", "Xbox 360", "PlayStation 3", "Richard Wagner", "National Football League Most Valuable Player Award", "Burnaby", "PlayStation 2"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["units sold", "15000000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game console model"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["units sold", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game console model\" . ?e <units_sold> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"15000000\"^^xsd:double ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Nintendo Entertainment System"}, {"question": "Chaplin the title of which movie?", "choices": ["Talk to Her", "Monte Carlo", "A Prairie Home Companion", "Animal House", "Lady in the Water", "Rebecca", "Pleasantville", "The Challenge", "Chaplin", "Hud"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Chaplin"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Chaplin\" .  }", "answer": "Chaplin"}, {"question": "How are Finland and Sophie's Choice related?", "choices": ["home venue", "replaces", "film release region", "headquarters location", "country of origin", "manufacturer", "child astronomical body", "educated at", "head of state", "publisher"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sophie's Choice"]}, {"function": "Find", "dependencies": [], "inputs": ["Finland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Sophie's Choice\" . ?e_2 <pred:name> \"Finland\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Where was a movie, the official website http://www.godsandmonsters.net, published on 4th November 1998?", "choices": ["Greek Theatre, Los Angeles", "Japan", "Croatia", "United States of America", "United Kingdom", "Ireland", "Netherlands", "Taiwan", "Italy", "Brazil"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.godsandmonsters.net/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1998-11-04", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.godsandmonsters.net/\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1998-11-04\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the connection between Halloween (the one that has Danny Trejo as a cast member) to Malcolm McDowell?", "choices": ["legislative body", "sports season of league or competition", "model item", "award disciplines or subjects", "cast member", "continent", "manner of death", "named after", "worshipped by", "designated as terrorist by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danny Trejo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Halloween"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Malcolm McDowell"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Halloween\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Danny Trejo\" . ?e_2 <pred:name> \"Malcolm McDowell\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "Where was Alice in Wonderland starring Crispin Glover published on 2010-03-05?", "choices": ["Australia", "German Democratic Republic", "United States of America", "Kuwait", "2004 Cannes Film Festival", "Toronto", "John F. Kennedy Center for the Performing Arts", "Estonia", "2005 Cannes Film Festival", "Slovenia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crispin Glover"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2010-03-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Alice in Wonderland\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Crispin Glover\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2010-03-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the number of film genres that have IAB code of 337 and that come from the United Kingdom?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IAB code", "337"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film genre"]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [3], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film genre"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film genre\" . ?e <IAB_code> ?pv . ?pv <pred:value> \"337\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  }", "answer": "0"}, {"question": "Are there more episodes of the soap opera Somerset or of The Biggest Loser?", "choices": ["The Biggest Loser", "Game of Thrones", "American Horror Story", "Six Feet Under", "Robot Chicken", "Bleak House", "Seinfeld", "Dancing with the Stars", "Somerset", "Saturday Night's Main Event"], "program": [{"function": "Find", "dependencies": [], "inputs": ["soap opera"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Biggest Loser"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["number of episodes", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Somerset\" . ?e <genre> ?e_1 . ?e_1 <pred:name> \"soap opera\" .   } UNION { ?e <pred:name> \"The Biggest Loser\" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Somerset"}, {"question": "Tell me the inception time of the association football club that has the headquarter location Modena.", "choices": ["1839-01-01", "1912", "1769-07-16", "1879-11-10", "1812-12-18", "1892-01-01", "1856-03-01", "1549", "1916-08-25", "1794-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Modena"]}, {"function": "Relate", "dependencies": [0], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> \"Modena\" .  ?e <inception> ?pv .  }", "answer": "1912"}, {"question": "Which movie is longer, Charmed (the one whose official website is https://cwtv.com/shows/charmed) or Alice in Wonderland (the one whose duration is 129 minute)?", "choices": ["The Ten Commandments", "Alice in Wonderland", "The Civil War", "Battlestar Galactica", "Edge of Darkness", "The Diary of Anne Frank", "The Stand", "The Pacific", "George Washington", "Roots"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charmed"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://cwtv.com/shows/charmed"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["duration", "129 minute", "="]}, {"function": "SelectBetween", "dependencies": [1, 3], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charmed\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"https://cwtv.com/shows/charmed\" . } UNION { ?e <pred:name> \"Alice in Wonderland\" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> \"minute\" . ?pv_2 <pred:value> \"129\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Alice in Wonderland"}, {"question": "Which human is a cast member of the film produced by John Woo?", "choices": ["Tracy Chapman", "Tyrese Gibson", "Robert Young", "Aya Hisakawa", "Albert S. D'Agostino", "Missy Elliott", "Liv Ullmann", "Miyuki Sawashiro", "Malcolm Arnold", "Shaquille O'Neal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Woo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["cast member", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"film\" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> \"John Woo\" .   }", "answer": "Miyuki Sawashiro"}, {"question": "Is http://www.diwan.gov.qa/ the official website of the Hollywood Walk of Fame?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hollywood Walk of Fame"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["http://www.diwan.gov.qa/"]}], "sparql": "ASK { ?e <pred:name> \"Hollywood Walk of Fame\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.diwan.gov.qa/\" .  }", "answer": "no"}, {"question": "What higher education institution is the place where Jon Favreau, the member of Democratic Party, used to study or studies ?", "choices": ["University of Northern Colorado", "Imperial College London", "Georgia Institute of Technology", "College of the Holy Cross", "Queens College", "Edmund A. Walsh School of Foreign Service", "McNeese State University", "University of Alabama", "University of Manchester", "University at Buffalo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Democratic Party"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of political party", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jon Favreau"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["higher education institution"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Jon Favreau\" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> \"Democratic Party\" .   }", "answer": "College of the Holy Cross"}, {"question": "what is the number of guitars whose famous people is the person whose name in native language is Roger Taylor", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["name in native language", "Roger Taylor"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["guitar"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"guitar\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> \"Roger Taylor\" .   }", "answer": "2"}, {"question": "Is the smaller area occupied by New York, location of Chautauqua County, or by Ohio?", "choices": ["Iowa", "Massachusetts", "Hawaii", "California", "Illinois", "Ohio", "New Jersey", "New Mexico", "Colorado", "Florida"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chautauqua County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New York"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"New York\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Chautauqua County\" .   } UNION { ?e <pred:name> \"Ohio\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ohio"}, {"question": "Which has more people, Hubei or Shandong?", "choices": ["Shaanxi", "Zhejiang", "Hubei", "Liaoning", "Shandong", "Yunnan", "Jiangsu", "Anhui", "Guangdong", "Fujian"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hubei"]}, {"function": "Find", "dependencies": [], "inputs": ["Shandong"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Hubei\" .  } UNION { ?e <pred:name> \"Shandong\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Shandong"}, {"question": "How is the Pyrenees related to Spain?", "choices": ["country", "currency", "collection", "feast day", "military branch", "art director", "sidekick of", "has contributing factor", "director/manager", "located in or next to body of water"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pyrenees"]}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Pyrenees\" . ?e_2 <pred:name> \"Spain\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the publication date for the film series who has the director Peter Farrelly?", "choices": ["2004-05-28", "1997-01-01", "2002-05-15", "2005-03-24", "1994", "2010-06-17", "2016-03-10", "1995-04-06", "1995-08-24", "2002-06-27"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Farrelly"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film series\" . ?e <director> ?e_1 . ?e_1 <pred:name> \"Peter Farrelly\" .  ?e <publication_date> ?pv .  }", "answer": "1994"}, {"question": "is the Twitter username equal to cwru for Wilmer Valderrama?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wilmer Valderrama"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["cwru"]}], "sparql": "ASK { ?e <pred:name> \"Wilmer Valderrama\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"cwru\" .  }", "answer": "no"}, {"question": "How is Frank Capra related to the Republican Party?", "choices": ["separated from", "office contested", "art director", "manufacturer", "given name", "member of political party", "parent astronomical body", "symptoms", "broadcast by", "copyright holder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Capra"]}, {"function": "Find", "dependencies": [], "inputs": ["Republican Party"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Capra\" . ?e_2 <pred:name> \"Republican Party\" . ?e_1 ?p ?e_2 .  }", "answer": "member of political party"}, {"question": "What is the connection between West Side Story (that uses the English language) and Leonard Bernstein?", "choices": ["stated in", "place of death", "given name", "twinned administrative body", "tributary", "public holiday", "composer", "political alignment", "has contributing factor", "chief executive officer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["West Side Story"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Leonard Bernstein"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"West Side Story\" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> \"English\" . ?e_2 <pred:name> \"Leonard Bernstein\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Which occupies the smaller area: Somerset County that borders Penobscot County, or Oxford County?", "choices": ["Washington County", "Penobscot County", "Oxford County", "Hancock County", "Kennebec County", "Aroostook County", "York County", "Cumberland County", "Somerset County", "Franklin County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Penobscot County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Somerset County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Oxford County"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Somerset County\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Penobscot County\" .   } UNION { ?e <pred:name> \"Oxford County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Oxford County"}, {"question": "Which Alabama county whose population is not 5200000 has the smallest area?", "choices": ["Shelby County", "Jefferson County", "Madison County", "Mobile County", "Jackson County", "Baldwin County", "Monroe County", "Dallas County", "Washington County", "Montgomery County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5200000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Alabama"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Alabama\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"5200000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Montgomery County"}, {"question": "Which one is lighter, Ronaldo Lu\u00eds Naz\u00e1rio de Lima or Venus Williams ?", "choices": ["Simon Cowell", "William Henry Harrison", "Max Fleischer", "Venus Williams", "Rahul Dev Burman", "James E. Reilly", "Richard Gere", "Ronaldo", "David Byrne", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ronaldo"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Ronaldo Lu\u00eds Naz\u00e1rio de Lima"]}, {"function": "Find", "dependencies": [], "inputs": ["Venus Williams"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ronaldo\" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> \"Ronaldo Lu\u00eds Naz\u00e1rio de Lima\" . } UNION { ?e <pred:name> \"Venus Williams\" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Venus Williams"}, {"question": "John Updike was nominated for a PEN/Faulkner Award for Fiction for which work?", "choices": ["Tweetie Pie", "Florence Foster Jenkins", "Superbabies: Baby Geniuses 2", "Obsession", "Hallelujah!", "Beloved", "Dodsworth", "The Early Stories: 1953\u20131975", "Buffalo Gals, Won't You Come Out Tonight", "La Vie en Rose"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Updike"]}, {"function": "Find", "dependencies": [], "inputs": ["PEN/Faulkner Award for Fiction"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "for work"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"John Updike\" . ?e_2 <pred:name> \"PEN/Faulkner Award for Fiction\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }", "answer": "The Early Stories: 1953\u20131975"}, {"question": "Which language is used on the website of Johns Hopkins University at http://www.jhu.edu?", "choices": ["Irish", "Austrian German", "Chinese", "French", "J\u00e8rriais", "Danish", "Australian English", "Welsh", "English", "Atikamekw"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johns Hopkins University"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official website", "http://www.jhu.edu", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Johns Hopkins University\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.jhu.edu\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the relationship between Australia (originator of Space Cowboys) and the Lion King (release region Poland)?", "choices": ["occupant", "registered with", "board member", "owned by", "place served by transport hub", "time period", "start point", "musical conductor", "film release region", "connects with"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Poland"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lion King"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Space Cowboys"]}, {"function": "Relate", "dependencies": [4], "inputs": ["country of origin", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Lion King\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Poland\" . ?e_2 <pred:name> \"Australia\" . ?e_4 <country_of_origin> ?e_2 . ?e_4 <pred:name> \"Space Cowboys\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Who has fewer children, Mandy Patinkin or CeeLo Green?", "choices": ["Paul Simon", "Sylvester Stallone", "Simon Cowell", "James E. Reilly", "Rahul Dev Burman", "CeeLo Green", "David Byrne", "Max Fleischer", "Mandy Patinkin", "Richard Gere"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mandy Patinkin"]}, {"function": "Find", "dependencies": [], "inputs": ["CeeLo Green"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mandy Patinkin\" .  } UNION { ?e <pred:name> \"CeeLo Green\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "CeeLo Green"}, {"question": "How is Brave (the one that has Emma Thompson as a voice actor) related to Spain ?", "choices": ["based on", "approved by", "founded by", "political alignment", "diaspora", "capital of", "film release region", "has cause", "works in collection", "feast day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emma Thompson"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brave"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Spain"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Brave\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Emma Thompson\" . ?e_2 <pred:name> \"Spain\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "Which one is longer in terms of duration, The Texas Chainsaw Massacre or Gone Baby Gone?", "choices": ["A Prairie Home Companion", "Pleasantville", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Talk to Her", "The Towering Inferno", "Training Day", "The Fifth Element", "Rebecca", "Gone Baby Gone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Texas Chainsaw Massacre"]}, {"function": "Find", "dependencies": [], "inputs": ["Gone Baby Gone"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Texas Chainsaw Massacre\" .  } UNION { ?e <pred:name> \"Gone Baby Gone\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gone Baby Gone"}, {"question": "Which area is larger, Livingston (the one whose official website is http://www.livingstonnj.org/) or Princeton?", "choices": ["Belleville", "Wexford", "Whanganui", "Verona", "Livingston", "Princeton", "West Orange", "Montclair", "Red Bank", "Ridgewood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Livingston"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.livingstonnj.org/"]}, {"function": "Find", "dependencies": [], "inputs": ["Princeton"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Livingston\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.livingstonnj.org/\" . } UNION { ?e <pred:name> \"Princeton\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Princeton"}, {"question": "Which area is larger, Lehigh County or Cambria County?", "choices": ["Cumberland County", "Franklin County", "Erie County", "Westmoreland County", "Lehigh County", "Fayette County", "Allegheny County", "Bucks County", "Cambria County", "York County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lehigh County"]}, {"function": "Find", "dependencies": [], "inputs": ["Cambria County"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Lehigh County\" .  } UNION { ?e <pred:name> \"Cambria County\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Cambria County"}, {"question": "What is the Twitter username of the association football club which features Didier Six as a member (the end time of this statement is 1978-01-01)?", "choices": ["iamkelis", "Venuseswilliams", "Lisa_Gerrard", "skbrann", "pinellasconews", "Diddy", "SusanSarandon", "RCLens", "ABSCBN", "telavivuni1"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Didier Six"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterDate", "dependencies": [1], "inputs": ["end time", "1978-01-01", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Didier Six\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> \"1978-01-01\"^^xsd:date . ?e <Twitter_username> ?pv .  }", "answer": "RCLens"}, {"question": "Which has more people, Corpus Christi or Coral Gables?", "choices": ["Oakland", "Lansing", "Columbus", "Greenville", "Waukegan", "New Haven", "Corpus Christi", "Coral Gables", "Franklin", "Boulder"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Corpus Christi"]}, {"function": "Find", "dependencies": [], "inputs": ["Coral Gables"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Corpus Christi\" .  } UNION { ?e <pred:name> \"Coral Gables\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Corpus Christi"}, {"question": "What is the Twitter username of Toronto FC?", "choices": ["uppsalauni", "torontofc", "jumblejim", "koebenhavns_uni", "elizbethperkins", "FCBayernEN", "clydefc", "ElizabethMcGov", "UBuffalo", "officialcufc"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toronto FC"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Toronto FC\" . ?e <Twitter_username> ?pv .  }", "answer": "torontofc"}, {"question": "How is the AIA Gold Medal connected to Norman Foster, recipient of the Royal Gold Medal?", "choices": ["distribution", "item operated", "hair color", "newspaper format", "participant of", "league", "creator", "winner", "manufacturer", "contributor(s) to the creative work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["AIA Gold Medal"]}, {"function": "Find", "dependencies": [], "inputs": ["Royal Gold Medal"]}, {"function": "Relate", "dependencies": [1], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Norman Foster"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"AIA Gold Medal\" . ?e_2 <pred:name> \"Norman Foster\" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> \"Royal Gold Medal\" . ?e_1 ?p ?e_2 .  }", "answer": "winner"}, {"question": "How many seasons had the television series where Lena Olin was a cast member?", "choices": ["29", "25", "66", "11", "12", "17", "21", "41", "5", "26"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lena Olin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of seasons"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Lena Olin\" .  ?e <number_of_seasons> ?pv .  }", "answer": "5"}, {"question": "What association football club is headquartered in a city whose dialing code is 049 ?", "choices": ["RC Strasbourg", "Feyenoord", "Bath City F.C.", "University of Padua", "Ittihad FC", "Calcio Padova", "Leyton Orient F.C.", "PFC Cherno More Varna", "Southend United F.C.", "FC Bayern Munich"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "049"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["headquarters location", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["association football club"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> \"049\" .   }", "answer": "Calcio Padova"}, {"question": "What is the number of television series episodes that are a part of the TV series titled How I Met Your Mother?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "How I Met Your Mother"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "Relate", "dependencies": [2], "inputs": ["part of the series", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["television series episode"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series episode\" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"television series\" . ?e_1 <title> ?pv . ?pv <pred:value> \"How I Met Your Mother\" .   }", "answer": "3"}, {"question": "What literary genre studies literature?", "choices": ["Superman", "Watchmen", "medical novel", "adventure novel", "To Kill a Mockingbird", "The Scarlet Letter", "literary criticism", "comedy", "horror literature", "The Amazing Spider-Man"], "program": [{"function": "Find", "dependencies": [], "inputs": ["literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["studied by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary genre"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary genre\" . ?e_1 <studied_by> ?e . ?e_1 <pred:name> \"literature\" .   }", "answer": "literary criticism"}, {"question": "What does the director who was named Joseph Hill Whedon at birth have in terms of visual artwork?", "choices": ["Red State", "The Office", "Angel", "The Lovely Bones", "Rocky Balboa", "Sunday, Bloody Sunday", "The Aristocrats", "The Bodyguard", "The Avengers", "The Sweet Hereafter"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Joseph Hill Whedon"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <director> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <birth_name> ?pv . ?pv <pred:value> \"Joseph Hill Whedon\" .   }", "answer": "The Avengers"}, {"question": "How many unitary governments are a topic that includes Macedonia or are located in EET?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Macedonia"]}, {"function": "Relate", "dependencies": [0], "inputs": ["facet of", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "Find", "dependencies": [], "inputs": ["Eastern European Time"]}, {"function": "Relate", "dependencies": [3], "inputs": ["located in time zone", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["unitary state"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" .  { ?e_1 <facet_of> ?e . ?e_1 <pred:name> \"Macedonia\" .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> \"Eastern European Time\" .  } }", "answer": "4"}, {"question": "Which one has more children between C\u00e9line Dion and Arnold Schwarzenegger?", "choices": ["Paul Simon", "James E. Reilly", "William Henry Harrison", "Richard Gere", "Simon Cowell", "Sylvester Stallone", "Arnold Schwarzenegger", "David Byrne", "Rahul Dev Burman", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["C\u00e9line Dion"]}, {"function": "Find", "dependencies": [], "inputs": ["Arnold Schwarzenegger"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"C\u00e9line Dion\" .  } UNION { ?e <pred:name> \"Arnold Schwarzenegger\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Arnold Schwarzenegger"}, {"question": "Which Academy Awards ceremony did Women in Love (whose genre is film based on literature) receive an award in?", "choices": ["62nd Academy Awards", "64th Academy Awards", "Academy Award for Best Actress", "28th Golden Globe Awards", "48th Academy Awards", "43rd Academy Awards", "65th Academy Awards", "81st Academy Awards", "85th Academy Awards", "23rd Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["film based on literature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Women in Love"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["award received", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["Academy Awards ceremony"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards ceremony\" . ?e_1 <award_received> ?e . ?e_1 <pred:name> \"Women in Love\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"film based on literature\" .   }", "answer": "43rd Academy Awards"}, {"question": "How is the 104th US Congress linked to Nancy Pelosi?", "choices": ["permanent resident of", "participant", "medical condition", "hair color", "costume designer", "collection", "office held by head of government", "production company", "soundtrack album", "parent club"], "program": [{"function": "Find", "dependencies": [], "inputs": ["104th United States Congress"]}, {"function": "Find", "dependencies": [], "inputs": ["Nancy Pelosi"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"104th United States Congress\" . ?e_2 <pred:name> \"Nancy Pelosi\" . ?e_1 ?p ?e_2 .  }", "answer": "participant"}, {"question": "Where was a visual artwork, that is the predecessor of Platoon (winner of Academy Award for Best Film Editing), published on 13th March 1986 ?", "choices": ["Grauman's Chinese Theatre", "Park City", "BFI London Film Festival", "Cannes Film Festival", "Kingdom of the Netherlands", "New Amsterdam Theatre", "Hollywood Bowl", "Netherlands", "Germany", "Spain"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Film Editing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Platoon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["publication date", "1986-03-13", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"Platoon\" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> \"Academy Award for Best Film Editing\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1986-03-13\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What film is titled Scary Movie 4?", "choices": ["Rebecca", "Scary Movie 4", "The Good, the Bad, the Weird", "Talk to Her", "Spartacus", "Tom Jones", "A Prairie Home Companion", "Alexander", "The Losers", "Pleasantville"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Scary Movie 4"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv . ?pv <pred:value> \"Scary Movie 4\" .  }", "answer": "Scary Movie 4"}, {"question": "What is the title of the television film whose publication date is 2004-11-28 and release territory is in the United Stated of America?", "choices": ["A Christmas Carol", "The Three Musketeers", "Grimsby", "Girl, Interrupted", "\u5341\u4e09\u4eba\u306e\u523a\u5ba2", "Why We Fight", "Ghost Rider", "Reno", "The Muppet Movie", "Collateral"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2004-11-28", "="]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["place of publication", "United States of America"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"2004-11-28\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv_1 ] <place_of_publication> ?qpv . ?qpv <pred:value> \"United States of America\" . ?e <title> ?pv .  }", "answer": "A Christmas Carol"}, {"question": "Which organization's official website is http://www.forbes.com/ (the language of this statement is English)?", "choices": ["BBC", "Target Corporation", "Pfizer", "McDonald's", "Cisco Systems", "Forbes", "Hamburger SV", "General Growth Properties", "NBCUniversal", "E. W. Scripps Company"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.forbes.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["organization"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.forbes.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Forbes"}, {"question": "Does the work titled Oliver Twist; or, The Parish Boy's Progress conclude with the sentence: But, in spite of these deficiencies, the wishes, the hopes, the confidence, the predictions of the small band of true friends who witnessed the ceremony, were fully answered in the perfect happiness of the union.", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oliver Twist"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Oliver Twist; or, The Parish Boy's Progress"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["last line"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["But, in spite of these deficiencies, the wishes, the hopes, the confidence, the predictions of the small band of true friends who witnessed the ceremony, were fully answered in the perfect happiness of the union."]}], "sparql": "ASK { ?e <pred:name> \"Oliver Twist\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Oliver Twist; or, The Parish Boy's Progress\" . ?e <last_line> ?pv . ?pv <pred:value> \"But, in spite of these deficiencies, the wishes, the hopes, the confidence, the predictions of the small band of true friends who witnessed the ceremony, were fully answered in the perfect happiness of the union.\" .  }", "answer": "no"}, {"question": "What is the relationship between Nord and Somme?", "choices": ["terminus", "film regional debut venue", "dissertation submitted to", "place of origin (Switzerland)", "shares border with", "interests", "manufacturer", "coextensive with", "military branch", "discoverer or inventor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nord"]}, {"function": "Find", "dependencies": [], "inputs": ["Somme"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nord\" . ?e_2 <pred:name> \"Somme\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which association football club is related to the sport of association football and has the official Italian language website http://www.pescaracalcio.com?", "choices": ["Brisbane Roar FC", "Hibernian F.C.", "Preston North End F.C.", "Zamalek SC", "ACF Fiorentina", "Delfino Pescara 1936", "Racing Club de Avellaneda", "Middlesbrough F.C.", "Roda JC Kerkrade", "Boca Juniors"], "program": [{"function": "Find", "dependencies": [], "inputs": ["association football"]}, {"function": "Relate", "dependencies": [0], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.pescaracalcio.com"]}, {"function": "QFilterStr", "dependencies": [4], "inputs": ["language of work or name", "Italian"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "And", "dependencies": [2, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <sport> ?e_1 . ?e_1 <pred:name> \"association football\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.pescaracalcio.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"Italian\" .  }", "answer": "Delfino Pescara 1936"}, {"question": "For the state that is the country of Bulgaria national football team and that has demonym of \u0431\u044a\u0300\u043b\u0433\u0430\u0440\u0438, what part does it apply to?", "choices": ["French Polynesia", "Williamson County", "Torchwood, season 3", "president", "Washington County", "header file", "plural", "Morgan County", "open data", "choir"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bulgaria national football team"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "\u0431\u044a\u0300\u043b\u0433\u0430\u0440\u0438", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e_1 <country> ?e . ?e_1 <pred:name> \"Bulgaria national football team\" .  ?e <demonym> ?pv . ?pv <pred:value> \"\u0431\u044a\u0300\u043b\u0433\u0430\u0440\u0438\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "plural"}, {"question": "Who is the author of Anna Karenina (whose narrative location is Saint Petersburg) that is based on Anna Karenina whose OCLC control number is 220005468?", "choices": ["0.00589", "Star Trek \u2165: The Undiscovered Country", "Leo Tolstoy", "Department of Statistics Singapore", "J. G. Ballard", "Cormac McCarthy", "J. K. Rowling", "Jack Kerouac", "Frank Herbert", "Ian McEwan"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saint Petersburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["narrative location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Anna Karenina"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["OCLC control number", "220005468"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 5], "inputs": ["based on", "author"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Anna Karenina\" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> \"Saint Petersburg\" . ?e_2 <pred:name> \"Anna Karenina\" . ?e_2 <OCLC_control_number> ?pv . ?pv <pred:value> \"220005468\" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }", "answer": "Leo Tolstoy"}, {"question": "What part of New York City has the smallest population (less than 420000000)?", "choices": ["Glens Falls", "Ithaca", "Auburn", "Elmira", "Glen Cove", "Syracuse", "Utica", "Yonkers", "Binghamton", "Schenectady"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "420000000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of New York"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["population", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"420000000\"^^xsd:double ) . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Glens Falls"}, {"question": "How many musical compositions are different from ballet (that is the main topic of Mao's Last Dancer) and have the ISWC T-903.593.695-9?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mao's Last Dancer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["ballet"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["musical composition"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [6], "inputs": ["ISWC", "T-903.593.695-9"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["musical composition"]}, {"function": "And", "dependencies": [5, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"musical composition\" . ?e <different_from> ?e_1 . ?e_1 <pred:name> \"ballet\" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> \"Mao's Last Dancer\" .  ?e <ISWC> ?pv . ?pv <pred:value> \"T-903.593.695-9\" .  }", "answer": "0"}, {"question": "180 grams per mole is the weight of how many medications?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["mass", "180 gram per mole", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e <mass> ?pv . ?pv <pred:unit> \"gram per mole\" . ?pv <pred:value> \"180\"^^xsd:double .  }", "answer": "0"}, {"question": "What is the connection between Man on the Moon to David Letterman?", "choices": ["relative", "composer", "board member", "head of state", "home port", "place of death", "editor", "cast member", "place of burial", "designated as terrorist by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Man on the Moon"]}, {"function": "Find", "dependencies": [], "inputs": ["David Letterman"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Man on the Moon\" . ?e_2 <pred:name> \"David Letterman\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many medications are either the opposite of antibiotic or have the oxidation state not equal to -5?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["oxidation state", "-5", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "Find", "dependencies": [], "inputs": ["antibiotic"]}, {"function": "Relate", "dependencies": [3], "inputs": ["opposite of", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["medication"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" .  { ?e <oxidation_state> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"-5\"^^xsd:double ) .  } UNION { ?e <opposite_of> ?e_1 . ?e_1 <pred:name> \"antibiotic\" .  } }", "answer": "2"}, {"question": "Tell me the number of Italian provinces that have an area of exactly 2300000 square foot or that have a zip code of 90010\u201390049", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "2300000 square foot", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["province of Italy"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["postal code", "90010\u201390049"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["province of Italy"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of Italy\" .  { ?e <area> ?pv . ?pv <pred:unit> \"square foot\" . ?pv <pred:value> \"2300000\"^^xsd:double .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> \"90010\u201390049\" .  } }", "answer": "1"}, {"question": "What is its postal code of the city of the United States whose official website is http://www.onelakewood.com/?", "choices": ["33100", "01003", "EH1-EH13", "70197", "WC1E 7HU", "44107", "86153", "28357", "69008", "07533"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.onelakewood.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.onelakewood.com/\" . ?e <postal_code> ?pv .  }", "answer": "44107"}, {"question": "How many Indiana counties have a population other than 3.8 or border Butler County, which occupies 1218 square km?", "choices": ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3.8", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Indiana"]}, {"function": "Find", "dependencies": [], "inputs": ["Butler County"]}, {"function": "FilterNum", "dependencies": [3], "inputs": ["area", "1218 square kilometre", "="]}, {"function": "Relate", "dependencies": [4], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["county of Indiana"]}, {"function": "Or", "dependencies": [2, 6], "inputs": []}, {"function": "Count", "dependencies": [7], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Indiana\" .  { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"3.8\"^^xsd:double ) .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Butler County\" . ?e_1 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"1218\"^^xsd:double .  } }", "answer": "13"}, {"question": "Tell me the relationship between Steve Howe (who is a USA citizen) and traffic collision", "choices": ["properties for this type", "writing system", "newspaper format", "designed by", "residence", "original language of film or TV show", "continent", "theme music", "official language", "cause of death"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Howe"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["traffic collision"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve Howe\" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"traffic collision\" . ?e_1 ?p ?e_2 .  }", "answer": "cause of death"}, {"question": "Which area is smaller, Rotorua or Johnson County (the one that is located in Iowa)?", "choices": ["Greene County", "Cass County", "Johnson County", "Kent County", "Rotorua", "San Juan County", "African Union", "Orange County", "Lee County", "Delaware County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rotorua"]}, {"function": "Find", "dependencies": [], "inputs": ["Iowa"]}, {"function": "Relate", "dependencies": [1], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Johnson County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Rotorua\" .  } UNION { ?e <pred:name> \"Johnson County\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Iowa\" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Johnson County"}, {"question": "Which has the most area among the states that use English?", "choices": ["Fiji", "Jamaica", "Finland", "Trinidad and Tobago", "Kosovo", "Grenada", "Antigua and Barbuda", "Papua New Guinea", "Malta", "Saint Vincent and the Grenadines"], "program": [{"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language used", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state\" . ?e <language_used> ?e_1 . ?e_1 <pred:name> \"English\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Papua New Guinea"}, {"question": "How many keyboard instruments either have a height of 85 mm or are associated with Richard Wright, who is known for jazz?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["height", "85 millimetre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["keyboard instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["jazz"]}, {"function": "Relate", "dependencies": [3], "inputs": ["famous people", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Richard Wright"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["keyboard instrument"]}, {"function": "Or", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"keyboard instrument\" .  { ?e <height> ?pv . ?pv <pred:unit> \"millimetre\" . ?pv <pred:value> \"85\"^^xsd:double .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Richard Wright\" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> \"jazz\" .  } }", "answer": "2"}, {"question": "Of all Arizona counties with a population different from 0.4, which is biggest in terms of area?", "choices": ["Yavapai County", "Navajo County", "Gila County", "Coconino County", "Mohave County", "Santa Cruz County", "Pinal County", "Apache County", "Maricopa County", "Cochise County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "0.4", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"0.4\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Coconino County"}, {"question": "Where was a movie, based on The A-Team (the one whose number of episodes is 98) published on 5th August 2010 ?", "choices": ["El Capitan Theatre", "2004 Cannes Film Festival", "Colombia", "South Africa", "Chicago", "Greece", "Hungary", "Tribeca Film Festival", "John F. Kennedy Center for the Performing Arts", "2005 Cannes Film Festival"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The A-Team"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of episodes", "98", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2010-08-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"The A-Team\" . ?e_1 <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"98\"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> \"2010-08-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Hungary"}, {"question": "What is the catalog code of  Into the Wild (the one whose publication date is 2007-11-05) which has the label of J Records?", "choices": ["Anthony_Stark_(Earth-616)", "22", "086", "88697-18240-2", "731", "Bruce_Banner_(Earth-616)", "149", "111", "66", "38"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Into the Wild"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "2007-11-05", "="]}, {"function": "Find", "dependencies": [], "inputs": ["J Records"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["record label", "catalog code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Into the Wild\" . ?e_1 <publication_date> ?pv . ?pv <pred:date> \"2007-11-05\"^^xsd:date . ?e_2 <pred:name> \"J Records\" . ?e_1 <record_label> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <record_label> ; <pred:fact_t> ?e_2 ] <catalog_code> ?qpv .  }", "answer": "88697-18240-2"}, {"question": "Which has more area, Dakar (population 1146053) or Charlottetown?", "choices": ["Charlottetown", "Cork", "Dundee", "Trieste", "Dakar", "Abidjan", "Bergen", "Chihuahua", "Kingston", "Santo Domingo"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Charlottetown"]}, {"function": "Find", "dependencies": [], "inputs": ["Dakar"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "1146053", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlottetown\" . } UNION { ?e <pred:name> \"Dakar\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1146053\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Dakar"}, {"question": "What is the start time for the association football club that has Wayne Dyer (the one that is a member of Birmingham City F.C.) as a member (the start time of this statement is 1997) and has the official name of Oxford United Football Club?", "choices": ["1949-04-13", "1863-07-06", "1992-02-11", "1947-08-27", "2005-10-27", "2002-02-25", "1997-03-04", "2019", "1960", "2016-07-22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Birmingham City F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wayne Dyer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [4], "inputs": ["start time", "1997", "="]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [6], "inputs": ["official name", "Oxford United Football Club", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Wayne Dyer\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Birmingham City F.C.\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1997 . ?e <official_name> ?pv . ?pv <pred:value> \"Oxford United Football Club\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "1960"}, {"question": "When did Hyderabad become the sister city of Indianapolis?", "choices": ["1898-06-13", "1945-05-09", "1982-09-19", "2009-01-20", "1909-01-01", "1983-11-08", "1984-07-30", "2010-01-01", "1968-11-12", "2012-07-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hyderabad"]}, {"function": "Find", "dependencies": [], "inputs": ["Indianapolis"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hyderabad\" . ?e_2 <pred:name> \"Indianapolis\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2010-01-01"}, {"question": "Which association football club stopped having Klaas-Jan Huntelaar as a member in 2005?", "choices": ["Hamilton Academical F.C.", "De Graafschap", "Middlesbrough F.C.", "Real Madrid CF", "FC Schalke 04", "Scunthorpe United F.C.", "Stade Brestois 29", "A.F.C. Ajax", "SC Heerenveen", "Stockport County F.C."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Klaas-Jan Huntelaar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["end time", "2005", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Klaas-Jan Huntelaar\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2005 .  }", "answer": "SC Heerenveen"}, {"question": "Which city has less land area, Elizabeth (whose local area code is 908) or New Brunswick (the birthplace of Heather O'Reilly)?", "choices": ["Paterson", "East Orange", "Atlantic City", "Perth Amboy", "Elizabeth", "Plainfield", "Hoboken", "Trenton", "New Brunswick", "Jersey City"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Elizabeth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "908"]}, {"function": "Find", "dependencies": [], "inputs": ["Heather O'Reilly"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["New Brunswick"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Elizabeth\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"908\" . } UNION { ?e <pred:name> \"New Brunswick\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Heather O'Reilly\" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "New Brunswick"}, {"question": "What is the relationship between Claire Danes and the 17th Screen Actors Guild Awards?", "choices": ["position held", "significant person", "home world", "award received", "twinned administrative body", "penalty", "general manager", "candidacy in election", "father", "has part"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Claire Danes"]}, {"function": "Find", "dependencies": [], "inputs": ["17th Screen Actors Guild Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Claire Danes\" . ?e_2 <pred:name> \"17th Screen Actors Guild Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "Tell me the relationship between The Reader (which has Ann Roth as a costume designer) and Roger Deakins.", "choices": ["does not have part", "tributary", "educated at", "production company", "director of photography", "hair color", "fabrication method", "located in the administrative territorial entity", "archives at", "currency"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ann Roth"]}, {"function": "Relate", "dependencies": [0], "inputs": ["costume designer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Reader"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Roger Deakins"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Reader\" . ?e_1 <costume_designer> ?e_3 . ?e_3 <pred:name> \"Ann Roth\" . ?e_2 <pred:name> \"Roger Deakins\" . ?e_1 ?p ?e_2 .  }", "answer": "director of photography"}, {"question": "Is the date of birth of the person having the official website http://www.MarkSpikeStent.com prior to 1977?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.MarkSpikeStent.com"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1977", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.MarkSpikeStent.com\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1977 ) .  }", "answer": "yes"}, {"question": "Who is taller: Emily Osment or Toby Jones?", "choices": ["William Henry Harrison", "Richard Gere", "Sylvester Stallone", "David Byrne", "Toby Jones", "Emily Osment", "Simon Cowell", "Paul Simon", "Max Fleischer", "Rahul Dev Burman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emily Osment"]}, {"function": "Find", "dependencies": [], "inputs": ["Toby Jones"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["height", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Emily Osment\" .  } UNION { ?e <pred:name> \"Toby Jones\" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Toby Jones"}, {"question": "When did Decatur (the one whose inception time is 1823-01-01) have a population of 19853?", "choices": ["1810", "1969-12-01", "1956-12-01", "1996-11-19", "2013-06-30", "1710-01-01", "1710", "2010-05-26", "2015-02-01", "2012-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Decatur"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["inception", "1823-01-01", "="]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "19853", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Decatur\" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> \"1823-01-01\"^^xsd:date . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"19853\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2012-01-01"}, {"question": "What is Evan Rachel Wood's Twitter username?", "choices": ["waseda_univ", "GLEEonFOX", "NickCannon", "TheAmyBrenneman", "PFCCSKA_en", "evanrachelwood", "MeloraHardin", "rostovfc", "Jlm_city", "RealSirTomJones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Evan Rachel Wood"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Twitter username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Evan Rachel Wood\" . ?e <Twitter_username> ?pv .  }", "answer": "evanrachelwood"}, {"question": "ISNI code 0000 0003 6857 3393 is associated with which individual?", "choices": ["Brandy Norwood", "Sylvester Stallone", "Charles Dance", "William Henry Harrison", "Leonard Bernstein", "Robert Taylor", "Richard Gere", "Max Fleischer", "Jerry Weintraub", "Eve"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0003 6857 3393"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0003 6857 3393\" .  }", "answer": "Leonard Bernstein"}, {"question": "How is About Schmidt related to Nebraska (the one whose population is 1296372)", "choices": ["rector", "hair color", "employer", "official language", "located on astronomical location", "participant", "takes place in fictional universe", "narrative location", "natural product of taxon", "has parts of the class"], "program": [{"function": "Find", "dependencies": [], "inputs": ["About Schmidt"]}, {"function": "Find", "dependencies": [], "inputs": ["Nebraska"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "1296372", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"About Schmidt\" . ?e_2 <pred:name> \"Nebraska\" . ?e_2 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1296372\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "narrative location"}, {"question": "What is the official website of the public university where Johann Wolfgang von Goethe was educated?", "choices": ["http://www.e1music.us/", "http://www.longbranch.org/", "http://www.cedar-rapids.org", "http://bloomington.in.gov/", "http://www.rickjames.com", "http://www.co.jefferson.tx.us", "http://www.lakeshoreentertainment.com", "https://www.uni-leipzig.de/", "http://www.foodnetwork.com", "http://www.vcu.edu/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Johann Wolfgang von Goethe"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["public university"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"public university\" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> \"Johann Wolfgang von Goethe\" .  ?e <official_website> ?pv .  }", "answer": "https://www.uni-leipzig.de/"}, {"question": "Is johndenvermusic John Denver's Instagram username?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Denver"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["johndenvermusic"]}], "sparql": "ASK { ?e <pred:name> \"John Denver\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"johndenvermusic\" .  }", "answer": "yes"}, {"question": "What is the connection between Al-Arabi SC to Qatar?", "choices": ["country", "named after", "newspaper format", "mascot", "award disciplines or subjects", "candidate", "edition or translation of", "office held by head of the organisation", "founded by", "dissertation submitted to"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Al-Arabi SC"]}, {"function": "Find", "dependencies": [], "inputs": ["Qatar"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Al-Arabi SC\" . ?e_2 <pred:name> \"Qatar\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "When was 6.4 percentage the inflation rate of the sovereign state that has a diplomatic relation with Pakistan (the subject of this statement is Pakistan-Mauritius relations) ?", "choices": ["1776-07-04", "2015-05-01", "2007-11-01", "2011-02-02", "1995-05-16", "1998-03-18", "1808-01-01", "1896", "2018-11-05", "1992-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Pakistan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["diplomatic relation", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "Pakistan-Mauritius relations"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["sovereign state"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["inflation rate", "6.4 percentage", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"sovereign state\" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> \"Pakistan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> \"Pakistan-Mauritius relations\" . ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> \"6.4\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "1992-01-01"}, {"question": "What is the connection between Walter Brennan to Lynn (the one whose official website is http://www.ci.lynn.ma.us/)?", "choices": ["developer", "godparent", "cites", "relative", "original language of film or TV show", "stated in", "platform", "registered with", "location of final assembly", "place of birth"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walter Brennan"]}, {"function": "Find", "dependencies": [], "inputs": ["Lynn"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.ci.lynn.ma.us/"]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Walter Brennan\" . ?e_2 <pred:name> \"Lynn\" . ?e_2 <official_website> ?pv . ?pv <pred:value> \"http://www.ci.lynn.ma.us/\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Did Get Low, featuring Sissy Spacek in its cast, or The Matrix Revolutions generate lower box office figures?", "choices": ["Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "The Matrix Revolutions", "Pleasantville", "Get Low", "The Towering Inferno", "Training Day", "A Prairie Home Companion"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sissy Spacek"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Get Low"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Matrix Revolutions"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Get Low\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Sissy Spacek\" .   } UNION { ?e <pred:name> \"The Matrix Revolutions\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Get Low"}, {"question": "When did Beck (the one that wins MTV Video Music Award for Best Art Direction) win the  MTV Video Music Award for Best Art Direction?", "choices": ["2009-02-11", "2018-06-06", "1875-01-01", "1865-06-17", "1997-07-16", "1963", "2016-09-24", "1997", "2013-03-05", "1983-04-11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Art Direction"]}, {"function": "Find", "dependencies": [], "inputs": ["MTV Video Music Award for Best Art Direction"]}, {"function": "Relate", "dependencies": [1], "inputs": ["winner", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Beck"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [0, 4], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"MTV Video Music Award for Best Art Direction\" . ?e_2 <pred:name> \"Beck\" . ?e_3 <winner> ?e_2 . ?e_3 <pred:name> \"MTV Video Music Award for Best Art Direction\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1997"}, {"question": "What is the character role of Loudon WSanwright III in G-Force (the one that has Zach Galifianakis as a cast member) ?", "choices": ["Hammond Druthers", "Princess Fiona", "Grandpa Goodman", "Emma Frost", "Sally Carrera", "Sammy Jo Carrington", "Stephen Maturin", "Theodore Donald Kerabatsos", "Mavis Dracula", "Comic Book Guy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Zach Galifianakis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["G-Force"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Loudon Wainwright III"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"G-Force\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Zach Galifianakis\" . ?e_2 <pred:name> \"Loudon Wainwright III\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Grandpa Goodman"}, {"question": "When did Greece start being a member of the Organisation for Economic Co-operation and Development?", "choices": ["1707-07-01", "1929", "1889", "1929-02-11", "1961-09-30", "1972-12-21", "1871-08-03", "1948-05-14", "2011-05-01", "1971-01-12"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greece"]}, {"function": "Find", "dependencies": [], "inputs": ["Organisation for Economic Co-operation and Development"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Greece\" . ?e_2 <pred:name> \"Organisation for Economic Co-operation and Development\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1961-09-30"}, {"question": "Which area is smaller in size, Copenhagen or Moscow (the one whose population is 30000)?", "choices": ["New Delhi", "Moscow", "Copenhagen", "Sarajevo", "Paris", "Mexico City", "Lausanne", "Riga", "Tallinn", "Doha"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Copenhagen"]}, {"function": "Find", "dependencies": [], "inputs": ["Moscow"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["population", "30000", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Copenhagen\" . } UNION { ?e <pred:name> \"Moscow\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"30000\"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Moscow"}, {"question": "What is the language for the creative endeavor of http://www.michigan.gov, the official U.S. state website with a Michigan subreddit?", "choices": ["Dutch", "Portuguese", "Korean", "Lithuanian", "Toki Pona", "English", "multiple languages", "Indonesian", "Classical Latin", "Tahitian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.michigan.gov"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of the United States"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["subreddit", "Michigan", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.michigan.gov\" . ?e <subreddit> ?pv . ?pv <pred:value> \"Michigan\" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What is the name of a person of Russian origin, who was involved in Russian Civil War conflict?", "choices": ["Sergei Rachmaninoff", "Joseph Stalin", "William Henry Harrison", "Richard Gere", "Sylvester Stallone", "Max Fleischer", "Nicholas II of Russia", "Leon Trotsky", "Georgy Zhukov", "Mike Nichols"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Russians"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Find", "dependencies": [], "inputs": ["Russian Civil War"]}, {"function": "Relate", "dependencies": [3], "inputs": ["conflict", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> \"Russians\" .  ?e <conflict> ?e_2 . ?e_2 <pred:name> \"Russian Civil War\" .  }", "answer": "Georgy Zhukov"}, {"question": "Which human has the occupation of writer and the ISNI of 0000 0001 1075 893X?", "choices": ["Carlton Cuse", "Bruce Campbell", "William Henry Harrison", "Andy Serkis", "Feroz Khan", "Sylvester Stallone", "Max Fleischer", "Richard Gere", "Wayne Dyer", "Larry Niven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["occupation", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1075 893X"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <occupation> ?e_1 . ?e_1 <pred:name> \"writer\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1075 893X\" .  }", "answer": "Bruce Campbell"}, {"question": "Is David Guetta or Fidel Castro a parent of fewer kids?", "choices": ["David Byrne", "Fidel Castro", "Paul Simon", "Simon Cowell", "Sylvester Stallone", "David Guetta", "William Henry Harrison", "Richard Gere", "James E. Reilly", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Guetta"]}, {"function": "Find", "dependencies": [], "inputs": ["Fidel Castro"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"David Guetta\" .  } UNION { ?e <pred:name> \"Fidel Castro\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "David Guetta"}, {"question": "Is the release date of the television film that received an award at the 16th Screen Actors Guild Awards not in the year 1995?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["16th Screen Actors Guild Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1995", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"television film\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"16th Screen Actors Guild Awards\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1995 ) .  }", "answer": "yes"}, {"question": "Of the independent cities that share a border with Chesapeake, which has the smallest area?", "choices": ["Lynchburg", "Portsmouth", "Norfolk", "Fairfax", "Charlottesville", "Virginia Beach", "Winchester", "Hampton", "Roanoke", "Danville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chesapeake"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"Chesapeake\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Portsmouth"}, {"question": "What official website belongs to the agency that was a recipient at the 66th Tony Awards?", "choices": ["https://www.olympic.org/innsbruck-1964", "http://okanogancounty.org", "https://www.getafecf.com/", "http://www.ontariondp.on.ca", "http://www.lackawannacounty.org", "http://www.zoesaldana.com/", "https://www.nintendo.com/en_CA/", "https://www.northcarolinafc.com/", "http://www.shubert.nyc/", "http://www.jeddah.gov.sa"], "program": [{"function": "Find", "dependencies": [], "inputs": ["66th Tony Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["agent"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"agent\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"66th Tony Awards\" .  ?e <official_website> ?pv .  }", "answer": "http://www.shubert.nyc/"}, {"question": "Which county in Ireland that shares a border with County Mayo has the smallest area?", "choices": ["County Dublin", "County Monaghan", "County Galway", "County Meath", "County Donegal", "County Tipperary", "County Kilkenny", "County Limerick", "County Sligo", "County Kildare"], "program": [{"function": "Find", "dependencies": [], "inputs": ["County Mayo"]}, {"function": "Relate", "dependencies": [0], "inputs": ["shares border with", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ireland"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ireland\" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> \"County Mayo\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "County Sligo"}, {"question": "How is Hairspray composed by Marc Shaiman related to Canada?", "choices": ["has parts of the class", "director", "costume designer", "legislative body", "business division", "part of", "has part", "heritage designation", "film release region", "commander of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Marc Shaiman"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hairspray"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Hairspray\" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> \"Marc Shaiman\" . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "What is the connection between From the Earth to the Moon (the one whose number of seasons is 1) to Tom Hanks?", "choices": ["indigenous to", "executive producer", "distributor", "headquarters location", "domain of saint or deity", "filmography", "narrator", "foundational text", "cast member", "position played on team / speciality"], "program": [{"function": "Find", "dependencies": [], "inputs": ["From the Earth to the Moon"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["number of seasons", "1", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Tom Hanks"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"From the Earth to the Moon\" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1\"^^xsd:double . ?e_2 <pred:name> \"Tom Hanks\" . ?e_1 ?p ?e_2 .  }", "answer": "executive producer"}, {"question": "What is the character role of Superman (the one that origins from United Kingdom) which has Terence Stamp as a cast member?", "choices": ["Cletus Spuckler", "Catherine Martell", "Abraham Whistler", "Harriet Jones", "Tom Scavo", "General Zod", "The Leader", "Agent O", "Curtis", "Elizabeth II"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Superman"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Terence Stamp"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Superman\" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Terence Stamp\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "General Zod"}, {"question": "When did Vladimir Horowitz receive the Grammy Lifetime Achievement Award?", "choices": ["1990-01-01", "2007-05-16", "1571-01-01", "1834", "1961-06-22", "1838-01-01", "1982-03-29", "2018-11-24", "2013-08-08", "1819-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vladimir Horowitz"]}, {"function": "Find", "dependencies": [], "inputs": ["Grammy Lifetime Achievement Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Vladimir Horowitz\" . ?e_2 <pred:name> \"Grammy Lifetime Achievement Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1990-01-01"}, {"question": "Which person who was Toni Morrison's influence is assigned Libris-URI code 20dgfnjl5c54zld?", "choices": ["James Baldwin", "William Faulkner", "Max Fleischer", "Sylvester Stallone", "Herman Melville", "Richard Gere", "William Henry Harrison", "Rahul Dev Burman", "Doris Lessing", "Virginia Woolf"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toni Morrison"]}, {"function": "Relate", "dependencies": [0], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Libris-URI", "20dgfnjl5c54zld"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Toni Morrison\" .  ?e <Libris-URI> ?pv . ?pv <pred:value> \"20dgfnjl5c54zld\" .  }", "answer": "Virginia Woolf"}, {"question": "Which movie cost less to make, Seven (the one that has Richard Schiff as a cast member) or Quantum of Solace?", "choices": ["Rebecca", "Curse of the Golden Flower", "Talk to Her", "Seven", "Pleasantville", "The Hunchback of Notre Dame", "The Towering Inferno", "The Fifth Element", "Quantum of Solace", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Schiff"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Seven"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Quantum of Solace"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seven\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Richard Schiff\" .   } UNION { ?e <pred:name> \"Quantum of Solace\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seven"}, {"question": "Does Vancouver, where Tron: Legacy was filmed, or Boulogne-Billancourt occupy a larger area?", "choices": ["Wuppertal", "Fort Smith", "Lyon", "Boulogne-Billancourt", "Utrecht", "Vancouver", "Dnipro", "Bordeaux", "Halle (Saale)", "Stuttgart"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tron: Legacy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vancouver"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Boulogne-Billancourt"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Vancouver\" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> \"Tron: Legacy\" .   } UNION { ?e <pred:name> \"Boulogne-Billancourt\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Vancouver"}, {"question": "Does Mad About You or Pan Am (the one whose number of episodes is 14) have the greater duration?", "choices": ["Six Feet Under", "Dancing with the Stars", "Mad About You", "Game of Thrones", "Pan Am", "Seinfeld", "Bleak House", "Phineas and Ferb", "Saturday Night's Main Event", "Robot Chicken"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mad About You"]}, {"function": "Find", "dependencies": [], "inputs": ["Pan Am"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of episodes", "14", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mad About You\" . } UNION { ?e <pred:name> \"Pan Am\" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"14\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Pan Am"}, {"question": "What is the Munzinger IBA of Patricia Arquette?", "choices": ["00000019644", "00000013407", "00000014293", "00000028661", "00000014080", "00000002721", "00000021601", "00000028933", "00000020745", "00000024697"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Patricia Arquette"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Patricia Arquette\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000021601"}, {"question": "When did Perth (the one whose country is United Kingdom) become capital of Perth and Kinross?", "choices": ["2015-08-03", "1990-03-07", "1937-12-29", "2018-01-09", "1975", "1997-03-03", "2013-04-08", "2001-10-14", "1992-11-18", "1901-03-04"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Perth"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Perth and Kinross"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["capital of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Perth\" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> \"United Kingdom\" . ?e_2 <pred:name> \"Perth and Kinross\" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1975"}, {"question": "What is the character role of Tom Cruise in The Firm (the one whose director is Sydney Pollack)?", "choices": ["Eddie Brock", "The President", "Larry Sanders", "Mitch McDeere", "Kitty Pryde", "Matthew Lillard", "Nicky Parsons", "Andy Bernard", "Ken Mattingly", "Dana Scully"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Sydney Pollack"]}, {"function": "Relate", "dependencies": [0], "inputs": ["director", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Firm"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Tom Cruise"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"The Firm\" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> \"Sydney Pollack\" . ?e_2 <pred:name> \"Tom Cruise\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Mitch McDeere"}, {"question": "When did Akira Kurosawa win the  BAFTA Award for Best Direction?", "choices": ["2014-12-27", "2001-12-01", "1999-02-24", "1981", "2005-08-17", "2003-06-01", "800", "2016-01-01", "2006-12-01", "2008-05-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Direction"]}, {"function": "Find", "dependencies": [], "inputs": ["Akira Kurosawa"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["winner", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"BAFTA Award for Best Direction\" . ?e_2 <pred:name> \"Akira Kurosawa\" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "1981"}, {"question": "Where was a visual artwork published when it was published on 30th May 2018, and its visa exploitation number is 148804?", "choices": ["Los Angeles", "Thailand", "France", "India", "New Zealand", "Washington, D.C.", "Argentina", "Charlotte Motor Speedway", "Germany", "Norway"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["exploitation visa number", "148804"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2018-05-30", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> \"148804\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2018-05-30\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "France"}, {"question": "For the person educated at primary school (the location of this statement is Lawrenceburg), what is his/her native-language name?", "choices": ["\u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440 \u0421\u0430\u043c\u043e\u0439\u043b\u043e\u0432\u0438\u0447 \u0413\u043e\u0440\u043e\u0432\u0438\u0446", "Shah rukh Khan", "Clive Staples Lewis", "Carl Edward Sagan", "\u9ce5\u5c71 \u660e", "Chuck Norris", "Niels Bohr", "Greta Scacchi", "Fred Thompson", "Richard Keith Berman"], "program": [{"function": "Find", "dependencies": [], "inputs": ["primary school"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["location", "Lawrenceburg"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["name in native language"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> \"primary school\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_1 ] <location> ?qpv . ?qpv <pred:value> \"Lawrenceburg\" . ?e <name_in_native_language> ?pv .  }", "answer": "Fred Thompson"}, {"question": "How many provinces in the Neverlands are named after the big city that is the formation location of FC Utrecht?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FC Utrecht"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location of formation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["big city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["named after", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of the Netherlands"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"big city\" . ?e_3 <location_of_formation> ?e_1 . ?e_3 <pred:name> \"FC Utrecht\" .   }", "answer": "1"}, {"question": "Are there less season in  WWE Superstars or Thomas and Friends?", "choices": ["Dancing with the Stars", "WWE Superstars", "American Horror Story", "Thomas and Friends", "Game of Thrones", "Robot Chicken", "Six Feet Under", "Bleak House", "Phineas and Ferb", "Seinfeld"], "program": [{"function": "Find", "dependencies": [], "inputs": ["WWE Superstars"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas and Friends"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"WWE Superstars\" .  } UNION { ?e <pred:name> \"Thomas and Friends\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "WWE Superstars"}, {"question": "When did Maya Rudolph become Paul Thomas Anderson's partner>", "choices": ["2001-01-01", "1979-02-18", "1851", "2005-10-17", "1972-01-20", "2007-09-18", "2006-10-03", "1997-05-22", "1974-07-30", "1994-09-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Maya Rudolph"]}, {"function": "Find", "dependencies": [], "inputs": ["Paul Thomas Anderson"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["partner", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Maya Rudolph\" . ?e_2 <pred:name> \"Paul Thomas Anderson\" . ?e_1 <partner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "2001-01-01"}, {"question": "Which has the smaller area, Fremont or Eau Claire?", "choices": ["Compton", "Lansing", "Boulder", "Waukegan", "Fremont", "Franklin", "Eau Claire", "Greenville", "Oakland", "New Haven"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fremont"]}, {"function": "Find", "dependencies": [], "inputs": ["Eau Claire"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Fremont\" .  } UNION { ?e <pred:name> \"Eau Claire\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Eau Claire"}, {"question": "What is the pronunciation audio for the city whose official name is Birmingham?", "choices": ["En-us-Washington.ogg", "En-uk-Birmingham.ogg", "De-Hildesheim.ogg", "Nl-Berlijn.ogg", "Ba-\u0438\u043a\u043c\u04d9\u043a.ogg", "Kozhikode.ogg", "LL-Q143 (epo)-Robin van der Vliet-Nederlando.wav", "Jer-Japon.ogg", "Lb-portugisesch.ogg", "Lb-Portugal.ogg"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Birmingham"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["pronunciation audio"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Birmingham\" . ?e <pronunciation_audio> ?pv .  }", "answer": "En-uk-Birmingham.ogg"}, {"question": "Is the beginning date of the American football team whose Twitter username is DallasCowboys prior to the year 1997?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "DallasCowboys"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football team"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1997", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"DallasCowboys\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1997 ) .  }", "answer": "yes"}, {"question": "Which territorial jurisdiction is applicable for the official website https://www.microsoft.com/tr-tr/windows of the industry that is the platform of South Park (whose publisher is Acclaim Entertainment)?", "choices": ["Murmansk Oblast", "Luxembourg", "Kaluga Oblast", "Vladimir Oblast", "Greece", "Australia", "Republic of Tatarstan", "Turkey", "Hong Kong", "United States of America"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Acclaim Entertainment"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["South Park"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["platform", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["industry"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["official website", "https://www.microsoft.com/tr-tr/windows", "applies to jurisdiction"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e_1 <platform> ?e . ?e_1 <pred:name> \"South Park\" . ?e_1 <publisher> ?e_2 . ?e_2 <pred:name> \"Acclaim Entertainment\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.microsoft.com/tr-tr/windows\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <applies_to_jurisdiction> ?qpv .  }", "answer": "Turkey"}, {"question": "What was Adam Sandler's role in Little Nicky (the one that was nominated for Golden Raspberry Award for Worst Supporting Actress)?", "choices": ["Nicky", "Bart Simpson", "Darth Vader", "Jessica Rabbit", "Philippe", "Tobias F\u00fcnke", "Daniel Faraday", "Karen Page", "Jay Gatsby", "George Costanza"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Golden Raspberry Award for Worst Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Little Nicky"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Adam Sandler"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Little Nicky\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Golden Raspberry Award for Worst Supporting Actress\" . ?e_2 <pred:name> \"Adam Sandler\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Nicky"}, {"question": "How many filmmaking occupations are different from cinematographer and have the ISCO occupation code 2455?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["cinematographer"]}, {"function": "Relate", "dependencies": [0], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["filmmaking occupation"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISCO occupation code", "2455"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["filmmaking occupation"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"filmmaking occupation\" . ?e_1 <different_from> ?e . ?e_1 <pred:name> \"cinematographer\" .  ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> \"2455\" .  }", "answer": "1"}, {"question": "How many unitary states there are whose total fertility rate is different to 5.9 or whose population is less than 37000?", "choices": ["7", "8", "9", "10", "11", "12", "13", "14", "15", "16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["total fertility rate", "5.9", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "37000", "<"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["unitary state"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" .  { ?e <total_fertility_rate> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5.9\"^^xsd:double ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v < \"37000\"^^xsd:double ) .  } }", "answer": "16"}, {"question": "Which county of California (whose population is not equal to 9300000) has the largest area?", "choices": ["Plumas County", "Mariposa County", "Butte County", "Nevada County", "Marin County", "Orange County", "Riverside County", "San Luis Obispo County", "Sonoma County", "San Bernardino County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "9300000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of California"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of California\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"9300000\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "San Bernardino County"}, {"question": "Tell me the start time that Namibia is a United Nations member.", "choices": ["1993-11-03", "1529-01-01", "1935-01-01", "1999-04-01", "1990-04-23", "2002-03-12", "1991-09-08", "1992-01-26", "1962-10-09", "2013-01-31"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Namibia"]}, {"function": "Find", "dependencies": [], "inputs": ["United Nations"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Namibia\" . ?e_2 <pred:name> \"United Nations\" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1990-04-23"}, {"question": "How many politicians are in the United States of American or are not the speaker of the United States House of Representatives?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["politician"]}, {"function": "Find", "dependencies": [], "inputs": ["speaker of the United States House of Representatives"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["politician"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"politician\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> \"speaker of the United States House of Representatives\" .  } }", "answer": "1"}, {"question": "Is jonfavreau the Instagram username of Muse?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Muse"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["jonfavreau"]}], "sparql": "ASK { ?e <pred:name> \"Muse\" . ?e <Instagram_username> ?pv . ?pv <pred:value> \"jonfavreau\" .  }", "answer": "no"}, {"question": "In what administrative territorial entity is New York City where Christopher McDonald was born?", "choices": ["Stockholm Municipality", "North Carolina", "New York", "Syria", "Texas", "Greater Manchester", "South Holland", "Georgia", "Transcaucasian Socialist Federative Soviet Republic", "New Mexico"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Christopher McDonald"]}, {"function": "Find", "dependencies": [], "inputs": ["New York City"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["place of birth", "located in the administrative territorial entity"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Christopher McDonald\" . ?e_2 <pred:name> \"New York City\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }", "answer": "New York"}, {"question": "How many high higher education institutions have an IPv4 routing prefix of 83.100.156.24/30?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPv4 routing prefix", "83.100.156.24/30"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <IPv4_routing_prefix> ?pv . ?pv <pred:value> \"83.100.156.24/30\" .  }", "answer": "1"}, {"question": "Which has the larger area, Prescott or Waukesha?", "choices": ["Boulder", "Lansing", "Franklin", "Compton", "New Haven", "Waukesha", "Greenville", "Prescott", "Waukegan", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Prescott"]}, {"function": "Find", "dependencies": [], "inputs": ["Waukesha"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Prescott\" .  } UNION { ?e <pred:name> \"Waukesha\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Prescott"}, {"question": "How large is Worthing?", "choices": ["118.551888 square kilometre", "347190 square kilometre", "13.835818 square kilometre", "32480000 square metre", "28.430438 square kilometre", "76.814667 square kilometre", "228662 square kilometre", "667.289006 square kilometre", "407 square mile", "67.040795 square kilometre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Worthing"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["area"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Worthing\" . ?e <area> ?pv .  }", "answer": "32480000 square metre"}, {"question": "Is Muskegon's WOEID 2456611?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Muskegon"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["WOEID"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["2456611"]}], "sparql": "ASK { ?e <pred:name> \"Muskegon\" . ?e <WOEID> ?pv . ?pv <pred:value> \"2456611\" .  }", "answer": "yes"}, {"question": "What person's ISNI is 0000 0000 7780 3451?", "choices": ["Max Fleischer", "Sylvester Stallone", "Ellen Pompeo", "Sheryl Crow", "Liam O'Brien", "Frank Miller", "John Powell", "Tom DeFalco", "William Henry Harrison", "Justin Timberlake"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7780 3451"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 7780 3451\" .  }", "answer": "Liam O'Brien"}, {"question": "Which movie is shorter, Manhattan (the one that has Wallace Shawn as a cast member) or Om Shanti Om?", "choices": ["Rebecca", "Manhattan", "Curse of the Golden Flower", "Training Day", "Talk to Her", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Pleasantville", "Om Shanti Om", "The Fifth Element"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Wallace Shawn"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Manhattan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Om Shanti Om"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Manhattan\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Wallace Shawn\" .   } UNION { ?e <pred:name> \"Om Shanti Om\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Manhattan"}, {"question": "Does Nintendo or The Coca-Cola Company have more employees?", "choices": ["McDonald's", "Sega", "Nintendo", "Skidmore Owings Merrill", "Entertainment One", "The Coca-Cola Company", "Vodafone", "Silver Pictures", "KLM", "Adobe Inc."], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nintendo"]}, {"function": "Find", "dependencies": [], "inputs": ["The Coca-Cola Company"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["employees", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Nintendo\" .  } UNION { ?e <pred:name> \"The Coca-Cola Company\" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Coca-Cola Company"}, {"question": "For medications with a density not equal to 6.4 grams per cubic centimetres, which one has the largest density?", "choices": ["The Fall", "copper", "Somerset", "antibiotic", "Kathleen Barr", "prescription drug", "iron", "Copenhagen", "over-the-counter drug", "analgesic"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["density", "6.4 gram per cubic centimetre", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["medication"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["density", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"medication\" . ?e <density> ?pv_1 . ?pv_1 <pred:unit> \"gram per cubic centimetre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"6.4\"^^xsd:double ) . ?e <density> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "copper"}, {"question": "What does The Flintstones in Viva Rock Vegas have to do with dinosaur?", "choices": ["organisation directed from the office or person", "military rank", "country", "main subject", "source of income", "honorific suffix", "head of state", "noble title", "mother", "appears in the form of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Flintstones in Viva Rock Vegas"]}, {"function": "Find", "dependencies": [], "inputs": ["dinosaur"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Flintstones in Viva Rock Vegas\" . ?e_2 <pred:name> \"dinosaur\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "How is Dordrecht related to South Holland ?", "choices": ["publisher", "film distribute region", "terminus", "located in the administrative territorial entity", "separated from", "professorship", "occupant", "symptom of", "child", "production company"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dordrecht"]}, {"function": "Find", "dependencies": [], "inputs": ["South Holland"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Dordrecht\" . ?e_2 <pred:name> \"South Holland\" . ?e_1 ?p ?e_2 .  }", "answer": "located in the administrative territorial entity"}, {"question": "When was Phnom Penh founded?", "choices": ["1777-07-30", "1745-01-01", "1351", "1972-04-25", "1330-01-01", "1372", "1581-07-26", "1853-03-25", "1939", "1977"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Phnom Penh"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Phnom Penh\" . ?e <inception> ?pv .  }", "answer": "1372"}, {"question": "Demonym veneti applies to which part of the Italian region designated by NUTS code ITD3?", "choices": ["Interlake Region", "solo", "Kaliningrad Oblast", "18th arrondissement of Paris", "Hardin County", "Madison County", "United States of America", "masculine plural", "Maury County", "Labrador"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "ITD3"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["demonym", "veneti", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> \"ITD3\" . ?e <demonym> ?pv . ?pv <pred:value> \"veneti\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine plural"}, {"question": "When did the organization whose native label is Ecclesia Catholica Romana have 1285000000 members?", "choices": ["2015", "1999-10-13", "1758", "2011-12-31", "2011-05-18", "1987-05-25", "2015-08-01", "1839", "1801", "1865-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Ecclesia Catholica Romana"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["organization"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["member count", "1285000000", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"organization\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Ecclesia Catholica Romana\" . ?e <member_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1285000000\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <member_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Rajesh Khanna has what connection to Mumbai?", "choices": ["composer", "natural product of taxon", "location of final assembly", "territory overlaps", "feast day", "sex or gender", "place of death", "next lower rank", "conferred by", "present in work"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Rajesh Khanna"]}, {"function": "Find", "dependencies": [], "inputs": ["Mumbai"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Rajesh Khanna\" . ?e_2 <pred:name> \"Mumbai\" . ?e_1 ?p ?e_2 .  }", "answer": "place of death"}, {"question": "How many sessions of legislature preceded the 3rd US Congress or began in a year other than 1999?", "choices": ["39", "40", "41", "42", "43", "44", "45", "46", "47", "48"], "program": [{"function": "Find", "dependencies": [], "inputs": ["3rd United States Congress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["followed by", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["legislative term"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["start time", "1999", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["legislative term"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"legislative term\" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> \"3rd United States Congress\" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1999 ) .  } }", "answer": "40"}, {"question": "Which person's ISNI is 0000 0001 1681 3952?", "choices": ["Bill Pullman", "Richard Gere", "Sylvester Stallone", "Tony Bennett", "Edward Norton", "Vidya Balan", "Josh Hutcherson", "Robert Shaw", "William Henry Harrison", "Max Fleischer"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1681 3952"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1681 3952\" .  }", "answer": "Edward Norton"}, {"question": "Which person has Munzinger IBA of 00000028236?", "choices": ["William Henry Harrison", "Max Fleischer", "Walt Disney", "Mike Henry", "Dilip Kumar", "Sylvester Stallone", "Juanes", "Tony Richardson", "Richard Gere", "Ravi Shankar"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Munzinger IBA", "00000028236"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000028236\" .  }", "answer": "Ravi Shankar"}, {"question": "Which Arizona county that is an administrative division of Arizona (that contains Coconino County) has the smallest area?", "choices": ["Maricopa County", "Apache County", "Coconino County", "Mohave County", "Gila County", "Yavapai County", "Pima County", "Navajo County", "Santa Cruz County", "Pinal County"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Coconino County"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Arizona"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Arizona"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Arizona\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Arizona\" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> \"Coconino County\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Santa Cruz County"}, {"question": "Who was nominated for an Academy Award for Best Supporting Actor for Spartacus that made 22800000 Hong Kong dollars at the box office?", "choices": ["Terry Rawlings", "Adrian Lyne", "Robert Preston", "Glenn Freemantle", "Michael Westmore", "Denholm Elliott", "Peter Ustinov", "Herman J. Mankiewicz", "Janek Sirrs", "Franco Zeffirelli"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Spartacus"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["box office", "22800000 Hong Kong dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Spartacus\" . ?e_1 <box_office> ?pv . ?pv <pred:unit> \"Hong Kong dollar\" . ?pv <pred:value> \"22800000\"^^xsd:double . ?e_2 <pred:name> \"Academy Award for Best Supporting Actor\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Peter Ustinov"}, {"question": "How is outfielder Gary Moore related to the Los Angeles Dodgers?", "choices": ["operating system", "league", "production designer", "member of sports team", "filmography", "enclave within", "substitute/deputy/replacement of office/officeholder", "production company", "occupation", "source of income"], "program": [{"function": "Find", "dependencies": [], "inputs": ["outfielder"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Gary Moore"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles Dodgers"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Gary Moore\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"outfielder\" . ?e_2 <pred:name> \"Los Angeles Dodgers\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "How is Greene County in Ohio related to Clinton County (FIPS 6-4 (US counties) 39027)?", "choices": ["shares border with", "position held", "filmography", "winner", "present in work", "from fictional universe", "partner", "medical treatment", "residence", "film editor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Greene County"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Clinton County"]}, {"function": "FilterStr", "dependencies": [4], "inputs": ["FIPS 6-4 (US counties)", "39027"]}, {"function": "QueryRelation", "dependencies": [3, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Greene County\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> \"Ohio\" . ?e_2 <pred:name> \"Clinton County\" . ?e_2 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"39027\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Since when has Canberra (the one whose elevation (above sea level) is 1893 foot) been the capital of Australia (the one whose nominal GDP is 27261731436.891 United States dollar)?", "choices": ["1871-01-26", "1929-06-03", "1927", "1980-12-10", "1992-01-13", "2002-09-27", "-218", "2017-03-02", "1739-09-18", "1955"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "27261731436.891 United States dollar", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Canberra"]}, {"function": "FilterNum", "dependencies": [2], "inputs": ["elevation above sea level", "1893 foot", "="]}, {"function": "QueryRelationQualifier", "dependencies": [1, 3], "inputs": ["capital", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Australia\" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> \"27261731436.891\"^^xsd:double . ?e_2 <pred:name> \"Canberra\" . ?e_2 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"foot\" . ?pv_1 <pred:value> \"1893\"^^xsd:double . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1927"}, {"question": "How was it determined that the El Salvador national football team was ranked 129?", "choices": ["register office", "extrapolation", "FIFA World Rankings", "census", "Family record booklet", "Census", "average", "2010 United States Census", "de facto", "United Kingdom Census 2011"], "program": [{"function": "Find", "dependencies": [], "inputs": ["El Salvador national football team"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["ranking", "129", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"El Salvador national football team\" . ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"129\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "What is the FIPS 10-4 (countries and regions) code assigned to Kagoshima Prefecture?", "choices": ["CH07", "PL81", "JA18", "BU42", "CB22", "RS48", "UKT5", "BY", "US39", "CH22"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kagoshima Prefecture"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["FIPS 10-4 (countries and regions)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Kagoshima Prefecture\" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }", "answer": "JA18"}, {"question": "What is the connection between Al Green (the one that received Grammy Award for Best Pop Collaboration with Vocals) to Fat Possum Records?", "choices": ["owned by", "legislative body", "place served by transport hub", "country", "designed by", "record label", "discoverer or inventor", "nutrient", "product or material produced", "programming language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Grammy Award for Best Pop Collaboration with Vocals"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Al Green"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Fat Possum Records"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Al Green\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"Grammy Award for Best Pop Collaboration with Vocals\" . ?e_2 <pred:name> \"Fat Possum Records\" . ?e_1 ?p ?e_2 .  }", "answer": "record label"}, {"question": "How many short films were nominated for an Academy Award for Best Animated Short Film or whose production company is Graham Holdings Company?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Short Film"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["short film"]}, {"function": "Find", "dependencies": [], "inputs": ["Graham Holdings Company"]}, {"function": "Relate", "dependencies": [3], "inputs": ["production company", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["short film"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"short film\" .  { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Animated Short Film\" .  } UNION { ?e <production_company> ?e_1 . ?e_1 <pred:name> \"Graham Holdings Company\" .  } }", "answer": "0"}, {"question": "Does the film with Roy Orbison as a cast member have a title equal to She's Having a Baby?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roy Orbison"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["She's Having a Baby"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Roy Orbison\" .  ?e <title> ?pv . ?pv <pred:value> \"She's Having a Baby\" .  }", "answer": "yes"}, {"question": "What is the inception time of the association football club whose official website is http://www.fc-tm.ru?", "choices": ["1927-11-23", "1945-09-12", "1909-04-11", "1962-01-01", "1924", "1953-11-09", "1749-11-30", "1943-01-01", "1981", "1994-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.fc-tm.ru"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.fc-tm.ru\" . ?e <inception> ?pv .  }", "answer": "1924"}, {"question": "Was Steven Culp not born in 1980?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steven Culp"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1980", "!="]}], "sparql": "ASK { ?e <pred:name> \"Steven Culp\" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1980 ) .  }", "answer": "yes"}, {"question": "How is the 2004 NFL Draft linked to the University of Southern California?", "choices": ["family", "territory overlaps", "architect", "taxon rank", "organisation directed from the office or person", "position played on team / speciality", "draft pick from school", "filming location", "time period", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["2004 NFL Draft"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Southern California"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"2004 NFL Draft\" . ?e_2 <pred:name> \"University of Southern California\" . ?e_1 ?p ?e_2 .  }", "answer": "draft pick from school"}, {"question": "Is a10614771 the CANTIC-ID for David Gilmour whose date of birth is 1944-03-06?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Gilmour"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1944-03-06", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["CANTIC-ID"]}, {"function": "VerifyStr", "dependencies": [2], "inputs": ["a10614771"]}], "sparql": "ASK { ?e <pred:name> \"David Gilmour\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1944-03-06\"^^xsd:date . ?e <CANTIC-ID> ?pv . ?pv <pred:value> \"a10614771\" .  }", "answer": "yes"}, {"question": "How many crimes are in country of France or have Iconclass notation 44G544?", "choices": ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["crime"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["Iconclass notation", "44G544"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["crime"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"crime\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"France\" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> \"44G544\" .  } }", "answer": "2"}, {"question": "Which movie is derived from No Country for Old Men (the one that is a notable work of Cormac McCarthy)?", "choices": ["The Fifth Element", "No Country for Old Men", "Pleasantville", "The Towering Inferno", "Training Day", "Talk to Her", "Bob Roberts", "A Prairie Home Companion", "Green Lantern", "Unstoppable"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cormac McCarthy"]}, {"function": "Relate", "dependencies": [0], "inputs": ["notable work", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["No Country for Old Men"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["derivative work", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> \"No Country for Old Men\" . ?e_2 <notable_work> ?e_1 . ?e_2 <pred:name> \"Cormac McCarthy\" .   }", "answer": "No Country for Old Men"}, {"question": "I'm looking for a which one has the bigger nominal GDP per capita, Seychelles or Italy.", "choices": ["Italy", "Zimbabwe", "Seychelles", "Mozambique", "France", "Germany", "Sierra Leone", "Tunisia", "Colombia", "Bolivia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Italy"]}, {"function": "Find", "dependencies": [], "inputs": ["Seychelles"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["nominal GDP per capita", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Italy\" .  } UNION { ?e <pred:name> \"Seychelles\" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Italy"}, {"question": "What is the connection between Congressional Progressive Caucus to United States of America?", "choices": ["month of the year", "professional or sports partner", "has contributing factor", "basic form of government", "country", "designated as terrorist by", "art director", "archives at", "lifestyle", "sport"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Congressional Progressive Caucus"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Congressional Progressive Caucus\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "What is the Instagram username for the television series that is based on Minority Report (the one whose production company is 20th Century Fox)?", "choices": ["jgilsig", "racingcluboficial", "buryfcofficial", "fcpanathinaikos", "baseballhall", "minorityreport", "heathrow_airport", "vp", "usher", "ldschurch"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Relate", "dependencies": [0], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Minority Report"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["based on", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["television series"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Instagram username"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <based_on> ?e_1 . ?e_1 <pred:name> \"Minority Report\" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> \"20th Century Fox\" .  ?e <Instagram_username> ?pv .  }", "answer": "minorityreport"}, {"question": "Tell me the start time of University of Pennsylvania has the significant event mixed-sex education", "choices": ["1862", "1880", "2011-07-09", "1994-04-19", "1998-11-20", "1845-03-03", "1800-01-01", "1973-11-12", "1521-08-28", "-366"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Pennsylvania"]}, {"function": "Find", "dependencies": [], "inputs": ["mixed-sex education"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["significant event", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Pennsylvania\" . ?e_2 <pred:name> \"mixed-sex education\" . ?e_1 <significant_event> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1880"}, {"question": "What language is associated with http://caallboys.com.ar/, the official website of an association football club whose official name is Club Atl\u00e9tico All Boys ?", "choices": ["multiple languages", "Turkish", "English", "Irish", "Breton", "Classical Latin", "Indian English", "Ewe", "Lower Sorbian", "Slovak"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Club Atl\u00e9tico All Boys"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["association football club"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://caallboys.com.ar/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"Club Atl\u00e9tico All Boys\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://caallboys.com.ar/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "What method determines that 186th is the ranking of the national association football team that has a member named Wayne Dyer (who is a teammate of Hereford United F.C.)?", "choices": ["Population registration in Sweden", "tradition", "2010 United States Census", "Canada 2011 Census", "Russian Empire Census", "UIS estimation", "2016 Australian census", "United States Census", "United Kingdom Census 1981", "FIFA World Rankings"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hereford United F.C."]}, {"function": "Relate", "dependencies": [0], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wayne Dyer"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["national association football team"]}, {"function": "QueryAttrQualifier", "dependencies": [5], "inputs": ["ranking", "186", "determination method"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"national association football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> \"Wayne Dyer\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"Hereford United F.C.\" .  ?e <ranking> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"186\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv ] <determination_method> ?qpv .  }", "answer": "FIFA World Rankings"}, {"question": "When did Jean-Jacques Rousseau become a Protestant?", "choices": ["1896-12-01", "1659-01-01", "1919-03-01", "1994-10-04", "1965-09-15", "1995-11-09", "1754", "2011-06-22", "1784", "1984-07-30"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jean-Jacques Rousseau"]}, {"function": "Find", "dependencies": [], "inputs": ["Protestantism"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["religion", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jean-Jacques Rousseau\" . ?e_2 <pred:name> \"Protestantism\" . ?e_1 <religion> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <religion> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1754"}, {"question": "What person was born in Peoria and has the ISNI 0000 0001 1798 2221?", "choices": ["Rahul Dev Burman", "Max Fleischer", "David Ogden Stiers", "William Henry Harrison", "Lee Garmes", "Simon Cowell", "David Byrne", "Richard Pryor", "Dan Simmons", "Sylvester Stallone"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peoria"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["ISNI", "0000 0001 1798 2221"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> \"Peoria\" .  ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0001 1798 2221\" .  }", "answer": "Lee Garmes"}, {"question": "What is the ISWC of the single published on 1974-01-01?", "choices": ["T-010.162.677-0", "T-011.363.815-5", "T-010.163.293-2", "T-011.363.826-8", "T-070.202.745-9", "T-915.499.391-6", "T-903.593.695-9", "T-070.017.986-7", "T-901.132.592-1", "T-901.296.383-6"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1974-01-01", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["single"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISWC"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1974-01-01\"^^xsd:date . ?e <ISWC> ?pv .  }", "answer": "T-070.202.745-9"}, {"question": "Which person's stage name pseudonym is Nas?", "choices": ["David Byrne", "Nas", "Max Fleischer", "Sylvester Stallone", "Richard Gere", "Rahul Dev Burman", "Prince", "Jimmy Van Heusen", "David J", "Simon Cowell"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["pseudonym", "Nas"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "stage name"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <pseudonym> ?pv . ?pv <pred:value> \"Nas\" . [ <pred:fact_h> ?e ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"stage name\" .  }", "answer": "Nas"}, {"question": "Of movies scripted by US citizen Peter Berg, which is shortest?", "choices": ["The Towering Inferno", "Pleasantville", "Rebecca", "Training Day", "Curse of the Golden Flower", "Friday Night Lights", "Very Bad Things", "A Prairie Home Companion", "Talk to Her", "The Losers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of citizenship", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Berg"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["screenwriter", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["duration", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> \"Peter Berg\" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> \"United States of America\" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Losers"}, {"question": "How is Debbie Reynolds related to the description \"White American\"?", "choices": ["ethnic group", "performer", "territory claimed by", "religious order", "military casualty classification", "political alignment", "has contributing factor", "official language", "legal form", "this taxon is source of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Debbie Reynolds"]}, {"function": "Find", "dependencies": [], "inputs": ["White American"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Debbie Reynolds\" . ?e_2 <pred:name> \"White American\" . ?e_1 ?p ?e_2 .  }", "answer": "ethnic group"}, {"question": "Which has a greater duration, Dead Man or The Cassandra Crossing?", "choices": ["The Hunchback of Notre Dame", "Rebecca", "A Prairie Home Companion", "Training Day", "Pleasantville", "The Towering Inferno", "Dead Man", "Curse of the Golden Flower", "Talk to Her", "The Cassandra Crossing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dead Man"]}, {"function": "Find", "dependencies": [], "inputs": ["The Cassandra Crossing"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Dead Man\" .  } UNION { ?e <pred:name> \"The Cassandra Crossing\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Cassandra Crossing"}, {"question": "Which language is used on the website www.aausullivan.org, affiliated with the award established in 1930?", "choices": ["Northern Sotho", "Cook Islands M\u0101ori", "English", "Slavic languages", "Afrikaans", "Yue Chinese", "Bulgarian", "Basque", "J\u00e8rriais", "Serbian"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1930", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.aausullivan.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1930 . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.aausullivan.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Since when did Alice in Wonderland (the one that received Academy Award for Best Production Design) have the exploitative visa number of 125616 ?", "choices": ["2011-11-17", "2010-02-26", "1760", "1875", "1984-09-16", "1923-07-06", "2001", "1989-10-23", "2012-03-28", "2007-04-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Production Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alice in Wonderland"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["exploitation visa number", "125616", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Alice in Wonderland\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Production Design\" .  ?e <exploitation_visa_number> ?pv . ?pv <pred:value> \"125616\" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2010-02-26"}, {"question": "What is the relation of the film Savages (official website is http://www.savagesfilm.com) to Australia (the release region of Margin Call)?", "choices": ["military conflicts", "notable people with this condition", "league", "original language of film or TV show", "organisation directed from the office or person", "manner of death", "film release region", "head coach", "shares border with", "political ideology"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Savages"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.savagesfilm.com"]}, {"function": "Find", "dependencies": [], "inputs": ["Margin Call"]}, {"function": "Relate", "dependencies": [2], "inputs": ["film release region", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Australia"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Savages\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.savagesfilm.com\" . ?e_2 <pred:name> \"Australia\" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> \"Margin Call\" . ?e_1 ?p ?e_2 .  }", "answer": "film release region"}, {"question": "How many anime television series started before 2003?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["start time", "2003", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["anime television series"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"anime television series\" . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2003 ) .  }", "answer": "3"}, {"question": "Which movie is shorter, The Reader (the one whose publication date is 1989-02-09) or Moulin Rouge!?", "choices": ["A Prairie Home Companion", "Talk to Her", "The Reader", "The Towering Inferno", "Training Day", "The Hunchback of Notre Dame", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "Moulin Rouge!"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Reader"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1989-02-09", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Moulin Rouge!"]}, {"function": "SelectBetween", "dependencies": [1, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Reader\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1989-02-09\"^^xsd:date . } UNION { ?e <pred:name> \"Moulin Rouge!\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Reader"}, {"question": "How tall is someone affiliated with the English-language website chrisbrowntherunner.com?", "choices": ["1.69 metre", "168 centimetre", "1.88 metre", "1.735 metre", "1.57 metre", "178 centimetre", "175 centimetre", "74 inch", "179 centimetre", "181 centimetre"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://chrisbrowntherunner.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["height"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://chrisbrowntherunner.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <height> ?pv .  }", "answer": "178 centimetre"}, {"question": "What is the connection between Duff McKagan to bassist?", "choices": ["home venue", "country for sport", "legal form", "derivative work", "occupation", "family", "drug used for treatment", "league", "operating system", "diplomatic relation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Duff McKagan"]}, {"function": "Find", "dependencies": [], "inputs": ["bassist"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Duff McKagan\" . ?e_2 <pred:name> \"bassist\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is To Kill a Mockingbird, released in France, titled The Fairly OddParents ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["France"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["To Kill a Mockingbird"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["title"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["The Fairly OddParents"]}], "sparql": "ASK { ?e <pred:name> \"To Kill a Mockingbird\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"France\" .  ?e <title> ?pv . ?pv <pred:value> \"The Fairly OddParents\" .  }", "answer": "no"}, {"question": "Which television channel's country is the United Kingdom and location is Scotland (the one that is exported to Germany)?", "choices": ["STV", "Dumfries and Galloway", "Sky 1", "Nickelodeon", "MTV2", "Dundee", "BBC HD", "Glasgow", "MyNetworkTV", "Star Plus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television channel"]}, {"function": "Find", "dependencies": [], "inputs": ["Germany"]}, {"function": "Relate", "dependencies": [3], "inputs": ["exported to", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Scotland"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["television channel"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television channel\" . ?e <country> ?e_1 . ?e_1 <pred:name> \"United Kingdom\" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> \"Scotland\" . ?e_2 <exported_to> ?e_3 . ?e_3 <pred:name> \"Germany\" .  }", "answer": "STV"}, {"question": "What was the time of retrieval for the official website of Montgomery County (zip code 20866)at https://www.montgomerycountymd.gov/?", "choices": ["2018-07-30", "2018-03-12", "2017-07-02", "2017-06-05", "2004", "2017-08-13", "2017-08-22", "2017-12-17", "2017-06-02", "2018-03-07"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montgomery County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "20866"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "https://www.montgomerycountymd.gov/", "retrieved"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Montgomery County\" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> \"20866\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.montgomerycountymd.gov/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <retrieved> ?qpv .  }", "answer": "2018-07-30"}, {"question": "Is https://www.jnj.com the official website of Hellas Verona F.C.?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hellas Verona F.C."]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["https://www.jnj.com"]}], "sparql": "ASK { ?e <pred:name> \"Hellas Verona F.C.\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.jnj.com\" .  }", "answer": "no"}, {"question": "What is the work period (start) for the person who is the director of Fear and Loathing in Las Vegas (the one whose genre is autobiography)?", "choices": ["1997", "1936", "1998", "2000", "1999", "1990", "1922", "1830", "1969", "2017"], "program": [{"function": "Find", "dependencies": [], "inputs": ["autobiography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Fear and Loathing in Las Vegas"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["work period (start)"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:name> \"Fear and Loathing in Las Vegas\" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> \"autobiography\" .  ?e <work_period_(start)> ?pv .  }", "answer": "1969"}, {"question": "Is the area of the geographic region with elevation (above sea level) equal to 1343 metre, less than 50 square versta ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "1343 metre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["area"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["50 square versta", "<"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> \"1343\"^^xsd:double . ?e <area> ?pv . ?pv <pred:unit> \"square versta\" . ?pv <pred:value> ?v . FILTER ( ?v < \"50\"^^xsd:double ) .  }", "answer": "no"}, {"question": "What street number was William Blake born in at London (the one whose local dialing code is 1895)?", "choices": ["28", "1818", "17", "25", "430", "550", "94", "1700", "4a", "1211"], "program": [{"function": "Find", "dependencies": [], "inputs": ["William Blake"]}, {"function": "Find", "dependencies": [], "inputs": ["London"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["local dialing code", "1895"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 2], "inputs": ["place of birth", "street number"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"William Blake\" . ?e_2 <pred:name> \"London\" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> \"1895\" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <street_number> ?qpv .  }", "answer": "28"}, {"question": "When was the US city where Jeff Gordon was born founded?", "choices": ["1899", "1603-01-01", "1901-03-01", "1926-07-26", "1821", "1851", "1880-08-10", "1971-09-30", "1839-01-08", "1990-09-08"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Gordon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city of the United States"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of the United States\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Jeff Gordon\" .  ?e <inception> ?pv .  }", "answer": "1851"}, {"question": "How many electronic dance music projects originate from a sovereign country whose official name is Regno Unito di Gran Bretagna e Irlanda del Nord ?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Regno Unito di Gran Bretagna e Irlanda del Nord"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["electronic dance music"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic dance music\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <official_name> ?pv . ?pv <pred:value> \"Regno Unito di Gran Bretagna e Irlanda del Nord\" .   }", "answer": "5"}, {"question": "When was the person whose official website is http://www.omarionworldwide.com/ (the language of this statement is English) born?", "choices": ["1975-03-06", "1979-03-30", "1772-09-18", "1961-04-03", "1936-03-10", "1970-11-07", "1984-11-12", "1971-11-30", "1898-02-21", "1924-10-16"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.omarionworldwide.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.omarionworldwide.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <date_of_birth> ?pv .  }", "answer": "1984-11-12"}, {"question": "Which one, Upstairs, Downstairs or Paris (the one whose end time is 1980-01-15), has less duration?", "choices": ["Bleak House", "Paris", "Six Feet Under", "Saturday Night's Main Event", "Seinfeld", "Game of Thrones", "Upstairs, Downstairs", "American Horror Story", "Phineas and Ferb", "Dancing with the Stars"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Upstairs, Downstairs"]}, {"function": "Find", "dependencies": [], "inputs": ["Paris"]}, {"function": "FilterDate", "dependencies": [1], "inputs": ["end time", "1980-01-15", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Upstairs, Downstairs\" . } UNION { ?e <pred:name> \"Paris\" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> \"1980-01-15\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Paris"}, {"question": "Which person's birth name is Edward John David Redmayne?", "choices": ["Eddie Redmayne", "Sylvester Stallone", "Sam Wood", "Lenny Bruce", "Max Fleischer", "Jimmy Page", "Danny Denzongpa", "Johnny Knoxville", "Antonio Banderas", "William Henry Harrison"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["birth name", "Edward John David Redmayne"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <birth_name> ?pv . ?pv <pred:value> \"Edward John David Redmayne\" .  }", "answer": "Eddie Redmayne"}, {"question": "What is the Munzinger IBA for the twitter username pmharper?", "choices": ["00000025557", "00000000472", "00000017656", "00000011581", "00000016434", "00000028933", "00000024833", "00000004064", "00000021983", "00000020516"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Twitter username", "pmharper"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> \"pmharper\" . ?e <Munzinger_IBA> ?pv .  }", "answer": "00000025557"}, {"question": "Which has less elevation above sea level, Montevideo or Stavanger?", "choices": ["Chihuahua", "Cork", "Bergen", "Stavanger", "Dundee", "Montevideo", "Kilkenny", "Santo Domingo", "Trieste", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Montevideo"]}, {"function": "Find", "dependencies": [], "inputs": ["Stavanger"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Montevideo\" .  } UNION { ?e <pred:name> \"Stavanger\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Stavanger"}, {"question": "What language is https://www.city.ac.uk/, the official website for a higher education institution affiliated with Guildhall School of Music and Drama?", "choices": ["Albanian", "Japanese", "Yaqui", "English", "Canadian French", "Icelandic", "Finnish", "Thai", "Cornish", "Portuguese"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guildhall School of Music and Drama"]}, {"function": "Relate", "dependencies": [0], "inputs": ["affiliation", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "https://www.city.ac.uk/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e_1 <affiliation> ?e . ?e_1 <pred:name> \"Guildhall School of Music and Drama\" .  ?e <official_website> ?pv . ?pv <pred:value> \"https://www.city.ac.uk/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Tell me the city that is San Marino's administrative division (the one which has a population of 31595).", "choices": ["Abidjan", "San Marino", "Kilkenny", "Kingston", "Tijuana", "Santo Domingo", "Bergen", "Srinagar", "Trieste", "Wagga Wagga"], "program": [{"function": "Find", "dependencies": [], "inputs": ["San Marino"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "31595", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["contains administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["city"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"San Marino\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"31595\"^^xsd:double .   }", "answer": "San Marino"}, {"question": "Was the person who died on 2007-10-27 not born in 1923?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of death", "2007-10-27", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1923", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> \"2007-10-27\"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1923 ) .  }", "answer": "yes"}, {"question": "How is the soprano saxophone linked to Sonny Rollins?", "choices": ["godparent", "famous people", "interests", "update method", "distributor", "contributor(s) to the creative work", "country", "notable people with this condition", "Wikidata property", "after a work by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["soprano saxophone"]}, {"function": "Find", "dependencies": [], "inputs": ["Sonny Rollins"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"soprano saxophone\" . ?e_2 <pred:name> \"Sonny Rollins\" . ?e_1 ?p ?e_2 .  }", "answer": "famous people"}, {"question": "When did the university whose official name is \u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd \u0ba4\u0bc7\u0b9a\u0bbf\u0baf \u0baa\u0bb2\u0bcd\u0b95\u0bb2\u0bc8\u0b95\u0bcd\u0b95\u0bb4\u0b95\u0bae\u0bcd have a student count of 34108?", "choices": ["1859-01-01", "1994-03-15", "1957-03-27", "1856", "1906-01-01", "1906", "1688", "2004-05-12", "2015", "1986"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd \u0ba4\u0bc7\u0b9a\u0bbf\u0baf \u0baa\u0bb2\u0bcd\u0b95\u0bb2\u0bc8\u0b95\u0bcd\u0b95\u0bb4\u0b95\u0bae\u0bcd"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["students count", "34108", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd \u0ba4\u0bc7\u0b9a\u0bbf\u0baf \u0baa\u0bb2\u0bcd\u0b95\u0bb2\u0bc8\u0b95\u0bcd\u0b95\u0bb4\u0b95\u0bae\u0bcd\" . ?e <students_count> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"34108\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <students_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Which language is associated with http://www.westorange.org/, the official website of the human settlement whose population is equal to 47390?", "choices": ["Galician", "Icelandic", "Bashkir", "English", "Canadian French", "Afrikaans", "Maltese", "Northern Sotho", "Corsican", "Dutch"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "47390", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human settlement"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.westorange.org/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human settlement\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"47390\"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.westorange.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Does Key West or Jackson (whose year of establishment is 1829) have the larger population?", "choices": ["Compton", "Franklin", "Waukegan", "Greenville", "Jackson", "Boulder", "New Haven", "Lansing", "Oakland", "Columbus"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Key West"]}, {"function": "Find", "dependencies": [], "inputs": ["Jackson"]}, {"function": "FilterYear", "dependencies": [1], "inputs": ["inception", "1829", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Key West\" . } UNION { ?e <pred:name> \"Jackson\" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1829 . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Jackson"}, {"question": "When did Fred Thompson, born in 1973, become a member of Sunderland A.F.C.?", "choices": ["1895-01-01", "2010-09-26", "2014-02-18", "1911-01-17", "1516-01-01", "2018-04-13", "1992-02-05", "1946-12-31", "1982-09-19", "2009-05-19"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fred Thompson"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "1873", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Sunderland A.F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [1, 2], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Fred Thompson\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1873 . ?e_2 <pred:name> \"Sunderland A.F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1895-01-01"}, {"question": "which one has a smaller area, Americas or North America?", "choices": ["Southern California", "Lake District", "Atlantic Canada", "Pacific Ocean", "North America", "Transylvania", "Africa", "Americas", "South America", "Piedmont"], "program": [{"function": "Find", "dependencies": [], "inputs": ["North America"]}, {"function": "Find", "dependencies": [], "inputs": ["Americas"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"North America\" .  } UNION { ?e <pred:name> \"Americas\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "North America"}, {"question": "Which human is different from the human that won the Screen Actors Guild Life Achievement Award in 1988?", "choices": ["Richard Gere", "Subhash Ghai", "Sylvester Stallone", "Fred Astaire", "Jason Robards", "Rahul Dev Burman", "Simon Cowell", "David Byrne", "William Henry Harrison", "Robert Taylor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Screen Actors Guild Life Achievement Award"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "1988", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> \"Screen Actors Guild Life Achievement Award\" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1988 .   }", "answer": "Fred Astaire"}, {"question": "Roger Waters was a member of Pink Floyd until which date?", "choices": ["2006", "1998", "1998-05-18", "1985", "1915-06-12", "1885", "1984", "2008-01-01", "2018-01-01", "1883"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Roger Waters"]}, {"function": "Find", "dependencies": [], "inputs": ["Pink Floyd"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["part of", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Roger Waters\" . ?e_2 <pred:name> \"Pink Floyd\" . ?e_1 <part_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1985"}, {"question": "The person designated by ISNI 0000 0001 1488 9726 was born on which date?", "choices": ["1937-07-06", "1971-09-16", "1973-06-17", "1948-11-20", "1970-09-25", "1958-09-25", "1896-02-29", "1940-09-19", "1964-01-29", "1913-01-26"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 1488 9726"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 1488 9726\" . ?e <date_of_birth> ?pv .  }", "answer": "1971-09-16"}, {"question": "Which place is at a higher elevation above sea level, Turin or Kathmandu?", "choices": ["Bergen", "Kathmandu", "Kilkenny", "Chihuahua", "Trieste", "Dundee", "Santo Domingo", "Cork", "Turin", "Kingston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turin"]}, {"function": "Find", "dependencies": [], "inputs": ["Kathmandu"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["elevation above sea level", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Turin\" .  } UNION { ?e <pred:name> \"Kathmandu\" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Kathmandu"}, {"question": "What is the elevation (above sea level) of the city of New York which is the birthplace of Joseph Campbell (the one that has the religion Catholic Church)  ?", "choices": ["1000 metre", "3404 metre", "65 metre", "448 metre", "95 foot", "99 metre", "177 metre", "382 metre", "137 metre", "561 metre"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Catholic Church"]}, {"function": "Relate", "dependencies": [0], "inputs": ["religion", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Joseph Campbell"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["city of New York"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["elevation above sea level"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city of New York\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Joseph Campbell\" . ?e_1 <religion> ?e_2 . ?e_2 <pred:name> \"Catholic Church\" .  ?e <elevation_above_sea_level> ?pv .  }", "answer": "65 metre"}, {"question": "Was the band formed in Bradford (postal code BD1-BD99) established on 1975-11-25 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bradford"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["postal code", "BD1-BD99"]}, {"function": "Relate", "dependencies": [1], "inputs": ["location of formation", "backward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["band"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyDate", "dependencies": [4], "inputs": ["1975-11-25", "="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"band\" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> \"Bradford\" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> \"BD1-BD99\" . ?e <inception> ?pv . ?pv <pred:date> \"1975-11-25\"^^xsd:date .  }", "answer": "no"}, {"question": "What is the connection between 25th Academy Awards to 24th Academy Awards?", "choices": ["follows", "found", "sex or gender", "mountain range", "hair color", "ethnic group", "coextensive with", "depicted by", "member of sports team", "penalty"], "program": [{"function": "Find", "dependencies": [], "inputs": ["25th Academy Awards"]}, {"function": "Find", "dependencies": [], "inputs": ["24th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"25th Academy Awards\" . ?e_2 <pred:name> \"24th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "follows"}, {"question": "What visual artwork is related to the type of sport whose IPTC Newscode is mediatopic/20000929?", "choices": ["Radio", "Match Point", "A Clockwork Orange", "Wimbledon", "The Man in the Iron Mask", "The Pride of the Yankees", "Days of Thunder", "Ronaldo", "Battlefield Earth", "The Legend of Bagger Vance"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["IPTC Newscode", "mediatopic/20000929"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["type of sport"]}, {"function": "Relate", "dependencies": [2], "inputs": ["sport", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"type of sport\" . ?e_1 <IPTC_Newscode> ?pv . ?pv <pred:value> \"mediatopic/20000929\" .   }", "answer": "The Man in the Iron Mask"}, {"question": "What is the association between FK Austria Wien and Vienna (that is the residence of Karl Popper)?", "choices": ["signatory", "present in work", "candidacy in election", "medical treatment", "said to be the same as", "studied by", "participant", "chairperson", "headquarters location", "parent organization"], "program": [{"function": "Find", "dependencies": [], "inputs": ["FK Austria Wien"]}, {"function": "Find", "dependencies": [], "inputs": ["Karl Popper"]}, {"function": "Relate", "dependencies": [1], "inputs": ["residence", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Vienna"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"FK Austria Wien\" . ?e_2 <pred:name> \"Vienna\" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> \"Karl Popper\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "What is the official website of Entourage (the one that is shot in Los Angeles) ?", "choices": ["https://www.apple.com/cn/macos/", "http://www.northyorks.gov.uk/", "http://www.tonyawards.com/", "http://www.Ghostbusters.com/", "http://www.jameschristianmusic.com/", "http://www.pref.aichi.jp", "https://www.newschool.edu/", "http://www.vangelisworld.com/", "http://www.cbscorporation.com", "http://entouragemovie.com/"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Los Angeles"]}, {"function": "Relate", "dependencies": [0], "inputs": ["filming location", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Entourage"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["official website"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Entourage\" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> \"Los Angeles\" .  ?e <official_website> ?pv .  }", "answer": "http://entouragemovie.com/"}, {"question": "When did Ocean Software publish Platoon?", "choices": ["1988-10-27", "1964-02-14", "2001-11-15", "1999-05-20", "2001-06-22", "1984-09-21", "2006-12-08", "1996-12-06", "1987-01-01", "1967-12-21"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ocean Software"]}, {"function": "Relate", "dependencies": [0], "inputs": ["publisher", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Platoon"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Platoon\" . ?e <publisher> ?e_1 . ?e_1 <pred:name> \"Ocean Software\" .  ?e <publication_date> ?pv .  }", "answer": "1987-01-01"}, {"question": "Does the movie titled There Will Be Blood have a run-time exceeding 5.9 months ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "There Will Be Blood"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["duration"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["5.9 month", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"There Will Be Blood\" . ?e <duration> ?pv . ?pv <pred:unit> \"month\" . ?pv <pred:value> ?v . FILTER ( ?v > \"5.9\"^^xsd:double ) .  }", "answer": "no"}, {"question": "How is Earth, of the official website nature.disney.com/earth, related to the Discovery Channel?", "choices": ["academic degree", "place of publication", "chief executive officer", "parent club", "sibling", "award received", "official religion", "production company", "field of this occupation", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Earth"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://nature.disney.com/earth"]}, {"function": "Find", "dependencies": [], "inputs": ["Discovery Channel"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Earth\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://nature.disney.com/earth\" . ?e_2 <pred:name> \"Discovery Channel\" . ?e_1 ?p ?e_2 .  }", "answer": "production company"}, {"question": "What is the WOEID for the city that is the birthplace of Emilio Estefan?", "choices": ["19649", "1940345", "2469411", "33424", "63817", "41117", "680564", "22619", "2457247", "2345492"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Emilio Estefan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["WOEID"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Emilio Estefan\" .  ?e <WOEID> ?pv .  }", "answer": "63817"}, {"question": "What is the British Museum person-institution of the person who was nominated for an Academy Award for Best Actor for To Kill a Mockingbird?", "choices": ["84427", "191764", "204348", "46042", "127239", "72544", "158196", "41443", "38368", "131655"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actor"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "To Kill a Mockingbird"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["British Museum person-institution"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Actor\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"To Kill a Mockingbird\" . ?e <British_Museum_person-institution> ?pv .  }", "answer": "41443"}, {"question": "Which film has the shorter running time, Cleopatra (released on 1970-01-01) or Priest (produced by BBC Films)?", "choices": ["A Prairie Home Companion", "Rebecca", "The Towering Inferno", "Pleasantville", "Training Day", "Priest", "Curse of the Golden Flower", "Cleopatra", "The Hunchback of Notre Dame", "Talk to Her"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cleopatra"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["publication date", "1970-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["BBC Films"]}, {"function": "Relate", "dependencies": [2], "inputs": ["production company", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Priest"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Cleopatra\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1970-01-01\"^^xsd:date . } UNION { ?e <pred:name> \"Priest\" . ?e <production_company> ?e_1 . ?e_1 <pred:name> \"BBC Films\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Priest"}, {"question": "What area of water has a depth vertically of 1233 meters?", "choices": ["North Sea", "Malcolm in the Middle", "Green Bay", "Mediterranean Sea", "English Channel", "Aegean Sea", "Adriatic Sea", "Caribbean Sea", "Guitar Hero III: Legends of Rock", "Kaboom"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["vertical depth", "1233 metre", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["water area"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"water area\" . ?e <vertical_depth> ?pv . ?pv <pred:unit> \"metre\" . ?pv <pred:value> \"1233\"^^xsd:double .  }", "answer": "Adriatic Sea"}, {"question": "How many electronic dance pieces of music were created after 1988?", "choices": ["9", "10", "11", "12", "13", "14", "15", "16", "17", "18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["inception", "1988", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["electronic dance music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"electronic dance music\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1988 ) .  }", "answer": "10"}, {"question": "How many American football positions have the name QR for short and are the placement of Brian Jones who is a member of the New England Patriots?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["short name", "QR"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["American football position"]}, {"function": "Find", "dependencies": [], "inputs": ["New England Patriots"]}, {"function": "Relate", "dependencies": [3], "inputs": ["member of sports team", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Brian Jones"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["position played on team / speciality", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["American football position"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "Count", "dependencies": [9], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football position\" . ?e <short_name> ?pv . ?pv <pred:value> \"QR\" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> \"Brian Jones\" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> \"New England Patriots\" .  }", "answer": "0"}, {"question": "Which has the largest area in the geographic region that is a part of Asia (the continent that includes Kazakhstan)?", "choices": ["South America", "Southern California", "Lake District", "Pacific Ocean", "Middle East", "Transylvania", "Southeast Asia", "Antarctica", "Africa", "Atlantic Canada"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kazakhstan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["continent", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Asia"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["has part", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["geographic region"]}, {"function": "SelectAmong", "dependencies": [5], "inputs": ["area", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e_1 <has_part> ?e . ?e_1 <pred:name> \"Asia\" . ?e_2 <continent> ?e_1 . ?e_2 <pred:name> \"Kazakhstan\" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Middle East"}, {"question": "What television series included Steve Allen in the cast?", "choices": ["The Ultimate Fighter", "Buffy the Vampire Slayer", "American Masters", "Rosemary's Baby", "The Path to 9/11", "Angel", "Twin Peaks", "Bleak House", "Robot Chicken", "Game of Thrones"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Steve Allen"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["television series"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"television series\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Steve Allen\" .   }", "answer": "American Masters"}, {"question": "Chris Waddle had how many match appearances as a member of Sheffield Wednesday F.C.?", "choices": ["11", "86", "109", "170", "135", "334", "131", "227", "2", "134"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Waddle"]}, {"function": "Find", "dependencies": [], "inputs": ["Sheffield Wednesday F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "number of matches played/races/starts"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Chris Waddle\" . ?e_2 <pred:name> \"Sheffield Wednesday F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <number_of_matches_played/races/starts> ?qpv .  }", "answer": "109"}, {"question": "Is the Instagram username of the human that won a Latin Grammy Award for Best Male Pop Vocal Album in 2007 aaajoficial?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin Grammy Award for Best Male Pop Vocal Album"]}, {"function": "Relate", "dependencies": [0], "inputs": ["winner", "forward"]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2007", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Instagram username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["aaajoficial"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <winner> ?e . ?e_1 <pred:name> \"Latin Grammy Award for Best Male Pop Vocal Album\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2007 . ?e <Instagram_username> ?pv . ?pv <pred:value> \"aaajoficial\" .  }", "answer": "no"}, {"question": "Does the partner of Matt Dillon have a Munzinger IBA equal to 00000014585?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Matt Dillon"]}, {"function": "Relate", "dependencies": [0], "inputs": ["partner", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000014585"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <partner> ?e_1 . ?e_1 <pred:name> \"Matt Dillon\" .  ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000014585\" .  }", "answer": "no"}, {"question": "Which language is associated with http://www.blade2.com/, the official website of the visual artwork whose title is Blade II?", "choices": ["English", "Xhosa", "Armenian", "Montenegrin", "Eastern Armenian", "Indonesian", "Polish", "Thai", "Old English", "Tlingit"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Blade II"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.blade2.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Blade II\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.blade2.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "The visual artwork titled \u0915\u0932 \u0939\u094b \u0928\u093e \u0939\u094b was published on 2004-07-08 in what location?", "choices": ["Colombia", "West Germany", "Malaysia", "United Kingdom", "Davao City", "German Democratic Republic", "Venice Film Festival", "United Arab Emirates", "Germany", "Vietnam"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "\u0915\u0932 \u0939\u094b \u0928\u093e \u0939\u094b"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2004-07-08", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"\u0915\u0932 \u0939\u094b \u0928\u093e \u0939\u094b\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2004-07-08\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Tell me the province of the Netherlands that has the capital of the city that has the NUTS code is NL324", "choices": ["North Holland", "Gelderland", "Limburg", "Zeeland", "Utrecht", "North Brabant", "South Holland", "Friesland", "Drenthe", "Overijssel"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["NUTS code", "NL324"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital of", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["province of the Netherlands"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"province of the Netherlands\" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"city\" . ?e_1 <NUTS_code> ?pv . ?pv <pred:value> \"NL324\" .   }", "answer": "North Holland"}, {"question": "Was horror punk invented prior to 1962 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["horror punk"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1962", "<"]}], "sparql": "ASK { ?e <pred:name> \"horror punk\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1962 ) .  }", "answer": "no"}, {"question": "What is the subject of the statement 'nominated for' in 'Sunset Boulevard (the one that was nominated for Academy Award for Best Supporting Actress) was nominated for Academy Award for Best Picture ?", "choices": ["Turkey\u2013Ukraine relations", "Austria\u2013Bangladesh relations", "Georgia\u2013Italy relations", "23rd Academy Awards", "Israel\u2013Singapore relations", "Confoederatio Helvetica", "Colorado\u2013Kansas border", "Canada\u2013Romania relations", "Moldova\u2013Spain relations", "60th Academy Awards"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Supporting Actress"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Sunset Boulevard"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Sunset Boulevard\" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> \"Academy Award for Best Supporting Actress\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "23rd Academy Awards"}, {"question": "For the college town whose official name is \u03a4\u03ac\u03c1\u03c4\u03bf\u03c5, what is the time point for its area of 38.97 square kilometres?", "choices": ["1993-12-23", "1996-01-01", "1886", "1840-12-03", "2001-02-21", "2016-12-31", "1735", "1190", "1997-07-16", "2008-05-07"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "\u03a4\u03ac\u03c1\u03c4\u03bf\u03c5"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["college town"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["area", "38.97 square kilometre", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"college town\" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> \"\u03a4\u03ac\u03c1\u03c4\u03bf\u03c5\" . ?e <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"38.97\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2016-12-31"}, {"question": "What is the relationship between Litchfield County to United States of America?", "choices": ["country", "contributor(s) to the creative work", "office held by head of government", "manner of death", "occupant", "chief executive officer", "is a list of", "field of work", "discoverer or inventor", "highest judicial authority"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Litchfield County"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Litchfield County\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Is 00000025249 the Munzinger IBA for the person whose ISNI is 0000 0000 7100 6267?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0000 7100 6267"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Munzinger IBA"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["00000025249"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0000 7100 6267\" . ?e <Munzinger_IBA> ?pv . ?pv <pred:value> \"00000025249\" .  }", "answer": "yes"}, {"question": "Does ISO 3166-2 code FR-77 correspond to Great Britain ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Great Britain"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["ISO 3166-2 code"]}, {"function": "VerifyStr", "dependencies": [1], "inputs": ["FR-77"]}], "sparql": "ASK { ?e <pred:name> \"Great Britain\" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> \"FR-77\" .  }", "answer": "no"}, {"question": "What is the ending date that James K. Polk holds the position of speaker of the United States House of Representatives?", "choices": ["1949-12-07", "1933-01-30", "1975-12-04", "1839-03-04", "1947-06-21", "1956-10-20", "1845-03-10", "1912-05-15", "1665", "1813"], "program": [{"function": "Find", "dependencies": [], "inputs": ["James K. Polk"]}, {"function": "Find", "dependencies": [], "inputs": ["speaker of the United States House of Representatives"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["position held", "end time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"James K. Polk\" . ?e_2 <pred:name> \"speaker of the United States House of Representatives\" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }", "answer": "1839-03-04"}, {"question": "What date did the Fort Lauderdale Strikers, officially named the Miami FC, start?", "choices": ["2006", "2005-10-24", "1961-12-09", "1994-07-01", "2015-01-05", "2011-07-13", "1967-07-27", "1581-07-16", "1993", "1934"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Fort Lauderdale Strikers"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["official name", "Miami FC", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Fort Lauderdale Strikers\" . ?e <official_name> ?pv . ?pv <pred:value> \"Miami FC\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2006"}, {"question": "What is the ISNI for the person who was nominated for an Academy Award for Best Animated Feature at the 84th Academy Awards?", "choices": ["0000 0001 2299 7436", "0000 0001 2099 9171", "0000 0001 1026 2117", "0000 0004 0437 9847", "0000 0000 7848 144X", "0000 0001 0879 4691", "0000 0000 6301 9148", "0000 0000 4354 3057", "0000 0001 1443 3876", "0000 0001 1028 536X"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Animated Feature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "84th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["ISNI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Animated Feature\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"84th Academy Awards\" . ?e <ISNI> ?pv .  }", "answer": "0000 0000 6301 9148"}, {"question": "How many food ingredients have the nutrient DL-lysine?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["DL-lysine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nutrient", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["food ingredient"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"food ingredient\" . ?e <nutrient> ?e_1 . ?e_1 <pred:name> \"DL-lysine\" .   }", "answer": "5"}, {"question": "When did guitarist John Bailey die?", "choices": ["1995-02-21", "2011-07-20", "1969-01-01", "1983-05-01", "1931-01-01", "2016-04-21", "1980-04-29", "2018-11-24", "2016-12-27", "1982-08-29"], "program": [{"function": "Find", "dependencies": [], "inputs": ["guitar"]}, {"function": "Relate", "dependencies": [0], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Bailey"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["date of death"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"John Bailey\" . ?e <instrument> ?e_1 . ?e_1 <pred:name> \"guitar\" .  ?e <date_of_death> ?pv .  }", "answer": "2011-07-20"}, {"question": "Is A Simple Life or Scream 2 the longer work?", "choices": ["A Prairie Home Companion", "The Towering Inferno", "Rebecca", "Pleasantville", "Training Day", "Talk to Her", "A Simple Life", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Scream 2"], "program": [{"function": "Find", "dependencies": [], "inputs": ["A Simple Life"]}, {"function": "Find", "dependencies": [], "inputs": ["Scream 2"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"A Simple Life\" .  } UNION { ?e <pred:name> \"Scream 2\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Scream 2"}, {"question": "When was the household count 958035 in the administrative territorial entity with a rural population over 700000?", "choices": ["2011-01-01", "2017-04-01", "2000-10-11", "1999-12-31", "1780", "1990-02-14", "2017-02-13", "1840-12-01", "2003-02-01", "1929-01-01"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["rural population", "700000", ">"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["number of households", "958035", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <rural_population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > \"700000\"^^xsd:double ) . ?e <number_of_households> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"958035\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_households> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-01-01"}, {"question": "At what point in time did George Clooney receive a Golden Globe Cecil B. DeMille Award?", "choices": ["1846-12-01", "2015", "1450", "1993-01-01", "1660", "2016-08-01", "2003-03-01", "1650", "2001-09-19", "1100"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Clooney"]}, {"function": "Find", "dependencies": [], "inputs": ["Golden Globe Cecil B. DeMille Award"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"George Clooney\" . ?e_2 <pred:name> \"Golden Globe Cecil B. DeMille Award\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Tommy, released in the Philippines, was up for an Academy Award for which Best Actress nominee?", "choices": ["Ken Muggleston", "John Mills", "David Brenner", "Finola Dwyer", "David Valdes", "Dan Janvey", "Ann-Margret", "John Osborne", "Robert Evans", "Stuart Wilson"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Philippines"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Tommy"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Actress"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Tommy\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Philippines\" . ?e_2 <pred:name> \"Academy Award for Best Actress\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "Ann-Margret"}, {"question": "Is SandraBernard the Twitter username for the person who received the London Film Critics Circle Award for Actress of the Year for their work in King Kong?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["London Film Critics Circle Award for Actress of the Year"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "King Kong"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Twitter username"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["SandraBernhard"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"London Film Critics Circle Award for Actress of the Year\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"King Kong\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"SandraBernhard\" .  }", "answer": "no"}, {"question": "Was the CWA New Blood Dagger established more recently than 1840 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["CWA New Blood Dagger"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [1], "inputs": ["1840", ">"]}], "sparql": "ASK { ?e <pred:name> \"CWA New Blood Dagger\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1840 ) .  }", "answer": "yes"}, {"question": "What is the connection between Nevada (the one whose duration is 62 minute) to Robert Mitchum?", "choices": ["make-up artist", "sponsor", "cast member", "part of the series", "general manager", "head of government", "uses", "original network", "languages spoken, written or signed", "has immediate cause"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nevada"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["duration", "62 minute", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Mitchum"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Nevada\" . ?e_1 <duration> ?pv . ?pv <pred:unit> \"minute\" . ?pv <pred:value> \"62\"^^xsd:double . ?e_2 <pred:name> \"Robert Mitchum\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "How many novels originate in the USA or open with the sentence: \"When he was nearly thirteen, my brother Jem got his arm badly broken at the elbow.\"?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["novel"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["first line", "When he was nearly thirteen, my brother Jem got his arm badly broken at the elbow."]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["novel"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"novel\" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  } UNION { ?e <first_line> ?pv . ?pv <pred:value> \"When he was nearly thirteen, my brother Jem got his arm badly broken at the elbow.\" .  } }", "answer": "5"}, {"question": "Did Heaven's Gate or The Shawshank Redemption perform better at the box office?", "choices": ["A Prairie Home Companion", "Training Day", "The Towering Inferno", "Heaven's Gate", "The Hunchback of Notre Dame", "The Fifth Element", "Curse of the Golden Flower", "Rebecca", "Talk to Her", "The Shawshank Redemption"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Heaven's Gate"]}, {"function": "Find", "dependencies": [], "inputs": ["The Shawshank Redemption"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Heaven's Gate\" .  } UNION { ?e <pred:name> \"The Shawshank Redemption\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Shawshank Redemption"}, {"question": "Is the FIPS 6-4 (US counties) 20045 for the administrative territorial entity whose population is 111274 in 2010?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "111274", "="]}, {"function": "QFilterYear", "dependencies": [1], "inputs": ["point in time", "2010", "="]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["administrative territorial entity"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["FIPS 6-4 (US counties)"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["20045"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"administrative territorial entity\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"111274\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> \"20045\" .  }", "answer": "yes"}, {"question": "Which person is on a house music recording label?", "choices": ["John Barry", "Richard Gere", "William Henry Harrison", "Lenny Kravitz", "Irrfan Khan", "Max Fleischer", "Meat Loaf", "Linus Pauling", "Bing Crosby", "Eddie Murphy"], "program": [{"function": "Find", "dependencies": [], "inputs": ["house music"]}, {"function": "Relate", "dependencies": [0], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <record_label> ?e_1 . ?e_1 <pred:name> \"house music\" .   }", "answer": "Meat Loaf"}, {"question": "What is the uniform number of LeBron James who is a member of the Miami Heat sports team?", "choices": ["3", "6", "26", "17", "2", "29", "23", "11", "20", "33"], "program": [{"function": "Find", "dependencies": [], "inputs": ["LeBron James"]}, {"function": "Find", "dependencies": [], "inputs": ["Miami Heat"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "sport number"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"LeBron James\" . ?e_2 <pred:name> \"Miami Heat\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <sport_number> ?qpv .  }", "answer": "6"}, {"question": "What is the connection between Frank Miller (the one whose date of birth is 1891-01-01) to United Kingdom?", "choices": ["month of the year", "vehicle normally used", "history of topic", "family", "conflict", "named after", "patron saint", "country of citizenship", "exclave of", "symptom of"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Frank Miller"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1891-01-01", "="]}, {"function": "Find", "dependencies": [], "inputs": ["United Kingdom"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Frank Miller\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> \"1891-01-01\"^^xsd:date . ?e_2 <pred:name> \"United Kingdom\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "How many counties in Ohio share a border with the county of Ohio that have an ISNI of 0000 0004 0579 3599?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0579 3599"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Ohio"]}, {"function": "Relate", "dependencies": [2], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["county of Ohio"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Ohio\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"county of Ohio\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0004 0579 3599\" .   }", "answer": "2"}, {"question": "Which movie is shorter, Savages (the one whose release region is Turkey) or Milan (the one whose publication date is 1967-01-01)?", "choices": ["Milan", "The Fifth Element", "Curse of the Golden Flower", "Training Day", "The Towering Inferno", "Talk to Her", "A Prairie Home Companion", "The Hunchback of Notre Dame", "Savages", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turkey"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Savages"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Milan"]}, {"function": "FilterDate", "dependencies": [4], "inputs": ["publication date", "1967-01-01", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Savages\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Turkey\" . } UNION { ?e <pred:name> \"Milan\" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> \"1967-01-01\"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Savages"}, {"question": "What person is the director of the animated feature film having the official website http://www.simpsonsmovie.com/?", "choices": ["Marion Cotillard", "Sylvester Stallone", "Max Fleischer", "Andrew Stanton", "Chris Evans", "Brad Bird", "Pete Docter", "Steven Spielberg", "Vincent van Gogh", "David Silverman"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.simpsonsmovie.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "Relate", "dependencies": [2], "inputs": ["director", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["human"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <director> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"animated feature film\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://www.simpsonsmovie.com/\" .   }", "answer": "David Silverman"}, {"question": "What was the American football team where the person with the ISNI is 0000 0001 0875 3486 was a member until 1999?", "choices": ["California Golden Bears football", "Chicago Bears", "Oklahoma Sooners football", "Detroit Lions", "Miami Dolphins", "Atlanta Falcons", "Jacksonville Jaguars", "Carolina Panthers", "New England Patriots", "Buffalo Bills"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 0875 3486"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["member of sports team", "forward"]}, {"function": "QFilterYear", "dependencies": [3], "inputs": ["end time", "1999", "="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["American football team"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"American football team\" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <ISNI> ?pv . ?pv <pred:value> \"0000 0001 0875 3486\" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1999 .  }", "answer": "Jacksonville Jaguars"}, {"question": "Was the Academy Awards one, whose English official website is  http://oscars.org/, created in a year other than 1887 ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://oscars.org/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["Academy Awards"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1887", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"Academy Awards\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://oscars.org/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1887 ) .  }", "answer": "yes"}, {"question": "How is Michigan State University alumnus Walter Hill related to the role of film director?", "choices": ["characters", "game mode", "subsidiary", "founded by", "said to be the same as", "hair color", "official language", "language of work or name", "occupation", "location of formation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Michigan State University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Walter Hill"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["film director"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Walter Hill\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Michigan State University\" . ?e_2 <pred:name> \"film director\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Is a female citizen called a Mauritana person in the region of Italy that contains the Province of Naples?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Province of Naples"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["demonym", "applies to part", "feminine singular"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["mauritana"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Province of Naples\" .  ?e <demonym> ?pv . ?pv <pred:value> \"mauritana\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> \"feminine singular\" .  }", "answer": "no"}, {"question": "What is the connection between George Hopkins to 37th Academy Awards?", "choices": ["award received", "inspired by", "shares border with", "drafted by", "has parts of the class", "quotes work", "exclave of", "licensed to broadcast to", "copyright representative", "allegiance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["George Hopkins"]}, {"function": "Find", "dependencies": [], "inputs": ["37th Academy Awards"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"George Hopkins\" . ?e_2 <pred:name> \"37th Academy Awards\" . ?e_1 ?p ?e_2 .  }", "answer": "award received"}, {"question": "What is the connection between Studio City to United States of America?", "choices": ["soundtrack album", "award disciplines or subjects", "country", "publisher", "professorship", "commissioned by", "located in or next to body of water", "statistical leader", "afflicts", "airline alliance"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Studio City"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Studio City\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "How many counties in Michigan either use the subreddit OaklandCounty or share a border with Macomb County?", "choices": ["3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "OaklandCounty"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Michigan"]}, {"function": "Find", "dependencies": [], "inputs": ["Macomb County"]}, {"function": "Relate", "dependencies": [3], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Michigan"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Michigan\" .  { ?e <subreddit> ?pv . ?pv <pred:value> \"OaklandCounty\" .  } UNION { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Macomb County\" .  } }", "answer": "3"}, {"question": "Who with an ISNI of 0000 0000 5938 2964 was nominated for a 47th Academy Award for Best Cinematography?", "choices": ["Rahul Dev Burman", "Geoffrey Unsworth", "Sylvester Stallone", "William Henry Harrison", "Max Fleischer", "Richard Gere", "Simon Cowell", "Joseph F. Biroc", "David Byrne", "James E. Reilly"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Cinematography"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["statement is subject of", "47th Academy Awards"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [4], "inputs": ["ISNI", "0000 0000 5938 2964"]}, {"function": "FilterConcept", "dependencies": [5], "inputs": ["human"]}, {"function": "And", "dependencies": [3, 6], "inputs": []}, {"function": "What", "dependencies": [7], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Cinematography\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> \"47th Academy Awards\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 5938 2964\" .  }", "answer": "Joseph F. Biroc"}, {"question": "How many contemporary folk musics are associated with Peter Coyote?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Peter Coyote"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["contemporary folk music"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"contemporary folk music\" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> \"Peter Coyote\" .   }", "answer": "0"}, {"question": "I want to know the publication date for the miniseries that features Stacy Keach in the cast.", "choices": ["2009-07-06", "1976-01-14", "2005-01-13", "2001-03-30", "1971-02-03", "1967-07-26", "1977-01-01", "1980-11-21", "1973-10-19", "2007-04-20"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Stacy Keach"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["miniseries"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"miniseries\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Stacy Keach\" .  ?e <publication_date> ?pv .  }", "answer": "1977-01-01"}, {"question": "How many artist renditions are different from the musical composition whose famous person is Richard Rodney Bennett?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Rodney Bennett"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["musical composition"]}, {"function": "Relate", "dependencies": [2], "inputs": ["different from", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["art"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"art\" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"musical composition\" . ?e_1 <famous_people> ?e_3 . ?e_3 <pred:name> \"Richard Rodney Bennett\" .   }", "answer": "1"}, {"question": "Which has fewer episodes, The Mickey Mouse Club or Merlin whose number of seasons is 1?", "choices": ["The Civil War", "George Washington", "The Mickey Mouse Club", "Merlin", "The Diary of Anne Frank", "Battlestar Galactica", "Roots", "Edge of Darkness", "The Stand", "The Ten Commandments"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Mickey Mouse Club"]}, {"function": "Find", "dependencies": [], "inputs": ["Merlin"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["number of seasons", "1", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["number of episodes", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Mickey Mouse Club\" . } UNION { ?e <pred:name> \"Merlin\" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"1\"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Merlin"}, {"question": "Which one among the census-designated places, with the population of more or less than 110,000, is the highest above sea level?", "choices": ["Towson", "Stanford", "McLean", "Nye County", "Chicago Hope", "Silver Spring", "Nigeria", "Bethesda", "ECW Hardcore TV", "Independence"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "110000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["census-designated place"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"census-designated place\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"110000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Independence"}, {"question": "What white chemical compound is the largest?", "choices": ["thiamine ion", "palmitic acid", "L-alanine", "L-Leucine", "cis-oleic acid", "capric acid", "L-Valine", "L-Arginine", "sucrose", "stearic acid"], "program": [{"function": "Find", "dependencies": [], "inputs": ["white"]}, {"function": "Relate", "dependencies": [0], "inputs": ["color", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["chemical compound"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["mass", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"chemical compound\" . ?e <color> ?e_1 . ?e_1 <pred:name> \"white\" .  ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "stearic acid"}, {"question": "When did News Corporation first take ownership of 20th Century Fox?", "choices": ["2011-02-15", "1999-01-31", "1899-10-11", "1988-02-24", "1992-06-01", "1508-01-01", "1984", "1999-09-23", "1989-12-27", "1960-10-15"], "program": [{"function": "Find", "dependencies": [], "inputs": ["20th Century Fox"]}, {"function": "Find", "dependencies": [], "inputs": ["News Corporation"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["owned by", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"20th Century Fox\" . ?e_2 <pred:name> \"News Corporation\" . ?e_1 <owned_by> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <owned_by> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1984"}, {"question": "The demonym umbro applies to which part of Umbria?", "choices": ["18th arrondissement of Paris", "Torchwood, season 3", "Partille Municipality", "Iron County", "European Kazakhstan", "trademark", "governor", "10th arrondissement of Paris", "'Asir Region", "masculine singular"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Umbria"]}, {"function": "QueryAttrQualifier", "dependencies": [0], "inputs": ["demonym", "umbro", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Umbria\" . ?e <demonym> ?pv . ?pv <pred:value> \"umbro\" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "masculine singular"}, {"question": "For which work did Jack Warner (who is in the ethnic group of Jewish people) receive an Academy Award for Best Picture?", "choices": ["Sudan\u2013United States relations", "Namibia\u2013Zambia border", "37th Academy Awards", "Albania\u2013Pakistan relations", "Taiwan\u2013Turkey relations", "Canada\u2013South Africa relations", "Mozambique\u2013Taiwan relations", "53rd British Academy Film Awards", "Ecuador\u2013Iran relations", "Lithuania\u2013Russia border"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jewish people"]}, {"function": "Relate", "dependencies": [0], "inputs": ["ethnic group", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Warner"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Picture"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Jack Warner\" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> \"Jewish people\" . ?e_2 <pred:name> \"Academy Award for Best Picture\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "37th Academy Awards"}, {"question": "Which university has more students, University of Tasmania or University of Oregon?", "choices": ["McMaster University", "Panjab University", "University of Oregon", "University of Michigan", "University of Queensland", "University of Tasmania", "San Diego State University", "King's College London", "University of Hamburg", "Birkbeck, University of London"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Tasmania"]}, {"function": "Find", "dependencies": [], "inputs": ["University of Oregon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["students count", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"University of Tasmania\" .  } UNION { ?e <pred:name> \"University of Oregon\" .  } ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "University of Tasmania"}, {"question": "Does the person whose CANTIC-ID is a12101126 have at least one child?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a12101126"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["number of children"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["0", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a12101126\" . ?e <number_of_children> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"0\"^^xsd:double ) .  }", "answer": "yes"}, {"question": "What is the relationship between The Wings of the Dove (the one whose title is Les Ailes de la colombe) and Isabelle Huppert?", "choices": ["cast member", "parent organization", "place of origin (Switzerland)", "risk factor", "natural product of taxon", "contains administrative territorial entity", "chairperson", "found", "killed by", "theme music"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Wings of the Dove"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Les Ailes de la colombe"]}, {"function": "Find", "dependencies": [], "inputs": ["Isabelle Huppert"]}, {"function": "QueryRelation", "dependencies": [1, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Wings of the Dove\" . ?e_1 <title> ?pv . ?pv <pred:value> \"Les Ailes de la colombe\" . ?e_2 <pred:name> \"Isabelle Huppert\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What does Saddam Hussein have to do with president (which is also the position of Donald M. Payne)?", "choices": ["has quality", "found", "has edition", "airline alliance", "nutrient", "permanent resident of", "screenwriter", "family", "platform", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Saddam Hussein"]}, {"function": "Find", "dependencies": [], "inputs": ["Donald M. Payne"]}, {"function": "Relate", "dependencies": [1], "inputs": ["position held", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["president"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Saddam Hussein\" . ?e_2 <pred:name> \"president\" . ?e_3 <position_held> ?e_2 . ?e_3 <pred:name> \"Donald M. Payne\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Charlotte is the native label applied to how many feminine first names?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Charlotte"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["female given name"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"female given name\" . ?e <native_label> ?pv . ?pv <pred:value> \"Charlotte\" .  }", "answer": "1"}, {"question": "Did the New York county with PermID 5035752533 have a population different than 3100 as of 2012-07-01?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["PermID", "5035752533"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of New York"]}, {"function": "QueryAttrUnderCondition", "dependencies": [2], "inputs": ["population", "point in time", "2012-07-01"]}, {"function": "VerifyNum", "dependencies": [3], "inputs": ["3100", "!="]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> \"5035752533\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"3100\"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> \"2012-07-01\"^^xsd:date .  }", "answer": "yes"}, {"question": "How many songs originated in the United States of America and were published after 1922?", "choices": ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country of origin", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["song"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "1922", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["song"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"song\" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> \"United States of America\" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1922 ) .  }", "answer": "5"}, {"question": "How large is the work staff of the higher education institution in Swansea?", "choices": ["47756", "272", "12158", "40", "32480", "8000", "2300", "2500", "392305", "1002"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Swansea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["employees"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Swansea\" .  ?e <employees> ?pv .  }", "answer": "2500"}, {"question": "From Bremen (the one that is the twinned administrative body of \u0130zmir) what is the relationship with Lower Saxony", "choices": ["designed by", "color", "enclave within", "official color", "has contributing factor", "located in time zone", "head of government", "musical conductor", "copyright representative", "properties for this type"], "program": [{"function": "Find", "dependencies": [], "inputs": ["\u0130zmir"]}, {"function": "Relate", "dependencies": [0], "inputs": ["twinned administrative body", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Bremen"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Lower Saxony"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Bremen\" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> \"\u0130zmir\" . ?e_2 <pred:name> \"Lower Saxony\" . ?e_1 ?p ?e_2 .  }", "answer": "enclave within"}, {"question": "How does Avatar: The Last Airbender (featuring Dee Bradley Baker as a voice actor) relate to Mae Whitman?", "choices": ["narrative role", "terminus", "located in or next to body of water", "highest judicial authority", "time period", "voice actor", "twinned administrative body", "production company", "sex or gender", "conferred by"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Dee Bradley Baker"]}, {"function": "Relate", "dependencies": [0], "inputs": ["voice actor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Avatar: The Last Airbender"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Mae Whitman"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Avatar: The Last Airbender\" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> \"Dee Bradley Baker\" . ?e_2 <pred:name> \"Mae Whitman\" . ?e_1 ?p ?e_2 .  }", "answer": "voice actor"}, {"question": "What is the connection between Colin Wilson (the one whose position is defender) to Raith Rovers F.C.?", "choices": ["official religion", "location", "field of work", "conferred by", "member of sports team", "shares border with", "presenter", "depicts", "language of work or name", "partially contains"], "program": [{"function": "Find", "dependencies": [], "inputs": ["defender"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Colin Wilson"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Raith Rovers F.C."]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Colin Wilson\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"defender\" . ?e_2 <pred:name> \"Raith Rovers F.C.\" . ?e_1 ?p ?e_2 .  }", "answer": "member of sports team"}, {"question": "What is the connection between John Frink to United States of America?", "choices": ["characters", "professorship", "organisation directed from the office or person", "country of citizenship", "owner of", "commissioned by", "permanent resident of", "health specialty", "contributor(s) to the creative work", "programming language"], "program": [{"function": "Find", "dependencies": [], "inputs": ["John Frink"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Frink\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "Which film's publication date is before 2006 and official website is http://www.warnerbros.com/movies/home-entertainment/seven-brides-for-seven-brothers/aafaf375-4570-4b01-9588-49c602bbe9fa.html?", "choices": ["Talk to Her", "Rebecca", "A Prairie Home Companion", "Vera Drake", "Paris", "Pleasantville", "Seven Brides for Seven Brothers", "Transamerica", "Fist of the North Star", "Big Fish"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["publication date", "2006", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.warnerbros.com/movies/home-entertainment/seven-brides-for-seven-brothers/aafaf375-4570-4b01-9588-49c602bbe9fa.html"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.warnerbros.com/movies/home-entertainment/seven-brides-for-seven-brothers/aafaf375-4570-4b01-9588-49c602bbe9fa.html\" .  }", "answer": "Seven Brides for Seven Brothers"}, {"question": "How is Jeff Garlin related to the profession of voice actor?", "choices": ["student of", "works in collection", "depicts", "author", "indigenous to", "depicted by", "occupant", "has parts of the class", "executive producer", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jeff Garlin"]}, {"function": "Find", "dependencies": [], "inputs": ["voice actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jeff Garlin\" . ?e_2 <pred:name> \"voice actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Which one has less duration, Led Zeppelin (the one whose official website is http://discography.ledzeppelin.com/disc_lz1.html) or Peter Gabriel (the one that uses the language English)?", "choices": ["Shakira", "Friends", "Led Zeppelin", "Bedtime Stories", "Illinois", "The Beatles", "Peter Gabriel", "Neil Young", "Metallica", "David Bowie"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Led Zeppelin"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://discography.ledzeppelin.com/disc_lz1.html"]}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [2], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Peter Gabriel"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "SelectBetween", "dependencies": [1, 5], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Led Zeppelin\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://discography.ledzeppelin.com/disc_lz1.html\" . } UNION { ?e <pred:name> \"Peter Gabriel\" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"English\" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Led Zeppelin"}, {"question": "What does Will Smith (who was educated at Ohio State University) have to do with Queens?", "choices": ["month of the year", "enclave within", "operating system", "main food source", "named after", "place of birth", "official language", "professional or sports partner", "language of work or name", "geography of topic"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ohio State University"]}, {"function": "Relate", "dependencies": [0], "inputs": ["educated at", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Will Smith"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Queens"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Will Smith\" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> \"Ohio State University\" . ?e_2 <pred:name> \"Queens\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Jack Nicholson is cast as which character on Reds?", "choices": ["Liz Lemon", "Eugene O'Neill", "Lestat de Lioncourt", "Hellboy", "Gregory House", "Ally McBeal", "Jack Campbell", "Randall Boggs", "Tyrion Lannister", "Ryan Howard"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Reds"]}, {"function": "Find", "dependencies": [], "inputs": ["Jack Nicholson"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Reds\" . ?e_2 <pred:name> \"Jack Nicholson\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Eugene O'Neill"}, {"question": "What language is associated with the creative work for Cumberland County's (the one whose FIPS 6-4 (US counties) is 42041), official website, http://www.ccpa.net?", "choices": ["Romanian", "Armenian", "Danish", "Icelandic", "Norwegian", "English", "Italian", "Indian English", "Wolof", "Slovene"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Cumberland County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["FIPS 6-4 (US counties)", "42041"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["official website", "http://www.ccpa.net", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Cumberland County\" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> \"42041\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.ccpa.net\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did the region of Italy whose demonym is sardos have the NUTS code ITG", "choices": ["2003-07-01", "1978-03-01", "1793", "1790-07-16", "1866-08-23", "1790-03-04", "1884-01-01", "2004-08-13", "2013-07-22", "1818-12-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["demonym", "sardos"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["region of Italy"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["NUTS code", "ITG2", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"region of Italy\" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> \"sardos\" . ?e <NUTS_code> ?pv . ?pv <pred:value> \"ITG2\" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv .  }", "answer": "2003-07-01"}, {"question": "Which IPI name number refers to Joseph Campbell, born on 1879-07-15?", "choices": ["00012136537", "00127635473", "00584477996", "00015036916", "00122502330", "00211854787", "00220316034", "00008955074", "00066982531", "00013146331"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Joseph Campbell"]}, {"function": "FilterDate", "dependencies": [0], "inputs": ["date of birth", "1879-07-15", "="]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["IPI name number"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Joseph Campbell\" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> \"1879-07-15\"^^xsd:date . ?e <IPI_name_number> ?pv .  }", "answer": "00122502330"}, {"question": "Which show has fewer seasons, Holby City or The Good Wife?", "choices": ["Bleak House", "Holby City", "Six Feet Under", "Dancing with the Stars", "Robot Chicken", "The Good Wife", "Saturday Night's Main Event", "Game of Thrones", "Seinfeld", "Phineas and Ferb"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Holby City"]}, {"function": "Find", "dependencies": [], "inputs": ["The Good Wife"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of seasons", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Holby City\" .  } UNION { ?e <pred:name> \"The Good Wife\" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "The Good Wife"}, {"question": "Which empire was dissolved in 1857?", "choices": ["Mughal Empire", "Dearborn", "Samson and Delilah", "British Empire", "66th Academy Awards", "Terry Crews", "Byzantine Empire", "Ottoman Empire", "Dixieland", "asthma"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [0], "inputs": ["dissolved, abolished or demolished", "1857", "="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["empire"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"empire\" . ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> 1857 .  }", "answer": "Mughal Empire"}, {"question": "What is the street address of the headquarters of Avex Trax in Minato-ku?", "choices": ["168 College Avenue, Orono, ME, 04469", "85 Castlereagh Street", "1600 Holloway Ave, San Francisco, CA, 94132", "1801 Fayetteville Street", "Walton Street", "3-1-30, Minami-Aoyama", "220 McFall Ctr, Bowling Green, OH, 43403", "1290 Avenue of the Americas", "Oxford, Mississippi, University, MS, 38677-1848", "200 University Avenue West"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Avex Trax"]}, {"function": "Find", "dependencies": [], "inputs": ["Minato-ku"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "located at street address (DEPRECATED)"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Avex Trax\" . ?e_2 <pred:name> \"Minato-ku\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }", "answer": "3-1-30, Minami-Aoyama"}, {"question": "What is the zip code of the headquarters of the University of Louisville in Louisville?", "choices": ["18711", "40292", "03802", "3181", "01210", "04901-8840", "23173", "43403", "87119", "46214"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Louisville"]}, {"function": "Find", "dependencies": [], "inputs": ["Louisville"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["headquarters location", "postal code"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"University of Louisville\" . ?e_2 <pred:name> \"Louisville\" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }", "answer": "40292"}, {"question": "How many religious denominations are there whose OSM tag or key is Tag:denomination=orthodox or whose religion is the one of Earlham College?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["OSM tag or key", "Tag:denomination=orthodox"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["religious denomination"]}, {"function": "Find", "dependencies": [], "inputs": ["Earlham College"]}, {"function": "Relate", "dependencies": [3], "inputs": ["religion", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["religious denomination"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"religious denomination\" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> \"Tag:denomination=orthodox\" .  } UNION { ?e_1 <religion> ?e . ?e_1 <pred:name> \"Earlham College\" .  } }", "answer": "2"}, {"question": "Which area has lower elevation above sea level, Minneapolis or Mansfield (the one whose official website is http://www.ci.mansfield.oh.us/)?", "choices": ["Compton", "Mansfield", "Waukegan", "Franklin", "Boulder", "Columbus", "Minneapolis", "New Haven", "Greenville", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Minneapolis"]}, {"function": "Find", "dependencies": [], "inputs": ["Mansfield"]}, {"function": "FilterStr", "dependencies": [1], "inputs": ["official website", "http://www.ci.mansfield.oh.us/"]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["elevation above sea level", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Minneapolis\" . } UNION { ?e <pred:name> \"Mansfield\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.ci.mansfield.oh.us/\" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Minneapolis"}, {"question": "What is the relationship between Mikael Salomon and Academy Award for Best Visual Effects?", "choices": ["nominated for", "has contributing factor", "replaces", "academic degree", "signatory", "lyrics by", "headquarters location", "model item", "place of publication", "record label"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Mikael Salomon"]}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Visual Effects"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Mikael Salomon\" . ?e_2 <pred:name> \"Academy Award for Best Visual Effects\" . ?e_1 ?p ?e_2 .  }", "answer": "nominated for"}, {"question": "Which movie is shorter, The Lady (the one whose release region is Chile) or King Kong (the one whose genre is monster film)?", "choices": ["Talk to Her", "Pleasantville", "A Prairie Home Companion", "The Fifth Element", "The Towering Inferno", "Curse of the Golden Flower", "The Lady", "Training Day", "King Kong", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chile"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Lady"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["monster film"]}, {"function": "Relate", "dependencies": [4], "inputs": ["genre", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["King Kong"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Lady\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Chile\" .   } UNION { ?e <pred:name> \"King Kong\" . ?e <genre> ?e_2 . ?e_2 <pred:name> \"monster film\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "King Kong"}, {"question": "What is the connection between The Shining (the one whose release region is Japan) to supernatural?", "choices": ["archives at", "office held by head of state", "diplomatic relation", "superhuman feature or ability", "composer", "main subject", "official religion", "head of government", "license", "based on"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Japan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Shining"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["supernatural"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Shining\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"Japan\" . ?e_2 <pred:name> \"supernatural\" . ?e_1 ?p ?e_2 .  }", "answer": "main subject"}, {"question": "Which movie cost less to make, Seven Psychopaths or Valkyrie?", "choices": ["Pleasantville", "Rebecca", "Valkyrie", "Talk to Her", "Training Day", "The Hunchback of Notre Dame", "The Fifth Element", "Seven Psychopaths", "A Prairie Home Companion", "The Towering Inferno"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Seven Psychopaths"]}, {"function": "Find", "dependencies": [], "inputs": ["Valkyrie"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["cost", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Seven Psychopaths\" .  } UNION { ?e <pred:name> \"Valkyrie\" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Seven Psychopaths"}, {"question": "How is the 72nd Academy Award winner John Irving related to the United States of America?", "choices": ["mascot", "airline hub", "narrative location", "medical condition", "convicted of", "replaced by", "different from", "illustrator", "significant person", "country of citizenship"], "program": [{"function": "Find", "dependencies": [], "inputs": ["72nd Academy Awards"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["John Irving"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"John Irving\" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> \"72nd Academy Awards\" . ?e_2 <pred:name> \"United States of America\" . ?e_1 ?p ?e_2 .  }", "answer": "country of citizenship"}, {"question": "What is the connection between the United States Navy to Arlington County?", "choices": ["present in work", "headquarters location", "native language", "composer", "academic degree", "talk show guest", "movement", "operating area", "contributing factor of", "has dialect (DEPRECATED)"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States Navy"]}, {"function": "Find", "dependencies": [], "inputs": ["Arlington County"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"United States Navy\" . ?e_2 <pred:name> \"Arlington County\" . ?e_1 ?p ?e_2 .  }", "answer": "headquarters location"}, {"question": "Which Libris-URI designates the person who influenced Henry James, who died in Chelsea?", "choices": ["qn246zd8383w1cq", "hftx1dh145fmgxb", "rp3563595lkhv4q", "53hlp91p3dd6dhb", "gdsvxzn03h7qhpg", "sq468n7b43xn9sl", "b8nqqm1v2pr0q76", "0xbdf6rj33nswdv", "c9pswwjw1b19grf", "fcrtvk2z3gvrr32"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chelsea"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Henry James"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["influenced by", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [5], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> \"Henry James\" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> \"Chelsea\" .  ?e <Libris-URI> ?pv .  }", "answer": "fcrtvk2z3gvrr32"}, {"question": "What is the character role of  Wyatt Earp (the one that has Adam Baldwin as a cast member) which features Michael Madsen (the one that is a cast member of Scary Movie 4) as a cast member?", "choices": ["Romeo", "Zefram Cochrane", "Batgirl", "Ghost Rider", "Dory", "Dr. Nick", "Virgil Earp", "Ezra Kramer", "Guy Banister", "Yoda"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Adam Baldwin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Wyatt Earp"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Scary Movie 4"]}, {"function": "Relate", "dependencies": [4], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Michael Madsen"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["cast member", "character role"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Wyatt Earp\" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> \"Adam Baldwin\" . ?e_2 <pred:name> \"Michael Madsen\" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> \"Scary Movie 4\" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }", "answer": "Virgil Earp"}, {"question": "What is the Libris-URI of the person with CANTIC-ID a10672229?", "choices": ["sq47cxzb5dpg6qd", "qn245bz84tzvzsp", "qn246zd8383w1cq", "nl0366l64q591f2", "64jll51q4vt4jvs", "qn240bt85bn7kk2", "64jmqzpq4tvgktm", "86lnkgfs421p0sl", "khw04sj322kwtqb", "mkz13v750sjp4mf"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["CANTIC-ID", "a10672229"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["Libris-URI"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> \"a10672229\" . ?e <Libris-URI> ?pv .  }", "answer": "qn245bz84tzvzsp"}, {"question": "Since when is Hiroshima, the capital of Hiroshima Prefecture, the twinned administrative body of Hanover (the one that is twinned administrative body of Rouen)?", "choices": ["1992-02-01", "1989-11-08", "1956-03-12", "1961-09-27", "1866-10-12", "1685", "2016-10-05", "1983-01-01", "1966-07-27", "-218"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Hiroshima Prefecture"]}, {"function": "Relate", "dependencies": [0], "inputs": ["capital of", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hiroshima"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Rouen"]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hanover"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelationQualifier", "dependencies": [3, 7], "inputs": ["twinned administrative body", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Hiroshima\" . ?e_1 <capital_of> ?e_3 . ?e_3 <pred:name> \"Hiroshima Prefecture\" . ?e_2 <pred:name> \"Hanover\" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> \"Rouen\" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1983-01-01"}, {"question": "How many prefectures in Japan have water area of less than 30 percent?", "choices": ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["water as percent of area", "30 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["prefecture of Japan"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"prefecture of Japan\" . ?e <water_as_percent_of_area> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"30\"^^xsd:double ) .  }", "answer": "10"}, {"question": "What is the connection between Jefferson County (the one whose population is 220229) to Thomas Jefferson (the one that plays the instrument violin)?", "choices": ["source of material", "architectural style", "voice type", "author", "mouth of the watercourse", "season starts", "significant event", "product or material produced", "named after", "found"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "220229", "="]}, {"function": "Find", "dependencies": [], "inputs": ["violin"]}, {"function": "Relate", "dependencies": [2], "inputs": ["instrument", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Thomas Jefferson"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Jefferson County\" . ?e_1 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"220229\"^^xsd:double . ?e_2 <pred:name> \"Thomas Jefferson\" . ?e_2 <instrument> ?e_3 . ?e_3 <pred:name> \"violin\" . ?e_1 ?p ?e_2 .  }", "answer": "named after"}, {"question": "When did Crazy Heart receive the Los Angeles Film Critics Association Award for Best Actor?", "choices": ["2012-06-30", "1938-12-01", "1962-12-01", "1970-11-01", "2009", "1661", "1994-03-15", "2002-06-01", "2017-06-01", "1712-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Crazy Heart"]}, {"function": "Find", "dependencies": [], "inputs": ["Los Angeles Film Critics Association Award for Best Actor"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Crazy Heart\" . ?e_2 <pred:name> \"Los Angeles Film Critics Association Award for Best Actor\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2009"}, {"question": "Is Toulouse or Hamburg larger, area-wise?", "choices": ["Stuttgart", "Toulouse", "Bordeaux", "Halle (Saale)", "Hamburg", "Fort Smith", "Lyon", "Aachen", "Utrecht", "Wuppertal"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Toulouse"]}, {"function": "Find", "dependencies": [], "inputs": ["Hamburg"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Toulouse\" .  } UNION { ?e <pred:name> \"Hamburg\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Hamburg"}, {"question": "How are the Pennsylvania Academy of the Fine Arts and David Lynch related?", "choices": ["illustrator", "mascot", "founded by", "student of", "sports season of league or competition", "place of publication", "history of topic", "presenter", "conferred by", "educated at"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Lynch"]}, {"function": "Find", "dependencies": [], "inputs": ["Pennsylvania Academy of the Fine Arts"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Lynch\" . ?e_2 <pred:name> \"Pennsylvania Academy of the Fine Arts\" . ?e_1 ?p ?e_2 .  }", "answer": "educated at"}, {"question": "Does Transylvania, with Asia Argento as a cast member, or Gaslight have the longer run-time?", "choices": ["The Towering Inferno", "Gaslight", "Rebecca", "The Hunchback of Notre Dame", "Curse of the Golden Flower", "Talk to Her", "The Fifth Element", "A Prairie Home Companion", "Transylvania", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Asia Argento"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Transylvania"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Gaslight"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Transylvania\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Asia Argento\" .   } UNION { ?e <pred:name> \"Gaslight\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Gaslight"}, {"question": "To which part of the university whose ISNI is 0000 0001 2176 8252 does the Twitter hashtag \"ScPoJPO\" apply?", "choices": ["Fayette County", "Doors Open Days", "Hancock County", "Sevier County", "2nd arrondissement of Lyon", "Johnson County", "female", "culture", "Hawkins County", "United States of America"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2176 8252"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["university"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter hashtag", "ScPoJPO", "applies to part"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"university\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2176 8252\" . ?e <Twitter_hashtag> ?pv . ?pv <pred:value> \"ScPoJPO\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_hashtag> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }", "answer": "Doors Open Days"}, {"question": "What is the release region of Milk that was nominated for an Academy Award for Best Costume Design and has the release date 2009-02-19?", "choices": ["London", "Ukraine", "Washington, D.C.", "Philippines", "Canada", "Los Angeles", "Czech Republic", "Tribeca Film Festival", "Germany", "Lithuania"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Costume Design"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Milk"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "2009-02-19", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Milk\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Costume Design\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2009-02-19\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "What is the inception time for Turun Palloseura?", "choices": ["1821-03-25", "1604", "1180", "1789-01-01", "2002-01-01", "1000", "1830-01-01", "1966-12-19", "1945-09-02", "1922"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Turun Palloseura"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["inception"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Turun Palloseura\" . ?e <inception> ?pv .  }", "answer": "1922"}, {"question": "What capital is in a sovereign state whose motto text is L\u0101 il\u0101ha ill\u0101 ll\u0101h Muhammadun ras\u016blu ll\u0101h ?", "choices": ["Lausanne", "Prague", "Port-au-Prince", "Addis Ababa", "Riyadh", "Kuala Lumpur", "Rome", "Manila", "Luxembourg", "Ottawa"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["motto text", "L\u0101 il\u0101ha ill\u0101 ll\u0101h Muhammadun ras\u016blu ll\u0101h."]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["sovereign state"]}, {"function": "Relate", "dependencies": [2], "inputs": ["capital", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["capital"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"capital\" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"sovereign state\" . ?e_1 <motto_text> ?pv . ?pv <pred:value> \"L\u0101 il\u0101ha ill\u0101 ll\u0101h Muhammadun ras\u016blu ll\u0101h.\" .   }", "answer": "Riyadh"}, {"question": "What is the relationship between San Antonio (the one whose distributor is Warner Bros.) to Max Steiner?", "choices": ["has dialect (DEPRECATED)", "doctoral advisor", "donated by", "educated at", "native language", "conflict", "based on", "composer", "award received", "rector"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Warner Bros."]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["San Antonio"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Max Steiner"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"San Antonio\" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> \"Warner Bros.\" . ?e_2 <pred:name> \"Max Steiner\" . ?e_1 ?p ?e_2 .  }", "answer": "composer"}, {"question": "Which has a smaller area, Tuscany or Umbria?", "choices": ["Piedmont", "Umbria", "Veneto", "Basilicata", "Lombardy", "Abruzzo", "Tuscany", "Sardinia", "Lazio", "Apulia"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Tuscany"]}, {"function": "Find", "dependencies": [], "inputs": ["Umbria"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["area", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Tuscany\" .  } UNION { ?e <pred:name> \"Umbria\" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Umbria"}, {"question": "Were Springfield, where Brendon Small was born, founded before 1908?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Brendon Small"]}, {"function": "Relate", "dependencies": [0], "inputs": ["place of birth", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Springfield"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1908", "<"]}], "sparql": "ASK { ?e <pred:name> \"Springfield\" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> \"Brendon Small\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1908 ) .  }", "answer": "yes"}, {"question": "Out of Africa, an Academy Award winner for Best Sound Mixing, was published in which location on 1986-02-21?", "choices": ["Russia", "Sweden", "2008 Toronto International Film Festival", "Spain", "Brazil", "58th Berlin International Film Festival", "Romania", "Kuwait", "Hollywood", "Ukraine"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Sound Mixing"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Out of Africa"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["publication date", "1986-02-21", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Out of Africa\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Academy Award for Best Sound Mixing\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"1986-02-21\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Sweden"}, {"question": "How many keyboard instruments are of Portugal or are played by Barry Pepper?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Portugal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["country", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["keyboard instrument"]}, {"function": "Find", "dependencies": [], "inputs": ["Barry Pepper"]}, {"function": "Relate", "dependencies": [3], "inputs": ["instrument", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["keyboard instrument"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"keyboard instrument\" .  { ?e <country> ?e_1 . ?e_1 <pred:name> \"Portugal\" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> \"Barry Pepper\" .  } }", "answer": "0"}, {"question": "When was Aretha Franklin nominated for a Broadcast Film Critics Association Award for Best Song?", "choices": ["1905-12-01", "1529-01-01", "2011-08-24", "1925-06-16", "1847", "2006", "2011-08-01", "1900", "1681", "1710-01-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Aretha Franklin"]}, {"function": "Find", "dependencies": [], "inputs": ["Broadcast Film Critics Association Award for Best Song"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["nominated for", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Aretha Franklin\" . ?e_2 <pred:name> \"Broadcast Film Critics Association Award for Best Song\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2006"}, {"question": "I would like to know the army that has official name Land Force Command", "choices": ["Canadian Army", "German Army", "Indian Army", "Confederate States Army", "Imperial Russian Army", "French Army", "Imperial Japanese Army", "Australian Army", "British Army", "Pembroke College"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official name", "Land Force Command"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["army"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"army\" . ?e <official_name> ?pv . ?pv <pred:value> \"Land Force Command\" .  }", "answer": "Canadian Army"}, {"question": "What language is used by the person who is the source of the name Madison County (whose population is 130311)?", "choices": ["German", "Malayalam", "Irish", "Tamil", "Greek", "English", "Punjabi", "Filipino", "Scots", "Hebrew"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madison County"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "130311", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["named after", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "Relate", "dependencies": [3], "inputs": ["languages spoken, written or signed", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["language"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"language\" . ?e_1 <languages_spoken,_written_or_signed> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_3 <named_after> ?e_1 . ?e_3 <pred:name> \"Madison County\" . ?e_3 <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"130311\"^^xsd:double .   }", "answer": "Hebrew"}, {"question": "How many independent cities have other than 5300000000 inhabitants?", "choices": ["21", "22", "23", "24", "25", "26", "27", "28", "29", "30"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "5300000000", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v != \"5300000000\"^^xsd:double ) .  }", "answer": "22"}, {"question": "How many historic counties of England are known as places where the screenwriter of Babylon 5: The Gathering was buried?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Babylon 5: The Gathering"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["place of burial", "forward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["historic county of England"]}, {"function": "Count", "dependencies": [4], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"historic county of England\" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_2 <screenwriter> ?e_1 . ?e_2 <pred:name> \"Babylon 5: The Gathering\" .   }", "answer": "0"}, {"question": "About the movie produced by Danny Boyle and that was published on 2010-11-05, where did it get published?", "choices": ["Mexico", "Ukraine", "Hollywood", "Tribeca Film Festival", "Vietnam", "United States of America", "South Africa", "Kingdom of the Netherlands", "Peru", "Switzerland"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Danny Boyle"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2010-11-05", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Danny Boyle\" .  ?e <publication_date> ?pv . ?pv <pred:date> \"2010-11-05\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "United States of America"}, {"question": "What is the association of Madonna with actor?", "choices": ["uses", "signatory", "cast member", "diplomatic relation", "occupation", "derivative work", "update method", "honorific suffix", "grants", "make-up artist"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Madonna"]}, {"function": "Find", "dependencies": [], "inputs": ["actor"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Madonna\" . ?e_2 <pred:name> \"actor\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "What number of users subscribe to the person with an Instagram username of twins and a Twitter username of Twins?", "choices": ["696", "40380", "608015", "3604", "853769", "49301", "3417", "3592046", "28301", "6824"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Instagram username", "twins"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["baseball team"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "Twins", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"baseball team\" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> \"twins\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"Twins\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "608015"}, {"question": "Among the states of Germany whose above sea level elevation is less than 540 metres, which has the largest above sea level elevation?", "choices": ["Saxony", "Thuringia", "Hesse", "Brandenburg", "North Rhine-Westphalia", "Bavaria", "Bremen", "Schleswig-Holstein", "Saxony-Anhalt", "Rhineland-Palatinate"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["elevation above sea level", "540 metre", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["state of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of Germany\" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> \"metre\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"540\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bavaria"}, {"question": "The movie titled Twelfth Night: Or What You Will had which region of release on 1997-04-03?", "choices": ["Park City", "New York City", "Berlin", "Venezuela", "Germany", "Chile", "European Union", "1949 Cannes Film Festival", "Brazil", "Montreal World Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Twelfth Night: Or What You Will"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1997-04-03", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Twelfth Night: Or What You Will\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1997-04-03\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "How many Pennsylvania counties are the location of Greensburg or have over 530000000 inhabitants?", "choices": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Greensburg"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [3], "inputs": ["population", "530000000", ">"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["county of Pennsylvania"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" .  { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> \"Greensburg\" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> ?v . FILTER ( ?v > \"530000000\"^^xsd:double ) .  } }", "answer": "1"}, {"question": "Does Audrey Hepburn or Erykah Badu have fewer kids?", "choices": ["Audrey Hepburn", "Sylvester Stallone", "James E. Reilly", "Erykah Badu", "Rahul Dev Burman", "Simon Cowell", "Max Fleischer", "Paul Simon", "Richard Gere", "David Byrne"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Audrey Hepburn"]}, {"function": "Find", "dependencies": [], "inputs": ["Erykah Badu"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["number of children", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Audrey Hepburn\" .  } UNION { ?e <pred:name> \"Erykah Badu\" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Audrey Hepburn"}, {"question": "What is the official name for Oklahoma City?", "choices": ["Hobart", "Repubblica Gabonese", "Bowdoin College", "Rep\u00fablica de Cabo Verde", "Galway", "Nazionale di calcio dell'Italia", "\u00e9quipe de Belgique de football", "Monterey", "Oklahoma City", "Esbjerg forenede Boldklubber"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Oklahoma City"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Oklahoma City\" . ?e <official_name> ?pv .  }", "answer": "Oklahoma City"}, {"question": "What jazz music has the well-known person who is an employee of Red Hot Chili Peppers?", "choices": ["avant-garde jazz", "alternative rock", "Jazz piano", "trumpet", "swing music", "Latin jazz", "jazz-funk", "funk rock", "hard bop", "nu jazz"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Red Hot Chili Peppers"]}, {"function": "Relate", "dependencies": [0], "inputs": ["employer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "Relate", "dependencies": [2], "inputs": ["famous people", "backward"]}, {"function": "FilterConcept", "dependencies": [3], "inputs": ["jazz"]}, {"function": "What", "dependencies": [4], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"jazz\" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"human\" . ?e_1 <employer> ?e_2 . ?e_2 <pred:name> \"Red Hot Chili Peppers\" .   }", "answer": "jazz-funk"}, {"question": "How many republic are there whose nominal GDP is not equal to 17900000 US dollar?", "choices": ["25", "26", "27", "28", "29", "30", "31", "32", "33", "34"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["nominal GDP", "17900000 United States dollar", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["republic"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"republic\" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> \"United States dollar\" . ?pv <pred:value> ?v . FILTER ( ?v != \"17900000\"^^xsd:double ) .  }", "answer": "34"}, {"question": "What is the New Jersey city with the native label Hackensack officially called?", "choices": ["Hackensack", "Statul Cet\u0103\u021bii Vaticanului", "Umbuso weSwatini", "Wiesbaden", "1. Fu\u00dfball- und Sportverein Mainz 05 e. V.", "\u00ab\u0553\u0575\u0578\u0582\u0576\u056b\u056f\u00bb \u0556\u0578\u0582\u057f\u0562\u0578\u056c\u0561\u0575\u056b\u0576 \u0531\u056f\u0578\u0582\u0574\u0562", "Selecci\u00f3n de f\u00fatbol de Chile", "\u041f\u043e\u0436\u043e\u043d\u044c", "Tokyo Broadcasting System Holdings, Inc.", "Manchester City Football Club"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["native label", "Hackensack"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city in New Jersey"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official name"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city in New Jersey\" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> \"Hackensack\" . ?e <official_name> ?pv .  }", "answer": "Hackensack"}, {"question": "What higher education institution is located in St. Louis and it is the place where Robert Guillaume (the cast member of Big Fish) studied ?", "choices": ["McMaster University", "Presidency University", "University of Manchester", "Pennsylvania State University", "Washington University in St. Louis", "Panjab University", "University of Tehran", "Imperial College London", "King's College London", "Saint Louis University"], "program": [{"function": "Find", "dependencies": [], "inputs": ["St. Louis"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "Find", "dependencies": [], "inputs": ["Big Fish"]}, {"function": "Relate", "dependencies": [3], "inputs": ["cast member", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Robert Guillaume"]}, {"function": "And", "dependencies": [4, 5], "inputs": []}, {"function": "Relate", "dependencies": [6], "inputs": ["educated at", "forward"]}, {"function": "FilterConcept", "dependencies": [7], "inputs": ["higher education institution"]}, {"function": "And", "dependencies": [2, 8], "inputs": []}, {"function": "What", "dependencies": [9], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"St. Louis\" .  ?e_2 <educated_at> ?e . ?e_2 <pred:name> \"Robert Guillaume\" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> \"Big Fish\" .  }", "answer": "Washington University in St. Louis"}, {"question": "When did Vinnie Jones become a member of the Chelsea F.C.?", "choices": ["1898", "1968-04-20", "1991-01-01", "1999-01-03", "1516", "1993", "2007-09-19", "1921-01-01", "1992-04-13", "1931-06-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Vinnie Jones"]}, {"function": "Find", "dependencies": [], "inputs": ["Chelsea F.C."]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["member of sports team", "start time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Vinnie Jones\" . ?e_2 <pred:name> \"Chelsea F.C.\" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }", "answer": "1991-01-01"}, {"question": "How is The Love Guru related to the romantic comedy genre?", "choices": ["legal form", "quotes work", "musical conductor", "religious order", "genre", "filmography", "military rank", "located in time zone", "applies to jurisdiction", "doctoral advisor"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Love Guru"]}, {"function": "Find", "dependencies": [], "inputs": ["romantic comedy"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The Love Guru\" . ?e_2 <pred:name> \"romantic comedy\" . ?e_1 ?p ?e_2 .  }", "answer": "genre"}, {"question": "What is Chris Elliott's birth date?", "choices": ["1947-03-01", "1976-02-05", "1960-05-31", "1935-06-01", "1957-08-16", "1947-12-31", "1936-10-24", "1981-10-04", "1966-04-09", "1960-08-24"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Chris Elliott"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of birth"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Chris Elliott\" . ?e <date_of_birth> ?pv .  }", "answer": "1960-05-31"}, {"question": "Did the industry, whose location is Ukraine, begin after 1874?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ukraine"]}, {"function": "Relate", "dependencies": [0], "inputs": ["location", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["industry"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["inception"]}, {"function": "VerifyYear", "dependencies": [3], "inputs": ["1874", ">"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"industry\" . ?e <location> ?e_1 . ?e_1 <pred:name> \"Ukraine\" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1874 ) .  }", "answer": "yes"}, {"question": "Which movie is shorter, Bicentennial Man or Shanghai (the one whose duration is 75 minute)?", "choices": ["Training Day", "Bicentennial Man", "Talk to Her", "The Hunchback of Notre Dame", "Rebecca", "The Fifth Element", "Shanghai", "Curse of the Golden Flower", "A Prairie Home Companion", "Pleasantville"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bicentennial Man"]}, {"function": "Find", "dependencies": [], "inputs": ["Shanghai"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["duration", "75 minute", "="]}, {"function": "SelectBetween", "dependencies": [0, 2], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Bicentennial Man\" . } UNION { ?e <pred:name> \"Shanghai\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"75\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Shanghai"}, {"question": "When did  Master and Commander: The Far Side of the World receive the BAFTA Award for Best Sound?", "choices": ["1995-02-14", "1825-01-01", "1949", "2001-02-14", "2017-01-01", "1968", "1025", "2004", "1904", "1753"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Master and Commander: The Far Side of the World"]}, {"function": "Find", "dependencies": [], "inputs": ["BAFTA Award for Best Sound"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Master and Commander: The Far Side of the World\" . ?e_2 <pred:name> \"BAFTA Award for Best Sound\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }", "answer": "2004"}, {"question": "When was the date of The Simpsons premiere?", "choices": ["1993-10-10", "1997-01-12", "1998-09-04", "1996-05-12", "2005-08-08", "1971-10-12", "1999-03-26", "2015-02-07", "1989-12-17", "1959-11-16"], "program": [{"function": "Find", "dependencies": [], "inputs": ["The Simpsons"]}, {"function": "QueryAttr", "dependencies": [0], "inputs": ["date of first performance"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"The Simpsons\" . ?e <date_of_first_performance> ?pv .  }", "answer": "1989-12-17"}, {"question": "How is Lehigh County connected to Northampton County (with the capital of Easton)?", "choices": ["shares border with", "narrative role", "position held", "filmography", "grants", "sponsor", "substitute/deputy/replacement of office/officeholder", "continent", "platform", "use"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Lehigh County"]}, {"function": "Find", "dependencies": [], "inputs": ["Easton"]}, {"function": "Relate", "dependencies": [1], "inputs": ["capital", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Northampton County"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "QueryRelation", "dependencies": [0, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Lehigh County\" . ?e_2 <pred:name> \"Northampton County\" . ?e_2 <capital> ?e_3 . ?e_3 <pred:name> \"Easton\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Who was nominated for an Academy Award for Best Director for Great Expectations (whose script was written by Ronald Neame)?", "choices": ["Ruth Prawer Jhabvala", "Rooney Mara", "Hilary Swank", "Tom Rolf", "Mike Smithson", "David A. Whittaker", "David Lean", "Eddie Albert", "Walter Mirisch", "Robert Preston"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Ronald Neame"]}, {"function": "Relate", "dependencies": [0], "inputs": ["screenwriter", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Great Expectations"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Academy Award for Best Director"]}, {"function": "QueryRelationQualifier", "dependencies": [3, 4], "inputs": ["nominated for", "nominee"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Great Expectations\" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> \"Ronald Neame\" . ?e_2 <pred:name> \"Academy Award for Best Director\" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }", "answer": "David Lean"}, {"question": "Which independent city of Germany whose population is under 540000 has the highest elevation above sea level?", "choices": ["Hamlet", "Bolton Wanderers F.C.", "Antigua and Barbuda national football team", "Weimar", "Frankfurt (Oder)", "Coburg", "Bayreuth", "Talladega Nights: The Ballad of Ricky Bobby", "Baden-Baden", "Victor Hugo"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "540000", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "largest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < \"540000\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Bayreuth"}, {"question": "Which association football club is represented by the official English-language website www.ctfc.com?", "choices": ["Roda JC Kerkrade", "Vitesse", "Preston North End F.C.", "Zamalek SC", "Stade Brestois 29", "Cheltenham Town F.C.", "Brisbane Roar FC", "Milton Keynes Dons F.C.", "Middlesbrough F.C.", "Hull City A.F.C."], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "https://www.ctfc.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["association football club"]}, {"function": "What", "dependencies": [3], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"association football club\" . ?e <official_website> ?pv . ?pv <pred:value> \"https://www.ctfc.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .  }", "answer": "Cheltenham Town F.C."}, {"question": "Which one has moe population between Boston and Rocky Mount?", "choices": ["Oakland", "Boulder", "Waukegan", "New Haven", "Boston", "Franklin", "Rocky Mount", "Greenville", "Columbus", "Lansing"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Boston"]}, {"function": "Find", "dependencies": [], "inputs": ["Rocky Mount"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["population", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Boston\" .  } UNION { ?e <pred:name> \"Rocky Mount\" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Boston"}, {"question": "Which one has less duration Ramones (the one that is part of the Museum of Modern Art collection) or The Velvet Underground (the one made in English)?", "choices": ["Luis Miguel", "Flight of the Conchords", "Dynasty", "Roots", "Toni Braxton", "The B-52's", "The Velvet Underground", "Bon Jovi", "Ramones", "Hollywood"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Museum of Modern Art"]}, {"function": "Relate", "dependencies": [0], "inputs": ["collection", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Ramones"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["English"]}, {"function": "Relate", "dependencies": [4], "inputs": ["language of work or name", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Velvet Underground"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "SelectBetween", "dependencies": [3, 7], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Ramones\" . ?e <collection> ?e_1 . ?e_1 <pred:name> \"Museum of Modern Art\" .   } UNION { ?e <pred:name> \"The Velvet Underground\" . ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> \"English\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Ramones"}, {"question": "When was the population 81,765 in the New York county with the English-language website www.clintoncountygov.com ?", "choices": ["1700", "1818-12-01", "2019-02-21", "2011-07-01", "1857-01-01", "2003-07-30", "1742-01-01", "1998-03-23", "1863-01-01", "2018-01-15"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.clintoncountygov.com"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["county of New York"]}, {"function": "QueryAttrQualifier", "dependencies": [3], "inputs": ["population", "81765", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of New York\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.clintoncountygov.com\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv_1 ] <language_of_work_or_name> ?qpv_1 . ?qpv_1 <pred:value> \"English\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"81765\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2011-07-01"}, {"question": "Which one has more running time between The Witches of Eastwick (the one produced by Jon Peters) or Naruto Shippuden the Movie: Bonds?", "choices": ["Naruto Shippuden the Movie: Bonds", "Rebecca", "The Hunchback of Notre Dame", "A Prairie Home Companion", "Curse of the Golden Flower", "The Towering Inferno", "The Witches of Eastwick", "The Fifth Element", "Talk to Her", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Peters"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Witches of Eastwick"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Naruto Shippuden the Movie: Bonds"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"The Witches of Eastwick\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Jon Peters\" .   } UNION { ?e <pred:name> \"Naruto Shippuden the Movie: Bonds\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Witches of Eastwick"}, {"question": "How many unitary states have under 4200 percent rate of inflation or have the demonym bulgare?", "choices": ["5", "6", "7", "8", "9", "10", "11", "12", "13", "14"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["inflation rate", "4200 percentage", "<"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["unitary state"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["demonym", "bulgare"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["unitary state"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"unitary state\" .  { ?e <inflation_rate> ?pv . ?pv <pred:unit> \"percentage\" . ?pv <pred:value> ?v . FILTER ( ?v < \"4200\"^^xsd:double ) .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> \"bulgare\" .  } }", "answer": "14"}, {"question": "What is the relationship between David Fury and writer?", "choices": ["member of", "history of topic", "professorship", "derivative work", "broadcast by", "mascot", "location", "conflict", "field of this occupation", "occupation"], "program": [{"function": "Find", "dependencies": [], "inputs": ["David Fury"]}, {"function": "Find", "dependencies": [], "inputs": ["writer"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"David Fury\" . ?e_2 <pred:name> \"writer\" . ?e_1 ?p ?e_2 .  }", "answer": "occupation"}, {"question": "Does the website www.brendonsmall.com represent someone known for melodic death metal?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["melodic death metal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["famous people", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["official website"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["http://www.brendonsmall.com"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> \"melodic death metal\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.brendonsmall.com\" .  }", "answer": "yes"}, {"question": "When did Jefferson County, licence plate code 41, have a population in the amount of 67,964?", "choices": ["2008-09-03", "2013-07-01", "1995-10-01", "1910", "2015-05-07", "1996-07-03", "1936", "1846-12-03", "2013-04-11", "1837-12-01"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jefferson County"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["licence plate code", "41"]}, {"function": "QueryAttrQualifier", "dependencies": [1], "inputs": ["population", "67964", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:name> \"Jefferson County\" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> \"41\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"67964\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2013-07-01"}, {"question": "Does Libris-URI sq468r1b0m8d5g4 designate the Caldecott Medal winning individual for Where the Wild Things Are ?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Caldecott Medal"]}, {"function": "Relate", "dependencies": [0], "inputs": ["award received", "backward"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["for work", "Where the Wild Things Are"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["human"]}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["Libris-URI"]}, {"function": "VerifyStr", "dependencies": [4], "inputs": ["sq468r1b0m8d5g4"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <award_received> ?e_1 . ?e_1 <pred:name> \"Caldecott Medal\" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> \"Where the Wild Things Are\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"sq468r1b0m8d5g4\" .  }", "answer": "no"}, {"question": "Did Charlie and the Chocolate Factory, released in Kazakhstan, or The Piano do better in terms of box office revenue?", "choices": ["A Prairie Home Companion", "The Towering Inferno", "Pleasantville", "The Fifth Element", "Training Day", "Charlie and the Chocolate Factory", "The Hunchback of Notre Dame", "Rebecca", "The Piano", "Curse of the Golden Flower"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Kazakhstan"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Charlie and the Chocolate Factory"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["The Piano"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["box office", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Charlie and the Chocolate Factory\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"Kazakhstan\" .   } UNION { ?e <pred:name> \"The Piano\" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Charlie and the Chocolate Factory"}, {"question": "for the geographic part that is within Anaheim and the Twitter username is Disneyland, what is the number of subscribers?", "choices": ["241681", "1035980", "145509", "327453", "1327081", "779705", "2052", "1544", "1000", "436907"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Anaheim"]}, {"function": "Relate", "dependencies": [0], "inputs": ["located in the administrative territorial entity", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["geographic region"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "Disneyland", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"geographic region\" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> \"Anaheim\" .  ?e <Twitter_username> ?pv . ?pv <pred:value> \"Disneyland\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "1327081"}, {"question": "Between Eternal Sunshine of the Spotless Mind or The Adventures of Pluto Nash, which is longer?", "choices": ["Eternal Sunshine of the Spotless Mind", "A Prairie Home Companion", "The Towering Inferno", "Pleasantville", "Rebecca", "Curse of the Golden Flower", "The Fifth Element", "Talk to Her", "The Hunchback of Notre Dame", "Training Day"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eternal Sunshine of the Spotless Mind"]}, {"function": "Find", "dependencies": [], "inputs": ["The Adventures of Pluto Nash"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Eternal Sunshine of the Spotless Mind\" .  } UNION { ?e <pred:name> \"The Adventures of Pluto Nash\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Eternal Sunshine of the Spotless Mind"}, {"question": "How many first-level administrative country subdivisions are associated with the subreddit veracruz or are under the jurisdiction of  the Western Australian Legislative Assembly?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["subreddit", "veracruz"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["first-level administrative country subdivision"]}, {"function": "Find", "dependencies": [], "inputs": ["Western Australian Legislative Assembly"]}, {"function": "Relate", "dependencies": [3], "inputs": ["applies to jurisdiction", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["first-level administrative country subdivision"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"first-level administrative country subdivision\" .  { ?e <subreddit> ?pv . ?pv <pred:value> \"veracruz\" .  } UNION { ?e_1 <applies_to_jurisdiction> ?e . ?e_1 <pred:name> \"Western Australian Legislative Assembly\" .  } }", "answer": "2"}, {"question": "How is Alexander the Great (the one whose date of birth is 356 B.C.) related to Alexander (the one that was named Alexander Korda) ?", "choices": ["copyright holder", "exported to", "contributor(s) to the creative work", "sponsor", "parent astronomical body", "professorship", "partner", "game mode", "given name", "time period"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Alexander the Great"]}, {"function": "FilterYear", "dependencies": [0], "inputs": ["date of birth", "-356", "="]}, {"function": "Find", "dependencies": [], "inputs": ["Alexander Korda"]}, {"function": "Relate", "dependencies": [2], "inputs": ["given name", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Alexander"]}, {"function": "And", "dependencies": [3, 4], "inputs": []}, {"function": "QueryRelation", "dependencies": [1, 5], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Alexander the Great\" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> -356 . ?e_2 <pred:name> \"Alexander\" . ?e_3 <given_name> ?e_2 . ?e_3 <pred:name> \"Alexander Korda\" . ?e_1 ?p ?e_2 .  }", "answer": "given name"}, {"question": "Which visual artwork's official website is http://www.yesisthenewno.com/?", "choices": ["Yes Man", "Talk to Her", "Pleasantville", "Rebecca", "The Quiet Man", "Forgetting Sarah Marshall", "Earth", "Cheaper by the Dozen", "Shutter Island", "A Prairie Home Companion"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.yesisthenewno.com/"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.yesisthenewno.com/\" .  }", "answer": "Yes Man"}, {"question": "tell me the number of subscribers for the museum that has an isni of 0000 0001 2375 3994, and Twitter username of ngadc", "choices": ["223290", "8308396", "43851", "43305", "101986", "73172", "6399", "105292", "13150", "15335"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0001 2375 3994"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["museum"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["Twitter username", "ngadc", "number of subscribers"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"museum\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0001 2375 3994\" . ?e <Twitter_username> ?pv . ?pv <pred:value> \"ngadc\" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }", "answer": "223290"}, {"question": "Which Richard Griffiths work won him a Tony for Best Actor in a Play?", "choices": ["Germany\u2013Suriname relations", "Cuba\u2013United Kingdom relations", "Bangladesh\u2013Spain relations", "60th Tony Awards", "Azerbaijan\u2013Mexico relations", "Sudan\u2013Turkey relations", "Malaysia\u2013Netherlands relations", "Italy\u2013South Africa relations", "Pakistan-Mauritius relations", "Russia\u2013Tajikistan relations"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Richard Griffiths"]}, {"function": "Find", "dependencies": [], "inputs": ["Tony Award for Best Actor in a Play"]}, {"function": "QueryRelationQualifier", "dependencies": [0, 1], "inputs": ["award received", "statement is subject of"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> \"Richard Griffiths\" . ?e_2 <pred:name> \"Tony Award for Best Actor in a Play\" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }", "answer": "60th Tony Awards"}, {"question": "What is the publication date of the visual artwork known as Cuore?", "choices": ["1948-01-01", "2014-10-28", "2006-11-03", "1921-08-28", "2008-07-17", "2003-09-02", "1990-11-30", "2001-04-05", "1991-07-19", "2004-09-03"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Cuore"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["visual artwork"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["publication date"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"visual artwork\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Cuore\" . ?e <publication_date> ?pv .  }", "answer": "1948-01-01"}, {"question": "Does the higher-education institution whose ISNI is 0000 0004 0472 3804, have its postal code equal to 08629?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["ISNI", "0000 0004 0472 3804"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["postal code"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["08629"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> \"0000 0004 0472 3804\" . ?e <postal_code> ?pv . ?pv <pred:value> \"08629\" .  }", "answer": "no"}, {"question": "What literary work mainly depicts alcoholism?", "choices": ["Dune", "The Lost Weekend", "The Shining", "The Portrait of a Lady", "Ted", "Harry Potter and the Prisoner of Azkaban", "Pretty Little Liars", "Into the West", "Who's Afraid of Virginia Woolf?", "A Star Is Born"], "program": [{"function": "Find", "dependencies": [], "inputs": ["alcoholism"]}, {"function": "Relate", "dependencies": [0], "inputs": ["main subject", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["literary work"]}, {"function": "What", "dependencies": [2], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"literary work\" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> \"alcoholism\" .   }", "answer": "The Lost Weekend"}, {"question": "Which title belongs to the Carrie represented online at http://stephenking.com/library/novel/carrie.html?", "choices": ["Harry Potter and the Goblet of Fire", "Step Up Revolution", "Eve", "Carrie", "Short Cuts", "Gandhi", "The Poseidon Adventure", "Massachusetts Institute of Technology", "Coal Miner's Daughter", "Santiago"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Carrie"]}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://stephenking.com/library/novel/carrie.html"]}, {"function": "QueryAttr", "dependencies": [1], "inputs": ["title"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:name> \"Carrie\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://stephenking.com/library/novel/carrie.html\" . ?e <title> ?pv .  }", "answer": "Carrie"}, {"question": "What's the relationship between Armin Mueller-Stahl and the X-Files (released in the US)", "choices": ["member of political party", "director of photography", "office held by head of the organisation", "place of burial", "has part", "indigenous to", "seed team", "nominated for", "cast member", "grants"], "program": [{"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [0], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The X-Files"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Armin Mueller-Stahl"]}, {"function": "QueryRelation", "dependencies": [3, 4], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"The X-Files\" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> \"United States of America\" . ?e_2 <pred:name> \"Armin Mueller-Stahl\" . ?e_1 ?p ?e_2 .  }", "answer": "cast member"}, {"question": "What war has the participant Hannibal who died from suicide?", "choices": ["French invasion of Russia", "Second Sino-Japanese War", "Crusade", "Second Boer War", "Lebanese Civil War", "Peninsular War", "Coalition Wars", "Second Punic War", "Yom Kippur War", "German-Soviet War"], "program": [{"function": "Find", "dependencies": [], "inputs": ["suicide"]}, {"function": "Relate", "dependencies": [0], "inputs": ["manner of death", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Hannibal"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Relate", "dependencies": [3], "inputs": ["participant", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["war"]}, {"function": "What", "dependencies": [5], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"war\" . ?e <participant> ?e_1 . ?e_1 <pred:name> \"Hannibal\" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> \"suicide\" .   }", "answer": "Second Punic War"}, {"question": "Which animated feature film was nominated for a Satellite Award for Best Animated or Mixed Media Feature and has the official website http://movies.disney.com/chicken-little?", "choices": ["Puss in Boots", "WALL\u00b7E", "Aladdin", "The Adventures of Tintin", "The Princess and the Frog", "Legend of the Guardians: The Owls of Ga'Hoole", "Chicken Little", "Renaissance", "Beauty and the Beast", "Winnie the Pooh"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Satellite Award for Best Animated or Mixed Media Feature"]}, {"function": "Relate", "dependencies": [0], "inputs": ["nominated for", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["animated feature film"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://movies.disney.com/chicken-little"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["animated feature film"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"animated feature film\" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> \"Satellite Award for Best Animated or Mixed Media Feature\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://movies.disney.com/chicken-little\" .  }", "answer": "Chicken Little"}, {"question": "What is the relationship between Trentino to Province of Brescia?", "choices": ["vehicle normally used", "student of", "developer", "parent astronomical body", "present in work", "place of birth", "time period", "published in", "shares border with", "production designer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Trentino"]}, {"function": "Find", "dependencies": [], "inputs": ["Province of Brescia"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Trentino\" . ?e_2 <pred:name> \"Province of Brescia\" . ?e_1 ?p ?e_2 .  }", "answer": "shares border with"}, {"question": "Which movie is shorter, Mighty Joe Young (the one whose distributor is Walt Disney Studios Motion Pictures) or National Treasure: Book of Secrets?", "choices": ["The Muppets", "Mighty Joe Young", "National Treasure: Book of Secrets", "Alvin and the Chipmunks: Chipwrecked", "G-Force", "Holes", "The Flintstones", "The Flintstones in Viva Rock Vegas", "Old Dogs", "John Carter"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Walt Disney Studios Motion Pictures"]}, {"function": "Relate", "dependencies": [0], "inputs": ["distributor", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Mighty Joe Young"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["National Treasure: Book of Secrets"]}, {"function": "SelectBetween", "dependencies": [3, 4], "inputs": ["duration", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Mighty Joe Young\" . ?e <distributor> ?e_1 . ?e_1 <pred:name> \"Walt Disney Studios Motion Pictures\" .   } UNION { ?e <pred:name> \"National Treasure: Book of Secrets\" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Mighty Joe Young"}, {"question": "Where was the film titled Bright Star published on 2009-12-24?", "choices": ["2008 Toronto International Film Festival", "John F. Kennedy Center for the Performing Arts", "India", "Westwood", "New Zealand", "Germany", "Berlin International Film Festival", "Malaysia", "Charlotte Motor Speedway", "BFI London Film Festival"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Bright Star"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "2009-12-24", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Bright Star\" . ?e <publication_date> ?pv . ?pv <pred:date> \"2009-12-24\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Does Broadcast News or The Town (whose release region is the United States of America) have the higher cost?", "choices": ["Pleasantville", "Curse of the Golden Flower", "The Towering Inferno", "Training Day", "The Fifth Element", "A Prairie Home Companion", "Talk to Her", "The Town", "Rebecca", "The Hunchback of Notre Dame"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Broadcast News"]}, {"function": "Find", "dependencies": [], "inputs": ["United States of America"]}, {"function": "Relate", "dependencies": [1], "inputs": ["film release region", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["The Town"]}, {"function": "And", "dependencies": [2, 3], "inputs": []}, {"function": "SelectBetween", "dependencies": [0, 4], "inputs": ["cost", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Broadcast News\" .  } UNION { ?e <pred:name> \"The Town\" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> \"United States of America\" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "The Town"}, {"question": "Is 0000 0000 8544 9536  the ISNI of the higher education institution whose official website is http://www.belmont.edu?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://www.belmont.edu"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["higher education institution"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["ISNI"]}, {"function": "VerifyStr", "dependencies": [3], "inputs": ["0000 0000 8544 9536"]}], "sparql": "ASK { ?e <pred:instance_of> ?c . ?c <pred:name> \"higher education institution\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.belmont.edu\" . ?e <ISNI> ?pv . ?pv <pred:value> \"0000 0000 8544 9536\" .  }", "answer": "yes"}, {"question": "What county of Pennsylvania that does not have a 380 square mile area has the smallest area?", "choices": ["Lehigh County", "Wayne County", "Cumberland County", "Franklin County", "Westmoreland County", "Allegheny County", "Bucks County", "Fayette County", "Washington County", "York County"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["area", "380 square mile", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["county of Pennsylvania"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"county of Pennsylvania\" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> \"square mile\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"380\"^^xsd:double ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Wayne County"}, {"question": "How is the University of Saskatchewan related to Canada?", "choices": ["successful candidate", "has dialect (DEPRECATED)", "partner", "country for sport", "organizer", "author", "newspaper format", "different from", "country", "doctoral student"], "program": [{"function": "Find", "dependencies": [], "inputs": ["University of Saskatchewan"]}, {"function": "Find", "dependencies": [], "inputs": ["Canada"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"University of Saskatchewan\" . ?e_2 <pred:name> \"Canada\" . ?e_1 ?p ?e_2 .  }", "answer": "country"}, {"question": "Which movie is longer, Up (the one that has Jon Voight as a cast member) or Western (the one whose duration is 120 minute)?", "choices": ["The Goodbye Girl", "Up", "The Late Shift", "Shackleton", "Western", "A Christmas Carol", "All Quiet on the Western Front", "The Music Man", "The Challenge", "The Three Musketeers"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Jon Voight"]}, {"function": "Relate", "dependencies": [0], "inputs": ["cast member", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Up"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Western"]}, {"function": "FilterNum", "dependencies": [4], "inputs": ["duration", "120 minute", "="]}, {"function": "SelectBetween", "dependencies": [3, 5], "inputs": ["duration", "greater"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Up\" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> \"Jon Voight\" . } UNION { ?e <pred:name> \"Western\" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> \"minute\" . ?pv_1 <pred:value> \"120\"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1", "answer": "Up"}, {"question": "Who's the person with an official website of http://www.peteseeger.net/ and a Libris-URI of c9pszcjw3m2c051?", "choices": ["Pete Seeger", "Max Fleischer", "William Henry Harrison", "James E. Reilly", "Simon Cowell", "Babyface", "Paul Simon", "David Byrne", "Rahul Dev Burman", "Sylvester Stallone"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Libris-URI", "c9pszcjw3m2c051"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["human"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [3], "inputs": ["official website", "http://www.peteseeger.net/"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["human"]}, {"function": "And", "dependencies": [2, 5], "inputs": []}, {"function": "What", "dependencies": [6], "inputs": []}], "sparql": "SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"human\" . ?e <Libris-URI> ?pv . ?pv <pred:value> \"c9pszcjw3m2c051\" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> \"http://www.peteseeger.net/\" .  }", "answer": "Pete Seeger"}, {"question": "What language applies to the award with a website of http://www.emmys.com and an Alexa rank other than 180?", "choices": ["French", "Modern Greek", "Canadian French", "Breton", "Latin script", "Danish", "English", "Tlingit", "Latvian", "Malagasy"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["Alexa rank", "180", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["award"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.emmys.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"award\" . ?e <Alexa_rank> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"180\"^^xsd:double ) . ?e <official_website> ?pv . ?pv <pred:value> \"http://www.emmys.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "When did the city with local dialing code 452 have a population of 1561129?", "choices": ["1396", "2008-08-18", "1955-01-01", "2017-01-05", "2016-04-01", "2018-09-30", "2016-07-14", "1995-03-27", "2015", "2011-05-18"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["local dialing code", "452"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["city"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["population", "1561129", "point in time"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"city\" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> \"452\" . ?e <population> ?pv . ?pv <pred:unit> \"1\" . ?pv <pred:value> \"1561129\"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }", "answer": "2015"}, {"question": "Of independent German cities with a population other than 3.2, which is lower relative to sea level?", "choices": ["Robert Plant", "Weimar", "Coburg", "Imogen Heap", "Chris Martin", "Hudson Hawk", "Baden-Baden", "Bayreuth", "Frankfurt (Oder)", "SV Darmstadt 98"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "3.2", "!="]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["independent city of Germany"]}, {"function": "SelectAmong", "dependencies": [2], "inputs": ["elevation above sea level", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"independent city of Germany\" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != \"3.2\"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Frankfurt (Oder)"}, {"question": "What is the connection between Steve Jordan (the one whose position is tight end) to Phoenix (the one that is the twinned administrative body of Chengdu)?", "choices": ["located on astronomical location", "approved by", "screenwriter", "make-up artist", "part of the series", "successful candidate", "update method", "place of birth", "head coach", "model item"], "program": [{"function": "Find", "dependencies": [], "inputs": ["tight end"]}, {"function": "Relate", "dependencies": [0], "inputs": ["position played on team / speciality", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Steve Jordan"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "Find", "dependencies": [], "inputs": ["Chengdu"]}, {"function": "Relate", "dependencies": [4], "inputs": ["twinned administrative body", "forward"]}, {"function": "Find", "dependencies": [], "inputs": ["Phoenix"]}, {"function": "And", "dependencies": [5, 6], "inputs": []}, {"function": "QueryRelation", "dependencies": [3, 7], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Steve Jordan\" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> \"tight end\" . ?e_2 <pred:name> \"Phoenix\" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> \"Chengdu\" . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Did the Crusade (including the Second Crusade), conclude earlier than 1892?", "choices": ["yes", "no", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown", "unknown"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Second Crusade"]}, {"function": "Relate", "dependencies": [0], "inputs": ["has part", "backward"]}, {"function": "Find", "dependencies": [], "inputs": ["Crusade"]}, {"function": "And", "dependencies": [1, 2], "inputs": []}, {"function": "QueryAttr", "dependencies": [3], "inputs": ["end time"]}, {"function": "VerifyYear", "dependencies": [4], "inputs": ["1892", "<"]}], "sparql": "ASK { ?e <pred:name> \"Crusade\" . ?e <has_part> ?e_1 . ?e_1 <pred:name> \"Second Crusade\" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1892 ) .  }", "answer": "yes"}, {"question": "How many female given names use the Latin language or are the given name of Reese Witherspoon?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Latin"]}, {"function": "Relate", "dependencies": [0], "inputs": ["language of work or name", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["female given name"]}, {"function": "Find", "dependencies": [], "inputs": ["Reese Witherspoon"]}, {"function": "Relate", "dependencies": [3], "inputs": ["given name", "forward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["female given name"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"female given name\" .  { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> \"Latin\" .  } UNION { ?e_1 <given_name> ?e . ?e_1 <pred:name> \"Reese Witherspoon\" .  } }", "answer": "2"}, {"question": "How much did the movie produced by Bob Balaban cost?", "choices": ["110000000 United States dollar", "10000000 United States dollar", "691833 United States dollar", "100000 United States dollar", "3200000 United States dollar", "60000000 Deutsche Mark", "145000000 United States dollar", "72000000 United States dollar", "38000000 United States dollar", "19800000 United States dollar"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Bob Balaban"]}, {"function": "Relate", "dependencies": [0], "inputs": ["producer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttr", "dependencies": [2], "inputs": ["cost"]}], "sparql": "SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <producer> ?e_1 . ?e_1 <pred:name> \"Bob Balaban\" .  ?e <cost> ?pv .  }", "answer": "19800000 United States dollar"}, {"question": "How many video games are followed by Guitar Hero III: Legends of Rock or have a publication date outside of 2006?", "choices": ["171", "172", "173", "174", "175", "176", "177", "178", "179", "180"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Guitar Hero III: Legends of Rock"]}, {"function": "Relate", "dependencies": [0], "inputs": ["follows", "forward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["video game"]}, {"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterYear", "dependencies": [3], "inputs": ["publication date", "2006", "!="]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["video game"]}, {"function": "Or", "dependencies": [2, 5], "inputs": []}, {"function": "Count", "dependencies": [6], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"video game\" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> \"Guitar Hero III: Legends of Rock\" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2006 ) .  } }", "answer": "175"}, {"question": "How many singles have the record label equal to the record label whose official website is http://rykodisc.com/ (the language of this statement is English)?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["official website", "http://rykodisc.com/"]}, {"function": "QFilterStr", "dependencies": [1], "inputs": ["language of work or name", "English"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["record label"]}, {"function": "Relate", "dependencies": [3], "inputs": ["record label", "backward"]}, {"function": "FilterConcept", "dependencies": [4], "inputs": ["single"]}, {"function": "Count", "dependencies": [5], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"single\" . ?e <record_label> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> \"record label\" . ?e_1 <official_website> ?pv . ?pv <pred:value> \"http://rykodisc.com/\" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> \"English\" .   }", "answer": "1"}, {"question": "Does Naomi Campbell or Vince McMahon have a lower mass?", "choices": ["Paul Simon", "David Byrne", "Naomi Campbell", "Sylvester Stallone", "Vince McMahon", "James E. Reilly", "Simon Cowell", "Rahul Dev Burman", "Richard Gere", "Max Fleischer"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Naomi Campbell"]}, {"function": "Find", "dependencies": [], "inputs": ["Vince McMahon"]}, {"function": "SelectBetween", "dependencies": [0, 1], "inputs": ["mass", "less"]}], "sparql": "SELECT ?e WHERE { { ?e <pred:name> \"Naomi Campbell\" .  } UNION { ?e <pred:name> \"Vince McMahon\" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Naomi Campbell"}, {"question": "What is the connection between Glen A. Larson to Long Beach (the one whose area is 133.322917 square kilometre)?", "choices": ["place of birth", "contributor(s) to the creative work", "language used", "feast day", "enclave within", "game mode", "designated as terrorist by", "narrator", "copyright representative", "notable people with this condition"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Glen A. Larson"]}, {"function": "Find", "dependencies": [], "inputs": ["Long Beach"]}, {"function": "FilterNum", "dependencies": [1], "inputs": ["area", "133.322917 square kilometre", "="]}, {"function": "QueryRelation", "dependencies": [0, 2], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Glen A. Larson\" . ?e_2 <pred:name> \"Long Beach\" . ?e_2 <area> ?pv . ?pv <pred:unit> \"square kilometre\" . ?pv <pred:value> \"133.322917\"^^xsd:double . ?e_1 ?p ?e_2 .  }", "answer": "place of birth"}, {"question": "Where was a movie, titled Raging Bull, published on 12th March 1981 ?", "choices": ["Venezuela", "Germany", "Mexico", "Kazakhstan", "Belgium", "Netherlands", "Chicago", "Estonia", "2003 Cannes Film Festival", "Switzerland"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["title", "Raging Bull"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["publication date", "1981-03-12", "place of publication"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <title> ?pv_1 . ?pv_1 <pred:value> \"Raging Bull\" . ?e <publication_date> ?pv . ?pv <pred:date> \"1981-03-12\"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }", "answer": "Germany"}, {"question": "Which language is used at www.8-mile.com, official website of the movie composed by Eminem?", "choices": ["Thai", "Latvian", "Romanian", "Tamil", "Indonesian", "Georgian", "Greek", "Lithuanian", "\u01c0Xam language", "English"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Eminem"]}, {"function": "Relate", "dependencies": [0], "inputs": ["composer", "backward"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["film"]}, {"function": "QueryAttrQualifier", "dependencies": [2], "inputs": ["official website", "http://www.8-mile.com/", "language of work or name"]}], "sparql": "SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"film\" . ?e <composer> ?e_1 . ?e_1 <pred:name> \"Eminem\" .  ?e <official_website> ?pv . ?pv <pred:value> \"http://www.8-mile.com/\" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }", "answer": "English"}, {"question": "Among the states of the United States that shares border with Nevada (the one whose population is 110247),which one has the smallest area ?", "choices": ["Arizona", "Idaho", "Massachusetts", "California", "Iowa", "Hawaii", "Colorado", "Oregon", "Florida", "Utah"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Nevada"]}, {"function": "FilterNum", "dependencies": [0], "inputs": ["population", "110247", "="]}, {"function": "Relate", "dependencies": [1], "inputs": ["shares border with", "forward"]}, {"function": "FilterConcept", "dependencies": [2], "inputs": ["state of the United States"]}, {"function": "SelectAmong", "dependencies": [3], "inputs": ["area", "smallest"]}], "sparql": "SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"state of the United States\" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> \"Nevada\" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> \"1\" . ?pv_1 <pred:value> \"110247\"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1", "answer": "Idaho"}, {"question": "How many males with a given name have the Caverphone of ALKNT1?", "choices": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "program": [{"function": "FindAll", "dependencies": [], "inputs": []}, {"function": "FilterStr", "dependencies": [0], "inputs": ["Caverphone", "ALKNT1"]}, {"function": "FilterConcept", "dependencies": [1], "inputs": ["male given name"]}, {"function": "Count", "dependencies": [2], "inputs": []}], "sparql": "SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> \"male given name\" . ?e <Caverphone> ?pv . ?pv <pred:value> \"ALKNT1\" .  }", "answer": "1"}, {"question": "How is Luzerne County related to Wilkes-Barre?", "choices": ["capital of", "work location", "home world", "editor", "writing system", "capital", "military casualty classification", "located in the administrative territorial entity", "located in time zone", "military rank"], "program": [{"function": "Find", "dependencies": [], "inputs": ["Luzerne County"]}, {"function": "Find", "dependencies": [], "inputs": ["Wilkes-Barre"]}, {"function": "QueryRelation", "dependencies": [0, 1], "inputs": []}], "sparql": "SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> \"Luzerne County\" . ?e_2 <pred:name> \"Wilkes-Barre\" . ?e_1 ?p ?e_2 .  }", "answer": "capital"}]